common

package
v0.3.0-alpha Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConstructFullImageName

func ConstructFullImageName(image *components.Image, registry string) string

func DaemonsetChanged

func DaemonsetChanged(expected *v1.DaemonSet, found *v1.DaemonSet) bool

func DeploymentChanged

func DeploymentChanged(expected *v1.Deployment, found *v1.Deployment) bool

func GetNamespace

func GetNamespace(csi *csibaremetalv1.Deployment) string

func GetSelectedNodes

func GetSelectedNodes(ctx context.Context, c kubernetes.Interface, selector *components.NodeSelector) (*corev1.NodeList, error)

GetSelectedNodes returns a list of nodes filtered with NodeSelector

func MakeNodeSelectorMap

func MakeNodeSelectorMap(ns *components.NodeSelector) map[string]string

func MatchLogFormat

func MatchLogFormat(format components.Format) string

func MatchLogLevel

func MatchLogLevel(level components.Level) string

func PrepareScheme

func PrepareScheme() (*runtime.Scheme, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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