cmd

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type EventData added in v0.2.5

type EventData struct {
	AuthHeader            string   `json:"authHeader"`
	ChsFilePath           string   `json:"chsFilePath"`
	EnvFilePath           string   `json:"envFilePath"`
	Namespace             string   `json:"namespace"`
	Release               string   `json:"release"`
	ScalerHost            string   `json:"scalerHost"`
	StartingWorkflowCount int      `json:"startingWorkflowCount"`
	TargetWorkflowNames   []string `json:"targetWorkflowNames"`
	WorkflowsToDeploy     []Workflow
}

type FilesToCopy added in v0.2.5

type FilesToCopy struct {
	Source      string `mapstructure:"src"`
	Destination string `mapstructure:"dest"`
}

type Workflow added in v0.2.5

type Workflow struct {
	ID            string `json:"id"`
	Name          string `json:"name"`
	Path          string `json:"path"`
	Status        string `json:"status"`
	WorkflowGroup string `json:"workflowGroup"`
}

type WorkflowsResponse added in v0.2.5

type WorkflowsResponse struct {
	Workflows []Workflow `json:"workflows"`
}

Jump to

Keyboard shortcuts

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