Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloneEnvironmentArgs ¶
type Domain ¶
type Domain interface { ListEnvironments(ctx types.ConsoleContext, search map[string]repos.MatchFilter, pq repos.CursorPagination) (*repos.PaginatedRecord[*entities.Environment], error) GetEnvironment(ctx types.ConsoleContext, name string) (*entities.Environment, error) CreateEnvironment(ctx types.ConsoleContext, env entities.Environment) (*entities.Environment, error) CloneEnvironment(ctx types.ConsoleContext, args CloneEnvironmentArgs) (*entities.Environment, error) UpdateEnvironment(ctx types.ConsoleContext, env entities.Environment) (*entities.Environment, error) DeleteEnvironment(ctx types.ConsoleContext, name string) error ArchiveEnvironmentsForCluster(ctx types.ConsoleContext, clusterName string) (bool, error) }
type Sync ¶
type Sync interface { OnEnvironmentApplyError(ctx types.ConsoleContext, errMsg, namespace, name string, opts UpdateAndDeleteOpts) error OnEnvironmentDeleteMessage(ctx types.ConsoleContext, env entities.Environment) error OnEnvironmentUpdateMessage(ctx types.ConsoleContext, env entities.Environment, status watcher_types.ResourceStatus, opts UpdateAndDeleteOpts) error }
type UpdateAndDeleteOpts ¶
Click to show internal directories.
Click to hide internal directories.