images

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SchedulerPluginSchedulerDefaultImageTag  = "registry.k8s.io/scheduler-plugins/kube-scheduler:v0.26.7"
	SchedulerPluginControllerDefaultImageTag = "registry.k8s.io/scheduler-plugins/controller:v0.26.7"
	NodeFeatureDiscoveryDefaultImageTag      = "registry.k8s.io/nfd/node-feature-discovery:v0.14.0"
	ResourceTopologyExporterDefaultImageTag  = "quay.io/k8stopologyawareschedwg/resource-topology-exporter:v0.14.2"
)
View Source
const (
	SchedulerPluginSchedulerDefaultImageSHA  = "registry.k8s.io/scheduler-plugins/kube-scheduler@sha256:1eb894c0743d5d01e18c74150645354554201aa6e0dcae62d49a8d3657326f1a"
	SchedulerPluginControllerDefaultImageSHA = "registry.k8s.io/scheduler-plugins/controller@sha256:6acd9f6ec8a1cd0b23f458577cf287fd70ce71febdfb843c08790ebfa3a8ebef"
	NodeFeatureDiscoveryDefaultImageSHA      = "registry.k8s.io/nfd/node-feature-discovery@sha256:5bfcae5ea107987520822b5d8bedd715b4a2951ab9ec975d387b40ef9e3a638f"
	ResourceTopologyExporterDefaultImageSHA  = "" /* 130-byte string literal not displayed */
)
View Source
const (
	FormatJSON = iota
	FormatText
)

Variables

View Source
var (
	SchedulerPluginSchedulerImage  = SchedulerPluginSchedulerDefaultImageTag
	SchedulerPluginControllerImage = SchedulerPluginControllerDefaultImageTag
	ResourceTopologyExporterImage  = ResourceTopologyExporterDefaultImageTag
	NodeFeatureDiscoveryImage      = NodeFeatureDiscoveryDefaultImageTag
)

Functions

func SetDefaults added in v0.15.0

func SetDefaults(useSHA bool)

func Setup added in v0.14.0

func Setup(getImage func(string) (string, bool))

Types

type Formatter added in v0.14.0

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

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(updaterImage 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