v1alpha2

package
v0.28.15 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 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 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 ResourceClassesGetter

type ResourceClassesGetter interface {
	ResourceClasses() ResourceClassInterface
}

ResourceClassesGetter has a method to return a ResourceClassInterface. 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) ResourceClaimTemplates

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

func (*ResourceV1alpha2Client) ResourceClaims

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

func (*ResourceV1alpha2Client) ResourceClasses

func (c *ResourceV1alpha2Client) ResourceClasses() ResourceClassInterface

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