Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultPredictionServicePortsString = "1025:65535"
)
Variables ¶
View Source
var DefaultConnection = data.Connection{
"steam",
"steam",
"",
"",
"",
"",
"disable",
"",
"",
"",
}
Functions ¶
Types ¶
type AuthProvider ¶
type BasicAuthProvider ¶
type BasicAuthProvider struct {
// contains filtered or unexported fields
}
func (*BasicAuthProvider) Logout ¶
func (p *BasicAuthProvider) Logout() http.Handler
type BasicLdapAuthProvider ¶
type BasicLdapAuthProvider struct {
// contains filtered or unexported fields
}
func NewBasicLdapAuthProvider ¶
func NewBasicLdapAuthProvider(realm string, conn *ldap.Ldap) *BasicLdapAuthProvider
func (*BasicLdapAuthProvider) Logout ¶
func (p *BasicLdapAuthProvider) Logout() http.Handler
Basic/Digest auth have no notion of logouts, so these handlers simply fail auth,
causing a 401 on the original realm, forcing the browser to re-auth.
type DBOpts ¶
type DBOpts struct { Connection data.Connection SuperuserName string SuperuserPassword string }
type DefaultAz ¶
type DefaultAz struct {
// contains filtered or unexported fields
}
func NewDefaultAz ¶
func (*DefaultAz) Authenticate ¶
type DigestAuthProvider ¶
type DigestAuthProvider struct {
// contains filtered or unexported fields
}
func (*DigestAuthProvider) Logout ¶
func (p *DigestAuthProvider) Logout() http.Handler
type DownloadHandler ¶
type DownloadHandler struct {
// contains filtered or unexported fields
}
func (*DownloadHandler) ServeHTTP ¶
func (s *DownloadHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type Opts ¶
type Opts struct { WebAddress string WebTLSCertPath string WebTLSKeyPath string AuthProvider string AuthConfig string WorkingDirectory string ClusterProxyAddress string CompilationServiceAddress string PredictionServiceHost string PredictionServicePorts [2]int EnableProfiler bool Yarn YarnOpts DB DBOpts }
type UploadHandler ¶
type UploadHandler struct {
// contains filtered or unexported fields
}
func (*UploadHandler) ServeHTTP ¶
func (s *UploadHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.