stubs

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Anchor Folder 1
	CommandFolder1Name         = "app"
	CommandFolder1DirPath      = "/anchorfiles/app"
	CommandFolder1Description  = "folder1 description"
	CommandFolder1CommandUse   = "app"
	CommandFolder1CommandShort = "Application commands"

	// Anchor Folder 1: Item 1
	CommandFolder1Item1Name             = "app-1"
	CommandFolder1Item1DirPath          = "/anchorfiles/app/app-1"
	CommandFolder1Item1InstructionsPath = "/anchorfiles/app/app-1/instructions.yaml"

	// Anchor Folder 1: Item 1: Action 1
	CommandFolder1Item1Action1Id          = "app-1-action1"
	CommandFolder1Item1Action1DisplayName = "app : 1 : action1"
	CommandFolder1Item1Action1Title       = "app-1-action1 title"
	CommandFolder1Item1Action1Description = "app-1-action1 description"
	CommandFolder1Item1Action1ScriptFile  = "/anchorfiles/app/app-1/script-action1.sh"

	// Anchor Folder 1: Item 1: Action 2
	CommandFolder1Item1Action2Id          = "app-1-action2"
	CommandFolder1Item1Action2DisplayName = "app : 1 : action2"
	CommandFolder1Item1Action2Title       = "app-1-action2 title"
	CommandFolder1Item1Action2Description = "app-1-action2 description"
	CommandFolder1Item1Action2ScriptFile  = "/anchorfiles/app/app-1/script-action2.sh"

	// Anchor Folder 1: Item 1: Workflow 1
	CommandFolder1Item1Workflow1Id               = "app-1-workflow1"
	CommandFolder1Item1Workflow1DisplayName      = "app : 1 : workflow1"
	CommandFolder1Item1Workflow1Description      = "app-1-workflow1 description"
	CommandFolder1Item1Workflow1TolerateFailures = false

	// Anchor Folder 1: Item 2
	CommandFolder1Item2Name             = "app-2"
	CommandFolder1Item2DirPath          = "/anchorfiles/app/app-2"
	CommandFolder2Description           = "folder2 description"
	CommandFolder1Item2InstructionsPath = "/anchorfiles/app/app-2/instructions.yaml"

	// Anchor Folder 1: Item 2: Action 1
	CommandFolder1Item2Action1Id          = "app-2-action1"
	CommandFolder1Item2Action1DisplayName = "app : 2 : action1"
	CommandFolder1Item2Action1Title       = "app-2-action1 title"
	CommandFolder1Item2Action1Description = "app-2-action1 description"
	CommandFolder1Item2Action1ScriptFile  = "/anchorfiles/app/app-2/script-action1.sh"

	// Anchor Folder 2
	CommandFolder2Name         = "k8s"
	CommandFolder2DirPath      = "/anchorfiles/k8s"
	CommandFolder2CommandUse   = "k8s"
	CommandFolder2CommandShort = "Kubernetes distributions"

	// Anchor Folder 2: Item 1
	CommandFolder2Item1Name             = "k8s-1"
	CommandFolder2Item1DirPath          = "/anchorfiles/k8s/k8s-1"
	CommandFolder2Item1InstructionsPath = "/anchorfiles/k8s/k8s-1/instructions.yaml"

	// Anchor Folder 2: Item 1: Action 1
	CommandFolder2Item1Action1Id          = "k8s-1-action1"
	CommandFolder2Item1Action1DisplayName = "k8s : 1 : action1"
	CommandFolder2Item1Action1Title       = "k8s-1-action1 title"
	CommandFolder2Item1Action1Description = "k8s-1-action1 description"
	CommandFolder2Item1Action1Script      = "echo hello k8s-1-action1"

	// Anchor Folder 2: Item 1: Action 2
	CommandFolder2Item1Action2Id          = "k8s-1-action2"
	CommandFolder2Item1Action2DisplayName = "k8s : 1 : action2"
	CommandFolder2Item1Action2Title       = "k8s-1-action2 title"
	CommandFolder2Item1Action2Description = "k8s-1-action2 description"
	CommandFolder2Item1Action2Script      = "echo hello k8s-1-action2"

	// Anchor Folder 2: Item 1: Workflow 1
	CommandFolder2Item1Workflow1Id               = "k8s-1-workflow1"
	CommandFolder2Item1Workflow1DisplayName      = "k8s : 1 : workflow1"
	CommandFolder2Item1Workflow1Title            = "k8s-1-workflow1 title"
	CommandFolder2Item1Workflow1Description      = "k8s-1-workflow1 description"
	CommandFolder2Item1Workflow1TolerateFailures = false
)

Variables

This section is empty.

Functions

func GenerateCommandFolderInfoTestData

func GenerateCommandFolderInfoTestData() []*models.CommandFolderInfo

func GenerateCommandFolderItemsInfoTestData

func GenerateCommandFolderItemsInfoTestData() []*models.CommandFolderItemInfo

func GenerateInstructionsTestData

func GenerateInstructionsTestData() *models.InstructionsRoot

func GenerateInstructionsTestDataWithoutWorkflows

func GenerateInstructionsTestDataWithoutWorkflows() *models.InstructionsRoot

func GetCommandFolderItemByName

func GetCommandFolderItemByName(appsArr []*models.CommandFolderItemInfo, name string) *models.CommandFolderItemInfo

Types

This section is empty.

Jump to

Keyboard shortcuts

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