serviceconfig

package
v18.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2016 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Write

func Write(options Options) error

Write a ServiceConfig JSON to the file system

func WriteWithFS

func WriteWithFS(options Options, fs afero.Fs) error

WriteWithFS does everything Write does, only you get to supply your own FileSystem!

Types

type Options

type Options struct {
	ServiceName   string
	ServiceType   string
	DisplayName   string
	Description   string
	ConnectorName string
	GithubSlug    string
	Tag           string
	BinPath       string
	Dir           string
	LogDir        string
}

Options define the options passed to Write when saving a service file

Jump to

Keyboard shortcuts

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