osm

package
v0.0.0-...-01eed89 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2023 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SecretMountPath = "/etc/rclone"
	CaCertFileName  = "ca.crt"
)

Variables

This section is empty.

Functions

func CheckBucketAccess

func CheckBucketAccess(client client.Client, spec api.Backend, namespace string) error

func NewOSMContext

func NewOSMContext(client client.Client, spec api.Backend, namespace string) (*otx.Context, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL