Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Action ¶ added in v0.1.4
type Action interface { Create(component *v1alpha1.Component) error Update(component *v1alpha1.Component) error Delete(component *v1alpha1.Component) error }
Action defines the actiosn required to control the components
type CommonAction ¶ added in v0.1.4
type CommonAction struct {
// contains filtered or unexported fields
}
CommonAction shared by the watchers
func (*CommonAction) Create ¶ added in v0.1.4
func (c *CommonAction) Create(component *v1alpha1.Component) error
Create the component and update it in the k8s client
type HTTPWatcher ¶ added in v0.1.4
type HTTPWatcher struct { CommonAction // contains filtered or unexported fields }
func (*HTTPWatcher) Start ¶ added in v0.1.4
func (c *HTTPWatcher) Start() error
func (*HTTPWatcher) Stop ¶ added in v0.1.4
func (c *HTTPWatcher) Stop()
type IWatcher ¶
func NewHTTPWatcher ¶ added in v0.1.4
func NewOCIWatcher ¶ added in v0.1.4
func NewWatcher ¶ added in v0.1.4
type OCIWatcher ¶ added in v0.1.4
type OCIWatcher struct { CommonAction // contains filtered or unexported fields }
func (*OCIWatcher) Start ¶ added in v0.1.4
func (c *OCIWatcher) Start() error
func (*OCIWatcher) Stop ¶ added in v0.1.4
func (c *OCIWatcher) Stop()
Click to show internal directories.
Click to hide internal directories.