wrappers

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IngressWrapper

type IngressWrapper struct {
	// contains filtered or unexported fields
}

IngressWrapper struct wraps a kubernetes ingress object

func NewIngressWrapper

func NewIngressWrapper(ingress *v1beta1.Ingress) *IngressWrapper

NewIngressWrapper func creates an instance of IngressWrapper

func (*IngressWrapper) GetAnnotationValue

func (iw *IngressWrapper) GetAnnotationValue(annotationKey string) string

GetAnnotationValue extracts an annotation's value present on the ingress wrapped by the object

func (*IngressWrapper) GetGroup added in v1.0.19

func (iw *IngressWrapper) GetGroup() string

GetGroup func extracts group name from the ingress

func (*IngressWrapper) GetName

func (iw *IngressWrapper) GetName() string

GetName func extracts name of the ingress wrapped by the object

func (*IngressWrapper) GetNamespace

func (iw *IngressWrapper) GetNamespace() string

GetNamespace func extracts namespace of the ingress wrapped by the object

func (*IngressWrapper) GetURL

func (iw *IngressWrapper) GetURL() string

GetURL func extracts url of the ingress wrapped by the object

Jump to

Keyboard shortcuts

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