v1alpha2

package
v0.30.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

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 PodSchedulingContextExpansion

type PodSchedulingContextExpansion interface{}

type PodSchedulingContextInterface

type PodSchedulingContextInterface interface {
	Create(ctx context.Context, podSchedulingContext *v1alpha2.PodSchedulingContext, opts v1.CreateOptions) (*v1alpha2.PodSchedulingContext, error)
	Update(ctx context.Context, podSchedulingContext *v1alpha2.PodSchedulingContext, opts v1.UpdateOptions) (*v1alpha2.PodSchedulingContext, error)
	UpdateStatus(ctx context.Context, podSchedulingContext *v1alpha2.PodSchedulingContext, opts v1.UpdateOptions) (*v1alpha2.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) (*v1alpha2.PodSchedulingContext, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha2.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 *v1alpha2.PodSchedulingContext, err error)
	Apply(ctx context.Context, podSchedulingContext *resourcev1alpha2.PodSchedulingContextApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha2.PodSchedulingContext, err error)
	ApplyStatus(ctx context.Context, podSchedulingContext *resourcev1alpha2.PodSchedulingContextApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha2.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 *v1alpha2.ResourceClaim, opts v1.CreateOptions) (*v1alpha2.ResourceClaim, error)
	Update(ctx context.Context, resourceClaim *v1alpha2.ResourceClaim, opts v1.UpdateOptions) (*v1alpha2.ResourceClaim, error)
	UpdateStatus(ctx context.Context, resourceClaim *v1alpha2.ResourceClaim, opts v1.UpdateOptions) (*v1alpha2.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) (*v1alpha2.ResourceClaim, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha2.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 *v1alpha2.ResourceClaim, err error)
	Apply(ctx context.Context, resourceClaim *resourcev1alpha2.ResourceClaimApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha2.ResourceClaim, err error)
	ApplyStatus(ctx context.Context, resourceClaim *resourcev1alpha2.ResourceClaimApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha2.ResourceClaim, err error)
	ResourceClaimExpansion
}

ResourceClaimInterface has methods to work with ResourceClaim resources.

type ResourceClaimParametersExpansion added in v0.30.0

type ResourceClaimParametersExpansion interface{}

type ResourceClaimParametersGetter added in v0.30.0

type ResourceClaimParametersGetter interface {
	ResourceClaimParameters(namespace string) ResourceClaimParametersInterface
}

ResourceClaimParametersGetter has a method to return a ResourceClaimParametersInterface. A group's client should implement this interface.

type ResourceClaimParametersInterface added in v0.30.0

type ResourceClaimParametersInterface interface {
	Create(ctx context.Context, resourceClaimParameters *v1alpha2.ResourceClaimParameters, opts v1.CreateOptions) (*v1alpha2.ResourceClaimParameters, error)
	Update(ctx context.Context, resourceClaimParameters *v1alpha2.ResourceClaimParameters, opts v1.UpdateOptions) (*v1alpha2.ResourceClaimParameters, 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) (*v1alpha2.ResourceClaimParameters, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha2.ResourceClaimParametersList, 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 *v1alpha2.ResourceClaimParameters, err error)
	Apply(ctx context.Context, resourceClaimParameters *resourcev1alpha2.ResourceClaimParametersApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha2.ResourceClaimParameters, err error)
	ResourceClaimParametersExpansion
}

ResourceClaimParametersInterface has methods to work with ResourceClaimParameters resources.

type ResourceClaimTemplateExpansion

type ResourceClaimTemplateExpansion interface{}

type ResourceClaimTemplateInterface

