Documentation ¶
Index ¶
- func CheckIfExistsNamespace(namespace string, clientset kubernetes.Interface) (bool, error)
- func CreateNamespaceIfNotExists(namespace string, istioInject bool, clientset kubernetes.Interface) (*v1.Namespace, error)
- func DeleteNamespaceIfExists(namespace string, clientset kubernetes.Interface) error
- func DeleteSiteWhereNamespaceIfExists(clientset kubernetes.Interface) error
- func SitewhereSystemNamespace() string
- func WaitForCRDStablished(apiextensionsclientset apiextensionsclientset.Interface, name string) error
- func WaitForDeploymentAvailable(clientset kubernetes.Interface, deploymentName string, namespace string) error
- func WaitForSecretExists(clientset kubernetes.Interface, name string, namespace string) error
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.
Click to show internal directories.
Click to hide internal directories.