KubernetesIngressResource
Handle
interface KubernetesIngressResource extends IResource, IResourceWithParent, KubernetesEnvironmentResource]] { withDefaultBackend(endpoint: EndpointReference): KubernetesIngressResource; withHostname(hostname: string): KubernetesIngressResource; withIngressAnnotation( key: string, value: string): KubernetesIngressResource; withIngressAnnotationParam( key: string, value: ParameterResource): KubernetesIngressResource; withIngressClass(className: string): KubernetesIngressResource; withIngressClassParam(className: ParameterResource): KubernetesIngressResource; withIngressHostnameParam(hostname: ParameterResource): KubernetesIngressResource; withIngressHostRoute( host: string, path: string, endpoint: EndpointReference, pathType?: IngressPathType): KubernetesIngressResource; withIngressPathRoute( path: string, endpoint: EndpointReference, pathType?: IngressPathType): KubernetesIngressResource; withIngressTlsAuto(): KubernetesIngressResource; withIngressTlsParam(secretName: ParameterResource): KubernetesIngressResource; withTls(secretName: string): KubernetesIngressResource;} 12 members
Methods
Sets the default backend for a Kubernetes Ingress
withDefaultBackend(endpoint: EndpointReference): KubernetesIngressResourceParameters
endpoint EndpointReference Returns
KubernetesIngressResource Adds a hostname to a Kubernetes Ingress
withHostname(hostname: string): KubernetesIngressResourceParameters
hostname string Returns
KubernetesIngressResource Adds a Kubernetes metadata annotation to a Kubernetes Ingress
withIngressAnnotation( key: string, value: string): KubernetesIngressResourceParameters
key string value string Returns
KubernetesIngressResource Adds a parameterized Kubernetes metadata annotation to an Ingress
withIngressAnnotationParam( key: string, value: ParameterResource): KubernetesIngressResourceParameters
key string value ParameterResource Returns
KubernetesIngressResource Sets the ingress class for a Kubernetes Ingress
withIngressClass(className: string): KubernetesIngressResourceParameters
className string Returns
KubernetesIngressResource Sets a parameterized ingress class for a Kubernetes Ingress
withIngressClassParam(className: ParameterResource): KubernetesIngressResourceParameters
className ParameterResource Returns
KubernetesIngressResource Adds a parameterized hostname to a Kubernetes Ingress
withIngressHostnameParam(hostname: ParameterResource): KubernetesIngressResourceParameters
hostname ParameterResource Returns
KubernetesIngressResource Adds a host-and-path route to a Kubernetes Ingress
withIngressHostRoute( host: string, path: string, endpoint: EndpointReference, pathType?: IngressPathType): KubernetesIngressResourceParameters
host string path string endpoint EndpointReference pathType IngressPathType optional = Prefix Returns
KubernetesIngressResource Adds a path-based route to a Kubernetes Ingress
withIngressPathRoute( path: string, endpoint: EndpointReference, pathType?: IngressPathType): KubernetesIngressResourceParameters
path string endpoint EndpointReference pathType IngressPathType optional = Prefix Returns
KubernetesIngressResource Configures TLS for a Kubernetes Ingress with an auto-generated secret
withIngressTlsAuto(): KubernetesIngressResourceReturns
KubernetesIngressResource Configures TLS for a Kubernetes Ingress with a parameterized secret
withIngressTlsParam(secretName: ParameterResource): KubernetesIngressResourceParameters
secretName ParameterResource Returns
KubernetesIngressResource Configures TLS for a Kubernetes Ingress using a K8S secret
withTls(secretName: string): KubernetesIngressResourceParameters
secretName string Returns
KubernetesIngressResource