v1

package
v0.0.0-...-432d548 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: Apache-2.0 Imports: 8 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 CarbonJobExpansion

type CarbonJobExpansion interface{}

type CarbonJobInterface

type CarbonJobInterface interface {
	Create(ctx context.Context, carbonJob *v1.CarbonJob, opts metav1.CreateOptions) (*v1.CarbonJob, error)
	Update(ctx context.Context, carbonJob *v1.CarbonJob, opts metav1.UpdateOptions) (*v1.CarbonJob, error)
	UpdateStatus(ctx context.Context, carbonJob *v1.CarbonJob, opts metav1.UpdateOptions) (*v1.CarbonJob, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.CarbonJob, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.CarbonJobList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.CarbonJob, err error)
	CarbonJobExpansion
}

CarbonJobInterface has methods to work with CarbonJob resources.

type CarbonJobsGetter

type CarbonJobsGetter interface {
	CarbonJobs(namespace string) CarbonJobInterface
}

CarbonJobsGetter has a method to return a CarbonJobInterface. A group's client should implement this interface.

type CarbonV1Client

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

CarbonV1Client is used to interact with features provided by the carbon.taobao.com group.

func New

New creates a new CarbonV1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new CarbonV1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *CarbonV1Client

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

func (*CarbonV1Client) CarbonJobs

func (c *CarbonV1Client) CarbonJobs(namespace string) CarbonJobInterface

func (*CarbonV1Client) RESTClient

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

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

func (*CarbonV1Client) RollingSets

func (c *CarbonV1Client) RollingSets(namespace string) RollingSetInterface

func (*CarbonV1Client) ServicePublishers

func (c *CarbonV1Client) ServicePublishers(namespace string) ServicePublisherInterface

func (*CarbonV1Client) ShardGroups

func (c *CarbonV1Client) ShardGroups(namespace string) ShardGroupInterface

func (*CarbonV1Client) TemporaryConstraints

func (c *CarbonV1Client) TemporaryConstraints(namespace string) TemporaryConstraintInterface

func (*CarbonV1Client) WorkerNodeEvictions

func (c *CarbonV1Client) WorkerNodeEvictions(namespace string) WorkerNodeEvictionInterface

func (*CarbonV1Client) WorkerNodes

func (c *CarbonV1Client) WorkerNodes(namespace string) WorkerNodeInterface

type RollingSetExpansion

type RollingSetExpansion interface{}

type RollingSetInterface

type RollingSetInterface interface {
	Create(ctx context.Context, rollingSet *v1.RollingSet, opts metav1.CreateOptions) (*v1.RollingSet, error)
	Update(ctx context.Context, rollingSet *v1.RollingSet, opts metav1.UpdateOptions) (*v1.RollingSet, error)
	UpdateStatus(ctx context.Context, rollingSet *v1.RollingSet, opts metav1.UpdateOptions) (*v1.RollingSet, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.RollingSet, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.RollingSetList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.RollingSet, err error)
	RollingSetExpansion
}

RollingSetInterface has methods to work with RollingSet resources.

type RollingSetsGetter

type RollingSetsGetter interface {
	RollingSets(namespace string) RollingSetInterface
}

RollingSetsGetter has a method to return a RollingSetInterface. A group's client should implement this interface.

type ServicePublisherExpansion

type ServicePublisherExpansion interface{}

type ServicePublisherInterface

type ServicePublisherInterface interface {
	Create(ctx context.Context, servicePublisher *v1.ServicePublisher, opts metav1.CreateOptions) (*v1.ServicePublisher, error)
	Update(ctx context.Context, servicePublisher *v1.ServicePublisher, opts metav1.UpdateOptions) (*v1.ServicePublisher, error)
	UpdateStatus(ctx context.Context, servicePublisher *v1.ServicePublisher, opts metav1.UpdateOptions) (*v1.ServicePublisher, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.ServicePublisher, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ServicePublisherList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ServicePublisher, err error)
	ServicePublisherExpansion
}

ServicePublisherInterface has methods to work with ServicePublisher resources.

type ServicePublishersGetter

type ServicePublishersGetter interface {
	ServicePublishers(namespace string) ServicePublisherInterface
}

ServicePublishersGetter has a method to return a ServicePublisherInterface. A group's client should implement this interface.

type ShardGroupExpansion

