Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CephConfig ¶
type CephConfig struct { // Monitor addresses of Ceph cluster. Monitors string // ID of Ceph admin user. AdminID string // Key of Ceph admin user. AdminKey string }
CephConfig is a bunch of global configurations of Ceph cluster.
func (*CephConfig) AddFlags ¶
func (c *CephConfig) AddFlags()
AddFlags add the ceph configurations to global flag.
type Config ¶
type Config struct { CephConfig TencentCloudConfig // Path to Kubelet's root dir. KubeletRootDir string // Domain of the image registry. RegistryDomain string // Supported file system for block storage, such as CephRBD, CBS. Filesystems string // NeedDefaultSC indicates whether the cluster need to create default storage classes. NeedDefaultSc bool }
Config is a bunch of global configurable parameters.
type TencentCloudConfig ¶
type TencentCloudConfig struct { // Secret ID of Tencent Cloud SecretID string // Secret Key of Tencent Cloud SecretKey string }
TencentCloudConfig is a bunch of global configurations of TencentCloud cluster.
func (*TencentCloudConfig) AddFlags ¶
func (c *TencentCloudConfig) AddFlags()
AddFlags add the TencentCloud configurations to global flag.
Click to show internal directories.
Click to hide internal directories.