documents

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2017 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertFromSSMName added in v0.1.1

func ConvertFromSSMName(name string) string

func ConvertToSSMName added in v0.1.1

func ConvertToSSMName(name string) string

func IsParamedicDocument added in v0.1.1

func IsParamedicDocument(name string) bool

Types

type Client added in v0.1.4

type Client struct {
	SSM awsclient.SSM
	S3  awsclient.S3

	ScriptS3Bucket    string
	ScriptS3KeyPrefix string
}

func (*Client) Create added in v0.1.4

func (c *Client) Create(d *Definition) error

type Definition

type Definition struct {
	Name        string `yaml:"name"`
	Description string `yaml:"description"`
	Script      string `yaml:"script"`
	ScriptFile  string `yaml:"scriptFile"`
	Timeout     string `yaml:"timeout"`
}

func LoadDefinition

func LoadDefinition(file string) (*Definition, error)

func (*Definition) DocumentContent added in v0.1.4

func (d *Definition) DocumentContent(bucket, key string) (string, error)

func (*Definition) ScriptSha256

func (d *Definition) ScriptSha256() string

Jump to

Keyboard shortcuts

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