resources

package
v0.9.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckIfExistsNamespace added in v0.3.1

func CheckIfExistsNamespace(namespace string, clientset kubernetes.Interface) (bool, error)

CheckIfExistsNamespace check is a namespace exists

func CreateNamespaceIfNotExists

func CreateNamespaceIfNotExists(namespace string, istioInject bool, clientset kubernetes.Interface) (*v1.Namespace, error)

CreateNamespaceIfNotExists Create a Namespace in Kubernetes if it does not exists.

func DeleteNamespaceIfExists

func DeleteNamespaceIfExists(namespace string, clientset kubernetes.Interface) error

DeleteNamespaceIfExists Delete a Namespace in Kubernetes if it does exists.

func DeleteSiteWhereNamespaceIfExists

func DeleteSiteWhereNamespaceIfExists(clientset kubernetes.Interface) error

DeleteSiteWhereNamespaceIfExists Delete a Namespace in Kubernetes if it does exists.

func SitewhereSystemNamespace

func SitewhereSystemNamespace() string

SitewhereSystemNamespace returns the namespace for SiteWhere

func WaitForCRDStablished added in v0.2.3

func WaitForCRDStablished(apiextensionsclientset apiextensionsclientset.Interface, name string) error

WaitForCRDStablished waits for a CRD to be stablished

func WaitForDeploymentAvailable added in v0.2.3

func WaitForDeploymentAvailable(clientset kubernetes.Interface, deploymentName string, namespace string) error

WaitForDeploymentAvailable waits for a Deployment to became available

func WaitForSecretExists added in v0.2.3

func WaitForSecretExists(clientset kubernetes.Interface, name string, namespace string) error

WaitForSecretExists waits for a Secret to exists

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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