Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCreateOrUpdateResource ¶
func NewCreateOrUpdateResource(opts ctrl.Options) (ctrl.Controller, error)
NewCreateOrUpdateResource creates a new CreateOrUpdateResource controller.
func NewDeleteResource ¶
func NewDeleteResource(opts ctrl.Options) (ctrl.Controller, error)
NewDeleteResource creates a new DeleteResource controller with the given options.
Types ¶
type CreateOrUpdateResource ¶
type CreateOrUpdateResource struct {
ctrl.BaseController
}
CreateOrUpdateResource is the async operation controller to create or update Applications.Core/Containers resource.
func (*CreateOrUpdateResource) Run ¶
func (c *CreateOrUpdateResource) Run(ctx context.Context, request *ctrl.Request) (ctrl.Result, error)
Run checks if the resource exists, renders the resource, deploys the resource, applies the deployment output to the resource, deletes any resources that are no longer needed, and saves the resource.
type DeleteResource ¶
type DeleteResource struct {
ctrl.BaseController
}
DeleteResource is the async operation controller to delete Applications.Core/Containers resource.
Click to show internal directories.
Click to hide internal directories.