cmd

package
v0.11.47 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 Imports: 51 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultTemplate   = "default"
	DefaultFolderName = "bruin-pipeline"
)
View Source
const LogsFolder = "logs"

Variables

View Source
var (
	DefaultGlossaryReader = &glossary.GlossaryReader{
		RepoFinder: &git.RepoFinder{},
		FileNames:  []string{"glossary.yml", "glossary.yaml"},
	}

	DefaultPipelineBuilder = pipeline.NewBuilder(builderConfig, pipeline.CreateTaskFromYamlDefinition(fs), pipeline.CreateTaskFromFileComments(fs), fs, DefaultGlossaryReader)
)

Functions

func AddConnection added in v0.11.22

func AddConnection() *cli.Command

func Clean

func Clean(str string) string

func CleanCmd added in v0.1.3

func CleanCmd() *cli.Command

func Connections added in v0.11.22

func Connections() *cli.Command

func DeleteConnection added in v0.11.22

func DeleteConnection() *cli.Command

func Environments added in v0.11.4

func Environments(isDebug *bool) *cli.Command

func Format added in v0.11.27

func Format(isDebug *bool) *cli.Command

func Init added in v0.6.6

func Init() *cli.Command

func Internal added in v0.10.1

func Internal() *cli.Command

func Lineage

func Lineage() *cli.Command

func Lint

func Lint(isDebug *bool) *cli.Command

func ListConnections added in v0.11.22

func ListConnections() *cli.Command

func ListEnvironments added in v0.11.4

func ListEnvironments(isDebug *bool) *cli.Command

func ParseAsset added in v0.10.1

func ParseAsset() *cli.Command

func ParsePipeline added in v0.11.16

func ParsePipeline() *cli.Command

func PatchAsset added in v0.11.27

func PatchAsset() *cli.Command

func RecoverFromPanic added in v0.5.1

func RecoverFromPanic()

func Render

func Render() *cli.Command

func Run

func Run(isDebug *bool) *cli.Command

Types

type CleanCommand added in v0.1.3

type CleanCommand struct {
	// contains filtered or unexported fields
}

func (*CleanCommand) Run added in v0.1.3

func (r *CleanCommand) Run(inputPath string) error

type ConnectionsCommand added in v0.11.22

type ConnectionsCommand struct{}

func (*ConnectionsCommand) ListConnections added in v0.11.22

func (r *ConnectionsCommand) ListConnections(pathToProject, output string) error

type EnvironmentListCommand added in v0.11.4

type EnvironmentListCommand struct{}

func (*EnvironmentListCommand) Run added in v0.11.4

func (r *EnvironmentListCommand) Run(isDebug *bool, output string) error

type ErrorResponse added in v0.11.47

type ErrorResponse struct {
	Error string `json:"error"`
}

type ErrorResponses added in v0.11.47

type ErrorResponses struct {
	Error []string `json:"error"`
}

type LineageCommand

type LineageCommand struct {
	// contains filtered or unexported fields
}

func (*LineageCommand) Run

func (r *LineageCommand) Run(assetPath string, fullLineage bool, output string) error

type ParseCommand added in v0.10.1

type ParseCommand struct {
	// contains filtered or unexported fields
}

func (*ParseCommand) ParsePipeline added in v0.11.16

func (r *ParseCommand) ParsePipeline(assetPath string) error

func (*ParseCommand) Run added in v0.10.1

func (r *ParseCommand) Run(assetPath string) error

type RenderCommand

type RenderCommand struct {
	// contains filtered or unexported fields
}

func (*RenderCommand) Run

func (r *RenderCommand) Run(taskPath string) error

Jump to

Keyboard shortcuts

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