Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdStatus ¶
NewCmdStatus creates and returns the status command.
Types ¶
type CertificateStatus ¶
type CertificateStatus struct {
Ready *bool // nil = unknown, true/false = known status
NotAfter time.Time
RenewalTime time.Time
DNSNames []string
}
CertificateStatus holds the certificate details.
type Condition ¶
type Condition struct {
Type string
Status string
Reason string
Message string
LastTransitionTime string
}
Condition represents a single condition from a HostedCluster or NodePool.
type FeedbackValue ¶
type FeedbackValue struct {
Name string `json:"name"`
FieldValue FieldValue `json:"fieldValue"`
}
FeedbackValue matches the ManifestWork statusFeedback structure.
type FieldValue ¶
type FieldValue struct {
Type string `json:"type"` // "String" or "Integer"
String string `json:"string"`
Integer int `json:"integer"`
}
FieldValue holds the typed value from statusFeedback.
type HCPStatus ¶
type HCPStatus struct {
ClusterID string
ClusterName string
ClusterState string
ManagementCluster string
Version VersionInfo
APIServerCertificate *CertificateStatus
IngressCertificate *CertificateStatus
ManifestWorks []ManifestWorkSync
HostedClusterConditions []Condition
NodePools []NodePoolStatus
}
HCPStatus holds the parsed status of an HCP cluster from the live endpoint.
type ManifestWorkSync ¶
ManifestWorkSync represents the sync status of a single ManifestWork.
type NodePoolStatus ¶
NodePoolStatus holds the status of a single NodePool.
Click to show internal directories.
Click to hide internal directories.