Documentation ¶
Index ¶
- type Client
- func (c Client) DoesCRDExist(crdName string) bool
- func (c Client) DoesClusterRoleBindingExist(name string) bool
- func (c Client) DoesClusterRoleExist(name string) bool
- func (c Client) DoesDaemonsetExist(name string, namespace string) bool
- func (c Client) DoesDeploymentExist(name string, namespace string) bool
- func (c Client) DoesIngressExist(name string, namespace string) bool
- func (c Client) DoesNamespaceExist(name string) bool
- func (c Client) DoesPodExist(name string, namespace string) bool
- func (c Client) DoesSecretExist(name string, namespace string) bool
- func (c Client) DoesServiceAccountExist(name string, namespace string) bool
- func (c Client) DoesServiceExist(name string, namespace string) bool
- func (c Client) EnsureNamespace(namespace string) error
- func (c Client) GetSecret(name string, namespace string) (*corev1.Secret, error)
- func (c Client) IsPodRunning(name string, namespace string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { // Client to access the Kubernetes API Clientset *kubernetes.Clientset // Client to access the Kubernetes API for extensions ApixClient *apixv1beta1client.ApiextensionsV1beta1Client }
Client to access the Kubernetes API objects needed for the integration test
func NewClient ¶
NewClient gets a new client that calls the Kubernetes API server to access the Verrazzano API Objects
func (Client) DoesCRDExist ¶
DoesCRDExist returns true if the given CRD exists
func (Client) DoesClusterRoleBindingExist ¶
DoesClusterRoleBindingExist returns true if the given ClusterRoleBinding exists
func (Client) DoesClusterRoleExist ¶
DoesClusterRoleExist returns true if the given ClusterRole exists
func (Client) DoesDaemonsetExist ¶
DoesDaemonsetExist returns true if the given DaemonSet exists
func (Client) DoesDeploymentExist ¶
DoesDeploymentExist returns true if the given Deployment exists
func (Client) DoesIngressExist ¶
DoesIngressExist returns true if the given Ingress exists
func (Client) DoesNamespaceExist ¶
DoesNamespaceExist returns true if the given Namespace exists
func (Client) DoesPodExist ¶
DoesPodExist returns true if a Pod with the given prefix exists
func (Client) DoesSecretExist ¶
DoesSecretExist returns true if the given Secret exists
func (Client) DoesServiceAccountExist ¶
DoesServiceAccountExist returns true if the given ServiceAccount exists
func (Client) DoesServiceExist ¶
DoesServiceExist returns true if the given Service exists
func (Client) EnsureNamespace ¶
EnsureNamespace ensures that a namespace exists