Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IngressReport ¶
type IngressReport struct { WeightingIngress []struct { Namespace string Resource string } `json:"weighting_ingress"` }
IngressReport allows us to unmarshal the json from the Hoodaw page into a data type.
func CheckAnnotation ¶
func CheckAnnotation(host *string) (*IngressReport, error)
CheckAnnotation takes a http endpoint and generates an IngressReport data type. IngressReport contains a collection of namespaces that contain an ingress resource that don't have the required annoation.
Click to show internal directories.
Click to hide internal directories.