fake

package
v4.0.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeDaemonSets

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

FakeDaemonSets implements DaemonSetInterface

func (*FakeDaemonSets) Create

func (c *FakeDaemonSets) Create(daemonSet *v1beta1.DaemonSet) (result *v1beta1.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 *v1beta1.DaemonSet, err error)

func (*FakeDaemonSets) List

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

func (*FakeDaemonSets) Patch

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

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

func (*FakeDaemonSets) UpdateStatus

func (c *FakeDaemonSets) UpdateStatus(daemonSet *v1beta1.DaemonSet) (*v1beta1.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 *FakeExtensionsV1beta1
	// 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 *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 *v1beta1.Deployment, err error)

func (*FakeDeployments) List

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

func (*FakeDeployments) Patch

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

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 v1.ListOptions) (watch.Interface, error)

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

type FakeExtensionsV1beta1

type FakeExtensionsV1beta1 struct {
	*testing.Fake
}

func (*FakeExtensionsV1beta1) DaemonSets

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

func (*FakeExtensionsV1beta1) Deployments

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

func (*FakeExtensionsV1beta1) Ingresses

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

func (*FakeExtensionsV1beta1) PodSecurityPolicies

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

func (*FakeExtensionsV1beta1) RESTClient

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

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

func (*FakeExtensionsV1beta1) Scales

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

func (*FakeExtensionsV1beta1) ThirdPartyResources

type FakeIngresses

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

FakeIngresses implements IngressInterface

func (*FakeIngresses) Create

func (c *FakeIngresses) Create(ingress *v1beta1.Ingress) (result *v1beta1.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 *v1beta1.Ingress, err error)

func (*FakeIngresses) List

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

func (*FakeIngresses) Patch

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

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

func (*FakeIngresses) UpdateStatus

func (c *FakeIngresses) UpdateStatus(ingress *v1beta1.Ingress) (*v1beta1.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 FakePodSecurityPolicies

type FakePodSecurityPolicies struct {
	Fake *FakeExtensionsV1beta1
}

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 *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 *v1beta1.PodSecurityPolicy, err error)

func (*FakePodSecurityPolicies) List

func (*FakePodSecurityPolicies) Patch

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

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

func (*FakePodSecurityPolicies) Watch

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

type FakeReplicaSets

type FakeReplicaSets struct {
	Fake *FakeExtensionsV1beta1
	// 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 *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 *v1beta1.ReplicaSet, err error)

func (*FakeReplicaSets) List

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

func (*FakeReplicaSets) Patch

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

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 v1.ListOptions) (watch.Interface, error)

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

type FakeScales

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

FakeScales implements ScaleInterface

func (*FakeScales) Get

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

func (*FakeScales) Update

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

type FakeThirdPartyResources

type FakeThirdPartyResources struct {
	Fake *FakeExtensionsV1beta1
}

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 *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 *v1beta1.ThirdPartyResource, err error)

func (*FakeThirdPartyResources) List

func (*FakeThirdPartyResources) Patch

func (c *FakeThirdPartyResources) Patch(name string, pt types.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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL