Documentation ¶
Index ¶
Constants ¶
View Source
const (
ValuesKeyGlobal = "global"
)
Variables ¶
This section is empty.
Functions ¶
func SubChartValues ¶
func SubChartValues(subChartName string, values map[string]interface{}) (*apiextensionsv1.JSON, error)
SubChartValues is the equivalent function to what helm client does with the global values file and its subchart values
Types ¶
type AppNode ¶
func NewAppNode ¶
func NewAppNode(application *v1alpha1.Application) *AppNode
type ExecutorNode ¶
type ExecutorNode struct { Name string Dependencies []string Executor executorpkg.Executor Params *apiextensionsv1.JSON }
func NewDefaultExecutorNode ¶
func NewDefaultExecutorNode() *ExecutorNode
func NewExecutorNode ¶
func NewExecutorNode(executor *v1alpha1.Executor) *ExecutorNode
func (*ExecutorNode) DeepCopy ¶
func (executorNode *ExecutorNode) DeepCopy() *ExecutorNode
type Graph ¶
type Graph struct { Name string AllExecutors map[string]executorpkg.Executor Nodes map[string]*AppNode }
func Combine ¶
Combine adds app nodes from the second graph to the first graph If an app node with the same name exists in second graph from the first graph, it is ignored.
func NewForwardGraph ¶
func NewForwardGraph(appGroup *v1alpha1.ApplicationGroup) *Graph
NewForwardGraph takes in an ApplicationGroup and forms an abstracted DAG graph interface with app nodes and task nodes that can be passed into the template generation functions
func NewReverseGraph ¶
func NewReverseGraph(appGroup *v1alpha1.ApplicationGroup) *Graph
NewReverseGraph creates a new reversed DAG based off the passed ApplicationGroup
Click to show internal directories.
Click to hide internal directories.