Documentation ¶
Index ¶
- Variables
- func EnsureIngress(ctx context.Context, clientset kubernetes.Interface, namespace string, ...) error
- func GetAddress(ingressSpec kotsv1beta1.IngressConfigSpec) string
- func GetConfig(ctx context.Context, namespace string) (*kotsv1beta1.IngressConfig, error)
- func IngressFromConfig(namespace string, ingressConfig kotsv1beta1.IngressResourceConfig, name string, ...) *networkingv1.Ingress
- func SetConfig(ctx context.Context, namespace string, ingressConfig kotsv1beta1.IngressConfig) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ConfigMapName = "kotsadm-ingress-config"
)
Functions ¶
func EnsureIngress ¶
func EnsureIngress(ctx context.Context, clientset kubernetes.Interface, namespace string, ingress *networkingv1.Ingress) error
func GetAddress ¶
func GetAddress(ingressSpec kotsv1beta1.IngressConfigSpec) string
func GetConfig ¶
func GetConfig(ctx context.Context, namespace string) (*kotsv1beta1.IngressConfig, error)
func IngressFromConfig ¶
func IngressFromConfig(namespace string, ingressConfig kotsv1beta1.IngressResourceConfig, name string, serviceName string, servicePort int32, additionalLabels map[string]string) *networkingv1.Ingress
func SetConfig ¶
func SetConfig(ctx context.Context, namespace string, ingressConfig kotsv1beta1.IngressConfig) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.