operator

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateLinodeClientConfig

func CreateLinodeClientConfig(ctx context.Context) (sdk.ClientConfig, error)

func KubeDNSIP

func KubeDNSIP(ctx context.Context, kubernetesInterface kubernetes.Interface) (net.IP, error)

Types

type Operator

type Operator struct {
	*operator.Operator
	UnavailableOfferingsCache *linodecache.UnavailableOfferings
	ValidationCache           *cache.Cache
	InstanceTypesProvider     *instancetype.DefaultProvider
	NodeProvider              instance.Provider
	LinodeClient              sdk.LinodeAPI
}

Operator is injected into the Linode CloudProvider's factories

func NewOperator

func NewOperator(ctx context.Context, operator *operator.Operator, linodeClient sdk.LinodeAPI) (*Operator, error)

allow passing a custom Linode client for testing

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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