supportbundle

package
v1.1.3-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2023 License: Apache-2.0 Imports: 24 Imported by: 2

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)

func Register

func Register(ctx context.Context, management *config.Management, options config.Options) 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(key 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)

Directories

Path Synopsis
shared types for support bundle controller and manager
shared types for support bundle controller and manager

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL