Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ALBIngresses ¶
type ALBIngresses []*albingress.ALBIngress
ALBIngresses is a list of ALBIngress. It is held by the ALBController instance and evaluated against to determine what should be created, deleted, and modified.
func AssembleIngressesFromAWS ¶
func AssembleIngressesFromAWS(o *AssembleIngressesFromAWSOptions) ALBIngresses
AssembleIngressesFromAWS builds a list of existing ingresses from resources in AWS
func NewALBIngressesFromIngresses ¶
func NewALBIngressesFromIngresses(o *NewALBIngressesFromIngressesOptions) ALBIngresses
NewALBIngressesFromIngresses returns a ALBIngresses created from the Kubernetes ingress state.
func (ALBIngresses) FindByID ¶
func (a ALBIngresses) FindByID(id string) (int, *albingress.ALBIngress)
FindByID locates the ingress by the id parameter and returns its position
func (ALBIngresses) RemovedIngresses ¶
func (a ALBIngresses) RemovedIngresses(newList ALBIngresses) ALBIngresses
RemovedIngresses compares the ingress list to the ingress list in the type, returning any ingresses that are not in the ingress list parameter.
type AssembleIngressesFromAWSOptions ¶
type AssembleIngressesFromAWSOptions struct { Recorder record.EventRecorder ALBNamePrefix string }
AssembleIngressesFromAWSOptions are the options to AssembleIngressesFromAWS
type NewALBIngressesFromIngressesOptions ¶
type NewALBIngressesFromIngressesOptions struct { Recorder record.EventRecorder ClusterName string ALBNamePrefix string Ingresses []interface{} ALBIngresses ALBIngresses IngressClass string DefaultIngressClass string GetServiceNodePort func(string, int32) (*int64, error) GetNodes func() util.AWSStringSlice }
NewALBIngressesFromIngressesOptions are the options to NewALBIngressesFromIngresses