internalversion

package
v3.6.1 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2017 License: Apache-2.0 Imports: 6 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 ImageClient

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

ImageClient is used to interact with features provided by the image.openshift.io group.

func New

func New(c rest.Interface) *ImageClient

New creates a new ImageClient for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new ImageClient for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *ImageClient

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

func (*ImageClient) ImageStreams

func (c *ImageClient) ImageStreams(namespace string) ImageStreamInterface

func (*ImageClient) Images

func (c *ImageClient) Images() ImageResourceInterface

func (*ImageClient) RESTClient

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

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

type ImageInterface

type ImageInterface interface {
	RESTClient() rest.Interface
	ImagesGetter
	ImageStreamsGetter
}

type ImageResourceExpansion

type ImageResourceExpansion interface{}

type ImageResourceInterface

type ImageResourceInterface interface {
	Create(*image.Image) (*image.Image, error)
	Update(*image.Image) (*image.Image, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*image.Image, error)
	List(opts v1.ListOptions) (*image.ImageList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *image.Image, err error)
	ImageResourceExpansion
}

ImageResourceInterface has methods to work with ImageResource resources.

type ImageStreamExpansion

type ImageStreamExpansion interface{}

type ImageStreamInterface

type ImageStreamInterface interface {
	Create(*image.ImageStream) (*image.ImageStream, error)
	Update(*image.ImageStream) (*image.ImageStream, error)
	UpdateStatus(*image.ImageStream) (*image.ImageStream, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*image.ImageStream, error)
	List(opts v1.ListOptions) (*image.ImageStreamList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *image.ImageStream, err error)
	ImageStreamExpansion
}

ImageStreamInterface has methods to work with ImageStream resources.

type ImageStreamsGetter

type ImageStreamsGetter interface {
	ImageStreams(namespace string) ImageStreamInterface
}

ImageStreamsGetter has a method to return a ImageStreamInterface. A group's client should implement this interface.

type ImagesGetter

type ImagesGetter interface {
	Images() ImageResourceInterface
}

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

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