Documentation ¶
Index ¶
- Constants
- func BlockPool(namespace string, opts BlockPoolOptions) *unstructured.Unstructured
- func Client(namespace string, opts ClientOptions) *unstructured.Unstructured
- func ClientSecret(name, namespace, clientName string, keyring []byte, monHosts []string) *corev1.Secret
- func ClientVolumeMounts(name, path string) []corev1.VolumeMount
- func GetCephClientSecret(ctx context.Context, c client.Client, name, namespace string) ([]byte, error)
- func GetCephMonitorAddrs(ctx context.Context, c client.Client, namespace string) ([]string, error)
- type BlockPoolOptions
- type ClientOptions
- type ClientSecretAppender
Constants ¶
View Source
const (
AppLabel = "rookceph"
)
Variables ¶
This section is empty.
Functions ¶
func BlockPool ¶
func BlockPool(namespace string, opts BlockPoolOptions) *unstructured.Unstructured
func Client ¶
func Client(namespace string, opts ClientOptions) *unstructured.Unstructured
func ClientSecret ¶
func ClientVolumeMounts ¶
func ClientVolumeMounts(name, path string) []corev1.VolumeMount
func GetCephClientSecret ¶
Types ¶
type BlockPoolOptions ¶
type ClientOptions ¶
type ClientSecretAppender ¶
type ClientSecretAppender struct {
// contains filtered or unexported fields
}
func NewClientSecretAppender ¶
func NewClientSecretAppender(volumes *[]corev1.Volume, volumeMounts *[]corev1.VolumeMount) *ClientSecretAppender
func (*ClientSecretAppender) Append ¶
func (c *ClientSecretAppender) Append(name string)
Click to show internal directories.
Click to hide internal directories.