Help us shape the future of Go! Take the 2026 Go Developer Survey

osm

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: May 22, 2020 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 added in v0.2.2

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