provision

package
v5.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProvisionCommand

func NewProvisionCommand() *cobra.Command

NewProvisionCommand is the 'beta provision' commmand

Types

type Config

type Config struct {
	License struct {
		FileRef FileRef `yaml:"fileRef"`
	} `yaml:"license"`
	Connections map[string]connection `yaml:"connections"`
}

Config represents the high level structure of expected file for 'provision' cmd.

type FileRef

type FileRef struct {
	Inline   string `yaml:"inline"`
	URL      string `yaml:"URL"`
	Filepath string `yaml:"filepath"`
}

FileRef is structure that specifies how to retrieve the file to be uploaded

Jump to

Keyboard shortcuts

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