context

package
v0.0.0-...-f136377 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LookupOrCreateFolder

func LookupOrCreateFolder(c Context, path ...string) string

Types

type Context

type Context interface {
	RootFolder() string
}

type ExporterContext

type ExporterContext struct {
	OutputFolder     string
	ConnectionStatus *connect.ConnectionStatus
}

func (*ExporterContext) InitFromConfig

func (c *ExporterContext) InitFromConfig(config *config.Config, connectionStatus *connect.ConnectionStatus)

func (*ExporterContext) KubeConfig

func (c *ExporterContext) KubeConfig() *rest.Config

func (*ExporterContext) KubeConfigPath

func (c *ExporterContext) KubeConfigPath() string

func (*ExporterContext) RootFolder

func (c *ExporterContext) RootFolder() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL