fake

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2019 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 FakeClusterRoleBindings added in v0.2.0

type FakeClusterRoleBindings struct {
	Fake *FakeComponentsV1alpha1
	// contains filtered or unexported fields
}

FakeClusterRoleBindings implements ClusterRoleBindingInterface

func (*FakeClusterRoleBindings) Create added in v0.2.0

func (c *FakeClusterRoleBindings) Create(clusterRoleBinding *v1alpha1.ClusterRoleBinding) (result *v1alpha1.ClusterRoleBinding, err error)

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

func (*FakeClusterRoleBindings) Delete added in v0.2.0

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

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

func (*FakeClusterRoleBindings) DeleteCollection added in v0.2.0

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterRoleBindings) Get added in v0.2.0

func (c *FakeClusterRoleBindings) Get(name string, options v1.GetOptions) (result *v1alpha1.ClusterRoleBinding, err error)

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

func (*FakeClusterRoleBindings) List added in v0.2.0

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

func (*FakeClusterRoleBindings) Patch added in v0.2.0

func (c *FakeClusterRoleBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ClusterRoleBinding, err error)

Patch applies the patch and returns the patched clusterRoleBinding.

func (*FakeClusterRoleBindings) Update added in v0.2.0

func (c *FakeClusterRoleBindings) Update(clusterRoleBinding *v1alpha1.ClusterRoleBinding) (result *v1alpha1.ClusterRoleBinding, err error)

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

func (*FakeClusterRoleBindings) UpdateStatus added in v0.2.0

func (c *FakeClusterRoleBindings) UpdateStatus(clusterRoleBinding *v1alpha1.ClusterRoleBinding) (*v1alpha1.ClusterRoleBinding, error)

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

func (*FakeClusterRoleBindings) Watch added in v0.2.0

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

type FakeClusterRoles added in v0.2.0

type FakeClusterRoles struct {
	Fake *FakeComponentsV1alpha1
	// contains filtered or unexported fields
}

FakeClusterRoles implements ClusterRoleInterface

func (*FakeClusterRoles) Create added in v0.2.0

func (c *FakeClusterRoles) Create(clusterRole *v1alpha1.ClusterRole) (result *v1alpha1.ClusterRole, err error)

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

func (*FakeClusterRoles) Delete added in v0.2.0

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

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

func (*FakeClusterRoles) DeleteCollection added in v0.2.0

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterRoles) Get added in v0.2.0

func (c *FakeClusterRoles) Get(name string, options v1.GetOptions) (result *v1alpha1.ClusterRole, err error)

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

func (*FakeClusterRoles) List added in v0.2.0

func (c *FakeClusterRoles) List(opts v1.ListOptions) (result *v1alpha1.ClusterRoleList, err error)

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

func (*FakeClusterRoles) Patch added in v0.2.0

func (c *FakeClusterRoles) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ClusterRole, err error)

Patch applies the patch and returns the patched clusterRole.

func (*FakeClusterRoles) Update added in v0.2.0

func (c *FakeClusterRoles) Update(clusterRole *v1alpha1.ClusterRole) (result *v1alpha1.ClusterRole, err error)

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

func (*FakeClusterRoles) UpdateStatus added in v0.2.0

func (c *FakeClusterRoles) UpdateStatus(clusterRole *v1alpha1.ClusterRole) (*v1alpha1.ClusterRole, error)

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

func (*FakeClusterRoles) Watch added in v0.2.0

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

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

type FakeComponentsV1alpha1

type FakeComponentsV1alpha1 struct {
	*testing.Fake
}

func (*FakeComponentsV1alpha1) ClusterRoleBindings added in v0.2.0

func (c *FakeComponentsV1alpha1) ClusterRoleBindings(namespace string) v1alpha1.ClusterRoleBindingInterface

func (*FakeComponentsV1alpha1) ClusterRoles added in v0.2.0

func (c *FakeComponentsV1alpha1) ClusterRoles(namespace string) v1alpha1.ClusterRoleInterface

func (*FakeComponentsV1alpha1) ConfigMaps

func (c *FakeComponentsV1alpha1) ConfigMaps(namespace string) v1alpha1.ConfigMapInterface

func (*FakeComponentsV1alpha1) CustomResourceDefinitions added in v0.2.0

func (c *FakeComponentsV1alpha1) CustomResourceDefinitions(namespace string) v1alpha1.CustomResourceDefinitionInterface

func (*FakeComponentsV1alpha1) DaemonSets added in v0.2.0

func (c *FakeComponentsV1alpha1) DaemonSets(namespace string) v1alpha1.DaemonSetInterface

func (*FakeComponentsV1alpha1) Deployments

func (c *FakeComponentsV1alpha1) Deployments(namespace string) v1alpha1.DeploymentInterface

func (*FakeComponentsV1alpha1) Ingresses

func (c *FakeComponentsV1alpha1) Ingresses(namespace string) v1alpha1.IngressInterface

func (*FakeComponentsV1alpha1) Namespaces added in v0.2.0

func (c *FakeComponentsV1alpha1) Namespaces(namespace string) v1alpha1.NamespaceInterface

func (*FakeComponentsV1alpha1) RESTClient

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

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

func (*FakeComponentsV1alpha1) Secrets

func (c *FakeComponentsV1alpha1) Secrets(namespace string) v1alpha1.SecretInterface

func (*FakeComponentsV1alpha1) ServiceAccounts added in v0.2.0

func (c *FakeComponentsV1alpha1) ServiceAccounts(namespace string) v1alpha1.ServiceAccountInterface

func (*FakeComponentsV1alpha1) Services

func (c *FakeComponentsV1alpha1) Services(namespace string) v1alpha1.ServiceInterface

func (*FakeComponentsV1alpha1) StatefulSets added in v0.2.0

func (c *FakeComponentsV1alpha1) StatefulSets(namespace string) v1alpha1.StatefulSetInterface

type FakeConfigMaps

type FakeConfigMaps struct {
	Fake *FakeComponentsV1alpha1
	// contains filtered or unexported fields
}

FakeConfigMaps implements ConfigMapInterface

func (*FakeConfigMaps) Create

func (c *FakeConfigMaps) Create(configMap *v1alpha1.ConfigMap) (result *v1alpha1.ConfigMap, err error)

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

func (*FakeConfigMaps) Delete

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

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

func (*FakeConfigMaps) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeConfigMaps) Get

func (c *FakeConfigMaps) Get(name string, options v1.GetOptions) (result *v1alpha1.ConfigMap, err error)

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

func (*FakeConfigMaps) List

func (c *FakeConfigMaps) List(opts v1.ListOptions) (result *v1alpha1.ConfigMapList, err error)

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

func (*FakeConfigMaps) Patch

func (c *FakeConfigMaps) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ConfigMap, err error)

Patch applies the patch and returns the patched configMap.

func (*FakeConfigMaps) Update

func (c *FakeConfigMaps) Update(configMap *v1alpha1.ConfigMap) (result *v1alpha1.ConfigMap, err error)

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

func (*FakeConfigMaps) UpdateStatus

func (c *FakeConfigMaps) UpdateStatus(configMap *v1alpha1.ConfigMap) (*v1alpha1.ConfigMap, error)

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

func (*FakeConfigMaps) Watch

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

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

type FakeCustomResourceDefinitions added in v0.2.0

type FakeCustomResourceDefinitions struct {
	Fake *FakeComponentsV1alpha1
	// contains filtered or unexported fields
}

FakeCustomResourceDefinitions implements CustomResourceDefinitionInterface

func (*FakeCustomResourceDefinitions) Create added in v0.2.0

func (c *FakeCustomResourceDefinitions) Create(customResourceDefinition *v1alpha1.CustomResourceDefinition) (result *v1alpha1.CustomResourceDefinition, err error)

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

func (*FakeCustomResourceDefinitions) Delete added in v0.2.0

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

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

func (*FakeCustomResourceDefinitions) DeleteCollection added in v0.2.0

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

DeleteCollection deletes a collection of objects.

func (*FakeCustomResourceDefinitions) Get added in v0.2.0

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

func (*FakeCustomResourceDefinitions) List added in v0.2.0

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

func (*FakeCustomResourceDefinitions) Patch added in v0.2.0

func (c *FakeCustomResourceDefinitions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CustomResourceDefinition, err error)

Patch applies the patch and returns the patched customResourceDefinition.

func (*FakeCustomResourceDefinitions) Update added in v0.2.0

func (c *FakeCustomResourceDefinitions) Update(customResourceDefinition *v1alpha1.CustomResourceDefinition) (result *v1alpha1.CustomResourceDefinition, err error)

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

func (*FakeCustomResourceDefinitions) UpdateStatus added in v0.2.0

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

func (*FakeCustomResourceDefinitions) Watch added in v0.2.0

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

type FakeDaemonSets added in v0.2.0

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

FakeDaemonSets implements DaemonSetInterface

func (*FakeDaemonSets) Create added in v0.2.0

func (c *FakeDaemonSets) Create(daemonSet *v1alpha1.DaemonSet) (result *v1alpha1.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 added in v0.2.0

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 added in v0.2.0

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

DeleteCollection deletes a collection of objects.

func (*FakeDaemonSets) Get added in v0.2.0

func (c *FakeDaemonSets) Get(name string, options v1.GetOptions) (result *v1alpha1.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 added in v0.2.0

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

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

func (*FakeDaemonSets) Patch added in v0.2.0

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

Patch applies the patch and returns the patched daemonSet.

func (*FakeDaemonSets) Update added in v0.2.0

func (c *FakeDaemonSets) Update(daemonSet *v1alpha1.DaemonSet) (result *v1alpha1.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 added in v0.2.0

func (c *FakeDaemonSets) UpdateStatus(daemonSet *v1alpha1.DaemonSet) (*v1alpha1.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 added in v0.2.0

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 *FakeComponentsV1alpha1
	// contains filtered or unexported fields
}

FakeDeployments implements DeploymentInterface

func (*FakeDeployments) Create

func (c *FakeDeployments) Create(deployment *v1alpha1.Deployment) (result *v1alpha1.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

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

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

DeleteCollection deletes a collection of objects.

func (*FakeDeployments) Get

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

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

func (*FakeDeployments) List

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

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

func (*FakeDeployments) Patch

func (c *FakeDeployments) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Deployment, err error)

Patch applies the patch and returns the patched deployment.

func (*FakeDeployments) Update

func (c *FakeDeployments) Update(deployment *v1alpha1.Deployment) (result *v1alpha1.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) UpdateStatus

func (c *FakeDeployments) UpdateStatus(deployment *v1alpha1.Deployment) (*v1alpha1.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

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

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

type FakeIngresses

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

FakeIngresses implements IngressInterface

func (*FakeIngresses) Create

func (c *FakeIngresses) Create(ingress *v1alpha1.Ingress) (result *v1alpha1.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

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

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

DeleteCollection deletes a collection of objects.

func (*FakeIngresses) Get

func (c *FakeIngresses) Get(name string, options v1.GetOptions) (result *v1alpha1.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

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

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

func (*FakeIngresses) Patch

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

Patch applies the patch and returns the patched ingress.

func (*FakeIngresses) Update

func (c *FakeIngresses) Update(ingress *v1alpha1.Ingress) (result *v1alpha1.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

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

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

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

type FakeNamespaces added in v0.2.0

type FakeNamespaces struct {
	Fake *FakeComponentsV1alpha1
	// contains filtered or unexported fields
}

FakeNamespaces implements NamespaceInterface

func (*FakeNamespaces) Create added in v0.2.0

func (c *FakeNamespaces) Create(namespace *v1alpha1.Namespace) (result *v1alpha1.Namespace, err error)

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

func (*FakeNamespaces) Delete added in v0.2.0

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

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

func (*FakeNamespaces) DeleteCollection added in v0.2.0

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

DeleteCollection deletes a collection of objects.

func (*FakeNamespaces) Get added in v0.2.0

func (c *FakeNamespaces) Get(name string, options v1.GetOptions) (result *v1alpha1.Namespace, err error)

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

func (*FakeNamespaces) List added in v0.2.0

func (c *FakeNamespaces) List(opts v1.ListOptions) (result *v1alpha1.NamespaceList, err error)

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

func (*FakeNamespaces) Patch added in v0.2.0

func (c *FakeNamespaces) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Namespace, err error)

Patch applies the patch and returns the patched namespace.

func (*FakeNamespaces) Update added in v0.2.0

func (c *FakeNamespaces) Update(namespace *v1alpha1.Namespace) (result *v1alpha1.Namespace, err error)

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

func (*FakeNamespaces) UpdateStatus added in v0.2.0

func (c *FakeNamespaces) UpdateStatus(namespace *v1alpha1.Namespace) (*v1alpha1.Namespace, error)

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

func (*FakeNamespaces) Watch added in v0.2.0

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

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

type FakeSecrets

type FakeSecrets struct {
	Fake *FakeComponentsV1alpha1
	// contains filtered or unexported fields
}

FakeSecrets implements SecretInterface

func (*FakeSecrets) Create

func (c *FakeSecrets) Create(secret *v1alpha1.Secret) (result *v1alpha1.Secret, err error)

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

func (*FakeSecrets) Delete

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

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

func (*FakeSecrets) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSecrets) Get

func (c *FakeSecrets) Get(name string, options v1.GetOptions) (result *v1alpha1.Secret, err error)

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

func (*FakeSecrets) List

func (c *FakeSecrets) List(opts v1.ListOptions) (result *v1alpha1.SecretList, err error)

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

func (*FakeSecrets) Patch

func (c *FakeSecrets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Secret, err error)

Patch applies the patch and returns the patched secret.

func (*FakeSecrets) Update

func (c *FakeSecrets) Update(secret *v1alpha1.Secret) (result *v1alpha1.Secret, err error)

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

func (*FakeSecrets) UpdateStatus

func (c *FakeSecrets) UpdateStatus(secret *v1alpha1.Secret) (*v1alpha1.Secret, error)

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

func (*FakeSecrets) Watch

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

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

type FakeServiceAccounts added in v0.2.0

type FakeServiceAccounts struct {
	Fake *FakeComponentsV1alpha1
	// contains filtered or unexported fields
}

FakeServiceAccounts implements ServiceAccountInterface

func (*FakeServiceAccounts) Create added in v0.2.0

func (c *FakeServiceAccounts) Create(serviceAccount *v1alpha1.ServiceAccount) (result *v1alpha1.ServiceAccount, err error)

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

func (*FakeServiceAccounts) Delete added in v0.2.0

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

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

func (*FakeServiceAccounts) DeleteCollection added in v0.2.0

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

DeleteCollection deletes a collection of objects.

func (*FakeServiceAccounts) Get added in v0.2.0

func (c *FakeServiceAccounts) Get(name string, options v1.GetOptions) (result *v1alpha1.ServiceAccount, err error)

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

func (*FakeServiceAccounts) List added in v0.2.0

func (c *FakeServiceAccounts) List(opts v1.ListOptions) (result *v1alpha1.ServiceAccountList, err error)

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

func (*FakeServiceAccounts) Patch added in v0.2.0

func (c *FakeServiceAccounts) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ServiceAccount, err error)

Patch applies the patch and returns the patched serviceAccount.

func (*FakeServiceAccounts) Update added in v0.2.0

func (c *FakeServiceAccounts) Update(serviceAccount *v1alpha1.ServiceAccount) (result *v1alpha1.ServiceAccount, err error)

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

func (*FakeServiceAccounts) UpdateStatus added in v0.2.0

func (c *FakeServiceAccounts) UpdateStatus(serviceAccount *v1alpha1.ServiceAccount) (*v1alpha1.ServiceAccount, error)

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

func (*FakeServiceAccounts) Watch added in v0.2.0

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

type FakeServices

type FakeServices struct {
	Fake *FakeComponentsV1alpha1
	// contains filtered or unexported fields
}

FakeServices implements ServiceInterface

func (*FakeServices) Create

func (c *FakeServices) Create(service *v1alpha1.Service) (result *v1alpha1.Service, err error)

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

func (*FakeServices) Delete

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

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

func (*FakeServices) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeServices) Get

func (c *FakeServices) Get(name string, options v1.GetOptions) (result *v1alpha1.Service, err error)

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

func (*FakeServices) List

func (c *FakeServices) List(opts v1.ListOptions) (result *v1alpha1.ServiceList, err error)

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

func (*FakeServices) Patch

func (c *FakeServices) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Service, err error)

Patch applies the patch and returns the patched service.

func (*FakeServices) Update

func (c *FakeServices) Update(service *v1alpha1.Service) (result *v1alpha1.Service, err error)

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

func (*FakeServices) UpdateStatus

func (c *FakeServices) UpdateStatus(service *v1alpha1.Service) (*v1alpha1.Service, error)

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

func (*FakeServices) Watch

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

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

type FakeStatefulSets added in v0.2.0

type FakeStatefulSets struct {
	Fake *FakeComponentsV1alpha1
	// contains filtered or unexported fields
}

FakeStatefulSets implements StatefulSetInterface

func (*FakeStatefulSets) Create added in v0.2.0

func (c *FakeStatefulSets) Create(statefulSet *v1alpha1.StatefulSet) (result *v1alpha1.StatefulSet, err error)

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

func (*FakeStatefulSets) Delete added in v0.2.0

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

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

func (*FakeStatefulSets) DeleteCollection added in v0.2.0

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

DeleteCollection deletes a collection of objects.

func (*FakeStatefulSets) Get added in v0.2.0

func (c *FakeStatefulSets) Get(name string, options v1.GetOptions) (result *v1alpha1.StatefulSet, err error)

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

func (*FakeStatefulSets) List added in v0.2.0

func (c *FakeStatefulSets) List(opts v1.ListOptions) (result *v1alpha1.StatefulSetList, err error)

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

func (*FakeStatefulSets) Patch added in v0.2.0

func (c *FakeStatefulSets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.StatefulSet, err error)

Patch applies the patch and returns the patched statefulSet.

func (*FakeStatefulSets) Update added in v0.2.0

func (c *FakeStatefulSets) Update(statefulSet *v1alpha1.StatefulSet) (result *v1alpha1.StatefulSet, err error)

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

func (*FakeStatefulSets) UpdateStatus added in v0.2.0

func (c *FakeStatefulSets) UpdateStatus(statefulSet *v1alpha1.StatefulSet) (*v1alpha1.StatefulSet, error)

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

func (*FakeStatefulSets) Watch added in v0.2.0

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

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

Jump to

Keyboard shortcuts

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