controller

package
v0.0.0-...-4fe213c Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2021 License: Apache-2.0 Imports: 12 Imported by: 388

Documentation

Index

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?)

func (*Connector) Connect

type External

type External struct {
	KubeClient kubeclient.Client
	Invoker    *plugin.Invoker
	Callbacks  managed.ExternalClientFns
	// contains filtered or unexported fields
}

func (*External) Create

func (*External) Delete

func (c *External) Delete(ctx context.Context, res resource.Managed) error

func (*External) Observe

func (*External) Update

Jump to

Keyboard shortcuts

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