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 *meta_v1.DeleteOptions) error DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error Get(name string, options meta_v1.GetOptions) (*v1.Cluster, error) List(opts meta_v1.ListOptions) (*v1.ClusterList, error) Watch(opts meta_v1.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 ExampleV1Client ¶
type ExampleV1Client struct {
// contains filtered or unexported fields
}
ExampleV1Client is used to interact with features provided by the example.com group.
func New ¶
func New(c rest.Interface) *ExampleV1Client
New creates a new ExampleV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*ExampleV1Client, error)
NewForConfig creates a new ExampleV1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *ExampleV1Client
NewForConfigOrDie creates a new ExampleV1Client for the given config and panics if there is an error in the config.
func (*ExampleV1Client) Clusters ¶
func (c *ExampleV1Client) Clusters(namespace string) ClusterInterface
func (*ExampleV1Client) RESTClient ¶
func (c *ExampleV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*ExampleV1Client) Redises ¶
func (c *ExampleV1Client) Redises(namespace string) RedisInterface
type ExampleV1Interface ¶
type ExampleV1Interface interface { RESTClient() rest.Interface ClustersGetter RedisesGetter }
type RedisExpansion ¶
type RedisExpansion interface{}
type RedisInterface ¶
type RedisInterface interface { Create(*v1.Redis) (*v1.Redis, error) Update(*v1.Redis) (*v1.Redis, error) UpdateStatus(*v1.Redis) (*v1.Redis, error) Delete(name string, options *meta_v1.DeleteOptions) error DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error Get(name string, options meta_v1.GetOptions) (*v1.Redis, error) List(opts meta_v1.ListOptions) (*v1.RedisList, error) Watch(opts meta_v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Redis, err error) RedisExpansion }
RedisInterface has methods to work with Redis resources.
type RedisesGetter ¶
type RedisesGetter interface {
Redises(namespace string) RedisInterface
}
RedisesGetter has a method to return a RedisInterface. A group's client should implement this interface.