stat

package
v0.0.0-...-def3303 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package stat tracks stats as the run progress.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stat

type Stat struct {
	Workspaces             []string
	CreatedWorkspaces      []string
	VerifiedWorkspaces     []string
	InaccessibleWorkspaces []string
	PendingClones          []string
	Repos                  []string
	ClonedRepos            []string
	PendingRepos           []string
	ScheduledRepos         []string
	SkippedRepos           []string
	CompleteRepos          []string
	ScheduledPull          []string
	ScheduledPush          []string
}

Stat tracks stats for the current run.

func Init

func Init() *Stat

Init returns a new *Stat.

func (*Stat) CheckComplete

func (st *Stat) CheckComplete() bool

CheckComplete ...

func (*Stat) CheckPending

func (st *Stat) CheckPending() bool

CheckPending ...

func (*Stat) CheckScheduled

func (st *Stat) CheckScheduled() bool

CheckScheduled ...

func (*Stat) CheckSkipped

func (st *Stat) CheckSkipped() bool

CheckSkipped ...

func (*Stat) Clear

func (st *Stat) Clear()

Clear clears out slice based stats

func (*Stat) Reduce

func (st *Stat) Reduce()

Reduce reduces slices in *Stat to their unique elements.

Jump to

Keyboard shortcuts

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