v2

package
v0.0.0-...-686bfca Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: Apache-2.0 Imports: 9 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 CCEEndpointExpansion

type CCEEndpointExpansion interface{}

type CCEEndpointInterface

type CCEEndpointInterface interface {
	Create(ctx context.Context, cCEEndpoint *v2.CCEEndpoint, opts v1.CreateOptions) (*v2.CCEEndpoint, error)
	Update(ctx context.Context, cCEEndpoint *v2.CCEEndpoint, opts v1.UpdateOptions) (*v2.CCEEndpoint, error)
	UpdateStatus(ctx context.Context, cCEEndpoint *v2.CCEEndpoint, opts v1.UpdateOptions) (*v2.CCEEndpoint, 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) (*v2.CCEEndpoint, error)
	List(ctx context.Context, opts v1.ListOptions) (*v2.CCEEndpointList, 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 *v2.CCEEndpoint, err error)
	CCEEndpointExpansion
}

CCEEndpointInterface has methods to work with CCEEndpoint resources.

type CCEEndpointsGetter

type CCEEndpointsGetter interface {
	CCEEndpoints(namespace string) CCEEndpointInterface
}

CCEEndpointsGetter has a method to return a CCEEndpointInterface. A group's client should implement this interface.

type CceV2Client

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

CceV2Client is used to interact with features provided by the cce.baidubce.com group.

func New

func New(c rest.Interface) *CceV2Client

New creates a new CceV2Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new CceV2Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).

func NewForConfigAndClient

func NewForConfigAndClient(c *rest.Config, h *http.Client) (*CceV2Client, error)

NewForConfigAndClient creates a new CceV2Client for the given config and http client. Note the http client provided takes precedence over the configured transport values.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *CceV2Client

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

func (*CceV2Client) CCEEndpoints

func (c *CceV2Client) CCEEndpoints(namespace string) CCEEndpointInterface

func (*CceV2Client) ENIs

func (c *CceV2Client) ENIs() ENIInterface

func (*CceV2Client) NetResourceSets

func (c *CceV2Client) NetResourceSets() NetResourceSetInterface

func (*CceV2Client) PodSubnetTopologySpreads

func (c *CceV2Client) PodSubnetTopologySpreads(namespace string) PodSubnetTopologySpreadInterface

func (*CceV2Client) RESTClient

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

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

type ENIExpansion

type ENIExpansion interface{}

type ENIInterface

type ENIInterface interface {
	Create(ctx context.Context, eNI *v2.ENI, opts v1.CreateOptions) (*v2.ENI, error)
	Update(ctx context.Context, eNI *v2.ENI, opts v1.UpdateOptions) (*v2.ENI, error)
	UpdateStatus(ctx context.Context, eNI *v2.ENI, opts v1.UpdateOptions) (*v2.ENI, 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) (*v2.ENI, error)
	List(ctx context.Context, opts v1.ListOptions) (*v2.ENIList, 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 *v2.ENI, err error)
	ENIExpansion
}

ENIInterface has methods to work with ENI resources.

type ENIsGetter

type ENIsGetter interface {
	ENIs() ENIInterface
}

ENIsGetter has a method to return a ENIInterface. A group's client should implement this interface.

type NetResourceSetExpansion

type NetResourceSetExpansion interface{}

type NetResourceSetInterface

type NetResourceSetInterface interface {
	Create(ctx context.Context, netResourceSet *v2.NetResourceSet, opts v1.CreateOptions) (*v2.NetResourceSet, error)
	Update(ctx context.Context, netResourceSet *v2.NetResourceSet, opts v1.UpdateOptions) (*v2.NetResourceSet, error)
	UpdateStatus(ctx context.Context, netResourceSet *v2.NetResourceSet, opts v1.UpdateOptions) (*v2.NetResourceSet, 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) (*v2.NetResourceSet, error)
	List(ctx context.Context, opts v1.ListOptions) (*v2.NetResourceSetList, 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 *v2.NetResourceSet, err error)
	NetResourceSetExpansion
}

NetResourceSetInterface has methods to work with NetResourceSet resources.

type NetResourceSetsGetter

type NetResourceSetsGetter interface {
	NetResourceSets() NetResourceSetInterface
}

NetResourceSetsGetter has a method to return a NetResourceSetInterface. A group's client should implement this interface.

type PodSubnetTopologySpreadExpansion

type PodSubnetTopologySpreadExpansion interface{}

type PodSubnetTopologySpreadInterface

type PodSubnetTopologySpreadInterface interface {
	Create(ctx context.Context, podSubnetTopologySpread *v2.PodSubnetTopologySpread, opts v1.CreateOptions) (*v2.PodSubnetTopologySpread, error)
	Update(ctx context.Context, podSubnetTopologySpread *v2.PodSubnetTopologySpread, opts v1.UpdateOptions) (*v2.PodSubnetTopologySpread, error)
	UpdateStatus(ctx context.Context, podSubnetTopologySpread *v2.PodSubnetTopologySpread, opts v1.UpdateOptions) (*v2.PodSubnetTopologySpread, 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) (*v2.PodSubnetTopologySpread, error)
	List(ctx context.Context, opts v1.ListOptions) (*v2.PodSubnetTopologySpreadList, 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 *v2.PodSubnetTopologySpread, err error)
	PodSubnetTopologySpreadExpansion
}

PodSubnetTopologySpreadInterface has methods to work with PodSubnetTopologySpread resources.

type PodSubnetTopologySpreadsGetter

type PodSubnetTopologySpreadsGetter interface {
	PodSubnetTopologySpreads(namespace string) PodSubnetTopologySpreadInterface
}

PodSubnetTopologySpreadsGetter has a method to return a PodSubnetTopologySpreadInterface. 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