v1beta1

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 10 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 AdmissionCheckExpansion added in v0.5.0

type AdmissionCheckExpansion interface{}

type AdmissionCheckInterface added in v0.5.0

type AdmissionCheckInterface interface {
	Create(ctx context.Context, admissionCheck *v1beta1.AdmissionCheck, opts v1.CreateOptions) (*v1beta1.AdmissionCheck, error)
	Update(ctx context.Context, admissionCheck *v1beta1.AdmissionCheck, opts v1.UpdateOptions) (*v1beta1.AdmissionCheck, error)
	// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
	UpdateStatus(ctx context.Context, admissionCheck *v1beta1.AdmissionCheck, opts v1.UpdateOptions) (*v1beta1.AdmissionCheck, 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) (*v1beta1.AdmissionCheck, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.AdmissionCheckList, 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 *v1beta1.AdmissionCheck, err error)
	Apply(ctx context.Context, admissionCheck *kueuev1beta1.AdmissionCheckApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.AdmissionCheck, err error)
	// Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
	ApplyStatus(ctx context.Context, admissionCheck *kueuev1beta1.AdmissionCheckApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.AdmissionCheck, err error)
	AdmissionCheckExpansion
}

AdmissionCheckInterface has methods to work with AdmissionCheck resources.

type AdmissionChecksGetter added in v0.5.0

type AdmissionChecksGetter interface {
	AdmissionChecks() AdmissionCheckInterface
}

AdmissionChecksGetter has a method to return a AdmissionCheckInterface. A group's client should implement this interface.

type ClusterQueueExpansion

type ClusterQueueExpansion interface{}

type ClusterQueueInterface

type ClusterQueueInterface interface {
	Create(ctx context.Context, clusterQueue *v1beta1.ClusterQueue, opts v1.CreateOptions) (*v1beta1.ClusterQueue, error)
	Update(ctx context.Context, clusterQueue *v1beta1.ClusterQueue, opts v1.UpdateOptions) (*v1beta1.ClusterQueue, error)
	// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
	UpdateStatus(ctx context.Context, clusterQueue *v1beta1.ClusterQueue, opts v1.UpdateOptions) (*v1beta1.ClusterQueue, 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) (*v1beta1.ClusterQueue, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.ClusterQueueList, 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 *v1beta1.ClusterQueue, err error)
	Apply(ctx context.Context, clusterQueue *kueuev1beta1.ClusterQueueApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.ClusterQueue, err error)
	// Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
	ApplyStatus(ctx context.Context, clusterQueue *kueuev1beta1.ClusterQueueApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.ClusterQueue, err error)
	ClusterQueueExpansion
}

ClusterQueueInterface has methods to work with ClusterQueue resources.

type ClusterQueuesGetter

type ClusterQueuesGetter interface {
	ClusterQueues() ClusterQueueInterface
}

ClusterQueuesGetter has a method to return a ClusterQueueInterface. A group's client should implement this interface.

type KueueV1beta1Client

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

KueueV1beta1Client is used to interact with features provided by the kueue.x-k8s.io group.

func New

New creates a new KueueV1beta1Client for the given RESTClient.

func NewForConfig

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

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

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

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

func (*KueueV1beta1Client) AdmissionChecks added in v0.5.0

func (c *KueueV1beta1Client) AdmissionChecks() AdmissionCheckInterface

func (*KueueV1beta1Client) ClusterQueues

func (c *KueueV1beta1Client) ClusterQueues() ClusterQueueInterface

func (*KueueV1beta1Client) LocalQueues

func (c *KueueV1beta1Client) LocalQueues(namespace string) LocalQueueInterface

func (*KueueV1beta1Client) MultiKueueClusters added in v0.9.0

func (c *KueueV1beta1Client) MultiKueueClusters() MultiKueueClusterInterface

func (*KueueV1beta1Client) MultiKueueConfigs added in v0.9.0

func (c *KueueV1beta1Client) MultiKueueConfigs() MultiKueueConfigInterface

func (*KueueV1beta1Client) ProvisioningRequestConfigs added in v0.5.0

func (c *KueueV1beta1Client) ProvisioningRequestConfigs() ProvisioningRequestConfigInterface

func (*KueueV1beta1Client) RESTClient

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

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

func (*KueueV1beta1Client) ResourceFlavors

func (c *KueueV1beta1Client) ResourceFlavors() ResourceFlavorInterface

func (*KueueV1beta1Client) WorkloadPriorityClasses added in v0.5.0

func (c *KueueV1beta1Client) WorkloadPriorityClasses() WorkloadPriorityClassInterface

func (*KueueV1beta1Client) Workloads

