centralconnection

package
v0.0.0-...-a52e8f6 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitCentralConnectionController

func InitCentralConnectionController(
	mgr manager.Manager,
	appName string,
	minimalConnectionSyncPeriod time.Duration,
	certPreserver certificates.Preserver,
	certProvider certificates.Provider,
	connectionClientProvider connectorservice.EstablishedConnectionClientProvider) error

Types

type Client

type Client interface {
	Upsert(name string, spec v1alpha1.CentralConnectionSpec) (*v1alpha1.CentralConnection, error)
}

func NewCentralConnectionClient

func NewCentralConnectionClient(manager Manager) Client

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

func (*Controller) Reconcile

func (c *Controller) Reconcile(request reconcile.Request) (reconcile.Result, error)

type ResourceClient

type ResourceClient interface {
	Get(ctx context.Context, key client.ObjectKey, obj runtime.Object) error
	Update(ctx context.Context, obj runtime.Object, opts ...client.UpdateOption) error
}

Directories

Path Synopsis
Code generated by mockery v1.0.0.
Code generated by mockery v1.0.0.

Jump to

Keyboard shortcuts

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