kube

package
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply(args ...string) *Buffer

func CreateApiKeySecret

func CreateApiKeySecret(keyName, ns string)

func CreateApiKeySecretFrom added in v0.6.1

func CreateApiKeySecretFrom(keyName, ns, orgId, public, private string)

func CreateConfigMapWithLiterals added in v0.6.1

func CreateConfigMapWithLiterals(configName string, ns string, keys ...string)

func CreateNamespace

func CreateNamespace(name string) *Buffer

func CreateUserSecret added in v0.5.0

func CreateUserSecret(name, ns string)

func Delete

func Delete(args ...string) *Buffer

func DeleteApiKeySecret added in v0.6.1

func DeleteApiKeySecret(keyName, ns string)

func DeleteNamespace

func DeleteNamespace(ns string) *Buffer

func DeleteResource added in v0.6.1

func DeleteResource(rType, name, ns string)

func DescribeOperatorPod

func DescribeOperatorPod(ns string) string

DescribeOperatorPod performs "kubectl describe" to get Operator pod information

func DescribeTestApp added in v0.6.1

func DescribeTestApp(label, ns string) []byte

func GenKubeVersion

func GenKubeVersion(fullVersion string) string

GenKubeVersion

func GetClusterResource

func GetClusterResource(namespace, rName string) v1.AtlasCluster

GetClusterResource

func GetGeneration

func GetGeneration(ns, resourceName string) string

GetGeneration .status.observedGeneration

func GetK8sClusterStateName

func GetK8sClusterStateName(ns, rName string) string

func GetManagerLogs

func GetManagerLogs(ns string) []byte

func GetPodStatus

func GetPodStatus(ns string) func() string

GetPodStatus status.phase

func GetProjectResource

func GetProjectResource(namespace, rName string) v1.AtlasProject

GetProjectResource

func GetResourceCreationTimestamp added in v0.6.1

func GetResourceCreationTimestamp(resource, name, ns string) []byte

func GetStatusCondition

func GetStatusCondition(ns string, atlasname string) func() string

GetStatusCondition .status.conditions.type=Ready.status

func GetStatusPhase added in v0.5.0

func GetStatusPhase(ns string, args ...string) string

func GetTestAppLogs added in v0.6.1

func GetTestAppLogs(label, ns string) []byte

func GetVersionOutput

func GetVersionOutput() *Buffer

func GetYamlResource

func GetYamlResource(resource string, ns string) []byte

func HasConfigMap added in v0.6.1

func HasConfigMap(configName, ns string) bool

func SwitchContext

func SwitchContext(name string)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL