opts

package
v0.0.0-...-395ddcd Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Overview

Package opts contains helpers for the backup-engines to prevent import-cycles when importing engines into a registry

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InitOpts

type InitOpts struct {
	// BaseURL specifies the URL the Mux is available at
	BaseURL string
	// Mux allows to register additional listener on for the HTTP
	// server afterwards available at the BaseURL
	Mux *mux.Router
	// Spec contains the configuration spec for the backup and
	// should be saved for later use for example in GetPodSpec
	Spec backupControllerV1.DatabaseBackupSpec
}

InitOpts is a shared struct to configure a backup-engine

Jump to

Keyboard shortcuts

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