client-go: k8s.io/client-go/kubernetes/typed/extensions/v1beta1/fake Index | Files

package fake

import "k8s.io/client-go/kubernetes/typed/extensions/v1beta1/fake"

Package fake has the automatically generated clients.

Index

Package Files

doc.go fake_daemonset.go fake_deployment.go fake_deployment_expansion.go fake_extensions_client.go fake_ingress.go fake_podsecuritypolicy.go fake_replicaset.go fake_scale.go fake_scale_expansion.go

type FakeDaemonSets Uses

type FakeDaemonSets struct {
    Fake *FakeExtensionsV1beta1
    // contains filtered or unexported fields
}

FakeDaemonSets implements DaemonSetInterface

func (*FakeDaemonSets) Create Uses

func (c *FakeDaemonSets) Create(daemonSet *v1beta1.DaemonSet) (result *v1beta1.DaemonSet, err error)

Create takes the representation of a daemonSet and creates it. Returns the server's representation of the daemonSet, and an error, if there is any.

func (*FakeDaemonSets) Delete Uses

func (c *FakeDaemonSets) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the daemonSet and deletes it. Returns an error if one occurs.

func (*FakeDaemonSets) DeleteCollection Uses

func (c *FakeDaemonSets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeDaemonSets) Get Uses

func (c *FakeDaemonSets) Get(name string, options v1.GetOptions) (result *v1beta1.DaemonSet, err error)

Get takes name of the daemonSet, and returns the corresponding daemonSet object, and an error if there is any.

func (*FakeDaemonSets) List Uses

func (c *FakeDaemonSets) List(opts v1.ListOptions) (result *v1beta1.DaemonSetList, err error)

List takes label and field selectors, and returns the list of DaemonSets that match those selectors.

func (*FakeDaemonSets) Patch Uses

func (c *FakeDaemonSets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.DaemonSet, err error)

Patch applies the patch and returns the patched daemonSet.

func (*FakeDaemonSets) Update Uses

func (c *FakeDaemonSets) Update(daemonSet *v1beta1.DaemonSet) (result *v1beta1.DaemonSet, err error)

Update takes the representation of a daemonSet and updates it. Returns the server's representation of the daemonSet, and an error, if there is any.

func (*FakeDaemonSets) UpdateStatus Uses

func (c *FakeDaemonSets) UpdateStatus(daemonSet *v1beta1.DaemonSet) (*v1beta1.DaemonSet, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeDaemonSets) Watch Uses

func (c *FakeDaemonSets) Watch(opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested daemonSets.

type FakeDeployments Uses

type FakeDeployments struct {
    Fake *FakeExtensionsV1beta1
    // contains filtered or unexported fields
}

FakeDeployments implements DeploymentInterface

func (*FakeDeployments) Create Uses

func (c *FakeDeployments) Create(deployment *v1beta1.Deployment) (result *v1beta1.Deployment, err error)

Create takes the representation of a deployment and creates it. Returns the server's representation of the deployment, and an error, if there is any.

func (*FakeDeployments) Delete Uses

func (c *FakeDeployments) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the deployment and deletes it. Returns an error if one occurs.

func (*FakeDeployments) DeleteCollection Uses

func (c *FakeDeployments) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeDeployments) Get Uses

func (c *FakeDeployments) Get(name string, options v1.GetOptions) (result *v1beta1.Deployment, err error)

Get takes name of the deployment, and returns the corresponding deployment object, and an error if there is any.

func (*FakeDeployments) GetScale Uses

func (c *FakeDeployments) GetScale(deploymentName string, options v1.GetOptions) (result *v1beta1.Scale, err error)

GetScale takes name of the deployment, and returns the corresponding scale object, and an error if there is any.

func (*FakeDeployments) List Uses

func (c *FakeDeployments) List(opts v1.ListOptions) (result *v1beta1.DeploymentList, err error)

List takes label and field selectors, and returns the list of Deployments that match those selectors.

func (*FakeDeployments) Patch Uses

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) Rollback Uses

func (c *FakeDeployments) Rollback(deploymentRollback *v1beta1.DeploymentRollback) error

func (*FakeDeployments) Update Uses

func (c *FakeDeployments) Update(deployment *v1beta1.Deployment) (result *v1beta1.Deployment, err error)

Update takes the representation of a deployment and updates it. Returns the server's representation of the deployment, and an error, if there is any.

func (*FakeDeployments) UpdateScale Uses

