Documentation ¶
Overview ¶
Copyright Contributors to the Open Cluster Management project
Copyright Contributors to the Open Cluster Management project
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BootstrapConfig ¶
type BootstrapGetter ¶
type BootstrapGetter interface { KubeConfig() (clientcmdapiv1.Config, error) KubeConfigRaw() ([]byte, error) }
func NewTokenBootStrapper ¶
func NewTokenBootStrapper(config BootstrapConfig, client kubernetes.Interface) BootstrapGetter
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func NewBuilder ¶
func NewBuilder() *Builder
func (*Builder) ApplyImport ¶
func (*Builder) WithSpokeKubeConfig ¶
func (b *Builder) WithSpokeKubeConfig(config clientcmd.ClientConfig) *Builder
func (*Builder) WithValues ¶
type BundleVersion ¶
type Hub ¶
type Hub struct { //APIServer: The API Server external URL APIServer string //KubeConfig: The kubeconfig of the bootstrap secret to connect to the hub KubeConfig string }
Hub: The hub values for the template
type Klusterlet ¶
type Klusterlet struct { //APIServer: The API Server external URL APIServer string Mode string Name string }
Klusterlet is for templating klusterlet configuration
type TokenBootStrapper ¶
type TokenBootStrapper struct {
// contains filtered or unexported fields
}
func (*TokenBootStrapper) KubeConfig ¶
func (g *TokenBootStrapper) KubeConfig() (clientcmdapiv1.Config, error)
func (*TokenBootStrapper) KubeConfigRaw ¶
func (g *TokenBootStrapper) KubeConfigRaw() ([]byte, error)
type Values ¶
type Values struct { //ClusterName: the name of the joined cluster on the hub ClusterName string //AgentNamespace: the namespace to deploy the agent AgentNamespace string //Hub: Hub information Hub Hub //Klusterlet is the klusterlet related configuration Klusterlet Klusterlet //Registry is the image registry related configuration Registry string //bundle version BundleVersion BundleVersion // managed kubeconfig ManagedKubeconfig string // Features is the slice of feature for registration RegistrationFeatures []operatorv1.FeatureGate // Features is the slice of feature for work WorkFeatures []operatorv1.FeatureGate }
Values: The values used in the template
Click to show internal directories.
Click to hide internal directories.