slb

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConnectionDetails

func GetConnectionDetails(cr *v1alpha1.CLB) managed.ConnectionDetails

GetConnectionDetails generates connection details

func SetupCLB

func SetupCLB(mgr ctrl.Manager, l logging.Logger) error

SetupCLB adds a controller that reconciles CLB

Types

type Connector

type Connector struct {
	Client      client.Client
	Usage       resource.Tracker
	NewClientFn func(ctx context.Context, endpoint, accessKeyID, accessKeySecret, stsToken string) (*slbclient.SDKClient, error)
}

Connector stores Kubernetes client and SLB client

func (*Connector) Connect

Connect initials cloud resource client

type External

type External struct {
	ExternalClient slbclient.ClientInterface
}

External includes external SLB client

func (*External) Create

Create managed resource CLB

func (*External) Delete

func (e *External) Delete(ctx context.Context, mg resource.Managed) error

Delete managed resource CLB

func (*External) Observe

Observe managed resource CLB

func (*External) Update

Update managed resource CLB

Jump to

Keyboard shortcuts

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