hooks

package
v1.62.5 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSIConfig

type CSIConfig struct {
	ClusterID string          `json:"clusterID"`
	Monitors  []string        `json:"monitors"`
	CephFS    CSIConfigCephFS `json:"cephFS,omitempty"`
}

type CSIConfigCephFS

type CSIConfigCephFS struct {
	SubvolumeGroup string `json:"subvolumeGroup,omitempty"`
}

type CephCSIDriver

type CephCSIDriver struct {
	APIVersion string            `json:"apiVersion"`
	Kind       string            `json:"kind"`
	Metadata   metav1.ObjectMeta `json:"metadata"`
	Spec       Spec              `json:"spec"`
}

type CephFS

type CephFS struct {
	StorageClasses []StorageClass `json:"storageClasses,omitempty"`
	SubvolumeGroup string         `json:"subvolumeGroup,omitempty"`
}

type InternalValues

type InternalValues struct {
	Name string `json:"name"`
	Spec Spec   `json:"spec"`
}

type RBD

type RBD struct {
	StorageClasses []StorageClass `json:"storageClasses,omitempty"`
}

type Spec

type Spec struct {
	ClusterID string   `json:"clusterID"`
	UserID    string   `json:"userID"`
	UserKey   string   `json:"userKey"`
	Monitors  []string `json:"monitors"`
	Rbd       RBD      `json:"rbd,omitempty"`
	CephFS    CephFS   `json:"cephfs,omitempty"`
}

type StorageClass

type StorageClass struct {
	NamePostfix          string   `json:"namePostfix"`
	Pool                 string   `json:"pool,omitempty"`
	ReclaimPolicy        string   `json:"reclaimPolicy,omitempty"`
	AllowVolumeExpansion bool     `json:"allowVolumeExpansion,omitempty"`
	MountOptions         []string `json:"mountOptions,omitempty"`
	DefaultFSType        string   `json:"defaultFSType,omitempty"`
	FsName               string   `json:"fsName,omitempty"`
}

type StorageClassFilter

type StorageClassFilter struct {
	Name          string            `json:"namePostfix"`
	ReclaimPolicy string            `json:"reclaimPolicy"`
	Annotations   map[string]string `json:"annotations"`
}

Jump to

Keyboard shortcuts

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