Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HPA ¶
type HPA struct { Metadata Metadata `json:"metadata"` Spec Spec `json:"spec"` Status Status `json:"status"` }
HPA represents a kubernetes HPA
type LoadBalancer ¶
type LoadBalancer struct { CurrentCPUUtilizationPercentage int `json:"currentCPUUtilizationPercentage"` CurrentReplicas int `json:"currentReplicas"` DesiredReplicas int `json:"desiredReplicas"` }
LoadBalancer holds the ingress definitions
type Metadata ¶
type Metadata struct { CreatedAt time.Time `json:"creationTimestamp"` Name string `json:"name"` Namespace string `json:"namespace"` }
Metadata holds information like name, namespace, and labels
type Spec ¶
type Spec struct { MinReplicas int `json:"minReplicas"` MaxReplicas int `json:"maxReplicas"` TargetCPUUtilizationPercentage int `json:"targetCPUUtilizationPercentage"` }
Spec holds information like clusterIP and port
type Status ¶
type Status struct {
LoadBalancer LoadBalancer `json:"loadBalancer"`
}
Status holds the load balancer definition
Click to show internal directories.
Click to hide internal directories.