914476618d
* feat(configurations): Review UI/UX configurations
* fix(configurations): remove duplicate lines
* fix(configurations): fix merge errors
* fix(configuration): parse empty configuration as empty string yaml instead of {}
30 lines
753 B
JavaScript
30 lines
753 B
JavaScript
import { KubernetesCommonMetadataPayload } from 'Kubernetes/models/common/payloads';
|
|
|
|
/**
|
|
* Payload for CREATE
|
|
*/
|
|
const _KubernetesConfigMapCreatePayload = Object.freeze({
|
|
metadata: new KubernetesCommonMetadataPayload(),
|
|
data: {},
|
|
binaryData: {},
|
|
});
|
|
export class KubernetesConfigMapCreatePayload {
|
|
constructor() {
|
|
Object.assign(this, JSON.parse(JSON.stringify(_KubernetesConfigMapCreatePayload)));
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Payload for UPDATE
|
|
*/
|
|
const _KubernetesConfigMapUpdatePayload = Object.freeze({
|
|
metadata: new KubernetesCommonMetadataPayload(),
|
|
data: {},
|
|
binaryData: {},
|
|
});
|
|
export class KubernetesConfigMapUpdatePayload {
|
|
constructor() {
|
|
Object.assign(this, JSON.parse(JSON.stringify(_KubernetesConfigMapUpdatePayload)));
|
|
}
|
|
}
|