frontend

package
v0.0.0-...-ed9f9c9 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 75 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFrontend

func NewFrontend(ctx context.Context,
	auditLog *logrus.Entry,
	baseLog *logrus.Entry,
	_env env.Interface,
	dbGroup frontendDBs,
	apis map[string]*api.Version,
	m metrics.Emitter,
	clusterm metrics.Emitter,
	aead encryption.AEAD,
	hiveClusterManager hive.ClusterManager,
	kubeActionsFactory kubeActionsFactory,
	azureActionsFactory azureActionsFactory,
	appLensActionsFactory appLensActionsFactory,
	enricher clusterdata.BestEffortEnricher,
) (*frontend, error)

TODO: Get the number of function parameters under control :D NewFrontend returns a new runnable frontend

Types

type ProvidersValidator

type ProvidersValidator interface {
	ValidateProviders(ctx context.Context, azEnv *azureclient.AROEnvironment, environment env.Interface, subscriptionID, tenantID string) error
}

type PutOrPatchOpenshiftClusterParameters

type PutOrPatchOpenshiftClusterParameters struct {
	// contains filtered or unexported fields
}

type QuotaValidator

type QuotaValidator interface {
	ValidateQuota(ctx context.Context, azEnv *azureclient.AROEnvironment, environment env.Interface, subscriptionID, tenantID string, oc *api.OpenShiftCluster) error
}

type Runnable

type Runnable interface {
	Run(context.Context, <-chan struct{}, chan<- struct{})
}

Runnable represents a runnable object

type SkuValidator

type SkuValidator interface {
	ValidateVMSku(ctx context.Context, azEnv *azureclient.AROEnvironment, environment env.Interface, subscriptionID, tenantID string, oc *api.OpenShiftCluster) error
}

type StreamResponder

type StreamResponder interface {
	ReplyStream(log *logrus.Entry, w http.ResponseWriter, header http.Header, reader io.Reader, err error)
	AdminReplyStream(log *logrus.Entry, w http.ResponseWriter, header http.Header, reader io.Reader, err error)
}

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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