Documentation ¶
Index ¶
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 Authenticator authenticator.Request Authorization authorizer.Authorizer HTTPListenPort int Listener net.Listener HTTPSListenPort int LongRunningVerbs []string LongRunningResources []string OpenAPIConfig openapicommon.GetOpenAPIDefinitions Scheme *runtime.Scheme CodecFactory *serializer.CodecFactory APIGroups []*server.APIGroupInfo Middleware []func(http.Handler) http.Handler PostStartFunc server.PostStartHookFunc SupportAPIAggregation bool DefaultOptions *options.RecommendedOptions AuditConfig *options.AuditOptions IgnoreStartFailure bool ReadinessCheckers []healthz.HealthChecker }
type Server ¶
type Server struct { Config *server.RecommendedConfig GenericAPIServer *server.GenericAPIServer Loopback *rest.Config // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.