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(ctx context.Context, blockAffinity *calicov3.BlockAffinity, opts v1.CreateOptions) (*calicov3.BlockAffinity, error) Update(ctx context.Context, blockAffinity *calicov3.BlockAffinity, opts v1.UpdateOptions) (*calicov3.BlockAffinity, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*calicov3.BlockAffinity, error) List(ctx context.Context, opts v1.ListOptions) (*calicov3.BlockAffinityList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, 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 ¶
func New(c rest.Interface) *CrdCalicov3Client
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(ctx context.Context, iPAMBlock *calicov3.IPAMBlock, opts v1.CreateOptions) (*calicov3.IPAMBlock, error) Update(ctx context.Context, iPAMBlock *calicov3.IPAMBlock, opts v1.UpdateOptions) (*calicov3.IPAMBlock, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*calicov3.IPAMBlock, error) List(ctx context.Context, opts v1.ListOptions) (*calicov3.IPAMBlockList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, 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(ctx context.Context, iPPool *calicov3.IPPool, opts v1.CreateOptions) (*calicov3.IPPool, error) Update(ctx context.Context, iPPool *calicov3.IPPool, opts v1.UpdateOptions) (*calicov3.IPPool, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*calicov3.IPPool, error) List(ctx context.Context, opts v1.ListOptions) (*calicov3.IPPoolList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, 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.