v1alpha1

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2018 License: Apache-2.0 Imports: 7 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 CephV1alpha1Client

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

CephV1alpha1Client is used to interact with features provided by the ceph.rook.io group.

func New

New creates a new CephV1alpha1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new CephV1alpha1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *CephV1alpha1Client

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

func (*CephV1alpha1Client) Clusters

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

func (*CephV1alpha1Client) Filesystems

func (c *CephV1alpha1Client) Filesystems(namespace string) FilesystemInterface

func (*CephV1alpha1Client) ObjectStores

func (c *CephV1alpha1Client) ObjectStores(namespace string) ObjectStoreInterface

func (*CephV1alpha1Client) Pools

func (c *CephV1alpha1Client) Pools(namespace string) PoolInterface

func (*CephV1alpha1Client) RESTClient

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

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

type CephV1alpha1Interface

type CephV1alpha1Interface interface {
	RESTClient() rest.Interface
	ClustersGetter
	FilesystemsGetter
	ObjectStoresGetter
	PoolsGetter
}

type ClusterExpansion

type ClusterExpansion interface{}

type ClusterInterface

type ClusterInterface interface {
	Create(*v1alpha1.Cluster) (*v1alpha1.Cluster, error)
	Update(*v1alpha1.Cluster) (*v1alpha1.Cluster, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*v1alpha1.Cluster, error)
	List(opts v1.ListOptions) (*v1alpha1.ClusterList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.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 FilesystemExpansion

type FilesystemExpansion interface{}

type FilesystemInterface

type FilesystemInterface interface {
	Create(*v1alpha1.Filesystem) (*v1alpha1.Filesystem, error)
	Update(*v1alpha1.Filesystem) (*v1alpha1.Filesystem, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*v1alpha1.Filesystem, error)
	List(opts v1.ListOptions) (*v1alpha1.FilesystemList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Filesystem, err error)
	FilesystemExpansion
}

FilesystemInterface has methods to work with Filesystem resources.

type FilesystemsGetter

type FilesystemsGetter interface {
	Filesystems(namespace string) FilesystemInterface
}

FilesystemsGetter has a method to return a FilesystemInterface. A group's client should implement this interface.

type ObjectStoreExpansion

type ObjectStoreExpansion interface{}

type ObjectStoreInterface

type ObjectStoreInterface interface {
	Create(*v1alpha1.ObjectStore) (*v1alpha1.ObjectStore, error)
	Update(*v1alpha1.ObjectStore) (*v1alpha1.ObjectStore, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*v1alpha1.ObjectStore, error)
	List(opts v1.ListOptions) (*v1alpha1.ObjectStoreList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ObjectStore, err error)
	ObjectStoreExpansion
}

ObjectStoreInterface has methods to work with ObjectStore resources.

type ObjectStoresGetter

type ObjectStoresGetter interface {
	ObjectStores(namespace string) ObjectStoreInterface
}

ObjectStoresGetter has a method to return a ObjectStoreInterface. A group's client should implement this interface.

type PoolExpansion

type PoolExpansion interface{}

type PoolInterface

type PoolInterface interface {
	Create(*v1alpha1.Pool) (*v1alpha1.Pool, error)
	Update(*v1alpha1.Pool) (*v1alpha1.Pool, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*v1alpha1.Pool, error)
	List(opts v1.ListOptions) (*v1alpha1.PoolList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Pool, err error)
	PoolExpansion
}

PoolInterface has methods to work with Pool resources.

type PoolsGetter

type PoolsGetter interface {
	Pools(namespace string) PoolInterface
}

PoolsGetter has a method to return a PoolInterface. 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