portainer/app/kubernetes/endpoint/models.js

18 lines
373 B
JavaScript

export const KubernetesEndpointAnnotationLeader = 'control-plane.alpha.kubernetes.io/leader';
/**
* KubernetesEndpoint Model
*/
const _KubernetesEndpoint = Object.freeze({
Id: '',
Name: '',
Namespace: '',
HolderIdentity: '',
});
export class KubernetesEndpoint {
constructor() {
Object.assign(this, JSON.parse(JSON.stringify(_KubernetesEndpoint)));
}
}