commonLib

package module
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: May 23, 2022 License: Unlicense Imports: 8 Imported by: 0

README

pipeline status

Schism

commonLib

Common library for schism lambda function and command line client

Auto Generated Docs

code.agarg.me/schism/commonLib

code.agarg.me/schism/commonLib/protocol

Usage

  • go get code.agarg.me/schism/commonLib

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AwsSession

func AwsSession(region string) *session.Session

AwsSession returns an active session for AWS APIs given a region.

This also hard-enables SharedConfig access for Schism AWS API access.

TODO: Make this configurable somehow. (Lambda vs CLI Tool?)

func LambdaClient

func LambdaClient(region string) lambdaiface.LambdaAPI

LambdaClient returns a new AWS Lambda Client in a given region

func S3Client

func S3Client(region string) s3iface.S3API

S3Client returns a new AWS S3 Client in a given region

func SSMClient

func SSMClient(region string) ssmiface.SSMAPI

SSMClient returns a new AWS SSM Client in a given region

Types

This section is empty.

Directories

Path Synopsis
Package protocol provides objects and methods to interact between the various components of the Schism infra.
Package protocol provides objects and methods to interact between the various components of the Schism infra.

Jump to

Keyboard shortcuts

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