type ResourceClaimTemplateInterface interface {
	Create(ctx context.Context, resourceClaimTemplate *v1alpha2.ResourceClaimTemplate, opts v1.CreateOptions) (*v1alpha2.ResourceClaimTemplate, error)
	Update(ctx context.Context, resourceClaimTemplate *v1alpha2.ResourceClaimTemplate, opts v1.UpdateOptions) (*v1alpha2.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) (*v1alpha2.ResourceClaimTemplate, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha2.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 *v1alpha2.ResourceClaimTemplate, err error)
	Apply(ctx context.Context, resourceClaimTemplate *resourcev1alpha2.ResourceClaimTemplateApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha2.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 ResourceClassExpansion

type ResourceClassExpansion interface{}

type ResourceClassInterface

type ResourceClassInterface interface {
	Create(ctx context.Context, resourceClass *v1alpha2.ResourceClass, opts v1.CreateOptions) (*v1alpha2.ResourceClass, error)
	Update(ctx context.Context, resourceClass *v1alpha2.ResourceClass, opts v1.UpdateOptions) (*v1alpha2.ResourceClass, 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) (*v1alpha2.ResourceClass, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha2.ResourceClassList, 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 *v1alpha2.ResourceClass, err error)
	Apply(ctx context.Context, resourceClass *resourcev1alpha2.ResourceClassApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha2.ResourceClass, err error)
	ResourceClassExpansion
}

ResourceClassInterface has methods to work with ResourceClass resources.

type ResourceClassParametersExpansion added in v0.30.0

type ResourceClassParametersExpansion interface{}

type ResourceClassParametersGetter added in v0.30.0

type ResourceClassParametersGetter interface {
	ResourceClassParameters(namespace string) ResourceClassParametersInterface
}

ResourceClassParametersGetter has a method to return a ResourceClassParametersInterface. A group's client should implement this interface.

type ResourceClassParametersInterface added in v0.30.0

type ResourceClassParametersInterface interface {
	Create(ctx context.Context, resourceClassParameters *v1alpha2.ResourceClassParameters, opts v1.CreateOptions) (*v1alpha2.ResourceClassParameters, error)
	Update(ctx context.Context, resourceClassParameters *v1alpha2.ResourceClassParameters, opts v1.UpdateOptions) (*v1alpha2.ResourceClassParameters, 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) (*v1alpha2.ResourceClassParameters, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha2.ResourceClassParametersList, 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 *v1alpha2.ResourceClassParameters, err error)
	Apply(ctx context.Context, resourceClassParameters *resourcev1alpha2.ResourceClassParametersApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha2.ResourceClassParameters, err error)
	ResourceClassParametersExpansion
}

ResourceClassParametersInterface has methods to work with ResourceClassParameters resources.

type ResourceClassesGetter

type ResourceClassesGetter interface {
	ResourceClasses() ResourceClassInterface
}

ResourceClassesGetter has a method to return a ResourceClassInterface. A group's client should implement this interface.

type ResourceSliceExpansion added in v0.30.0

type ResourceSliceExpansion interface{}

type ResourceSliceInterface added in v0.30.0

type ResourceSliceInterface interface {
	Create(ctx context.Context, resourceSlice *v1alpha2.ResourceSlice, opts v1.CreateOptions) (*v1alpha2.ResourceSlice, error)
	Update(ctx context.Context, resourceSlice *v1alpha2.ResourceSlice, opts v1.UpdateOptions) (*v1alpha2.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) (*v1alpha2.ResourceSlice, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha2.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 *v1alpha2.ResourceSlice, err error)
	Apply(ctx context.Context, resourceSlice *resourcev1alpha2.ResourceSliceApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha2.ResourceSlice, err error)
	ResourceSliceExpansion
}

ResourceSliceInterface has methods to work with ResourceSlice resources.

type ResourceSlicesGetter added in v0.30.0

type ResourceSlicesGetter interface {
	ResourceSlices() ResourceSliceInterface
}

ResourceSlicesGetter has a method to return a ResourceSliceInterface. A group's client should implement this interface.

type ResourceV1alpha2Client

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

ResourceV1alpha2Client is used to interact with features provided by the resource.k8s.io group.

func New

New creates a new ResourceV1alpha2Client for the given RESTClient.

func NewForConfig

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

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

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

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

func (*ResourceV1alpha2Client) PodSchedulingContexts

func (c *ResourceV1alpha2Client) PodSchedulingContexts(namespace string) PodSchedulingContextInterface

func (*ResourceV1alpha2Client) RESTClient

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

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

func (*ResourceV1alpha2Client) ResourceClaimParameters added in v0.30.0

func (c *ResourceV1alpha2Client) ResourceClaimParameters(namespace string) ResourceClaimParametersInterface

func (*ResourceV1alpha2Client) ResourceClaimTemplates

func (c *ResourceV1alpha2Client) ResourceClaimTemplates(namespace string) ResourceClaimTemplateInterface

func (*ResourceV1alpha2Client) ResourceClaims

func (c *ResourceV1alpha2Client) ResourceClaims(namespace string) ResourceClaimInterface

func (*ResourceV1alpha2Client) ResourceClassParameters added in v0.30.0

func (c *ResourceV1alpha2Client) ResourceClassParameters(namespace string) ResourceClassParametersInterface

func (*ResourceV1alpha2Client) ResourceClasses

func (c *ResourceV1alpha2Client) ResourceClasses() ResourceClassInterface

func (*ResourceV1alpha2Client) ResourceSlices added in v0.30.0

func (c *ResourceV1alpha2Client) 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