slug

package
v0.0.0-...-76a821c Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AWS_ACCESS_KEY_ID string
View Source
var AWS_SECRET_ACCESS_KEY string
View Source
var BUCKET_NAME string
View Source
var DOCKER_HOSTS []string
View Source
var S3_ENDPOINT string

Functions

func Build

func Build(name string, tar io.Reader) (string, error)

Build builds the slug with the received tar as content and upload it to S3

func RemoveOthers

func RemoveOthers(container dcli.Container, slugUrl, process string) error

RemoveOthers remove other containers running same slug

func Run

func Run(slugUrl string, cmd ...string) (*dcli.Container, error)

Run runs a slug process

Types

This section is empty.

Jump to

Keyboard shortcuts

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