Documentation
¶
Index ¶
- Constants
- func LookupOrCreateFolder(c Context, path ...string) string
- type Context
- type ExporterContext
- func (c *ExporterContext) InitFromConfig(config *config.Config, connectionStatus *connect.ConnectionStatus, ...)
- func (c *ExporterContext) KubeConfig() *rest.Config
- func (c *ExporterContext) KubeConfigPath() string
- func (c *ExporterContext) Logger() *logrus.Logger
- func (c *ExporterContext) RootFolder() string
Constants ¶
View Source
const (
ExportFolder = "export"
)
Variables ¶
This section is empty.
Functions ¶
func LookupOrCreateFolder ¶
Types ¶
type ExporterContext ¶
type ExporterContext struct { OutputFolder string ConnectionStatus *connect.ConnectionStatus Debug bool // contains filtered or unexported fields }
func (*ExporterContext) InitFromConfig ¶
func (c *ExporterContext) InitFromConfig(config *config.Config, connectionStatus *connect.ConnectionStatus, logger *logrus.Logger, debug bool)
func (*ExporterContext) KubeConfig ¶
func (c *ExporterContext) KubeConfig() *rest.Config
func (*ExporterContext) KubeConfigPath ¶
func (c *ExporterContext) KubeConfigPath() string
func (*ExporterContext) Logger ¶
func (c *ExporterContext) Logger() *logrus.Logger
func (*ExporterContext) RootFolder ¶
func (c *ExporterContext) RootFolder() string
Click to show internal directories.
Click to hide internal directories.