fake

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: May 22, 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 FakeExecutionRuns

type FakeExecutionRuns struct {
	Fake *FakeTerraformcontrollerV1
	// contains filtered or unexported fields
}

FakeExecutionRuns implements ExecutionRunInterface

func (*FakeExecutionRuns) Create

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

func (*FakeExecutionRuns) Delete

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

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

func (*FakeExecutionRuns) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeExecutionRuns) Get

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

func (*FakeExecutionRuns) List

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

func (*FakeExecutionRuns) Patch

func (c *FakeExecutionRuns) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *terraformcontrollercattleiov1.ExecutionRun, err error)

Patch applies the patch and returns the patched executionRun.

func (*FakeExecutionRuns) Update

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

func (*FakeExecutionRuns) UpdateStatus

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

func (*FakeExecutionRuns) Watch

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

type FakeExecutions

type FakeExecutions struct {
	Fake *FakeTerraformcontrollerV1
	// contains filtered or unexported fields
}

FakeExecutions implements ExecutionInterface

func (*FakeExecutions) Create

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

func (*FakeExecutions) Delete

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

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

func (*FakeExecutions) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeExecutions) Get

func (c *FakeExecutions) Get(name string, options v1.GetOptions) (result *terraformcontrollercattleiov1.Execution, err error)

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

func (*FakeExecutions) List

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

func (*FakeExecutions) Patch

func (c *FakeExecutions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *terraformcontrollercattleiov1.Execution, err error)

Patch applies the patch and returns the patched execution.

func (*FakeExecutions) Update

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

func (*FakeExecutions) UpdateStatus

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

func (*FakeExecutions) Watch

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

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

type FakeModules

type FakeModules struct {
	Fake *FakeTerraformcontrollerV1
	// contains filtered or unexported fields
}

FakeModules implements ModuleInterface

func (*FakeModules) Create

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

func (*FakeModules) Delete

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

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

func (*FakeModules) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeModules) Get

func (c *FakeModules) Get(name string, options v1.GetOptions) (result *terraformcontrollercattleiov1.Module, err error)

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

func (*FakeModules) List

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

func (*FakeModules) Patch

func (c *FakeModules) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *terraformcontrollercattleiov1.Module, err error)

Patch applies the patch and returns the patched module.

func (*FakeModules) Update

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

func (*FakeModules) UpdateStatus

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

func (*FakeModules) Watch

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

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

type FakeTerraformcontrollerV1

type FakeTerraformcontrollerV1 struct {
	*testing.Fake
}

func (*FakeTerraformcontrollerV1) ExecutionRuns

func (c *FakeTerraformcontrollerV1) ExecutionRuns(namespace string) v1.ExecutionRunInterface

func (*FakeTerraformcontrollerV1) Executions

func (c *FakeTerraformcontrollerV1) Executions(namespace string) v1.ExecutionInterface

func (*FakeTerraformcontrollerV1) Modules

func (c *FakeTerraformcontrollerV1) Modules(namespace string) v1.ModuleInterface

func (*FakeTerraformcontrollerV1) RESTClient

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

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

Jump to

Keyboard shortcuts

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