subscription

package
v0.0.0-...-80f8880 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigMapSubscription

type ConfigMapSubscription struct {
	ClientSet  kubernetes.Interface
	Ctx        context.Context
	Completion chan bool
	// Specific behaviours for our Operator
	PlatformConfig *platformConfig
	// contains filtered or unexported fields
}

func (*ConfigMapSubscription) IsComplete

func (p *ConfigMapSubscription) IsComplete() <-chan bool

func (*ConfigMapSubscription) Reconcile

func (p *ConfigMapSubscription) Reconcile(object runtime.Object, event watch.EventType)

func (*ConfigMapSubscription) Subscribe

func (p *ConfigMapSubscription) Subscribe() (watch.Interface, error)

type ISubscription

type ISubscription interface {
	Subscribe() (watch.Interface, error)
	Reconcile(object runtime.Object, event watch.EventType)
	IsComplete() <-chan bool
}

type PodSubscription

type PodSubscription struct {
	ClientSet  kubernetes.Interface
	Ctx        context.Context
	Completion chan bool
	// This specific reference to ConfigMapSubscription is for updating pod annotations
	ConfigMapSubscriptRef *ConfigMapSubscription
	// contains filtered or unexported fields
}

func (*PodSubscription) IsComplete

func (p *PodSubscription) IsComplete() <-chan bool

func (*PodSubscription) Reconcile

func (p *PodSubscription) Reconcile(object runtime.Object, event watch.EventType)

func (*PodSubscription) Subscribe

func (p *PodSubscription) Subscribe() (watch.Interface, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL