Documentation ¶
Index ¶
Constants ¶
View Source
const (
OpenShiftWebConsoleClientID = "openshift-web-console"
)
Variables ¶
This section is empty.
Functions ¶
func RunAssetServer ¶
func RunAssetServer(assetServer *AssetServer, stopCh <-chan struct{}) error
Run starts an http server for the static assets listening on the configured bind address
Types ¶
type AssetServer ¶
type AssetServer struct { GenericAPIServer *genericapiserver.GenericAPIServer PublicURL url.URL }
AssetServer serves non-API endpoints for openshift.
type AssetServerConfig ¶
type AssetServerConfig struct { GenericConfig *genericapiserver.Config Options oapi.AssetConfig LimitRequestOverrides *clusterresourceoverrideapi.ClusterResourceOverrideConfig PublicURL url.URL }
func NewAssetServerConfig ¶
func NewAssetServerConfig(assetConfig oapi.AssetConfig) (*AssetServerConfig, error)
func (*AssetServerConfig) Complete ¶
func (c *AssetServerConfig) Complete() completedAssetServerConfig
Complete fills in any fields not set that are required to have valid data. It's mutating the receiver.
func (*AssetServerConfig) SkipComplete ¶
func (c *AssetServerConfig) SkipComplete() completedAssetServerConfig
SkipComplete provides a way to construct a server instance without config completion.
Click to show internal directories.
Click to hide internal directories.