cmd

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2025 License: BSD-3-Clause Imports: 42 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

func NewCollectInputCommand

func NewCollectInputCommand(
	restConfigFunc func() (*rest.Config, error),
) *cobra.Command

func NewRenderCommand

func NewRenderCommand(
	restConfigFunc func() (*rest.Config, error),
) *cobra.Command

Types

type RenderInput

type RenderInput struct {
	Triggers  []RenderInputTrigger `json:"triggers"`
	Context   []RenderInputContext `json:"context"`
	Libraries map[string]string    `json:"libraries"`
}

type RenderInputContext

type RenderInputContext struct {
	Name      string                      `json:"name"`
	Resources []unstructured.Unstructured `json:"resources"`
}

type RenderInputTrigger

type RenderInputTrigger struct {
	Name          string                     `json:"name"`
	WatchResource *unstructured.Unstructured `json:"watchResource"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