Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterDb ¶
type ClusterDb struct {
Name string `json:"name,hash"`
Cluster *registryv1.Cluster `json:"crd,hash"`
}
ClusterDb encapsulates the Cluster CRD
type Db ¶
type Db interface {
GetCluster(name string) (*registryv1.Cluster, error)
ListClusters(region string, environment string, businessUnit string, status string) ([]registryv1.Cluster, int, error)
PutCluster(cluster *registryv1.Cluster) error
DeleteCluster(name string) error
}
Db provides an interface for interacting with dynamonDb
Click to show internal directories.
Click to hide internal directories.