Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type ComputeInstanceClaimParametersExpansion
- type ComputeInstanceClaimParametersInterface
- type ComputeInstanceClaimParametersesGetter
- type DeviceClassParametersExpansion
- type DeviceClassParametersGetter
- type DeviceClassParametersInterface
- type GpuClaimParametersExpansion
- type GpuClaimParametersGetter
- type GpuClaimParametersInterface
- type GpuV1alpha1Client
- func (c *GpuV1alpha1Client) ComputeInstanceClaimParameterses(namespace string) ComputeInstanceClaimParametersInterface
- func (c *GpuV1alpha1Client) DeviceClassParameters() DeviceClassParametersInterface
- func (c *GpuV1alpha1Client) GpuClaimParameters(namespace string) GpuClaimParametersInterface
- func (c *GpuV1alpha1Client) MigDeviceClaimParameters(namespace string) MigDeviceClaimParametersInterface
- func (c *GpuV1alpha1Client) RESTClient() rest.Interface
- type GpuV1alpha1Interface
- type MigDeviceClaimParametersExpansion
- type MigDeviceClaimParametersGetter
- type MigDeviceClaimParametersInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComputeInstanceClaimParametersExpansion ¶
type ComputeInstanceClaimParametersExpansion interface{}
type ComputeInstanceClaimParametersInterface ¶
type ComputeInstanceClaimParametersInterface interface { Create(ctx context.Context, computeInstanceClaimParameters *v1alpha1.ComputeInstanceClaimParameters, opts v1.CreateOptions) (*v1alpha1.ComputeInstanceClaimParameters, error) Update(ctx context.Context, computeInstanceClaimParameters *v1alpha1.ComputeInstanceClaimParameters, opts v1.UpdateOptions) (*v1alpha1.ComputeInstanceClaimParameters, 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) (*v1alpha1.ComputeInstanceClaimParameters, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ComputeInstanceClaimParametersList, 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 *v1alpha1.ComputeInstanceClaimParameters, err error) ComputeInstanceClaimParametersExpansion }
ComputeInstanceClaimParametersInterface has methods to work with ComputeInstanceClaimParameters resources.
type ComputeInstanceClaimParametersesGetter ¶
type ComputeInstanceClaimParametersesGetter interface {
ComputeInstanceClaimParameterses(namespace string) ComputeInstanceClaimParametersInterface
}
ComputeInstanceClaimParametersesGetter has a method to return a ComputeInstanceClaimParametersInterface. A group's client should implement this interface.
type DeviceClassParametersExpansion ¶
type DeviceClassParametersExpansion interface{}
type DeviceClassParametersGetter ¶
type DeviceClassParametersGetter interface {
DeviceClassParameters() DeviceClassParametersInterface
}
DeviceClassParametersGetter has a method to return a DeviceClassParametersInterface. A group's client should implement this interface.
type DeviceClassParametersInterface ¶
type DeviceClassParametersInterface interface { Create(ctx context.Context, deviceClassParameters *v1alpha1.DeviceClassParameters, opts v1.CreateOptions) (*v1alpha1.DeviceClassParameters, error) Update(ctx context.Context, deviceClassParameters *v1alpha1.DeviceClassParameters, opts v1.UpdateOptions) (*v1alpha1.DeviceClassParameters, 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) (*v1alpha1.DeviceClassParameters, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.DeviceClassParametersList, 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 *v1alpha1.DeviceClassParameters, err error) DeviceClassParametersExpansion }
DeviceClassParametersInterface has methods to work with DeviceClassParameters resources.
type GpuClaimParametersExpansion ¶
type GpuClaimParametersExpansion interface{}
type GpuClaimParametersGetter ¶
type GpuClaimParametersGetter interface {
GpuClaimParameters(namespace string) GpuClaimParametersInterface
}
GpuClaimParametersGetter has a method to return a GpuClaimParametersInterface. A group's client should implement this interface.
type GpuClaimParametersInterface ¶
type GpuClaimParametersInterface interface { Create(ctx context.Context, gpuClaimParameters *v1alpha1.GpuClaimParameters, opts v1.CreateOptions) (*v1alpha1.GpuClaimParameters, error) Update(ctx context.Context, gpuClaimParameters *v1alpha1.GpuClaimParameters, opts v1.UpdateOptions) (*v1alpha1.GpuClaimParameters, 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) (*v1alpha1.GpuClaimParameters, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.GpuClaimParametersList, 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 *v1alpha1.GpuClaimParameters, err error) GpuClaimParametersExpansion }
GpuClaimParametersInterface has methods to work with GpuClaimParameters resources.
type GpuV1alpha1Client ¶
type GpuV1alpha1Client struct {
// contains filtered or unexported fields
}
GpuV1alpha1Client is used to interact with features provided by the gpu.resource.nvidia.com group.
func New ¶
func New(c rest.Interface) *GpuV1alpha1Client
New creates a new GpuV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*GpuV1alpha1Client, error)
NewForConfig creates a new GpuV1alpha1Client 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 GpuV1alpha1Client 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) *GpuV1alpha1Client
NewForConfigOrDie creates a new GpuV1alpha1Client for the given config and panics if there is an error in the config.
func (*GpuV1alpha1Client) ComputeInstanceClaimParameterses ¶
func (c *GpuV1alpha1Client) ComputeInstanceClaimParameterses(namespace string) ComputeInstanceClaimParametersInterface
func (*GpuV1alpha1Client) DeviceClassParameters ¶
func (c *GpuV1alpha1Client) DeviceClassParameters() DeviceClassParametersInterface
func (*GpuV1alpha1Client) GpuClaimParameters ¶
func (c *GpuV1alpha1Client) GpuClaimParameters(namespace string) GpuClaimParametersInterface
func (*GpuV1alpha1Client) MigDeviceClaimParameters ¶
func (c *GpuV1alpha1Client) MigDeviceClaimParameters(namespace string) MigDeviceClaimParametersInterface
func (*GpuV1alpha1Client) RESTClient ¶
func (c *GpuV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type GpuV1alpha1Interface ¶
type GpuV1alpha1Interface interface { RESTClient() rest.Interface ComputeInstanceClaimParametersesGetter DeviceClassParametersGetter GpuClaimParametersGetter MigDeviceClaimParametersGetter }
type MigDeviceClaimParametersExpansion ¶
type MigDeviceClaimParametersExpansion interface{}
type MigDeviceClaimParametersGetter ¶
type MigDeviceClaimParametersGetter interface {
MigDeviceClaimParameters(namespace string) MigDeviceClaimParametersInterface
}
MigDeviceClaimParametersGetter has a method to return a MigDeviceClaimParametersInterface. A group's client should implement this interface.
type MigDeviceClaimParametersInterface ¶
type MigDeviceClaimParametersInterface interface { Create(ctx context.Context, migDeviceClaimParameters *v1alpha1.MigDeviceClaimParameters, opts v1.CreateOptions) (*v1alpha1.MigDeviceClaimParameters, error) Update(ctx context.Context, migDeviceClaimParameters *v1alpha1.MigDeviceClaimParameters, opts v1.UpdateOptions) (*v1alpha1.MigDeviceClaimParameters, 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) (*v1alpha1.MigDeviceClaimParameters, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.MigDeviceClaimParametersList, 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 *v1alpha1.MigDeviceClaimParameters, err error) MigDeviceClaimParametersExpansion }
MigDeviceClaimParametersInterface has methods to work with MigDeviceClaimParameters resources.