Documentation
¶
Index ¶
- type BuildInfo
- type ClusterInfo
- type CrcBundleInfo
- func (bundle *CrcBundleInfo) GetAPIHostname() string
- func (bundle *CrcBundleInfo) GetAppHostname(appName string) string
- func (bundle *CrcBundleInfo) GetBundleBuildTime() (time.Time, error)
- func (bundle *CrcBundleInfo) GetDiskImagePath() string
- func (bundle *CrcBundleInfo) GetInitramfsPath() string
- func (bundle *CrcBundleInfo) GetKernelPath() string
- func (bundle *CrcBundleInfo) GetKubeConfigPath() string
- func (bundle *CrcBundleInfo) GetKubeadminPassword() (string, error)
- func (bundle *CrcBundleInfo) GetOpenshiftVersion() string
- func (bundle *CrcBundleInfo) GetSSHKeyPath() string
- func (bundle *CrcBundleInfo) Verify() error
- type DiskImage
- type DriverInfo
- type Node
- type Repository
- type Storage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterInfo ¶ added in v1.20.0
type ClusterInfo struct {
OpenShiftVersion string `json:"openshiftVersion"`
ClusterName string `json:"clusterName"`
BaseDomain string `json:"baseDomain"`
AppsDomain string `json:"appsDomain"`
SSHPrivateKeyFile string `json:"sshPrivateKeyFile"`
KubeConfig string `json:"kubeConfig"`
KubeadminPasswordFile string `json:"kubeadminPasswordFile"`
OpenshiftPullSecret string `json:"openshiftPullSecret,omitempty"`
}
type CrcBundleInfo ¶
type CrcBundleInfo struct {
Version string `json:"version"`
Type string `json:"type"`
BuildInfo BuildInfo `json:"buildInfo"`
ClusterInfo ClusterInfo `json:"clusterInfo"`
Nodes []Node `json:"nodes"`
Storage Storage `json:"storage"`
DriverInfo DriverInfo `json:"driverInfo"`
// contains filtered or unexported fields
}
func Extract ¶
func Extract(path string) (*CrcBundleInfo, error)
func GetCachedBundleInfo ¶
func GetCachedBundleInfo(bundleName string) (*CrcBundleInfo, error)
func (*CrcBundleInfo) GetAPIHostname ¶
func (bundle *CrcBundleInfo) GetAPIHostname() string
func (*CrcBundleInfo) GetAppHostname ¶
func (bundle *CrcBundleInfo) GetAppHostname(appName string) string
func (*CrcBundleInfo) GetBundleBuildTime ¶
func (bundle *CrcBundleInfo) GetBundleBuildTime() (time.Time, error)
func (*CrcBundleInfo) GetDiskImagePath ¶
func (bundle *CrcBundleInfo) GetDiskImagePath() string
func (*CrcBundleInfo) GetInitramfsPath ¶
func (bundle *CrcBundleInfo) GetInitramfsPath() string
func (*CrcBundleInfo) GetKernelPath ¶
func (bundle *CrcBundleInfo) GetKernelPath() string
func (*CrcBundleInfo) GetKubeConfigPath ¶
func (bundle *CrcBundleInfo) GetKubeConfigPath() string
func (*CrcBundleInfo) GetKubeadminPassword ¶
func (bundle *CrcBundleInfo) GetKubeadminPassword() (string, error)
func (*CrcBundleInfo) GetOpenshiftVersion ¶
func (bundle *CrcBundleInfo) GetOpenshiftVersion() string
func (*CrcBundleInfo) GetSSHKeyPath ¶
func (bundle *CrcBundleInfo) GetSSHKeyPath() string
func (*CrcBundleInfo) Verify ¶ added in v1.20.0
func (bundle *CrcBundleInfo) Verify() error
type DriverInfo ¶ added in v1.20.0
type DriverInfo struct {
Name string `json:"name"`
}
type Repository ¶ added in v1.20.0
func (*Repository) Extract ¶ added in v1.20.0
func (repo *Repository) Extract(path string) error
func (*Repository) Get ¶ added in v1.20.0
func (repo *Repository) Get(bundleName string) (*CrcBundleInfo, error)
func (*Repository) Use ¶ added in v1.20.0
func (repo *Repository) Use(bundleName string) (*CrcBundleInfo, error)
Click to show internal directories.
Click to hide internal directories.