Documentation ¶
Index ¶
- func Diff(d *Dependencies, settings []byte, skipMatches string, ...) error
- func NewDeleteCommand(d *Dependencies) *cobra.Command
- func NewDiffCommand(d *Dependencies) *cobra.Command
- func NewExecCommand(d *Dependencies, configPath string) *cobra.Command
- func NewProjectCommand(d *Dependencies) *cobra.Command
- func NewProjectInitCommand(d *Dependencies) *cobra.Command
- func NewRenderCommand(d *Dependencies) *cobra.Command
- func NewSaveCommand(d *Dependencies) *cobra.Command
- func NewTestRemoteCommand(d *Dependencies) *cobra.Command
- func Render(d *Dependencies, settings []byte, renderType renderer.RenderType) (string, error)
- type Dependencies
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Diff ¶
func Diff(d *Dependencies, settings []byte, skipMatches string, renderType renderer.RenderType) error
Diff Using a Project & Renderer & Get, renders the pipeline and shows the difference between current and desired state.
func NewDeleteCommand ¶ added in v0.0.12
func NewDeleteCommand(d *Dependencies) *cobra.Command
NewDeleteCommand - Using a Project, Renderer & Backend, renders and deletes a pipeline and its nested pipelines. Abstraction for different configuration languages (I.E. Jsonnet/HCL/CUELang)
func NewDiffCommand ¶
func NewDiffCommand(d *Dependencies) *cobra.Command
NewDiffCommand - A Cobra wrapper for the common Diff function. Abstraction for different configuration languages (I.E. Jsonnet/HCL/CUELang)
func NewExecCommand ¶
func NewExecCommand(d *Dependencies, configPath string) *cobra.Command
NewExecCommand - Using a Project, Renderer & Backend, executes a pipeline pipeline.
func NewProjectCommand ¶
func NewProjectCommand(d *Dependencies) *cobra.Command
NewProjectCommand - Creates the `project` subcommand
func NewProjectInitCommand ¶
func NewProjectInitCommand(d *Dependencies) *cobra.Command
NewProjectInitCommand - initialize a `shore` project.
func NewRenderCommand ¶
func NewRenderCommand(d *Dependencies) *cobra.Command
NewRenderCommand - A Cobra wrapper for the common Render function. Abstraction for different configuration languages (I.E. Jsonnet/HCL/CUELang)
func NewSaveCommand ¶
func NewSaveCommand(d *Dependencies) *cobra.Command
NewSaveCommand - Using a Project, Renderer & Backend, renders and saves a pipeline. Abstraction for different configuration languages (I.E. Jsonnet/HCL/CUELang)
func NewTestRemoteCommand ¶
func NewTestRemoteCommand(d *Dependencies) *cobra.Command
NewTestRemoteCommand - Using a Project, Renderer & Backend runs a test suite defined in a config file and outputs the results to the customer. Abstraction for different configuration languages (I.E. Jsonnet/HCL/CUELang/etc...) and backends (Spinnaker/Tekton/ArgoCD/JenkinsX/etc...)
func Render ¶
func Render(d *Dependencies, settings []byte, renderType renderer.RenderType) (string, error)
Render - Using a Project & Renderer, renders the pipeline.
Types ¶
type Dependencies ¶
type Dependencies struct { Renderer renderer.Renderer Backend backend.Backend Logger logrus.FieldLogger Project *project.Project }
Dependencies - Shared dependencies all controller MAY require