Documentation ¶
Index ¶
- func RegisterRoutes(r *gin.RouterGroup)
- func RegisterSecRoutes(r *gin.RouterGroup)
- type ApiResponse
- type Assignment
- type AssignmentFacet
- type AssignmentResult
- type Auth
- type Cluster
- type DockerConfig
- type Features
- type GlusterApi
- type NfsApi
- type OpenshiftChargebackCommand
- type OpenshiftCluster
- type Pricing
- type ProjectInformation
- type Queries
- type Quota
- type QuotaFacet
- type QuotaResult
- type Resources
- type Usage
- type UsageFacet
- type UsageResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRoutes ¶
func RegisterRoutes(r *gin.RouterGroup)
RegisterRoutes registers the routes for OpenShift
func RegisterSecRoutes ¶ added in v1.2.7
func RegisterSecRoutes(r *gin.RouterGroup)
Types ¶
type ApiResponse ¶ added in v1.3.13
type Assignment ¶ added in v1.0.7
type Assignment struct {
Facets []AssignmentFacet
}
type AssignmentFacet ¶ added in v1.3.13
type AssignmentFacet struct { Name string Results []AssignmentResult }
type AssignmentResult ¶ added in v1.0.7
type AssignmentResult struct {
Latest string
}
type Auth ¶ added in v1.3.21
type Auth struct { // byte arrays are marshalled to base64 Auth []byte `json:"auth"` }
type DockerConfig ¶ added in v1.3.21
type Features ¶ added in v1.4.0
func GetFeatures ¶ added in v1.4.0
type GlusterApi ¶ added in v1.4.0
type OpenshiftChargebackCommand ¶ added in v1.3.13
type OpenshiftCluster ¶ added in v1.4.0
type ProjectInformation ¶ added in v1.4.10
type QuotaFacet ¶ added in v1.3.13
type QuotaFacet struct { Name string 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 ReceptionAssignment string OrderReception string PspElement string UsedCpu float64 UsedMemory float64 QuotaCpu float64 QuotaMemory float64 RequestedCpu float64 RequestedMemory float64 Storage float64 Prices Pricing }
Internal types
type Usage ¶ added in v1.0.7
type Usage struct {
Facets []UsageFacet
}
type UsageFacet ¶ added in v1.3.13
type UsageFacet struct { Name string Results []UsageResult }
type UsageResult ¶ added in v1.0.7
type UsageResult struct {
Result float64
}
Click to show internal directories.
Click to hide internal directories.