model

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Certificates

type Certificates struct {
	PrivateKey  *[]byte
	Certificate *[]byte
	FullChain   *[]byte
}

type Config

type Config struct {
	Version       string              `json:"version"`
	Port          int                 `json:"port"`
	ServerPath    string              `json:"serverPath"`
	DefaultRegion string              `json:"defaultRegion"`
	Credentials   session.Credentials `json:"credentials"`
	OutputTmpDir  string
}

func ParseConfig

func ParseConfig(path string) (config *Config, err error)

type ErrorResponse

type ErrorResponse struct {
	Error            string `json:"error"`
	ErrorDescription string `json:"error_description"`
}

type SetConfigurationInput

type SetConfigurationInput struct {
	Region      string              `json:"region"`
	Credentials session.Credentials `json:"credentials"`
}

type SetConfigurationOutput

type SetConfigurationOutput struct {
	Updated bool `json:"updated"`
}

Jump to

Keyboard shortcuts

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