mirror of https://github.com/portainer/portainer
23 lines
503 B
JavaScript
23 lines
503 B
JavaScript
import { KubernetesCommonMetadataPayload } from 'Kubernetes/models/common/payloads';
|
|||
|
|||
/**
|
|||
* KubernetesServiceCreatePayload Model
|
|||
*/
|
|||
const _KubernetesServiceCreatePayload = Object.freeze({
|
|||
metadata: new KubernetesCommonMetadataPayload(),
|
|||
spec: {
|
|||
ports: [],
|
|||
selector: {
|
|||
app: '',
|
|||
},
|
|||
type: '',
|
|||
clusterIP: '',
|
|||
},
|
|||
});
|
|||
|
|||
export class KubernetesServiceCreatePayload {
|
|||
constructor() {
|
|||
Object.assign(this, JSON.parse(JSON.stringify(_KubernetesServiceCreatePayload)));
|
|||
}
|
|||
}
|