options

package
v1.20.3 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOpenstackOptions

func NewOpenstackOptions(data map[string]string) (*cpo.AuthOpts, error)

Types

type CompatibilityOptions added in v1.17.0

type CompatibilityOptions struct {
	CreateShareFromSnapshotEnabled         string `name:"CreateShareFromSnapshotEnabled" value:"default:false" matches:"^true|false$"`
	CreateShareFromSnapshotRetries         string `name:"CreateShareFromSnapshotRetries" value:"default:10" matches:"^[0-9]+$"`
	CreateShareFromSnapshotBackoffInterval string `name:"CreateShareFromSnapshotBackoffInterval" value:"default:5" matches:"^[0-9]+$"`
}

func NewCompatibilityOptions added in v1.17.0

func NewCompatibilityOptions(data map[string]string) (*CompatibilityOptions, error)

type ControllerVolumeContext

type ControllerVolumeContext struct {
	Protocol            string `name:"protocol" matches:"^(?i)CEPHFS|NFS$"`
	Type                string `name:"type" value:"default:default"`
	ShareNetworkID      string `name:"shareNetworkID" value:"optional"`
	AvailabilityZone    string `name:"availability" value:"optional"`
	AppendShareMetadata string `name:"appendShareMetadata" value:"optional"`

	CephfsMounter  string `name:"cephfs-mounter" value:"default:fuse" matches:"^kernel|fuse$"`
	NFSShareClient string `name:"nfs-shareClient" value:"default:0.0.0.0/0"`
}

func NewControllerVolumeContext

func NewControllerVolumeContext(data map[string]string) (*ControllerVolumeContext, error)

type NodeVolumeContext

type NodeVolumeContext struct {
	ShareID       string `name:"shareID" value:"optionalIf:shareName=." precludes:"shareName"`
	ShareName     string `name:"shareName" value:"optionalIf:shareID=." precludes:"shareID"`
	ShareAccessID string `name:"shareAccessID"`

	CephfsMounter string `name:"cephfs-mounter" value:"default:fuse" matches:"^kernel|fuse$"`
}

func NewNodeVolumeContext

func NewNodeVolumeContext(data map[string]string) (*NodeVolumeContext, error)

Jump to

Keyboard shortcuts

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