docker

package
v0.0.0-...-0fd85f3 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeployInput

type DeployInput struct {
	RiePath         string
	Region          string
	ImageUri        string
	Function        string
	Command         []string
	AccessKeyId     string
	SecretAccessKey string
	SessionToken    string
}

type Service

type Service struct {
	Root   string
	Binary string
}

func FromPath

func FromPath(ctx context.Context) (Service, error)

func (Service) Build

func (s Service) Build(ctx context.Context, functionPath, contextPath string, labels map[string]string, tags []string) error

func (Service) Deploy

func (s Service) Deploy(ctx context.Context, i DeployInput) error

func (Service) InspectByTag

func (s Service) InspectByTag(ctx context.Context, registryUrl, repository, tag string) (types.ImageInspect, error)

func (Service) Login

func (s Service) Login(ctx context.Context, registryUrl, username, password string) error

func (Service) Push

func (s Service) Push(ctx context.Context, tag string) error

Jump to

Keyboard shortcuts

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