kubernetes-models
Version:
20 lines (19 loc) • 752 B
JavaScript
import { createTypeMetaGuard, Model, setSchema } from "@kubernetes-models/base";
import { addSchema } from "../_schemas/IoK8sApiCoreV1ServiceAccountList.mjs";
/**
* ServiceAccountList is a list of ServiceAccount objects
*/
export class ServiceAccountList extends Model {
constructor(data) {
super({
apiVersion: ServiceAccountList.apiVersion,
kind: ServiceAccountList.kind,
...data
});
}
}
ServiceAccountList.apiVersion = "v1";
ServiceAccountList.kind = "ServiceAccountList";
ServiceAccountList.is = createTypeMetaGuard(ServiceAccountList);
setSchema(ServiceAccountList, "io.k8s.api.core.v1.ServiceAccountList", addSchema);
export { ServiceAccountList as IoK8sApiCoreV1ServiceAccountList };