preflight

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Copyright Contributors to the Open Cluster Management project

Index

Constants

View Source
const (
	InstallModeDefault = "Default"
	InstallModeHosted  = "Hosted"
)

Variables

This section is empty.

Functions

func ValidAPIHost

func ValidAPIHost(host string) bool

utils

Types

type ClusterNameCheck added in v0.6.0

type ClusterNameCheck struct {
	ClusterName string
}

func (ClusterNameCheck) Check added in v0.6.0

func (c ClusterNameCheck) Check() (warningList []string, errorList []error)

func (ClusterNameCheck) Name added in v0.6.0

func (c ClusterNameCheck) Name() string

type DeployModeCheck added in v0.6.0

type DeployModeCheck struct {
	Mode                  string
	InternalEndpoint      bool
	ManagedKubeconfigFile string
}

func (DeployModeCheck) Check added in v0.6.0

func (c DeployModeCheck) Check() (warningList []string, errorList []error)

func (DeployModeCheck) Name added in v0.6.0

func (c DeployModeCheck) Name() string

type HubKubeconfigCheck

type HubKubeconfigCheck struct {
	Config *clientcmdapiv1.Config
}

func (HubKubeconfigCheck) Check

func (c HubKubeconfigCheck) Check() (warningList []string, errorList []error)

func (HubKubeconfigCheck) Name

func (c HubKubeconfigCheck) Name() string

Jump to

Keyboard shortcuts

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