func (c *KueueV1beta1Client) Workloads(namespace string) WorkloadInterface

type LocalQueueExpansion

type LocalQueueExpansion interface{}

type LocalQueueInterface

type LocalQueueInterface interface {
	Create(ctx context.Context, localQueue *v1beta1.LocalQueue, opts v1.CreateOptions) (*v1beta1.LocalQueue, error)
	Update(ctx context.Context, localQueue *v1beta1.LocalQueue, opts v1.UpdateOptions) (*v1beta1.LocalQueue, error)
	// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
	UpdateStatus(ctx context.Context, localQueue *v1beta1.LocalQueue, opts v1.UpdateOptions) (*v1beta1.LocalQueue, 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) (*v1beta1.LocalQueue, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.LocalQueueList, 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 *v1beta1.LocalQueue, err error)
	Apply(ctx context.Context, localQueue *kueuev1beta1.LocalQueueApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.LocalQueue, err error)
	// Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
	ApplyStatus(ctx context.Context, localQueue *kueuev1beta1.LocalQueueApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.LocalQueue, err error)
	LocalQueueExpansion
}

LocalQueueInterface has methods to work with LocalQueue resources.

type LocalQueuesGetter

type LocalQueuesGetter interface {
	LocalQueues(namespace string) LocalQueueInterface
}

LocalQueuesGetter has a method to return a LocalQueueInterface. A group's client should implement this interface.

type MultiKueueClusterExpansion added in v0.9.0

type MultiKueueClusterExpansion interface{}

type MultiKueueClusterInterface added in v0.9.0

type MultiKueueClusterInterface interface {
	Create(ctx context.Context, multiKueueCluster *v1beta1.MultiKueueCluster, opts v1.CreateOptions) (*v1beta1.MultiKueueCluster, error)
	Update(ctx context.Context, multiKueueCluster *v1beta1.MultiKueueCluster, opts v1.UpdateOptions) (*v1beta1.MultiKueueCluster, error)
	// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
	UpdateStatus(ctx context.Context, multiKueueCluster *v1beta1.MultiKueueCluster, opts v1.UpdateOptions) (*v1beta1.MultiKueueCluster, 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) (*v1beta1.MultiKueueCluster, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.MultiKueueClusterList, 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 *v1beta1.MultiKueueCluster, err error)
	Apply(ctx context.Context, multiKueueCluster *kueuev1beta1.MultiKueueClusterApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.MultiKueueCluster, err error)
	// Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
	ApplyStatus(ctx context.Context, multiKueueCluster *kueuev1beta1.MultiKueueClusterApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.MultiKueueCluster, err error)
	MultiKueueClusterExpansion
}

MultiKueueClusterInterface has methods to work with MultiKueueCluster resources.

type MultiKueueClustersGetter added in v0.9.0

type MultiKueueClustersGetter interface {
	MultiKueueClusters() MultiKueueClusterInterface
}

MultiKueueClustersGetter has a method to return a MultiKueueClusterInterface. A group's client should implement this interface.

type MultiKueueConfigExpansion added in v0.9.0

type MultiKueueConfigExpansion interface{}

type MultiKueueConfigInterface added in v0.9.0

type MultiKueueConfigInterface interface {
	Create(ctx context.Context, multiKueueConfig *v1beta1.MultiKueueConfig, opts v1.CreateOptions) (*v1beta1.MultiKueueConfig, error)
	Update(ctx context.Context, multiKueueConfig *v1beta1.MultiKueueConfig, opts v1.UpdateOptions) (*v1beta1.MultiKueueConfig, 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) (*v1beta1.MultiKueueConfig, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.MultiKueueConfigList, 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 *v1beta1.MultiKueueConfig, err error)
	Apply(ctx context.Context, multiKueueConfig *kueuev1beta1.MultiKueueConfigApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.MultiKueueConfig, err error)
	MultiKueueConfigExpansion
}

MultiKueueConfigInterface has methods to work with MultiKueueConfig resources.

type MultiKueueConfigsGetter added in v0.9.0

type MultiKueueConfigsGetter interface {
	MultiKueueConfigs() MultiKueueConfigInterface
}

MultiKueueConfigsGetter has a method to return a MultiKueueConfigInterface. A group's client should implement this interface.

type ProvisioningRequestConfigExpansion added in v0.5.0

type ProvisioningRequestConfigExpansion interface{}

type ProvisioningRequestConfigInterface added in v0.5.0

