Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { /* list of the external addresses of the app */ AddressList []string `json:"addressList,omitempty"` /* deployment list */ DeploymentList []*Deployment `json:"deploymentList,omitempty"` /* env vars */ EnvVars []*EnvVar `json:"envVars,omitempty"` /* id */ ID int64 `json:"id,omitempty"` /* name Required: true */ Name *string `json:"name"` /* number of PODs running the app */ Scale *int64 `json:"scale,omitempty"` }
App app
swagger:model App
type BadRequest ¶
type BadRequest struct { /* code */ Code *int64 `json:"code,omitempty"` /* message */ Message *string `json:"message,omitempty"` }
BadRequest bad request
swagger:model BadRequest
type Deployment ¶
type Deployment struct { /* description Required: true */ Description *string `json:"description"` /* description of the error, if any */ Error string `json:"error,omitempty"` /* where the deploy process was started */ Origin *string `json:"origin,omitempty"` /* uuid Required: true */ UUID *string `json:"uuid"` /* when */ When strfmt.DateTime `json:"when,omitempty"` }
Deployment deployment
swagger:model Deployment
type EnvVar ¶
type EnvVar struct { /* key Required: true */ Key *string `json:"key"` /* value Required: true */ Value *string `json:"value"` }
EnvVar app environment var
swagger:model EnvVar
type Error ¶
type Error struct { /* code */ Code int64 `json:"code,omitempty"` /* message */ Message string `json:"message,omitempty"` }
Error error
swagger:model Error
type Forbidden ¶
type Forbidden struct { /* code */ Code *int64 `json:"code,omitempty"` /* message */ Message *string `json:"message,omitempty"` }
Forbidden forbidden
swagger:model Forbidden
type Login ¶
type Login struct { /* email Required: true Min Length: 1 */ Email *strfmt.Email `json:"email"` /* password Required: true Min Length: 1 */ Password *strfmt.Password `json:"password"` }
Login login
swagger:model Login
type LoginToken ¶
type LoginToken struct { /* token */ Token string `json:"token,omitempty"` }
LoginToken login token
swagger:model LoginToken
type NotFound ¶
type NotFound struct { /* code */ Code *int64 `json:"code,omitempty"` /* message */ Message *string `json:"message,omitempty"` }
NotFound not found
swagger:model NotFound
type Pagination ¶
type Pagination struct { /* pagination */ Pagination *PaginationPagination `json:"pagination,omitempty"` }
Pagination pagination
swagger:model Pagination
type PaginationPagination ¶
type PaginationPagination struct { /* length */ Length int64 `json:"length,omitempty"` /* next Url */ NextURL string `json:"nextUrl,omitempty"` /* previous Url */ PreviousURL string `json:"previousUrl,omitempty"` /* self */ Self string `json:"self,omitempty"` /* size */ Size int64 `json:"size,omitempty"` }
PaginationPagination pagination pagination
swagger:model PaginationPagination
type PatchAppEnvVar ¶
type PatchAppEnvVar struct { /* key Required: true */ Key *string `json:"key"` /* value */ Value string `json:"value,omitempty"` }
PatchAppEnvVar app environment var
swagger:model PatchAppEnvVar
type PatchAppRequest ¶
type PatchAppRequest struct { /* op Required: true */ Op *string `json:"op"` /* path Required: true */ Path *string `json:"path"` /* value Required: true */ Value []*PatchAppEnvVar `json:"value"` }
PatchAppRequest used to create a patch update to an app
swagger:model PatchAppRequest
type Team ¶
type Team struct { /* apps */ Apps []*App `json:"apps,omitempty"` /* email */ Email strfmt.Email `json:"email,omitempty"` /* i am member */ IAmMember bool `json:"iAmMember,omitempty"` /* id */ ID int64 `json:"id,omitempty"` /* members */ Members []*User `json:"members,omitempty"` /* name Required: true Min Length: 3 Pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ */ Name *string `json:"name"` /* url */ URL string `json:"url,omitempty"` }
Team team
swagger:model Team
type Unauthorized ¶
type Unauthorized struct { int64 `json:"code,omitempty"` Message *string `json:"message,omitempty"` }Code *
Unauthorized unauthorized
swagger:model Unauthorized
type User ¶
type User struct { /* email Required: true Min Length: 8 */ Email *string `json:"email"` /* id */ ID int64 `json:"id,omitempty"` /* is admin Required: true */ IsAdmin *bool `json:"isAdmin"` /* name Required: true Min Length: 5 */ Name *string `json:"name"` /* password Required: true Min Length: 8 */ Password *string `json:"password"` /* teams */ Teams []*Team `json:"teams,omitempty"` }
User user
swagger:model User