Documentation ¶
Index ¶
- type Config
- type Server
- func (s *Server) InstallAPIServer(ctx context.Context) error
- func (s *Server) InstallCustomMetricsAPI(ctx context.Context) error
- func (s *Server) InstallExternalMetricsAPI(ctx context.Context) error
- func (s *Server) InstallOpenAPI(ctx context.Context) error
- func (s *Server) Run(ctx context.Context, address string, certFile, privateKeyFile string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { TypedClient versioned.Interface DynamicClient dynamic.Interface RestMapper meta.RESTMapper }
Config holds configurations needed by the server handlers.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is a server that can serve HTTP/HTTPS requests.
func (*Server) InstallAPIServer ¶
InstallAPIServer installs the API server for the server.
func (*Server) InstallCustomMetricsAPI ¶
InstallCustomMetricsAPI installs the custom metrics API for the server.
func (*Server) InstallExternalMetricsAPI ¶
InstallExternalMetricsAPI installs the external metrics API for the server.
func (*Server) InstallOpenAPI ¶
InstallOpenAPI installs the OpenAPI spec for the server.
Click to show internal directories.
Click to hide internal directories.