scenario

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Copyright Contributors to the Open Cluster Management project

Index

Constants

This section is empty.

Variables

View Source
var Files embed.FS

Functions

This section is empty.

Types

type BundleVersion added in v0.8.1

type BundleVersion struct {
	// registration image version
	RegistrationImageVersion string
	// placement image version
	PlacementImageVersion string
	// work image version
	WorkImageVersion string
	// operator image version
	OperatorImageVersion string
	// addon manager image version
	AddonManagerImageVersion string
}

type Hub added in v0.8.1

type Hub struct {
	// TokenID: A token id allowing the cluster to connect back to the hub
	TokenID string `json:"tokenID"`
	// TokenSecret: A token secret allowing the cluster to connect back to the hub
	TokenSecret string `json:"tokenSecret"`
	// Registry is the name of the image registry to pull.
	Registry string `json:"registry"`

	// ImagePullCred is the credential used to pull image. should be a base64 string and will be filled into the default image pull secret
	// named open-cluster-management-image-pull-credentials.
	ImagePullCred string `json:"imagePullCred"`
}

Hub: The hub values for the template

type Values added in v0.8.1

type Values struct {
	// The values related to the hub
	Hub Hub `json:"hub"`
	// bundle version
	BundleVersion BundleVersion

	// if enable auto approve
	AutoApprove bool

	// Features is the slice of feature for registration
	RegistrationFeatures []operatorv1.FeatureGate

	// Features is the slice of feature for work
	WorkFeatures []operatorv1.FeatureGate

	// Features is the slice of feature for addon manager
	AddonFeatures []operatorv1.FeatureGate

	// ResourceRequirement is the resource requirement setting for the containers managed by the cluster manager
	// and the cluster manager operator
	ResourceRequirement resourcerequirement.ResourceRequirement
}

Values: The values used in the template

Jump to

Keyboard shortcuts

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