deploy

package
v2.18.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Overview

Package deploy provides functions to deploy initial resources for the node operator.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitialResources

func InitialResources(ctx context.Context, k8sClient client.Client, imageInfo imageInfoGetter, scalingGroupGetter scalingGroupGetter, uid string) error

InitialResources creates the initial resources for the node operator.

Types

type ImageInfo

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

ImageInfo retrieves OS image information.

func NewImageInfo

func NewImageInfo() *ImageInfo

NewImageInfo creates a new imageInfo.

func (*ImageInfo) ImageVersion

func (i *ImageInfo) ImageVersion() (string, error)

ImageVersion tries to parse the image version from the host mounted os-release file. If the file is not present or does not contain the version, a fallback lookup is performed.

Jump to

Keyboard shortcuts

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