registry

package
v0.6.3-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 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
	AIProxyEnabled bool
	AIHTTPProxy    string
	AIHTTPSProxy   string
	AINoProxy      string
}

ExtraConfig holds custom apiserver config

type RESTStorageProvider

type RESTStorageProvider interface {
	GroupName() string
	NewRESTStorage(apiResourceConfigSource serverstorage.APIResourceConfigSource, restOptionsGetter generic.RESTOptionsGetter) (genericapiserver.APIGroupInfo, bool, 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