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