openshift

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2017 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRoutes

func RegisterRoutes(r *gin.RouterGroup)

RegisterRoutes registers the routes for OpenShift

Types

type Assignment added in v1.0.7

type Assignment struct {
	Results []AssignmentResult
}

type AssignmentResult added in v1.0.7

type AssignmentResult struct {
	Latest string
}

type Costs added in v1.0.7

type Costs struct {
	QuotaCPU        float64
	QuotaMemory     float64
	Storage         float64
	RequestedCPU    float64
	RequestedMemory float64
	UsedCPU         float64
	UsedMemory      float64
	Total           float64
}

type Quota added in v1.0.7

type Quota struct {
	Results []QuotaResult
}

type QuotaResult added in v1.0.7

type QuotaResult struct {
	Average float64
}

type Resources added in v1.0.7

type Resources struct {
	Project           string
	Start             time.Time
	End               time.Time
	AccountAssignment string
	QuotaCPU          float64
	QuotaMemory       float64
	RequestedCPU      float64
	RequestedMemory   float64
	Storage           float64
	TotalUsedCPU      float64
	TotalUsedMemory   float64
	UsageDataPoints   []UsageDataPoint
	Costs             Costs
}

type UnitPrices added in v1.0.7

type UnitPrices struct {
	// contains filtered or unexported fields
}

type Usage added in v1.0.7

type Usage struct {
	Results []UsageResult
	End     time.Time
}

type UsageDataPoint added in v1.0.7

type UsageDataPoint struct {
	UsedCPU    float64
	UsedMemory float64
	End        time.Time
}

type UsageResult added in v1.0.7

type UsageResult struct {
	Result float64
}

Jump to

Keyboard shortcuts

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