ingress

package module
v0.0.0-...-4b61cc9 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: MIT Imports: 5 Imported by: 3

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.

Jump to

Keyboard shortcuts

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