Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterState ¶
type ClusterState struct { Name string `json:"name"` Phase string `json:"phase"` ImageHub string `json:"imageHub,omitempty"` Registry string `json:"registry,omitempty"` Network string `json:"network,omitempty"` // network id ControlPlaneLB string `json:"controlPlaneLB,omitempty"` MultiInnerLB string `json:"multiInnerLB,omitempty"` KubeLB string `json:"kubeLB,omitempty"` // kube-mesh LB IP MetaTelemetryLB string `json:"metaTelemetryLB,omitempty"` // todo rename to VPCLB MetaProxyHost string `json:"metaProxyHost,omitempty"` // TODO: refactor name MetaProxyEniLB string `json:"metaProxyEniLB,omitempty"` KubeIP string `json:"kubeIP,omitempty"` // endpoint ip of svc kubernetes, like 169.X.X.X KubePort int32 `json:"kubePort,omitempty"` // endpoint port of svc kubernetes TracingReportAddress string `json:"tracing_report_address,omitempty"` MornitorReportAddress string `json:"mornitor_report_address,omitempty"` // sensitive information Token string `json:"token"` CaCert string `json:"cacert"` CaKey string `json:"cakey"` CertChain string `json:"certchain"` TkeClusterCA string `json:"-"` }
type MeshState ¶
type MeshState struct { Clusters []*ClusterState `json:"clusters"` IstiodMetaLB string `json:"istiod_meta_lb,omitempty"` APIServerLB string `json:"api_server_lb,omitempty"` APIServerIP string `json:"api_server_ip,omitempty"` APIServerPort int `json:"api_server_port,omitempty"` // CA RootCert string `json:"rootcert"` RootKey string `json:"rootkey"` }
Click to show internal directories.
Click to hide internal directories.