resiproute

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

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

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() resource.Driver

New allocates a new driver

Types

type T

type T struct {
	To      string `json:"destination"`
	Gateway string `json:"gateway"`
	NetNS   string `json:"netns"`
	Dev     string `json:"dev"`
	resource.T
}

T ...

func (T) ActionResourceDeps

func (t T) ActionResourceDeps() []actionresdeps.Dep

func (T) Label

func (t T) Label() string

Label returns a formatted short description of the Resource

func (T) LinkTo

func (t T) LinkTo() string

func (T) Manifest

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

Manifest ...

func (*T) Provision

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

func (T) Provisioned

func (t T) Provisioned() (provisioned.T, error)

func (T) Start

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

Start the Resource

func (*T) Status

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

Status evaluates and display the Resource status and logs

func (T) Stop

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

Stop the Resource

func (*T) Unprovision

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

Jump to

Keyboard shortcuts

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