kube

package
v0.7.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Annotate

func Annotate(resource, annotation, ns string)

func Apply

func Apply(args ...string) *Buffer

func CreateApiKeySecret

func CreateApiKeySecret(keyName, ns string)

func CreateApiKeySecretFrom

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

func CreateConfigMapWithLiterals

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

func CreateNamespace

func CreateNamespace(name string) *Buffer

func CreateUserSecret

func CreateUserSecret(name, ns string)

func Delete

func Delete(args ...string) *Buffer

func DeleteApiKeySecret

func DeleteApiKeySecret(keyName, ns string)

func DeleteNamespace

func DeleteNamespace(ns string) *Buffer

func DeleteResource

func DeleteResource(rType, name, ns string)

func DescribeOperatorPod

func DescribeOperatorPod(ns string) string

DescribeOperatorPod performs "kubectl describe" to get Operator pod information

func DescribeTestApp

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 GetJsonResource

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

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 GetPrivateEndpoint

func GetPrivateEndpoint(resource, ns string) []byte

func GetProjectResource

func GetProjectResource(namespace, rName string) []byte

GetProjectResource

func GetResourceCreationTimestamp

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

func GetStatusCondition

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

GetStatusCondition .status.conditions.type=Ready.status

func GetStatusPhase

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

func GetTestAppLogs

func GetTestAppLogs(label, ns string) []byte

func GetVersionOutput

func GetVersionOutput() *Buffer

func GetYamlResource

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

func HasConfigMap

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