registry

package
v0.5.7-rc.1 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExtraConfig

type ExtraConfig struct {
	SearchStorageType      string
	ElasticSearchAddresses []string
	ElasticSearchUsername  string
	ElasticSearchPassword  string
	ReadOnlyMode           bool
	GithubBadge            bool
	EnableRBAC             bool

	// ServiceAccount configs
	ServiceAccountIssuer        serviceaccount.TokenGenerator
	ServiceAccountMaxExpiration time.Duration
	ExtendExpiration            bool

	// AI configs
	AIBackend     string
	AIAuthToken   string
	AIBaseURL     string
	AIModel       string
	AITemperature float32
	AITopP        float32
}

ExtraConfig holds custom apiserver config

type RESTStorageProvider

type RESTStorageProvider interface {
	GroupName() string
	NewRESTStorage(
		apiResourceConfigSource serverstorage.APIResourceConfigSource,
		restOptionsGetter generic.RESTOptionsGetter,
	) (genericapiserver.APIGroupInfo, error)
}

RESTStorageProvider is a factory type for REST storage.

Directories

Path Synopsis
pod

Jump to

Keyboard shortcuts

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