model

package
v0.0.0-...-7109ca6 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Volume

type Volume struct {
	ID int64 `gorm:"primary_key;not_null;auto_increment"`
	//存储的名称
	VolumeName string `json:"volume_name"`
	//存储的所属的命名空间
	VolumeNamespace string `json:"volume_namespace"`
	//存储的访问模式,RWO,ROX,RWX
	VolumeAccessMode string `json:"volume_access_mode"`
	//sc 的 class name
	VolumeStorageClassName string `json:"volume_storage_class_name"`
	//请求资源的大小
	VolumeRequest float32 `json:"volume_request"`
	//存储类型 Block,filesystem
	VolumePersistentVolumeMode string `json:"volume_persistent_volume_mode"`
}

Jump to

Keyboard shortcuts

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