Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateApp(params *CreateAppParams, authInfo runtime.ClientAuthInfoWriter) (*CreateAppOK, error)
- func (a *Client) DeleteApp(params *DeleteAppParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAppOK, error)
- func (a *Client) GetApps(params *GetAppsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAppsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateApplication(params *UpdateApplicationParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateApplicationOK, error)
- func (a *Client) UploadAppImage(params *UploadAppImageParams, authInfo runtime.ClientAuthInfoWriter) (*UploadAppImageOK, error)
- type CreateAppBadRequest
- type CreateAppForbidden
- type CreateAppOK
- type CreateAppParams
- func (o *CreateAppParams) SetBody(body *models.Application)
- func (o *CreateAppParams) SetContext(ctx context.Context)
- func (o *CreateAppParams) SetHTTPClient(client *http.Client)
- func (o *CreateAppParams) SetTimeout(timeout time.Duration)
- func (o *CreateAppParams) WithBody(body *models.Application) *CreateAppParams
- func (o *CreateAppParams) WithContext(ctx context.Context) *CreateAppParams
- func (o *CreateAppParams) WithHTTPClient(client *http.Client) *CreateAppParams
- func (o *CreateAppParams) WithTimeout(timeout time.Duration) *CreateAppParams
- func (o *CreateAppParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateAppReader
- type CreateAppUnauthorized
- type DeleteAppBadRequest
- type DeleteAppForbidden
- type DeleteAppNotFound
- type DeleteAppOK
- type DeleteAppParams
- func (o *DeleteAppParams) SetContext(ctx context.Context)
- func (o *DeleteAppParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAppParams) SetID(id int64)
- func (o *DeleteAppParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAppParams) WithContext(ctx context.Context) *DeleteAppParams
- func (o *DeleteAppParams) WithHTTPClient(client *http.Client) *DeleteAppParams
- func (o *DeleteAppParams) WithID(id int64) *DeleteAppParams
- func (o *DeleteAppParams) WithTimeout(timeout time.Duration) *DeleteAppParams
- func (o *DeleteAppParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAppReader
- type DeleteAppUnauthorized
- type GetAppsForbidden
- type GetAppsOK
- type GetAppsParams
- func (o *GetAppsParams) SetContext(ctx context.Context)
- func (o *GetAppsParams) SetHTTPClient(client *http.Client)
- func (o *GetAppsParams) SetTimeout(timeout time.Duration)
- func (o *GetAppsParams) WithContext(ctx context.Context) *GetAppsParams
- func (o *GetAppsParams) WithHTTPClient(client *http.Client) *GetAppsParams
- func (o *GetAppsParams) WithTimeout(timeout time.Duration) *GetAppsParams
- func (o *GetAppsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAppsReader
- type GetAppsUnauthorized
- type UpdateApplicationBadRequest
- type UpdateApplicationForbidden
- type UpdateApplicationNotFound
- type UpdateApplicationOK
- type UpdateApplicationParams
- func NewUpdateApplicationParams() *UpdateApplicationParams
- func NewUpdateApplicationParamsWithContext(ctx context.Context) *UpdateApplicationParams
- func NewUpdateApplicationParamsWithHTTPClient(client *http.Client) *UpdateApplicationParams
- func NewUpdateApplicationParamsWithTimeout(timeout time.Duration) *UpdateApplicationParams
- func (o *UpdateApplicationParams) SetBody(body *models.Application)
- func (o *UpdateApplicationParams) SetContext(ctx context.Context)
- func (o *UpdateApplicationParams) SetHTTPClient(client *http.Client)
- func (o *UpdateApplicationParams) SetID(id int64)
- func (o *UpdateApplicationParams) SetTimeout(timeout time.Duration)
- func (o *UpdateApplicationParams) WithBody(body *models.Application) *UpdateApplicationParams
- func (o *UpdateApplicationParams) WithContext(ctx context.Context) *UpdateApplicationParams
- func (o *UpdateApplicationParams) WithHTTPClient(client *http.Client) *UpdateApplicationParams
- func (o *UpdateApplicationParams) WithID(id int64) *UpdateApplicationParams
- func (o *UpdateApplicationParams) WithTimeout(timeout time.Duration) *UpdateApplicationParams
- func (o *UpdateApplicationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateApplicationReader
- type UpdateApplicationUnauthorized
- type UploadAppImageBadRequest
- type UploadAppImageForbidden
- type UploadAppImageInternalServerError
- type UploadAppImageNotFound
- type UploadAppImageOK
- type UploadAppImageParams
- func NewUploadAppImageParams() *UploadAppImageParams
- func NewUploadAppImageParamsWithContext(ctx context.Context) *UploadAppImageParams
- func NewUploadAppImageParamsWithHTTPClient(client *http.Client) *UploadAppImageParams
- func NewUploadAppImageParamsWithTimeout(timeout time.Duration) *UploadAppImageParams
- func (o *UploadAppImageParams) SetContext(ctx context.Context)
- func (o *UploadAppImageParams) SetFile(file runtime.NamedReadCloser)
- func (o *UploadAppImageParams) SetHTTPClient(client *http.Client)
- func (o *UploadAppImageParams) SetID(id int64)
- func (o *UploadAppImageParams) SetTimeout(timeout time.Duration)
- func (o *UploadAppImageParams) WithContext(ctx context.Context) *UploadAppImageParams
- func (o *UploadAppImageParams) WithFile(file runtime.NamedReadCloser) *UploadAppImageParams
- func (o *UploadAppImageParams) WithHTTPClient(client *http.Client) *UploadAppImageParams
- func (o *UploadAppImageParams) WithID(id int64) *UploadAppImageParams
- func (o *UploadAppImageParams) WithTimeout(timeout time.Duration) *UploadAppImageParams
- func (o *UploadAppImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UploadAppImageReader
- type UploadAppImageUnauthorized
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 application API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new application API client.
func (*Client) CreateApp ¶
func (a *Client) CreateApp(params *CreateAppParams, authInfo runtime.ClientAuthInfoWriter) (*CreateAppOK, error)
CreateApp creates an application
func (*Client) DeleteApp ¶
func (a *Client) DeleteApp(params *DeleteAppParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAppOK, error)
DeleteApp deletes an application
func (*Client) GetApps ¶
func (a *Client) GetApps(params *GetAppsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAppsOK, error)
GetApps returns all applications
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateApplication ¶
func (a *Client) UpdateApplication(params *UpdateApplicationParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateApplicationOK, error)
UpdateApplication updates an application
func (*Client) UploadAppImage ¶
func (a *Client) UploadAppImage(params *UploadAppImageParams, authInfo runtime.ClientAuthInfoWriter) (*UploadAppImageOK, error)
UploadAppImage uploads an image for an application
type CreateAppBadRequest ¶
CreateAppBadRequest handles this case with default header values.
Bad Request
func NewCreateAppBadRequest ¶
func NewCreateAppBadRequest() *CreateAppBadRequest
NewCreateAppBadRequest creates a CreateAppBadRequest with default headers values
func (*CreateAppBadRequest) Error ¶
func (o *CreateAppBadRequest) Error() string
type CreateAppForbidden ¶
CreateAppForbidden handles this case with default header values.
Forbidden
func NewCreateAppForbidden ¶
func NewCreateAppForbidden() *CreateAppForbidden
NewCreateAppForbidden creates a CreateAppForbidden with default headers values
func (*CreateAppForbidden) Error ¶
func (o *CreateAppForbidden) Error() string
type CreateAppOK ¶
type CreateAppOK struct {
Payload *models.Application
}
CreateAppOK handles this case with default header values.
Ok
func NewCreateAppOK ¶
func NewCreateAppOK() *CreateAppOK
NewCreateAppOK creates a CreateAppOK with default headers values
func (*CreateAppOK) Error ¶
func (o *CreateAppOK) Error() string
type CreateAppParams ¶
type CreateAppParams struct { /*Body the application to add */ Body *models.Application Context context.Context HTTPClient *http.Client // 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 NewCreateAppParamsWithContext ¶
func NewCreateAppParamsWithContext(ctx context.Context) *CreateAppParams
NewCreateAppParamsWithContext creates a new CreateAppParams object with the default values initialized, and the ability to set a context for a request
func NewCreateAppParamsWithHTTPClient ¶
func NewCreateAppParamsWithHTTPClient(client *http.Client) *CreateAppParams
NewCreateAppParamsWithHTTPClient creates a new CreateAppParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
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) SetBody ¶
func (o *CreateAppParams) SetBody(body *models.Application)
SetBody adds the body to the create app params
func (*CreateAppParams) SetContext ¶
func (o *CreateAppParams) SetContext(ctx context.Context)
SetContext adds the context to the create app params
func (*CreateAppParams) SetHTTPClient ¶
func (o *CreateAppParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create app params
func (*CreateAppParams) SetTimeout ¶
func (o *CreateAppParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create app params
func (*CreateAppParams) WithBody ¶
func (o *CreateAppParams) WithBody(body *models.Application) *CreateAppParams
WithBody adds the body to the create app params
func (*CreateAppParams) WithContext ¶
func (o *CreateAppParams) WithContext(ctx context.Context) *CreateAppParams
WithContext adds the context to the create app params
func (*CreateAppParams) WithHTTPClient ¶
func (o *CreateAppParams) WithHTTPClient(client *http.Client) *CreateAppParams
WithHTTPClient adds the HTTPClient to the create app params
func (*CreateAppParams) WithTimeout ¶
func (o *CreateAppParams) WithTimeout(timeout time.Duration) *CreateAppParams
WithTimeout adds the timeout 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 received o.
type CreateAppUnauthorized ¶
type CreateAppUnauthorized struct {
}CreateAppUnauthorized handles this case with default header values.
Unauthorized
func NewCreateAppUnauthorized ¶
func NewCreateAppUnauthorized() *CreateAppUnauthorized
NewCreateAppUnauthorized creates a CreateAppUnauthorized with default headers values
func (*CreateAppUnauthorized) Error ¶
func (o *CreateAppUnauthorized) Error() string
type DeleteAppBadRequest ¶
DeleteAppBadRequest handles this case with default header values.
Bad Request
func NewDeleteAppBadRequest ¶
func NewDeleteAppBadRequest() *DeleteAppBadRequest
NewDeleteAppBadRequest creates a DeleteAppBadRequest with default headers values
func (*DeleteAppBadRequest) Error ¶
func (o *DeleteAppBadRequest) Error() string
type DeleteAppForbidden ¶
DeleteAppForbidden handles this case with default header values.
Forbidden
func NewDeleteAppForbidden ¶
func NewDeleteAppForbidden() *DeleteAppForbidden
NewDeleteAppForbidden creates a DeleteAppForbidden with default headers values
func (*DeleteAppForbidden) Error ¶
func (o *DeleteAppForbidden) Error() string
type DeleteAppNotFound ¶
DeleteAppNotFound handles this case with default header values.
Not Found
func NewDeleteAppNotFound ¶
func NewDeleteAppNotFound() *DeleteAppNotFound
NewDeleteAppNotFound creates a DeleteAppNotFound with default headers values
func (*DeleteAppNotFound) Error ¶
func (o *DeleteAppNotFound) Error() string
type DeleteAppOK ¶
type DeleteAppOK struct { }
DeleteAppOK handles this case with default header values.
Ok
func NewDeleteAppOK ¶
func NewDeleteAppOK() *DeleteAppOK
NewDeleteAppOK creates a DeleteAppOK with default headers values
func (*DeleteAppOK) Error ¶
func (o *DeleteAppOK) Error() string
type DeleteAppParams ¶
type DeleteAppParams struct { /*ID the application id */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteAppParams contains all the parameters to send to the API endpoint for the delete app operation typically these are written to a http.Request
func NewDeleteAppParams ¶
func NewDeleteAppParams() *DeleteAppParams
NewDeleteAppParams creates a new DeleteAppParams object with the default values initialized.
func NewDeleteAppParamsWithContext ¶
func NewDeleteAppParamsWithContext(ctx context.Context) *DeleteAppParams
NewDeleteAppParamsWithContext creates a new DeleteAppParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteAppParamsWithHTTPClient ¶
func NewDeleteAppParamsWithHTTPClient(client *http.Client) *DeleteAppParams
NewDeleteAppParamsWithHTTPClient creates a new DeleteAppParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteAppParamsWithTimeout ¶
func NewDeleteAppParamsWithTimeout(timeout time.Duration) *DeleteAppParams
NewDeleteAppParamsWithTimeout creates a new DeleteAppParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteAppParams) SetContext ¶
func (o *DeleteAppParams) SetContext(ctx context.Context)
SetContext adds the context to the delete app params
func (*DeleteAppParams) SetHTTPClient ¶
func (o *DeleteAppParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete app params
func (*DeleteAppParams) SetID ¶
func (o *DeleteAppParams) SetID(id int64)
SetID adds the id to the delete app params
func (*DeleteAppParams) SetTimeout ¶
func (o *DeleteAppParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete app params
func (*DeleteAppParams) WithContext ¶
func (o *DeleteAppParams) WithContext(ctx context.Context) *DeleteAppParams
WithContext adds the context to the delete app params
func (*DeleteAppParams) WithHTTPClient ¶
func (o *DeleteAppParams) WithHTTPClient(client *http.Client) *DeleteAppParams
WithHTTPClient adds the HTTPClient to the delete app params
func (*DeleteAppParams) WithID ¶
func (o *DeleteAppParams) WithID(id int64) *DeleteAppParams
WithID adds the id to the delete app params
func (*DeleteAppParams) WithTimeout ¶
func (o *DeleteAppParams) WithTimeout(timeout time.Duration) *DeleteAppParams
WithTimeout adds the timeout to the delete app params
func (*DeleteAppParams) WriteToRequest ¶
func (o *DeleteAppParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAppReader ¶
type DeleteAppReader struct {
// contains filtered or unexported fields
}
DeleteAppReader is a Reader for the DeleteApp structure.
func (*DeleteAppReader) ReadResponse ¶
func (o *DeleteAppReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteAppUnauthorized ¶
type DeleteAppUnauthorized struct {
}DeleteAppUnauthorized handles this case with default header values.
Unauthorized
func NewDeleteAppUnauthorized ¶
func NewDeleteAppUnauthorized() *DeleteAppUnauthorized
NewDeleteAppUnauthorized creates a DeleteAppUnauthorized with default headers values
func (*DeleteAppUnauthorized) Error ¶
func (o *DeleteAppUnauthorized) Error() string
type GetAppsForbidden ¶
GetAppsForbidden handles this case with default header values.
Forbidden
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 []*models.Application
}
GetAppsOK handles this case with default header values.
Ok
func NewGetAppsOK ¶
func NewGetAppsOK() *GetAppsOK
NewGetAppsOK creates a GetAppsOK with default headers values
type GetAppsParams ¶
type GetAppsParams struct { Context context.Context HTTPClient *http.Client // 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 NewGetAppsParamsWithContext ¶
func NewGetAppsParamsWithContext(ctx context.Context) *GetAppsParams
NewGetAppsParamsWithContext creates a new GetAppsParams object with the default values initialized, and the ability to set a context for a request
func NewGetAppsParamsWithHTTPClient ¶
func NewGetAppsParamsWithHTTPClient(client *http.Client) *GetAppsParams
NewGetAppsParamsWithHTTPClient creates a new GetAppsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
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) SetContext ¶
func (o *GetAppsParams) SetContext(ctx context.Context)
SetContext adds the context to the get apps params
func (*GetAppsParams) SetHTTPClient ¶
func (o *GetAppsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get apps params
func (*GetAppsParams) SetTimeout ¶
func (o *GetAppsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get apps params
func (*GetAppsParams) WithContext ¶
func (o *GetAppsParams) WithContext(ctx context.Context) *GetAppsParams
WithContext adds the context to the get apps params
func (*GetAppsParams) WithHTTPClient ¶
func (o *GetAppsParams) WithHTTPClient(client *http.Client) *GetAppsParams
WithHTTPClient adds the HTTPClient to the get apps params
func (*GetAppsParams) WithTimeout ¶
func (o *GetAppsParams) WithTimeout(timeout time.Duration) *GetAppsParams
WithTimeout adds the timeout 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 received o.
type GetAppsUnauthorized ¶
type GetAppsUnauthorized struct {
}GetAppsUnauthorized handles this case with default header values.
Unauthorized
func NewGetAppsUnauthorized ¶
func NewGetAppsUnauthorized() *GetAppsUnauthorized
NewGetAppsUnauthorized creates a GetAppsUnauthorized with default headers values
func (*GetAppsUnauthorized) Error ¶
func (o *GetAppsUnauthorized) Error() string
type UpdateApplicationBadRequest ¶
UpdateApplicationBadRequest handles this case with default header values.
Bad Request
func NewUpdateApplicationBadRequest ¶
func NewUpdateApplicationBadRequest() *UpdateApplicationBadRequest
NewUpdateApplicationBadRequest creates a UpdateApplicationBadRequest with default headers values
func (*UpdateApplicationBadRequest) Error ¶
func (o *UpdateApplicationBadRequest) Error() string
type UpdateApplicationForbidden ¶
UpdateApplicationForbidden handles this case with default header values.
Forbidden
func NewUpdateApplicationForbidden ¶
func NewUpdateApplicationForbidden() *UpdateApplicationForbidden
NewUpdateApplicationForbidden creates a UpdateApplicationForbidden with default headers values
func (*UpdateApplicationForbidden) Error ¶
func (o *UpdateApplicationForbidden) Error() string
type UpdateApplicationNotFound ¶
UpdateApplicationNotFound handles this case with default header values.
Not Found
func NewUpdateApplicationNotFound ¶
func NewUpdateApplicationNotFound() *UpdateApplicationNotFound
NewUpdateApplicationNotFound creates a UpdateApplicationNotFound with default headers values
func (*UpdateApplicationNotFound) Error ¶
func (o *UpdateApplicationNotFound) Error() string
type UpdateApplicationOK ¶
type UpdateApplicationOK struct {
Payload *models.Application
}
UpdateApplicationOK handles this case with default header values.
Ok
func NewUpdateApplicationOK ¶
func NewUpdateApplicationOK() *UpdateApplicationOK
NewUpdateApplicationOK creates a UpdateApplicationOK with default headers values
func (*UpdateApplicationOK) Error ¶
func (o *UpdateApplicationOK) Error() string
type UpdateApplicationParams ¶
type UpdateApplicationParams struct { /*Body the application to update */ Body *models.Application /*ID the application id */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateApplicationParams contains all the parameters to send to the API endpoint for the update application operation typically these are written to a http.Request
func NewUpdateApplicationParams ¶
func NewUpdateApplicationParams() *UpdateApplicationParams
NewUpdateApplicationParams creates a new UpdateApplicationParams object with the default values initialized.
func NewUpdateApplicationParamsWithContext ¶
func NewUpdateApplicationParamsWithContext(ctx context.Context) *UpdateApplicationParams
NewUpdateApplicationParamsWithContext creates a new UpdateApplicationParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateApplicationParamsWithHTTPClient ¶
func NewUpdateApplicationParamsWithHTTPClient(client *http.Client) *UpdateApplicationParams
NewUpdateApplicationParamsWithHTTPClient creates a new UpdateApplicationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateApplicationParamsWithTimeout ¶
func NewUpdateApplicationParamsWithTimeout(timeout time.Duration) *UpdateApplicationParams
NewUpdateApplicationParamsWithTimeout creates a new UpdateApplicationParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateApplicationParams) SetBody ¶
func (o *UpdateApplicationParams) SetBody(body *models.Application)
SetBody adds the body to the update application params
func (*UpdateApplicationParams) SetContext ¶
func (o *UpdateApplicationParams) SetContext(ctx context.Context)
SetContext adds the context to the update application params
func (*UpdateApplicationParams) SetHTTPClient ¶
func (o *UpdateApplicationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update application params
func (*UpdateApplicationParams) SetID ¶
func (o *UpdateApplicationParams) SetID(id int64)
SetID adds the id to the update application params
func (*UpdateApplicationParams) SetTimeout ¶
func (o *UpdateApplicationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update application params
func (*UpdateApplicationParams) WithBody ¶
func (o *UpdateApplicationParams) WithBody(body *models.Application) *UpdateApplicationParams
WithBody adds the body to the update application params
func (*UpdateApplicationParams) WithContext ¶
func (o *UpdateApplicationParams) WithContext(ctx context.Context) *UpdateApplicationParams
WithContext adds the context to the update application params
func (*UpdateApplicationParams) WithHTTPClient ¶
func (o *UpdateApplicationParams) WithHTTPClient(client *http.Client) *UpdateApplicationParams
WithHTTPClient adds the HTTPClient to the update application params
func (*UpdateApplicationParams) WithID ¶
func (o *UpdateApplicationParams) WithID(id int64) *UpdateApplicationParams
WithID adds the id to the update application params
func (*UpdateApplicationParams) WithTimeout ¶
func (o *UpdateApplicationParams) WithTimeout(timeout time.Duration) *UpdateApplicationParams
WithTimeout adds the timeout to the update application params
func (*UpdateApplicationParams) WriteToRequest ¶
func (o *UpdateApplicationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateApplicationReader ¶
type UpdateApplicationReader struct {
// contains filtered or unexported fields
}
UpdateApplicationReader is a Reader for the UpdateApplication structure.
func (*UpdateApplicationReader) ReadResponse ¶
func (o *UpdateApplicationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateApplicationUnauthorized ¶
type UpdateApplicationUnauthorized struct {
}UpdateApplicationUnauthorized handles this case with default header values.
Unauthorized
func NewUpdateApplicationUnauthorized ¶
func NewUpdateApplicationUnauthorized() *UpdateApplicationUnauthorized
NewUpdateApplicationUnauthorized creates a UpdateApplicationUnauthorized with default headers values
func (*UpdateApplicationUnauthorized) Error ¶
func (o *UpdateApplicationUnauthorized) Error() string
type UploadAppImageBadRequest ¶
UploadAppImageBadRequest handles this case with default header values.
Bad Request
func NewUploadAppImageBadRequest ¶
func NewUploadAppImageBadRequest() *UploadAppImageBadRequest
NewUploadAppImageBadRequest creates a UploadAppImageBadRequest with default headers values
func (*UploadAppImageBadRequest) Error ¶
func (o *UploadAppImageBadRequest) Error() string
type UploadAppImageForbidden ¶
UploadAppImageForbidden handles this case with default header values.
Forbidden
func NewUploadAppImageForbidden ¶
func NewUploadAppImageForbidden() *UploadAppImageForbidden
NewUploadAppImageForbidden creates a UploadAppImageForbidden with default headers values
func (*UploadAppImageForbidden) Error ¶
func (o *UploadAppImageForbidden) Error() string
type UploadAppImageInternalServerError ¶
UploadAppImageInternalServerError handles this case with default header values.
Server Error
func NewUploadAppImageInternalServerError ¶
func NewUploadAppImageInternalServerError() *UploadAppImageInternalServerError
NewUploadAppImageInternalServerError creates a UploadAppImageInternalServerError with default headers values
func (*UploadAppImageInternalServerError) Error ¶
func (o *UploadAppImageInternalServerError) Error() string
type UploadAppImageNotFound ¶
UploadAppImageNotFound handles this case with default header values.
Not Found
func NewUploadAppImageNotFound ¶
func NewUploadAppImageNotFound() *UploadAppImageNotFound
NewUploadAppImageNotFound creates a UploadAppImageNotFound with default headers values
func (*UploadAppImageNotFound) Error ¶
func (o *UploadAppImageNotFound) Error() string
type UploadAppImageOK ¶
type UploadAppImageOK struct {
Payload *models.Application
}
UploadAppImageOK handles this case with default header values.
Ok
func NewUploadAppImageOK ¶
func NewUploadAppImageOK() *UploadAppImageOK
NewUploadAppImageOK creates a UploadAppImageOK with default headers values
func (*UploadAppImageOK) Error ¶
func (o *UploadAppImageOK) Error() string
type UploadAppImageParams ¶
type UploadAppImageParams struct { /*File the application image */ File runtime.NamedReadCloser /*ID the application id */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UploadAppImageParams contains all the parameters to send to the API endpoint for the upload app image operation typically these are written to a http.Request
func NewUploadAppImageParams ¶
func NewUploadAppImageParams() *UploadAppImageParams
NewUploadAppImageParams creates a new UploadAppImageParams object with the default values initialized.
func NewUploadAppImageParamsWithContext ¶
func NewUploadAppImageParamsWithContext(ctx context.Context) *UploadAppImageParams
NewUploadAppImageParamsWithContext creates a new UploadAppImageParams object with the default values initialized, and the ability to set a context for a request
func NewUploadAppImageParamsWithHTTPClient ¶
func NewUploadAppImageParamsWithHTTPClient(client *http.Client) *UploadAppImageParams
NewUploadAppImageParamsWithHTTPClient creates a new UploadAppImageParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUploadAppImageParamsWithTimeout ¶
func NewUploadAppImageParamsWithTimeout(timeout time.Duration) *UploadAppImageParams
NewUploadAppImageParamsWithTimeout creates a new UploadAppImageParams object with the default values initialized, and the ability to set a timeout on a request
func (*UploadAppImageParams) SetContext ¶
func (o *UploadAppImageParams) SetContext(ctx context.Context)
SetContext adds the context to the upload app image params
func (*UploadAppImageParams) SetFile ¶
func (o *UploadAppImageParams) SetFile(file runtime.NamedReadCloser)
SetFile adds the file to the upload app image params
func (*UploadAppImageParams) SetHTTPClient ¶
func (o *UploadAppImageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the upload app image params
func (*UploadAppImageParams) SetID ¶
func (o *UploadAppImageParams) SetID(id int64)
SetID adds the id to the upload app image params
func (*UploadAppImageParams) SetTimeout ¶
func (o *UploadAppImageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the upload app image params
func (*UploadAppImageParams) WithContext ¶
func (o *UploadAppImageParams) WithContext(ctx context.Context) *UploadAppImageParams
WithContext adds the context to the upload app image params
func (*UploadAppImageParams) WithFile ¶
func (o *UploadAppImageParams) WithFile(file runtime.NamedReadCloser) *UploadAppImageParams
WithFile adds the file to the upload app image params
func (*UploadAppImageParams) WithHTTPClient ¶
func (o *UploadAppImageParams) WithHTTPClient(client *http.Client) *UploadAppImageParams
WithHTTPClient adds the HTTPClient to the upload app image params
func (*UploadAppImageParams) WithID ¶
func (o *UploadAppImageParams) WithID(id int64) *UploadAppImageParams
WithID adds the id to the upload app image params
func (*UploadAppImageParams) WithTimeout ¶
func (o *UploadAppImageParams) WithTimeout(timeout time.Duration) *UploadAppImageParams
WithTimeout adds the timeout to the upload app image params
func (*UploadAppImageParams) WriteToRequest ¶
func (o *UploadAppImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UploadAppImageReader ¶
type UploadAppImageReader struct {
// contains filtered or unexported fields
}
UploadAppImageReader is a Reader for the UploadAppImage structure.
func (*UploadAppImageReader) ReadResponse ¶
func (o *UploadAppImageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UploadAppImageUnauthorized ¶
type UploadAppImageUnauthorized struct {
}UploadAppImageUnauthorized handles this case with default header values.
Unauthorized
func NewUploadAppImageUnauthorized ¶
func NewUploadAppImageUnauthorized() *UploadAppImageUnauthorized
NewUploadAppImageUnauthorized creates a UploadAppImageUnauthorized with default headers values
func (*UploadAppImageUnauthorized) Error ¶
func (o *UploadAppImageUnauthorized) Error() string