kubernetesv16

package
v0.0.0-...-133fb1b Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*kubernetesbase.Client
}

Client inherits all the attributes and methods of the base client. Please see the documentation of the base client for further details.

func New

func New(config *rest.Config, clientset *kubernetes.Clientset, clientConfig clientcmd.ClientConfig) (*Client, error)

New returns a new Kubernetes v1.6 client.

func (*Client) CheckCRDCleanup

func (c *Client) CheckCRDCleanup(exceptions map[string]bool) (bool, error)

CheckCRDCleanup will check whether all the CRDs in the cluster other than those stored in the exceptions map <exceptions> have been deleted. It will return an error in case it has not finished yet, and nil if all resources are gone.

func (*Client) CleanupCRDs

func (c *Client) CleanupCRDs(exceptions map[string]bool) error

CleanupCRDs deletes all the TPRs/CRDs in the cluster other than those stored in the exceptions map <exceptions>.

Jump to

Keyboard shortcuts

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