shepherd

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2022 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetName

func GetName(container *types.ContainerJSON) string

GetName get the name of a project

func New

func New(later *Later, client *client.Client) *shepherd

New shepherd

Types

type Later

type Later struct {
	// contains filtered or unexported fields
}

func NewLater

func NewLater(cfg map[string]time.Duration) *Later

func (*Later) Default

func (l *Later) Default() time.Duration

func (*Later) Get

func (l *Later) Get(path string) (time.Duration, error)

Jump to

Keyboard shortcuts

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