Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { ServerOptions // contains filtered or unexported fields }
func NewServer ¶
func NewServer(config *v1beta1.ManagementSpec, opts ...ServerOption) (*Server, error)
type ServerOption ¶ added in v0.12.0
type ServerOption func(*ServerOptions)
func WithAssetsFS ¶ added in v0.12.0
func WithAssetsFS(fs fs.FS) ServerOption
func WithHandler ¶ added in v0.12.0
func WithHandler(method, prefix string, handler ...gin.HandlerFunc) ServerOption
type ServerOptions ¶ added in v0.12.0
type ServerOptions struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.