Documentation ¶
Index ¶
- func BuildConfigs(sl corev1.ServiceList) (error, []ingressConfig)
- func GetAllIngresses() (error, v1beta1.IngressList)
- func GetAllServices() (error, corev1.ServiceList)
- func GetAnnotatedIngresses(sl v1beta1.IngressList) v1beta1.IngressList
- func GetAnnotatedServices(sl corev1.ServiceList) corev1.ServiceList
- func GetOrphanedIngresses(desired, observed v1beta1.IngressList) v1beta1.IngressList
- func NewIngressList(configs []ingressConfig) v1beta1.IngressList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildConfigs ¶
func BuildConfigs(sl corev1.ServiceList) (error, []ingressConfig)
expects all services passed to be annotated
func GetAllIngresses ¶
func GetAllIngresses() (error, v1beta1.IngressList)
List all `Ingress` objects
func GetAnnotatedIngresses ¶
func GetAnnotatedIngresses(sl v1beta1.IngressList) v1beta1.IngressList
func GetAnnotatedServices ¶
func GetAnnotatedServices(sl corev1.ServiceList) corev1.ServiceList
Find the `Service`s that have the right annotation
func GetOrphanedIngresses ¶
func GetOrphanedIngresses(desired, observed v1beta1.IngressList) v1beta1.IngressList
func NewIngressList ¶
func NewIngressList(configs []ingressConfig) v1beta1.IngressList
NewIngressList calculates a list of `Ingress`s from the annotations
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.