v1.5.1 Latest Latest

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

Go to latest
Published: Apr 28, 2017 License: Apache-2.0 Imports: 5 Imported by: 0



This package has the automatically generated typed clients.



This section is empty.


This section is empty.


This section is empty.


type CoreClient

type CoreClient struct {
	// contains filtered or unexported fields

CoreClient is used to interact with features provided by the group.

func New

New creates a new CoreClient for the given RESTClient.

func NewForConfig

func NewForConfig(c *restclient.Config) (*CoreClient, error)

NewForConfig creates a new CoreClient for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *restclient.Config) *CoreClient

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

func (*CoreClient) Images

func (c *CoreClient) Images(namespace string) ImageInterface

func (*CoreClient) RESTClient

func (c *CoreClient) RESTClient() restclient.Interface

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

type CoreInterface

type CoreInterface interface {
	RESTClient() restclient.Interface

type ImageExpansion

type ImageExpansion interface{}

type ImageInterface

type ImageInterface interface {
	Create(*api.Image) (*api.Image, error)
	Update(*api.Image) (*api.Image, error)
	Delete(name string, options *pkg_api.DeleteOptions) error
	DeleteCollection(options *pkg_api.DeleteOptions, listOptions pkg_api.ListOptions) error
	Get(name string) (*api.Image, error)
	List(opts pkg_api.ListOptions) (*api.ImageList, error)
	Watch(opts pkg_api.ListOptions) (watch.Interface, error)
	Patch(name string, pt pkg_api.PatchType, data []byte, subresources ...string) (result *api.Image, err error)

ImageInterface has methods to work with Image resources.

type ImagesGetter

type ImagesGetter interface {
	Images(namespace string) ImageInterface

ImagesGetter has a method to return a ImageInterface. A group's client should implement this interface.


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