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 AppsV1Client ¶
type AppsV1Client struct {
// contains filtered or unexported fields
}
AppsV1Client is used to interact with features provided by the apps.pingcap.com group.
func New ¶
func New(c rest.Interface) *AppsV1Client
New creates a new AppsV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*AppsV1Client, error)
NewForConfig creates a new AppsV1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *AppsV1Client
NewForConfigOrDie creates a new AppsV1Client for the given config and panics if there is an error in the config.
func (*AppsV1Client) RESTClient ¶
func (c *AppsV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*AppsV1Client) StatefulSets ¶
func (c *AppsV1Client) StatefulSets(namespace string) StatefulSetInterface
type AppsV1Interface ¶
type AppsV1Interface interface { RESTClient() rest.Interface StatefulSetsGetter }
type StatefulSetExpansion ¶
type StatefulSetExpansion interface{}
type StatefulSetInterface ¶
type StatefulSetInterface interface { Create(*v1.StatefulSet) (*v1.StatefulSet, error) Update(*v1.StatefulSet) (*v1.StatefulSet, error) UpdateStatus(*v1.StatefulSet) (*v1.StatefulSet, error) Delete(name string, options *metav1.DeleteOptions) error DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error Get(name string, options metav1.GetOptions) (*v1.StatefulSet, error) List(opts metav1.ListOptions) (*v1.StatefulSetList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.StatefulSet, err error) GetScale(statefulSetName string, options metav1.GetOptions) (*autoscalingv1.Scale, error) UpdateScale(statefulSetName string, scale *autoscalingv1.Scale) (*autoscalingv1.Scale, error) StatefulSetExpansion }
StatefulSetInterface has methods to work with StatefulSet resources.
type StatefulSetsGetter ¶
type StatefulSetsGetter interface {
StatefulSets(namespace string) StatefulSetInterface
}
StatefulSetsGetter has a method to return a StatefulSetInterface. A group's client should implement this interface.