Versions in this module Expand all Collapse all v0 v0.7.0 Jan 20, 2026 Changes in this version + func GetAllsHandler(rootCtx RootContext, cmdCtx GetAllHandlerContext) ([]resource.Resource, []error) + func GetKindHandler(kind schema.Kind, rootCtx RootContext, cmdCtx GetKindHandlerContext) ([]resource.Resource, []error) + func IsDirectory(path string) (bool, error) + func IsKindIdentifiedByNameAndVCluster(res schema.Kind) bool + func IsKindInterceptor(res schema.Kind) bool + func LoadResourcesFromFiles(filePaths []string, strict, recursiveFolder bool) ([]resource.Resource, error) + func ResourceForPath(path string, strict, recursiveFolder bool) ([]resource.Resource, error) + type ApplyHandler struct + func NewApplyHandler(rootCtx RootContext) *ApplyHandler + func (h *ApplyHandler) Handle(cmdCtx ApplyHandlerContext) ([]ApplyResult, error) + type ApplyHandlerContext struct + DryRun bool + FilePaths []string + MaxParallel int + PrintDiff bool + RecursiveFolder bool + StateEnabled bool + StateRef *model.State + type ApplyResult struct + Err error + Resource resource.Resource + UpsertResult client.Result + type DeleteByVClusterAndNameHandlerContext struct + DryRun bool + IgnoreMissing bool + Name string + StateEnabled bool + StateRef *model.State + VCluster string + type DeleteFileHandlerContext struct + DryRun bool + FilePaths []string + IgnoreMissing bool + RecursiveFolder bool + StateEnabled bool + StateRef *model.State + type DeleteHandler struct + func NewDeleteHandler(rootCtx RootContext) *DeleteHandler + func (h *DeleteHandler) HandleByVClusterAndName(kind schema.Kind, cmdCtx DeleteByVClusterAndNameHandlerContext) error + func (h *DeleteHandler) HandleFromFiles(cmdCtx DeleteFileHandlerContext) ([]DeleteResult, error) + func (h *DeleteHandler) HandleFromList(resources []resource.Resource, stateRef *model.State, ...) ([]DeleteResult, error) + func (h *DeleteHandler) HandleInterceptor(kind schema.Kind, cmdCtx DeleteInterceptorHandlerContext) error + func (h *DeleteHandler) HandleKind(kind schema.Kind, cmdCtx DeleteKindHandlerContext) error + type DeleteInterceptorHandlerContext struct + DryRun bool + Group string + IgnoreMissing bool + Name string + StateEnabled bool + StateRef *model.State + Username string + VCluster string + type DeleteKindHandlerContext struct + Args []string + DryRun bool + IgnoreMissing bool + ParentFlagValue []*string + ParentQueryFlagValue []*string + StateEnabled bool + StateRef *model.State + type DeleteResult struct + Err error + Resource resource.Resource + type GetAllHandlerContext struct + OnlyConsole *bool + OnlyGateway *bool + type GetKindHandlerContext struct + Args []string + ParentFlagValue []*string + ParentQueryFlagValue []*string + QueryParams map[string]string + type RootContext struct + Catalog schema.Catalog + Debug *bool + Strict bool + func NewRootContext(consoleAPIClient *client.Client, consoleAPIClientError error, ...) RootContext + func (c *RootContext) ConsoleAPIClient() *client.Client + func (c *RootContext) GatewayAPIClient() *client.GatewayClient