modules

package
v0.0.56 Latest Latest
Warning

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

Go to latest
Published: May 30, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(manifest *Manifest) error

func Package

func Package(manifest *Manifest, version string) (string, error)

func Register

func Register(cfg api.Config, manifest *Manifest) (*types.Module, error)

Types

type Manifest

type Manifest struct {
	OrgName       string   `yaml:"org_name"`
	Name          string   `yaml:"name"`
	FriendlyName  string   `yaml:"friendly_name"`
	Description   string   `yaml:"description"`
	Category      string   `yaml:"category"`
	Type          string   `yaml:"type"`
	AppCategories []string `yaml:"appCategories"`
	Layer         string   `yaml:"layer"`
	IsPublic      bool     `yaml:"is_public"`
	ProviderTypes []string `yaml:"provider_types"`
}

func ManifestFromFile

func ManifestFromFile(filename string) (*Manifest, error)

func (Manifest) WriteManifestToFile

func (m Manifest) WriteManifestToFile(filename string) error

Jump to

Keyboard shortcuts

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