resappforking

package
v0.0.0-...-3f873ad Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Keywords = []keywords.Keyword{
		{
			Attr:      "StartTimeout",
			Converter: converters.Duration,
			Example:   "180",
			Option:    "start_timeout",
			Scopable:  true,
			Text:      keywords.NewText(fs, "text/kw/start_timeout"),
		},
	}
)

Functions

func New

func New() resource.Driver

Types

type T

type T struct {
	resapp.T
}

T is the driver structure.

func (T) Label

func (t T) Label() string

Label returns a formatted short description of the Resource

func (T) Manifest

func (t T) Manifest() *manifest.T

Manifest ...

func (T) Start

func (t T) Start(ctx context.Context) (err error)

Start the Resource

func (*T) Status

func (t *T) Status(ctx context.Context) status.T

func (*T) Stop

func (t *T) Stop(ctx context.Context) error

Jump to

Keyboard shortcuts

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