v1

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2020 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(*v1.Cluster) (*v1.Cluster, error)
	Update(*v1.Cluster) (*v1.Cluster, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.Cluster, error)
	List(opts metav1.ListOptions) (*v1.ClusterList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, 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) SWIFTs

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

type ISCSIExpansion

type ISCSIExpansion interface{}

type ISCSIInterface

type ISCSIInterface interface {
	Create(*v1.ISCSI) (*v1.ISCSI, error)
	Update(*v1.ISCSI) (*v1.ISCSI, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.ISCSI, error)
	List(opts metav1.ListOptions) (*v1.ISCSIList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, 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(*v1.ISGW) (*v1.ISGW, error)
	Update(*v1.ISGW) (*v1.ISGW, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.ISGW, error)
	List(opts metav1.ListOptions) (*v1.ISGWList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, 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(*v1.NFS) (*v1.NFS, error)
	Update(*v1.NFS) (*v1.NFS, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.NFS, error)
	List(opts metav1.ListOptions) (*v1.NFSList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, 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(*v1.S3) (*v1.S3, error)
	Update(*v1.S3) (*v1.S3, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.S3, error)
	List(opts metav1.ListOptions) (*v1.S3List, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, 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(*v1.S3X) (*v1.S3X, error)
	Update(*v1.S3X) (*v1.S3X, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.S3X, error)
	List(opts metav1.ListOptions) (*v1.S3XList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, 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 SWIFTExpansion

type SWIFTExpansion interface{}

type SWIFTInterface

type SWIFTInterface interface {
	Create(*v1.SWIFT) (*v1.SWIFT, error)
	Update(*v1.SWIFT) (*v1.SWIFT, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.SWIFT, error)
	List(opts metav1.ListOptions) (*v1.SWIFTList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, 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
y or Y : Canonical URL