supportbundle

package
v0.0.2-pre Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2022 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HarvesterServiceAccount = "harvester"
)

Variables

This section is empty.

Functions

func GetManagerPodIP

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

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