Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeDaemonSets
- func (c *FakeDaemonSets) Create(daemonSet *extensions.DaemonSet) (result *extensions.DaemonSet, err error)
- func (c *FakeDaemonSets) Delete(name string, options *api.DeleteOptions) error
- func (c *FakeDaemonSets) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakeDaemonSets) Get(name string) (result *extensions.DaemonSet, err error)
- func (c *FakeDaemonSets) List(opts api.ListOptions) (result *extensions.DaemonSetList, err error)
- func (c *FakeDaemonSets) Update(daemonSet *extensions.DaemonSet) (result *extensions.DaemonSet, err error)
- func (c *FakeDaemonSets) UpdateStatus(daemonSet *extensions.DaemonSet) (*extensions.DaemonSet, error)
- func (c *FakeDaemonSets) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeDeployments
- func (c *FakeDeployments) Create(deployment *extensions.Deployment) (result *extensions.Deployment, err error)
- func (c *FakeDeployments) Delete(name string, options *api.DeleteOptions) error
- func (c *FakeDeployments) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakeDeployments) Get(name string) (result *extensions.Deployment, err error)
- func (c *FakeDeployments) List(opts api.ListOptions) (result *extensions.DeploymentList, err error)
- func (c *FakeDeployments) Rollback(deploymentRollback *extensions.DeploymentRollback) error
- func (c *FakeDeployments) Update(deployment *extensions.Deployment) (result *extensions.Deployment, err error)
- func (c *FakeDeployments) UpdateStatus(deployment *extensions.Deployment) (*extensions.Deployment, error)
- func (c *FakeDeployments) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeExtensions
- func (c *FakeExtensions) DaemonSets(namespace string) unversioned.DaemonSetInterface
- func (c *FakeExtensions) Deployments(namespace string) unversioned.DeploymentInterface
- func (c *FakeExtensions) HorizontalPodAutoscalers(namespace string) unversioned.HorizontalPodAutoscalerInterface
- func (c *FakeExtensions) Ingresses(namespace string) unversioned.IngressInterface
- func (c *FakeExtensions) Jobs(namespace string) unversioned.JobInterface
- func (c *FakeExtensions) ReplicaSets(namespace string) unversioned.ReplicaSetInterface
- func (c *FakeExtensions) Scales(namespace string) unversioned.ScaleInterface
- func (c *FakeExtensions) ThirdPartyResources(namespace string) unversioned.ThirdPartyResourceInterface
- type FakeHorizontalPodAutoscalers
- func (c *FakeHorizontalPodAutoscalers) Create(horizontalPodAutoscaler *extensions.HorizontalPodAutoscaler) (result *extensions.HorizontalPodAutoscaler, err error)
- func (c *FakeHorizontalPodAutoscalers) Delete(name string, options *api.DeleteOptions) error
- func (c *FakeHorizontalPodAutoscalers) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakeHorizontalPodAutoscalers) Get(name string) (result *extensions.HorizontalPodAutoscaler, err error)
- func (c *FakeHorizontalPodAutoscalers) List(opts api.ListOptions) (result *extensions.HorizontalPodAutoscalerList, err error)
- func (c *FakeHorizontalPodAutoscalers) Update(horizontalPodAutoscaler *extensions.HorizontalPodAutoscaler) (result *extensions.HorizontalPodAutoscaler, err error)
- func (c *FakeHorizontalPodAutoscalers) UpdateStatus(horizontalPodAutoscaler *extensions.HorizontalPodAutoscaler) (*extensions.HorizontalPodAutoscaler, error)
- func (c *FakeHorizontalPodAutoscalers) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeIngresses
- func (c *FakeIngresses) Create(ingress *extensions.Ingress) (result *extensions.Ingress, err error)
- func (c *FakeIngresses) Delete(name string, options *api.DeleteOptions) error
- func (c *FakeIngresses) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakeIngresses) Get(name string) (result *extensions.Ingress, err error)
- func (c *FakeIngresses) List(opts api.ListOptions) (result *extensions.IngressList, err error)
- func (c *FakeIngresses) Update(ingress *extensions.Ingress) (result *extensions.Ingress, err error)
- func (c *FakeIngresses) UpdateStatus(ingress *extensions.Ingress) (*extensions.Ingress, error)
- func (c *FakeIngresses) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeJobs
- func (c *FakeJobs) Create(job *extensions.Job) (result *extensions.Job, err error)
- func (c *FakeJobs) Delete(name string, options *api.DeleteOptions) error
- func (c *FakeJobs) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakeJobs) Get(name string) (result *extensions.Job, err error)
- func (c *FakeJobs) List(opts api.ListOptions) (result *extensions.JobList, err error)
- func (c *FakeJobs) Update(job *extensions.Job) (result *extensions.Job, err error)
- func (c *FakeJobs) UpdateStatus(job *extensions.Job) (*extensions.Job, error)
- func (c *FakeJobs) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeReplicaSets
- func (c *FakeReplicaSets) Create(replicaSet *extensions.ReplicaSet) (result *extensions.ReplicaSet, err error)
- func (c *FakeReplicaSets) Delete(name string, options *api.DeleteOptions) error
- func (c *FakeReplicaSets) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakeReplicaSets) Get(name string) (result *extensions.ReplicaSet, err error)
- func (c *FakeReplicaSets) List(opts api.ListOptions) (result *extensions.ReplicaSetList, err error)
- func (c *FakeReplicaSets) Update(replicaSet *extensions.ReplicaSet) (result *extensions.ReplicaSet, err error)
- func (c *FakeReplicaSets) UpdateStatus(replicaSet *extensions.ReplicaSet) (*extensions.ReplicaSet, error)
- func (c *FakeReplicaSets) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeScales
- type FakeThirdPartyResources
- func (c *FakeThirdPartyResources) Create(thirdPartyResource *extensions.ThirdPartyResource) (result *extensions.ThirdPartyResource, err error)
- func (c *FakeThirdPartyResources) Delete(name string, options *api.DeleteOptions) error
- func (c *FakeThirdPartyResources) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakeThirdPartyResources) Get(name string) (result *extensions.ThirdPartyResource, err error)
- func (c *FakeThirdPartyResources) List(opts api.ListOptions) (result *extensions.ThirdPartyResourceList, err error)
- func (c *FakeThirdPartyResources) Update(thirdPartyResource *extensions.ThirdPartyResource) (result *extensions.ThirdPartyResource, err error)
- func (c *FakeThirdPartyResources) Watch(opts api.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeDaemonSets ¶
type FakeDaemonSets struct { Fake *FakeExtensions // contains filtered or unexported fields }
FakeDaemonSets implements DaemonSetInterface
func (*FakeDaemonSets) Create ¶
func (c *FakeDaemonSets) Create(daemonSet *extensions.DaemonSet) (result *extensions.DaemonSet, err error)
func (*FakeDaemonSets) Delete ¶
func (c *FakeDaemonSets) Delete(name string, options *api.DeleteOptions) error
func (*FakeDaemonSets) DeleteCollection ¶
func (c *FakeDaemonSets) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
func (*FakeDaemonSets) Get ¶
func (c *FakeDaemonSets) Get(name string) (result *extensions.DaemonSet, err error)
func (*FakeDaemonSets) List ¶
func (c *FakeDaemonSets) List(opts api.ListOptions) (result *extensions.DaemonSetList, err error)
func (*FakeDaemonSets) Update ¶
func (c *FakeDaemonSets) Update(daemonSet *extensions.DaemonSet) (result *extensions.DaemonSet, err error)
func (*FakeDaemonSets) UpdateStatus ¶
func (c *FakeDaemonSets) UpdateStatus(daemonSet *extensions.DaemonSet) (*extensions.DaemonSet, error)
func (*FakeDaemonSets) Watch ¶
func (c *FakeDaemonSets) Watch(opts api.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested daemonSets.
type FakeDeployments ¶
type FakeDeployments struct { Fake *FakeExtensions // contains filtered or unexported fields }
FakeDeployments implements DeploymentInterface
func (*FakeDeployments) Create ¶
func (c *FakeDeployments) Create(deployment *extensions.Deployment) (result *extensions.Deployment, err error)
func (*FakeDeployments) Delete ¶
func (c *FakeDeployments) Delete(name string, options *api.DeleteOptions) error
func (*FakeDeployments) DeleteCollection ¶
func (c *FakeDeployments) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
func (*FakeDeployments) Get ¶
func (c *FakeDeployments) Get(name string) (result *extensions.Deployment, err error)
func (*FakeDeployments) List ¶
func (c *FakeDeployments) List(opts api.ListOptions) (result *extensions.DeploymentList, err error)
func (*FakeDeployments) Rollback ¶
func (c *FakeDeployments) Rollback(deploymentRollback *extensions.DeploymentRollback) error
func (*FakeDeployments) Update ¶
func (c *FakeDeployments) Update(deployment *extensions.Deployment) (result *extensions.Deployment, err error)
func (*FakeDeployments) UpdateStatus ¶
func (c *FakeDeployments) UpdateStatus(deployment *extensions.Deployment) (*extensions.Deployment, error)
func (*FakeDeployments) Watch ¶
func (c *FakeDeployments) Watch(opts api.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested deployments.
type FakeExtensions ¶
func (*FakeExtensions) DaemonSets ¶
func (c *FakeExtensions) DaemonSets(namespace string) unversioned.DaemonSetInterface
func (*FakeExtensions) Deployments ¶
func (c *FakeExtensions) Deployments(namespace string) unversioned.DeploymentInterface
func (*FakeExtensions) HorizontalPodAutoscalers ¶
func (c *FakeExtensions) HorizontalPodAutoscalers(namespace string) unversioned.HorizontalPodAutoscalerInterface
func (*FakeExtensions) Ingresses ¶
func (c *FakeExtensions) Ingresses(namespace string) unversioned.IngressInterface
func (*FakeExtensions) Jobs ¶
func (c *FakeExtensions) Jobs(namespace string) unversioned.JobInterface
func (*FakeExtensions) ReplicaSets ¶
func (c *FakeExtensions) ReplicaSets(namespace string) unversioned.ReplicaSetInterface
func (*FakeExtensions) Scales ¶
func (c *FakeExtensions) Scales(namespace string) unversioned.ScaleInterface
func (*FakeExtensions) ThirdPartyResources ¶
func (c *FakeExtensions) ThirdPartyResources(namespace string) unversioned.ThirdPartyResourceInterface
type FakeHorizontalPodAutoscalers ¶
type FakeHorizontalPodAutoscalers struct { Fake *FakeExtensions // contains filtered or unexported fields }
FakeHorizontalPodAutoscalers implements HorizontalPodAutoscalerInterface
func (*FakeHorizontalPodAutoscalers) Create ¶
func (c *FakeHorizontalPodAutoscalers) Create(horizontalPodAutoscaler *extensions.HorizontalPodAutoscaler) (result *extensions.HorizontalPodAutoscaler, err error)
func (*FakeHorizontalPodAutoscalers) Delete ¶
func (c *FakeHorizontalPodAutoscalers) Delete(name string, options *api.DeleteOptions) error
func (*FakeHorizontalPodAutoscalers) DeleteCollection ¶
func (c *FakeHorizontalPodAutoscalers) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
func (*FakeHorizontalPodAutoscalers) Get ¶
func (c *FakeHorizontalPodAutoscalers) Get(name string) (result *extensions.HorizontalPodAutoscaler, err error)
func (*FakeHorizontalPodAutoscalers) List ¶
func (c *FakeHorizontalPodAutoscalers) List(opts api.ListOptions) (result *extensions.HorizontalPodAutoscalerList, err error)
func (*FakeHorizontalPodAutoscalers) Update ¶
func (c *FakeHorizontalPodAutoscalers) Update(horizontalPodAutoscaler *extensions.HorizontalPodAutoscaler) (result *extensions.HorizontalPodAutoscaler, err error)
func (*FakeHorizontalPodAutoscalers) UpdateStatus ¶
func (c *FakeHorizontalPodAutoscalers) UpdateStatus(horizontalPodAutoscaler *extensions.HorizontalPodAutoscaler) (*extensions.HorizontalPodAutoscaler, error)
func (*FakeHorizontalPodAutoscalers) Watch ¶
func (c *FakeHorizontalPodAutoscalers) Watch(opts api.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested horizontalPodAutoscalers.
type FakeIngresses ¶
type FakeIngresses struct { Fake *FakeExtensions // contains filtered or unexported fields }
FakeIngresses implements IngressInterface
func (*FakeIngresses) Create ¶
func (c *FakeIngresses) Create(ingress *extensions.Ingress) (result *extensions.Ingress, err error)
func (*FakeIngresses) Delete ¶
func (c *FakeIngresses) Delete(name string, options *api.DeleteOptions) error
func (*FakeIngresses) DeleteCollection ¶
func (c *FakeIngresses) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
func (*FakeIngresses) Get ¶
func (c *FakeIngresses) Get(name string) (result *extensions.Ingress, err error)
func (*FakeIngresses) List ¶
func (c *FakeIngresses) List(opts api.ListOptions) (result *extensions.IngressList, err error)
func (*FakeIngresses) Update ¶
func (c *FakeIngresses) Update(ingress *extensions.Ingress) (result *extensions.Ingress, err error)
func (*FakeIngresses) UpdateStatus ¶
func (c *FakeIngresses) UpdateStatus(ingress *extensions.Ingress) (*extensions.Ingress, error)
func (*FakeIngresses) Watch ¶
func (c *FakeIngresses) Watch(opts api.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested ingresses.
type FakeJobs ¶
type FakeJobs struct { Fake *FakeExtensions // contains filtered or unexported fields }
FakeJobs implements JobInterface
func (*FakeJobs) Create ¶
func (c *FakeJobs) Create(job *extensions.Job) (result *extensions.Job, err error)
func (*FakeJobs) DeleteCollection ¶
func (c *FakeJobs) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
func (*FakeJobs) List ¶
func (c *FakeJobs) List(opts api.ListOptions) (result *extensions.JobList, err error)
func (*FakeJobs) Update ¶
func (c *FakeJobs) Update(job *extensions.Job) (result *extensions.Job, err error)
func (*FakeJobs) UpdateStatus ¶
func (c *FakeJobs) UpdateStatus(job *extensions.Job) (*extensions.Job, error)
type FakeReplicaSets ¶
type FakeReplicaSets struct { Fake *FakeExtensions // contains filtered or unexported fields }
FakeReplicaSets implements ReplicaSetInterface
func (*FakeReplicaSets) Create ¶
func (c *FakeReplicaSets) Create(replicaSet *extensions.ReplicaSet) (result *extensions.ReplicaSet, err error)
func (*FakeReplicaSets) Delete ¶
func (c *FakeReplicaSets) Delete(name string, options *api.DeleteOptions) error
func (*FakeReplicaSets) DeleteCollection ¶
func (c *FakeReplicaSets) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
func (*FakeReplicaSets) Get ¶
func (c *FakeReplicaSets) Get(name string) (result *extensions.ReplicaSet, err error)
func (*FakeReplicaSets) List ¶
func (c *FakeReplicaSets) List(opts api.ListOptions) (result *extensions.ReplicaSetList, err error)
func (*FakeReplicaSets) Update ¶
func (c *FakeReplicaSets) Update(replicaSet *extensions.ReplicaSet) (result *extensions.ReplicaSet, err error)
func (*FakeReplicaSets) UpdateStatus ¶
func (c *FakeReplicaSets) UpdateStatus(replicaSet *extensions.ReplicaSet) (*extensions.ReplicaSet, error)
func (*FakeReplicaSets) Watch ¶
func (c *FakeReplicaSets) Watch(opts api.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested replicaSets.
type FakeScales ¶
type FakeScales struct { Fake *FakeExtensions // contains filtered or unexported fields }
FakeScales implements ScaleInterface
func (*FakeScales) Get ¶
func (c *FakeScales) Get(kind string, name string) (result *extensions.Scale, err error)
func (*FakeScales) Update ¶
func (c *FakeScales) Update(kind string, scale *extensions.Scale) (result *extensions.Scale, err error)
type FakeThirdPartyResources ¶
type FakeThirdPartyResources struct { Fake *FakeExtensions // contains filtered or unexported fields }
FakeThirdPartyResources implements ThirdPartyResourceInterface
func (*FakeThirdPartyResources) Create ¶
func (c *FakeThirdPartyResources) Create(thirdPartyResource *extensions.ThirdPartyResource) (result *extensions.ThirdPartyResource, err error)
func (*FakeThirdPartyResources) Delete ¶
func (c *FakeThirdPartyResources) Delete(name string, options *api.DeleteOptions) error
func (*FakeThirdPartyResources) DeleteCollection ¶
func (c *FakeThirdPartyResources) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
func (*FakeThirdPartyResources) Get ¶
func (c *FakeThirdPartyResources) Get(name string) (result *extensions.ThirdPartyResource, err error)
func (*FakeThirdPartyResources) List ¶
func (c *FakeThirdPartyResources) List(opts api.ListOptions) (result *extensions.ThirdPartyResourceList, err error)
func (*FakeThirdPartyResources) Update ¶
func (c *FakeThirdPartyResources) Update(thirdPartyResource *extensions.ThirdPartyResource) (result *extensions.ThirdPartyResource, err error)
func (*FakeThirdPartyResources) Watch ¶
func (c *FakeThirdPartyResources) Watch(opts api.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested thirdPartyResources.