options

package
v1.31.2 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2024 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) (*client.AuthOpts, error)

func NodeVolumeContextFields added in v1.22.0

func NodeVolumeContextFields() []string

Types

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"`
	AutoTopology        string `name:"autoTopology" value:"default:false" matches:"(?i)^true|false$"`
	AvailabilityZone    string `name:"availability" value:"optional"`
	AppendShareMetadata string `name:"appendShareMetadata" value:"optional"`

	CephfsMounter            string `name:"cephfs-mounter" value:"default:fuse" matches:"^kernel|fuse$"`
	CephfsClientID           string `name:"cephfs-clientID" value:"optional"`
	CephfsKernelMountOptions string `name:"cephfs-kernelMountOptions" value:"optional"`
	CephfsFuseMountOptions   string `name:"cephfs-fuseMountOptions" value:"optional"`
	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$"`
	CephfsKernelMountOptions string `name:"cephfs-kernelMountOptions" value:"optional"`
	CephfsFuseMountOptions   string `name:"cephfs-fuseMountOptions" value:"optional"`
}

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