import { KubernetesCommonMetadataPayload } from 'Kubernetes/models/common/payloads';
export function KubernetesIngressCreatePayload() {
return {
metadata: new KubernetesCommonMetadataPayload(),
spec: {
ingressClassName: '',
rules: [],
},
};
}
export function KubernetesIngressRuleCreatePayload() {
host: '',
http: {
paths: [],
export function KubernetesIngressRulePathCreatePayload() {
path: '',
pathType: 'ImplementationSpecific',
backend: {
service: {
name: '',
port: {
number: 0,