Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HubConfig ¶
type HubConfig struct { HubOCPVersion string HubOCPXYVersion string HubAgentServiceConfig *assisted.AgentServiceConfigBuilder HubPullSecret *secret.Builder HubInstallConfig *configmap.Builder HubPullSecretOverride map[string][]byte HubPullSecretOverridePath string `envconfig:"ECO_ASSISTED_ZTP_HUB_PULL_SECRET_OVERRIDE_PATH"` // contains filtered or unexported fields }
HubConfig contains environment information related to the hub cluster.
type SpokeConfig ¶
type SpokeConfig struct { SpokeAPIClient *clients.Settings SpokeOCPVersion string SpokeOCPXYVersion string SpokeClusterName string SpokeKubeConfig string `envconfig:"ECO_ASSISTED_ZTP_SPOKE_KUBECONFIG"` SpokeClusterImageSet string `envconfig:"ECO_ASSISTED_ZTP_SPOKE_CLUSTERIMAGESET"` SpokeClusterDeployment *hive.ClusterDeploymentBuilder SpokeAgentClusterInstall *assisted.AgentClusterInstallBuilder SpokeInfraEnv *assisted.InfraEnvBuilder SpokeInstallConfig *configmap.Builder }
SpokeConfig contains environment information related to the spoke cluster.
type ZTPConfig ¶
type ZTPConfig struct { *assistedconfig.AssistedConfig *HubConfig *SpokeConfig }
ZTPConfig type contains ztp configuration.
func (*ZTPConfig) HubAssistedImageServicePod ¶
HubAssistedImageServicePod retrieves the assisted image service pod from the hub and populates hubAssistedImageServicePod.
func (*ZTPConfig) HubAssistedServicePod ¶
HubAssistedServicePod retrieves the assisted service pod from the hub and populates hubAssistedServicePod.
Click to show internal directories.
Click to hide internal directories.