func (c *FakeDeployments) UpdateScale(deploymentName string, scale *v1beta1.Scale) (result *v1beta1.Scale, err error)

UpdateScale takes the representation of a scale and updates it. Returns the server's representation of the scale, and an error, if there is any.

func (*FakeDeployments) UpdateStatus Uses

func (c *FakeDeployments) UpdateStatus(deployment *v1beta1.Deployment) (*v1beta1.Deployment, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeDeployments) Watch Uses

func (c *FakeDeployments) Watch(opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested deployments.

type FakeExtensionsV1beta1 Uses

type FakeExtensionsV1beta1 struct {
    *testing.Fake
}

func (*FakeExtensionsV1beta1) DaemonSets Uses

func (c *FakeExtensionsV1beta1) DaemonSets(namespace string) v1beta1.DaemonSetInterface

func (*FakeExtensionsV1beta1) Deployments Uses

func (c *FakeExtensionsV1beta1) Deployments(namespace string) v1beta1.DeploymentInterface

func (*FakeExtensionsV1beta1) Ingresses Uses

func (c *FakeExtensionsV1beta1) Ingresses(namespace string) v1beta1.IngressInterface

func (*FakeExtensionsV1beta1) PodSecurityPolicies Uses

func (c *FakeExtensionsV1beta1) PodSecurityPolicies() v1beta1.PodSecurityPolicyInterface

func (*FakeExtensionsV1beta1) RESTClient Uses

func (c *FakeExtensionsV1beta1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*FakeExtensionsV1beta1) ReplicaSets Uses

func (c *FakeExtensionsV1beta1) ReplicaSets(namespace string) v1beta1.ReplicaSetInterface

func (*FakeExtensionsV1beta1) Scales Uses

func (c *FakeExtensionsV1beta1) Scales(namespace string) v1beta1.ScaleInterface

type FakeIngresses Uses

type FakeIngresses struct {
    Fake *FakeExtensionsV1beta1
    // contains filtered or unexported fields
}

FakeIngresses implements IngressInterface

func (*FakeIngresses) Create Uses

func (c *FakeIngresses) Create(ingress *v1beta1.Ingress) (result *v1beta1.Ingress, err error)

Create takes the representation of a ingress and creates it. Returns the server's representation of the ingress, and an error, if there is any.

func (*FakeIngresses) Delete Uses

func (c *FakeIngresses) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the ingress and deletes it. Returns an error if one occurs.

func (*FakeIngresses) DeleteCollection Uses

func (c *FakeIngresses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeIngresses) Get Uses

func (c *FakeIngresses) Get(name string, options v1.GetOptions) (result *v1beta1.Ingress, err error)

Get takes name of the ingress, and returns the corresponding ingress object, and an error if there is any.

func (*FakeIngresses) List Uses

func (c *FakeIngresses) List(opts v1.ListOptions) (result *v1beta1.IngressList, err error)

List takes label and field selectors, and returns the list of Ingresses that match those selectors.

func (*FakeIngresses) Patch Uses

func (c *FakeIngresses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Ingress, err error)

Patch applies the patch and returns the patched ingress.

func (*FakeIngresses) Update Uses

func (c *FakeIngresses) Update(ingress *v1beta1.Ingress) (result *v1beta1.Ingress, err error)

Update takes the representation of a ingress and updates it. Returns the server's representation of the ingress, and an error, if there is any.

func (*FakeIngresses) UpdateStatus Uses

func (c *FakeIngresses) UpdateStatus(ingress *v1beta1.Ingress) (*v1beta1.Ingress, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeIngresses) Watch Uses

func (c *FakeIngresses) Watch(opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested ingresses.

type FakePodSecurityPolicies Uses

type FakePodSecurityPolicies struct {
    Fake *FakeExtensionsV1beta1
}

FakePodSecurityPolicies implements PodSecurityPolicyInterface

func (*FakePodSecurityPolicies) Create Uses

func (c *FakePodSecurityPolicies) Create(podSecurityPolicy *v1beta1.PodSecurityPolicy) (result *v1beta1.PodSecurityPolicy, err error)

Create takes the representation of a podSecurityPolicy and creates it. Returns the server's representation of the podSecurityPolicy, and an error, if there is any.

func (*FakePodSecurityPolicies) Delete Uses

func (c *FakePodSecurityPolicies) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the podSecurityPolicy and deletes it. Returns an error if one occurs.

func (*FakePodSecurityPolicies) DeleteCollection Uses

func (c *FakePodSecurityPolicies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakePodSecurityPolicies) Get Uses

func (c *FakePodSecurityPolicies) Get(name string, options v1.GetOptions) (result *v1beta1.PodSecurityPolicy, err error)

Get takes name of the podSecurityPolicy, and returns the corresponding podSecurityPolicy object, and an error if there is any.

func (*FakePodSecurityPolicies) List Uses

func (c *FakePodSecurityPolicies) List(opts v1.ListOptions) (result *v1beta1.PodSecurityPolicyList, err error)

List takes label and field selectors, and returns the list of PodSecurityPolicies that match those selectors.

func (*FakePodSecurityPolicies) Patch Uses

func (c *FakePodSecurityPolicies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.PodSecurityPolicy, err error)

Patch applies the patch and returns the patched podSecurityPolicy.

func (*FakePodSecurityPolicies) Update Uses

func (c *FakePodSecurityPolicies) Update(podSecurityPolicy *v1beta1.PodSecurityPolicy) (result *v1beta1.PodSecurityPolicy, err error)

Update takes the representation of a podSecurityPolicy and updates it. Returns the server's representation of the podSecurityPolicy, and an error, if there is any.

func (*FakePodSecurityPolicies) Watch Uses

func (c *FakePodSecurityPolicies) Watch(opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested podSecurityPolicies.

type FakeReplicaSets Uses

type FakeReplicaSets struct {
    Fake *FakeExtensionsV1beta1
    // contains filtered or unexported fields
}

FakeReplicaSets implements ReplicaSetInterface

func (*FakeReplicaSets) Create Uses

func (c *FakeReplicaSets) Create(replicaSet *v1beta1.ReplicaSet) (result *v1beta1.ReplicaSet, err error)

Create takes the representation of a replicaSet and creates it. Returns the server's representation of the replicaSet, and an error, if there is any.

func (*FakeReplicaSets) Delete Uses

func (c *FakeReplicaSets) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the replicaSet and deletes it. Returns an error if one occurs.

func (*FakeReplicaSets) DeleteCollection Uses

func (c *FakeReplicaSets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeReplicaSets) Get Uses

func (c *FakeReplicaSets) Get(name string, options v1.GetOptions) (result *v1beta1.ReplicaSet, err error)

Get takes name of the replicaSet, and returns the corresponding replicaSet object, and an error if there is any.

func (*FakeReplicaSets) GetScale Uses

func (c *FakeReplicaSets) GetScale(replicaSetName string, options v1.GetOptions) (result *v1beta1.Scale, err error)

GetScale takes name of the replicaSet, and returns the corresponding scale object, and an error if there is any.

func (*FakeReplicaSets) List Uses

func (c *FakeReplicaSets) List(opts v1.ListOptions) (result *v1beta1.ReplicaSetList, err error)

List takes label and field selectors, and returns the list of ReplicaSets that match those selectors.

func (*FakeReplicaSets) Patch Uses

func (c *FakeReplicaSets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.ReplicaSet, err error)

Patch applies the patch and returns the patched replicaSet.

func (*FakeReplicaSets) Update Uses

func (c *FakeReplicaSets) Update(replicaSet *v1beta1.ReplicaSet) (result *v1beta1.ReplicaSet, err error)

Update takes the representation of a replicaSet and updates it. Returns the server's representation of the replicaSet, and an error, if there is any.

func (*FakeReplicaSets) UpdateScale Uses

func (c *FakeReplicaSets) UpdateScale(replicaSetName string, scale *v1beta1.Scale) (result *v1beta1.Scale, err error)

UpdateScale takes the representation of a scale and updates it. Returns the server's representation of the scale, and an error, if there is any.

func (*FakeReplicaSets) UpdateStatus Uses

func (c *FakeReplicaSets) UpdateStatus(replicaSet *v1beta1.ReplicaSet) (*v1beta1.ReplicaSet, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeReplicaSets) Watch Uses

func (c *FakeReplicaSets) Watch(opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested replicaSets.

type FakeScales Uses

type FakeScales struct {
    Fake *FakeExtensionsV1beta1
    // contains filtered or unexported fields
}

FakeScales implements ScaleInterface

func (*FakeScales) Get Uses

func (c *FakeScales) Get(kind string, name string) (result *v1beta1.Scale, err error)

func (*FakeScales) Update Uses

func (c *FakeScales) Update(kind string, scale *v1beta1.Scale) (result *v1beta1.Scale, err error)

Package fake imports 9 packages (graph) and is imported by 4 packages. Updated 2018-01-15. Refresh now. Tools for package owners.