util

package
v0.0.113 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateIngress

func CreateIngress(opts *CreateIngressOptions) *netv1.Ingress

Types

type CreateIngressOptions

type CreateIngressOptions struct {
	Name        string
	Namespace   string
	Annotations map[string]string
	Host        string
	Paths       []IngressPath
}

type IngressPath added in v0.0.112

type IngressPath struct {
	Path        string
	PathType    netv1.PathType
	ServiceName string
	ServicePort int32
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL