Documentation
¶
Index ¶
- type AuthMiddlewareRequest
- type AuthRequest
- type AuthResponse
- type Environment
- type EnvironmentCreateRequest
- type EnvironmentCreateResponse
- type EnvironmentListRequest
- type EnvironmentListResponse
- type EnvironmentPort
- type EnvironmentRemoveRequest
- type EnvironmentRemoveResponse
- type EnvironmentSpec
- type EnvironmentStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthMiddlewareRequest ¶ added in v0.0.4
type AuthMiddlewareRequest struct {
// Use auth instead of in the request body.
IdentityToken string `uri:"identity_token" example:"a332139d39b89a241400013700e665a3"`
}
type AuthRequest ¶
type AuthRequest struct {
// Username string `json:"username,omitempty"`
// Password string `json:"password,omitempty"`
PublicKey string `json:"public_key"`
// IdentityToken is used to authenticate the user and get
// an access token for the registry.
// Required: true
IdentityToken string `json:"identity_token" example:"a332139d39b89a241400013700e665a3"`
}
AuthRequest contains authorization information for connecting to a envd server.
type AuthResponse ¶
type AuthResponse struct {
// An opaque token used to authenticate a user after a successful login
// Required: true
IdentityToken string `json:"identity_token" example:"a332139d39b89a241400013700e665a3"`
// The status of the authentication
// Required: true
Status string `json:"status" example:"Login successfully"`
}
type Environment ¶ added in v0.0.4
type Environment struct {
Spec EnvironmentSpec
Status EnvironmentStatus
}
type EnvironmentListRequest ¶ added in v0.0.3
type EnvironmentListRequest struct {
// Use auth instead of in the request body.
IdentityToken string `uri:"identity_token" example:"a332139d39b89a241400013700e665a3"`
}
type EnvironmentListResponse ¶ added in v0.0.3
type EnvironmentPort ¶ added in v0.0.4
type EnvironmentRemoveRequest ¶ added in v0.0.4
type EnvironmentRemoveRequest struct {
// Use auth instead of in the requrest body.
IdentityToken string `uri:"identity_token" example:"a332139d39b89a241400013700e665a3"`
}
type EnvironmentRemoveResponse ¶ added in v0.0.4
type EnvironmentRemoveResponse struct {
}
type EnvironmentSpec ¶ added in v0.0.4
type EnvironmentStatus ¶ added in v0.0.4
type EnvironmentStatus struct {
Phase string `json:"phase,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.