type ProvisioningRequestConfigInterface interface {
	Create(ctx context.Context, provisioningRequestConfig *v1beta1.ProvisioningRequestConfig, opts v1.CreateOptions) (*v1beta1.ProvisioningRequestConfig, error)
	Update(ctx context.Context, provisioningRequestConfig *v1beta1.ProvisioningRequestConfig, opts v1.UpdateOptions) (*v1beta1.ProvisioningRequestConfig, 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) (*v1beta1.ProvisioningRequestConfig, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.ProvisioningRequestConfigList, 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 *v1beta1.ProvisioningRequestConfig, err error)
	Apply(ctx context.Context, provisioningRequestConfig *kueuev1beta1.ProvisioningRequestConfigApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.ProvisioningRequestConfig, err error)
	ProvisioningRequestConfigExpansion
}

ProvisioningRequestConfigInterface has methods to work with ProvisioningRequestConfig resources.

type ProvisioningRequestConfigsGetter added in v0.5.0

type ProvisioningRequestConfigsGetter interface {
	ProvisioningRequestConfigs() ProvisioningRequestConfigInterface
}

ProvisioningRequestConfigsGetter has a method to return a ProvisioningRequestConfigInterface. A group's client should implement this interface.

type ResourceFlavorExpansion

type ResourceFlavorExpansion interface{}

type ResourceFlavorInterface

type ResourceFlavorInterface interface {
	Create(ctx context.Context, resourceFlavor *v1beta1.ResourceFlavor, opts v1.CreateOptions) (*v1beta1.ResourceFlavor, error)
	Update(ctx context.Context, resourceFlavor *v1beta1.ResourceFlavor, opts v1.UpdateOptions) (*v1beta1.ResourceFlavor, 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) (*v1beta1.ResourceFlavor, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.ResourceFlavorList, 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 *v1beta1.ResourceFlavor, err error)
	Apply(ctx context.Context, resourceFlavor *kueuev1beta1.ResourceFlavorApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.ResourceFlavor, err error)
	ResourceFlavorExpansion
}

ResourceFlavorInterface has methods to work with ResourceFlavor resources.

type ResourceFlavorsGetter

type ResourceFlavorsGetter interface {
	ResourceFlavors() ResourceFlavorInterface
}

ResourceFlavorsGetter has a method to return a ResourceFlavorInterface. A group's client should implement this interface.

type WorkloadExpansion

type WorkloadExpansion interface{}

type WorkloadInterface

type WorkloadInterface interface {
	Create(ctx context.Context, workload *v1beta1.Workload, opts v1.CreateOptions) (*v1beta1.Workload, error)
	Update(ctx context.Context, workload *v1beta1.Workload, opts v1.UpdateOptions) (*v1beta1.Workload, error)
	// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
	UpdateStatus(ctx context.Context, workload *v1beta1.Workload, opts v1.UpdateOptions) (*v1beta1.Workload, 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) (*v1beta1.Workload, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.WorkloadList, 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 *v1beta1.Workload, err error)
	Apply(ctx context.Context, workload *kueuev1beta1.WorkloadApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.Workload, err error)
	// Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
	ApplyStatus(ctx context.Context, workload *kueuev1beta1.WorkloadApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.Workload, err error)
	WorkloadExpansion
}

WorkloadInterface has methods to work with Workload resources.

type WorkloadPriorityClassExpansion added in v0.5.0

type WorkloadPriorityClassExpansion interface{}

type WorkloadPriorityClassInterface added in v0.5.0

type WorkloadPriorityClassInterface interface {
	Create(ctx context.Context, workloadPriorityClass *v1beta1.WorkloadPriorityClass, opts v1.CreateOptions) (*v1beta1.WorkloadPriorityClass, error)
	Update(ctx context.Context, workloadPriorityClass *v1beta1.WorkloadPriorityClass, opts v1.UpdateOptions) (*v1beta1.WorkloadPriorityClass, 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) (*v1beta1.WorkloadPriorityClass, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.WorkloadPriorityClassList, 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 *v1beta1.WorkloadPriorityClass, err error)
	Apply(ctx context.Context, workloadPriorityClass *kueuev1beta1.WorkloadPriorityClassApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.WorkloadPriorityClass, err error)
	WorkloadPriorityClassExpansion
}

WorkloadPriorityClassInterface has methods to work with WorkloadPriorityClass resources.

type WorkloadPriorityClassesGetter added in v0.5.0

type WorkloadPriorityClassesGetter interface {
	WorkloadPriorityClasses() WorkloadPriorityClassInterface
}

WorkloadPriorityClassesGetter has a method to return a WorkloadPriorityClassInterface. A group's client should implement this interface.

type WorkloadsGetter

type WorkloadsGetter interface {
	Workloads(namespace string) WorkloadInterface
}

WorkloadsGetter has a method to return a WorkloadInterface. 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