Documentation ¶
Index ¶
- func CopyK8sNodePoolsNamesFromCurrentState(used map[string]struct{}, nodepool string, current, desired *pb.K8Scluster)
- func CopyLbNodePoolNamesFromCurrentState(used map[string]struct{}, nodepool string, current, desired []*pb.LBcluster)
- func CreateK8sCluster(unmarshalledManifest *manifest.Manifest) ([]*pb.K8Scluster, error)
- func CreateLBCluster(unmarshalledManifest *manifest.Manifest) ([]*pb.LBcluster, error)
- func FindNodePoolReferences(name string, nodePools []*pb.NodePool) []*pb.NodePool
- func UpdateK8sClusters(newConfig *pb.Config) error
- func UpdateLBClusters(newConfig *pb.Config) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyK8sNodePoolsNamesFromCurrentState ¶ added in v0.4.1
func CopyK8sNodePoolsNamesFromCurrentState(used map[string]struct{}, nodepool string, current, desired *pb.K8Scluster)
CopyK8sNodePoolsNamesFromCurrentState copies the generated hash from an existing reference in the current state to the desired state.
func CopyLbNodePoolNamesFromCurrentState ¶ added in v0.4.1
func CopyLbNodePoolNamesFromCurrentState(used map[string]struct{}, nodepool string, current, desired []*pb.LBcluster)
CopyLbNodePoolNamesFromCurrentState copies the generated hash from an existing reference in the current state to the desired state.
func CreateK8sCluster ¶
func CreateK8sCluster(unmarshalledManifest *manifest.Manifest) ([]*pb.K8Scluster, error)
CreateK8sCluster reads the unmarshalled manifest and creates desired state for Kubernetes clusters. Returns slice of *pb.K8Scluster if successful, nil otherwise
func CreateLBCluster ¶
CreateLBCluster reads the unmarshalled manifest and creates loadbalancer clusters based on it. Returns slice of *pb.LBcluster if successful, nil otherwise along with the error.
func FindNodePoolReferences ¶ added in v0.4.1
FindNodePoolReferences find all nodepools that share the given name.
func UpdateK8sClusters ¶
UpdateK8sClusters updates the desired state of the kubernetes clusters based on the current state returns error if failed, nil otherwise
func UpdateLBClusters ¶
UpdateLBClusters updates the desired state of the loadbalancer clusters based on the current state returns error if failed, nil otherwise
Types ¶
This section is empty.