Documentation ¶
Index ¶
- Constants
- Variables
- func FinalizeOption(fo FinalizeOptions) func(*LoadOptions)
- func LoadFromDir(dir string, opts ...LoadOption) (map[string]*ClusterInstall, error)
- type CISchedulingWebhook
- type CertManagerOperator
- type Certificate
- type CloudabilityAgent
- type ClusterInstall
- type Dex
- type FinalizeOptions
- type ImageRegistry
- type LoadOption
- type LoadOptions
- type MachineSet
- type MultiarchBuilderController
- type MultiarchTuningOperator
- type OAuthTemplate
- type Onboard
- type OpenshiftMonitoring
- type PassthroughManifest
- type Provision
- type QuayioPullThroughCache
Constants ¶
Variables ¶
View Source
var ( CIWorkloadDefaults []string = []string{BuildsWorkload, TestsWorkload, LongTestsWorkload, ProwJobsWorkload} MachineProfileDefaults []string = []string{MachineProfileWorker, MachineProfileInfra} )
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 Certificate ¶
type CloudabilityAgent ¶
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 FinalizeOptions ¶
type ImageRegistry ¶
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 MultiarchTuningOperator ¶
type OAuthTemplate ¶
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 PassthroughManifest ¶
type PassthroughManifest struct { types.SkipStep types.ExcludeManifest }
type QuayioPullThroughCache ¶
Click to show internal directories.
Click to hide internal directories.