Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateService(params *CreateServiceParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateServiceCreated, error)
- func (a *Client) CreateServiceVersion(params *CreateServiceVersionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateServiceVersionCreated, error)
- func (a *Client) DeleteService(params *DeleteServiceParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteServiceOK, error)
- func (a *Client) GetServiceVersion(params *GetServiceVersionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetServiceVersionOK, error)
- func (a *Client) ListService(params *ListServiceParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListServiceOK, error)
- func (a *Client) ListServicePod(params *ListServicePodParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListServicePodOK, error)
- func (a *Client) ListServiceVersion(params *ListServiceVersionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListServiceVersionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateServiceDescription(params *UpdateServiceDescriptionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateServiceDescriptionOK, error)
- func (a *Client) UpdateServiceVersion(params *UpdateServiceVersionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateServiceVersionOK, error)
- type ClientOption
- type ClientService
- type CreateServiceConflict
- type CreateServiceCreated
- type CreateServiceForbidden
- type CreateServiceInternalServerError
- type CreateServiceParams
- func (o *CreateServiceParams) SetBody(body *models.ServiceInfo)
- func (o *CreateServiceParams) SetContext(ctx context.Context)
- func (o *CreateServiceParams) SetDefaults()
- func (o *CreateServiceParams) SetHTTPClient(client *http.Client)
- func (o *CreateServiceParams) SetTimeout(timeout time.Duration)
- func (o *CreateServiceParams) WithBody(body *models.ServiceInfo) *CreateServiceParams
- func (o *CreateServiceParams) WithContext(ctx context.Context) *CreateServiceParams
- func (o *CreateServiceParams) WithDefaults() *CreateServiceParams
- func (o *CreateServiceParams) WithHTTPClient(client *http.Client) *CreateServiceParams
- func (o *CreateServiceParams) WithTimeout(timeout time.Duration) *CreateServiceParams
- func (o *CreateServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateServiceReader
- type CreateServiceVersionConflict
- type CreateServiceVersionCreated
- type CreateServiceVersionForbidden
- type CreateServiceVersionInternalServerError
- type CreateServiceVersionParams
- func NewCreateServiceVersionParams() *CreateServiceVersionParams
- func NewCreateServiceVersionParamsWithContext(ctx context.Context) *CreateServiceVersionParams
- func NewCreateServiceVersionParamsWithHTTPClient(client *http.Client) *CreateServiceVersionParams
- func NewCreateServiceVersionParamsWithTimeout(timeout time.Duration) *CreateServiceVersionParams
- func (o *CreateServiceVersionParams) SetBody(body *models.ServiceVersion)
- func (o *CreateServiceVersionParams) SetContext(ctx context.Context)
- func (o *CreateServiceVersionParams) SetDefaults()
- func (o *CreateServiceVersionParams) SetHTTPClient(client *http.Client)
- func (o *CreateServiceVersionParams) SetTimeout(timeout time.Duration)
- func (o *CreateServiceVersionParams) WithBody(body *models.ServiceVersion) *CreateServiceVersionParams
- func (o *CreateServiceVersionParams) WithContext(ctx context.Context) *CreateServiceVersionParams
- func (o *CreateServiceVersionParams) WithDefaults() *CreateServiceVersionParams
- func (o *CreateServiceVersionParams) WithHTTPClient(client *http.Client) *CreateServiceVersionParams
- func (o *CreateServiceVersionParams) WithTimeout(timeout time.Duration) *CreateServiceVersionParams
- func (o *CreateServiceVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateServiceVersionReader
- type DeleteServiceForbidden
- type DeleteServiceInternalServerError
- type DeleteServiceOK
- type DeleteServiceParams
- func (o *DeleteServiceParams) SetContext(ctx context.Context)
- func (o *DeleteServiceParams) SetDefaults()
- func (o *DeleteServiceParams) SetHTTPClient(client *http.Client)
- func (o *DeleteServiceParams) SetID(id int64)
- func (o *DeleteServiceParams) SetTimeout(timeout time.Duration)
- func (o *DeleteServiceParams) WithContext(ctx context.Context) *DeleteServiceParams
- func (o *DeleteServiceParams) WithDefaults() *DeleteServiceParams
- func (o *DeleteServiceParams) WithHTTPClient(client *http.Client) *DeleteServiceParams
- func (o *DeleteServiceParams) WithID(id int64) *DeleteServiceParams
- func (o *DeleteServiceParams) WithTimeout(timeout time.Duration) *DeleteServiceParams
- func (o *DeleteServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteServiceReader
- type GetServiceVersionForbidden
- type GetServiceVersionInternalServerError
- type GetServiceVersionOK
- type GetServiceVersionParams
- func NewGetServiceVersionParams() *GetServiceVersionParams
- func NewGetServiceVersionParamsWithContext(ctx context.Context) *GetServiceVersionParams
- func NewGetServiceVersionParamsWithHTTPClient(client *http.Client) *GetServiceVersionParams
- func NewGetServiceVersionParamsWithTimeout(timeout time.Duration) *GetServiceVersionParams
- func (o *GetServiceVersionParams) SetContext(ctx context.Context)
- func (o *GetServiceVersionParams) SetDefaults()
- func (o *GetServiceVersionParams) SetHTTPClient(client *http.Client)
- func (o *GetServiceVersionParams) SetServiceID(serviceID int64)
- func (o *GetServiceVersionParams) SetTimeout(timeout time.Duration)
- func (o *GetServiceVersionParams) SetVersionID(versionID int64)
- func (o *GetServiceVersionParams) WithContext(ctx context.Context) *GetServiceVersionParams
- func (o *GetServiceVersionParams) WithDefaults() *GetServiceVersionParams
- func (o *GetServiceVersionParams) WithHTTPClient(client *http.Client) *GetServiceVersionParams
- func (o *GetServiceVersionParams) WithServiceID(serviceID int64) *GetServiceVersionParams
- func (o *GetServiceVersionParams) WithTimeout(timeout time.Duration) *GetServiceVersionParams
- func (o *GetServiceVersionParams) WithVersionID(versionID int64) *GetServiceVersionParams
- func (o *GetServiceVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetServiceVersionReader
- type ListServiceForbidden
- type ListServiceInternalServerError
- type ListServiceOK
- type ListServiceOKBody
- type ListServiceParams
- func (o *ListServiceParams) SetContext(ctx context.Context)
- func (o *ListServiceParams) SetDefaults()
- func (o *ListServiceParams) SetHTTPClient(client *http.Client)
- func (o *ListServiceParams) SetProjectID(projectID *int64)
- func (o *ListServiceParams) SetServiceID(serviceID *int64)
- func (o *ListServiceParams) SetServiceName(serviceName *string)
- func (o *ListServiceParams) SetTimeout(timeout time.Duration)
- func (o *ListServiceParams) WithContext(ctx context.Context) *ListServiceParams
- func (o *ListServiceParams) WithDefaults() *ListServiceParams
- func (o *ListServiceParams) WithHTTPClient(client *http.Client) *ListServiceParams
- func (o *ListServiceParams) WithProjectID(projectID *int64) *ListServiceParams
- func (o *ListServiceParams) WithServiceID(serviceID *int64) *ListServiceParams
- func (o *ListServiceParams) WithServiceName(serviceName *string) *ListServiceParams
- func (o *ListServiceParams) WithTimeout(timeout time.Duration) *ListServiceParams
- func (o *ListServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListServicePodForbidden
- type ListServicePodInternalServerError
- type ListServicePodOK
- type ListServicePodOKBody
- type ListServicePodParams
- func NewListServicePodParams() *ListServicePodParams
- func NewListServicePodParamsWithContext(ctx context.Context) *ListServicePodParams
- func NewListServicePodParamsWithHTTPClient(client *http.Client) *ListServicePodParams
- func NewListServicePodParamsWithTimeout(timeout time.Duration) *ListServicePodParams
- func (o *ListServicePodParams) SetContext(ctx context.Context)
- func (o *ListServicePodParams) SetDefaults()
- func (o *ListServicePodParams) SetHTTPClient(client *http.Client)
- func (o *ListServicePodParams) SetServiceID(serviceID int64)
- func (o *ListServicePodParams) SetTimeout(timeout time.Duration)
- func (o *ListServicePodParams) WithContext(ctx context.Context) *ListServicePodParams
- func (o *ListServicePodParams) WithDefaults() *ListServicePodParams
- func (o *ListServicePodParams) WithHTTPClient(client *http.Client) *ListServicePodParams
- func (o *ListServicePodParams) WithServiceID(serviceID int64) *ListServicePodParams
- func (o *ListServicePodParams) WithTimeout(timeout time.Duration) *ListServicePodParams
- func (o *ListServicePodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListServicePodReader
- type ListServiceReader
- type ListServiceVersionForbidden
- type ListServiceVersionInternalServerError
- type ListServiceVersionOK
- type ListServiceVersionOKBody
- func (o *ListServiceVersionOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListServiceVersionOKBody) MarshalBinary() ([]byte, error)
- func (o *ListServiceVersionOKBody) UnmarshalBinary(b []byte) error
- func (o *ListServiceVersionOKBody) Validate(formats strfmt.Registry) error
- type ListServiceVersionParams
- func NewListServiceVersionParams() *ListServiceVersionParams
- func NewListServiceVersionParamsWithContext(ctx context.Context) *ListServiceVersionParams
- func NewListServiceVersionParamsWithHTTPClient(client *http.Client) *ListServiceVersionParams
- func NewListServiceVersionParamsWithTimeout(timeout time.Duration) *ListServiceVersionParams
- func (o *ListServiceVersionParams) SetContext(ctx context.Context)
- func (o *ListServiceVersionParams) SetDefaults()
- func (o *ListServiceVersionParams) SetHTTPClient(client *http.Client)
- func (o *ListServiceVersionParams) SetServiceID(serviceID int64)
- func (o *ListServiceVersionParams) SetTimeout(timeout time.Duration)
- func (o *ListServiceVersionParams) WithContext(ctx context.Context) *ListServiceVersionParams
- func (o *ListServiceVersionParams) WithDefaults() *ListServiceVersionParams
- func (o *ListServiceVersionParams) WithHTTPClient(client *http.Client) *ListServiceVersionParams
- func (o *ListServiceVersionParams) WithServiceID(serviceID int64) *ListServiceVersionParams
- func (o *ListServiceVersionParams) WithTimeout(timeout time.Duration) *ListServiceVersionParams
- func (o *ListServiceVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListServiceVersionReader
- type UpdateServiceDescriptionForbidden
- type UpdateServiceDescriptionInternalServerError
- type UpdateServiceDescriptionOK
- type UpdateServiceDescriptionParams
- func NewUpdateServiceDescriptionParams() *UpdateServiceDescriptionParams
- func NewUpdateServiceDescriptionParamsWithContext(ctx context.Context) *UpdateServiceDescriptionParams
- func NewUpdateServiceDescriptionParamsWithHTTPClient(client *http.Client) *UpdateServiceDescriptionParams
- func NewUpdateServiceDescriptionParamsWithTimeout(timeout time.Duration) *UpdateServiceDescriptionParams
- func (o *UpdateServiceDescriptionParams) SetBody(body *models.ServiceInfo)
- func (o *UpdateServiceDescriptionParams) SetContext(ctx context.Context)
- func (o *UpdateServiceDescriptionParams) SetDefaults()
- func (o *UpdateServiceDescriptionParams) SetHTTPClient(client *http.Client)
- func (o *UpdateServiceDescriptionParams) SetTimeout(timeout time.Duration)
- func (o *UpdateServiceDescriptionParams) WithBody(body *models.ServiceInfo) *UpdateServiceDescriptionParams
- func (o *UpdateServiceDescriptionParams) WithContext(ctx context.Context) *UpdateServiceDescriptionParams
- func (o *UpdateServiceDescriptionParams) WithDefaults() *UpdateServiceDescriptionParams
- func (o *UpdateServiceDescriptionParams) WithHTTPClient(client *http.Client) *UpdateServiceDescriptionParams
- func (o *UpdateServiceDescriptionParams) WithTimeout(timeout time.Duration) *UpdateServiceDescriptionParams
- func (o *UpdateServiceDescriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateServiceDescriptionReader
- type UpdateServiceVersionForbidden
- type UpdateServiceVersionInternalServerError
- type UpdateServiceVersionOK
- type UpdateServiceVersionParams
- func NewUpdateServiceVersionParams() *UpdateServiceVersionParams
- func NewUpdateServiceVersionParamsWithContext(ctx context.Context) *UpdateServiceVersionParams
- func NewUpdateServiceVersionParamsWithHTTPClient(client *http.Client) *UpdateServiceVersionParams
- func NewUpdateServiceVersionParamsWithTimeout(timeout time.Duration) *UpdateServiceVersionParams
- func (o *UpdateServiceVersionParams) SetBody(body *models.ServiceInfo)
- func (o *UpdateServiceVersionParams) SetContext(ctx context.Context)
- func (o *UpdateServiceVersionParams) SetDefaults()
- func (o *UpdateServiceVersionParams) SetHTTPClient(client *http.Client)
- func (o *UpdateServiceVersionParams) SetTimeout(timeout time.Duration)
- func (o *UpdateServiceVersionParams) WithBody(body *models.ServiceInfo) *UpdateServiceVersionParams
- func (o *UpdateServiceVersionParams) WithContext(ctx context.Context) *UpdateServiceVersionParams
- func (o *UpdateServiceVersionParams) WithDefaults() *UpdateServiceVersionParams
- func (o *UpdateServiceVersionParams) WithHTTPClient(client *http.Client) *UpdateServiceVersionParams
- func (o *UpdateServiceVersionParams) WithTimeout(timeout time.Duration) *UpdateServiceVersionParams
- func (o *UpdateServiceVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateServiceVersionReader
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 service API
func (*Client) CreateService ¶
func (a *Client) CreateService(params *CreateServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateServiceCreated, error)
CreateService Create Service
func (*Client) CreateServiceVersion ¶
func (a *Client) CreateServiceVersion(params *CreateServiceVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateServiceVersionCreated, error)
CreateServiceVersion Create Service Version
func (*Client) DeleteService ¶
func (a *Client) DeleteService(params *DeleteServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteServiceOK, error)
DeleteService Delete Service
func (*Client) GetServiceVersion ¶
func (a *Client) GetServiceVersion(params *GetServiceVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetServiceVersionOK, error)
GetServiceVersion get Service Version by version ID.
func (*Client) ListService ¶
func (a *Client) ListService(params *ListServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServiceOK, error)
ListService List Service by project ID, service ID, service name.
func (*Client) ListServicePod ¶
func (a *Client) ListServicePod(params *ListServicePodParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServicePodOK, error)
ListServicePod List Service Pod by service ID.
func (*Client) ListServiceVersion ¶
func (a *Client) ListServiceVersion(params *ListServiceVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServiceVersionOK, error)
ListServiceVersion List Service Version by service ID.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateServiceDescription ¶
func (a *Client) UpdateServiceDescription(params *UpdateServiceDescriptionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateServiceDescriptionOK, error)
UpdateServiceDescription Update Service Description
func (*Client) UpdateServiceVersion ¶
func (a *Client) UpdateServiceVersion(params *UpdateServiceVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateServiceVersionOK, error)
UpdateServiceVersion Update Service Version
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateService(params *CreateServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateServiceCreated, error) CreateServiceVersion(params *CreateServiceVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateServiceVersionCreated, error) DeleteService(params *DeleteServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteServiceOK, error) GetServiceVersion(params *GetServiceVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetServiceVersionOK, error) ListService(params *ListServiceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServiceOK, error) ListServicePod(params *ListServicePodParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServicePodOK, error) ListServiceVersion(params *ListServiceVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServiceVersionOK, error) UpdateServiceDescription(params *UpdateServiceDescriptionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateServiceDescriptionOK, error) UpdateServiceVersion(params *UpdateServiceVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateServiceVersionOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new service API client.
type CreateServiceConflict ¶
CreateServiceConflict describes a response with status code 409, with default header values.
Create Service Failed, cause service exist
func NewCreateServiceConflict ¶
func NewCreateServiceConflict() *CreateServiceConflict
NewCreateServiceConflict creates a CreateServiceConflict with default headers values
func (*CreateServiceConflict) Error ¶
func (o *CreateServiceConflict) Error() string
func (*CreateServiceConflict) GetPayload ¶
func (o *CreateServiceConflict) GetPayload() *models.Error
type CreateServiceCreated ¶
type CreateServiceCreated struct {
Payload *models.ServiceInfo
}
CreateServiceCreated describes a response with status code 201, with default header values.
Create Service Success, return service info.
func NewCreateServiceCreated ¶
func NewCreateServiceCreated() *CreateServiceCreated
NewCreateServiceCreated creates a CreateServiceCreated with default headers values
func (*CreateServiceCreated) Error ¶
func (o *CreateServiceCreated) Error() string
func (*CreateServiceCreated) GetPayload ¶
func (o *CreateServiceCreated) GetPayload() *models.ServiceInfo
type CreateServiceForbidden ¶
CreateServiceForbidden describes a response with status code 403, with default header values.
Create Service Failed, cause do not have permisssion
func NewCreateServiceForbidden ¶
func NewCreateServiceForbidden() *CreateServiceForbidden
NewCreateServiceForbidden creates a CreateServiceForbidden with default headers values
func (*CreateServiceForbidden) Error ¶
func (o *CreateServiceForbidden) Error() string
func (*CreateServiceForbidden) GetPayload ¶
func (o *CreateServiceForbidden) GetPayload() *models.Error
type CreateServiceInternalServerError ¶
CreateServiceInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewCreateServiceInternalServerError ¶
func NewCreateServiceInternalServerError() *CreateServiceInternalServerError
NewCreateServiceInternalServerError creates a CreateServiceInternalServerError with default headers values
func (*CreateServiceInternalServerError) Error ¶
func (o *CreateServiceInternalServerError) Error() string
func (*CreateServiceInternalServerError) GetPayload ¶
func (o *CreateServiceInternalServerError) GetPayload() *models.Error
type CreateServiceParams ¶
type CreateServiceParams struct { // Body. Body *models.ServiceInfo Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateServiceParams contains all the parameters to send to the API endpoint
for the create service operation. Typically these are written to a http.Request.
func NewCreateServiceParams ¶
func NewCreateServiceParams() *CreateServiceParams
NewCreateServiceParams creates a new CreateServiceParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateServiceParamsWithContext ¶
func NewCreateServiceParamsWithContext(ctx context.Context) *CreateServiceParams
NewCreateServiceParamsWithContext creates a new CreateServiceParams object with the ability to set a context for a request.
func NewCreateServiceParamsWithHTTPClient ¶
func NewCreateServiceParamsWithHTTPClient(client *http.Client) *CreateServiceParams
NewCreateServiceParamsWithHTTPClient creates a new CreateServiceParams object with the ability to set a custom HTTPClient for a request.
func NewCreateServiceParamsWithTimeout ¶
func NewCreateServiceParamsWithTimeout(timeout time.Duration) *CreateServiceParams
NewCreateServiceParamsWithTimeout creates a new CreateServiceParams object with the ability to set a timeout on a request.
func (*CreateServiceParams) SetBody ¶
func (o *CreateServiceParams) SetBody(body *models.ServiceInfo)
SetBody adds the body to the create service params
func (*CreateServiceParams) SetContext ¶
func (o *CreateServiceParams) SetContext(ctx context.Context)
SetContext adds the context to the create service params
func (*CreateServiceParams) SetDefaults ¶
func (o *CreateServiceParams) SetDefaults()
SetDefaults hydrates default values in the create service params (not the query body).
All values with no default are reset to their zero value.
func (*CreateServiceParams) SetHTTPClient ¶
func (o *CreateServiceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create service params
func (*CreateServiceParams) SetTimeout ¶
func (o *CreateServiceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create service params
func (*CreateServiceParams) WithBody ¶
func (o *CreateServiceParams) WithBody(body *models.ServiceInfo) *CreateServiceParams
WithBody adds the body to the create service params
func (*CreateServiceParams) WithContext ¶
func (o *CreateServiceParams) WithContext(ctx context.Context) *CreateServiceParams
WithContext adds the context to the create service params
func (*CreateServiceParams) WithDefaults ¶
func (o *CreateServiceParams) WithDefaults() *CreateServiceParams
WithDefaults hydrates default values in the create service params (not the query body).
All values with no default are reset to their zero value.
func (*CreateServiceParams) WithHTTPClient ¶
func (o *CreateServiceParams) WithHTTPClient(client *http.Client) *CreateServiceParams
WithHTTPClient adds the HTTPClient to the create service params
func (*CreateServiceParams) WithTimeout ¶
func (o *CreateServiceParams) WithTimeout(timeout time.Duration) *CreateServiceParams
WithTimeout adds the timeout to the create service params
func (*CreateServiceParams) WriteToRequest ¶
func (o *CreateServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateServiceReader ¶
type CreateServiceReader struct {
// contains filtered or unexported fields
}
CreateServiceReader is a Reader for the CreateService structure.
func (*CreateServiceReader) ReadResponse ¶
func (o *CreateServiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateServiceVersionConflict ¶
CreateServiceVersionConflict describes a response with status code 409, with default header values.
Create Service Version Failed, cause service version exist
func NewCreateServiceVersionConflict ¶
func NewCreateServiceVersionConflict() *CreateServiceVersionConflict
NewCreateServiceVersionConflict creates a CreateServiceVersionConflict with default headers values
func (*CreateServiceVersionConflict) Error ¶
func (o *CreateServiceVersionConflict) Error() string
func (*CreateServiceVersionConflict) GetPayload ¶
func (o *CreateServiceVersionConflict) GetPayload() *models.Error
type CreateServiceVersionCreated ¶
type CreateServiceVersionCreated struct {
Payload *models.ServiceVersion
}
CreateServiceVersionCreated describes a response with status code 201, with default header values.
Create Service Version Success, return service version info.
func NewCreateServiceVersionCreated ¶
func NewCreateServiceVersionCreated() *CreateServiceVersionCreated
NewCreateServiceVersionCreated creates a CreateServiceVersionCreated with default headers values
func (*CreateServiceVersionCreated) Error ¶
func (o *CreateServiceVersionCreated) Error() string
func (*CreateServiceVersionCreated) GetPayload ¶
func (o *CreateServiceVersionCreated) GetPayload() *models.ServiceVersion
type CreateServiceVersionForbidden ¶
CreateServiceVersionForbidden describes a response with status code 403, with default header values.
Create Service Version Failed, cause do not have permisssion
func NewCreateServiceVersionForbidden ¶
func NewCreateServiceVersionForbidden() *CreateServiceVersionForbidden
NewCreateServiceVersionForbidden creates a CreateServiceVersionForbidden with default headers values
func (*CreateServiceVersionForbidden) Error ¶
func (o *CreateServiceVersionForbidden) Error() string
func (*CreateServiceVersionForbidden) GetPayload ¶
func (o *CreateServiceVersionForbidden) GetPayload() *models.Error
type CreateServiceVersionInternalServerError ¶
CreateServiceVersionInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewCreateServiceVersionInternalServerError ¶
func NewCreateServiceVersionInternalServerError() *CreateServiceVersionInternalServerError
NewCreateServiceVersionInternalServerError creates a CreateServiceVersionInternalServerError with default headers values
func (*CreateServiceVersionInternalServerError) Error ¶
func (o *CreateServiceVersionInternalServerError) Error() string
func (*CreateServiceVersionInternalServerError) GetPayload ¶
func (o *CreateServiceVersionInternalServerError) GetPayload() *models.Error
type CreateServiceVersionParams ¶
type CreateServiceVersionParams struct { // Body. Body *models.ServiceVersion Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateServiceVersionParams contains all the parameters to send to the API endpoint
for the create service version operation. Typically these are written to a http.Request.
func NewCreateServiceVersionParams ¶
func NewCreateServiceVersionParams() *CreateServiceVersionParams
NewCreateServiceVersionParams creates a new CreateServiceVersionParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateServiceVersionParamsWithContext ¶
func NewCreateServiceVersionParamsWithContext(ctx context.Context) *CreateServiceVersionParams
NewCreateServiceVersionParamsWithContext creates a new CreateServiceVersionParams object with the ability to set a context for a request.
func NewCreateServiceVersionParamsWithHTTPClient ¶
func NewCreateServiceVersionParamsWithHTTPClient(client *http.Client) *CreateServiceVersionParams
NewCreateServiceVersionParamsWithHTTPClient creates a new CreateServiceVersionParams object with the ability to set a custom HTTPClient for a request.
func NewCreateServiceVersionParamsWithTimeout ¶
func NewCreateServiceVersionParamsWithTimeout(timeout time.Duration) *CreateServiceVersionParams
NewCreateServiceVersionParamsWithTimeout creates a new CreateServiceVersionParams object with the ability to set a timeout on a request.
func (*CreateServiceVersionParams) SetBody ¶
func (o *CreateServiceVersionParams) SetBody(body *models.ServiceVersion)
SetBody adds the body to the create service version params
func (*CreateServiceVersionParams) SetContext ¶
func (o *CreateServiceVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the create service version params
func (*CreateServiceVersionParams) SetDefaults ¶
func (o *CreateServiceVersionParams) SetDefaults()
SetDefaults hydrates default values in the create service version params (not the query body).
All values with no default are reset to their zero value.
func (*CreateServiceVersionParams) SetHTTPClient ¶
func (o *CreateServiceVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create service version params
func (*CreateServiceVersionParams) SetTimeout ¶
func (o *CreateServiceVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create service version params
func (*CreateServiceVersionParams) WithBody ¶
func (o *CreateServiceVersionParams) WithBody(body *models.ServiceVersion) *CreateServiceVersionParams
WithBody adds the body to the create service version params
func (*CreateServiceVersionParams) WithContext ¶
func (o *CreateServiceVersionParams) WithContext(ctx context.Context) *CreateServiceVersionParams
WithContext adds the context to the create service version params
func (*CreateServiceVersionParams) WithDefaults ¶
func (o *CreateServiceVersionParams) WithDefaults() *CreateServiceVersionParams
WithDefaults hydrates default values in the create service version params (not the query body).
All values with no default are reset to their zero value.
func (*CreateServiceVersionParams) WithHTTPClient ¶
func (o *CreateServiceVersionParams) WithHTTPClient(client *http.Client) *CreateServiceVersionParams
WithHTTPClient adds the HTTPClient to the create service version params
func (*CreateServiceVersionParams) WithTimeout ¶
func (o *CreateServiceVersionParams) WithTimeout(timeout time.Duration) *CreateServiceVersionParams
WithTimeout adds the timeout to the create service version params
func (*CreateServiceVersionParams) WriteToRequest ¶
func (o *CreateServiceVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateServiceVersionReader ¶
type CreateServiceVersionReader struct {
// contains filtered or unexported fields
}
CreateServiceVersionReader is a Reader for the CreateServiceVersion structure.
func (*CreateServiceVersionReader) ReadResponse ¶
func (o *CreateServiceVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteServiceForbidden ¶
DeleteServiceForbidden describes a response with status code 403, with default header values.
Delete Service Failed, cause do not have permisssion
func NewDeleteServiceForbidden ¶
func NewDeleteServiceForbidden() *DeleteServiceForbidden
NewDeleteServiceForbidden creates a DeleteServiceForbidden with default headers values
func (*DeleteServiceForbidden) Error ¶
func (o *DeleteServiceForbidden) Error() string
func (*DeleteServiceForbidden) GetPayload ¶
func (o *DeleteServiceForbidden) GetPayload() *models.Error
type DeleteServiceInternalServerError ¶
DeleteServiceInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewDeleteServiceInternalServerError ¶
func NewDeleteServiceInternalServerError() *DeleteServiceInternalServerError
NewDeleteServiceInternalServerError creates a DeleteServiceInternalServerError with default headers values
func (*DeleteServiceInternalServerError) Error ¶
func (o *DeleteServiceInternalServerError) Error() string
func (*DeleteServiceInternalServerError) GetPayload ¶
func (o *DeleteServiceInternalServerError) GetPayload() *models.Error
type DeleteServiceOK ¶
type DeleteServiceOK struct {
Payload *models.ServiceInfo
}
DeleteServiceOK describes a response with status code 200, with default header values.
Delete Service Success, return service info.
func NewDeleteServiceOK ¶
func NewDeleteServiceOK() *DeleteServiceOK
NewDeleteServiceOK creates a DeleteServiceOK with default headers values
func (*DeleteServiceOK) Error ¶
func (o *DeleteServiceOK) Error() string
func (*DeleteServiceOK) GetPayload ¶
func (o *DeleteServiceOK) GetPayload() *models.ServiceInfo
type DeleteServiceParams ¶
type DeleteServiceParams struct { // ID. ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteServiceParams contains all the parameters to send to the API endpoint
for the delete service operation. Typically these are written to a http.Request.
func NewDeleteServiceParams ¶
func NewDeleteServiceParams() *DeleteServiceParams
NewDeleteServiceParams creates a new DeleteServiceParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteServiceParamsWithContext ¶
func NewDeleteServiceParamsWithContext(ctx context.Context) *DeleteServiceParams
NewDeleteServiceParamsWithContext creates a new DeleteServiceParams object with the ability to set a context for a request.
func NewDeleteServiceParamsWithHTTPClient ¶
func NewDeleteServiceParamsWithHTTPClient(client *http.Client) *DeleteServiceParams
NewDeleteServiceParamsWithHTTPClient creates a new DeleteServiceParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteServiceParamsWithTimeout ¶
func NewDeleteServiceParamsWithTimeout(timeout time.Duration) *DeleteServiceParams
NewDeleteServiceParamsWithTimeout creates a new DeleteServiceParams object with the ability to set a timeout on a request.
func (*DeleteServiceParams) SetContext ¶
func (o *DeleteServiceParams) SetContext(ctx context.Context)
SetContext adds the context to the delete service params
func (*DeleteServiceParams) SetDefaults ¶
func (o *DeleteServiceParams) SetDefaults()
SetDefaults hydrates default values in the delete service params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteServiceParams) SetHTTPClient ¶
func (o *DeleteServiceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete service params
func (*DeleteServiceParams) SetID ¶
func (o *DeleteServiceParams) SetID(id int64)
SetID adds the id to the delete service params
func (*DeleteServiceParams) SetTimeout ¶
func (o *DeleteServiceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete service params
func (*DeleteServiceParams) WithContext ¶
func (o *DeleteServiceParams) WithContext(ctx context.Context) *DeleteServiceParams
WithContext adds the context to the delete service params
func (*DeleteServiceParams) WithDefaults ¶
func (o *DeleteServiceParams) WithDefaults() *DeleteServiceParams
WithDefaults hydrates default values in the delete service params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteServiceParams) WithHTTPClient ¶
func (o *DeleteServiceParams) WithHTTPClient(client *http.Client) *DeleteServiceParams
WithHTTPClient adds the HTTPClient to the delete service params
func (*DeleteServiceParams) WithID ¶
func (o *DeleteServiceParams) WithID(id int64) *DeleteServiceParams
WithID adds the id to the delete service params
func (*DeleteServiceParams) WithTimeout ¶
func (o *DeleteServiceParams) WithTimeout(timeout time.Duration) *DeleteServiceParams
WithTimeout adds the timeout to the delete service params
func (*DeleteServiceParams) WriteToRequest ¶
func (o *DeleteServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteServiceReader ¶
type DeleteServiceReader struct {
// contains filtered or unexported fields
}
DeleteServiceReader is a Reader for the DeleteService structure.
func (*DeleteServiceReader) ReadResponse ¶
func (o *DeleteServiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetServiceVersionForbidden ¶
GetServiceVersionForbidden describes a response with status code 403, with default header values.
List Service Version Failed, cause do not have permisssion
func NewGetServiceVersionForbidden ¶
func NewGetServiceVersionForbidden() *GetServiceVersionForbidden
NewGetServiceVersionForbidden creates a GetServiceVersionForbidden with default headers values
func (*GetServiceVersionForbidden) Error ¶
func (o *GetServiceVersionForbidden) Error() string
func (*GetServiceVersionForbidden) GetPayload ¶
func (o *GetServiceVersionForbidden) GetPayload() *models.Error
type GetServiceVersionInternalServerError ¶
GetServiceVersionInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewGetServiceVersionInternalServerError ¶
func NewGetServiceVersionInternalServerError() *GetServiceVersionInternalServerError
NewGetServiceVersionInternalServerError creates a GetServiceVersionInternalServerError with default headers values
func (*GetServiceVersionInternalServerError) Error ¶
func (o *GetServiceVersionInternalServerError) Error() string
func (*GetServiceVersionInternalServerError) GetPayload ¶
func (o *GetServiceVersionInternalServerError) GetPayload() *models.Error
type GetServiceVersionOK ¶
type GetServiceVersionOK struct {
Payload *models.ServiceVersion
}
GetServiceVersionOK describes a response with status code 200, with default header values.
List Service Version Success, return service version info.
func NewGetServiceVersionOK ¶
func NewGetServiceVersionOK() *GetServiceVersionOK
NewGetServiceVersionOK creates a GetServiceVersionOK with default headers values
func (*GetServiceVersionOK) Error ¶
func (o *GetServiceVersionOK) Error() string
func (*GetServiceVersionOK) GetPayload ¶
func (o *GetServiceVersionOK) GetPayload() *models.ServiceVersion
type GetServiceVersionParams ¶
type GetServiceVersionParams struct { // ServiceID. ServiceID int64 // VersionID. VersionID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetServiceVersionParams contains all the parameters to send to the API endpoint
for the get service version operation. Typically these are written to a http.Request.
func NewGetServiceVersionParams ¶
func NewGetServiceVersionParams() *GetServiceVersionParams
NewGetServiceVersionParams creates a new GetServiceVersionParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetServiceVersionParamsWithContext ¶
func NewGetServiceVersionParamsWithContext(ctx context.Context) *GetServiceVersionParams
NewGetServiceVersionParamsWithContext creates a new GetServiceVersionParams object with the ability to set a context for a request.
func NewGetServiceVersionParamsWithHTTPClient ¶
func NewGetServiceVersionParamsWithHTTPClient(client *http.Client) *GetServiceVersionParams
NewGetServiceVersionParamsWithHTTPClient creates a new GetServiceVersionParams object with the ability to set a custom HTTPClient for a request.
func NewGetServiceVersionParamsWithTimeout ¶
func NewGetServiceVersionParamsWithTimeout(timeout time.Duration) *GetServiceVersionParams
NewGetServiceVersionParamsWithTimeout creates a new GetServiceVersionParams object with the ability to set a timeout on a request.
func (*GetServiceVersionParams) SetContext ¶
func (o *GetServiceVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the get service version params
func (*GetServiceVersionParams) SetDefaults ¶
func (o *GetServiceVersionParams) SetDefaults()
SetDefaults hydrates default values in the get service version params (not the query body).
All values with no default are reset to their zero value.
func (*GetServiceVersionParams) SetHTTPClient ¶
func (o *GetServiceVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get service version params
func (*GetServiceVersionParams) SetServiceID ¶
func (o *GetServiceVersionParams) SetServiceID(serviceID int64)
SetServiceID adds the serviceId to the get service version params
func (*GetServiceVersionParams) SetTimeout ¶
func (o *GetServiceVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get service version params
func (*GetServiceVersionParams) SetVersionID ¶
func (o *GetServiceVersionParams) SetVersionID(versionID int64)
SetVersionID adds the versionId to the get service version params
func (*GetServiceVersionParams) WithContext ¶
func (o *GetServiceVersionParams) WithContext(ctx context.Context) *GetServiceVersionParams
WithContext adds the context to the get service version params
func (*GetServiceVersionParams) WithDefaults ¶
func (o *GetServiceVersionParams) WithDefaults() *GetServiceVersionParams
WithDefaults hydrates default values in the get service version params (not the query body).
All values with no default are reset to their zero value.
func (*GetServiceVersionParams) WithHTTPClient ¶
func (o *GetServiceVersionParams) WithHTTPClient(client *http.Client) *GetServiceVersionParams
WithHTTPClient adds the HTTPClient to the get service version params
func (*GetServiceVersionParams) WithServiceID ¶
func (o *GetServiceVersionParams) WithServiceID(serviceID int64) *GetServiceVersionParams
WithServiceID adds the serviceID to the get service version params
func (*GetServiceVersionParams) WithTimeout ¶
func (o *GetServiceVersionParams) WithTimeout(timeout time.Duration) *GetServiceVersionParams
WithTimeout adds the timeout to the get service version params
func (*GetServiceVersionParams) WithVersionID ¶
func (o *GetServiceVersionParams) WithVersionID(versionID int64) *GetServiceVersionParams
WithVersionID adds the versionID to the get service version params
func (*GetServiceVersionParams) WriteToRequest ¶
func (o *GetServiceVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetServiceVersionReader ¶
type GetServiceVersionReader struct {
// contains filtered or unexported fields
}
GetServiceVersionReader is a Reader for the GetServiceVersion structure.
func (*GetServiceVersionReader) ReadResponse ¶
func (o *GetServiceVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListServiceForbidden ¶
ListServiceForbidden describes a response with status code 403, with default header values.
List Service Failed, cause do not have permisssion
func NewListServiceForbidden ¶
func NewListServiceForbidden() *ListServiceForbidden
NewListServiceForbidden creates a ListServiceForbidden with default headers values
func (*ListServiceForbidden) Error ¶
func (o *ListServiceForbidden) Error() string
func (*ListServiceForbidden) GetPayload ¶
func (o *ListServiceForbidden) GetPayload() *models.Error
type ListServiceInternalServerError ¶
ListServiceInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewListServiceInternalServerError ¶
func NewListServiceInternalServerError() *ListServiceInternalServerError
NewListServiceInternalServerError creates a ListServiceInternalServerError with default headers values
func (*ListServiceInternalServerError) Error ¶
func (o *ListServiceInternalServerError) Error() string
func (*ListServiceInternalServerError) GetPayload ¶
func (o *ListServiceInternalServerError) GetPayload() *models.Error
type ListServiceOK ¶
type ListServiceOK struct {
Payload *ListServiceOKBody
}
ListServiceOK describes a response with status code 200, with default header values.
List All Services Success, return service info. (service name, service id, service description)
func NewListServiceOK ¶
func NewListServiceOK() *ListServiceOK
NewListServiceOK creates a ListServiceOK with default headers values
func (*ListServiceOK) Error ¶
func (o *ListServiceOK) Error() string
func (*ListServiceOK) GetPayload ¶
func (o *ListServiceOK) GetPayload() *ListServiceOKBody
type ListServiceOKBody ¶
type ListServiceOKBody struct { // services Services []*models.ServiceInfo `json:"services"` }
ListServiceOKBody list service o k body swagger:model ListServiceOKBody
func (*ListServiceOKBody) ContextValidate ¶
ContextValidate validate this list service o k body based on the context it is used
func (*ListServiceOKBody) MarshalBinary ¶
func (o *ListServiceOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListServiceOKBody) UnmarshalBinary ¶
func (o *ListServiceOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListServiceParams ¶
type ListServiceParams struct { // ProjectID. ProjectID *int64 // ServiceID. ServiceID *int64 // ServiceName. ServiceName *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListServiceParams contains all the parameters to send to the API endpoint
for the list service operation. Typically these are written to a http.Request.
func NewListServiceParams ¶
func NewListServiceParams() *ListServiceParams
NewListServiceParams creates a new ListServiceParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListServiceParamsWithContext ¶
func NewListServiceParamsWithContext(ctx context.Context) *ListServiceParams
NewListServiceParamsWithContext creates a new ListServiceParams object with the ability to set a context for a request.
func NewListServiceParamsWithHTTPClient ¶
func NewListServiceParamsWithHTTPClient(client *http.Client) *ListServiceParams
NewListServiceParamsWithHTTPClient creates a new ListServiceParams object with the ability to set a custom HTTPClient for a request.
func NewListServiceParamsWithTimeout ¶
func NewListServiceParamsWithTimeout(timeout time.Duration) *ListServiceParams
NewListServiceParamsWithTimeout creates a new ListServiceParams object with the ability to set a timeout on a request.
func (*ListServiceParams) SetContext ¶
func (o *ListServiceParams) SetContext(ctx context.Context)
SetContext adds the context to the list service params
func (*ListServiceParams) SetDefaults ¶
func (o *ListServiceParams) SetDefaults()
SetDefaults hydrates default values in the list service params (not the query body).
All values with no default are reset to their zero value.
func (*ListServiceParams) SetHTTPClient ¶
func (o *ListServiceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list service params
func (*ListServiceParams) SetProjectID ¶
func (o *ListServiceParams) SetProjectID(projectID *int64)
SetProjectID adds the projectId to the list service params
func (*ListServiceParams) SetServiceID ¶
func (o *ListServiceParams) SetServiceID(serviceID *int64)
SetServiceID adds the serviceId to the list service params
func (*ListServiceParams) SetServiceName ¶
func (o *ListServiceParams) SetServiceName(serviceName *string)
SetServiceName adds the serviceName to the list service params
func (*ListServiceParams) SetTimeout ¶
func (o *ListServiceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list service params
func (*ListServiceParams) WithContext ¶
func (o *ListServiceParams) WithContext(ctx context.Context) *ListServiceParams
WithContext adds the context to the list service params
func (*ListServiceParams) WithDefaults ¶
func (o *ListServiceParams) WithDefaults() *ListServiceParams
WithDefaults hydrates default values in the list service params (not the query body).
All values with no default are reset to their zero value.
func (*ListServiceParams) WithHTTPClient ¶
func (o *ListServiceParams) WithHTTPClient(client *http.Client) *ListServiceParams
WithHTTPClient adds the HTTPClient to the list service params
func (*ListServiceParams) WithProjectID ¶
func (o *ListServiceParams) WithProjectID(projectID *int64) *ListServiceParams
WithProjectID adds the projectID to the list service params
func (*ListServiceParams) WithServiceID ¶
func (o *ListServiceParams) WithServiceID(serviceID *int64) *ListServiceParams
WithServiceID adds the serviceID to the list service params
func (*ListServiceParams) WithServiceName ¶
func (o *ListServiceParams) WithServiceName(serviceName *string) *ListServiceParams
WithServiceName adds the serviceName to the list service params
func (*ListServiceParams) WithTimeout ¶
func (o *ListServiceParams) WithTimeout(timeout time.Duration) *ListServiceParams
WithTimeout adds the timeout to the list service params
func (*ListServiceParams) WriteToRequest ¶
func (o *ListServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListServicePodForbidden ¶
ListServicePodForbidden describes a response with status code 403, with default header values.
List Service Pod Failed, cause do not have permisssion
func NewListServicePodForbidden ¶
func NewListServicePodForbidden() *ListServicePodForbidden
NewListServicePodForbidden creates a ListServicePodForbidden with default headers values
func (*ListServicePodForbidden) Error ¶
func (o *ListServicePodForbidden) Error() string
func (*ListServicePodForbidden) GetPayload ¶
func (o *ListServicePodForbidden) GetPayload() *models.Error
type ListServicePodInternalServerError ¶
ListServicePodInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewListServicePodInternalServerError ¶
func NewListServicePodInternalServerError() *ListServicePodInternalServerError
NewListServicePodInternalServerError creates a ListServicePodInternalServerError with default headers values
func (*ListServicePodInternalServerError) Error ¶
func (o *ListServicePodInternalServerError) Error() string
func (*ListServicePodInternalServerError) GetPayload ¶
func (o *ListServicePodInternalServerError) GetPayload() *models.Error
type ListServicePodOK ¶
type ListServicePodOK struct {
Payload *ListServicePodOKBody
}
ListServicePodOK describes a response with status code 200, with default header values.
List Service Pod Success, return service pod info.
func NewListServicePodOK ¶
func NewListServicePodOK() *ListServicePodOK
NewListServicePodOK creates a ListServicePodOK with default headers values
func (*ListServicePodOK) Error ¶
func (o *ListServicePodOK) Error() string
func (*ListServicePodOK) GetPayload ¶
func (o *ListServicePodOK) GetPayload() *ListServicePodOKBody
type ListServicePodOKBody ¶
ListServicePodOKBody list service pod o k body swagger:model ListServicePodOKBody
func (*ListServicePodOKBody) ContextValidate ¶
ContextValidate validate this list service pod o k body based on the context it is used
func (*ListServicePodOKBody) MarshalBinary ¶
func (o *ListServicePodOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListServicePodOKBody) UnmarshalBinary ¶
func (o *ListServicePodOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListServicePodParams ¶
type ListServicePodParams struct { // ServiceID. ServiceID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListServicePodParams contains all the parameters to send to the API endpoint
for the list service pod operation. Typically these are written to a http.Request.
func NewListServicePodParams ¶
func NewListServicePodParams() *ListServicePodParams
NewListServicePodParams creates a new ListServicePodParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListServicePodParamsWithContext ¶
func NewListServicePodParamsWithContext(ctx context.Context) *ListServicePodParams
NewListServicePodParamsWithContext creates a new ListServicePodParams object with the ability to set a context for a request.
func NewListServicePodParamsWithHTTPClient ¶
func NewListServicePodParamsWithHTTPClient(client *http.Client) *ListServicePodParams
NewListServicePodParamsWithHTTPClient creates a new ListServicePodParams object with the ability to set a custom HTTPClient for a request.
func NewListServicePodParamsWithTimeout ¶
func NewListServicePodParamsWithTimeout(timeout time.Duration) *ListServicePodParams
NewListServicePodParamsWithTimeout creates a new ListServicePodParams object with the ability to set a timeout on a request.
func (*ListServicePodParams) SetContext ¶
func (o *ListServicePodParams) SetContext(ctx context.Context)
SetContext adds the context to the list service pod params
func (*ListServicePodParams) SetDefaults ¶
func (o *ListServicePodParams) SetDefaults()
SetDefaults hydrates default values in the list service pod params (not the query body).
All values with no default are reset to their zero value.
func (*ListServicePodParams) SetHTTPClient ¶
func (o *ListServicePodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list service pod params
func (*ListServicePodParams) SetServiceID ¶
func (o *ListServicePodParams) SetServiceID(serviceID int64)
SetServiceID adds the serviceId to the list service pod params
func (*ListServicePodParams) SetTimeout ¶
func (o *ListServicePodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list service pod params
func (*ListServicePodParams) WithContext ¶
func (o *ListServicePodParams) WithContext(ctx context.Context) *ListServicePodParams
WithContext adds the context to the list service pod params
func (*ListServicePodParams) WithDefaults ¶
func (o *ListServicePodParams) WithDefaults() *ListServicePodParams
WithDefaults hydrates default values in the list service pod params (not the query body).
All values with no default are reset to their zero value.
func (*ListServicePodParams) WithHTTPClient ¶
func (o *ListServicePodParams) WithHTTPClient(client *http.Client) *ListServicePodParams
WithHTTPClient adds the HTTPClient to the list service pod params
func (*ListServicePodParams) WithServiceID ¶
func (o *ListServicePodParams) WithServiceID(serviceID int64) *ListServicePodParams
WithServiceID adds the serviceID to the list service pod params
func (*ListServicePodParams) WithTimeout ¶
func (o *ListServicePodParams) WithTimeout(timeout time.Duration) *ListServicePodParams
WithTimeout adds the timeout to the list service pod params
func (*ListServicePodParams) WriteToRequest ¶
func (o *ListServicePodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListServicePodReader ¶
type ListServicePodReader struct {
// contains filtered or unexported fields
}
ListServicePodReader is a Reader for the ListServicePod structure.
func (*ListServicePodReader) ReadResponse ¶
func (o *ListServicePodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListServiceReader ¶
type ListServiceReader struct {
// contains filtered or unexported fields
}
ListServiceReader is a Reader for the ListService structure.
func (*ListServiceReader) ReadResponse ¶
func (o *ListServiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListServiceVersionForbidden ¶
ListServiceVersionForbidden describes a response with status code 403, with default header values.
List Service Version Failed, cause do not have permisssion
func NewListServiceVersionForbidden ¶
func NewListServiceVersionForbidden() *ListServiceVersionForbidden
NewListServiceVersionForbidden creates a ListServiceVersionForbidden with default headers values
func (*ListServiceVersionForbidden) Error ¶
func (o *ListServiceVersionForbidden) Error() string
func (*ListServiceVersionForbidden) GetPayload ¶
func (o *ListServiceVersionForbidden) GetPayload() *models.Error
type ListServiceVersionInternalServerError ¶
ListServiceVersionInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewListServiceVersionInternalServerError ¶
func NewListServiceVersionInternalServerError() *ListServiceVersionInternalServerError
NewListServiceVersionInternalServerError creates a ListServiceVersionInternalServerError with default headers values
func (*ListServiceVersionInternalServerError) Error ¶
func (o *ListServiceVersionInternalServerError) Error() string
func (*ListServiceVersionInternalServerError) GetPayload ¶
func (o *ListServiceVersionInternalServerError) GetPayload() *models.Error
type ListServiceVersionOK ¶
type ListServiceVersionOK struct {
Payload *ListServiceVersionOKBody
}
ListServiceVersionOK describes a response with status code 200, with default header values.
List Service Version Success, return service version info.
func NewListServiceVersionOK ¶
func NewListServiceVersionOK() *ListServiceVersionOK
NewListServiceVersionOK creates a ListServiceVersionOK with default headers values
func (*ListServiceVersionOK) Error ¶
func (o *ListServiceVersionOK) Error() string
func (*ListServiceVersionOK) GetPayload ¶
func (o *ListServiceVersionOK) GetPayload() *ListServiceVersionOKBody
type ListServiceVersionOKBody ¶
type ListServiceVersionOKBody struct { // versions Versions []*models.ServiceVersion `json:"versions"` }
ListServiceVersionOKBody list service version o k body swagger:model ListServiceVersionOKBody
func (*ListServiceVersionOKBody) ContextValidate ¶
func (o *ListServiceVersionOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list service version o k body based on the context it is used
func (*ListServiceVersionOKBody) MarshalBinary ¶
func (o *ListServiceVersionOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListServiceVersionOKBody) UnmarshalBinary ¶
func (o *ListServiceVersionOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListServiceVersionParams ¶
type ListServiceVersionParams struct { // ServiceID. ServiceID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListServiceVersionParams contains all the parameters to send to the API endpoint
for the list service version operation. Typically these are written to a http.Request.
func NewListServiceVersionParams ¶
func NewListServiceVersionParams() *ListServiceVersionParams
NewListServiceVersionParams creates a new ListServiceVersionParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListServiceVersionParamsWithContext ¶
func NewListServiceVersionParamsWithContext(ctx context.Context) *ListServiceVersionParams
NewListServiceVersionParamsWithContext creates a new ListServiceVersionParams object with the ability to set a context for a request.
func NewListServiceVersionParamsWithHTTPClient ¶
func NewListServiceVersionParamsWithHTTPClient(client *http.Client) *ListServiceVersionParams
NewListServiceVersionParamsWithHTTPClient creates a new ListServiceVersionParams object with the ability to set a custom HTTPClient for a request.
func NewListServiceVersionParamsWithTimeout ¶
func NewListServiceVersionParamsWithTimeout(timeout time.Duration) *ListServiceVersionParams
NewListServiceVersionParamsWithTimeout creates a new ListServiceVersionParams object with the ability to set a timeout on a request.
func (*ListServiceVersionParams) SetContext ¶
func (o *ListServiceVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the list service version params
func (*ListServiceVersionParams) SetDefaults ¶
func (o *ListServiceVersionParams) SetDefaults()
SetDefaults hydrates default values in the list service version params (not the query body).
All values with no default are reset to their zero value.
func (*ListServiceVersionParams) SetHTTPClient ¶
func (o *ListServiceVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list service version params
func (*ListServiceVersionParams) SetServiceID ¶
func (o *ListServiceVersionParams) SetServiceID(serviceID int64)
SetServiceID adds the serviceId to the list service version params
func (*ListServiceVersionParams) SetTimeout ¶
func (o *ListServiceVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list service version params
func (*ListServiceVersionParams) WithContext ¶
func (o *ListServiceVersionParams) WithContext(ctx context.Context) *ListServiceVersionParams
WithContext adds the context to the list service version params
func (*ListServiceVersionParams) WithDefaults ¶
func (o *ListServiceVersionParams) WithDefaults() *ListServiceVersionParams
WithDefaults hydrates default values in the list service version params (not the query body).
All values with no default are reset to their zero value.
func (*ListServiceVersionParams) WithHTTPClient ¶
func (o *ListServiceVersionParams) WithHTTPClient(client *http.Client) *ListServiceVersionParams
WithHTTPClient adds the HTTPClient to the list service version params
func (*ListServiceVersionParams) WithServiceID ¶
func (o *ListServiceVersionParams) WithServiceID(serviceID int64) *ListServiceVersionParams
WithServiceID adds the serviceID to the list service version params
func (*ListServiceVersionParams) WithTimeout ¶
func (o *ListServiceVersionParams) WithTimeout(timeout time.Duration) *ListServiceVersionParams
WithTimeout adds the timeout to the list service version params
func (*ListServiceVersionParams) WriteToRequest ¶
func (o *ListServiceVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListServiceVersionReader ¶
type ListServiceVersionReader struct {
// contains filtered or unexported fields
}
ListServiceVersionReader is a Reader for the ListServiceVersion structure.
func (*ListServiceVersionReader) ReadResponse ¶
func (o *ListServiceVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateServiceDescriptionForbidden ¶
UpdateServiceDescriptionForbidden describes a response with status code 403, with default header values.
Update Service Description Failed, cause do not have permisssion
func NewUpdateServiceDescriptionForbidden ¶
func NewUpdateServiceDescriptionForbidden() *UpdateServiceDescriptionForbidden
NewUpdateServiceDescriptionForbidden creates a UpdateServiceDescriptionForbidden with default headers values
func (*UpdateServiceDescriptionForbidden) Error ¶
func (o *UpdateServiceDescriptionForbidden) Error() string
func (*UpdateServiceDescriptionForbidden) GetPayload ¶
func (o *UpdateServiceDescriptionForbidden) GetPayload() *models.Error
type UpdateServiceDescriptionInternalServerError ¶
UpdateServiceDescriptionInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewUpdateServiceDescriptionInternalServerError ¶
func NewUpdateServiceDescriptionInternalServerError() *UpdateServiceDescriptionInternalServerError
NewUpdateServiceDescriptionInternalServerError creates a UpdateServiceDescriptionInternalServerError with default headers values
func (*UpdateServiceDescriptionInternalServerError) Error ¶
func (o *UpdateServiceDescriptionInternalServerError) Error() string
func (*UpdateServiceDescriptionInternalServerError) GetPayload ¶
func (o *UpdateServiceDescriptionInternalServerError) GetPayload() *models.Error
type UpdateServiceDescriptionOK ¶
type UpdateServiceDescriptionOK struct {
Payload *models.ServiceInfo
}
UpdateServiceDescriptionOK describes a response with status code 200, with default header values.
Update Service Description Success, return service info.
func NewUpdateServiceDescriptionOK ¶
func NewUpdateServiceDescriptionOK() *UpdateServiceDescriptionOK
NewUpdateServiceDescriptionOK creates a UpdateServiceDescriptionOK with default headers values
func (*UpdateServiceDescriptionOK) Error ¶
func (o *UpdateServiceDescriptionOK) Error() string
func (*UpdateServiceDescriptionOK) GetPayload ¶
func (o *UpdateServiceDescriptionOK) GetPayload() *models.ServiceInfo
type UpdateServiceDescriptionParams ¶
type UpdateServiceDescriptionParams struct { // Body. Body *models.ServiceInfo Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateServiceDescriptionParams contains all the parameters to send to the API endpoint
for the update service description operation. Typically these are written to a http.Request.
func NewUpdateServiceDescriptionParams ¶
func NewUpdateServiceDescriptionParams() *UpdateServiceDescriptionParams
NewUpdateServiceDescriptionParams creates a new UpdateServiceDescriptionParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateServiceDescriptionParamsWithContext ¶
func NewUpdateServiceDescriptionParamsWithContext(ctx context.Context) *UpdateServiceDescriptionParams
NewUpdateServiceDescriptionParamsWithContext creates a new UpdateServiceDescriptionParams object with the ability to set a context for a request.
func NewUpdateServiceDescriptionParamsWithHTTPClient ¶
func NewUpdateServiceDescriptionParamsWithHTTPClient(client *http.Client) *UpdateServiceDescriptionParams
NewUpdateServiceDescriptionParamsWithHTTPClient creates a new UpdateServiceDescriptionParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateServiceDescriptionParamsWithTimeout ¶
func NewUpdateServiceDescriptionParamsWithTimeout(timeout time.Duration) *UpdateServiceDescriptionParams
NewUpdateServiceDescriptionParamsWithTimeout creates a new UpdateServiceDescriptionParams object with the ability to set a timeout on a request.
func (*UpdateServiceDescriptionParams) SetBody ¶
func (o *UpdateServiceDescriptionParams) SetBody(body *models.ServiceInfo)
SetBody adds the body to the update service description params
func (*UpdateServiceDescriptionParams) SetContext ¶
func (o *UpdateServiceDescriptionParams) SetContext(ctx context.Context)
SetContext adds the context to the update service description params
func (*UpdateServiceDescriptionParams) SetDefaults ¶
func (o *UpdateServiceDescriptionParams) SetDefaults()
SetDefaults hydrates default values in the update service description params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateServiceDescriptionParams) SetHTTPClient ¶
func (o *UpdateServiceDescriptionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update service description params
func (*UpdateServiceDescriptionParams) SetTimeout ¶
func (o *UpdateServiceDescriptionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update service description params
func (*UpdateServiceDescriptionParams) WithBody ¶
func (o *UpdateServiceDescriptionParams) WithBody(body *models.ServiceInfo) *UpdateServiceDescriptionParams
WithBody adds the body to the update service description params
func (*UpdateServiceDescriptionParams) WithContext ¶
func (o *UpdateServiceDescriptionParams) WithContext(ctx context.Context) *UpdateServiceDescriptionParams
WithContext adds the context to the update service description params
func (*UpdateServiceDescriptionParams) WithDefaults ¶
func (o *UpdateServiceDescriptionParams) WithDefaults() *UpdateServiceDescriptionParams
WithDefaults hydrates default values in the update service description params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateServiceDescriptionParams) WithHTTPClient ¶
func (o *UpdateServiceDescriptionParams) WithHTTPClient(client *http.Client) *UpdateServiceDescriptionParams
WithHTTPClient adds the HTTPClient to the update service description params
func (*UpdateServiceDescriptionParams) WithTimeout ¶
func (o *UpdateServiceDescriptionParams) WithTimeout(timeout time.Duration) *UpdateServiceDescriptionParams
WithTimeout adds the timeout to the update service description params
func (*UpdateServiceDescriptionParams) WriteToRequest ¶
func (o *UpdateServiceDescriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateServiceDescriptionReader ¶
type UpdateServiceDescriptionReader struct {
// contains filtered or unexported fields
}
UpdateServiceDescriptionReader is a Reader for the UpdateServiceDescription structure.
func (*UpdateServiceDescriptionReader) ReadResponse ¶
func (o *UpdateServiceDescriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateServiceVersionForbidden ¶
UpdateServiceVersionForbidden describes a response with status code 403, with default header values.
Update Service Version Failed, cause do not have permisssion
func NewUpdateServiceVersionForbidden ¶
func NewUpdateServiceVersionForbidden() *UpdateServiceVersionForbidden
NewUpdateServiceVersionForbidden creates a UpdateServiceVersionForbidden with default headers values
func (*UpdateServiceVersionForbidden) Error ¶
func (o *UpdateServiceVersionForbidden) Error() string
func (*UpdateServiceVersionForbidden) GetPayload ¶
func (o *UpdateServiceVersionForbidden) GetPayload() *models.Error
type UpdateServiceVersionInternalServerError ¶
UpdateServiceVersionInternalServerError describes a response with status code 500, with default header values.
Server Error
func NewUpdateServiceVersionInternalServerError ¶
func NewUpdateServiceVersionInternalServerError() *UpdateServiceVersionInternalServerError
NewUpdateServiceVersionInternalServerError creates a UpdateServiceVersionInternalServerError with default headers values
func (*UpdateServiceVersionInternalServerError) Error ¶
func (o *UpdateServiceVersionInternalServerError) Error() string
func (*UpdateServiceVersionInternalServerError) GetPayload ¶
func (o *UpdateServiceVersionInternalServerError) GetPayload() *models.Error
type UpdateServiceVersionOK ¶
type UpdateServiceVersionOK struct {
Payload *models.ServiceInfo
}
UpdateServiceVersionOK describes a response with status code 200, with default header values.
Update Service Version Success, return service info.
func NewUpdateServiceVersionOK ¶
func NewUpdateServiceVersionOK() *UpdateServiceVersionOK
NewUpdateServiceVersionOK creates a UpdateServiceVersionOK with default headers values
func (*UpdateServiceVersionOK) Error ¶
func (o *UpdateServiceVersionOK) Error() string
func (*UpdateServiceVersionOK) GetPayload ¶
func (o *UpdateServiceVersionOK) GetPayload() *models.ServiceInfo
type UpdateServiceVersionParams ¶
type UpdateServiceVersionParams struct { // Body. Body *models.ServiceInfo Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateServiceVersionParams contains all the parameters to send to the API endpoint
for the update service version operation. Typically these are written to a http.Request.
func NewUpdateServiceVersionParams ¶
func NewUpdateServiceVersionParams() *UpdateServiceVersionParams
NewUpdateServiceVersionParams creates a new UpdateServiceVersionParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateServiceVersionParamsWithContext ¶
func NewUpdateServiceVersionParamsWithContext(ctx context.Context) *UpdateServiceVersionParams
NewUpdateServiceVersionParamsWithContext creates a new UpdateServiceVersionParams object with the ability to set a context for a request.
func NewUpdateServiceVersionParamsWithHTTPClient ¶
func NewUpdateServiceVersionParamsWithHTTPClient(client *http.Client) *UpdateServiceVersionParams
NewUpdateServiceVersionParamsWithHTTPClient creates a new UpdateServiceVersionParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateServiceVersionParamsWithTimeout ¶
func NewUpdateServiceVersionParamsWithTimeout(timeout time.Duration) *UpdateServiceVersionParams
NewUpdateServiceVersionParamsWithTimeout creates a new UpdateServiceVersionParams object with the ability to set a timeout on a request.
func (*UpdateServiceVersionParams) SetBody ¶
func (o *UpdateServiceVersionParams) SetBody(body *models.ServiceInfo)
SetBody adds the body to the update service version params
func (*UpdateServiceVersionParams) SetContext ¶
func (o *UpdateServiceVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the update service version params
func (*UpdateServiceVersionParams) SetDefaults ¶
func (o *UpdateServiceVersionParams) SetDefaults()
SetDefaults hydrates default values in the update service version params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateServiceVersionParams) SetHTTPClient ¶
func (o *UpdateServiceVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update service version params
func (*UpdateServiceVersionParams) SetTimeout ¶
func (o *UpdateServiceVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update service version params
func (*UpdateServiceVersionParams) WithBody ¶
func (o *UpdateServiceVersionParams) WithBody(body *models.ServiceInfo) *UpdateServiceVersionParams
WithBody adds the body to the update service version params
func (*UpdateServiceVersionParams) WithContext ¶
func (o *UpdateServiceVersionParams) WithContext(ctx context.Context) *UpdateServiceVersionParams
WithContext adds the context to the update service version params
func (*UpdateServiceVersionParams) WithDefaults ¶
func (o *UpdateServiceVersionParams) WithDefaults() *UpdateServiceVersionParams
WithDefaults hydrates default values in the update service version params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateServiceVersionParams) WithHTTPClient ¶
func (o *UpdateServiceVersionParams) WithHTTPClient(client *http.Client) *UpdateServiceVersionParams
WithHTTPClient adds the HTTPClient to the update service version params
func (*UpdateServiceVersionParams) WithTimeout ¶
func (o *UpdateServiceVersionParams) WithTimeout(timeout time.Duration) *UpdateServiceVersionParams
WithTimeout adds the timeout to the update service version params
func (*UpdateServiceVersionParams) WriteToRequest ¶
func (o *UpdateServiceVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateServiceVersionReader ¶
type UpdateServiceVersionReader struct {
// contains filtered or unexported fields
}
UpdateServiceVersionReader is a Reader for the UpdateServiceVersion structure.
func (*UpdateServiceVersionReader) ReadResponse ¶
func (o *UpdateServiceVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- create_service_parameters.go
- create_service_responses.go
- create_service_version_parameters.go
- create_service_version_responses.go
- delete_service_parameters.go
- delete_service_responses.go
- get_service_version_parameters.go
- get_service_version_responses.go
- list_service_parameters.go
- list_service_pod_parameters.go
- list_service_pod_responses.go
- list_service_responses.go
- list_service_version_parameters.go
- list_service_version_responses.go
- service_client.go
- update_service_description_parameters.go
- update_service_description_responses.go
- update_service_version_parameters.go
- update_service_version_responses.go