v1alpha1

package
v0.26.1 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 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 PodSchedulingExpansion

type PodSchedulingExpansion interface{}

type PodSchedulingInterface

type PodSchedulingInterface interface {
	Create(ctx context.Context, podScheduling *v1alpha1.PodScheduling, opts v1.CreateOptions) (*v1alpha1.PodScheduling, error)
	Update(ctx context.Context, podScheduling *v1alpha1.PodScheduling, opts v1.UpdateOptions) (*v1alpha1.PodScheduling, error)
	UpdateStatus(ctx context.Context, podScheduling *v1alpha1.PodScheduling, opts v1.UpdateOptions) (*v1alpha1.PodScheduling, 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.PodScheduling, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.PodSchedulingList, 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.PodScheduling, err error)
	Apply(ctx context.Context, podScheduling *resourcev1alpha1.PodSchedulingApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.PodScheduling, err error)
	ApplyStatus(ctx context.Context, podScheduling *resourcev1alpha1.PodSchedulingApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.PodScheduling, err error)
	PodSchedulingExpansion
}

PodSchedulingInterface has methods to work with PodScheduling resources.

type PodSchedulingsGetter

type PodSchedulingsGetter interface {
	PodSchedulings(namespace string) PodSchedulingInterface
}

PodSchedulingsGetter has a method to return a PodSchedulingInterface. A group's client should implement this interface.

type ResourceClaimExpansion

type ResourceClaimExpansion interface{}

type ResourceClaimInterface

type ResourceClaimInterface interface {
	Create(ctx context.Context, resourceClaim *v1alpha1.ResourceClaim, opts v1.CreateOptions) (*v1alpha1.ResourceClaim, error)
	Update(ctx context.Context, resourceClaim *v1alpha1.ResourceClaim, opts v1.UpdateOptions) (*v1alpha1.ResourceClaim, error)
	UpdateStatus(ctx context.Context, resourceClaim *v1alpha1.ResourceClaim, opts v1.UpdateOptions) (*v1alpha1.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) (*v1alpha1.ResourceClaim, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.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 *v1alpha1.ResourceClaim, err error)
	Apply(ctx context.Context, resourceClaim *resourcev1alpha1.ResourceClaimApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.ResourceClaim, err error)
	ApplyStatus(ctx context.Context, resourceClaim *resourcev1alpha1.ResourceClaimApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.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 *v1alpha1.ResourceClaimTemplate, opts v1.CreateOptions) (*v1alpha1.ResourceClaimTemplate, error)
	Update(ctx context.Context, resourceClaimTemplate *v1alpha1.ResourceClaimTemplate, opts v1.UpdateOptions) (*v1alpha1.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) (*v1alpha1.ResourceClaimTemplate, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.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 *v1alpha1.ResourceClaimTemplate, err error)
	Apply(ctx context.Context, resourceClaimTemplate *resourcev1alpha1.ResourceClaimTemplateApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.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 *v1alpha1.ResourceClass, opts v1.CreateOptions) (*v1alpha1.ResourceClass, error)
	Update(ctx context.Context, resourceClass *v1alpha1.ResourceClass, opts v1.UpdateOptions) (*v1alpha1.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) (*v1alpha1.ResourceClass, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.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 *v1alpha1.ResourceClass, err error)
	Apply(ctx context.Context, resourceClass *resourcev1alpha1.ResourceClassApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.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 ResourceV1alpha1Client

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

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

func New

New creates a new ResourceV1alpha1Client for the given RESTClient.

func NewForConfig

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

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

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

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

func (*ResourceV1alpha1Client) PodSchedulings

func (c *ResourceV1alpha1Client) PodSchedulings(namespace string) PodSchedulingInterface

func (*ResourceV1alpha1Client) RESTClient

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

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

func (*ResourceV1alpha1Client) ResourceClaimTemplates

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

func (*ResourceV1alpha1Client) ResourceClaims

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

func (*ResourceV1alpha1Client) ResourceClasses

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