v1

package
v4.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 9 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 ResourceTopologiesGetter

type ResourceTopologiesGetter interface {
	ResourceTopologies() ResourceTopologyInterface
}

ResourceTopologiesGetter has a method to return a ResourceTopologyInterface. A group's client should implement this interface.

type ResourceTopologyExpansion

type ResourceTopologyExpansion interface{}

type ResourceTopologyInterface

type ResourceTopologyInterface interface {
	Create(ctx context.Context, resourceTopology *v1.ResourceTopology, opts metav1.CreateOptions) (*v1.ResourceTopology, error)
	Update(ctx context.Context, resourceTopology *v1.ResourceTopology, opts metav1.UpdateOptions) (*v1.ResourceTopology, error)
	UpdateStatus(ctx context.Context, resourceTopology *v1.ResourceTopology, opts metav1.UpdateOptions) (*v1.ResourceTopology, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.ResourceTopology, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ResourceTopologyList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ResourceTopology, err error)
	ResourceTopologyExpansion
}

ResourceTopologyInterface has methods to work with ResourceTopology resources.

type StorageBackendClaimExpansion

type StorageBackendClaimExpansion interface{}

type StorageBackendClaimInterface

type StorageBackendClaimInterface interface {
	Create(ctx context.Context, storageBackendClaim *v1.StorageBackendClaim, opts metav1.CreateOptions) (*v1.StorageBackendClaim, error)
	Update(ctx context.Context, storageBackendClaim *v1.StorageBackendClaim, opts metav1.UpdateOptions) (*v1.StorageBackendClaim, error)
	UpdateStatus(ctx context.Context, storageBackendClaim *v1.StorageBackendClaim, opts metav1.UpdateOptions) (*v1.StorageBackendClaim, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.StorageBackendClaim, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.StorageBackendClaimList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.StorageBackendClaim, err error)
	StorageBackendClaimExpansion
}

StorageBackendClaimInterface has methods to work with StorageBackendClaim resources.

type StorageBackendClaimsGetter

type StorageBackendClaimsGetter interface {
	StorageBackendClaims(namespace string) StorageBackendClaimInterface
}

StorageBackendClaimsGetter has a method to return a StorageBackendClaimInterface. A group's client should implement this interface.

type StorageBackendContentExpansion

type StorageBackendContentExpansion interface{}

type StorageBackendContentInterface

type StorageBackendContentInterface interface {
	Create(ctx context.Context, storageBackendContent *v1.StorageBackendContent, opts metav1.CreateOptions) (*v1.StorageBackendContent, error)
	Update(ctx context.Context, storageBackendContent *v1.StorageBackendContent, opts metav1.UpdateOptions) (*v1.StorageBackendContent, error)
	UpdateStatus(ctx context.Context, storageBackendContent *v1.StorageBackendContent, opts metav1.UpdateOptions) (*v1.StorageBackendContent, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.StorageBackendContent, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.StorageBackendContentList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.StorageBackendContent, err error)
	StorageBackendContentExpansion
}

StorageBackendContentInterface has methods to work with StorageBackendContent resources.

type StorageBackendContentsGetter

type StorageBackendContentsGetter interface {
	StorageBackendContents() StorageBackendContentInterface
}

StorageBackendContentsGetter has a method to return a StorageBackendContentInterface. A group's client should implement this interface.

type VolumeModifyClaimExpansion

type VolumeModifyClaimExpansion interface{}

type VolumeModifyClaimInterface

type VolumeModifyClaimInterface interface {
	Create(ctx context.Context, volumeModifyClaim *v1.VolumeModifyClaim, opts metav1.CreateOptions) (*v1.VolumeModifyClaim, error)
	Update(ctx context.Context, volumeModifyClaim *v1.VolumeModifyClaim, opts metav1.UpdateOptions) (*v1.VolumeModifyClaim, error)
	UpdateStatus(ctx context.Context, volumeModifyClaim *v1.VolumeModifyClaim, opts metav1.UpdateOptions) (*v1.VolumeModifyClaim, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.VolumeModifyClaim, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.VolumeModifyClaimList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.VolumeModifyClaim, err error)
	VolumeModifyClaimExpansion
}

VolumeModifyClaimInterface has methods to work with VolumeModifyClaim resources.

type VolumeModifyClaimsGetter

type VolumeModifyClaimsGetter interface {
	VolumeModifyClaims() VolumeModifyClaimInterface
}

VolumeModifyClaimsGetter has a method to return a VolumeModifyClaimInterface. A group's client should implement this interface.

type VolumeModifyContentExpansion

type VolumeModifyContentExpansion interface{}

type VolumeModifyContentInterface

type VolumeModifyContentInterface interface {
	Create(ctx context.Context, volumeModifyContent *v1.VolumeModifyContent, opts metav1.CreateOptions) (*v1.VolumeModifyContent, error)
	Update(ctx context.Context, volumeModifyContent *v1.VolumeModifyContent, opts metav1.UpdateOptions) (*v1.VolumeModifyContent, error)
	UpdateStatus(ctx context.Context, volumeModifyContent *v1.VolumeModifyContent, opts metav1.UpdateOptions) (*v1.VolumeModifyContent, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.VolumeModifyContent, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.VolumeModifyContentList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.VolumeModifyContent, err error)
	VolumeModifyContentExpansion
}

VolumeModifyContentInterface has methods to work with VolumeModifyContent resources.

type VolumeModifyContentsGetter

type VolumeModifyContentsGetter interface {
	VolumeModifyContents() VolumeModifyContentInterface
}

VolumeModifyContentsGetter has a method to return a VolumeModifyContentInterface. A group's client should implement this interface.

type XuanwuV1Client

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

XuanwuV1Client is used to interact with features provided by the xuanwu.huawei.io group.

func New

New creates a new XuanwuV1Client for the given RESTClient.

func NewForConfig

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

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

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

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

func (*XuanwuV1Client) RESTClient

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

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

func (*XuanwuV1Client) ResourceTopologies

func (c *XuanwuV1Client) ResourceTopologies() ResourceTopologyInterface

func (*XuanwuV1Client) StorageBackendClaims

func (c *XuanwuV1Client) StorageBackendClaims(namespace string) StorageBackendClaimInterface

func (*XuanwuV1Client) StorageBackendContents

func (c *XuanwuV1Client) StorageBackendContents() StorageBackendContentInterface

func (*XuanwuV1Client) VolumeModifyClaims

func (c *XuanwuV1Client) VolumeModifyClaims() VolumeModifyClaimInterface

func (*XuanwuV1Client) VolumeModifyContents

func (c *XuanwuV1Client) VolumeModifyContents() VolumeModifyContentInterface

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