Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAppsV1beta1
- func (c *FakeAppsV1beta1) ControllerRevisions(namespace string) v1beta1.ControllerRevisionInterface
- func (c *FakeAppsV1beta1) Deployments(namespace string) v1beta1.DeploymentInterface
- func (c *FakeAppsV1beta1) RESTClient() rest.Interface
- func (c *FakeAppsV1beta1) Scales(namespace string) v1beta1.ScaleInterface
- func (c *FakeAppsV1beta1) StatefulSets(namespace string) v1beta1.StatefulSetInterface
- type FakeControllerRevisions
- func (c *FakeControllerRevisions) Create(controllerRevision *v1beta1.ControllerRevision) (result *v1beta1.ControllerRevision, err error)
- func (c *FakeControllerRevisions) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeControllerRevisions) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeControllerRevisions) Get(name string, options v1.GetOptions) (result *v1beta1.ControllerRevision, err error)
- func (c *FakeControllerRevisions) List(opts v1.ListOptions) (result *v1beta1.ControllerRevisionList, err error)
- func (c *FakeControllerRevisions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.ControllerRevision, err error)
- func (c *FakeControllerRevisions) Update(controllerRevision *v1beta1.ControllerRevision) (result *v1beta1.ControllerRevision, err error)
- func (c *FakeControllerRevisions) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeDeployments
- func (c *FakeDeployments) Create(deployment *v1beta1.Deployment) (result *v1beta1.Deployment, err error)
- func (c *FakeDeployments) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeDeployments) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeDeployments) Get(name string, options v1.GetOptions) (result *v1beta1.Deployment, err error)
- func (c *FakeDeployments) List(opts v1.ListOptions) (result *v1beta1.DeploymentList, err error)
- func (c *FakeDeployments) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Deployment, err error)
- func (c *FakeDeployments) Update(deployment *v1beta1.Deployment) (result *v1beta1.Deployment, err error)
- func (c *FakeDeployments) UpdateStatus(deployment *v1beta1.Deployment) (*v1beta1.Deployment, error)
- func (c *FakeDeployments) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeScales
- type FakeStatefulSets
- func (c *FakeStatefulSets) Create(statefulSet *v1beta1.StatefulSet) (result *v1beta1.StatefulSet, err error)
- func (c *FakeStatefulSets) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeStatefulSets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeStatefulSets) Get(name string, options v1.GetOptions) (result *v1beta1.StatefulSet, err error)
- func (c *FakeStatefulSets) List(opts v1.ListOptions) (result *v1beta1.StatefulSetList, err error)
- func (c *FakeStatefulSets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.StatefulSet, err error)
- func (c *FakeStatefulSets) Update(statefulSet *v1beta1.StatefulSet) (result *v1beta1.StatefulSet, err error)
- func (c *FakeStatefulSets) UpdateStatus(statefulSet *v1beta1.StatefulSet) (*v1beta1.StatefulSet, error)
- func (c *FakeStatefulSets) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAppsV1beta1 ¶
func (*FakeAppsV1beta1) ControllerRevisions ¶
func (c *FakeAppsV1beta1) ControllerRevisions(namespace string) v1beta1.ControllerRevisionInterface
func (*FakeAppsV1beta1) Deployments ¶
func (c *FakeAppsV1beta1) Deployments(namespace string) v1beta1.DeploymentInterface
func (*FakeAppsV1beta1) RESTClient ¶
func (c *FakeAppsV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeAppsV1beta1) Scales ¶
func (c *FakeAppsV1beta1) Scales(namespace string) v1beta1.ScaleInterface
func (*FakeAppsV1beta1) StatefulSets ¶
func (c *FakeAppsV1beta1) StatefulSets(namespace string) v1beta1.StatefulSetInterface
type FakeControllerRevisions ¶
type FakeControllerRevisions struct { Fake *FakeAppsV1beta1 // contains filtered or unexported fields }
FakeControllerRevisions implements ControllerRevisionInterface
func (*FakeControllerRevisions) Create ¶
func (c *FakeControllerRevisions) Create(controllerRevision *v1beta1.ControllerRevision) (result *v1beta1.ControllerRevision, err error)
func (*FakeControllerRevisions) Delete ¶
func (c *FakeControllerRevisions) Delete(name string, options *v1.DeleteOptions) error
func (*FakeControllerRevisions) DeleteCollection ¶
func (c *FakeControllerRevisions) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
func (*FakeControllerRevisions) Get ¶
func (c *FakeControllerRevisions) Get(name string, options v1.GetOptions) (result *v1beta1.ControllerRevision, err error)
func (*FakeControllerRevisions) List ¶
func (c *FakeControllerRevisions) List(opts v1.ListOptions) (result *v1beta1.ControllerRevisionList, err error)
func (*FakeControllerRevisions) Patch ¶
func (c *FakeControllerRevisions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.ControllerRevision, err error)
Patch applies the patch and returns the patched controllerRevision.
func (*FakeControllerRevisions) Update ¶
func (c *FakeControllerRevisions) Update(controllerRevision *v1beta1.ControllerRevision) (result *v1beta1.ControllerRevision, err error)
func (*FakeControllerRevisions) Watch ¶
func (c *FakeControllerRevisions) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested controllerRevisions.
type FakeDeployments ¶
type FakeDeployments struct { Fake *FakeAppsV1beta1 // contains filtered or unexported fields }
FakeDeployments implements DeploymentInterface
func (*FakeDeployments) Create ¶
func (c *FakeDeployments) Create(deployment *v1beta1.Deployment) (result *v1beta1.Deployment, err error)
func (*FakeDeployments) Delete ¶
func (c *FakeDeployments) Delete(name string, options *v1.DeleteOptions) error
func (*FakeDeployments) DeleteCollection ¶
func (c *FakeDeployments) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
func (*FakeDeployments) Get ¶
func (c *FakeDeployments) Get(name string, options v1.GetOptions) (result *v1beta1.Deployment, err error)
func (*FakeDeployments) List ¶
func (c *FakeDeployments) List(opts v1.ListOptions) (result *v1beta1.DeploymentList, err error)
func (*FakeDeployments) Patch ¶
func (c *FakeDeployments) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Deployment, err error)
Patch applies the patch and returns the patched deployment.
func (*FakeDeployments) Update ¶
func (c *FakeDeployments) Update(deployment *v1beta1.Deployment) (result *v1beta1.Deployment, err error)
func (*FakeDeployments) UpdateStatus ¶
func (c *FakeDeployments) UpdateStatus(deployment *v1beta1.Deployment) (*v1beta1.Deployment, error)
func (*FakeDeployments) Watch ¶
func (c *FakeDeployments) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested deployments.
type FakeScales ¶
type FakeScales struct { Fake *FakeAppsV1beta1 // contains filtered or unexported fields }
FakeScales implements ScaleInterface
type FakeStatefulSets ¶
type FakeStatefulSets struct { Fake *FakeAppsV1beta1 // contains filtered or unexported fields }
FakeStatefulSets implements StatefulSetInterface
func (*FakeStatefulSets) Create ¶
func (c *FakeStatefulSets) Create(statefulSet *v1beta1.StatefulSet) (result *v1beta1.StatefulSet, err error)
func (*FakeStatefulSets) Delete ¶
func (c *FakeStatefulSets) Delete(name string, options *v1.DeleteOptions) error
func (*FakeStatefulSets) DeleteCollection ¶
func (c *FakeStatefulSets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
func (*FakeStatefulSets) Get ¶
func (c *FakeStatefulSets) Get(name string, options v1.GetOptions) (result *v1beta1.StatefulSet, err error)
func (*FakeStatefulSets) List ¶
func (c *FakeStatefulSets) List(opts v1.ListOptions) (result *v1beta1.StatefulSetList, err error)
func (*FakeStatefulSets) Patch ¶
func (c *FakeStatefulSets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.StatefulSet, err error)
Patch applies the patch and returns the patched statefulSet.
func (*FakeStatefulSets) Update ¶
func (c *FakeStatefulSets) Update(statefulSet *v1beta1.StatefulSet) (result *v1beta1.StatefulSet, err error)
func (*FakeStatefulSets) UpdateStatus ¶
func (c *FakeStatefulSets) UpdateStatus(statefulSet *v1beta1.StatefulSet) (*v1beta1.StatefulSet, error)
func (*FakeStatefulSets) Watch ¶
func (c *FakeStatefulSets) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested statefulSets.