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) GetRESTClient() *restclient.RESTClient
- func (c *FakeExtensions) Ingresses(namespace string) unversioned.IngressInterface
- func (c *FakeExtensions) PodSecurityPolicies() unversioned.PodSecurityPolicyInterface
- func (c *FakeExtensions) ReplicaSets(namespace string) unversioned.ReplicaSetInterface
- func (c *FakeExtensions) Scales(namespace string) unversioned.ScaleInterface
- func (c *FakeExtensions) ThirdPartyResources() unversioned.ThirdPartyResourceInterface
- 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 FakePodSecurityPolicies
- func (c *FakePodSecurityPolicies) Create(podSecurityPolicy *extensions.PodSecurityPolicy) (result *extensions.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 *extensions.PodSecurityPolicy, err error)
- func (c *FakePodSecurityPolicies) List(opts api.ListOptions) (result *extensions.PodSecurityPolicyList, err error)
- func (c *FakePodSecurityPolicies) Update(podSecurityPolicy *extensions.PodSecurityPolicy) (result *extensions.PodSecurityPolicy, err error)
- func (c *FakePodSecurityPolicies) 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) GetRESTClient ¶
func (c *FakeExtensions) GetRESTClient() *restclient.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) unversioned.IngressInterface
func (*FakeExtensions) PodSecurityPolicies ¶
func (c *FakeExtensions) PodSecurityPolicies() unversioned.PodSecurityPolicyInterface
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() unversioned.ThirdPartyResourceInterface
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 FakePodSecurityPolicies ¶
type FakePodSecurityPolicies struct {
Fake *FakeExtensions
}
FakePodSecurityPolicies implements PodSecurityPolicyInterface
func (*FakePodSecurityPolicies) Create ¶
func (c *FakePodSecurityPolicies) Create(podSecurityPolicy *extensions.PodSecurityPolicy) (result *extensions.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 *extensions.PodSecurityPolicy, err error)
func (*FakePodSecurityPolicies) List ¶
func (c *FakePodSecurityPolicies) List(opts api.ListOptions) (result *extensions.PodSecurityPolicyList, err error)
func (*FakePodSecurityPolicies) Update ¶
func (c *FakePodSecurityPolicies) Update(podSecurityPolicy *extensions.PodSecurityPolicy) (result *extensions.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 *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
}
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.