Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeExecutionRuns
- func (c *FakeExecutionRuns) Create(executionRun *terraformcontrollercattleiov1.ExecutionRun) (result *terraformcontrollercattleiov1.ExecutionRun, err error)
- func (c *FakeExecutionRuns) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeExecutionRuns) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeExecutionRuns) Get(name string, options v1.GetOptions) (result *terraformcontrollercattleiov1.ExecutionRun, err error)
- func (c *FakeExecutionRuns) List(opts v1.ListOptions) (result *terraformcontrollercattleiov1.ExecutionRunList, err error)
- func (c *FakeExecutionRuns) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *terraformcontrollercattleiov1.ExecutionRun, err error)
- func (c *FakeExecutionRuns) Update(executionRun *terraformcontrollercattleiov1.ExecutionRun) (result *terraformcontrollercattleiov1.ExecutionRun, err error)
- func (c *FakeExecutionRuns) UpdateStatus(executionRun *terraformcontrollercattleiov1.ExecutionRun) (*terraformcontrollercattleiov1.ExecutionRun, error)
- func (c *FakeExecutionRuns) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeExecutions
- func (c *FakeExecutions) Create(execution *terraformcontrollercattleiov1.Execution) (result *terraformcontrollercattleiov1.Execution, err error)
- func (c *FakeExecutions) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeExecutions) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeExecutions) Get(name string, options v1.GetOptions) (result *terraformcontrollercattleiov1.Execution, err error)
- func (c *FakeExecutions) List(opts v1.ListOptions) (result *terraformcontrollercattleiov1.ExecutionList, err error)
- func (c *FakeExecutions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *terraformcontrollercattleiov1.Execution, err error)
- func (c *FakeExecutions) Update(execution *terraformcontrollercattleiov1.Execution) (result *terraformcontrollercattleiov1.Execution, err error)
- func (c *FakeExecutions) UpdateStatus(execution *terraformcontrollercattleiov1.Execution) (*terraformcontrollercattleiov1.Execution, error)
- func (c *FakeExecutions) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeModules
- func (c *FakeModules) Create(module *terraformcontrollercattleiov1.Module) (result *terraformcontrollercattleiov1.Module, err error)
- func (c *FakeModules) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeModules) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeModules) Get(name string, options v1.GetOptions) (result *terraformcontrollercattleiov1.Module, err error)
- func (c *FakeModules) List(opts v1.ListOptions) (result *terraformcontrollercattleiov1.ModuleList, err error)
- func (c *FakeModules) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *terraformcontrollercattleiov1.Module, err error)
- func (c *FakeModules) Update(module *terraformcontrollercattleiov1.Module) (result *terraformcontrollercattleiov1.Module, err error)
- func (c *FakeModules) UpdateStatus(module *terraformcontrollercattleiov1.Module) (*terraformcontrollercattleiov1.Module, error)
- func (c *FakeModules) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeTerraformcontrollerV1
- func (c *FakeTerraformcontrollerV1) ExecutionRuns(namespace string) v1.ExecutionRunInterface
- func (c *FakeTerraformcontrollerV1) Executions(namespace string) v1.ExecutionInterface
- func (c *FakeTerraformcontrollerV1) Modules(namespace string) v1.ModuleInterface
- func (c *FakeTerraformcontrollerV1) RESTClient() rest.Interface
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 ¶
func (c *FakeExecutionRuns) Create(executionRun *terraformcontrollercattleiov1.ExecutionRun) (result *terraformcontrollercattleiov1.ExecutionRun, err error)
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 ¶
func (c *FakeExecutionRuns) Get(name string, options v1.GetOptions) (result *terraformcontrollercattleiov1.ExecutionRun, err error)
Get takes name of the executionRun, and returns the corresponding executionRun object, and an error if there is any.
func (*FakeExecutionRuns) List ¶
func (c *FakeExecutionRuns) List(opts v1.ListOptions) (result *terraformcontrollercattleiov1.ExecutionRunList, err error)
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 ¶
func (c *FakeExecutionRuns) Update(executionRun *terraformcontrollercattleiov1.ExecutionRun) (result *terraformcontrollercattleiov1.ExecutionRun, err error)
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 ¶
func (c *FakeExecutionRuns) UpdateStatus(executionRun *terraformcontrollercattleiov1.ExecutionRun) (*terraformcontrollercattleiov1.ExecutionRun, error)
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 ¶
func (c *FakeExecutionRuns) Watch(opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeExecutions) Create(execution *terraformcontrollercattleiov1.Execution) (result *terraformcontrollercattleiov1.Execution, err error)
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 ¶
func (c *FakeExecutions) List(opts v1.ListOptions) (result *terraformcontrollercattleiov1.ExecutionList, err error)
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 ¶
func (c *FakeExecutions) Update(execution *terraformcontrollercattleiov1.Execution) (result *terraformcontrollercattleiov1.Execution, err error)
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 ¶
func (c *FakeExecutions) UpdateStatus(execution *terraformcontrollercattleiov1.Execution) (*terraformcontrollercattleiov1.Execution, error)
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 ¶
func (c *FakeModules) Create(module *terraformcontrollercattleiov1.Module) (result *terraformcontrollercattleiov1.Module, err error)
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 ¶
func (c *FakeModules) List(opts v1.ListOptions) (result *terraformcontrollercattleiov1.ModuleList, err error)
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 ¶
func (c *FakeModules) Update(module *terraformcontrollercattleiov1.Module) (result *terraformcontrollercattleiov1.Module, err error)
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 ¶
func (c *FakeModules) UpdateStatus(module *terraformcontrollercattleiov1.Module) (*terraformcontrollercattleiov1.Module, error)
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 ¶
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.