protobuf

package
v0.0.0-...-ff55af6 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

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