secretservice

package module
v0.0.0-...-535f55b Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2018 License: MIT Imports: 4 Imported by: 0

README

Secret Service

codecov Go Report Card CircleCI

AWS Lambda-based runtime environment management and versioning system.

Documentation

Index

Constants

View Source
const Schema = `` /* 2425-byte string literal not displayed */

Schema is the GraphQL schema.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend interface {
	ssmvars.ReadWriter

	ArchiveRelease(ctx context.Context, scopeName, releaseID string) error
	CreateRelease(ctx context.Context, scopeName string, variables []*ssmvars.Variable) (*Release, error)
	GetRelease(ctx context.Context, scopeName, releaseID string) (*Release, error)
	ListReleases(ctx context.Context, scopeName string, before *string) ([]string, error)
	Scope(ctx context.Context, scopeName string) (*Scope, error)
}

Backend is an abstract representation of the AWS backing services.

type Release

type Release struct {
	ID        string              `json:"-"`
	ScopeName string              `json:"-"`
	Live      bool                `json:"-"`
	Variables []*ssmvars.Variable `json:"variables"`
}

func (*Release) Timestamp

func (r *Release) Timestamp() (int64, error)

type Scope

type Scope struct {
	Name     string `json:"-"`
	KMSKeyID string `json:"-"`
}

Directories

Path Synopsis
cmd
service command

Jump to

Keyboard shortcuts

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