Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type ClusterQueueExpansion
- type ClusterQueueInterface
- type ClusterQueuesGetter
- type KueueV1beta1Client
- func (c *KueueV1beta1Client) ClusterQueues(namespace string) ClusterQueueInterface
- func (c *KueueV1beta1Client) LocalQueues(namespace string) LocalQueueInterface
- func (c *KueueV1beta1Client) RESTClient() rest.Interface
- func (c *KueueV1beta1Client) ResourceFlavors(namespace string) ResourceFlavorInterface
- func (c *KueueV1beta1Client) Workloads(namespace string) WorkloadInterface
- type KueueV1beta1Interface
- type LocalQueueExpansion
- type LocalQueueInterface
- type LocalQueuesGetter
- type ResourceFlavorExpansion
- type ResourceFlavorInterface
- type ResourceFlavorsGetter
- type WorkloadExpansion
- type WorkloadInterface
- type WorkloadsGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) 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) 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(namespace string) 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 ¶
func New(c rest.Interface) *KueueV1beta1Client
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 ¶
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) ClusterQueues ¶
func (c *KueueV1beta1Client) ClusterQueues(namespace string) ClusterQueueInterface
func (*KueueV1beta1Client) LocalQueues ¶
func (c *KueueV1beta1Client) LocalQueues(namespace string) LocalQueueInterface
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(namespace string) ResourceFlavorInterface
func (*KueueV1beta1Client) Workloads ¶
func (c *KueueV1beta1Client) Workloads(namespace string) WorkloadInterface
type KueueV1beta1Interface ¶
type KueueV1beta1Interface interface { RESTClient() rest.Interface ClusterQueuesGetter LocalQueuesGetter ResourceFlavorsGetter WorkloadsGetter }
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) 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) 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 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(namespace string) 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) 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) 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 WorkloadsGetter ¶
type WorkloadsGetter interface {
Workloads(namespace string) WorkloadInterface
}
WorkloadsGetter has a method to return a WorkloadInterface. A group's client should implement this interface.