Documentation ¶
Index ¶
- Variables
- type PlatformAuthorizationMode
- type Server
- func (s *Server) GetAuthenticator() auth.Auth
- func (s *Server) GetDefaultNamespace() string
- func (s *Server) GetDependantImagesRegistryURL() string
- func (s *Server) GetExternalIPAddresses() []string
- func (s *Server) GetImageNamePrefixTemplate() string
- func (s *Server) GetPlatformAuthorizationMode() PlatformAuthorizationMode
- func (s *Server) GetPlatformConfiguration() *platformconfig.Config
- func (s *Server) GetRegistryURL() string
- func (s *Server) GetRunRegistryURL() string
- func (s *Server) InstallMiddleware(router chi.Router) error
- func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
View Source
var DashboardResourceRegistrySingleton = registry.NewRegistry("dashboard_resource")
Functions ¶
This section is empty.
Types ¶
type PlatformAuthorizationMode ¶
type PlatformAuthorizationMode string
const ( PlatformAuthorizationModeServiceAccount PlatformAuthorizationMode = "service-account" PlatformAuthorizationModeAuthorizationHeaderOIDC PlatformAuthorizationMode = "authorization-header-oidc" )
type Server ¶
type Server struct { *restful.AbstractServer Platform platform.Platform NoPullBaseImages bool Offline bool Repository *functiontemplates.Repository // contains filtered or unexported fields }
func NewServer ¶
func NewServer(parentLogger logger.Logger, containerBuilderKind string, dockerKeyDir string, defaultRegistryURL string, defaultRunRegistryURL string, platform platform.Platform, noPullBaseImages bool, configuration *platformconfig.WebServer, defaultCredRefreshInterval *time.Duration, externalIPAddresses []string, defaultNamespace string, offline bool, repository *functiontemplates.Repository, platformConfiguration *platformconfig.Config, imageNamePrefixTemplate string, platformAuthorizationMode string, dependantImageRegistryURL string, authConfig *auth.Config) (*Server, error)
func (*Server) GetAuthenticator ¶
func (*Server) GetDefaultNamespace ¶
func (*Server) GetDependantImagesRegistryURL ¶
func (*Server) GetExternalIPAddresses ¶
func (*Server) GetImageNamePrefixTemplate ¶
func (*Server) GetPlatformAuthorizationMode ¶
func (s *Server) GetPlatformAuthorizationMode() PlatformAuthorizationMode
func (*Server) GetPlatformConfiguration ¶
func (s *Server) GetPlatformConfiguration() *platformconfig.Config
func (*Server) GetRegistryURL ¶
func (*Server) GetRunRegistryURL ¶
func (*Server) InstallMiddleware ¶
Click to show internal directories.
Click to hide internal directories.