globalcluster

package
v0.0.0-...-e7c744b Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetNodePoolLabelSource

func SetNodePoolLabelSource(s LabelSource)

SetNodePoolLabelSource configures a cloudinfo client.

Types

type LabelSource

type LabelSource interface {
	GetLabels(ctx context.Context, cluster cluster.Cluster, nodePool cluster.NodePool) (map[string]string, error)
}

func NodePoolLabelSource

func NodePoolLabelSource() LabelSource

NodePoolLabelSource returns an initialized cloudinfo client.

Jump to

Keyboard shortcuts

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