clusterinstall

package
v0.0.0-...-1bc4612 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MachineProfileWorker string = "worker"
	MachineProfileInfra  string = "infra"
	BuildsWorkload       string = "builds"
	TestsWorkload        string = "tests"
	LongTestsWorkload    string = "longtests"
	ProwJobsWorkload     string = "prowjobs"
)

Variables

Functions

func FinalizeOption

func FinalizeOption(fo FinalizeOptions) func(*LoadOptions)

FinalizeOption configures the fields that will be set on a cluster config upon reading it.

func LoadFromDir

func LoadFromDir(dir string, opts ...LoadOption) (map[string]*ClusterInstall, error)

LoadFromDir loads cluster configs from dir in accordance with opts.

Types

type CISchedulingWebhook

type CISchedulingWebhook struct {
	types.SkipStep
	types.ExcludeManifest
	Patches     []manifest.Patch        `json:"patches,omitempty"`
	AWS         aws.CISchedulingWebhook `json:"aws,omitempty"`
	GenerateDNS bool                    `json:"dns,omitempty"`
}

type CertManagerOperator

type CertManagerOperator struct {
	types.SkipStep
	types.ExcludeManifest
	Patches []manifest.Patch `json:"patches,omitempty"`
}

type Certificate

type Certificate struct {
	types.SkipStep
	types.ExcludeManifest
	Patches                 []manifest.Patch `json:"patches,omitempty"`
	ImageRegistryPublicHost string           `json:"imageRegistryPublicHost,omitempty"`
}

type CloudabilityAgent

type CloudabilityAgent struct {
	types.SkipStep
	types.ExcludeManifest
	Patches []manifest.Patch `json:"patches,omitempty"`
}

type ClusterInstall

type ClusterInstall struct {
	ClusterName    string    `json:"clusterName,omitempty"`
	Provision      Provision `json:"provision,omitempty"`
	Onboard        Onboard   `json:"onboard,omitempty"`
	InstallBase    string
	Infrastructure configv1.Infrastructure
	InstallConfig  installertypes.InstallConfig
	// This is needed to get info about available OS images
	CoreOSStream rhcostream.Stream
	Config       *rest.Config
}

func Load

func Load(path string, opts ...LoadOption) (*ClusterInstall, error)

Load loads a cluster config from path in accordance with opts.

func (*ClusterInstall) IsOCP

func (ci *ClusterInstall) IsOCP() bool

type Dex

type Dex struct {
	types.SkipStep
	types.ExcludeManifest
	Patches []manifest.Patch `json:"patches,omitempty"`
}

type FinalizeOptions

type FinalizeOptions struct {
	InstallBase string
	ReleaseRepo string
}

type ImageRegistry

type ImageRegistry struct {
	types.SkipStep
	types.ExcludeManifest
	Patches []manifest.Patch `json:"patches,omitempty"`
}

type LoadOption

type LoadOption func(*LoadOptions)

type LoadOptions

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

type MachineSet

type MachineSet struct {
	types.SkipStep
	types.ExcludeManifest
	Patches []manifest.Patch `json:"patches,omitempty"`
	AWS     aws.MachineSet   `json:"aws,omitempty"`
}

type MultiarchBuilderController

type MultiarchBuilderController struct {
	types.SkipStep
	types.ExcludeManifest
	Patches []manifest.Patch `json:"patches,omitempty"`
}

type MultiarchTuningOperator

type MultiarchTuningOperator struct {
	types.SkipStep
}

type OAuthTemplate

type OAuthTemplate struct {
	types.SkipStep
	types.ExcludeManifest
	Patches []manifest.Patch `json:"patches,omitempty"`
}

type Onboard

type Onboard struct {
	ReleaseRepo string
	// True if the cluster is an OSD cluster. Set to true by default
	OSD *bool `json:"osd,omitempty"`
	// True if the cluster is hosted (i.e., HyperShift hosted cluster). Set to false by default
	Hosted *bool `json:"hosted,omitempty"`
	// True if the cluster is unmanaged (i.e., not managed by DPTP). Set to false by default
	Unmanaged *bool `json:"unmanaged,omitempty"`
	// True if the token files are used in kubeconfigs. Set to true by default
	UseTokenFileInKubeconfig   *bool                      `json:"useTokenFileInKubeconfig,omitempty"`
	Multiarch                  *bool                      `json:"multiarch,omitempty"`
	Dex                        Dex                        `json:"dex,omitempty"`
	QuayioPullThroughCache     QuayioPullThroughCache     `json:"quayioPullThroughCache,omitempty"`
	Certificate                Certificate                `json:"certificate,omitempty"`
	CISchedulingWebhook        CISchedulingWebhook        `json:"ciSchedulingWebhook,omitempty"`
	MachineSet                 MachineSet                 `json:"machineSet,omitempty"`
	MultiarchBuilderController MultiarchBuilderController `json:"multiarchBuilderController,omitempty"`
	ImageRegistry              ImageRegistry              `json:"imageRegistry,omitempty"`
	PassthroughManifest        PassthroughManifest        `json:"passthrough,omitempty"`
	CloudabilityAgent          CloudabilityAgent          `json:"cloudabilityAgent,omitempty"`
	OpenshiftMonitoring        OpenshiftMonitoring        `json:"openshiftMonitoring,omitempty"`
	MultiarchTuningOperator    MultiarchTuningOperator    `json:"multiarchTuningOperator,omitempty"`
	CertManagerOperator        CertManagerOperator        `json:"certManagerOperator,omitempty"`
	OAuthTemplate              OAuthTemplate              `json:"oauthTemplate,omitempty"`
}

type OpenshiftMonitoring

type OpenshiftMonitoring struct {
	types.SkipStep
	types.ExcludeManifest
	Patches []manifest.Patch `json:"patches,omitempty"`
}

type PassthroughManifest

type PassthroughManifest struct {
	types.SkipStep
	types.ExcludeManifest
}

type Provision

type Provision struct {
	AWS *aws.Provision `json:"aws,omitempty"`
	GCP *gcp.Provision `json:"gcp,omitempty"`
}

type QuayioPullThroughCache

type QuayioPullThroughCache struct {
	types.SkipStep
	types.ExcludeManifest
	Patches []manifest.Patch `json:"patches,omitempty"`
}

Jump to

Keyboard shortcuts

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