Documentation
¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type AppsClient
- func (c *AppsClient) ControllerRevisions(namespace string) ControllerRevisionInterface
- func (c *AppsClient) DaemonSets(namespace string) DaemonSetInterface
- func (c *AppsClient) Deployments(namespace string) DeploymentInterface
- func (c *AppsClient) RESTClient() rest.Interface
- func (c *AppsClient) ReplicaSets(namespace string) ReplicaSetInterface
- func (c *AppsClient) StatefulSets(namespace string) StatefulSetInterface
- type AppsInterface
- type ControllerRevisionExpansion
- type ControllerRevisionInterface
- type ControllerRevisionsGetter
- type DaemonSetExpansion
- type DaemonSetInterface
- type DaemonSetsGetter
- type DeploymentExpansion
- type DeploymentInterface
- type DeploymentsGetter
- type ReplicaSetExpansion
- type ReplicaSetInterface
- type ReplicaSetsGetter
- type StatefulSetExpansion
- type StatefulSetInterface
- type StatefulSetsGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppsClient ¶
type AppsClient struct {
// contains filtered or unexported fields
}
AppsClient is used to interact with features provided by the apps group.
func New ¶
func New(c rest.Interface) *AppsClient
New creates a new AppsClient for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*AppsClient, error)
NewForConfig creates a new AppsClient for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *AppsClient
NewForConfigOrDie creates a new AppsClient for the given config and panics if there is an error in the config.
func (*AppsClient) ControllerRevisions ¶ added in v1.7.0
func (c *AppsClient) ControllerRevisions(namespace string) ControllerRevisionInterface
func (*AppsClient) DaemonSets ¶ added in v1.13.5
func (c *AppsClient) DaemonSets(namespace string) DaemonSetInterface
func (*AppsClient) Deployments ¶ added in v1.13.5
func (c *AppsClient) Deployments(namespace string) DeploymentInterface
func (*AppsClient) RESTClient ¶
func (c *AppsClient) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*AppsClient) ReplicaSets ¶ added in v1.13.5
func (c *AppsClient) ReplicaSets(namespace string) ReplicaSetInterface
func (*AppsClient) StatefulSets ¶
func (c *AppsClient) StatefulSets(namespace string) StatefulSetInterface
type AppsInterface ¶
type AppsInterface interface { RESTClient() rest.Interface ControllerRevisionsGetter DaemonSetsGetter DeploymentsGetter ReplicaSetsGetter StatefulSetsGetter }
type ControllerRevisionExpansion ¶ added in v1.7.0
type ControllerRevisionExpansion interface{}
type ControllerRevisionInterface ¶ added in v1.7.0
type ControllerRevisionInterface interface { Create(*apps.ControllerRevision) (*apps.ControllerRevision, error) Update(*apps.ControllerRevision) (*apps.ControllerRevision, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*apps.ControllerRevision, error) List(opts v1.ListOptions) (*apps.ControllerRevisionList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *apps.ControllerRevision, err error) ControllerRevisionExpansion }
ControllerRevisionInterface has methods to work with ControllerRevision resources.
type ControllerRevisionsGetter ¶ added in v1.7.0
type ControllerRevisionsGetter interface {
ControllerRevisions(namespace string) ControllerRevisionInterface
}
ControllerRevisionsGetter has a method to return a ControllerRevisionInterface. A group's client should implement this interface.
type DaemonSetExpansion ¶ added in v1.13.5
type DaemonSetExpansion interface{}
type DaemonSetInterface ¶ added in v1.13.5
type DaemonSetInterface interface { Create(*apps.DaemonSet) (*apps.DaemonSet, error) Update(*apps.DaemonSet) (*apps.DaemonSet, error) UpdateStatus(*apps.DaemonSet) (*apps.DaemonSet, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*apps.DaemonSet, error) List(opts v1.ListOptions) (*apps.DaemonSetList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *apps.DaemonSet, err error) DaemonSetExpansion }
DaemonSetInterface has methods to work with DaemonSet resources.
type DaemonSetsGetter ¶ added in v1.13.5
type DaemonSetsGetter interface {
DaemonSets(namespace string) DaemonSetInterface
}
DaemonSetsGetter has a method to return a DaemonSetInterface. A group's client should implement this interface.
type DeploymentExpansion ¶ added in v1.13.5
type DeploymentExpansion interface{}
type DeploymentInterface ¶ added in v1.13.5
type DeploymentInterface interface { Create(*apps.Deployment) (*apps.Deployment, error) Update(*apps.Deployment) (*apps.Deployment, error) UpdateStatus(*apps.Deployment) (*apps.Deployment, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*apps.Deployment, error) List(opts v1.ListOptions) (*apps.DeploymentList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *apps.Deployment, err error) DeploymentExpansion }
DeploymentInterface has methods to work with Deployment resources.
type DeploymentsGetter ¶ added in v1.13.5
type DeploymentsGetter interface {
Deployments(namespace string) DeploymentInterface
}
DeploymentsGetter has a method to return a DeploymentInterface. A group's client should implement this interface.
type ReplicaSetExpansion ¶ added in v1.13.5
type ReplicaSetExpansion interface{}
type ReplicaSetInterface ¶ added in v1.13.5
type ReplicaSetInterface interface { Create(*apps.ReplicaSet) (*apps.ReplicaSet, error) Update(*apps.ReplicaSet) (*apps.ReplicaSet, error) UpdateStatus(*apps.ReplicaSet) (*apps.ReplicaSet, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*apps.ReplicaSet, error) List(opts v1.ListOptions) (*apps.ReplicaSetList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *apps.ReplicaSet, err error) ReplicaSetExpansion }
ReplicaSetInterface has methods to work with ReplicaSet resources.
type ReplicaSetsGetter ¶ added in v1.13.5
type ReplicaSetsGetter interface {
ReplicaSets(namespace string) ReplicaSetInterface
}
ReplicaSetsGetter has a method to return a ReplicaSetInterface. A group's client should implement this interface.
type StatefulSetExpansion ¶
type StatefulSetExpansion interface{}
type StatefulSetInterface ¶
type StatefulSetInterface interface { Create(*apps.StatefulSet) (*apps.StatefulSet, error) Update(*apps.StatefulSet) (*apps.StatefulSet, error) UpdateStatus(*apps.StatefulSet) (*apps.StatefulSet, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*apps.StatefulSet, error) List(opts v1.ListOptions) (*apps.StatefulSetList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *apps.StatefulSet, err 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.