Documentation ¶
Index ¶
Constants ¶
View Source
const UserName = "datica"
UserName is the name that is used by default.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
Execute runs a command against kubectl, returning the contents of stdout and printing any stderr.
func GetUserInfo ¶
GetUserInfo returns the configured information for the user session. Nil if it doesn't exist.
func PersistUser ¶
PersistUser persists a session token to the datica user in the desired (or default) kubeconfig.
func VerifyInstallation ¶
func VerifyInstallation() error
VerifyInstallation returns an error if kubectl isn't installed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.