Documentation ¶
Index ¶
- Variables
- func CreateAutoScaleDeployment(agentPool string, min int32, max int32, config *rest.Config) error
- func CreateAutoScaleSecret(name string, namespace string, data map[string][]byte, config *rest.Config) error
- func CreateJob(schema batchv1.Job, namespace string, config *rest.Config) (bool, error)
- func CreateKubeconfigSecret(name string, namespace string, kubeconfig []byte) (err error)
- func CreateNamespace(schema corev1.Namespace, config *rest.Config) (bool, error)
- func CreateSSHSecret(name string, namespace string, privateKey []byte) (err error)
- func DeleteKubeconfigSecret(name string, namespace string) (err error)
- func DeleteSSHSecret(name string, namespace string) (err error)
- func DeleteSecret(name string, namespace string) (err error)
- func GenerateJob(name string, jobSpec batchv1.JobSpec) batchv1.Job
- func GenerateKubernetesConfig() (*rest.Config, error)
- func GenerateNamespace(name string) corev1.Namespace
- func GetKubeconfigSecret(name string, namespace string) (secret []byte, err error)
- func GetKubeconfigSecretList(namespace string) (result []corev1.Secret, err error)
- func GetSSHSecret(name string, namespace string) (secret []byte, err error)
- func GetSSHSecretList(namespace string) (result []corev1.Secret, err error)
- func GetSecret(name string, namespace string) (secret corev1.Secret, err error)
- func GetSecretList(namespace string, options v1.ListOptions) (result []corev1.Secret, err error)
- func IsResourceAlreadyExistsError(err error) bool
- func IsResourceNotFoundError(err error) bool
- func SetKubeConfig(name string, kubeconfig string) (*rest.Config, error)
- func SetLogger()
Constants ¶
This section is empty.
Variables ¶
View Source
var ( KubeConfigLocation string DefaultConfig *rest.Config )
Functions ¶
func CreateAutoScaleSecret ¶
func CreateKubeconfigSecret ¶
func CreateNamespace ¶
func CreateSSHSecret ¶
func DeleteKubeconfigSecret ¶
func DeleteSSHSecret ¶
func DeleteSecret ¶
func GenerateNamespace ¶
func GetKubeconfigSecret ¶
func GetKubeconfigSecretList ¶
func GetSecretList ¶
func IsResourceAlreadyExistsError ¶
IsResourceAlreadyExistsError determines if error is an already exist type
func IsResourceNotFoundError ¶
IsResourceNotFoundError determines if error is of type not found
func SetKubeConfig ¶
SetKubeConfig sets kubeconfig string to file and returns a kubernetes client config
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.