handler

package
v1.0.0-alpha3 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2018 License: Apache-2.0 Imports: 8 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bivac

type Bivac struct {
	Config   *config.Config
	Hostname string
}

Bivac is the main handler struct

func NewBivac

func NewBivac(version string) (*Bivac, error)

NewBivac returns a new Bivac handler

func (*Bivac) GetHostname

func (c *Bivac) GetHostname() (err error)

GetHostname gets the host name

func (*Bivac) IsCheckScheduled

func (c *Bivac) IsCheckScheduled(vol *volume.Volume) (bool, error)

IsCheckScheduled checks if the backup must be verified

func (*Bivac) Setup

func (c *Bivac) Setup(version string) (err error)

Setup sets up a Bivac struct

Jump to

Keyboard shortcuts

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