Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CephConfig ¶
type CephConfig struct { ConfigFile string KeryingFile string MdsSessionListPeriod time.Duration CephFSRootPath string CephFSRootMountPath string }
CephConfig is a set of configurations used to manage ceph related volumes: CephRBD and CephFS.
type Config ¶
type Config struct { WebhookConfig K8sConfig VolumeConfig Worker int CreateCRD bool LeaderElection bool LeaderElectionNamespace string }
Config contains all configurations.
type K8sConfig ¶
K8sConfig is a set of configurations used to create kubernetes clients and informers.
type VolumeConfig ¶
type VolumeConfig struct { Types string CephConfig }
VolumeConfig is a set of configurations about concrete volumes.
func (*VolumeConfig) AddFlags ¶
func (c *VolumeConfig) AddFlags()
AddFlags adds volume related configurations to the global flags.
type WebhookConfig ¶
type WebhookConfig struct { Name string CertFile string KeyFile string CAFile string MutatingPath string ValidatingPath string URL string ServiceName string ServiceNamespace string WorkloadAdmission bool }
WebhookConfig is a set of configurations of Webhook.
func (*WebhookConfig) AddFlags ¶
func (c *WebhookConfig) AddFlags()
AddFlags adds webhook related configurations to the global flags.
func (*WebhookConfig) TLSConfig ¶
func (c *WebhookConfig) TLSConfig() *tls.Config
TLSConfig returns the TLS config.
Click to show internal directories.
Click to hide internal directories.