fake

package
v0.0.0-...-f4529ed Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2020 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 FakeApplicationConfigurations

type FakeApplicationConfigurations struct {
	Fake *FakeCoreV1alpha1
	// contains filtered or unexported fields
}

FakeApplicationConfigurations implements ApplicationConfigurationInterface

func (*FakeApplicationConfigurations) Create

func (c *FakeApplicationConfigurations) Create(applicationConfiguration *v1alpha1.ApplicationConfiguration) (result *v1alpha1.ApplicationConfiguration, err error)

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

func (*FakeApplicationConfigurations) Delete

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

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

func (*FakeApplicationConfigurations) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeApplicationConfigurations) Get

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

func (*FakeApplicationConfigurations) List

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

func (*FakeApplicationConfigurations) Patch

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

Patch applies the patch and returns the patched applicationConfiguration.

func (*FakeApplicationConfigurations) Update

func (c *FakeApplicationConfigurations) Update(applicationConfiguration *v1alpha1.ApplicationConfiguration) (result *v1alpha1.ApplicationConfiguration, err error)

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

func (*FakeApplicationConfigurations) UpdateStatus

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

func (*FakeApplicationConfigurations) Watch

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

type FakeApplicationScopes

type FakeApplicationScopes struct {
	Fake *FakeCoreV1alpha1
	// contains filtered or unexported fields
}

FakeApplicationScopes implements ApplicationScopeInterface

func (*FakeApplicationScopes) Create

func (c *FakeApplicationScopes) Create(applicationScope *v1alpha1.ApplicationScope) (result *v1alpha1.ApplicationScope, err error)

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

func (*FakeApplicationScopes) Delete

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

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

func (*FakeApplicationScopes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeApplicationScopes) Get

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

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

func (*FakeApplicationScopes) List

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

func (*FakeApplicationScopes) Patch

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

Patch applies the patch and returns the patched applicationScope.

func (*FakeApplicationScopes) Update

func (c *FakeApplicationScopes) Update(applicationScope *v1alpha1.ApplicationScope) (result *v1alpha1.ApplicationScope, err error)

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

func (*FakeApplicationScopes) UpdateStatus

func (c *FakeApplicationScopes) UpdateStatus(applicationScope *v1alpha1.ApplicationScope) (*v1alpha1.ApplicationScope, error)

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

func (*FakeApplicationScopes) Watch

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

type FakeComponentSchematics

type FakeComponentSchematics struct {
	Fake *FakeCoreV1alpha1
	// contains filtered or unexported fields
}

FakeComponentSchematics implements ComponentSchematicInterface

func (*FakeComponentSchematics) Create

func (c *FakeComponentSchematics) Create(componentSchematic *v1alpha1.ComponentSchematic) (result *v1alpha1.ComponentSchematic, err error)

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

func (*FakeComponentSchematics) Delete

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

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

func (*FakeComponentSchematics) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeComponentSchematics) Get

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

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

func (*FakeComponentSchematics) List

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

func (*FakeComponentSchematics) Patch

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

Patch applies the patch and returns the patched componentSchematic.

func (*FakeComponentSchematics) Update

func (c *FakeComponentSchematics) Update(componentSchematic *v1alpha1.ComponentSchematic) (result *v1alpha1.ComponentSchematic, err error)

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

func (*FakeComponentSchematics) UpdateStatus

func (c *FakeComponentSchematics) UpdateStatus(componentSchematic *v1alpha1.ComponentSchematic) (*v1alpha1.ComponentSchematic, error)

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

func (*FakeComponentSchematics) Watch

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

type FakeCoreV1alpha1

type FakeCoreV1alpha1 struct {
	*testing.Fake
}

func (*FakeCoreV1alpha1) ApplicationConfigurations

func (c *FakeCoreV1alpha1) ApplicationConfigurations(namespace string) v1alpha1.ApplicationConfigurationInterface

func (*FakeCoreV1alpha1) ApplicationScopes

func (c *FakeCoreV1alpha1) ApplicationScopes(namespace string) v1alpha1.ApplicationScopeInterface

func (*FakeCoreV1alpha1) ComponentSchematics

func (c *FakeCoreV1alpha1) ComponentSchematics(namespace string) v1alpha1.ComponentSchematicInterface

func (*FakeCoreV1alpha1) RESTClient

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

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

func (*FakeCoreV1alpha1) Traits

func (c *FakeCoreV1alpha1) Traits(namespace string) v1alpha1.TraitInterface

type FakeTraits

type FakeTraits struct {
	Fake *FakeCoreV1alpha1
	// contains filtered or unexported fields
}

FakeTraits implements TraitInterface

func (*FakeTraits) Create

func (c *FakeTraits) Create(trait *v1alpha1.Trait) (result *v1alpha1.Trait, err error)

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

func (*FakeTraits) Delete

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

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

func (*FakeTraits) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeTraits) Get

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

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

func (*FakeTraits) List

func (c *FakeTraits) List(opts v1.ListOptions) (result *v1alpha1.TraitList, err error)

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

func (*FakeTraits) Patch

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

Patch applies the patch and returns the patched trait.

func (*FakeTraits) Update

func (c *FakeTraits) Update(trait *v1alpha1.Trait) (result *v1alpha1.Trait, err error)

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

func (*FakeTraits) UpdateStatus

func (c *FakeTraits) UpdateStatus(trait *v1alpha1.Trait) (*v1alpha1.Trait, error)

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

func (*FakeTraits) Watch

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

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

Jump to

Keyboard shortcuts

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