images

package
v0.21.3 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SchedulerPluginSchedulerDefaultImageTag  = "registry.k8s.io/scheduler-plugins/kube-scheduler:v0.27.8"
	SchedulerPluginControllerDefaultImageTag = "registry.k8s.io/scheduler-plugins/controller:v0.27.8"
	NodeFeatureDiscoveryDefaultImageTag      = "registry.k8s.io/nfd/node-feature-discovery:v0.15.1"
	ResourceTopologyExporterDefaultImageTag  = "quay.io/k8stopologyawareschedwg/resource-topology-exporter:v0.18.1"
)
View Source
const (
	SchedulerPluginSchedulerDefaultImageSHA  = "registry.k8s.io/scheduler-plugins/kube-scheduler@sha256:5b1e96f23e87f6e38e2e31062cdc705d34728dc8181b3b78298d689e30156dbc"
	SchedulerPluginControllerDefaultImageSHA = "registry.k8s.io/scheduler-plugins/controller@sha256:b616f088ab5d5c70b7faa17d08837c8e54ad0e5fef4d7c6a304f70bfd3b89b55"
	NodeFeatureDiscoveryDefaultImageSHA      = "registry.k8s.io/nfd/node-feature-discovery@sha256:cab8506a76c96a4318d4cb1858ead6fe55a2e0499f69b4201b01d69d4fa14f10"
	ResourceTopologyExporterDefaultImageSHA  = "" /* 130-byte string literal not displayed */
)
View Source
const (
	RTE string = "RTE"
	NFD string = "NFD"
)
View Source
const (
	FormatJSON = iota
	FormatText
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Formatter added in v0.14.0

type Formatter interface {
	Format(kind int, w io.Writer)
}

type Images added in v0.20.0

type Images struct {
	SchedulerPluginScheduler  string
	SchedulerPluginController string
	ResourceTopologyExporter  string
	NodeFeatureDiscovery      string
}

func Defaults added in v0.20.0

func Defaults(useSHA bool) Images

func Get added in v0.20.0

func Get() Images

func GetWithFunc added in v0.20.0

func GetWithFunc(useSHA bool, getImage func(string) (string, bool)) Images

type List added in v0.14.0

type List []string

func (List) EncodeJSON added in v0.14.0

func (il List) EncodeJSON(w io.Writer)

func (List) EncodeText added in v0.14.0

func (il List) EncodeText(w io.Writer)

func (List) Format added in v0.14.0

func (il List) Format(kind int, w io.Writer)

type Output added in v0.14.0

type Output struct {
	TopologyUpdater     string `json:"topology_updater"`
	SchedulerPlugin     string `json:"scheduler_plugin"`
	SchedulerController string `json:"scheduler_controller"`
}

func NewOutput added in v0.14.0

func NewOutput(imgs Images, updaterType string) Output

func (Output) EncodeJSON added in v0.14.0

func (imo Output) EncodeJSON(w io.Writer)

func (Output) EncodeText added in v0.14.0

func (imo Output) EncodeText(w io.Writer)

func (Output) Format added in v0.14.0

func (imo Output) Format(kind int, w io.Writer)

func (Output) ToList added in v0.14.0

func (imo Output) ToList() List

Jump to

Keyboard shortcuts

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