Documentation ¶
Index ¶
- Constants
- func CheckBucketAccess(client client.Client, spec api.Backend, namespace string) error
- func NewOSMContext(client client.Client, spec api.Backend, namespace string) (*otx.Context, error)
- func NewRcloneSecret(kc client.Client, name, namespace string, spec api.Backend, ...) (*core.Secret, error)
Constants ¶
View Source
const ( SecretMountPath = "/etc/rclone" CaCertFileName = "ca.crt" )
Variables ¶
This section is empty.
Functions ¶
func CheckBucketAccess ¶
func NewOSMContext ¶
func NewRcloneSecret ¶
func NewRcloneSecret(kc client.Client, name, namespace string, spec api.Backend, ownerReference []metav1.OwnerReference) (*core.Secret, error)
NewRcloneSecret creates a secret that contains the config file of Rclone. So, generally, if this secret is mounted in `etc/rclone`, the tree of `/etc/rclone` directory will be similar to,
/etc/rclone └── config
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.