Documentation ¶
Index ¶
- Constants
- func BuildAPIGroups[T any](arg T, factories ...APIGroupFunc[T]) (result []*server.APIGroupInfo, err error)
- func DefaultOpts() *options.RecommendedOptions
- func NewAuditOptions(policyFile, logPath string) *options.AuditOptions
- func Prep(config *Config) (*server.RecommendedConfig, error)
- type APIGroupFunc
- type Config
- type Server
Constants ¶
View Source
const MinkHeaderKey = "X-Mink-Server"
Variables ¶
This section is empty.
Functions ¶
func BuildAPIGroups ¶
func BuildAPIGroups[T any](arg T, factories ...APIGroupFunc[T]) (result []*server.APIGroupInfo, err error)
func DefaultOpts ¶
func DefaultOpts() *options.RecommendedOptions
func NewAuditOptions ¶
func NewAuditOptions(policyFile, logPath string) *options.AuditOptions
Types ¶
type APIGroupFunc ¶
type APIGroupFunc[T any] func(T) (*server.APIGroupInfo, error)
type Config ¶
type Config struct { Name string Version string HTTPListenPort int HTTPSListenPort int LongRunningVerbs []string LongRunningResources []string Scheme *runtime.Scheme CodecFactory *serializer.CodecFactory DefaultOptions *options.RecommendedOptions AuditConfig *options.AuditOptions SkipInClusterLookup bool RemoteKubeConfigFileOptional bool IgnoreStartFailure bool Middleware []func(http.Handler) http.Handler Authenticator authenticator.Request Authorization authorizer.Authorizer OpenAPIConfig openapicommon.GetOpenAPIDefinitions APIGroups []*server.APIGroupInfo PostStartFunc server.PostStartHookFunc SupportAPIAggregation bool ReadinessCheckers []healthz.HealthChecker }
Click to show internal directories.
Click to hide internal directories.