cmd

package
v0.4.3-beta Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildDataSource

func BuildDataSource(config config.Config, offline bool, offlineSource *string) (string, error)

func CheckFileExists

func CheckFileExists(filePath string) bool

func Execute

func Execute(providerFactory *factory.ProviderFactory, scenarioOrchestrator *scenario_orchestrator.ScenarioOrchestrator, config config.Config)

func FetchScenarios

func FetchScenarios(provider provider.ScenarioDataProvider, dataSource string) (*[]string, error)

func GetProvider

func GetProvider(offline bool, providerFactory *factory.ProviderFactory) provider.ScenarioDataProvider

func NewArgumentTable

func NewArgumentTable(inputFields []typing.InputField) table.Table

func NewAttachCmd

func NewAttachCmd(scenarioOrchestrator *scenario_orchestrator.ScenarioOrchestrator) *cobra.Command

func NewCleanCommand

func NewCleanCommand(scenarioOrchestrator *scenario_orchestrator.ScenarioOrchestrator, config config.Config) *cobra.Command

func NewDescribeCommand

func NewDescribeCommand(factory *factory.ProviderFactory, config config.Config) *cobra.Command

func NewEnvironmentTable

func NewEnvironmentTable(env map[string]string) table.Table

func NewGraphCommand

func NewGraphCommand() *cobra.Command

func NewGraphRunCommand

func NewGraphRunCommand(factory *providerfactory.ProviderFactory, scenarioOrchestrator *scenario_orchestrator.ScenarioOrchestrator, config config.Config) *cobra.Command

func NewGraphScaffoldCommand

func NewGraphScaffoldCommand(factory *providerfactory.ProviderFactory, config config.Config) *cobra.Command

func NewGraphTable

func NewGraphTable(graph [][]string) table.Table

func NewListCommand

func NewListCommand() *cobra.Command

func NewListRunningScenario

func NewListRunningScenario(scenarioOrchestrator *scenario_orchestrator.ScenarioOrchestrator) *cobra.Command

func NewListScenariosCommand

func NewListScenariosCommand(factory *providerfactory.ProviderFactory, config config.Config) *cobra.Command

func NewRootCommand

func NewRootCommand(krknctlConfig config.Config) *cobra.Command

func NewRunCommand

func NewRunCommand(factory *factory.ProviderFactory, scenarioOrchestrator *scenario_orchestrator.ScenarioOrchestrator, config config.Config) *cobra.Command

func NewRunningScenariosTable

func NewRunningScenariosTable(runningScenarios []orchestratormodels.RunningScenario) table.Table

func NewScenarioTable

func NewScenarioTable(scenarios *[]models.ScenarioTag) table.Table

func NewSpinnerWithSuffix

func NewSpinnerWithSuffix(suffix string) *spinner.Spinner

func PrintScenarioDetail

func PrintScenarioDetail(scenarioDetail *models.ScenarioDetail)

Types

This section is empty.

Jump to

Keyboard shortcuts

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