client

package
v0.0.0-...-ebef5bb Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2018 License: MPL-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 Client

type Client struct {
	Clientset              *clientset.Clientset
	RESTClient             *rest.RESTClient
	APIExtensionsClientset *apiextensionsclientset.Clientset
}

Client represents the Chart Manager client.

func NewForConfig

func NewForConfig(cfg *rest.Config) (*Client, *runtime.Scheme, error)

NewForConfig instantiates and returns the client and scheme.

func (*Client) CreateCustomResourceDefinition

func (c *Client) CreateCustomResourceDefinition() (*apiextensionsv1beta1.CustomResourceDefinition, error)

CreateCustomResourceDefinition creates the CRD for chartmgrs.

func (*Client) GetCRDString

func (c *Client) GetCRDString(format string) string

GetCRDString returns the CRD as a YAML or JSON string

Jump to

Keyboard shortcuts

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