Documentation ¶
Index ¶
- type IngressWrapper
- func (iw *IngressWrapper) GetAnnotationValue(annotationKey string) string
- func (iw *IngressWrapper) GetGroup() string
- func (iw *IngressWrapper) GetInfo() string
- func (iw *IngressWrapper) GetName() string
- func (iw *IngressWrapper) GetNamespace() string
- func (iw *IngressWrapper) GetStatusCheckEnabled() bool
- func (iw *IngressWrapper) GetTargetBlank() bool
- func (iw *IngressWrapper) GetURL() string
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