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/secret/payloads.js

34 lines
807 B

import { KubernetesCommonMetadataPayload } from 'Kubernetes/models/common/payloads';
/**
* KubernetesSecretCreatePayload Model
*/
const _KubernetesSecretCreatePayload = Object.freeze({
metadata: new KubernetesCommonMetadataPayload(),
type: 'Opaque',
data: {},
stringData: {},
});
export class KubernetesSecretCreatePayload {
constructor() {
Object.assign(this, JSON.parse(JSON.stringify(_KubernetesSecretCreatePayload)));
}
}
/**
* KubernetesSecretUpdatePayload Model
*/
const _KubernetesSecretUpdatePayload = Object.freeze({
metadata: new KubernetesCommonMetadataPayload(),
type: 'Opaque',
data: {},
stringData: {},
});
export class KubernetesSecretUpdatePayload {
constructor() {
Object.assign(this, JSON.parse(JSON.stringify(_KubernetesSecretUpdatePayload)));
}
}