Documentation ¶
Index ¶
- func GenericIngressEqual(a, b *Ingress) bool
- func NewListWatch(client *kubernetes.Clientset) *cache.ListWatch
- type Aggregator
- func (a *Aggregator) Events() chan SyncDataEvent
- func (a *Aggregator) EventsIngresses(ctx context.Context, informer cache.SharedIndexInformer)
- func (a *Aggregator) EventsSecrets(ctx context.Context, informer cache.SharedIndexInformer)
- func (a *Aggregator) GetGenericIngresses() ([]*Ingress, error)
- func (a *Aggregator) GetSecrets() ([]*v1.Secret, error)
- func (a *Aggregator) Run()
- type Ingress
- type IngressLister
- type IngressTLS
- type SyncDataEvent
- type SyncType
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, syncSecrets bool) *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) EventsSecrets ¶ added in v0.19.1
func (a *Aggregator) EventsSecrets(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) GetSecrets ¶ added in v0.19.1
func (a *Aggregator) GetSecrets() ([]*v1.Secret, error)
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.