Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateApp(params *CreateAppParams, authInfo runtime.ClientAuthInfoWriter) (*CreateAppCreated, error)
- func (a *Client) GetAppDetails(params *GetAppDetailsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAppDetailsOK, error)
- func (a *Client) GetApps(params *GetAppsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAppsOK, error)
- func (a *Client) PartialUpdateApp(params *PartialUpdateAppParams, authInfo runtime.ClientAuthInfoWriter) (*PartialUpdateAppOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateApp(params *UpdateAppParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAppOK, error)
- type CreateAppCreated
- type CreateAppDefault
- type CreateAppForbidden
- type CreateAppParams
- type CreateAppReader
- type CreateAppUnauthorized
- type GetAppDetailsDefault
- type GetAppDetailsForbidden
- type GetAppDetailsOK
- type GetAppDetailsParams
- type GetAppDetailsReader
- type GetAppDetailsUnauthorized
- type GetAppsDefault
- type GetAppsForbidden
- type GetAppsOK
- type GetAppsOKBodyBody
- type GetAppsParams
- type GetAppsReader
- type GetAppsUnauthorized
- type PartialUpdateAppDefault
- type PartialUpdateAppForbidden
- type PartialUpdateAppOK
- type PartialUpdateAppParams
- func (o *PartialUpdateAppParams) WithAppID(AppID int64) *PartialUpdateAppParams
- func (o *PartialUpdateAppParams) WithBody(Body []*models.PatchAppRequest) *PartialUpdateAppParams
- func (o *PartialUpdateAppParams) WithTeamID(TeamID int64) *PartialUpdateAppParams
- func (o *PartialUpdateAppParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PartialUpdateAppReader
- type PartialUpdateAppUnauthorized
- type UpdateAppDefault
- type UpdateAppForbidden
- type UpdateAppOK
- type UpdateAppParams
- type UpdateAppReader
- type UpdateAppUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for apps API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new apps API client.
func (*Client) CreateApp ¶
func (a *Client) CreateApp(params *CreateAppParams, authInfo runtime.ClientAuthInfoWriter) (*CreateAppCreated, error)
CreateApp creates an app
Create an app
func (*Client) GetAppDetails ¶
func (a *Client) GetAppDetails(params *GetAppDetailsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAppDetailsOK, error)
GetAppDetails gets app details
Get app details
func (*Client) GetApps ¶
func (a *Client) GetApps(params *GetAppsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAppsOK, error)
GetApps gets team apps
Get team apps
func (*Client) PartialUpdateApp ¶
func (a *Client) PartialUpdateApp(params *PartialUpdateAppParams, authInfo runtime.ClientAuthInfoWriter) (*PartialUpdateAppOK, error)
PartialUpdateApp partials update app
Update some app properties, for now, only accept envvars
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateApp ¶
func (a *Client) UpdateApp(params *UpdateAppParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAppOK, error)
UpdateApp updates app
Update app properties, such as number of replicas and other things.
type CreateAppCreated ¶
CreateAppCreated handles this case with default header values.
Newly created app
func NewCreateAppCreated ¶
func NewCreateAppCreated() *CreateAppCreated
NewCreateAppCreated creates a CreateAppCreated with default headers values
func (*CreateAppCreated) Error ¶
func (o *CreateAppCreated) Error() string
type CreateAppDefault ¶
CreateAppDefault handles this case with default header values.
Error
func NewCreateAppDefault ¶
func NewCreateAppDefault(code int) *CreateAppDefault
NewCreateAppDefault creates a CreateAppDefault with default headers values
func (*CreateAppDefault) Code ¶
func (o *CreateAppDefault) Code() int
Code gets the status code for the create app default response
func (*CreateAppDefault) Error ¶
func (o *CreateAppDefault) Error() string
type CreateAppForbidden ¶
type CreateAppForbidden struct {
Payload *models.Unauthorized
}
CreateAppForbidden handles this case with default header values.
User does not have the credentials to access this resource
func NewCreateAppForbidden ¶
func NewCreateAppForbidden() *CreateAppForbidden
NewCreateAppForbidden creates a CreateAppForbidden with default headers values
func (*CreateAppForbidden) Error ¶
func (o *CreateAppForbidden) Error() string
type CreateAppParams ¶
type CreateAppParams struct { /*Body*/ Body *models.App /*TeamID Team ID */ TeamID int64 // contains filtered or unexported fields }
CreateAppParams contains all the parameters to send to the API endpoint for the create app operation typically these are written to a http.Request
func NewCreateAppParams ¶
func NewCreateAppParams() *CreateAppParams
NewCreateAppParams creates a new CreateAppParams object with the default values initialized.
func NewCreateAppParamsWithTimeout ¶
func NewCreateAppParamsWithTimeout(timeout time.Duration) *CreateAppParams
NewCreateAppParamsWithTimeout creates a new CreateAppParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateAppParams) WithBody ¶
func (o *CreateAppParams) WithBody(Body *models.App) *CreateAppParams
WithBody adds the body to the create app params
func (*CreateAppParams) WithTeamID ¶
func (o *CreateAppParams) WithTeamID(TeamID int64) *CreateAppParams
WithTeamID adds the teamId to the create app params
func (*CreateAppParams) WriteToRequest ¶
func (o *CreateAppParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateAppReader ¶
type CreateAppReader struct {
// contains filtered or unexported fields
}
CreateAppReader is a Reader for the CreateApp structure.
func (*CreateAppReader) ReadResponse ¶
func (o *CreateAppReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type CreateAppUnauthorized ¶
type CreateAppUnauthorized struct {
}CreateAppUnauthorized handles this case with default header values.
User not authorized
func NewCreateAppUnauthorized ¶
func NewCreateAppUnauthorized() *CreateAppUnauthorized
NewCreateAppUnauthorized creates a CreateAppUnauthorized with default headers values
func (*CreateAppUnauthorized) Error ¶
func (o *CreateAppUnauthorized) Error() string
type GetAppDetailsDefault ¶
type GetAppDetailsDefault struct { Payload *models.Error // contains filtered or unexported fields }
GetAppDetailsDefault handles this case with default header values.
Error
func NewGetAppDetailsDefault ¶
func NewGetAppDetailsDefault(code int) *GetAppDetailsDefault
NewGetAppDetailsDefault creates a GetAppDetailsDefault with default headers values
func (*GetAppDetailsDefault) Code ¶
func (o *GetAppDetailsDefault) Code() int
Code gets the status code for the get app details default response
func (*GetAppDetailsDefault) Error ¶
func (o *GetAppDetailsDefault) Error() string
type GetAppDetailsForbidden ¶
type GetAppDetailsForbidden struct {
Payload *models.Unauthorized
}
GetAppDetailsForbidden handles this case with default header values.
User does not have the credentials to access this resource
func NewGetAppDetailsForbidden ¶
func NewGetAppDetailsForbidden() *GetAppDetailsForbidden
NewGetAppDetailsForbidden creates a GetAppDetailsForbidden with default headers values
func (*GetAppDetailsForbidden) Error ¶
func (o *GetAppDetailsForbidden) Error() string
type GetAppDetailsOK ¶
GetAppDetailsOK handles this case with default header values.
App details
func NewGetAppDetailsOK ¶
func NewGetAppDetailsOK() *GetAppDetailsOK
NewGetAppDetailsOK creates a GetAppDetailsOK with default headers values
func (*GetAppDetailsOK) Error ¶
func (o *GetAppDetailsOK) Error() string
type GetAppDetailsParams ¶
type GetAppDetailsParams struct { /*AppID App ID */ AppID int64 /*TeamID Team ID */ TeamID int64 // contains filtered or unexported fields }
GetAppDetailsParams contains all the parameters to send to the API endpoint for the get app details operation typically these are written to a http.Request
func NewGetAppDetailsParams ¶
func NewGetAppDetailsParams() *GetAppDetailsParams
NewGetAppDetailsParams creates a new GetAppDetailsParams object with the default values initialized.
func NewGetAppDetailsParamsWithTimeout ¶
func NewGetAppDetailsParamsWithTimeout(timeout time.Duration) *GetAppDetailsParams
NewGetAppDetailsParamsWithTimeout creates a new GetAppDetailsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAppDetailsParams) WithAppID ¶
func (o *GetAppDetailsParams) WithAppID(AppID int64) *GetAppDetailsParams
WithAppID adds the appId to the get app details params
func (*GetAppDetailsParams) WithTeamID ¶
func (o *GetAppDetailsParams) WithTeamID(TeamID int64) *GetAppDetailsParams
WithTeamID adds the teamId to the get app details params
func (*GetAppDetailsParams) WriteToRequest ¶
func (o *GetAppDetailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAppDetailsReader ¶
type GetAppDetailsReader struct {
// contains filtered or unexported fields
}
GetAppDetailsReader is a Reader for the GetAppDetails structure.
func (*GetAppDetailsReader) ReadResponse ¶
func (o *GetAppDetailsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type GetAppDetailsUnauthorized ¶
type GetAppDetailsUnauthorized struct {
}GetAppDetailsUnauthorized handles this case with default header values.
User not authorized
func NewGetAppDetailsUnauthorized ¶
func NewGetAppDetailsUnauthorized() *GetAppDetailsUnauthorized
NewGetAppDetailsUnauthorized creates a GetAppDetailsUnauthorized with default headers values
func (*GetAppDetailsUnauthorized) Error ¶
func (o *GetAppDetailsUnauthorized) Error() string
type GetAppsDefault ¶
GetAppsDefault handles this case with default header values.
Error
func NewGetAppsDefault ¶
func NewGetAppsDefault(code int) *GetAppsDefault
NewGetAppsDefault creates a GetAppsDefault with default headers values
func (*GetAppsDefault) Code ¶
func (o *GetAppsDefault) Code() int
Code gets the status code for the get apps default response
func (*GetAppsDefault) Error ¶
func (o *GetAppsDefault) Error() string
type GetAppsForbidden ¶
type GetAppsForbidden struct {
Payload *models.Unauthorized
}
GetAppsForbidden handles this case with default header values.
User does not have the credentials to access this resource
func NewGetAppsForbidden ¶
func NewGetAppsForbidden() *GetAppsForbidden
NewGetAppsForbidden creates a GetAppsForbidden with default headers values
func (*GetAppsForbidden) Error ¶
func (o *GetAppsForbidden) Error() string
type GetAppsOK ¶
type GetAppsOK struct {
Payload GetAppsOKBodyBody
}
GetAppsOK handles this case with default header values.
Apps
func NewGetAppsOK ¶
func NewGetAppsOK() *GetAppsOK
NewGetAppsOK creates a GetAppsOK with default headers values
type GetAppsOKBodyBody ¶
type GetAppsOKBodyBody struct { models.Pagination /* items Required: true */ Items []*models.App `json:"items"` }
GetAppsOKBodyBody get apps o k body body
swagger:model GetAppsOKBodyBody
type GetAppsParams ¶
type GetAppsParams struct { /*Limit Limit */ Limit *int64 /*Since Offset */ Since *int64 /*TeamID Team ID */ TeamID int64 // contains filtered or unexported fields }
GetAppsParams contains all the parameters to send to the API endpoint for the get apps operation typically these are written to a http.Request
func NewGetAppsParams ¶
func NewGetAppsParams() *GetAppsParams
NewGetAppsParams creates a new GetAppsParams object with the default values initialized.
func NewGetAppsParamsWithTimeout ¶
func NewGetAppsParamsWithTimeout(timeout time.Duration) *GetAppsParams
NewGetAppsParamsWithTimeout creates a new GetAppsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAppsParams) WithLimit ¶
func (o *GetAppsParams) WithLimit(Limit *int64) *GetAppsParams
WithLimit adds the limit to the get apps params
func (*GetAppsParams) WithSince ¶
func (o *GetAppsParams) WithSince(Since *int64) *GetAppsParams
WithSince adds the since to the get apps params
func (*GetAppsParams) WithTeamID ¶
func (o *GetAppsParams) WithTeamID(TeamID int64) *GetAppsParams
WithTeamID adds the teamId to the get apps params
func (*GetAppsParams) WriteToRequest ¶
func (o *GetAppsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAppsReader ¶
type GetAppsReader struct {
// contains filtered or unexported fields
}
GetAppsReader is a Reader for the GetApps structure.
func (*GetAppsReader) ReadResponse ¶
func (o *GetAppsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type GetAppsUnauthorized ¶
type GetAppsUnauthorized struct {
}GetAppsUnauthorized handles this case with default header values.
User not authorized
func NewGetAppsUnauthorized ¶
func NewGetAppsUnauthorized() *GetAppsUnauthorized
NewGetAppsUnauthorized creates a GetAppsUnauthorized with default headers values
func (*GetAppsUnauthorized) Error ¶
func (o *GetAppsUnauthorized) Error() string
type PartialUpdateAppDefault ¶
type PartialUpdateAppDefault struct { Payload *models.Error // contains filtered or unexported fields }
PartialUpdateAppDefault handles this case with default header values.
Error
func NewPartialUpdateAppDefault ¶
func NewPartialUpdateAppDefault(code int) *PartialUpdateAppDefault
NewPartialUpdateAppDefault creates a PartialUpdateAppDefault with default headers values
func (*PartialUpdateAppDefault) Code ¶
func (o *PartialUpdateAppDefault) Code() int
Code gets the status code for the partial update app default response
func (*PartialUpdateAppDefault) Error ¶
func (o *PartialUpdateAppDefault) Error() string
type PartialUpdateAppForbidden ¶
type PartialUpdateAppForbidden struct {
Payload *models.Unauthorized
}
PartialUpdateAppForbidden handles this case with default header values.
User does not have the credentials to access this resource
func NewPartialUpdateAppForbidden ¶
func NewPartialUpdateAppForbidden() *PartialUpdateAppForbidden
NewPartialUpdateAppForbidden creates a PartialUpdateAppForbidden with default headers values
func (*PartialUpdateAppForbidden) Error ¶
func (o *PartialUpdateAppForbidden) Error() string
type PartialUpdateAppOK ¶
PartialUpdateAppOK handles this case with default header values.
App
func NewPartialUpdateAppOK ¶
func NewPartialUpdateAppOK() *PartialUpdateAppOK
NewPartialUpdateAppOK creates a PartialUpdateAppOK with default headers values
func (*PartialUpdateAppOK) Error ¶
func (o *PartialUpdateAppOK) Error() string
type PartialUpdateAppParams ¶
type PartialUpdateAppParams struct { /*AppID App ID */ AppID int64 /*Body*/ Body []*models.PatchAppRequest /*TeamID Team ID */ TeamID int64 // contains filtered or unexported fields }
PartialUpdateAppParams contains all the parameters to send to the API endpoint for the partial update app operation typically these are written to a http.Request
func NewPartialUpdateAppParams ¶
func NewPartialUpdateAppParams() *PartialUpdateAppParams
NewPartialUpdateAppParams creates a new PartialUpdateAppParams object with the default values initialized.
func NewPartialUpdateAppParamsWithTimeout ¶
func NewPartialUpdateAppParamsWithTimeout(timeout time.Duration) *PartialUpdateAppParams
NewPartialUpdateAppParamsWithTimeout creates a new PartialUpdateAppParams object with the default values initialized, and the ability to set a timeout on a request
func (*PartialUpdateAppParams) WithAppID ¶
func (o *PartialUpdateAppParams) WithAppID(AppID int64) *PartialUpdateAppParams
WithAppID adds the appId to the partial update app params
func (*PartialUpdateAppParams) WithBody ¶
func (o *PartialUpdateAppParams) WithBody(Body []*models.PatchAppRequest) *PartialUpdateAppParams
WithBody adds the body to the partial update app params
func (*PartialUpdateAppParams) WithTeamID ¶
func (o *PartialUpdateAppParams) WithTeamID(TeamID int64) *PartialUpdateAppParams
WithTeamID adds the teamId to the partial update app params
func (*PartialUpdateAppParams) WriteToRequest ¶
func (o *PartialUpdateAppParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PartialUpdateAppReader ¶
type PartialUpdateAppReader struct {
// contains filtered or unexported fields
}
PartialUpdateAppReader is a Reader for the PartialUpdateApp structure.
func (*PartialUpdateAppReader) ReadResponse ¶
func (o *PartialUpdateAppReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type PartialUpdateAppUnauthorized ¶
type PartialUpdateAppUnauthorized struct {
}PartialUpdateAppUnauthorized handles this case with default header values.
User not authorized
func NewPartialUpdateAppUnauthorized ¶
func NewPartialUpdateAppUnauthorized() *PartialUpdateAppUnauthorized
NewPartialUpdateAppUnauthorized creates a PartialUpdateAppUnauthorized with default headers values
func (*PartialUpdateAppUnauthorized) Error ¶
func (o *PartialUpdateAppUnauthorized) Error() string
type UpdateAppDefault ¶
UpdateAppDefault handles this case with default header values.
Error
func NewUpdateAppDefault ¶
func NewUpdateAppDefault(code int) *UpdateAppDefault
NewUpdateAppDefault creates a UpdateAppDefault with default headers values
func (*UpdateAppDefault) Code ¶
func (o *UpdateAppDefault) Code() int
Code gets the status code for the update app default response
func (*UpdateAppDefault) Error ¶
func (o *UpdateAppDefault) Error() string
type UpdateAppForbidden ¶
type UpdateAppForbidden struct {
Payload *models.Unauthorized
}
UpdateAppForbidden handles this case with default header values.
User does not have the credentials to access this resource
func NewUpdateAppForbidden ¶
func NewUpdateAppForbidden() *UpdateAppForbidden
NewUpdateAppForbidden creates a UpdateAppForbidden with default headers values
func (*UpdateAppForbidden) Error ¶
func (o *UpdateAppForbidden) Error() string
type UpdateAppOK ¶
UpdateAppOK handles this case with default header values.
App
func NewUpdateAppOK ¶
func NewUpdateAppOK() *UpdateAppOK
NewUpdateAppOK creates a UpdateAppOK with default headers values
func (*UpdateAppOK) Error ¶
func (o *UpdateAppOK) Error() string
type UpdateAppParams ¶
type UpdateAppParams struct { /*AppID App ID */ AppID int64 /*Body*/ Body *models.App /*TeamID Team ID */ TeamID int64 // contains filtered or unexported fields }
UpdateAppParams contains all the parameters to send to the API endpoint for the update app operation typically these are written to a http.Request
func NewUpdateAppParams ¶
func NewUpdateAppParams() *UpdateAppParams
NewUpdateAppParams creates a new UpdateAppParams object with the default values initialized.
func NewUpdateAppParamsWithTimeout ¶
func NewUpdateAppParamsWithTimeout(timeout time.Duration) *UpdateAppParams
NewUpdateAppParamsWithTimeout creates a new UpdateAppParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateAppParams) WithAppID ¶
func (o *UpdateAppParams) WithAppID(AppID int64) *UpdateAppParams
WithAppID adds the appId to the update app params
func (*UpdateAppParams) WithBody ¶
func (o *UpdateAppParams) WithBody(Body *models.App) *UpdateAppParams
WithBody adds the body to the update app params
func (*UpdateAppParams) WithTeamID ¶
func (o *UpdateAppParams) WithTeamID(TeamID int64) *UpdateAppParams
WithTeamID adds the teamId to the update app params
func (*UpdateAppParams) WriteToRequest ¶
func (o *UpdateAppParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateAppReader ¶
type UpdateAppReader struct {
// contains filtered or unexported fields
}
UpdateAppReader is a Reader for the UpdateApp structure.
func (*UpdateAppReader) ReadResponse ¶
func (o *UpdateAppReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type UpdateAppUnauthorized ¶
type UpdateAppUnauthorized struct {
}UpdateAppUnauthorized handles this case with default header values.
User not authorized
func NewUpdateAppUnauthorized ¶
func NewUpdateAppUnauthorized() *UpdateAppUnauthorized
NewUpdateAppUnauthorized creates a UpdateAppUnauthorized with default headers values
func (*UpdateAppUnauthorized) Error ¶
func (o *UpdateAppUnauthorized) Error() string