Documentation ¶
Index ¶
Constants ¶
View Source
const RancherNamespace = "cattle-system"
RancherNamespace contains constant for Rancher namespace
View Source
const TLSRancherIngressSecret = "tls-rancher-ingress"
TLSRancherIngressSecret contains constant for tls-rancher-ingress
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct { ID string Name string KubeConfigContents string PrometheusURL string ServerAddress string Type string }
Cluster contains Rancher Managed cluster structure
func GetClusters ¶
GetClusters returns Rancher clusters
type Config ¶
type Config struct { URL string Username string Password string Host string CertificateAuthorityData []byte }
Config contains Rancher Server endpoint URL and credentials structure
Click to show internal directories.
Click to hide internal directories.