Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeDaemonSets
- func (c *FakeDaemonSets) Create(daemonSet *v1beta1.DaemonSet) (result *v1beta1.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 *v1beta1.DaemonSet, err error)
- func (c *FakeDaemonSets) List(opts api.ListOptions) (result *v1beta1.DaemonSetList, err error)
- func (c *FakeDaemonSets) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1beta1.DaemonSet, err error)
- func (c *FakeDaemonSets) Update(daemonSet *v1beta1.DaemonSet) (result *v1beta1.DaemonSet, err error)
- func (c *FakeDaemonSets) UpdateStatus(daemonSet *v1beta1.DaemonSet) (*v1beta1.DaemonSet, error)
- func (c *FakeDaemonSets) Watch(opts api.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 *api.DeleteOptions) error
- func (c *FakeDeployments) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakeDeployments) Get(name string) (result *v1beta1.Deployment, err error)
- func (c *FakeDeployments) List(opts api.ListOptions) (result *v1beta1.DeploymentList, err error)
- func (c *FakeDeployments) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1beta1.Deployment, err error)
- func (c *FakeDeployments) Rollback(deploymentRollback *v1beta1.DeploymentRollback) 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 api.ListOptions) (watch.Interface, error)
- type FakeExtensions
- func (c *FakeExtensions) DaemonSets(namespace string) v1beta1.DaemonSetInterface
- func (c *FakeExtensions) Deployments(namespace string) v1beta1.DeploymentInterface
- func (c *FakeExtensions) GetRESTClient() *rest.RESTClient
- func (c *FakeExtensions) Ingresses(namespace string) v1beta1.IngressInterface
- func (c *FakeExtensions) Jobs(namespace string) v1beta1.JobInterface
- func (c *FakeExtensions) PodSecurityPolicies() v1beta1.PodSecurityPolicyInterface
- func (c *FakeExtensions) ReplicaSets(namespace string) v1beta1.ReplicaSetInterface
- func (c *FakeExtensions) Scales(namespace string) v1beta1.ScaleInterface
- func (c *FakeExtensions) ThirdPartyResources() v1beta1.ThirdPartyResourceInterface
- type FakeIngresses
- func (c *FakeIngresses) Create(ingress *v1beta1.Ingress) (result *v1beta1.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 *v1beta1.Ingress, err error)
- func (c *FakeIngresses) List(opts api.ListOptions) (result *v1beta1.IngressList, err error)
- func (c *FakeIngresses) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1beta1.Ingress, err error)
- func (c *FakeIngresses) Update(ingress *v1beta1.Ingress) (result *v1beta1.Ingress, err error)
- func (c *FakeIngresses) UpdateStatus(ingress *v1beta1.Ingress) (*v1beta1.Ingress, error)
- func (c *FakeIngresses) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeJobs
- func (c *FakeJobs) Create(job *v1beta1.Job) (result *v1beta1.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 *v1beta1.Job, err error)
- func (c *FakeJobs) List(opts api.ListOptions) (result *v1beta1.JobList, err error)
- func (c *FakeJobs) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1beta1.Job, err error)
- func (c *FakeJobs) Update(job *v1beta1.Job) (result *v1beta1.Job, err error)
- func (c *FakeJobs) UpdateStatus(job *v1beta1.Job) (*v1beta1.Job, error)
- func (c *FakeJobs) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakePodSecurityPolicies
- func (c *FakePodSecurityPolicies) Create(podSecurityPolicy *v1beta1.PodSecurityPolicy) (result *v1beta1.PodSecurityPolicy, err error)
- func (c *FakePodSecurityPolicies) Delete(name string, options *api.DeleteOptions) error
- func (c *FakePodSecurityPolicies) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakePodSecurityPolicies) Get(name string) (result *v1beta1.PodSecurityPolicy, err error)
- func (c *FakePodSecurityPolicies) List(opts api.ListOptions) (result *v1beta1.PodSecurityPolicyList, err error)
- func (c *FakePodSecurityPolicies) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1beta1.PodSecurityPolicy, err error)
- func (c *FakePodSecurityPolicies) Update(podSecurityPolicy *v1beta1.PodSecurityPolicy) (result *v1beta1.PodSecurityPolicy, err error)
- func (c *FakePodSecurityPolicies) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeReplicaSets
- func (c *FakeReplicaSets) Create(replicaSet *v1beta1.ReplicaSet) (result *v1beta1.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 *v1beta1.ReplicaSet, err error)
- func (c *FakeReplicaSets) List(opts api.ListOptions) (result *v1beta1.ReplicaSetList, err error)
- func (c *FakeReplicaSets) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1beta1.ReplicaSet, err error)
- func (c *FakeReplicaSets) Update(replicaSet *v1beta1.ReplicaSet) (result *v1beta1.ReplicaSet, err error)
- func (c *FakeReplicaSets) UpdateStatus(replicaSet *v1beta1.ReplicaSet) (*v1beta1.ReplicaSet, error)
- func (c *FakeReplicaSets) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeScales
- type FakeThirdPartyResources
- func (c *FakeThirdPartyResources) Create(thirdPartyResource *v1beta1.ThirdPartyResource) (result *v1beta1.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 *v1beta1.ThirdPartyResource, err error)
- func (c *FakeThirdPartyResources) List(opts api.ListOptions) (result *v1beta1.ThirdPartyResourceList, err error)
- func (c *FakeThirdPartyResources) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1beta1.ThirdPartyResource, err error)
- func (c *FakeThirdPartyResources) Update(thirdPartyResource *v1beta1.ThirdPartyResource) (result *v1beta1.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) 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 *v1beta1.DaemonSet, err error)
func (*FakeDaemonSets) List ¶
func (c *FakeDaemonSets) List(opts api.ListOptions) (result *v1beta1.DaemonSetList, err error)
func (*FakeDaemonSets) Patch ¶
func (c *FakeDaemonSets) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1beta1.DaemonSet, err error)
Patch applies the patch and returns the patched daemonSet.
func (*FakeDaemonSets) UpdateStatus ¶
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 *v1beta1.Deployment) (result *v1beta1.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 *v1beta1.Deployment, err error)
func (*FakeDeployments) List ¶
func (c *FakeDeployments) List(opts api.ListOptions) (result *v1beta1.DeploymentList, err error)
func (*FakeDeployments) Patch ¶
func (c *FakeDeployments) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1beta1.Deployment, err error)
Patch applies the patch and returns the patched deployment.
func (*FakeDeployments) Rollback ¶
func (c *FakeDeployments) Rollback(deploymentRollback *v1beta1.DeploymentRollback) error
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 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) v1beta1.DaemonSetInterface
func (*FakeExtensions) Deployments ¶
func (c *FakeExtensions) Deployments(namespace string) v1beta1.DeploymentInterface
func (*FakeExtensions) GetRESTClient ¶
func (c *FakeExtensions) GetRESTClient() *rest.RESTClient
GetRESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeExtensions) Ingresses ¶
func (c *FakeExtensions) Ingresses(namespace string) v1beta1.IngressInterface
func (*FakeExtensions) Jobs ¶
func (c *FakeExtensions) Jobs(namespace string) v1beta1.JobInterface
func (*FakeExtensions) PodSecurityPolicies ¶
func (c *FakeExtensions) PodSecurityPolicies() v1beta1.PodSecurityPolicyInterface
func (*FakeExtensions) ReplicaSets ¶
func (c *FakeExtensions) ReplicaSets(namespace string) v1beta1.ReplicaSetInterface
func (*FakeExtensions) Scales ¶
func (c *FakeExtensions) Scales(namespace string) v1beta1.ScaleInterface
func (*FakeExtensions) ThirdPartyResources ¶
func (c *FakeExtensions) ThirdPartyResources() v1beta1.ThirdPartyResourceInterface
type FakeIngresses ¶
type FakeIngresses struct { Fake *FakeExtensions // contains filtered or unexported fields }
FakeIngresses implements IngressInterface
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 *v1beta1.Ingress, err error)
func (*FakeIngresses) List ¶
func (c *FakeIngresses) List(opts api.ListOptions) (result *v1beta1.IngressList, err error)
func (*FakeIngresses) Patch ¶
func (c *FakeIngresses) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1beta1.Ingress, err error)
Patch applies the patch and returns the patched ingress.
func (*FakeIngresses) UpdateStatus ¶
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) DeleteCollection ¶
func (c *FakeJobs) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
func (*FakeJobs) Patch ¶
func (c *FakeJobs) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1beta1.Job, err error)
Patch applies the patch and returns the patched job.
func (*FakeJobs) UpdateStatus ¶
type FakePodSecurityPolicies ¶
type FakePodSecurityPolicies struct {
Fake *FakeExtensions
}
FakePodSecurityPolicies implements PodSecurityPolicyInterface
func (*FakePodSecurityPolicies) Create ¶
func (c *FakePodSecurityPolicies) Create(podSecurityPolicy *v1beta1.PodSecurityPolicy) (result *v1beta1.PodSecurityPolicy, err error)
func (*FakePodSecurityPolicies) Delete ¶
func (c *FakePodSecurityPolicies) Delete(name string, options *api.DeleteOptions) error
func (*FakePodSecurityPolicies) DeleteCollection ¶
func (c *FakePodSecurityPolicies) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
func (*FakePodSecurityPolicies) Get ¶
func (c *FakePodSecurityPolicies) Get(name string) (result *v1beta1.PodSecurityPolicy, err error)
func (*FakePodSecurityPolicies) List ¶
func (c *FakePodSecurityPolicies) List(opts api.ListOptions) (result *v1beta1.PodSecurityPolicyList, err error)
func (*FakePodSecurityPolicies) Patch ¶
func (c *FakePodSecurityPolicies) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1beta1.PodSecurityPolicy, err error)
Patch applies the patch and returns the patched podSecurityPolicy.
func (*FakePodSecurityPolicies) Update ¶
func (c *FakePodSecurityPolicies) Update(podSecurityPolicy *v1beta1.PodSecurityPolicy) (result *v1beta1.PodSecurityPolicy, err error)
func (*FakePodSecurityPolicies) Watch ¶
func (c *FakePodSecurityPolicies) Watch(opts api.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested podSecurityPolicies.
type FakeReplicaSets ¶
type FakeReplicaSets struct { Fake *FakeExtensions // contains filtered or unexported fields }
FakeReplicaSets implements ReplicaSetInterface
func (*FakeReplicaSets) Create ¶
func (c *FakeReplicaSets) Create(replicaSet *v1beta1.ReplicaSet) (result *v1beta1.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 *v1beta1.ReplicaSet, err error)
func (*FakeReplicaSets) List ¶
func (c *FakeReplicaSets) List(opts api.ListOptions) (result *v1beta1.ReplicaSetList, err error)
func (*FakeReplicaSets) Patch ¶
func (c *FakeReplicaSets) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1beta1.ReplicaSet, err error)
Patch applies the patch and returns the patched replicaSet.
func (*FakeReplicaSets) Update ¶
func (c *FakeReplicaSets) Update(replicaSet *v1beta1.ReplicaSet) (result *v1beta1.ReplicaSet, err error)
func (*FakeReplicaSets) UpdateStatus ¶
func (c *FakeReplicaSets) UpdateStatus(replicaSet *v1beta1.ReplicaSet) (*v1beta1.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
type FakeThirdPartyResources ¶
type FakeThirdPartyResources struct {
Fake *FakeExtensions
}
FakeThirdPartyResources implements ThirdPartyResourceInterface
func (*FakeThirdPartyResources) Create ¶
func (c *FakeThirdPartyResources) Create(thirdPartyResource *v1beta1.ThirdPartyResource) (result *v1beta1.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 *v1beta1.ThirdPartyResource, err error)
func (*FakeThirdPartyResources) List ¶
func (c *FakeThirdPartyResources) List(opts api.ListOptions) (result *v1beta1.ThirdPartyResourceList, err error)
func (*FakeThirdPartyResources) Patch ¶
func (c *FakeThirdPartyResources) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1beta1.ThirdPartyResource, err error)
Patch applies the patch and returns the patched thirdPartyResource.
func (*FakeThirdPartyResources) Update ¶
func (c *FakeThirdPartyResources) Update(thirdPartyResource *v1beta1.ThirdPartyResource) (result *v1beta1.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.