util

package
v0.0.0-...-e4ed161 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BackupFilenameSuffix = "etcd.backup"
)

Variables

This section is empty.

Functions

func MakeBackupName

func MakeBackupName(ver string, rev int64) string

func ParseBucketAndKey

func ParseBucketAndKey(path string) (string, string, error)

ParseBucketAndKey parses the path to return the s3 bucket name and key(path in the bucket) returns error if path is not in the format <s3-bucket-name>/<key>

Types

This section is empty.

Jump to

Keyboard shortcuts

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