network

package
v0.0.0-...-1fa5987 Latest Latest
Warning

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

Go to latest
Published: May 14, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Network

type Network struct {
	docker.ComponentBase
	State
}

func (*Network) Dependencies

func (n *Network) Dependencies(ctx context.Context, input *core.DependenciesInput) (*core.DependenciesOutput, error)

func (*Network) Dispose

func (n *Network) Dispose(ctx context.Context, input *core.DisposeInput) (*core.DisposeOutput, error)

func (*Network) InitResource

func (n *Network) InitResource() error

func (*Network) Initialize

func (n *Network) Initialize(ctx context.Context, input *core.InitializeInput) (output *core.InitializeOutput, err error)

func (*Network) MarshalState

func (n *Network) MarshalState() (state string, err error)

func (*Network) Refresh

func (n *Network) Refresh(ctx context.Context, input *core.RefreshInput) (*core.RefreshOutput, error)

type Spec

type Spec = compose.Network

type State

type State struct {
	NetworkID string `json:"networkId"`
}

Jump to

Keyboard shortcuts

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