v2

package
v0.0.0-...-8f6fd7e Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2018 License: Apache-2.0 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 MattmoorV2Client

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

MattmoorV2Client is used to interact with features provided by the mattmoor.io group.

func New

New creates a new MattmoorV2Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new MattmoorV2Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *MattmoorV2Client

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

func (*MattmoorV2Client) RESTClient

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

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

func (*MattmoorV2Client) WarmImages

func (c *MattmoorV2Client) WarmImages(namespace string) WarmImageInterface

type MattmoorV2Interface

type MattmoorV2Interface interface {
	RESTClient() rest.Interface
	WarmImagesGetter
}

type WarmImageExpansion

type WarmImageExpansion interface{}

type WarmImageInterface

type WarmImageInterface interface {
	Create(*v2.WarmImage) (*v2.WarmImage, error)
	Update(*v2.WarmImage) (*v2.WarmImage, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*v2.WarmImage, error)
	List(opts v1.ListOptions) (*v2.WarmImageList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.WarmImage, err error)
	WarmImageExpansion
}

WarmImageInterface has methods to work with WarmImage resources.

type WarmImagesGetter

type WarmImagesGetter interface {
	WarmImages(namespace string) WarmImageInterface
}

WarmImagesGetter has a method to return a WarmImageInterface. 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