Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceSummaryScope ¶
type ResourceSummaryScope struct { logr.Logger ResourceSummary *libsveltosv1beta1.ResourceSummary // contains filtered or unexported fields }
ResourceSummaryScope defines the basic context for an actuator to operate upon.
func NewResourceSummaryScope ¶
func NewResourceSummaryScope(params ResourceSummaryScopeParams) (*ResourceSummaryScope, error)
NewResourceSummaryScope creates a new ResourceSummary Scope from the supplied parameters. This is meant to be called for each reconcile iteration.
func (*ResourceSummaryScope) Close ¶
func (s *ResourceSummaryScope) Close(ctx context.Context) error
Close closes the current scope persisting the ResourceSummary configuration and status.
func (*ResourceSummaryScope) Name ¶
func (s *ResourceSummaryScope) Name() string
Name returns the ResourceSummary name.
func (*ResourceSummaryScope) PatchObject ¶
func (s *ResourceSummaryScope) PatchObject(ctx context.Context) error
PatchObject persists the feature configuration and status.
type ResourceSummaryScopeParams ¶
type ResourceSummaryScopeParams struct { Client client.Client Logger logr.Logger ResourceSummary *libsveltosv1beta1.ResourceSummary ControllerName string }
ResourceSummaryScopeParams defines the input parameters used to create a new ResourceSummary Scope.
Click to show internal directories.
Click to hide internal directories.