v1

package
v0.0.0-...-cda2c1b Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2019 License: MIT 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 SampleResourceExpansion

type SampleResourceExpansion interface{}

type SampleResourceInterface

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

SampleResourceInterface has methods to work with SampleResource resources.

type SampleResourcesGetter

type SampleResourcesGetter interface {
	SampleResources(namespace string) SampleResourceInterface
}

SampleResourcesGetter has a method to return a SampleResourceInterface. A group's client should implement this interface.

type SamplecontrollerV1Client

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

SamplecontrollerV1Client is used to interact with features provided by the samplecontroller.k8s.io group.

func New

New creates a new SamplecontrollerV1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new SamplecontrollerV1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *SamplecontrollerV1Client

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

func (*SamplecontrollerV1Client) RESTClient

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

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

func (*SamplecontrollerV1Client) SampleResources

func (c *SamplecontrollerV1Client) SampleResources(namespace string) SampleResourceInterface

type SamplecontrollerV1Interface

type SamplecontrollerV1Interface interface {
	RESTClient() rest.Interface
	SampleResourcesGetter
}

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