supportbundle

package
v1.0.1-rc2 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 Imports: 24 Imported by: 2

Documentation

Index

Constants

View Source
const (
	HarvesterServiceAccount = "harvester"
)

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