Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClassifierScope ¶
type ClassifierScope struct { logr.Logger Classifier *libsveltosv1beta1.Classifier // contains filtered or unexported fields }
ClassifierScope defines the basic context for an actuator to operate upon.
func NewClassifierScope ¶
func NewClassifierScope(params ClassifierScopeParams) (*ClassifierScope, error)
NewClassifierScope creates a new Classifier Scope from the supplied parameters. This is meant to be called for each reconcile iteration.
func (*ClassifierScope) Close ¶
func (s *ClassifierScope) Close(ctx context.Context) error
Close closes the current scope persisting the Classifier configuration and status.
func (*ClassifierScope) Name ¶
func (s *ClassifierScope) Name() string
Name returns the Classifier name.
func (*ClassifierScope) PatchObject ¶
func (s *ClassifierScope) PatchObject(ctx context.Context) error
PatchObject persists the feature configuration and status.
type ClassifierScopeParams ¶
type ClassifierScopeParams struct { Client client.Client Logger logr.Logger Classifier *libsveltosv1beta1.Classifier }
ClassifierScopeParams defines the input parameters used to create a new Classifier Scope.
type EventSourceScope ¶
type EventSourceScope struct { logr.Logger EventSource *libsveltosv1beta1.EventSource // contains filtered or unexported fields }
EventSourceScope defines the basic context for an actuator to operate upon.
func NewEventSourceScope ¶
func NewEventSourceScope(params EventSourceScopeParams) (*EventSourceScope, error)
NewEventSourceScope creates a new EventSource Scope from the supplied parameters. This is meant to be called for each reconcile iteration.
func (*EventSourceScope) Close ¶
func (s *EventSourceScope) Close(ctx context.Context) error
Close closes the current scope persisting the EventSource configuration and status.
func (*EventSourceScope) Name ¶
func (s *EventSourceScope) Name() string
Name returns the EventSource name.
func (*EventSourceScope) PatchObject ¶
func (s *EventSourceScope) PatchObject(ctx context.Context) error
PatchObject persists the feature configuration and status.
type EventSourceScopeParams ¶
type EventSourceScopeParams struct { Client client.Client Logger logr.Logger EventSource *libsveltosv1beta1.EventSource }
EventSourceScopeParams defines the input parameters used to create a new EventSource Scope.
type HealthCheckScope ¶
type HealthCheckScope struct { logr.Logger HealthCheck *libsveltosv1beta1.HealthCheck // contains filtered or unexported fields }
HealthCheckScope defines the basic context for an actuator to operate upon.
func NewHealthCheckScope ¶
func NewHealthCheckScope(params HealthCheckScopeParams) (*HealthCheckScope, error)
NewHealthCheckScope creates a new HealthCheck Scope from the supplied parameters. This is meant to be called for each reconcile iteration.
func (*HealthCheckScope) Close ¶
func (s *HealthCheckScope) Close(ctx context.Context) error
Close closes the current scope persisting the HealthCheck configuration and status.
func (*HealthCheckScope) Name ¶
func (s *HealthCheckScope) Name() string
Name returns the HealthCheck name.
func (*HealthCheckScope) PatchObject ¶
func (s *HealthCheckScope) PatchObject(ctx context.Context) error
PatchObject persists the feature configuration and status.
type HealthCheckScopeParams ¶
type HealthCheckScopeParams struct { Client client.Client Logger logr.Logger HealthCheck *libsveltosv1beta1.HealthCheck }
HealthCheckScopeParams defines the input parameters used to create a new HealthCheck Scope.
type ReloaderScope ¶ added in v0.15.0
type ReloaderScope struct { logr.Logger Reloader *libsveltosv1beta1.Reloader // contains filtered or unexported fields }
ReloaderScope defines the basic context for an actuator to operate upon.
func NewReloaderScope ¶ added in v0.15.0
func NewReloaderScope(params ReloaderScopeParams) (*ReloaderScope, error)
NewReloaderScope creates a new Reloader Scope from the supplied parameters. This is meant to be called for each reconcile iteration.
func (*ReloaderScope) Close ¶ added in v0.15.0
func (s *ReloaderScope) Close(ctx context.Context) error
Close closes the current scope persisting the Reloader configuration and status.
func (*ReloaderScope) Name ¶ added in v0.15.0
func (s *ReloaderScope) Name() string
Name returns the Reloader name.
func (*ReloaderScope) PatchObject ¶ added in v0.15.0
func (s *ReloaderScope) PatchObject(ctx context.Context) error
PatchObject persists the feature configuration and status.
type ReloaderScopeParams ¶ added in v0.15.0
type ReloaderScopeParams struct { Client client.Client Logger logr.Logger Reloader *libsveltosv1beta1.Reloader }
ReloaderScopeParams defines the input parameters used to create a new Reloader Scope.