Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type DeviceClassExpansion
- type DeviceClassInterface
- type DeviceClassesGetter
- type PodSchedulingContextExpansion
- type PodSchedulingContextInterface
- type PodSchedulingContextsGetter
- type ResourceClaimExpansion
- type ResourceClaimInterface
- type ResourceClaimTemplateExpansion
- type ResourceClaimTemplateInterface
- type ResourceClaimTemplatesGetter
- type ResourceClaimsGetter
- type ResourceSliceExpansion
- type ResourceSliceInterface
- type ResourceSlicesGetter
- type ResourceV1alpha3Client
- func (c *ResourceV1alpha3Client) DeviceClasses() DeviceClassInterface
- func (c *ResourceV1alpha3Client) PodSchedulingContexts(namespace string) PodSchedulingContextInterface
- func (c *ResourceV1alpha3Client) RESTClient() rest.Interface
- func (c *ResourceV1alpha3Client) ResourceClaimTemplates(namespace string) ResourceClaimTemplateInterface
- func (c *ResourceV1alpha3Client) ResourceClaims(namespace string) ResourceClaimInterface
- func (c *ResourceV1alpha3Client) ResourceSlices() ResourceSliceInterface
- type ResourceV1alpha3Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceClassExpansion ¶
type DeviceClassExpansion interface{}
type DeviceClassInterface ¶
type DeviceClassInterface interface { Create(ctx context.Context, deviceClass *v1alpha3.DeviceClass, opts v1.CreateOptions) (*v1alpha3.DeviceClass, error) Update(ctx context.Context, deviceClass *v1alpha3.DeviceClass, opts v1.UpdateOptions) (*v1alpha3.DeviceClass, 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) (*v1alpha3.DeviceClass, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha3.DeviceClassList, 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 *v1alpha3.DeviceClass, err error) Apply(ctx context.Context, deviceClass *resourcev1alpha3.DeviceClassApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha3.DeviceClass, err error) DeviceClassExpansion }
DeviceClassInterface has methods to work with DeviceClass resources.
type DeviceClassesGetter ¶
type DeviceClassesGetter interface {
DeviceClasses() DeviceClassInterface
}
DeviceClassesGetter has a method to return a DeviceClassInterface. A group's client should implement this interface.
type PodSchedulingContextExpansion ¶
type PodSchedulingContextExpansion interface{}
type PodSchedulingContextInterface ¶
type PodSchedulingContextInterface interface { Create(ctx context.Context, podSchedulingContext *v1alpha3.PodSchedulingContext, opts v1.CreateOptions) (*v1alpha3.PodSchedulingContext, error) Update(ctx context.Context, podSchedulingContext *v1alpha3.PodSchedulingContext, opts v1.UpdateOptions) (*v1alpha3.PodSchedulingContext, error) // Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). UpdateStatus(ctx context.Context, podSchedulingContext *v1alpha3.PodSchedulingContext, opts v1.UpdateOptions) (*v1alpha3.PodSchedulingContext, 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) (*v1alpha3.PodSchedulingContext, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha3.PodSchedulingContextList, 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 *v1alpha3.PodSchedulingContext, err error) Apply(ctx context.Context, podSchedulingContext *resourcev1alpha3.PodSchedulingContextApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha3.PodSchedulingContext, err error) // Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus(). ApplyStatus(ctx context.Context, podSchedulingContext *resourcev1alpha3.PodSchedulingContextApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha3.PodSchedulingContext, err error) PodSchedulingContextExpansion }
PodSchedulingContextInterface has methods to work with PodSchedulingContext resources.
type PodSchedulingContextsGetter ¶
type PodSchedulingContextsGetter interface {
PodSchedulingContexts(namespace string) PodSchedulingContextInterface
}
PodSchedulingContextsGetter has a method to return a PodSchedulingContextInterface. A group's client should implement this interface.
type ResourceClaimExpansion ¶
type ResourceClaimExpansion interface{}
type ResourceClaimInterface ¶
type ResourceClaimInterface interface { Create(ctx context.Context, resourceClaim *v1alpha3.ResourceClaim, opts v1.CreateOptions) (*v1alpha3.ResourceClaim, error) Update(ctx context.Context, resourceClaim *v1alpha3.ResourceClaim, opts v1.UpdateOptions) (*v1alpha3.ResourceClaim, error) // Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). UpdateStatus(ctx context.Context, resourceClaim *v1alpha3.ResourceClaim, opts v1.UpdateOptions) (*v1alpha3.ResourceClaim, 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) (*v1alpha3.ResourceClaim, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha3.ResourceClaimList, 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 *v1alpha3.ResourceClaim, err error) Apply(ctx context.Context, resourceClaim *resourcev1alpha3.ResourceClaimApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha3.ResourceClaim, err error) // Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus(). ApplyStatus(ctx context.Context, resourceClaim *resourcev1alpha3.ResourceClaimApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha3.ResourceClaim, err error) ResourceClaimExpansion }
ResourceClaimInterface has methods to work with ResourceClaim resources.
type ResourceClaimTemplateExpansion ¶
type ResourceClaimTemplateExpansion interface{}
type ResourceClaimTemplateInterface ¶
type ResourceClaimTemplateInterface interface { Create(ctx context.Context, resourceClaimTemplate *v1alpha3.ResourceClaimTemplate, opts v1.CreateOptions) (*v1alpha3.ResourceClaimTemplate, error) Update(ctx context.Context, resourceClaimTemplate *v1alpha3.ResourceClaimTemplate, opts v1.UpdateOptions) (*v1alpha3.ResourceClaimTemplate, 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) (*v1alpha3.ResourceClaimTemplate, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha3.ResourceClaimTemplateList, 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 *v1alpha3.ResourceClaimTemplate, err error) Apply(ctx context.Context, resourceClaimTemplate *resourcev1alpha3.ResourceClaimTemplateApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha3.ResourceClaimTemplate, err error) ResourceClaimTemplateExpansion }
ResourceClaimTemplateInterface has methods to work with ResourceClaimTemplate resources.
type ResourceClaimTemplatesGetter ¶
type ResourceClaimTemplatesGetter interface {
ResourceClaimTemplates(namespace string) ResourceClaimTemplateInterface
}
ResourceClaimTemplatesGetter has a method to return a ResourceClaimTemplateInterface. A group's client should implement this interface.
type ResourceClaimsGetter ¶
type ResourceClaimsGetter interface {
ResourceClaims(namespace string) ResourceClaimInterface
}
ResourceClaimsGetter has a method to return a ResourceClaimInterface. A group's client should implement this interface.
type ResourceSliceExpansion ¶
type ResourceSliceExpansion interface{}
type ResourceSliceInterface ¶
type ResourceSliceInterface interface { Create(ctx context.Context, resourceSlice *v1alpha3.ResourceSlice, opts v1.CreateOptions) (*v1alpha3.ResourceSlice, error) Update(ctx context.Context, resourceSlice *v1alpha3.ResourceSlice, opts v1.UpdateOptions) (*v1alpha3.ResourceSlice, 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) (*v1alpha3.ResourceSlice, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha3.ResourceSliceList, 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 *v1alpha3.ResourceSlice, err error) Apply(ctx context.Context, resourceSlice *resourcev1alpha3.ResourceSliceApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha3.ResourceSlice, err error) ResourceSliceExpansion }
ResourceSliceInterface has methods to work with ResourceSlice resources.
type ResourceSlicesGetter ¶
type ResourceSlicesGetter interface {
ResourceSlices() ResourceSliceInterface
}
ResourceSlicesGetter has a method to return a ResourceSliceInterface. A group's client should implement this interface.
type ResourceV1alpha3Client ¶
type ResourceV1alpha3Client struct {
// contains filtered or unexported fields
}
ResourceV1alpha3Client is used to interact with features provided by the resource.k8s.io group.
func New ¶
func New(c rest.Interface) *ResourceV1alpha3Client
New creates a new ResourceV1alpha3Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*ResourceV1alpha3Client, error)
NewForConfig creates a new ResourceV1alpha3Client 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 ResourceV1alpha3Client 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) *ResourceV1alpha3Client
NewForConfigOrDie creates a new ResourceV1alpha3Client for the given config and panics if there is an error in the config.
func (*ResourceV1alpha3Client) DeviceClasses ¶
func (c *ResourceV1alpha3Client) DeviceClasses() DeviceClassInterface
func (*ResourceV1alpha3Client) PodSchedulingContexts ¶
func (c *ResourceV1alpha3Client) PodSchedulingContexts(namespace string) PodSchedulingContextInterface
func (*ResourceV1alpha3Client) RESTClient ¶
func (c *ResourceV1alpha3Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*ResourceV1alpha3Client) ResourceClaimTemplates ¶
func (c *ResourceV1alpha3Client) ResourceClaimTemplates(namespace string) ResourceClaimTemplateInterface
func (*ResourceV1alpha3Client) ResourceClaims ¶
func (c *ResourceV1alpha3Client) ResourceClaims(namespace string) ResourceClaimInterface
func (*ResourceV1alpha3Client) ResourceSlices ¶
func (c *ResourceV1alpha3Client) ResourceSlices() ResourceSliceInterface
type ResourceV1alpha3Interface ¶
type ResourceV1alpha3Interface interface { RESTClient() rest.Interface DeviceClassesGetter PodSchedulingContextsGetter ResourceClaimsGetter ResourceClaimTemplatesGetter ResourceSlicesGetter }