Documentation ¶
Index ¶
Constants ¶
View Source
const ( // CephConfTemplate is the content template of /etc/ceph/ceph.conf. CephConfTemplate = `` /* 244-byte string literal not displayed */ // CephAdminKeyringTemplate is the content template of ceph client keyring. CephAdminKeyringTemplate = `` /* 156-byte string literal not displayed */ // CephKeyringFileNameTemplate is the template of ceph client keyring file name. CephKeyringFileNameTemplate = "ceph.client.%s.keyring" )
View Source
const ( // Ceph defines the storage type of ceph Ceph = "Ceph" // TencentCloud defines the storage type of tencent cloud TencentCloud = "TencentCloud" )
Variables ¶
This section is empty.
Functions ¶
func GetPatchData ¶
GetPatchData generates the patch data of two objects with same type.
Types ¶
type CertContext ¶
CertContext is set of files used for a kubernetes webhook server.
func SetupServerCert ¶
func SetupServerCert(domain, commonName string) (*CertContext, error)
SetupServerCert setups the server cert. For example, user apiservers and admission webhooks can use the cert to prove their identify to the kube-apiserver
Click to show internal directories.
Click to hide internal directories.