operator

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2023 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CfgFromFile

func CfgFromFile(path string) *rest.Config

func Mgr

func Mgr(cfg, cpConfig *rest.Config, namespace string) ctrl.Manager

Types

type ControllerSetupFunc

type ControllerSetupFunc func(*HostedClusterConfigOperatorConfig) error

type HostedClusterConfigOperatorConfig

type HostedClusterConfigOperatorConfig struct {
	Manager                      ctrl.Manager
	Config                       *rest.Config
	TargetConfig                 *rest.Config
	KubevirtInfraConfig          *rest.Config
	TargetCreateOrUpdateProvider upsert.CreateOrUpdateProvider
	CPCluster                    cluster.Cluster
	Logger                       logr.Logger
	Versions                     map[string]string
	HCPName                      string
	Namespace                    string
	InitialCA                    string
	ClusterSignerCA              string
	Controllers                  []string
	PlatformType                 hyperv1.PlatformType
	ControllerFuncs              map[string]ControllerSetupFunc
	ReleaseProvider              releaseinfo.Provider
	KonnectivityAddress          string
	KonnectivityPort             int32
	OAuthAddress                 string
	OAuthPort                    int32
	OperateOnReleaseImage        string
	EnableCIDebugOutput          bool
	// contains filtered or unexported fields
}

func (*HostedClusterConfigOperatorConfig) Fatal

func (c *HostedClusterConfigOperatorConfig) Fatal(err error, msg string)

func (*HostedClusterConfigOperatorConfig) KubeClient

func (*HostedClusterConfigOperatorConfig) Start

Jump to

Keyboard shortcuts

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