kube

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientSet

type ClientSet struct {
	KubeInterface    kubernetes.Interface
	DynamicInterface dynamic.Interface
	// contains filtered or unexported fields
}

func (*ClientSet) ClusterRbacIsFound

func (kc *ClientSet) ClusterRbacIsFound(resourceType, name string) error

func (*ClientSet) DaemonSetIsRunning

func (kc *ClientSet) DaemonSetIsRunning(name, namespace string) error

func (*ClientSet) DeleteAllTestResources

func (kc *ClientSet) DeleteAllTestResources() error

func (*ClientSet) DeploymentIsRunning

func (kc *ClientSet) DeploymentIsRunning(name, namespace string) error

func (*ClientSet) DiscoverClients

func (kc *ClientSet) DiscoverClients() error

func (*ClientSet) GetTimestamp

func (kc *ClientSet) GetTimestamp(timestampName string) (time.Time, error)

func (*ClientSet) IngressAvailable

func (kc *ClientSet) IngressAvailable(name, namespace string, port int, path string) error

func (*ClientSet) KubernetesClusterShouldBe

func (kc *ClientSet) KubernetesClusterShouldBe(state string) error

func (*ClientSet) ListNodes added in v0.10.1

func (kc *ClientSet) ListNodes() error

func (*ClientSet) ListPods added in v0.10.1

func (kc *ClientSet) ListPods(namespace string) error

func (*ClientSet) ListPodsWithSelector added in v0.10.1

func (kc *ClientSet) ListPodsWithSelector(namespace, selector string) error

func (*ClientSet) NodesWithSelectorShouldBe

func (kc *ClientSet) NodesWithSelectorShouldBe(expectedNodes int, selector, state string) error

func (*ClientSet) PersistentVolExists

func (kc *ClientSet) PersistentVolExists(name, expectedPhase string) error

func (*ClientSet) PodInNamespaceShouldHaveLabels

func (kc *ClientSet) PodInNamespaceShouldHaveLabels(name, namespace, labels string) error

func (*ClientSet) PodsInNamespaceWithLabelSelectorConvergeToFieldSelector added in v0.11.0

func (kc *ClientSet) PodsInNamespaceWithLabelSelectorConvergeToFieldSelector(namespace, labelSelector, fieldSelector string) error

func (*ClientSet) PodsInNamespaceWithSelectorHaveNoErrorsInLogsSinceTime

func (kc *ClientSet) PodsInNamespaceWithSelectorHaveNoErrorsInLogsSinceTime(namespace, selector, sinceTime string) error

func (*ClientSet) PodsInNamespaceWithSelectorHaveSomeErrorsInLogsSinceTime

func (kc *ClientSet) PodsInNamespaceWithSelectorHaveSomeErrorsInLogsSinceTime(namespace, selector, sinceTime string) error

func (*ClientSet) PodsInNamespaceWithSelectorShouldHaveLabels

func (kc *ClientSet) PodsInNamespaceWithSelectorShouldHaveLabels(namespace, selector, labels string) error

func (*ClientSet) PodsWithSelectorHaveRestartCountLessThan

func (kc *ClientSet) PodsWithSelectorHaveRestartCountLessThan(namespace, selector string, restartCount int) error

func (*ClientSet) ResourceConditionShouldBe

func (kc *ClientSet) ResourceConditionShouldBe(resourceFileName, conditionType, conditionValue string) error

func (*ClientSet) ResourceInNamespace

func (kc *ClientSet) ResourceInNamespace(resourceType, name, isOrIsNot, namespace string) error

func (*ClientSet) ResourceOperation

func (kc *ClientSet) ResourceOperation(operation, resourceFileName string) error

func (*ClientSet) ResourceOperationInNamespace

func (kc *ClientSet) ResourceOperationInNamespace(operation, resourceFileName, namespace string) error

func (*ClientSet) ResourceOperationWithResult

func (kc *ClientSet) ResourceOperationWithResult(operation, resourceFileName, expectedResult string) error

func (*ClientSet) ResourceOperationWithResultInNamespace

func (kc *ClientSet) ResourceOperationWithResultInNamespace(operation, resourceFileName, namespace, expectedResult string) error

func (*ClientSet) ResourceShouldBe

func (kc *ClientSet) ResourceShouldBe(resourceFileName, state string) error

func (*ClientSet) ResourceShouldConvergeToSelector

func (kc *ClientSet) ResourceShouldConvergeToSelector(resourceFileName, selector string) error

func (*ClientSet) ResourcesOperation

func (kc *ClientSet) ResourcesOperation(operation, resourcesFileName string) error

func (*ClientSet) ResourcesOperationInNamespace

func (kc *ClientSet) ResourcesOperationInNamespace(operation, resourcesFileName, namespace string) error

func (*ClientSet) ScaleDeployment

func (kc *ClientSet) ScaleDeployment(name, namespace string, replicas int32) error

func (*ClientSet) SecretDelete

func (kc *ClientSet) SecretDelete(name, namespace string) error

func (*ClientSet) SecretOperationFromEnvironmentVariable

func (kc *ClientSet) SecretOperationFromEnvironmentVariable(operation, name, namespace, environmentVariable string) error

func (*ClientSet) SendTrafficToIngress

func (kc *ClientSet) SendTrafficToIngress(tps int, name, namespace string, port int, path string, duration int, durationUnits string, expectedErrors int) error

func (*ClientSet) SetFilesPath

func (kc *ClientSet) SetFilesPath(path string)

func (*ClientSet) SetTemplateArguments

func (kc *ClientSet) SetTemplateArguments(args interface{})

func (*ClientSet) SetTimestamp

func (kc *ClientSet) SetTimestamp(timestampName string) error

func (*ClientSet) SetWaiterInterval

func (kc *ClientSet) SetWaiterInterval(duration time.Duration)

func (*ClientSet) SetWaiterTries

func (kc *ClientSet) SetWaiterTries(tries int)

func (*ClientSet) SomeOrAllPodsInNamespaceWithSelectorHaveStringInLogsSinceTime

func (kc *ClientSet) SomeOrAllPodsInNamespaceWithSelectorHaveStringInLogsSinceTime(someOrAll, namespace, selector, searchKeyword, sinceTime string) error

func (*ClientSet) SomePodsInNamespaceWithSelectorDontHaveStringInLogsSinceTime

func (kc *ClientSet) SomePodsInNamespaceWithSelectorDontHaveStringInLogsSinceTime(namespace, selector, searchKeyword, sinceTime string) error

func (*ClientSet) UpdateResourceWithField

func (kc *ClientSet) UpdateResourceWithField(resourceFileName, key, value string) error

func (*ClientSet) ValidatePrometheusVolumeClaimTemplatesName

func (kc *ClientSet) ValidatePrometheusVolumeClaimTemplatesName(statefulsetName, namespace, volumeClaimTemplatesName string) error

func (*ClientSet) VerifyInstanceGroups

func (kc *ClientSet) VerifyInstanceGroups() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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