cloud_data

package module
v0.0.0-...-686ee7d Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Discoverer

type Discoverer interface {
	InstanceTypes(ctx context.Context) ([]v1alpha1.InstanceType, error)
	DiscoveryData(ctx context.Context, cloudProviderDiscoveryData []byte) ([]byte, error)
	DisksMeta(ctx context.Context) ([]v1alpha1.DiskMeta, error)
}

type Reconciler

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

func NewReconciler

func NewReconciler(
	discoverer Discoverer,
	listenAddress string,
	interval time.Duration,
	logger *log.Entry,
	k8sClient *kubernetes.Clientset,
	k8sDynamicClient dynamic.Interface,
) *Reconciler

func (*Reconciler) Start

func (c *Reconciler) Start()

type Set

type Set map[string]struct{}

func (Set) Add

func (s Set) Add(xs ...string) Set

func (Set) Has

func (s Set) Has(x string) bool

Directories

Path Synopsis
apis
v1

Jump to

Keyboard shortcuts

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