Documentation ¶
Index ¶
Constants ¶
View Source
const (
ClustersFolder = "clusters"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InfraContext ¶
type InfraContext struct { ctx.ExporterContext ClusterFolder string ExportScript string // contains filtered or unexported fields }
func NewInfraContextFromConfig ¶
func NewInfraContextFromConfig(config *config.Config, clusterConfig *config.ClusterConfig, connectionStatus *connect.ConnectionStatus, logger *logrus.Logger) *InfraContext
func (*InfraContext) InitClusterFolderForUid ¶
func (c *InfraContext) InitClusterFolderForUid(uid string) string
type InfraExporter ¶
type InfraExporter struct {
// contains filtered or unexported fields
}
func NewInfraExporterFromConfig ¶
func NewInfraExporterFromConfig(config *config.Config, clusterConfig *config.ClusterConfig, connectionStatus *connect.ConnectionStatus, logger *logrus.Logger) *InfraExporter
func (*InfraExporter) Export ¶
func (e *InfraExporter) Export() InfraExporterOutput
Click to show internal directories.
Click to hide internal directories.