pkg

package
v0.1.3-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2021 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

View Source
const (
	TIMEOUT = 60 * time.Minute
)

Variables

View Source
var ImageCMDOptions = &imageCMDOptions{}

Options for pvsadm image command

View Source
var Options = &options{}

Functions

func IsPurgeable

func IsPurgeable(candidate time.Time, before time.Duration, since time.Duration) bool

IsPurgeable is a function decides the candidate is really qualifies to be purged Condition:

  • before and since are both
  • If no before and since set then return true
  • If both before and since set then return false

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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