Documentation
¶
Index ¶
- func BinRoot(dataDir string) string
- func ClientInit(ctx context.Context, dataDir string) error
- func ClusterAuthnHandler(w http.ResponseWriter, r *http.Request)
- func ClusterAuthzHandler(w http.ResponseWriter, r *http.Request)
- func HealthzHandler(w http.ResponseWriter, r *http.Request)
- func JSON(w http.ResponseWriter, code int, payload interface{})
- func Start(ctx context.Context, slug string, dataDir string) (string, error)
- func StartAuthnzServer()
- type HealthzResponse
- type StatusResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientInit ¶ added in v1.50.2
ClientInit will download all binaries for the cluster
func ClusterAuthnHandler ¶
func ClusterAuthnHandler(w http.ResponseWriter, r *http.Request)
ClusterAuthn
func ClusterAuthzHandler ¶
func ClusterAuthzHandler(w http.ResponseWriter, r *http.Request)
ClusterAuthz
func HealthzHandler ¶
func HealthzHandler(w http.ResponseWriter, r *http.Request)
func JSON ¶
func JSON(w http.ResponseWriter, code int, payload interface{})
func Start ¶
Start will start the embedded cluster. This function blocks until the cluster control plane has started
func StartAuthnzServer ¶
func StartAuthnzServer()
Types ¶
type HealthzResponse ¶
type HealthzResponse struct { Version string `json:"version"` GitSHA string `json:"gitSha"` Status StatusResponse `json:"status"` }
type StatusResponse ¶
type StatusResponse struct { }
Click to show internal directories.
Click to hide internal directories.