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 *v1.DeleteOptions) error
- func (c *FakeDaemonSets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeDaemonSets) Get(name string, options v1.GetOptions) (result *extensions.DaemonSet, err error)
- func (c *FakeDaemonSets) List(opts v1.ListOptions) (result *extensions.DaemonSetList, err error)
- func (c *FakeDaemonSets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *extensions.DaemonSet, 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 v1.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 *v1.DeleteOptions) error
- func (c *FakeDeployments) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeDeployments) Get(name string, options v1.GetOptions) (result *extensions.Deployment, err error)
- func (c *FakeDeployments) List(opts v1.ListOptions) (result *extensions.DeploymentList, err error)
- func (c *FakeDeployments) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *extensions.Deployment, 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 v1.ListOptions) (watch.Interface, error)
- type FakeExtensions
- func (c *FakeExtensions) DaemonSets(namespace string) internalversion.DaemonSetInterface
- func (c *FakeExtensions) Deployments(namespace string) internalversion.DeploymentInterface
- func (c *FakeExtensions) Ingresses(namespace string) internalversion.IngressInterface
- func (c *FakeExtensions) NetworkPolicies(namespace string) internalversion.NetworkPolicyInterface
- func (c *FakeExtensions) PodSecurityPolicies() internalversion.PodSecurityPolicyInterface
- func (c *FakeExtensions) RESTClient() rest.Interface
- func (c *FakeExtensions) ReplicaSets(namespace string) internalversion.ReplicaSetInterface
- func (c *FakeExtensions) Scales(namespace string) internalversion.ScaleInterface
- func (c *FakeExtensions) ThirdPartyResources() internalversion.ThirdPartyResourceInterface
- type FakeIngresses
- func (c *FakeIngresses) Create(ingress *extensions.Ingress) (result *extensions.Ingress, err error)
- func (c *FakeIngresses) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeIngresses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeIngresses) Get(name string, options v1.GetOptions) (result *extensions.Ingress, err error)
- func (c *FakeIngresses) List(opts v1.ListOptions) (result *extensions.IngressList, err error)
- func (c *FakeIngresses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *extensions.Ingress, 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 v1.ListOptions) (watch.Interface, error)
- type FakeNetworkPolicies
- func (c *FakeNetworkPolicies) Create(networkPolicy *extensions.NetworkPolicy) (result *extensions.NetworkPolicy, err error)
- func (c *FakeNetworkPolicies) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeNetworkPolicies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeNetworkPolicies) Get(name string, options v1.GetOptions) (result *extensions.NetworkPolicy, err error)
- func (c *FakeNetworkPolicies) List(opts v1.ListOptions) (result *extensions.NetworkPolicyList, err error)
- func (c *FakeNetworkPolicies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *extensions.NetworkPolicy, err error)
- func (c *FakeNetworkPolicies) Update(networkPolicy *extensions.NetworkPolicy) (result *extensions.NetworkPolicy, err error)
- func (c *FakeNetworkPolicies) Watch(opts v1.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 *v1.DeleteOptions) error
- func (c *FakePodSecurityPolicies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakePodSecurityPolicies) Get(name string, options v1.GetOptions) (result *extensions.PodSecurityPolicy, err error)
- func (c *FakePodSecurityPolicies) List(opts v1.ListOptions) (result *extensions.PodSecurityPolicyList, err error)
- func (c *FakePodSecurityPolicies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *extensions.PodSecurityPolicy, err error)
- func (c *FakePodSecurityPolicies) Update(podSecurityPolicy *extensions.PodSecurityPolicy) (result *extensions.PodSecurityPolicy, err error)
- func (c *FakePodSecurityPolicies) Watch(opts v1.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 *v1.DeleteOptions) error
- func (c *FakeReplicaSets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeReplicaSets) Get(name string, options v1.GetOptions) (result *extensions.ReplicaSet, err error)
- func (c *FakeReplicaSets) List(opts v1.ListOptions) (result *extensions.ReplicaSetList, err error)
- func (c *FakeReplicaSets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *extensions.ReplicaSet, 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 v1.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 *v1.DeleteOptions) error
- func (c *FakeThirdPartyResources) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeThirdPartyResources) Get(name string, options v1.GetOptions) (result *extensions.ThirdPartyResource, err error)
- func (c *FakeThirdPartyResources) List(opts v1.ListOptions) (result *extensions.ThirdPartyResourceList, err error)
- func (c *FakeThirdPartyResources) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *extensions.ThirdPartyResource, err error)
- func (c *FakeThirdPartyResources) Update(thirdPartyResource *extensions.ThirdPartyResource) (result *extensions.ThirdPartyResource, err error)
- func (c *FakeThirdPartyResources) Watch(opts v1.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 *v1.DeleteOptions) error
func (*FakeDaemonSets) DeleteCollection ¶
func (c *FakeDaemonSets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
func (*FakeDaemonSets) Get ¶
func (c *FakeDaemonSets) Get(name string, options v1.GetOptions) (result *extensions.DaemonSet, err error)
func (*FakeDaemonSets) List ¶
func (c *FakeDaemonSets) List(opts v1.ListOptions) (result *extensions.DaemonSetList, err error)
func (*FakeDaemonSets) Patch ¶
func (c *FakeDaemonSets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *extensions.DaemonSet, err error)
Patch applies the patch and returns the patched daemonSet.
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 v1.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 *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 *extensions.Deployment, err error)
func (*FakeDeployments) List ¶
func (c *FakeDeployments) List(opts v1.ListOptions) (result *extensions.DeploymentList, err error)
func (*FakeDeployments) Patch ¶
func (c *FakeDeployments) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *extensions.Deployment, err error)
Patch applies the patch and returns the patched deployment.
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 v1.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) internalversion.DaemonSetInterface
func (*FakeExtensions) Deployments ¶
func (c *FakeExtensions) Deployments(namespace string) internalversion.DeploymentInterface
func (*FakeExtensions) Ingresses ¶
func (c *FakeExtensions) Ingresses(namespace string) internalversion.IngressInterface
func (*FakeExtensions) NetworkPolicies ¶
func (c *FakeExtensions) NetworkPolicies(namespace string) internalversion.NetworkPolicyInterface
func (*FakeExtensions) PodSecurityPolicies ¶
func (c *FakeExtensions) PodSecurityPolicies() internalversion.PodSecurityPolicyInterface
func (*FakeExtensions) RESTClient ¶
func (c *FakeExtensions) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeExtensions) ReplicaSets ¶
func (c *FakeExtensions) ReplicaSets(namespace string) internalversion.ReplicaSetInterface
func (*FakeExtensions) Scales ¶
func (c *FakeExtensions) Scales(namespace string) internalversion.ScaleInterface
func (*FakeExtensions) ThirdPartyResources ¶
func (c *FakeExtensions) ThirdPartyResources() internalversion.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 *v1.DeleteOptions) error
func (*FakeIngresses) DeleteCollection ¶
func (c *FakeIngresses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
func (*FakeIngresses) Get ¶
func (c *FakeIngresses) Get(name string, options v1.GetOptions) (result *extensions.Ingress, err error)
func (*FakeIngresses) List ¶
func (c *FakeIngresses) List(opts v1.ListOptions) (result *extensions.IngressList, err error)
func (*FakeIngresses) Patch ¶
func (c *FakeIngresses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *extensions.Ingress, err error)
Patch applies the patch and returns the patched ingress.
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 v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested ingresses.
type FakeNetworkPolicies ¶
type FakeNetworkPolicies struct { Fake *FakeExtensions // contains filtered or unexported fields }
FakeNetworkPolicies implements NetworkPolicyInterface
func (*FakeNetworkPolicies) Create ¶
func (c *FakeNetworkPolicies) Create(networkPolicy *extensions.NetworkPolicy) (result *extensions.NetworkPolicy, err error)
func (*FakeNetworkPolicies) Delete ¶
func (c *FakeNetworkPolicies) Delete(name string, options *v1.DeleteOptions) error
func (*FakeNetworkPolicies) DeleteCollection ¶
func (c *FakeNetworkPolicies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
func (*FakeNetworkPolicies) Get ¶
func (c *FakeNetworkPolicies) Get(name string, options v1.GetOptions) (result *extensions.NetworkPolicy, err error)
func (*FakeNetworkPolicies) List ¶
func (c *FakeNetworkPolicies) List(opts v1.ListOptions) (result *extensions.NetworkPolicyList, err error)
func (*FakeNetworkPolicies) Patch ¶
func (c *FakeNetworkPolicies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *extensions.NetworkPolicy, err error)
Patch applies the patch and returns the patched networkPolicy.
func (*FakeNetworkPolicies) Update ¶
func (c *FakeNetworkPolicies) Update(networkPolicy *extensions.NetworkPolicy) (result *extensions.NetworkPolicy, err error)
func (*FakeNetworkPolicies) Watch ¶
func (c *FakeNetworkPolicies) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested networkPolicies.
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 *v1.DeleteOptions) error
func (*FakePodSecurityPolicies) DeleteCollection ¶
func (c *FakePodSecurityPolicies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
func (*FakePodSecurityPolicies) Get ¶
func (c *FakePodSecurityPolicies) Get(name string, options v1.GetOptions) (result *extensions.PodSecurityPolicy, err error)
func (*FakePodSecurityPolicies) List ¶
func (c *FakePodSecurityPolicies) List(opts v1.ListOptions) (result *extensions.PodSecurityPolicyList, err error)
func (*FakePodSecurityPolicies) Patch ¶
func (c *FakePodSecurityPolicies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *extensions.PodSecurityPolicy, err error)
Patch applies the patch and returns the patched podSecurityPolicy.
func (*FakePodSecurityPolicies) Update ¶
func (c *FakePodSecurityPolicies) Update(podSecurityPolicy *extensions.PodSecurityPolicy) (result *extensions.PodSecurityPolicy, err error)
func (*FakePodSecurityPolicies) Watch ¶
func (c *FakePodSecurityPolicies) Watch(opts v1.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 *v1.DeleteOptions) error
func (*FakeReplicaSets) DeleteCollection ¶
func (c *FakeReplicaSets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
func (*FakeReplicaSets) Get ¶
func (c *FakeReplicaSets) Get(name string, options v1.GetOptions) (result *extensions.ReplicaSet, err error)
func (*FakeReplicaSets) List ¶
func (c *FakeReplicaSets) List(opts v1.ListOptions) (result *extensions.ReplicaSetList, err error)
func (*FakeReplicaSets) Patch ¶
func (c *FakeReplicaSets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *extensions.ReplicaSet, err error)
Patch applies the patch and returns the patched replicaSet.
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 v1.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 *v1.DeleteOptions) error
func (*FakeThirdPartyResources) DeleteCollection ¶
func (c *FakeThirdPartyResources) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
func (*FakeThirdPartyResources) Get ¶
func (c *FakeThirdPartyResources) Get(name string, options v1.GetOptions) (result *extensions.ThirdPartyResource, err error)
func (*FakeThirdPartyResources) List ¶
func (c *FakeThirdPartyResources) List(opts v1.ListOptions) (result *extensions.ThirdPartyResourceList, err error)
func (*FakeThirdPartyResources) Patch ¶
func (c *FakeThirdPartyResources) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *extensions.ThirdPartyResource, err error)
Patch applies the patch and returns the patched thirdPartyResource.
func (*FakeThirdPartyResources) Update ¶
func (c *FakeThirdPartyResources) Update(thirdPartyResource *extensions.ThirdPartyResource) (result *extensions.ThirdPartyResource, err error)
func (*FakeThirdPartyResources) Watch ¶
func (c *FakeThirdPartyResources) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested thirdPartyResources.