environments

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloneEnvironmentArgs

type CloneEnvironmentArgs struct {
	SourceEnvName      string
	DestinationEnvName string
	DisplayName        string
	EnvRoutingMode     crdsv1.EnvironmentRoutingMode
	ClusterName        string
}

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

type UpdateAndDeleteOpts struct {
	MessageTimestamp time.Time
	ClusterName      string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL