fake

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2020 License: Apache-2.0 Imports: 10 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 FakeAddonsConfigurations

type FakeAddonsConfigurations struct {
	Fake *FakeAddonsV1alpha1
	// contains filtered or unexported fields
}

FakeAddonsConfigurations implements AddonsConfigurationInterface

func (*FakeAddonsConfigurations) Create

func (c *FakeAddonsConfigurations) Create(ctx context.Context, addonsConfiguration *v1alpha1.AddonsConfiguration, opts v1.CreateOptions) (result *v1alpha1.AddonsConfiguration, err error)

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

func (*FakeAddonsConfigurations) Delete

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

func (*FakeAddonsConfigurations) DeleteCollection

func (c *FakeAddonsConfigurations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeAddonsConfigurations) Get

func (c *FakeAddonsConfigurations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AddonsConfiguration, err error)

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

func (*FakeAddonsConfigurations) List

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

func (*FakeAddonsConfigurations) Patch

func (c *FakeAddonsConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AddonsConfiguration, err error)

Patch applies the patch and returns the patched addonsConfiguration.

func (*FakeAddonsConfigurations) Update

func (c *FakeAddonsConfigurations) Update(ctx context.Context, addonsConfiguration *v1alpha1.AddonsConfiguration, opts v1.UpdateOptions) (result *v1alpha1.AddonsConfiguration, err error)

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

func (*FakeAddonsConfigurations) UpdateStatus

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

func (*FakeAddonsConfigurations) Watch

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

type FakeAddonsV1alpha1

type FakeAddonsV1alpha1 struct {
	*testing.Fake
}

func (*FakeAddonsV1alpha1) AddonsConfigurations

func (c *FakeAddonsV1alpha1) AddonsConfigurations(namespace string) v1alpha1.AddonsConfigurationInterface

func (*FakeAddonsV1alpha1) ClusterAddonsConfigurations

func (c *FakeAddonsV1alpha1) ClusterAddonsConfigurations() v1alpha1.ClusterAddonsConfigurationInterface

func (*FakeAddonsV1alpha1) RESTClient

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

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

type FakeClusterAddonsConfigurations

type FakeClusterAddonsConfigurations struct {
	Fake *FakeAddonsV1alpha1
}

FakeClusterAddonsConfigurations implements ClusterAddonsConfigurationInterface

func (*FakeClusterAddonsConfigurations) Create

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

func (*FakeClusterAddonsConfigurations) Delete

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

func (*FakeClusterAddonsConfigurations) DeleteCollection

func (c *FakeClusterAddonsConfigurations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeClusterAddonsConfigurations) Get

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

func (*FakeClusterAddonsConfigurations) List

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

func (*FakeClusterAddonsConfigurations) Patch

func (c *FakeClusterAddonsConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterAddonsConfiguration, err error)

Patch applies the patch and returns the patched clusterAddonsConfiguration.

func (*FakeClusterAddonsConfigurations) Update

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

func (*FakeClusterAddonsConfigurations) UpdateStatus

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

func (*FakeClusterAddonsConfigurations) Watch

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

Jump to

Keyboard shortcuts

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