codebuild

package
v0.0.0-...-33b312a Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildStatistics

type BuildStatistics struct {
	BuildsCount             int64
	BuildDurationInSeconds  int64
	PhaseDurationsInSeconds map[string]int64
}

func GetBuildStatistics

func GetBuildStatistics(region string) (*BuildStatistics, error)

func NewBuildStatistics

func NewBuildStatistics() *BuildStatistics

func (*BuildStatistics) SortedMetrics

func (s *BuildStatistics) SortedMetrics() Metrics

type Metric

type Metric struct {
	Name       string
	Value      int64
	Percentage float32
}

type Metrics

type Metrics []Metric

func (Metrics) Len

func (l Metrics) Len() int

func (Metrics) Less

func (l Metrics) Less(i, j int) bool

func (Metrics) Swap

func (l Metrics) Swap(i, j int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