Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenericIngressEqual ¶ added in v0.16.0
func NewListWatch ¶
func NewListWatch(client *kubernetes.Clientset) *cache.ListWatch
Types ¶
type Aggregator ¶ added in v0.16.0
type Aggregator struct {
// contains filtered or unexported fields
}
func NewAggregator ¶ added in v0.16.0
func NewAggregator(k8sClients []*kubernetes.Clientset, ctx context.Context) *Aggregator
NewAggregator returns a new Aggregator initialized with resource informers
func (*Aggregator) Events ¶ added in v0.16.0
func (a *Aggregator) Events() chan SyncDataEvent
func (*Aggregator) EventsIngresses ¶ added in v0.16.0
func (a *Aggregator) EventsIngresses(ctx context.Context, informer cache.SharedIndexInformer)
func (*Aggregator) GetGenericIngresses ¶ added in v0.16.0
func (a *Aggregator) GetGenericIngresses() ([]*Ingress, error)
Get ingresses from stores and convert them to apiGroup-agnostic ingresses
func (*Aggregator) Run ¶ added in v0.16.0
func (a *Aggregator) Run()
Run is the synchronization loop
type Ingress ¶ added in v0.16.0
type Ingress struct { Namespace string Name string Class *string Annotations map[string]string RulesHosts []string Upstreams []string TLS map[string]*IngressTLS }
Ingress is the version-agnostic description of an ingress
type IngressLister ¶
type IngressTLS ¶ added in v0.16.0
IngressTLS describes the transport layer security associated with an Ingress.
type SyncDataEvent ¶ added in v0.16.0
type SyncDataEvent struct { SyncType Data interface{} // contains filtered or unexported fields }
SyncDataEvent represents converted k8s received message
Click to show internal directories.
Click to hide internal directories.