Documentation ¶
Index ¶
- Variables
- func GetClientConfig(kubeconfig string) (*rest.Config, error)
- func GetLogger(debug bool) *logrus.Logger
- func ReadCredentials(client kubernetes.Interface, creds *v1alpha1.Credentials) (string, error)
- func TarFile(source []string, destination string) error
- func UntarFile(source string, destination string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger = GetLogger(false)
Logger is a new instance of the logger. You can have any number of instances.
Functions ¶
func GetClientConfig ¶
GetClientConfig return rest config, if path not specified, assume in cluster config
func ReadCredentials ¶
func ReadCredentials(client kubernetes.Interface, creds *v1alpha1.Credentials) (string, error)
ReadCredentials reads the credentials
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.