cmd

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddContainer

func AddContainer(cmd *cobra.Command, args []string) error

func BuildContainer added in v0.2.0

func BuildContainer(cmd *cobra.Command, args []string) error

func BuildPromise

func BuildPromise(cmd *cobra.Command, args []string) error

func Execute

func Execute(version string)

func FindContainer added in v0.2.0

func FindContainer(dirEntries []fs.DirEntry, containers []v1alpha1.Container, name string) (int, error)

func InitHelmPromise

func InitHelmPromise(cmd *cobra.Command, args []string) error

func InitPromise

func InitPromise(cmd *cobra.Command, args []string) error

func InitPromiseFromOperator

func InitPromiseFromOperator(cmd *cobra.Command, args []string) error

func LoadPromiseWithWorkflows added in v0.2.0

func LoadPromiseWithWorkflows(dir string) (*v1alpha1.Promise, error)

func LoadWorkflows added in v0.2.0

func LoadWorkflows(dir string) (v1alpha1.Workflows, error)

func RetrievePipeline added in v0.2.0

func RetrievePipeline(promise *v1alpha1.Promise, c *ContainerCmdArgs) (*v1alpha1.Pipeline, error)

func UpdateAPI

func UpdateAPI(cmd *cobra.Command, args []string) error

func UpdateSelector

func UpdateSelector(cmd *cobra.Command, args []string) error

Types

type BuildContainerOptions added in v0.2.0

type BuildContainerOptions struct {
	Name               string
	Dir                string
	BuildAllContainers bool

	Engine    string
	Buildx    bool
	Push      bool
	BuildArgs string
}

type ContainerCmdArgs added in v0.2.0

type ContainerCmdArgs struct {
	Lifecycle string
	Action    string
	Pipeline  string
}

func ParseContainerCmdArgs added in v0.2.0

func ParseContainerCmdArgs(containerPath string) (*ContainerCmdArgs, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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