v1

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: May 16, 2019 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 VirtletConfigMappingExpansion

type VirtletConfigMappingExpansion interface{}

type VirtletConfigMappingInterface

type VirtletConfigMappingInterface interface {
	Create(*v1.VirtletConfigMapping) (*v1.VirtletConfigMapping, error)
	Update(*v1.VirtletConfigMapping) (*v1.VirtletConfigMapping, error)
	Delete(name string, options *meta_v1.DeleteOptions) error
	DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
	Get(name string, options meta_v1.GetOptions) (*v1.VirtletConfigMapping, error)
	List(opts meta_v1.ListOptions) (*v1.VirtletConfigMappingList, error)
	Watch(opts meta_v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.VirtletConfigMapping, err error)
	VirtletConfigMappingExpansion
}

VirtletConfigMappingInterface has methods to work with VirtletConfigMapping resources.

type VirtletConfigMappingsGetter

type VirtletConfigMappingsGetter interface {
	VirtletConfigMappings(namespace string) VirtletConfigMappingInterface
}

VirtletConfigMappingsGetter has a method to return a VirtletConfigMappingInterface. A group's client should implement this interface.

type VirtletImageMappingExpansion

type VirtletImageMappingExpansion interface{}

type VirtletImageMappingInterface

type VirtletImageMappingInterface interface {
	Create(*v1.VirtletImageMapping) (*v1.VirtletImageMapping, error)
	Update(*v1.VirtletImageMapping) (*v1.VirtletImageMapping, error)
	Delete(name string, options *meta_v1.DeleteOptions) error
	DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
	Get(name string, options meta_v1.GetOptions) (*v1.VirtletImageMapping, error)
	List(opts meta_v1.ListOptions) (*v1.VirtletImageMappingList, error)
	Watch(opts meta_v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.VirtletImageMapping, err error)
	VirtletImageMappingExpansion
}

VirtletImageMappingInterface has methods to work with VirtletImageMapping resources.

type VirtletImageMappingsGetter

type VirtletImageMappingsGetter interface {
	VirtletImageMappings(namespace string) VirtletImageMappingInterface
}

VirtletImageMappingsGetter has a method to return a VirtletImageMappingInterface. A group's client should implement this interface.

type VirtletV1Client

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

VirtletV1Client is used to interact with features provided by the virtlet.k8s group.

func New

New creates a new VirtletV1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new VirtletV1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *VirtletV1Client

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

func (*VirtletV1Client) RESTClient

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

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

func (*VirtletV1Client) VirtletConfigMappings

func (c *VirtletV1Client) VirtletConfigMappings(namespace string) VirtletConfigMappingInterface

func (*VirtletV1Client) VirtletImageMappings

func (c *VirtletV1Client) VirtletImageMappings(namespace string) VirtletImageMappingInterface

type VirtletV1Interface

type VirtletV1Interface interface {
	RESTClient() rest.Interface
	VirtletConfigMappingsGetter
	VirtletImageMappingsGetter
}

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