Documentation ¶
Index ¶
Constants ¶
View Source
const ( HarvesterServiceAccount = "harvester" //AdditionalTaintToleration value when passed to SUPPORT_BUNDLE_TAINT_TOLERATION env variable, is processed as v1.TolerationOpExists //which allows the support-bundle-kit pods to be scheduled on nodes with custom taints AdditionalTaintToleration = ":" )
Variables ¶
This section is empty.
Functions ¶
func GetManagerPodIP ¶ added in v0.3.0
func GetManagerPodIP(podCache ctlcorev1.PodCache, sb *harvesterv1.SupportBundle) (string, error)
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler generates support bundles for the cluster
func (*Handler) OnSupportBundleChanged ¶
func (h *Handler) OnSupportBundleChanged(_ string, sb *harvesterv1.SupportBundle) (*harvesterv1.SupportBundle, error)
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func (*Manager) Create ¶
func (m *Manager) Create(sb *harvesterv1.SupportBundle, image string, pullPolicy corev1.PullPolicy) error
func (*Manager) GetStatus ¶ added in v0.3.0
func (m *Manager) GetStatus(sb *harvesterv1.SupportBundle) (*types.ManagerStatus, error)
Click to show internal directories.
Click to hide internal directories.