v1

package
v2024.0.0-...-2a04652 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: BSD-3-Clause 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 DaskAutoscalerExpansion

type DaskAutoscalerExpansion interface{}

type DaskAutoscalerInterface

type DaskAutoscalerInterface interface {
	Create(ctx context.Context, daskAutoscaler *v1.DaskAutoscaler, opts metav1.CreateOptions) (*v1.DaskAutoscaler, error)
	Update(ctx context.Context, daskAutoscaler *v1.DaskAutoscaler, opts metav1.UpdateOptions) (*v1.DaskAutoscaler, 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.DaskAutoscaler, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.DaskAutoscalerList, 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.DaskAutoscaler, err error)
	DaskAutoscalerExpansion
}

DaskAutoscalerInterface has methods to work with DaskAutoscaler resources.

type DaskAutoscalersGetter

type DaskAutoscalersGetter interface {
	DaskAutoscalers(namespace string) DaskAutoscalerInterface
}

DaskAutoscalersGetter has a method to return a DaskAutoscalerInterface. A group's client should implement this interface.

type DaskClusterExpansion

type DaskClusterExpansion interface{}

type DaskClusterInterface

type DaskClusterInterface interface {
	Create(ctx context.Context, daskCluster *v1.DaskCluster, opts metav1.CreateOptions) (*v1.DaskCluster, error)
	Update(ctx context.Context, daskCluster *v1.DaskCluster, opts metav1.UpdateOptions) (*v1.DaskCluster, error)
	UpdateStatus(ctx context.Context, daskCluster *v1.DaskCluster, opts metav1.UpdateOptions) (*v1.DaskCluster, 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.DaskCluster, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.DaskClusterList, 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.DaskCluster, err error)
	DaskClusterExpansion
}

DaskClusterInterface has methods to work with DaskCluster resources.

type DaskClustersGetter

type DaskClustersGetter interface {
	DaskClusters(namespace string) DaskClusterInterface
}

DaskClustersGetter has a method to return a DaskClusterInterface. A group's client should implement this interface.

type DaskJobExpansion

type DaskJobExpansion interface{}

type DaskJobInterface

type DaskJobInterface interface {
	Create(ctx context.Context, daskJob *v1.DaskJob, opts metav1.CreateOptions) (*v1.DaskJob, error)
	Update(ctx context.Context, daskJob *v1.DaskJob, opts metav1.UpdateOptions) (*v1.DaskJob, error)
	UpdateStatus(ctx context.Context, daskJob *v1.DaskJob, opts metav1.UpdateOptions) (*v1.DaskJob, 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.DaskJob, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.DaskJobList, 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.DaskJob, err error)
	DaskJobExpansion
}

DaskJobInterface has methods to work with DaskJob resources.

type DaskJobsGetter

type DaskJobsGetter interface {
	DaskJobs(namespace string) DaskJobInterface
}

DaskJobsGetter has a method to return a DaskJobInterface. A group's client should implement this interface.

type DaskWorkerGroupExpansion

type DaskWorkerGroupExpansion interface{}

type DaskWorkerGroupInterface

type DaskWorkerGroupInterface interface {
	Create(ctx context.Context, daskWorkerGroup *v1.DaskWorkerGroup, opts metav1.CreateOptions) (*v1.DaskWorkerGroup, error)
	Update(ctx context.Context, daskWorkerGroup *v1.DaskWorkerGroup, opts metav1.UpdateOptions) (*v1.DaskWorkerGroup, 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.DaskWorkerGroup, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.DaskWorkerGroupList, 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.DaskWorkerGroup, err error)
	DaskWorkerGroupExpansion
}

DaskWorkerGroupInterface has methods to work with DaskWorkerGroup resources.

type DaskWorkerGroupsGetter

type DaskWorkerGroupsGetter interface {
	DaskWorkerGroups(namespace string) DaskWorkerGroupInterface
}

DaskWorkerGroupsGetter has a method to return a DaskWorkerGroupInterface. A group's client should implement this interface.

type KubernetesV1Client

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

KubernetesV1Client is used to interact with features provided by the kubernetes.dask.org group.

func New

New creates a new KubernetesV1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new KubernetesV1Client 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) (*KubernetesV1Client, error)

NewForConfigAndClient creates a new KubernetesV1Client 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) *KubernetesV1Client

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

func (*KubernetesV1Client) DaskAutoscalers

func (c *KubernetesV1Client) DaskAutoscalers(namespace string) DaskAutoscalerInterface

func (*KubernetesV1Client) DaskClusters

func (c *KubernetesV1Client) DaskClusters(namespace string) DaskClusterInterface

func (*KubernetesV1Client) DaskJobs

func (c *KubernetesV1Client) DaskJobs(namespace string) DaskJobInterface

func (*KubernetesV1Client) DaskWorkerGroups

func (c *KubernetesV1Client) DaskWorkerGroups(namespace string) DaskWorkerGroupInterface

func (*KubernetesV1Client) RESTClient

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

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

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