cli

package
v0.1.118 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadService

func LoadService(ctx context.Context) error

func Service

func Service() (*resources.Service, error)

Types

type Dependencies

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

func WithDependencies

func WithDependencies(ctx context.Context, opts ...OptionFunc) (*Dependencies, error)

func (*Dependencies) Destroy

func (l *Dependencies) Destroy(ctx context.Context) error

func (*Dependencies) SetEnvironment

func (l *Dependencies) SetEnvironment(ctx context.Context) error

func (*Dependencies) Stop

func (l *Dependencies) Stop(ctx context.Context) error

func (*Dependencies) WaitForReady

func (l *Dependencies) WaitForReady(ctx context.Context, opt *Option) error

type Option

type Option struct {
	Debug   bool
	Timeout time.Duration
}

type OptionFunc added in v0.1.114

type OptionFunc func(*Option)

func WithDebug added in v0.1.114

func WithDebug() OptionFunc

func WithTimeout added in v0.1.114

func WithTimeout(timeout time.Duration) OptionFunc

Jump to

Keyboard shortcuts

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