You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
portainer/app/kubernetes/models/service/payloads.js

23 lines
503 B

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)));
}
}