bootstrap

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateConfig

func CreateConfig(cfg Config, directory string) error

CreateConfig creates the bootstrap config

Types

type Config

type Config struct {
	// GitRepository is the git repository flux resource the installation uses
	GitRepository profilesv1.GitRepository `yaml:"gitRepository,omitempty"`
	// DefaultDir defines the location to use with pctl add
	DefaultDir string `yaml:"defaultDir,omitempty"`
}

Config contains the pctl bootstrap configuration

func GetConfig

func GetConfig(directory string) *Config

GetConfig gets the bootstrap config

Jump to

Keyboard shortcuts

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