Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterToMap ¶
product match/sort/page to other function
func GetConfigMap ¶ added in v1.1.0
GetConfigMap show system configMap all users have read-only access ability
func GetFeatureConfig ¶ added in v1.0.3
GetFeatureConfig shows layout of integrated components all users have read-only access ability
func IngressDomainSuffix ¶ added in v1.2.0
IngressDomainSuffix Get Ingress Domain Suffix by cluster and project
Types ¶
type ExtendHandler ¶ added in v1.2.1
type ExtendHandler struct { NginxNamespace string NginxTcpServiceConfigMap string NginxUdpServiceConfigMap string }
func NewExtendHandler ¶ added in v1.2.1
func NewExtendHandler(namespace string, tcpCm string, udpCm string) *ExtendHandler
func (*ExtendHandler) ExtendHandle ¶ added in v1.2.1
func (e *ExtendHandler) ExtendHandle(c *gin.Context)
api/v1/cube/extend/clusters/{cluster}/namespaces/{namespace}/{resourceType}
type ProxyHandler ¶ added in v1.2.0
type ProxyHandler struct {
// contains filtered or unexported fields
}
func NewProxyHandler ¶ added in v1.2.0
func NewProxyHandler(enableConvert bool) *ProxyHandler
func (*ProxyHandler) ProxyHandle ¶ added in v1.2.0
func (h *ProxyHandler) ProxyHandle(c *gin.Context)
ProxyHandle proxy all requests access to k8s, request uri format like below api/v1/cube/proxy/clusters/{cluster}/{k8s_url}
Click to show internal directories.
Click to hide internal directories.