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
Click to show internal directories.
Click to hide internal directories.