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) GetAppLogs(params *GetAppLogsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAppLogsOK, 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)
- func (a *Client) UpdateAppAutoScale(params *UpdateAppAutoScaleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAppAutoScaleOK, error)
- func (a *Client) UpdateAppScale(params *UpdateAppScaleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAppScaleOK, error)
- type CreateAppCreated
- type CreateAppDefault
- type CreateAppParams
- type CreateAppReader
- type GetAppDetailsDefault
- type GetAppDetailsOK
- type GetAppDetailsParams
- type GetAppDetailsReader
- type GetAppLogsDefault
- type GetAppLogsOK
- type GetAppLogsParams
- func (o *GetAppLogsParams) WithAppName(appName string) *GetAppLogsParams
- func (o *GetAppLogsParams) WithFollow(follow *bool) *GetAppLogsParams
- func (o *GetAppLogsParams) WithLines(lines *int64) *GetAppLogsParams
- func (o *GetAppLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAppLogsReader
- type GetAppsDefault
- type GetAppsOK
- type GetAppsParams
- type GetAppsReader
- type PartialUpdateAppDefault
- type PartialUpdateAppOK
- type PartialUpdateAppParams
- type PartialUpdateAppReader
- type UpdateAppAutoScaleDefault
- type UpdateAppAutoScaleOK
- type UpdateAppAutoScaleParams
- type UpdateAppAutoScaleReader
- type UpdateAppDefault
- type UpdateAppOK
- type UpdateAppParams
- type UpdateAppReader
- type UpdateAppScaleBody
- type UpdateAppScaleDefault
- type UpdateAppScaleOK
- type UpdateAppScaleParams
- type UpdateAppScaleReader
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) GetAppLogs ¶ added in v0.2.0
func (a *Client) GetAppLogs(params *GetAppLogsParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*GetAppLogsOK, error)
GetAppLogs gets app logs
Get app logs
func (*Client) GetApps ¶
func (a *Client) GetApps(params *GetAppsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAppsOK, error)
GetApps gets a list of apps
Get a list of 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 an app
Update app properties, such as number of replicas and other things.
func (*Client) UpdateAppAutoScale ¶ added in v0.2.0
func (a *Client) UpdateAppAutoScale(params *UpdateAppAutoScaleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAppAutoScaleOK, error)
UpdateAppAutoScale updates app auto scale
Update app auto scale
func (*Client) UpdateAppScale ¶ added in v0.2.0
func (a *Client) UpdateAppScale(params *UpdateAppScaleParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAppScaleOK, error)
UpdateAppScale updates app scale
Update app scale size (replicas)
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.
Unexpected 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 CreateAppParams ¶
type CreateAppParams struct { /*Body*/ Body *models.AppIn // 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.AppIn) *CreateAppParams
WithBody adds the body 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 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 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 { /*AppName App name */ AppName string // 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) WithAppName ¶ added in v0.2.0
func (o *GetAppDetailsParams) WithAppName(appName string) *GetAppDetailsParams
WithAppName adds the appName 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 GetAppLogsDefault ¶ added in v0.2.0
GetAppLogsDefault handles this case with default header values.
Unexpected error
func NewGetAppLogsDefault ¶ added in v0.2.0
func NewGetAppLogsDefault(code int) *GetAppLogsDefault
NewGetAppLogsDefault creates a GetAppLogsDefault with default headers values
func (*GetAppLogsDefault) Code ¶ added in v0.2.0
func (o *GetAppLogsDefault) Code() int
Code gets the status code for the get app logs default response
func (*GetAppLogsDefault) Error ¶ added in v0.2.0
func (o *GetAppLogsDefault) Error() string
type GetAppLogsOK ¶ added in v0.2.0
GetAppLogsOK handles this case with default header values.
App logs
func NewGetAppLogsOK ¶ added in v0.2.0
func NewGetAppLogsOK(writer io.Writer) *GetAppLogsOK
NewGetAppLogsOK creates a GetAppLogsOK with default headers values
func (*GetAppLogsOK) Error ¶ added in v0.2.0
func (o *GetAppLogsOK) Error() string
type GetAppLogsParams ¶ added in v0.2.0
type GetAppLogsParams struct { /*AppName App name */ AppName string /*Follow Follow logs */ Follow *bool /*Lines Logs lines */ Lines *int64 // contains filtered or unexported fields }
GetAppLogsParams contains all the parameters to send to the API endpoint for the get app logs operation typically these are written to a http.Request
func NewGetAppLogsParams ¶ added in v0.2.0
func NewGetAppLogsParams() *GetAppLogsParams
NewGetAppLogsParams creates a new GetAppLogsParams object with the default values initialized.
func NewGetAppLogsParamsWithTimeout ¶ added in v0.2.0
func NewGetAppLogsParamsWithTimeout(timeout time.Duration) *GetAppLogsParams
NewGetAppLogsParamsWithTimeout creates a new GetAppLogsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAppLogsParams) WithAppName ¶ added in v0.2.0
func (o *GetAppLogsParams) WithAppName(appName string) *GetAppLogsParams
WithAppName adds the appName to the get app logs params
func (*GetAppLogsParams) WithFollow ¶ added in v0.2.0
func (o *GetAppLogsParams) WithFollow(follow *bool) *GetAppLogsParams
WithFollow adds the follow to the get app logs params
func (*GetAppLogsParams) WithLines ¶ added in v0.2.0
func (o *GetAppLogsParams) WithLines(lines *int64) *GetAppLogsParams
WithLines adds the lines to the get app logs params
func (*GetAppLogsParams) WriteToRequest ¶ added in v0.2.0
func (o *GetAppLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAppLogsReader ¶ added in v0.2.0
type GetAppLogsReader struct {
// contains filtered or unexported fields
}
GetAppLogsReader is a Reader for the GetAppLogs structure.
func (*GetAppLogsReader) ReadResponse ¶ added in v0.2.0
func (o *GetAppLogsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type GetAppsDefault ¶
GetAppsDefault handles this case with default header values.
Unexpected 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 GetAppsOK ¶
GetAppsOK handles this case with default header values.
list of apps
func NewGetAppsOK ¶
func NewGetAppsOK() *GetAppsOK
NewGetAppsOK creates a GetAppsOK with default headers values
type GetAppsParams ¶
type GetAppsParams struct {
// 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) 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 PartialUpdateAppDefault ¶
type PartialUpdateAppDefault struct { Payload *models.Error // contains filtered or unexported fields }
PartialUpdateAppDefault handles this case with default header values.
Unexpected 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 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 { /*AppName App name */ AppName string /*Body*/ Body []*models.PatchAppRequest // 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) WithAppName ¶ added in v0.2.0
func (o *PartialUpdateAppParams) WithAppName(appName string) *PartialUpdateAppParams
WithAppName adds the appName 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) 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 UpdateAppAutoScaleDefault ¶ added in v0.2.0
type UpdateAppAutoScaleDefault struct { Payload *models.Error // contains filtered or unexported fields }
UpdateAppAutoScaleDefault handles this case with default header values.
Unexpected error
func NewUpdateAppAutoScaleDefault ¶ added in v0.2.0
func NewUpdateAppAutoScaleDefault(code int) *UpdateAppAutoScaleDefault
NewUpdateAppAutoScaleDefault creates a UpdateAppAutoScaleDefault with default headers values
func (*UpdateAppAutoScaleDefault) Code ¶ added in v0.2.0
func (o *UpdateAppAutoScaleDefault) Code() int
Code gets the status code for the update app auto scale default response
func (*UpdateAppAutoScaleDefault) Error ¶ added in v0.2.0
func (o *UpdateAppAutoScaleDefault) Error() string
type UpdateAppAutoScaleOK ¶ added in v0.2.0
UpdateAppAutoScaleOK handles this case with default header values.
Updated version of the app
func NewUpdateAppAutoScaleOK ¶ added in v0.2.0
func NewUpdateAppAutoScaleOK() *UpdateAppAutoScaleOK
NewUpdateAppAutoScaleOK creates a UpdateAppAutoScaleOK with default headers values
func (*UpdateAppAutoScaleOK) Error ¶ added in v0.2.0
func (o *UpdateAppAutoScaleOK) Error() string
type UpdateAppAutoScaleParams ¶ added in v0.2.0
type UpdateAppAutoScaleParams struct { /*AppName App name */ AppName string /*Body*/ Body *models.AutoScale // contains filtered or unexported fields }
UpdateAppAutoScaleParams contains all the parameters to send to the API endpoint for the update app auto scale operation typically these are written to a http.Request
func NewUpdateAppAutoScaleParams ¶ added in v0.2.0
func NewUpdateAppAutoScaleParams() *UpdateAppAutoScaleParams
NewUpdateAppAutoScaleParams creates a new UpdateAppAutoScaleParams object with the default values initialized.
func NewUpdateAppAutoScaleParamsWithTimeout ¶ added in v0.2.0
func NewUpdateAppAutoScaleParamsWithTimeout(timeout time.Duration) *UpdateAppAutoScaleParams
NewUpdateAppAutoScaleParamsWithTimeout creates a new UpdateAppAutoScaleParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateAppAutoScaleParams) WithAppName ¶ added in v0.2.0
func (o *UpdateAppAutoScaleParams) WithAppName(appName string) *UpdateAppAutoScaleParams
WithAppName adds the appName to the update app auto scale params
func (*UpdateAppAutoScaleParams) WithBody ¶ added in v0.2.0
func (o *UpdateAppAutoScaleParams) WithBody(body *models.AutoScale) *UpdateAppAutoScaleParams
WithBody adds the body to the update app auto scale params
func (*UpdateAppAutoScaleParams) WriteToRequest ¶ added in v0.2.0
func (o *UpdateAppAutoScaleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateAppAutoScaleReader ¶ added in v0.2.0
type UpdateAppAutoScaleReader struct {
// contains filtered or unexported fields
}
UpdateAppAutoScaleReader is a Reader for the UpdateAppAutoScale structure.
func (*UpdateAppAutoScaleReader) ReadResponse ¶ added in v0.2.0
func (o *UpdateAppAutoScaleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type UpdateAppDefault ¶
UpdateAppDefault handles this case with default header values.
Unexpected 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 UpdateAppOK ¶
UpdateAppOK handles this case with default header values.
Updated version of the 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 { /*AppName App name */ AppName string /*Body*/ Body *models.AppIn // 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) WithAppName ¶ added in v0.2.0
func (o *UpdateAppParams) WithAppName(appName string) *UpdateAppParams
WithAppName adds the appName to the update app params
func (*UpdateAppParams) WithBody ¶
func (o *UpdateAppParams) WithBody(body *models.AppIn) *UpdateAppParams
WithBody adds the body 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 UpdateAppScaleBody ¶ added in v0.2.0
type UpdateAppScaleBody struct { /* number of PODs running the app Required: true Minimum: 1 */ Scale *int64 `json:"scale"` }
UpdateAppScaleBody update app scale body
swagger:model UpdateAppScaleBody
type UpdateAppScaleDefault ¶ added in v0.2.0
type UpdateAppScaleDefault struct { Payload *models.Error // contains filtered or unexported fields }
UpdateAppScaleDefault handles this case with default header values.
Unexpected error
func NewUpdateAppScaleDefault ¶ added in v0.2.0
func NewUpdateAppScaleDefault(code int) *UpdateAppScaleDefault
NewUpdateAppScaleDefault creates a UpdateAppScaleDefault with default headers values
func (*UpdateAppScaleDefault) Code ¶ added in v0.2.0
func (o *UpdateAppScaleDefault) Code() int
Code gets the status code for the update app scale default response
func (*UpdateAppScaleDefault) Error ¶ added in v0.2.0
func (o *UpdateAppScaleDefault) Error() string
type UpdateAppScaleOK ¶ added in v0.2.0
UpdateAppScaleOK handles this case with default header values.
Updated version of the app
func NewUpdateAppScaleOK ¶ added in v0.2.0
func NewUpdateAppScaleOK() *UpdateAppScaleOK
NewUpdateAppScaleOK creates a UpdateAppScaleOK with default headers values
func (*UpdateAppScaleOK) Error ¶ added in v0.2.0
func (o *UpdateAppScaleOK) Error() string
type UpdateAppScaleParams ¶ added in v0.2.0
type UpdateAppScaleParams struct { /*AppName App name */ AppName string /*Body*/ Body UpdateAppScaleBody // contains filtered or unexported fields }
UpdateAppScaleParams contains all the parameters to send to the API endpoint for the update app scale operation typically these are written to a http.Request
func NewUpdateAppScaleParams ¶ added in v0.2.0
func NewUpdateAppScaleParams() *UpdateAppScaleParams
NewUpdateAppScaleParams creates a new UpdateAppScaleParams object with the default values initialized.
func NewUpdateAppScaleParamsWithTimeout ¶ added in v0.2.0
func NewUpdateAppScaleParamsWithTimeout(timeout time.Duration) *UpdateAppScaleParams
NewUpdateAppScaleParamsWithTimeout creates a new UpdateAppScaleParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateAppScaleParams) WithAppName ¶ added in v0.2.0
func (o *UpdateAppScaleParams) WithAppName(appName string) *UpdateAppScaleParams
WithAppName adds the appName to the update app scale params
func (*UpdateAppScaleParams) WithBody ¶ added in v0.2.0
func (o *UpdateAppScaleParams) WithBody(body UpdateAppScaleBody) *UpdateAppScaleParams
WithBody adds the body to the update app scale params
func (*UpdateAppScaleParams) WriteToRequest ¶ added in v0.2.0
func (o *UpdateAppScaleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateAppScaleReader ¶ added in v0.2.0
type UpdateAppScaleReader struct {
// contains filtered or unexported fields
}
UpdateAppScaleReader is a Reader for the UpdateAppScale structure.
func (*UpdateAppScaleReader) ReadResponse ¶ added in v0.2.0
func (o *UpdateAppScaleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
Source Files
¶
- apps_client.go
- create_app_parameters.go
- create_app_responses.go
- get_app_details_parameters.go
- get_app_details_responses.go
- get_app_logs_parameters.go
- get_app_logs_responses.go
- get_apps_parameters.go
- get_apps_responses.go
- partial_update_app_parameters.go
- partial_update_app_responses.go
- update_app_auto_scale_parameters.go
- update_app_auto_scale_responses.go
- update_app_parameters.go
- update_app_responses.go
- update_app_scale_parameters.go
- update_app_scale_responses.go