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 k8s.io/kubernetes/pkg/apimachinery/registered.Group group.
func New ¶
func New(c restclient.Interface) *ImageClient
New creates a new ImageClient for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *restclient.Config) (*ImageClient, error)
NewForConfig creates a new ImageClient for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *restclient.Config) *ImageClient
NewForConfigOrDie creates a new ImageClient for the given config and panics if there is an error in the config.
func (*ImageClient) Images ¶
func (c *ImageClient) Images() ImageResourceInterface
func (*ImageClient) RESTClient ¶
func (c *ImageClient) RESTClient() restclient.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type ImageInterface ¶
type ImageInterface interface { RESTClient() restclient.Interface ImagesGetter }
type ImageResourceExpansion ¶
type ImageResourceExpansion interface{}
type ImageResourceInterface ¶
type ImageResourceInterface 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) ImageResourceExpansion }
ImageResourceInterface has methods to work with ImageResource resources.
type ImagesGetter ¶
type ImagesGetter interface {
Images() ImageResourceInterface
}
ImagesGetter has a method to return a ImageResourceInterface. A group's client should implement this interface.