sutil

package
v0.0.0-...-540bb61 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DeploymentReadyCondition       api.ConditionType = "DeploymentReady"
	KubernetesConnectedCondition   api.ConditionType = "KubernetesConnected"
	RemoteDeploymentReadyCondition api.ConditionType = "RemoteDeploymentReadyCondition"
	RemoteCacheReadyCondition      api.ConditionType = "RemoteCacheReady"
	ConnectionReadyCondition       api.ConditionType = "ConnectionReady"
	ACSDeploymentSyncedCondition   api.ConditionType = "ACSDeploymentSynced"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ACS

type ACS interface {
	ACSItem

	Inspect(ctx context.Context, deployment *api.ArangoDeployment, client kclient.Client, cachedStatus inspectorInterface.Inspector) error

	Cluster(uid types.UID) (ACSItem, bool)
	CurrentClusterCache() inspectorInterface.Inspector
	ClusterCache(uid types.UID) (inspectorInterface.Inspector, bool)

	ForEachHealthyCluster(f func(item ACSItem) error) error

	RemoteClusters() []types.UID
}

type ACSGetter

type ACSGetter interface {
	ACS() ACS
}

type ACSItem

type ACSItem interface {
	UID() types.UID
	Cache() inspectorInterface.Inspector
	Ready() bool
}

Jump to

Keyboard shortcuts

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