type ShardGroupExpansion interface{}

type ShardGroupInterface

type ShardGroupInterface interface {
	Create(ctx context.Context, shardGroup *v1.ShardGroup, opts metav1.CreateOptions) (*v1.ShardGroup, error)
	Update(ctx context.Context, shardGroup *v1.ShardGroup, opts metav1.UpdateOptions) (*v1.ShardGroup, error)
	UpdateStatus(ctx context.Context, shardGroup *v1.ShardGroup, opts metav1.UpdateOptions) (*v1.ShardGroup, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.ShardGroup, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ShardGroupList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ShardGroup, err error)
	ShardGroupExpansion
}

ShardGroupInterface has methods to work with ShardGroup resources.

type ShardGroupsGetter

type ShardGroupsGetter interface {
	ShardGroups(namespace string) ShardGroupInterface
}

ShardGroupsGetter has a method to return a ShardGroupInterface. A group's client should implement this interface.

type TemporaryConstraintExpansion

type TemporaryConstraintExpansion interface{}

type TemporaryConstraintInterface

type TemporaryConstraintInterface interface {
	Create(ctx context.Context, temporaryConstraint *v1.TemporaryConstraint, opts metav1.CreateOptions) (*v1.TemporaryConstraint, error)
	Update(ctx context.Context, temporaryConstraint *v1.TemporaryConstraint, opts metav1.UpdateOptions) (*v1.TemporaryConstraint, error)
	UpdateStatus(ctx context.Context, temporaryConstraint *v1.TemporaryConstraint, opts metav1.UpdateOptions) (*v1.TemporaryConstraint, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.TemporaryConstraint, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.TemporaryConstraintList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.TemporaryConstraint, err error)
	TemporaryConstraintExpansion
}

TemporaryConstraintInterface has methods to work with TemporaryConstraint resources.

type TemporaryConstraintsGetter

type TemporaryConstraintsGetter interface {
	TemporaryConstraints(namespace string) TemporaryConstraintInterface
}

TemporaryConstraintsGetter has a method to return a TemporaryConstraintInterface. A group's client should implement this interface.

type WorkerNodeEvictionExpansion

type WorkerNodeEvictionExpansion interface{}

type WorkerNodeEvictionInterface

type WorkerNodeEvictionInterface interface {
	Create(ctx context.Context, workerNodeEviction *v1.WorkerNodeEviction, opts metav1.CreateOptions) (*v1.WorkerNodeEviction, error)
	Update(ctx context.Context, workerNodeEviction *v1.WorkerNodeEviction, opts metav1.UpdateOptions) (*v1.WorkerNodeEviction, error)
	UpdateStatus(ctx context.Context, workerNodeEviction *v1.WorkerNodeEviction, opts metav1.UpdateOptions) (*v1.WorkerNodeEviction, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.WorkerNodeEviction, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.WorkerNodeEvictionList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.WorkerNodeEviction, err error)
	WorkerNodeEvictionExpansion
}

WorkerNodeEvictionInterface has methods to work with WorkerNodeEviction resources.

type WorkerNodeEvictionsGetter

type WorkerNodeEvictionsGetter interface {
	WorkerNodeEvictions(namespace string) WorkerNodeEvictionInterface
}

WorkerNodeEvictionsGetter has a method to return a WorkerNodeEvictionInterface. A group's client should implement this interface.

type WorkerNodeExpansion

type WorkerNodeExpansion interface{}

type WorkerNodeInterface

type WorkerNodeInterface interface {
	Create(ctx context.Context, workerNode *v1.WorkerNode, opts metav1.CreateOptions) (*v1.WorkerNode, error)
	Update(ctx context.Context, workerNode *v1.WorkerNode, opts metav1.UpdateOptions) (*v1.WorkerNode, error)
	UpdateStatus(ctx context.Context, workerNode *v1.WorkerNode, opts metav1.UpdateOptions) (*v1.WorkerNode, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.WorkerNode, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.WorkerNodeList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.WorkerNode, err error)
	WorkerNodeExpansion
}

WorkerNodeInterface has methods to work with WorkerNode resources.

type WorkerNodesGetter

type WorkerNodesGetter interface {
	WorkerNodes(namespace string) WorkerNodeInterface
}

WorkerNodesGetter has a method to return a WorkerNodeInterface. 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