runtime

package
v0.16.3 Latest Latest
Warning

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

Go to latest
Published: May 24, 2021 License: MIT Imports: 24 Imported by: 0

Documentation

Overview

Package runtime is the vine runtime

Package runtime is the vine runtime

Index

Constants

View Source
const (
	// RunUsage message for the run command
	RunUsage = "Run a service: vine run [source]"
	// KillUsage message for the kill command
	KillUsage = "Kill a service: vine kill [source]"
	// UpdateUsage message for the update command
	UpdateUsage = "Update a service: vine update [source]"
	// GetUsage message for vine get command
	GetUsage = "List runtime objects"
	// ServicesUsage message for vine services command
	ServicesUsage = "vine services"
	// CannotWatch message for the run command
	CannotWatch = "Cannot watch filesystem on this runtime"
)

Variables

View Source
var (
	// Name of the runtime
	Name = "go.vine.runtime"
	// Address of the runtime
	Address = ":8088"
)
View Source
var (
	// DefaultRetries which should be attempted when starting a service
	DefaultRetries = 3
	// Image to specify if none is specified
	Image = "docker.pkg.github.com/vine/services"
	// Source where we get services from
	Source = "github.com/lack-io/services"
)

Functions

func Commands

func Commands(options ...vine.Option) []*cli.Command

func Flags

func Flags() []cli.Flag

Flags is shared flags so we don't have to continually re-add

func Run

func Run(ctx *cli.Context, svcOpts ...vine.Option)

Run the runtime service

Types

This section is empty.

Directories

Path Synopsis
Package profile is for specific profiles @todo this package is the definition of cruft and should be rewritten in a more elegant way
Package profile is for specific profiles @todo this package is the definition of cruft and should be rewritten in a more elegant way
Package scheduler is a file server notifer
Package scheduler is a file server notifer

Jump to

Keyboard shortcuts

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