Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
// ProjectName name of the config from which the cluster is.
ProjectName string
// TaskId from which this process was spawned from.
TaskId string
// CurrentCluster is the current state of the cluster
// properties may change during processing.
CurrentCluster *spec.K8Scluster
// DesiredCluster is the desired state of the cluster
// properties may change during processing.
DesiredCluster *spec.K8Scluster
// CurrentLoadbalancers are the current loadbalancers of the cluster
// properties may change during processing.
CurrentLoadbalancers []*spec.LBcluster
// DesiredLoadbalancers are the current loadbalancers of the cluster
// properties may change during processing.
DesiredLoadbalancers []*spec.LBcluster
// DeletedLoadBalancers are the deleted loadbalancers for the cluster.
DeletedLoadBalancers []*spec.LBcluster
// Workflow is the current state of processing of the cluster.
Workflow *spec.Workflow
}
Context provides context for the Claudie workflow for a particular cluster.
func (*Context) GetClusterID ¶
GetClusterID returns ID of the k8s cluster for a given builder context.
func (*Context) GetClusterName ¶
GetClusterName returns name of the k8s cluster for a given builder context.
Click to show internal directories.
Click to hide internal directories.