Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClusterConvertToProtobuf ¶
func ClusterConvertToProtobuf(cluster *ecsv1.KubernetesCluster) (*installerv1.KubernetesClusterRequest, error)
ClusterConvertToProtobuf is convert kubernetesCluster to protobuf
func ClusterConvertToTypes ¶
func ClusterConvertToTypes(clusterRequest *installerv1.KubernetesClusterRequest) (*ecsv1.KubernetesCluster, error)
ClusterConvertToTypes is convert protobuf to kubernetesCluster golang types typeMeta and objectMeta is a nested struct in KubernetesCluster struct, and proto not support struct custom json tag and embed struct, so typeMeta and objectMeta is assigned separately and spec is assigned by json unmarshal
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.