cmd

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2020 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppSyncClient

func AppSyncClient(i InputArguments, v VersionInfo)

AppSyncClient is the instantiation metho

func ParseDate

func ParseDate(value string) time.Time

ParseDate parse string using time.RFC3339 format or default to time.Now()

Types

type APIAuth

type APIAuth struct {
	AuthType         string // AWS_IAM, API_KEY
	APIKey           string // Only required if Type is API_KEY
	Profile          string // Only required if Type is API_KEY
	AwsAccessKey     string // Only required if Type is AWS_IAM
	AwsAccessSecret  string // Only required if Type is AWS_IAM
	AwsSecurityToken string // Only required if Type is AWS_IAM

}

APIAuth parameters used to authenticate with AppSync

type InputArguments

type InputArguments struct {
	URL     string
	APIAuth APIAuth
}

InputArguments holds all of the arguments that are used

type VersionInfo

type VersionInfo struct {
	Version string
	Commit  string
	Date    time.Time
}

VersionInfo holds version information

Jump to

Keyboard shortcuts

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