v1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2019 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

This package has the automatically generated typed clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomResourceExpansion

type CustomResourceExpansion interface{}

type CustomResourceInterface

type CustomResourceInterface interface {
	Create(*v1.CustomResource) (*v1.CustomResource, error)
	Update(*v1.CustomResource) (*v1.CustomResource, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.CustomResource, error)
	List(opts metav1.ListOptions) (*v1.CustomResourceList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.CustomResource, err error)
	CustomResourceExpansion
}

CustomResourceInterface has methods to work with CustomResource resources.

type CustomResourcesGetter

type CustomResourcesGetter interface {
	CustomResources(namespace string) CustomResourceInterface
}

CustomResourcesGetter has a method to return a CustomResourceInterface. A group's client should implement this interface.

type NokubeV1Client

type NokubeV1Client struct {
	// contains filtered or unexported fields
}

NokubeV1Client is used to interact with features provided by the nokube.xyz group.

func New

New creates a new NokubeV1Client for the given RESTClient.

func NewForConfig

func NewForConfig(c *rest.Config) (*NokubeV1Client, error)

NewForConfig creates a new NokubeV1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *NokubeV1Client

NewForConfigOrDie creates a new NokubeV1Client for the given config and panics if there is an error in the config.

func (*NokubeV1Client) CustomResources

func (c *NokubeV1Client) CustomResources(namespace string) CustomResourceInterface

func (*NokubeV1Client) RESTClient

func (c *NokubeV1Client) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

type NokubeV1Interface

type NokubeV1Interface interface {
	RESTClient() rest.Interface
	CustomResourcesGetter
}

Directories

Path Synopsis
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

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