volume

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Spec

type Spec = compose.Volume

type State

type State struct {
	VolumeName string `json:"volumeId"`
}

type Volume

type Volume struct {
	docker.ComponentBase
	State
}

func (*Volume) Dependencies

func (v *Volume) Dependencies(ctx context.Context, input *core.DependenciesInput) (*core.DependenciesOutput, error)

func (*Volume) Dispose

func (v *Volume) Dispose(ctx context.Context, input *core.DisposeInput) (*core.DisposeOutput, error)

func (*Volume) InitResource

func (v *Volume) InitResource() error

func (*Volume) Initialize

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

func (*Volume) MarshalState

func (v *Volume) MarshalState() (state string, err error)

func (*Volume) Refresh

func (v *Volume) Refresh(ctx context.Context, input *core.RefreshInput) (*core.RefreshOutput, error)

Jump to

Keyboard shortcuts

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