Documentation ¶
Index ¶
- Constants
- Variables
- func GetExtendHostCollector(kbCollector *preflightv1beta2.ExtendHostCollect, bundlePath string) (collect.HostCollector, bool)
- func ResolveRegionNameByEndPoint(providerName, endPoint string) string
- type ClusterRegionInfo
- type CollectClusterRegion
- type CollectHostUtility
- type HostUtilityInfo
Constants ¶
View Source
const ( ClusterRegionTitle = "Cluster Region" ClusterRegionPath = "host-collectors/extend/region_name.json" )
View Source
const DefaultHostUtilityName = "Host Utility"
View Source
const DefaultHostUtilityPath = "utility"
View Source
const UtilityPathFormat = "host-collectors/utility/%s.json"
Variables ¶
View Source
var RestConfigFn = func() (*rest.Config, error) { return cmdutil.NewFactory(cmdutil.NewMatchVersionFlags(cliutil.NewConfigFlagNoWarnings())).ToRESTConfig() }
Functions ¶
func GetExtendHostCollector ¶
func GetExtendHostCollector(kbCollector *preflightv1beta2.ExtendHostCollect, bundlePath string) (collect.HostCollector, bool)
Types ¶
type ClusterRegionInfo ¶
type ClusterRegionInfo struct {
RegionName string `json:"regionName"`
}
type CollectClusterRegion ¶
type CollectClusterRegion struct { HostCollector *preflightv1beta2.ClusterRegion BundlePath string }
func (*CollectClusterRegion) Collect ¶
func (c *CollectClusterRegion) Collect(progressChan chan<- interface{}) (map[string][]byte, error)
func (*CollectClusterRegion) IsExcluded ¶
func (c *CollectClusterRegion) IsExcluded() (bool, error)
func (*CollectClusterRegion) Title ¶
func (c *CollectClusterRegion) Title() string
type CollectHostUtility ¶
type CollectHostUtility struct { HostCollector *preflightv1beta2.HostUtility BundlePath string }
func (*CollectHostUtility) Collect ¶
func (c *CollectHostUtility) Collect(progressChan chan<- interface{}) (map[string][]byte, error)
func (*CollectHostUtility) IsExcluded ¶
func (c *CollectHostUtility) IsExcluded() (bool, error)
func (*CollectHostUtility) Title ¶
func (c *CollectHostUtility) Title() string
type HostUtilityInfo ¶
Click to show internal directories.
Click to hide internal directories.