Documentation ¶
Overview ¶
shared types for support bundle controller and manager
Index ¶
Constants ¶
View Source
const ( SupportBundleStateNone = SupportBundleState("") SupportBundleStateGenerating = SupportBundleState("generating") SupportBundleStateReady = SupportBundleState("ready") SupportBundleStateError = SupportBundleState("error") // labels SupportBundleLabelKey = "rancher/supportbundle" KubevirtDrainKey = "kubevirt.io/drain" SupportBundleManager = "support-bundle-manager" SupportBundleAgent = "support-bundle-agent" PodCreationTimeout = 5 * time.Minute PodCreationWaitInterval = time.Second )
View Source
const ( ManagerPhaseInit = ManagerPhase("init") ManagerPhaseClusterBundle = ManagerPhase("cluster bundle") ManagerPhasePrometheusBundle = ManagerPhase("prometheus bundle") ManagerPhaseNodeBundle = ManagerPhase("node bundle") ManagerPhasePackaging = ManagerPhase("package") ManagerPhaseDone = ManagerPhase("done") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ManagerPhase ¶ added in v0.0.3
type ManagerPhase string
type ManagerStatus ¶
type SupportBundle ¶ added in v0.0.3
type SupportBundle struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SupportBundleSpec `json:"spec,omitempty"` Status SupportBundleStatus `json:"status,omitempty"` }
type SupportBundleSpec ¶ added in v0.0.3
type SupportBundleState ¶ added in v0.0.3
type SupportBundleState string
type SupportBundleStatus ¶ added in v0.0.3
type SupportBundleStatus struct { State SupportBundleState `json:"state,omitempty"` Progress int `json:"progress,omitempty"` FileName string `json:"fileName,omitempty"` FileSize int64 `json:"fileSize,omitempty"` }
Click to show internal directories.
Click to hide internal directories.