scaffold

package
v0.78.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PolicySpec

type PolicySpec struct {
	// Authors is the policy authors
	Authors []string
	// Description is the policy description
	Description string
	// Documentation is the policy documentation URL
	Documentation string
	// License is the policy license
	License string
	// Source is the policy source URL
	Source string
	// Version is the policy version
	Version string
	// Vendor is the policy vendor
	Vendor string
	// URL is the policy url
	URL string
}

PolicySpec is the policy specification

type Scaffold

type Scaffold struct {
	// PolicyFile is the policy file name
	PolicyFile string
	// ValuesFile is the values directory name
	ValuesFile string
	// SecretsDir is the secrets directory name
	SecretsDir string
	// ConfigDir is the config directory name
	ConfigDir string
}

Scaffold is the main structure to scaffold a new Updatecli policy

func (*Scaffold) Init

func (s *Scaffold) Init()

Init initialize a new scaffold

func (*Scaffold) Run

func (s *Scaffold) Run(rootDir string) error

Run scaffold a new Updatecli policy

Jump to

Keyboard shortcuts

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