argocd

package
v0.1.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WorkflowEngine

type WorkflowEngine struct {
	// RepoURL is used as the source repo for generated Applications
	RepoURL string
	// DefaultNamespace is the default namespace for ArgoCD Applications
	DefaultNamespace string
}

WorkflowEngine implements the stack.Workflow interface for ArgoCD.

func Engine

func Engine() *WorkflowEngine

Engine creates an ArgoCD workflow engine.

func (*WorkflowEngine) CreateLayoutWithResources

func (w *WorkflowEngine) CreateLayoutWithResources(c *stack.Cluster, rulesInterface interface{}) (interface{}, error)

CreateLayoutWithResources creates a new layout that includes ArgoCD Applications.

func (*WorkflowEngine) GenerateBootstrap

func (w *WorkflowEngine) GenerateBootstrap(config *stack.BootstrapConfig, rootNode *stack.Node) ([]client.Object, error)

GenerateBootstrap creates bootstrap resources for setting up ArgoCD.

func (*WorkflowEngine) GenerateFromBundle

func (w *WorkflowEngine) GenerateFromBundle(b *stack.Bundle) ([]client.Object, error)

GenerateFromBundle creates an ArgoCD Application from a bundle definition.

func (*WorkflowEngine) GenerateFromCluster

func (w *WorkflowEngine) GenerateFromCluster(c *stack.Cluster) ([]client.Object, error)

GenerateFromCluster creates ArgoCD Applications from a cluster definition.

func (*WorkflowEngine) GenerateFromNode

func (w *WorkflowEngine) GenerateFromNode(n *stack.Node) ([]client.Object, error)

GenerateFromNode creates ArgoCD Applications from a node and its children.

func (*WorkflowEngine) GetName

func (w *WorkflowEngine) GetName() string

GetName returns a human-readable name for this workflow engine.

func (*WorkflowEngine) GetVersion

func (w *WorkflowEngine) GetVersion() string

GetVersion returns the version of this workflow engine.

func (*WorkflowEngine) IntegrateWithLayout

func (w *WorkflowEngine) IntegrateWithLayout(ml *layout.ManifestLayout, c *stack.Cluster, rules layout.LayoutRules) error

IntegrateWithLayout adds ArgoCD Applications to an existing manifest layout. For ArgoCD, this is typically not needed as Applications reference external repos.

func (*WorkflowEngine) SetDefaultNamespace

func (w *WorkflowEngine) SetDefaultNamespace(namespace string)

SetDefaultNamespace configures the default namespace for ArgoCD Applications.

func (*WorkflowEngine) SetRepoURL

func (w *WorkflowEngine) SetRepoURL(repoURL string)

SetRepoURL configures the repository URL for generated Applications.

func (*WorkflowEngine) SupportedBootstrapModes

func (w *WorkflowEngine) SupportedBootstrapModes() []string

SupportedBootstrapModes returns the bootstrap modes supported by ArgoCD.

Jump to

Keyboard shortcuts

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