calicov3

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2021 License: Apache-2.0 Imports: 7 Imported by: 3

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 BlockAffinitiesGetter

type BlockAffinitiesGetter interface {
	BlockAffinities() BlockAffinityInterface
}

BlockAffinitiesGetter has a method to return a BlockAffinityInterface. A group's client should implement this interface.

type BlockAffinityExpansion

type BlockAffinityExpansion interface{}

type BlockAffinityInterface

type BlockAffinityInterface interface {
	Create(*calicov3.BlockAffinity) (*calicov3.BlockAffinity, error)
	Update(*calicov3.BlockAffinity) (*calicov3.BlockAffinity, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*calicov3.BlockAffinity, error)
	List(opts v1.ListOptions) (*calicov3.BlockAffinityList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *calicov3.BlockAffinity, err error)
	BlockAffinityExpansion
}

BlockAffinityInterface has methods to work with BlockAffinity resources.

type CrdCalicov3Client

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

CrdCalicov3Client is used to interact with features provided by the crd.projectcalico.org group.

func New

New creates a new CrdCalicov3Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new CrdCalicov3Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *CrdCalicov3Client

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

func (*CrdCalicov3Client) BlockAffinities

func (c *CrdCalicov3Client) BlockAffinities() BlockAffinityInterface

func (*CrdCalicov3Client) IPAMBlocks

func (c *CrdCalicov3Client) IPAMBlocks() IPAMBlockInterface

func (*CrdCalicov3Client) IPPools

func (c *CrdCalicov3Client) IPPools() IPPoolInterface

func (*CrdCalicov3Client) RESTClient

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

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

type CrdCalicov3Interface

type CrdCalicov3Interface interface {
	RESTClient() rest.Interface
	BlockAffinitiesGetter
	IPAMBlocksGetter
	IPPoolsGetter
}

type IPAMBlockExpansion

type IPAMBlockExpansion interface{}

type IPAMBlockInterface

type IPAMBlockInterface interface {
	Create(*calicov3.IPAMBlock) (*calicov3.IPAMBlock, error)
	Update(*calicov3.IPAMBlock) (*calicov3.IPAMBlock, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*calicov3.IPAMBlock, error)
	List(opts v1.ListOptions) (*calicov3.IPAMBlockList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *calicov3.IPAMBlock, err error)
	IPAMBlockExpansion
}

IPAMBlockInterface has methods to work with IPAMBlock resources.

type IPAMBlocksGetter

type IPAMBlocksGetter interface {
	IPAMBlocks() IPAMBlockInterface
}

IPAMBlocksGetter has a method to return a IPAMBlockInterface. A group's client should implement this interface.

type IPPoolExpansion

type IPPoolExpansion interface{}

type IPPoolInterface

type IPPoolInterface interface {
	Create(*calicov3.IPPool) (*calicov3.IPPool, error)
	Update(*calicov3.IPPool) (*calicov3.IPPool, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*calicov3.IPPool, error)
	List(opts v1.ListOptions) (*calicov3.IPPoolList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *calicov3.IPPool, err error)
	IPPoolExpansion
}

IPPoolInterface has methods to work with IPPool resources.

type IPPoolsGetter

type IPPoolsGetter interface {
	IPPools() IPPoolInterface
}

IPPoolsGetter has a method to return a IPPoolInterface. 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