Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddNodesConfig ¶
AddNodesConfig is used to store the current configuration for the command.
func (*AddNodesConfig) Dependencies ¶
func (*AddNodesConfig) Dependencies() []asset.Asset
Dependencies returns all of the dependencies directly needed to generate the asset.
func (*AddNodesConfig) Files ¶
func (*AddNodesConfig) Files() []*asset.File
Files returns the files generated by the asset.
func (*AddNodesConfig) Generate ¶
func (*AddNodesConfig) Generate(dependencies asset.Parents) error
Generate it's empty for this asset, always loaded from disk.
func (*AddNodesConfig) Load ¶
func (a *AddNodesConfig) Load(f asset.FileFetcher) (bool, error)
Load returns agent config asset from the disk.
func (*AddNodesConfig) Name ¶
func (*AddNodesConfig) Name() string
Name returns the human-friendly name of the asset.
type ClusterInfo ¶
type ClusterInfo struct { Client kubernetes.Interface OpenshiftClient configclient.Interface ClusterID string ClusterName string Version string ReleaseImage string APIDNSName string PullSecret string Namespace string UserCaBundle string Proxy *types.Proxy Architecture string ImageDigestSources []types.ImageDigestSource DeprecatedImageContentSources []types.ImageContentSource PlatformType hiveext.PlatformType SSHKey string OSImage *stream.Stream OSImageLocation string }
ClusterInfo it's an asset used to retrieve config info from an already existing cluster. A number of different resources are inspected to extract the required configuration.
func (*ClusterInfo) Dependencies ¶
func (*ClusterInfo) Dependencies() []asset.Asset
Dependencies returns all of the dependencies directly needed to generate the asset.
func (*ClusterInfo) Files ¶
func (*ClusterInfo) Files() []*asset.File
Files returns the files generated by the asset.
func (*ClusterInfo) Generate ¶
func (ci *ClusterInfo) Generate(dependencies asset.Parents) error
Generate generates the ClusterInfo.
func (*ClusterInfo) Load ¶
func (*ClusterInfo) Load(f asset.FileFetcher) (bool, error)
Load returns agent config asset from the disk.
func (*ClusterInfo) Name ¶
func (ci *ClusterInfo) Name() string
Name returns the human-friendly name of the asset.