wrappers

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2022 License: Apache-2.0 Imports: 6 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 *v1.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

func (iw *IngressWrapper) GetGroup() string

GetGroup func extracts group name from the ingress

func (*IngressWrapper) GetInfo added in v0.3.0

func (iw *IngressWrapper) GetInfo() 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) GetStatusCheckEnabled added in v0.3.0

func (iw *IngressWrapper) GetStatusCheckEnabled() bool

GetStatusCheckEnabled func extracts statusCheck feature gate from the ingress @default true

func (*IngressWrapper) GetTargetBlank added in v0.3.0

func (iw *IngressWrapper) GetTargetBlank() bool

GetTargetBlank func extracts open in new window feature gate from the ingress @default false

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