Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Definition ¶
type Definition struct { MaxTries int Logger log.Logger OnElementAdded OnElementChangedFunc OnElementUpdated OnElementUpdatedFunc OnElementRemoved OnElementRemovedFunc OnError OnErrorFunc // contains filtered or unexported fields }
func (*Definition) HasSynced ¶
func (this *Definition) HasSynced() bool
func (*Definition) Run ¶
func (this *Definition) Run(stop support.Channel)
func (*Definition) SetInformer ¶
func (this *Definition) SetInformer(informer cache.SharedInformer)
type Definitions ¶
type Definitions struct { ServiceSecrets *ServiceSecret Ingress *Ingress Service *Service }
func New ¶
func New(s *settings.Settings, client kubernetes.Interface, resyncAfter time.Duration, logger log.Logger) (*Definitions, error)
func (*Definitions) HasSynced ¶
func (this *Definitions) HasSynced() bool
func (*Definitions) SetNamespace ¶
func (this *Definitions) SetNamespace(namespace string)
type OnElementChangedFunc ¶
type OnElementChangedFunc func(ref support.ObjectReference, new metav1.Object) error
type OnElementRemovedFunc ¶
type OnElementRemovedFunc func(ref support.ObjectReference) error
type OnElementUpdatedFunc ¶
type OnElementUpdatedFunc func(ref support.ObjectReference, old, new metav1.Object) error
type OnErrorFunc ¶
type OnErrorFunc func(ref support.ObjectReference, event string, err error)
type ServiceSecret ¶
type ServiceSecret struct { *Definition // contains filtered or unexported fields }
func NewServiceSecrets ¶
func NewServiceSecrets(s *settings.Settings, client kubernetes.Interface, resyncAfter time.Duration, logger log.Logger) (*ServiceSecret, error)
func (*ServiceSecret) SetNamespace ¶
func (this *ServiceSecret) SetNamespace(namespace string)
Click to show internal directories.
Click to hide internal directories.