cmd

package
v0.1.89 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: Apache-2.0 Imports: 34 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TokenSecretIgnitionReachedAnnotation = "hypershift.openshift.io/ignition-reached"
)

Functions

func NewRunLocalIgnitionProviderCommand

func NewRunLocalIgnitionProviderCommand() *cobra.Command

func NewStartCommand

func NewStartCommand() *cobra.Command

This is a https server that enable us to satisfy 1 - 1 relation between clusters and ign endpoints. It runs a token Secret controller. The token Secret controller uses an IgnitionProvider provider implementation (e.g. machineConfigServerIgnitionProvider) to keep up to date a payload store in memory. The payload store has the structure "NodePool token": "payload". A token represents a given cluster version (and in the future also a machine Config) at any given point in time. For a request to succeed a token needs to be passed in the Header.

Types

type Options

type Options struct {
	Addr                string
	CertFile            string
	KeyFile             string
	RegistryOverrides   map[string]string
	Platform            string
	WorkDir             string
	MetricsAddr         string
	FeatureGateManifest string
	TLSMinVersion       string
	TLSCipherSuites     []string
}

type RunLocalIgnitionProviderOptions

type RunLocalIgnitionProviderOptions struct {
	Namespace           string
	Image               string
	TokenSecret         string
	WorkDir             string
	FeatureGateManifest string
}

func (*RunLocalIgnitionProviderOptions) Run

Jump to

Keyboard shortcuts

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