node

package
v0.0.0-...-acab798 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrBlockNotImplemented = status.Error(codes.Unimplemented, "block not implemented")

Functions

func New

func New(nodeID string, maxVolumesPerNode int64) (*node.Server, error)

Types

type Node

type Node struct {
}

func (*Node) Populate

func (ns *Node) Populate(ctx context.Context, path string, volumeContext map[string]string, controllerContext map[string]string, secrets map[string]string) error

func (*Node) ValidateCapability

func (ns *Node) ValidateCapability(vCap *csi.VolumeCapability) error

type VolumeContext

type VolumeContext struct {
	Repo   string `mapstructure:"repo" validate:"required"`
	Branch string `mapstructure:"repo"`
}

Jump to

Keyboard shortcuts

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