Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type ExecutionExpansion
- type ExecutionInterface
- type ExecutionsGetter
- type ModuleExpansion
- type ModuleInterface
- type ModulesGetter
- type StateExpansion
- type StateInterface
- type StatesGetter
- type TerraformcontrollerV1Client
- func (c *TerraformcontrollerV1Client) Executions(namespace string) ExecutionInterface
- func (c *TerraformcontrollerV1Client) Modules(namespace string) ModuleInterface
- func (c *TerraformcontrollerV1Client) RESTClient() rest.Interface
- func (c *TerraformcontrollerV1Client) States(namespace string) StateInterface
- type TerraformcontrollerV1Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecutionExpansion ¶
type ExecutionExpansion interface{}
type ExecutionInterface ¶
type ExecutionInterface interface { Create(ctx context.Context, execution *v1.Execution, opts metav1.CreateOptions) (*v1.Execution, error) Update(ctx context.Context, execution *v1.Execution, opts metav1.UpdateOptions) (*v1.Execution, error) UpdateStatus(ctx context.Context, execution *v1.Execution, opts metav1.UpdateOptions) (*v1.Execution, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Execution, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.ExecutionList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Execution, err error) ExecutionExpansion }
ExecutionInterface has methods to work with Execution resources.
type ExecutionsGetter ¶
type ExecutionsGetter interface {
Executions(namespace string) ExecutionInterface
}
ExecutionsGetter has a method to return a ExecutionInterface. A group's client should implement this interface.
type ModuleExpansion ¶
type ModuleExpansion interface{}
type ModuleInterface ¶
type ModuleInterface interface { Create(ctx context.Context, module *v1.Module, opts metav1.CreateOptions) (*v1.Module, error) Update(ctx context.Context, module *v1.Module, opts metav1.UpdateOptions) (*v1.Module, error) UpdateStatus(ctx context.Context, module *v1.Module, opts metav1.UpdateOptions) (*v1.Module, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Module, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.ModuleList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Module, err error) ModuleExpansion }
ModuleInterface has methods to work with Module resources.
type ModulesGetter ¶
type ModulesGetter interface {
Modules(namespace string) ModuleInterface
}
ModulesGetter has a method to return a ModuleInterface. A group's client should implement this interface.
type StateExpansion ¶
type StateExpansion interface{}
type StateInterface ¶
type StateInterface interface { Create(ctx context.Context, state *v1.State, opts metav1.CreateOptions) (*v1.State, error) Update(ctx context.Context, state *v1.State, opts metav1.UpdateOptions) (*v1.State, error) UpdateStatus(ctx context.Context, state *v1.State, opts metav1.UpdateOptions) (*v1.State, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.State, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.StateList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.State, err error) StateExpansion }
StateInterface has methods to work with State resources.
type StatesGetter ¶
type StatesGetter interface {
States(namespace string) StateInterface
}
StatesGetter has a method to return a StateInterface. A group's client should implement this interface.
type TerraformcontrollerV1Client ¶
type TerraformcontrollerV1Client struct {
// contains filtered or unexported fields
}
TerraformcontrollerV1Client is used to interact with features provided by the terraformcontroller.cattle.io group.
func New ¶
func New(c rest.Interface) *TerraformcontrollerV1Client
New creates a new TerraformcontrollerV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*TerraformcontrollerV1Client, error)
NewForConfig creates a new TerraformcontrollerV1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶
NewForConfigAndClient creates a new TerraformcontrollerV1Client for the given config and http client. Note the http client provided takes precedence over the configured transport values.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *TerraformcontrollerV1Client
NewForConfigOrDie creates a new TerraformcontrollerV1Client for the given config and panics if there is an error in the config.
func (*TerraformcontrollerV1Client) Executions ¶
func (c *TerraformcontrollerV1Client) Executions(namespace string) ExecutionInterface
func (*TerraformcontrollerV1Client) Modules ¶
func (c *TerraformcontrollerV1Client) Modules(namespace string) ModuleInterface
func (*TerraformcontrollerV1Client) RESTClient ¶
func (c *TerraformcontrollerV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*TerraformcontrollerV1Client) States ¶
func (c *TerraformcontrollerV1Client) States(namespace string) StateInterface
type TerraformcontrollerV1Interface ¶
type TerraformcontrollerV1Interface interface { RESTClient() rest.Interface ExecutionsGetter ModulesGetter StatesGetter }