v1alpha3

package
v0.32.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: Apache-2.0 Imports: 10 Imported by: 12

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 DeviceClassExpansion

type DeviceClassExpansion interface{}

type DeviceClassInterface

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 *resourcev1alpha3.PodSchedulingContext, opts v1.CreateOptions) (*resourcev1alpha3.PodSchedulingContext, error)
	Update(ctx context.Context, podSchedulingContext *resourcev1alpha3.PodSchedulingContext, opts v1.UpdateOptions) (*resourcev1alpha3.PodSchedulingContext, error)
	// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
	UpdateStatus(ctx context.Context, podSchedulingContext *resourcev1alpha3.PodSchedulingContext, opts v1.UpdateOptions) (*resourcev1alpha3.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) (*resourcev1alpha3.PodSchedulingContext, error)
	List(ctx context.Context, opts v1.ListOptions) (*resourcev1alpha3.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 *resourcev1alpha3.PodSchedulingContext, err error)
	Apply(ctx context.Context, podSchedulingContext *applyconfigurationsresourcev1alpha3.PodSchedulingContextApplyConfiguration, opts v1.ApplyOptions) (result *resourcev1alpha3.PodSchedulingContext, err error)
	// Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
	ApplyStatus(ctx context.Context, podSchedulingContext *applyconfigurationsresourcev1alpha3.PodSchedulingContextApplyConfiguration, opts v1.ApplyOptions) (result *resourcev1alpha3.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 *resourcev1alpha3.ResourceClaim, opts v1.CreateOptions) (*resourcev1alpha3.ResourceClaim, error)
	Update(ctx context.Context, resourceClaim *resourcev1alpha3.ResourceClaim, opts v1.UpdateOptions) (*resourcev1alpha3.ResourceClaim, error)
	// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
	UpdateStatus(ctx context.Context, resourceClaim *resourcev1alpha3.ResourceClaim, opts v1.UpdateOptions) (*resourcev1alpha3.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) (*resourcev1alpha3.ResourceClaim, error)
	List(ctx context.Context, opts v1.ListOptions) (*resourcev1alpha3.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 *resourcev1alpha3.ResourceClaim, err error)
	Apply(ctx context.Context, resourceClaim *applyconfigurationsresourcev1alpha3.ResourceClaimApplyConfiguration, opts v1.ApplyOptions) (result *resourcev1alpha3.ResourceClaim, err error)
	// Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
	ApplyStatus(ctx context.Context, resourceClaim *applyconfigurationsresourcev1alpha3.ResourceClaimApplyConfiguration, opts v1.ApplyOptions) (result *resourcev1alpha3.ResourceClaim, err error)
	ResourceClaimExpansion
}

ResourceClaimInterface has methods to work with ResourceClaim resources.

type ResourceClaimTemplateExpansion

type ResourceClaimTemplateExpansion interface{}

type ResourceClaimTemplateInterface

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

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

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

func NewForConfigAndClient(c *rest.Config, h *http.Client) (*ResourceV1alpha3Client, error)

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

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