v1

package
Version: v1.5.12 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: Apache-2.0 Imports: 8 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 ClusterExpansion

type ClusterExpansion interface{}

type ClusterInterface

type ClusterInterface interface {
	Create(ctx context.Context, cluster *v1.Cluster, opts metav1.CreateOptions) (*v1.Cluster, error)
	Update(ctx context.Context, cluster *v1.Cluster, opts metav1.UpdateOptions) (*v1.Cluster, 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.Cluster, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ClusterList, 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.Cluster, err error)
	ClusterExpansion
}

ClusterInterface has methods to work with Cluster resources.

type ClustersGetter

type ClustersGetter interface {
	Clusters(namespace string) ClusterInterface
}

ClustersGetter has a method to return a ClusterInterface. A group's client should implement this interface.

type EdgefsV1Client

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

EdgefsV1Client is used to interact with features provided by the edgefs.rook.io group.

func New

New creates a new EdgefsV1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new EdgefsV1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *EdgefsV1Client

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

func (*EdgefsV1Client) Clusters

func (c *EdgefsV1Client) Clusters(namespace string) ClusterInterface

func (*EdgefsV1Client) ISCSIs

func (c *EdgefsV1Client) ISCSIs(namespace string) ISCSIInterface

func (*EdgefsV1Client) ISGWs

func (c *EdgefsV1Client) ISGWs(namespace string) ISGWInterface

func (*EdgefsV1Client) NFSs

func (c *EdgefsV1Client) NFSs(namespace string) NFSInterface

func (*EdgefsV1Client) RESTClient

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

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

func (*EdgefsV1Client) S3Xs

func (c *EdgefsV1Client) S3Xs(namespace string) S3XInterface

func (*EdgefsV1Client) S3s

func (c *EdgefsV1Client) S3s(namespace string) S3Interface

func (*EdgefsV1Client) SMBs added in v1.3.0

func (c *EdgefsV1Client) SMBs(namespace string) SMBInterface

func (*EdgefsV1Client) SWIFTs

func (c *EdgefsV1Client) SWIFTs(namespace string) SWIFTInterface

type ISCSIExpansion

type ISCSIExpansion interface{}

type ISCSIInterface

type ISCSIInterface interface {
	Create(ctx context.Context, iSCSI *v1.ISCSI, opts metav1.CreateOptions) (*v1.ISCSI, error)
	Update(ctx context.Context, iSCSI *v1.ISCSI, opts metav1.UpdateOptions) (*v1.ISCSI, 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.ISCSI, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ISCSIList, 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.ISCSI, err error)
	ISCSIExpansion
}

ISCSIInterface has methods to work with ISCSI resources.

type ISCSIsGetter

type ISCSIsGetter interface {
	ISCSIs(namespace string) ISCSIInterface
}

ISCSIsGetter has a method to return a ISCSIInterface. A group's client should implement this interface.

type ISGWExpansion

type ISGWExpansion interface{}

type ISGWInterface

type ISGWInterface interface {
	Create(ctx context.Context, iSGW *v1.ISGW, opts metav1.CreateOptions) (*v1.ISGW, error)
	Update(ctx context.Context, iSGW *v1.ISGW, opts metav1.UpdateOptions) (*v1.ISGW, 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.ISGW, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ISGWList, 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.ISGW, err error)
	ISGWExpansion
}

ISGWInterface has methods to work with ISGW resources.

type ISGWsGetter

type ISGWsGetter interface {
	ISGWs(namespace string) ISGWInterface
}

ISGWsGetter has a method to return a ISGWInterface. A group's client should implement this interface.

type NFSExpansion

type NFSExpansion interface{}

type NFSInterface

type NFSInterface interface {
	Create(ctx context.Context, nFS *v1.NFS, opts metav1.CreateOptions) (*v1.NFS, error)
	Update(ctx context.Context, nFS *v1.NFS, opts metav1.UpdateOptions) (*v1.NFS, 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.NFS, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.NFSList, 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.NFS, err error)
	NFSExpansion
}

NFSInterface has methods to work with NFS resources.

type NFSsGetter

type NFSsGetter interface {
	NFSs(namespace string) NFSInterface
}

NFSsGetter has a method to return a NFSInterface. A group's client should implement this interface.

type S3Expansion

type S3Expansion interface{}

type S3Interface

type S3Interface interface {
	Create(ctx context.Context, s3 *v1.S3, opts metav1.CreateOptions) (*v1.S3, error)
	Update(ctx context.Context, s3 *v1.S3, opts metav1.UpdateOptions) (*v1.S3, 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.S3, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.S3List, 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.S3, err error)
	S3Expansion
}

S3Interface has methods to work with S3 resources.

type S3XExpansion

type S3XExpansion interface{}

type S3XInterface

type S3XInterface interface {
	Create(ctx context.Context, s3X *v1.S3X, opts metav1.CreateOptions) (*v1.S3X, error)
	Update(ctx context.Context, s3X *v1.S3X, opts metav1.UpdateOptions) (*v1.S3X, 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.S3X, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.S3XList, 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.S3X, err error)
	S3XExpansion
}

S3XInterface has methods to work with S3X resources.

type S3XsGetter

type S3XsGetter interface {
	S3Xs(namespace string) S3XInterface
}

S3XsGetter has a method to return a S3XInterface. A group's client should implement this interface.

type S3sGetter

type S3sGetter interface {
	S3s(namespace string) S3Interface
}

S3sGetter has a method to return a S3Interface. A group's client should implement this interface.

type SMBExpansion added in v1.3.0

type SMBExpansion interface{}

type SMBInterface added in v1.3.0

type SMBInterface interface {
	Create(ctx context.Context, sMB *v1.SMB, opts metav1.CreateOptions) (*v1.SMB, error)
	Update(ctx context.Context, sMB *v1.SMB, opts metav1.UpdateOptions) (*v1.SMB, 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.SMB, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.SMBList, 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.SMB, err error)
	SMBExpansion
}

SMBInterface has methods to work with SMB resources.

type SMBsGetter added in v1.3.0

type SMBsGetter interface {
	SMBs(namespace string) SMBInterface
}

SMBsGetter has a method to return a SMBInterface. A group's client should implement this interface.

type SWIFTExpansion

type SWIFTExpansion interface{}

type SWIFTInterface

type SWIFTInterface interface {
	Create(ctx context.Context, sWIFT *v1.SWIFT, opts metav1.CreateOptions) (*v1.SWIFT, error)
	Update(ctx context.Context, sWIFT *v1.SWIFT, opts metav1.UpdateOptions) (*v1.SWIFT, 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.SWIFT, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.SWIFTList, 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.SWIFT, err error)
	SWIFTExpansion
}

SWIFTInterface has methods to work with SWIFT resources.

type SWIFTsGetter

type SWIFTsGetter interface {
	SWIFTs(namespace string) SWIFTInterface
}

SWIFTsGetter has a method to return a SWIFTInterface. A group's client should implement this interface.

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
t or T : Toggle theme light dark auto
y or Y : Canonical URL