Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CacheSystemAdminEntries ¶ added in v1.0.0
func CacheSystemAdminEntries(systemEntriesConfigPath string, ocPath string, sshCommander provision.SSHCommander) error
Cache system admin entries to be used to run oc commands
func GetConfigPath ¶ added in v1.0.0
func GetConfigPath() string
Types ¶
type ClusterType ¶ added in v1.0.0
kubeconfig Data types
type ContextType ¶ added in v1.0.0
type SystemKubeConfig ¶ added in v1.0.0
type SystemKubeConfig struct { ApiVersion string `yaml:"apiVersion"` Clusters []ClusterType `yaml:"clusters"` Contexts []ContextType `yaml:"contexts"` CurrentContext string `yaml:"current-context"` Users []UserType `yaml:"users"` }
func Read ¶ added in v1.0.0
func Read(configPath string) (SystemKubeConfig, error)
Click to show internal directories.
Click to hide internal directories.