Documentation ¶
Index ¶
- func StartTerraformManager(idx *plugin.Index, p *plugin.ProviderInit, opts ctrl.Options, ...) error
- type Connector
- type External
- func (c *External) Create(ctx context.Context, res resource.Managed) (managed.ExternalCreation, error)
- func (c *External) Delete(ctx context.Context, res resource.Managed) error
- func (c *External) Observe(ctx context.Context, res resource.Managed) (managed.ExternalObservation, error)
- func (c *External) Update(ctx context.Context, res resource.Managed) (managed.ExternalUpdate, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartTerraformManager ¶
func StartTerraformManager(idx *plugin.Index, p *plugin.ProviderInit, opts ctrl.Options, ropts *client.RuntimeOptions, log logging.Logger) error
func StartTerraformManager(r *registry.Registry, opts ctrl.Options, ropts *client.RuntimeOptions, log logging.Logger) error {
Types ¶
type Connector ¶
type Connector struct { KubeClient kubeclient.Client PluginIndex *plugin.Index Logger logging.Logger Pool *client.ProviderPool }
TODO: make New func and take Logger private (maybe?)
Click to show internal directories.
Click to hide internal directories.