Documentation ¶
Index ¶
- Constants
- type CreateService
- type CreateServiceConflict
- type CreateServiceCreated
- type CreateServiceForbidden
- type CreateServiceHandler
- type CreateServiceHandlerFunc
- type CreateServiceInternalServerError
- type CreateServiceParams
- type CreateServiceURL
- func (o *CreateServiceURL) Build() (*url.URL, error)
- func (o *CreateServiceURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateServiceURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateServiceURL) SetBasePath(bp string)
- func (o *CreateServiceURL) String() string
- func (o *CreateServiceURL) StringFull(scheme, host string) string
- func (o *CreateServiceURL) WithBasePath(bp string) *CreateServiceURL
- type CreateServiceVersion
- type CreateServiceVersionConflict
- type CreateServiceVersionCreated
- type CreateServiceVersionForbidden
- type CreateServiceVersionHandler
- type CreateServiceVersionHandlerFunc
- type CreateServiceVersionInternalServerError
- func (o *CreateServiceVersionInternalServerError) SetPayload(payload *models.Error)
- func (o *CreateServiceVersionInternalServerError) WithPayload(payload *models.Error) *CreateServiceVersionInternalServerError
- func (o *CreateServiceVersionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateServiceVersionParams
- type CreateServiceVersionURL
- func (o *CreateServiceVersionURL) Build() (*url.URL, error)
- func (o *CreateServiceVersionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateServiceVersionURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateServiceVersionURL) SetBasePath(bp string)
- func (o *CreateServiceVersionURL) String() string
- func (o *CreateServiceVersionURL) StringFull(scheme, host string) string
- func (o *CreateServiceVersionURL) WithBasePath(bp string) *CreateServiceVersionURL
- type DeleteService
- type DeleteServiceForbidden
- type DeleteServiceHandler
- type DeleteServiceHandlerFunc
- type DeleteServiceInternalServerError
- type DeleteServiceOK
- type DeleteServiceParams
- type DeleteServiceURL
- func (o *DeleteServiceURL) Build() (*url.URL, error)
- func (o *DeleteServiceURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteServiceURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteServiceURL) SetBasePath(bp string)
- func (o *DeleteServiceURL) String() string
- func (o *DeleteServiceURL) StringFull(scheme, host string) string
- func (o *DeleteServiceURL) WithBasePath(bp string) *DeleteServiceURL
- type GetServiceVersion
- type GetServiceVersionForbidden
- type GetServiceVersionHandler
- type GetServiceVersionHandlerFunc
- type GetServiceVersionInternalServerError
- func (o *GetServiceVersionInternalServerError) SetPayload(payload *models.Error)
- func (o *GetServiceVersionInternalServerError) WithPayload(payload *models.Error) *GetServiceVersionInternalServerError
- func (o *GetServiceVersionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetServiceVersionOK
- type GetServiceVersionParams
- type GetServiceVersionURL
- func (o *GetServiceVersionURL) Build() (*url.URL, error)
- func (o *GetServiceVersionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetServiceVersionURL) Must(u *url.URL, err error) *url.URL
- func (o *GetServiceVersionURL) SetBasePath(bp string)
- func (o *GetServiceVersionURL) String() string
- func (o *GetServiceVersionURL) StringFull(scheme, host string) string
- func (o *GetServiceVersionURL) WithBasePath(bp string) *GetServiceVersionURL
- type ListService
- type ListServiceForbidden
- type ListServiceHandler
- type ListServiceHandlerFunc
- type ListServiceInternalServerError
- type ListServiceOK
- type ListServiceOKBody
- type ListServiceParams
- type ListServicePod
- type ListServicePodForbidden
- type ListServicePodHandler
- type ListServicePodHandlerFunc
- type ListServicePodInternalServerError
- func (o *ListServicePodInternalServerError) SetPayload(payload *models.Error)
- func (o *ListServicePodInternalServerError) WithPayload(payload *models.Error) *ListServicePodInternalServerError
- func (o *ListServicePodInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServicePodOK
- type ListServicePodOKBody
- type ListServicePodParams
- type ListServicePodURL
- func (o *ListServicePodURL) Build() (*url.URL, error)
- func (o *ListServicePodURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListServicePodURL) Must(u *url.URL, err error) *url.URL
- func (o *ListServicePodURL) SetBasePath(bp string)
- func (o *ListServicePodURL) String() string
- func (o *ListServicePodURL) StringFull(scheme, host string) string
- func (o *ListServicePodURL) WithBasePath(bp string) *ListServicePodURL
- type ListServiceURL
- func (o *ListServiceURL) Build() (*url.URL, error)
- func (o *ListServiceURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListServiceURL) Must(u *url.URL, err error) *url.URL
- func (o *ListServiceURL) SetBasePath(bp string)
- func (o *ListServiceURL) String() string
- func (o *ListServiceURL) StringFull(scheme, host string) string
- func (o *ListServiceURL) WithBasePath(bp string) *ListServiceURL
- type ListServiceVersion
- type ListServiceVersionForbidden
- type ListServiceVersionHandler
- type ListServiceVersionHandlerFunc
- type ListServiceVersionInternalServerError
- func (o *ListServiceVersionInternalServerError) SetPayload(payload *models.Error)
- func (o *ListServiceVersionInternalServerError) WithPayload(payload *models.Error) *ListServiceVersionInternalServerError
- func (o *ListServiceVersionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- 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
- type ListServiceVersionURL
- func (o *ListServiceVersionURL) Build() (*url.URL, error)
- func (o *ListServiceVersionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListServiceVersionURL) Must(u *url.URL, err error) *url.URL
- func (o *ListServiceVersionURL) SetBasePath(bp string)
- func (o *ListServiceVersionURL) String() string
- func (o *ListServiceVersionURL) StringFull(scheme, host string) string
- func (o *ListServiceVersionURL) WithBasePath(bp string) *ListServiceVersionURL
- type UpdateServiceDescription
- type UpdateServiceDescriptionForbidden
- func (o *UpdateServiceDescriptionForbidden) SetPayload(payload *models.Error)
- func (o *UpdateServiceDescriptionForbidden) WithPayload(payload *models.Error) *UpdateServiceDescriptionForbidden
- func (o *UpdateServiceDescriptionForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateServiceDescriptionHandler
- type UpdateServiceDescriptionHandlerFunc
- type UpdateServiceDescriptionInternalServerError
- func (o *UpdateServiceDescriptionInternalServerError) SetPayload(payload *models.Error)
- func (o *UpdateServiceDescriptionInternalServerError) WithPayload(payload *models.Error) *UpdateServiceDescriptionInternalServerError
- func (o *UpdateServiceDescriptionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateServiceDescriptionOK
- type UpdateServiceDescriptionParams
- type UpdateServiceDescriptionURL
- func (o *UpdateServiceDescriptionURL) Build() (*url.URL, error)
- func (o *UpdateServiceDescriptionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateServiceDescriptionURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateServiceDescriptionURL) SetBasePath(bp string)
- func (o *UpdateServiceDescriptionURL) String() string
- func (o *UpdateServiceDescriptionURL) StringFull(scheme, host string) string
- func (o *UpdateServiceDescriptionURL) WithBasePath(bp string) *UpdateServiceDescriptionURL
- type UpdateServiceVersion
- type UpdateServiceVersionForbidden
- type UpdateServiceVersionHandler
- type UpdateServiceVersionHandlerFunc
- type UpdateServiceVersionInternalServerError
- func (o *UpdateServiceVersionInternalServerError) SetPayload(payload *models.Error)
- func (o *UpdateServiceVersionInternalServerError) WithPayload(payload *models.Error) *UpdateServiceVersionInternalServerError
- func (o *UpdateServiceVersionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateServiceVersionOK
- type UpdateServiceVersionParams
- type UpdateServiceVersionURL
- func (o *UpdateServiceVersionURL) Build() (*url.URL, error)
- func (o *UpdateServiceVersionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateServiceVersionURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateServiceVersionURL) SetBasePath(bp string)
- func (o *UpdateServiceVersionURL) String() string
- func (o *UpdateServiceVersionURL) StringFull(scheme, host string) string
- func (o *UpdateServiceVersionURL) WithBasePath(bp string) *UpdateServiceVersionURL
Constants ¶
const CreateServiceConflictCode int = 409
CreateServiceConflictCode is the HTTP code returned for type CreateServiceConflict
const CreateServiceCreatedCode int = 201
CreateServiceCreatedCode is the HTTP code returned for type CreateServiceCreated
const CreateServiceForbiddenCode int = 403
CreateServiceForbiddenCode is the HTTP code returned for type CreateServiceForbidden
const CreateServiceInternalServerErrorCode int = 500
CreateServiceInternalServerErrorCode is the HTTP code returned for type CreateServiceInternalServerError
const CreateServiceVersionConflictCode int = 409
CreateServiceVersionConflictCode is the HTTP code returned for type CreateServiceVersionConflict
const CreateServiceVersionCreatedCode int = 201
CreateServiceVersionCreatedCode is the HTTP code returned for type CreateServiceVersionCreated
const CreateServiceVersionForbiddenCode int = 403
CreateServiceVersionForbiddenCode is the HTTP code returned for type CreateServiceVersionForbidden
const CreateServiceVersionInternalServerErrorCode int = 500
CreateServiceVersionInternalServerErrorCode is the HTTP code returned for type CreateServiceVersionInternalServerError
const DeleteServiceForbiddenCode int = 403
DeleteServiceForbiddenCode is the HTTP code returned for type DeleteServiceForbidden
const DeleteServiceInternalServerErrorCode int = 500
DeleteServiceInternalServerErrorCode is the HTTP code returned for type DeleteServiceInternalServerError
const DeleteServiceOKCode int = 200
DeleteServiceOKCode is the HTTP code returned for type DeleteServiceOK
const GetServiceVersionForbiddenCode int = 403
GetServiceVersionForbiddenCode is the HTTP code returned for type GetServiceVersionForbidden
const GetServiceVersionInternalServerErrorCode int = 500
GetServiceVersionInternalServerErrorCode is the HTTP code returned for type GetServiceVersionInternalServerError
const GetServiceVersionOKCode int = 200
GetServiceVersionOKCode is the HTTP code returned for type GetServiceVersionOK
const ListServiceForbiddenCode int = 403
ListServiceForbiddenCode is the HTTP code returned for type ListServiceForbidden
const ListServiceInternalServerErrorCode int = 500
ListServiceInternalServerErrorCode is the HTTP code returned for type ListServiceInternalServerError
const ListServiceOKCode int = 200
ListServiceOKCode is the HTTP code returned for type ListServiceOK
const ListServicePodForbiddenCode int = 403
ListServicePodForbiddenCode is the HTTP code returned for type ListServicePodForbidden
const ListServicePodInternalServerErrorCode int = 500
ListServicePodInternalServerErrorCode is the HTTP code returned for type ListServicePodInternalServerError
const ListServicePodOKCode int = 200
ListServicePodOKCode is the HTTP code returned for type ListServicePodOK
const ListServiceVersionForbiddenCode int = 403
ListServiceVersionForbiddenCode is the HTTP code returned for type ListServiceVersionForbidden
const ListServiceVersionInternalServerErrorCode int = 500
ListServiceVersionInternalServerErrorCode is the HTTP code returned for type ListServiceVersionInternalServerError
const ListServiceVersionOKCode int = 200
ListServiceVersionOKCode is the HTTP code returned for type ListServiceVersionOK
const UpdateServiceDescriptionForbiddenCode int = 403
UpdateServiceDescriptionForbiddenCode is the HTTP code returned for type UpdateServiceDescriptionForbidden
const UpdateServiceDescriptionInternalServerErrorCode int = 500
UpdateServiceDescriptionInternalServerErrorCode is the HTTP code returned for type UpdateServiceDescriptionInternalServerError
const UpdateServiceDescriptionOKCode int = 200
UpdateServiceDescriptionOKCode is the HTTP code returned for type UpdateServiceDescriptionOK
const UpdateServiceVersionForbiddenCode int = 403
UpdateServiceVersionForbiddenCode is the HTTP code returned for type UpdateServiceVersionForbidden
const UpdateServiceVersionInternalServerErrorCode int = 500
UpdateServiceVersionInternalServerErrorCode is the HTTP code returned for type UpdateServiceVersionInternalServerError
const UpdateServiceVersionOKCode int = 200
UpdateServiceVersionOKCode is the HTTP code returned for type UpdateServiceVersionOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateService ¶
type CreateService struct { Context *middleware.Context Handler CreateServiceHandler }
CreateService swagger:route POST /service/create Service createService
Create Service
func NewCreateService ¶
func NewCreateService(ctx *middleware.Context, handler CreateServiceHandler) *CreateService
NewCreateService creates a new http.Handler for the create service operation
func (*CreateService) ServeHTTP ¶
func (o *CreateService) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateServiceConflict ¶
CreateServiceConflict Create Service Failed, cause service exist
swagger:response createServiceConflict
func NewCreateServiceConflict ¶
func NewCreateServiceConflict() *CreateServiceConflict
NewCreateServiceConflict creates CreateServiceConflict with default headers values
func (*CreateServiceConflict) SetPayload ¶
func (o *CreateServiceConflict) SetPayload(payload *models.Error)
SetPayload sets the payload to the create service conflict response
func (*CreateServiceConflict) WithPayload ¶
func (o *CreateServiceConflict) WithPayload(payload *models.Error) *CreateServiceConflict
WithPayload adds the payload to the create service conflict response
func (*CreateServiceConflict) WriteResponse ¶
func (o *CreateServiceConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateServiceCreated ¶
type CreateServiceCreated struct { /* In: Body */ Payload *models.ServiceInfo `json:"body,omitempty"` }
CreateServiceCreated Create Service Success, return service info.
swagger:response createServiceCreated
func NewCreateServiceCreated ¶
func NewCreateServiceCreated() *CreateServiceCreated
NewCreateServiceCreated creates CreateServiceCreated with default headers values
func (*CreateServiceCreated) SetPayload ¶
func (o *CreateServiceCreated) SetPayload(payload *models.ServiceInfo)
SetPayload sets the payload to the create service created response
func (*CreateServiceCreated) WithPayload ¶
func (o *CreateServiceCreated) WithPayload(payload *models.ServiceInfo) *CreateServiceCreated
WithPayload adds the payload to the create service created response
func (*CreateServiceCreated) WriteResponse ¶
func (o *CreateServiceCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateServiceForbidden ¶
CreateServiceForbidden Create Service Failed, cause do not have permisssion
swagger:response createServiceForbidden
func NewCreateServiceForbidden ¶
func NewCreateServiceForbidden() *CreateServiceForbidden
NewCreateServiceForbidden creates CreateServiceForbidden with default headers values
func (*CreateServiceForbidden) SetPayload ¶
func (o *CreateServiceForbidden) SetPayload(payload *models.Error)
SetPayload sets the payload to the create service forbidden response
func (*CreateServiceForbidden) WithPayload ¶
func (o *CreateServiceForbidden) WithPayload(payload *models.Error) *CreateServiceForbidden
WithPayload adds the payload to the create service forbidden response
func (*CreateServiceForbidden) WriteResponse ¶
func (o *CreateServiceForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateServiceHandler ¶
type CreateServiceHandler interface {
Handle(CreateServiceParams, *models.AuthInfo) middleware.Responder
}
CreateServiceHandler interface for that can handle valid create service params
type CreateServiceHandlerFunc ¶
type CreateServiceHandlerFunc func(CreateServiceParams, *models.AuthInfo) middleware.Responder
CreateServiceHandlerFunc turns a function with the right signature into a create service handler
func (CreateServiceHandlerFunc) Handle ¶
func (fn CreateServiceHandlerFunc) Handle(params CreateServiceParams, principal *models.AuthInfo) middleware.Responder
Handle executing the request and returning a response
type CreateServiceInternalServerError ¶
type CreateServiceInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
CreateServiceInternalServerError Server Error
swagger:response createServiceInternalServerError
func NewCreateServiceInternalServerError ¶
func NewCreateServiceInternalServerError() *CreateServiceInternalServerError
NewCreateServiceInternalServerError creates CreateServiceInternalServerError with default headers values
func (*CreateServiceInternalServerError) SetPayload ¶
func (o *CreateServiceInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the create service internal server error response
func (*CreateServiceInternalServerError) WithPayload ¶
func (o *CreateServiceInternalServerError) WithPayload(payload *models.Error) *CreateServiceInternalServerError
WithPayload adds the payload to the create service internal server error response
func (*CreateServiceInternalServerError) WriteResponse ¶
func (o *CreateServiceInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateServiceParams ¶
type CreateServiceParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.ServiceInfo }
CreateServiceParams contains all the bound params for the create service operation typically these are obtained from a http.Request
swagger:parameters CreateService
func NewCreateServiceParams ¶
func NewCreateServiceParams() CreateServiceParams
NewCreateServiceParams creates a new CreateServiceParams object
There are no default values defined in the spec.
func (*CreateServiceParams) BindRequest ¶
func (o *CreateServiceParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewCreateServiceParams() beforehand.
type CreateServiceURL ¶
type CreateServiceURL struct {
// contains filtered or unexported fields
}
CreateServiceURL generates an URL for the create service operation
func (*CreateServiceURL) Build ¶
func (o *CreateServiceURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateServiceURL) BuildFull ¶
func (o *CreateServiceURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateServiceURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateServiceURL) SetBasePath ¶
func (o *CreateServiceURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*CreateServiceURL) String ¶
func (o *CreateServiceURL) String() string
String returns the string representation of the path with query string
func (*CreateServiceURL) StringFull ¶
func (o *CreateServiceURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateServiceURL) WithBasePath ¶
func (o *CreateServiceURL) WithBasePath(bp string) *CreateServiceURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type CreateServiceVersion ¶
type CreateServiceVersion struct { Context *middleware.Context Handler CreateServiceVersionHandler }
CreateServiceVersion swagger:route POST /service/version/create Service createServiceVersion
Create Service Version
func NewCreateServiceVersion ¶
func NewCreateServiceVersion(ctx *middleware.Context, handler CreateServiceVersionHandler) *CreateServiceVersion
NewCreateServiceVersion creates a new http.Handler for the create service version operation
func (*CreateServiceVersion) ServeHTTP ¶
func (o *CreateServiceVersion) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateServiceVersionConflict ¶
type CreateServiceVersionConflict struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
CreateServiceVersionConflict Create Service Version Failed, cause service version exist
swagger:response createServiceVersionConflict
func NewCreateServiceVersionConflict ¶
func NewCreateServiceVersionConflict() *CreateServiceVersionConflict
NewCreateServiceVersionConflict creates CreateServiceVersionConflict with default headers values
func (*CreateServiceVersionConflict) SetPayload ¶
func (o *CreateServiceVersionConflict) SetPayload(payload *models.Error)
SetPayload sets the payload to the create service version conflict response
func (*CreateServiceVersionConflict) WithPayload ¶
func (o *CreateServiceVersionConflict) WithPayload(payload *models.Error) *CreateServiceVersionConflict
WithPayload adds the payload to the create service version conflict response
func (*CreateServiceVersionConflict) WriteResponse ¶
func (o *CreateServiceVersionConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateServiceVersionCreated ¶
type CreateServiceVersionCreated struct { /* In: Body */ Payload *models.ServiceVersion `json:"body,omitempty"` }
CreateServiceVersionCreated Create Service Version Success, return service version info.
swagger:response createServiceVersionCreated
func NewCreateServiceVersionCreated ¶
func NewCreateServiceVersionCreated() *CreateServiceVersionCreated
NewCreateServiceVersionCreated creates CreateServiceVersionCreated with default headers values
func (*CreateServiceVersionCreated) SetPayload ¶
func (o *CreateServiceVersionCreated) SetPayload(payload *models.ServiceVersion)
SetPayload sets the payload to the create service version created response
func (*CreateServiceVersionCreated) WithPayload ¶
func (o *CreateServiceVersionCreated) WithPayload(payload *models.ServiceVersion) *CreateServiceVersionCreated
WithPayload adds the payload to the create service version created response
func (*CreateServiceVersionCreated) WriteResponse ¶
func (o *CreateServiceVersionCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateServiceVersionForbidden ¶
type CreateServiceVersionForbidden struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
CreateServiceVersionForbidden Create Service Version Failed, cause do not have permisssion
swagger:response createServiceVersionForbidden
func NewCreateServiceVersionForbidden ¶
func NewCreateServiceVersionForbidden() *CreateServiceVersionForbidden
NewCreateServiceVersionForbidden creates CreateServiceVersionForbidden with default headers values
func (*CreateServiceVersionForbidden) SetPayload ¶
func (o *CreateServiceVersionForbidden) SetPayload(payload *models.Error)
SetPayload sets the payload to the create service version forbidden response
func (*CreateServiceVersionForbidden) WithPayload ¶
func (o *CreateServiceVersionForbidden) WithPayload(payload *models.Error) *CreateServiceVersionForbidden
WithPayload adds the payload to the create service version forbidden response
func (*CreateServiceVersionForbidden) WriteResponse ¶
func (o *CreateServiceVersionForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateServiceVersionHandler ¶
type CreateServiceVersionHandler interface {
Handle(CreateServiceVersionParams, *models.AuthInfo) middleware.Responder
}
CreateServiceVersionHandler interface for that can handle valid create service version params
type CreateServiceVersionHandlerFunc ¶
type CreateServiceVersionHandlerFunc func(CreateServiceVersionParams, *models.AuthInfo) middleware.Responder
CreateServiceVersionHandlerFunc turns a function with the right signature into a create service version handler
func (CreateServiceVersionHandlerFunc) Handle ¶
func (fn CreateServiceVersionHandlerFunc) Handle(params CreateServiceVersionParams, principal *models.AuthInfo) middleware.Responder
Handle executing the request and returning a response
type CreateServiceVersionInternalServerError ¶
type CreateServiceVersionInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
CreateServiceVersionInternalServerError Server Error
swagger:response createServiceVersionInternalServerError
func NewCreateServiceVersionInternalServerError ¶
func NewCreateServiceVersionInternalServerError() *CreateServiceVersionInternalServerError
NewCreateServiceVersionInternalServerError creates CreateServiceVersionInternalServerError with default headers values
func (*CreateServiceVersionInternalServerError) SetPayload ¶
func (o *CreateServiceVersionInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the create service version internal server error response
func (*CreateServiceVersionInternalServerError) WithPayload ¶
func (o *CreateServiceVersionInternalServerError) WithPayload(payload *models.Error) *CreateServiceVersionInternalServerError
WithPayload adds the payload to the create service version internal server error response
func (*CreateServiceVersionInternalServerError) WriteResponse ¶
func (o *CreateServiceVersionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateServiceVersionParams ¶
type CreateServiceVersionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.ServiceVersion }
CreateServiceVersionParams contains all the bound params for the create service version operation typically these are obtained from a http.Request
swagger:parameters CreateServiceVersion
func NewCreateServiceVersionParams ¶
func NewCreateServiceVersionParams() CreateServiceVersionParams
NewCreateServiceVersionParams creates a new CreateServiceVersionParams object
There are no default values defined in the spec.
func (*CreateServiceVersionParams) BindRequest ¶
func (o *CreateServiceVersionParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewCreateServiceVersionParams() beforehand.
type CreateServiceVersionURL ¶
type CreateServiceVersionURL struct {
// contains filtered or unexported fields
}
CreateServiceVersionURL generates an URL for the create service version operation
func (*CreateServiceVersionURL) Build ¶
func (o *CreateServiceVersionURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateServiceVersionURL) BuildFull ¶
func (o *CreateServiceVersionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateServiceVersionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateServiceVersionURL) SetBasePath ¶
func (o *CreateServiceVersionURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*CreateServiceVersionURL) String ¶
func (o *CreateServiceVersionURL) String() string
String returns the string representation of the path with query string
func (*CreateServiceVersionURL) StringFull ¶
func (o *CreateServiceVersionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateServiceVersionURL) WithBasePath ¶
func (o *CreateServiceVersionURL) WithBasePath(bp string) *CreateServiceVersionURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type DeleteService ¶
type DeleteService struct { Context *middleware.Context Handler DeleteServiceHandler }
DeleteService swagger:route DELETE /service/delete Service deleteService
Delete Service
func NewDeleteService ¶
func NewDeleteService(ctx *middleware.Context, handler DeleteServiceHandler) *DeleteService
NewDeleteService creates a new http.Handler for the delete service operation
func (*DeleteService) ServeHTTP ¶
func (o *DeleteService) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteServiceForbidden ¶
DeleteServiceForbidden Delete Service Failed, cause do not have permisssion
swagger:response deleteServiceForbidden
func NewDeleteServiceForbidden ¶
func NewDeleteServiceForbidden() *DeleteServiceForbidden
NewDeleteServiceForbidden creates DeleteServiceForbidden with default headers values
func (*DeleteServiceForbidden) SetPayload ¶
func (o *DeleteServiceForbidden) SetPayload(payload *models.Error)
SetPayload sets the payload to the delete service forbidden response
func (*DeleteServiceForbidden) WithPayload ¶
func (o *DeleteServiceForbidden) WithPayload(payload *models.Error) *DeleteServiceForbidden
WithPayload adds the payload to the delete service forbidden response
func (*DeleteServiceForbidden) WriteResponse ¶
func (o *DeleteServiceForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteServiceHandler ¶
type DeleteServiceHandler interface {
Handle(DeleteServiceParams, *models.AuthInfo) middleware.Responder
}
DeleteServiceHandler interface for that can handle valid delete service params
type DeleteServiceHandlerFunc ¶
type DeleteServiceHandlerFunc func(DeleteServiceParams, *models.AuthInfo) middleware.Responder
DeleteServiceHandlerFunc turns a function with the right signature into a delete service handler
func (DeleteServiceHandlerFunc) Handle ¶
func (fn DeleteServiceHandlerFunc) Handle(params DeleteServiceParams, principal *models.AuthInfo) middleware.Responder
Handle executing the request and returning a response
type DeleteServiceInternalServerError ¶
type DeleteServiceInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
DeleteServiceInternalServerError Server Error
swagger:response deleteServiceInternalServerError
func NewDeleteServiceInternalServerError ¶
func NewDeleteServiceInternalServerError() *DeleteServiceInternalServerError
NewDeleteServiceInternalServerError creates DeleteServiceInternalServerError with default headers values
func (*DeleteServiceInternalServerError) SetPayload ¶
func (o *DeleteServiceInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the delete service internal server error response
func (*DeleteServiceInternalServerError) WithPayload ¶
func (o *DeleteServiceInternalServerError) WithPayload(payload *models.Error) *DeleteServiceInternalServerError
WithPayload adds the payload to the delete service internal server error response
func (*DeleteServiceInternalServerError) WriteResponse ¶
func (o *DeleteServiceInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteServiceOK ¶
type DeleteServiceOK struct { /* In: Body */ Payload *models.ServiceInfo `json:"body,omitempty"` }
DeleteServiceOK Delete Service Success, return service info.
swagger:response deleteServiceOK
func NewDeleteServiceOK ¶
func NewDeleteServiceOK() *DeleteServiceOK
NewDeleteServiceOK creates DeleteServiceOK with default headers values
func (*DeleteServiceOK) SetPayload ¶
func (o *DeleteServiceOK) SetPayload(payload *models.ServiceInfo)
SetPayload sets the payload to the delete service o k response
func (*DeleteServiceOK) WithPayload ¶
func (o *DeleteServiceOK) WithPayload(payload *models.ServiceInfo) *DeleteServiceOK
WithPayload adds the payload to the delete service o k response
func (*DeleteServiceOK) WriteResponse ¶
func (o *DeleteServiceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteServiceParams ¶
type DeleteServiceParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: query */ ID int64 }
DeleteServiceParams contains all the bound params for the delete service operation typically these are obtained from a http.Request
swagger:parameters DeleteService
func NewDeleteServiceParams ¶
func NewDeleteServiceParams() DeleteServiceParams
NewDeleteServiceParams creates a new DeleteServiceParams object
There are no default values defined in the spec.
func (*DeleteServiceParams) BindRequest ¶
func (o *DeleteServiceParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewDeleteServiceParams() beforehand.
type DeleteServiceURL ¶
type DeleteServiceURL struct { ID int64 // contains filtered or unexported fields }
DeleteServiceURL generates an URL for the delete service operation
func (*DeleteServiceURL) Build ¶
func (o *DeleteServiceURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteServiceURL) BuildFull ¶
func (o *DeleteServiceURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteServiceURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteServiceURL) SetBasePath ¶
func (o *DeleteServiceURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*DeleteServiceURL) String ¶
func (o *DeleteServiceURL) String() string
String returns the string representation of the path with query string
func (*DeleteServiceURL) StringFull ¶
func (o *DeleteServiceURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteServiceURL) WithBasePath ¶
func (o *DeleteServiceURL) WithBasePath(bp string) *DeleteServiceURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetServiceVersion ¶
type GetServiceVersion struct { Context *middleware.Context Handler GetServiceVersionHandler }
GetServiceVersion swagger:route GET /service/version/get Service getServiceVersion
get Service Version by version ID.
func NewGetServiceVersion ¶
func NewGetServiceVersion(ctx *middleware.Context, handler GetServiceVersionHandler) *GetServiceVersion
NewGetServiceVersion creates a new http.Handler for the get service version operation
func (*GetServiceVersion) ServeHTTP ¶
func (o *GetServiceVersion) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetServiceVersionForbidden ¶
type GetServiceVersionForbidden struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetServiceVersionForbidden List Service Version Failed, cause do not have permisssion
swagger:response getServiceVersionForbidden
func NewGetServiceVersionForbidden ¶
func NewGetServiceVersionForbidden() *GetServiceVersionForbidden
NewGetServiceVersionForbidden creates GetServiceVersionForbidden with default headers values
func (*GetServiceVersionForbidden) SetPayload ¶
func (o *GetServiceVersionForbidden) SetPayload(payload *models.Error)
SetPayload sets the payload to the get service version forbidden response
func (*GetServiceVersionForbidden) WithPayload ¶
func (o *GetServiceVersionForbidden) WithPayload(payload *models.Error) *GetServiceVersionForbidden
WithPayload adds the payload to the get service version forbidden response
func (*GetServiceVersionForbidden) WriteResponse ¶
func (o *GetServiceVersionForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceVersionHandler ¶
type GetServiceVersionHandler interface {
Handle(GetServiceVersionParams, *models.AuthInfo) middleware.Responder
}
GetServiceVersionHandler interface for that can handle valid get service version params
type GetServiceVersionHandlerFunc ¶
type GetServiceVersionHandlerFunc func(GetServiceVersionParams, *models.AuthInfo) middleware.Responder
GetServiceVersionHandlerFunc turns a function with the right signature into a get service version handler
func (GetServiceVersionHandlerFunc) Handle ¶
func (fn GetServiceVersionHandlerFunc) Handle(params GetServiceVersionParams, principal *models.AuthInfo) middleware.Responder
Handle executing the request and returning a response
type GetServiceVersionInternalServerError ¶
type GetServiceVersionInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetServiceVersionInternalServerError Server Error
swagger:response getServiceVersionInternalServerError
func NewGetServiceVersionInternalServerError ¶
func NewGetServiceVersionInternalServerError() *GetServiceVersionInternalServerError
NewGetServiceVersionInternalServerError creates GetServiceVersionInternalServerError with default headers values
func (*GetServiceVersionInternalServerError) SetPayload ¶
func (o *GetServiceVersionInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get service version internal server error response
func (*GetServiceVersionInternalServerError) WithPayload ¶
func (o *GetServiceVersionInternalServerError) WithPayload(payload *models.Error) *GetServiceVersionInternalServerError
WithPayload adds the payload to the get service version internal server error response
func (*GetServiceVersionInternalServerError) WriteResponse ¶
func (o *GetServiceVersionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceVersionOK ¶
type GetServiceVersionOK struct { /* In: Body */ Payload *models.ServiceVersion `json:"body,omitempty"` }
GetServiceVersionOK List Service Version Success, return service version info.
swagger:response getServiceVersionOK
func NewGetServiceVersionOK ¶
func NewGetServiceVersionOK() *GetServiceVersionOK
NewGetServiceVersionOK creates GetServiceVersionOK with default headers values
func (*GetServiceVersionOK) SetPayload ¶
func (o *GetServiceVersionOK) SetPayload(payload *models.ServiceVersion)
SetPayload sets the payload to the get service version o k response
func (*GetServiceVersionOK) WithPayload ¶
func (o *GetServiceVersionOK) WithPayload(payload *models.ServiceVersion) *GetServiceVersionOK
WithPayload adds the payload to the get service version o k response
func (*GetServiceVersionOK) WriteResponse ¶
func (o *GetServiceVersionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceVersionParams ¶
type GetServiceVersionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: query */ ServiceID int64 /* Required: true In: query */ VersionID int64 }
GetServiceVersionParams contains all the bound params for the get service version operation typically these are obtained from a http.Request
swagger:parameters GetServiceVersion
func NewGetServiceVersionParams ¶
func NewGetServiceVersionParams() GetServiceVersionParams
NewGetServiceVersionParams creates a new GetServiceVersionParams object
There are no default values defined in the spec.
func (*GetServiceVersionParams) BindRequest ¶
func (o *GetServiceVersionParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetServiceVersionParams() beforehand.
type GetServiceVersionURL ¶
type GetServiceVersionURL struct { ServiceID int64 VersionID int64 // contains filtered or unexported fields }
GetServiceVersionURL generates an URL for the get service version operation
func (*GetServiceVersionURL) Build ¶
func (o *GetServiceVersionURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetServiceVersionURL) BuildFull ¶
func (o *GetServiceVersionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetServiceVersionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetServiceVersionURL) SetBasePath ¶
func (o *GetServiceVersionURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetServiceVersionURL) String ¶
func (o *GetServiceVersionURL) String() string
String returns the string representation of the path with query string
func (*GetServiceVersionURL) StringFull ¶
func (o *GetServiceVersionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetServiceVersionURL) WithBasePath ¶
func (o *GetServiceVersionURL) WithBasePath(bp string) *GetServiceVersionURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ListService ¶
type ListService struct { Context *middleware.Context Handler ListServiceHandler }
ListService swagger:route GET /service/list Service listService
List Service by project ID, service ID, service name.
func NewListService ¶
func NewListService(ctx *middleware.Context, handler ListServiceHandler) *ListService
NewListService creates a new http.Handler for the list service operation
func (*ListService) ServeHTTP ¶
func (o *ListService) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListServiceForbidden ¶
ListServiceForbidden List Service Failed, cause do not have permisssion
swagger:response listServiceForbidden
func NewListServiceForbidden ¶
func NewListServiceForbidden() *ListServiceForbidden
NewListServiceForbidden creates ListServiceForbidden with default headers values
func (*ListServiceForbidden) SetPayload ¶
func (o *ListServiceForbidden) SetPayload(payload *models.Error)
SetPayload sets the payload to the list service forbidden response
func (*ListServiceForbidden) WithPayload ¶
func (o *ListServiceForbidden) WithPayload(payload *models.Error) *ListServiceForbidden
WithPayload adds the payload to the list service forbidden response
func (*ListServiceForbidden) WriteResponse ¶
func (o *ListServiceForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServiceHandler ¶
type ListServiceHandler interface {
Handle(ListServiceParams, *models.AuthInfo) middleware.Responder
}
ListServiceHandler interface for that can handle valid list service params
type ListServiceHandlerFunc ¶
type ListServiceHandlerFunc func(ListServiceParams, *models.AuthInfo) middleware.Responder
ListServiceHandlerFunc turns a function with the right signature into a list service handler
func (ListServiceHandlerFunc) Handle ¶
func (fn ListServiceHandlerFunc) Handle(params ListServiceParams, principal *models.AuthInfo) middleware.Responder
Handle executing the request and returning a response
type ListServiceInternalServerError ¶
type ListServiceInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ListServiceInternalServerError Server Error
swagger:response listServiceInternalServerError
func NewListServiceInternalServerError ¶
func NewListServiceInternalServerError() *ListServiceInternalServerError
NewListServiceInternalServerError creates ListServiceInternalServerError with default headers values
func (*ListServiceInternalServerError) SetPayload ¶
func (o *ListServiceInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the list service internal server error response
func (*ListServiceInternalServerError) WithPayload ¶
func (o *ListServiceInternalServerError) WithPayload(payload *models.Error) *ListServiceInternalServerError
WithPayload adds the payload to the list service internal server error response
func (*ListServiceInternalServerError) WriteResponse ¶
func (o *ListServiceInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServiceOK ¶
type ListServiceOK struct { /* In: Body */ Payload *ListServiceOKBody `json:"body,omitempty"` }
ListServiceOK List All Services Success, return service info. (service name, service id, service description)
swagger:response listServiceOK
func NewListServiceOK ¶
func NewListServiceOK() *ListServiceOK
NewListServiceOK creates ListServiceOK with default headers values
func (*ListServiceOK) SetPayload ¶
func (o *ListServiceOK) SetPayload(payload *ListServiceOKBody)
SetPayload sets the payload to the list service o k response
func (*ListServiceOK) WithPayload ¶
func (o *ListServiceOK) WithPayload(payload *ListServiceOKBody) *ListServiceOK
WithPayload adds the payload to the list service o k response
func (*ListServiceOK) WriteResponse ¶
func (o *ListServiceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
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 { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ ProjectID *int64 /* In: query */ ServiceID *int64 /* In: query */ ServiceName *string }
ListServiceParams contains all the bound params for the list service operation typically these are obtained from a http.Request
swagger:parameters ListService
func NewListServiceParams ¶
func NewListServiceParams() ListServiceParams
NewListServiceParams creates a new ListServiceParams object
There are no default values defined in the spec.
func (*ListServiceParams) BindRequest ¶
func (o *ListServiceParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewListServiceParams() beforehand.
type ListServicePod ¶
type ListServicePod struct { Context *middleware.Context Handler ListServicePodHandler }
ListServicePod swagger:route GET /service/pod/list Service listServicePod
List Service Pod by service ID.
func NewListServicePod ¶
func NewListServicePod(ctx *middleware.Context, handler ListServicePodHandler) *ListServicePod
NewListServicePod creates a new http.Handler for the list service pod operation
func (*ListServicePod) ServeHTTP ¶
func (o *ListServicePod) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListServicePodForbidden ¶
type ListServicePodForbidden struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ListServicePodForbidden List Service Pod Failed, cause do not have permisssion
swagger:response listServicePodForbidden
func NewListServicePodForbidden ¶
func NewListServicePodForbidden() *ListServicePodForbidden
NewListServicePodForbidden creates ListServicePodForbidden with default headers values
func (*ListServicePodForbidden) SetPayload ¶
func (o *ListServicePodForbidden) SetPayload(payload *models.Error)
SetPayload sets the payload to the list service pod forbidden response
func (*ListServicePodForbidden) WithPayload ¶
func (o *ListServicePodForbidden) WithPayload(payload *models.Error) *ListServicePodForbidden
WithPayload adds the payload to the list service pod forbidden response
func (*ListServicePodForbidden) WriteResponse ¶
func (o *ListServicePodForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServicePodHandler ¶
type ListServicePodHandler interface {
Handle(ListServicePodParams, *models.AuthInfo) middleware.Responder
}
ListServicePodHandler interface for that can handle valid list service pod params
type ListServicePodHandlerFunc ¶
type ListServicePodHandlerFunc func(ListServicePodParams, *models.AuthInfo) middleware.Responder
ListServicePodHandlerFunc turns a function with the right signature into a list service pod handler
func (ListServicePodHandlerFunc) Handle ¶
func (fn ListServicePodHandlerFunc) Handle(params ListServicePodParams, principal *models.AuthInfo) middleware.Responder
Handle executing the request and returning a response
type ListServicePodInternalServerError ¶
type ListServicePodInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ListServicePodInternalServerError Server Error
swagger:response listServicePodInternalServerError
func NewListServicePodInternalServerError ¶
func NewListServicePodInternalServerError() *ListServicePodInternalServerError
NewListServicePodInternalServerError creates ListServicePodInternalServerError with default headers values
func (*ListServicePodInternalServerError) SetPayload ¶
func (o *ListServicePodInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the list service pod internal server error response
func (*ListServicePodInternalServerError) WithPayload ¶
func (o *ListServicePodInternalServerError) WithPayload(payload *models.Error) *ListServicePodInternalServerError
WithPayload adds the payload to the list service pod internal server error response
func (*ListServicePodInternalServerError) WriteResponse ¶
func (o *ListServicePodInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServicePodOK ¶
type ListServicePodOK struct { /* In: Body */ Payload *ListServicePodOKBody `json:"body,omitempty"` }
ListServicePodOK List Service Pod Success, return service pod info.
swagger:response listServicePodOK
func NewListServicePodOK ¶
func NewListServicePodOK() *ListServicePodOK
NewListServicePodOK creates ListServicePodOK with default headers values
func (*ListServicePodOK) SetPayload ¶
func (o *ListServicePodOK) SetPayload(payload *ListServicePodOKBody)
SetPayload sets the payload to the list service pod o k response
func (*ListServicePodOK) WithPayload ¶
func (o *ListServicePodOK) WithPayload(payload *ListServicePodOKBody) *ListServicePodOK
WithPayload adds the payload to the list service pod o k response
func (*ListServicePodOK) WriteResponse ¶
func (o *ListServicePodOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
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 { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: query */ ServiceID int64 }
ListServicePodParams contains all the bound params for the list service pod operation typically these are obtained from a http.Request
swagger:parameters ListServicePod
func NewListServicePodParams ¶
func NewListServicePodParams() ListServicePodParams
NewListServicePodParams creates a new ListServicePodParams object
There are no default values defined in the spec.
func (*ListServicePodParams) BindRequest ¶
func (o *ListServicePodParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewListServicePodParams() beforehand.
type ListServicePodURL ¶
type ListServicePodURL struct { ServiceID int64 // contains filtered or unexported fields }
ListServicePodURL generates an URL for the list service pod operation
func (*ListServicePodURL) Build ¶
func (o *ListServicePodURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListServicePodURL) BuildFull ¶
func (o *ListServicePodURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListServicePodURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListServicePodURL) SetBasePath ¶
func (o *ListServicePodURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ListServicePodURL) String ¶
func (o *ListServicePodURL) String() string
String returns the string representation of the path with query string
func (*ListServicePodURL) StringFull ¶
func (o *ListServicePodURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListServicePodURL) WithBasePath ¶
func (o *ListServicePodURL) WithBasePath(bp string) *ListServicePodURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ListServiceURL ¶
type ListServiceURL struct { ProjectID *int64 ServiceID *int64 ServiceName *string // contains filtered or unexported fields }
ListServiceURL generates an URL for the list service operation
func (*ListServiceURL) Build ¶
func (o *ListServiceURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListServiceURL) BuildFull ¶
func (o *ListServiceURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListServiceURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListServiceURL) SetBasePath ¶
func (o *ListServiceURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ListServiceURL) String ¶
func (o *ListServiceURL) String() string
String returns the string representation of the path with query string
func (*ListServiceURL) StringFull ¶
func (o *ListServiceURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListServiceURL) WithBasePath ¶
func (o *ListServiceURL) WithBasePath(bp string) *ListServiceURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ListServiceVersion ¶
type ListServiceVersion struct { Context *middleware.Context Handler ListServiceVersionHandler }
ListServiceVersion swagger:route GET /service/version/list Service listServiceVersion
List Service Version by service ID.
func NewListServiceVersion ¶
func NewListServiceVersion(ctx *middleware.Context, handler ListServiceVersionHandler) *ListServiceVersion
NewListServiceVersion creates a new http.Handler for the list service version operation
func (*ListServiceVersion) ServeHTTP ¶
func (o *ListServiceVersion) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListServiceVersionForbidden ¶
type ListServiceVersionForbidden struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ListServiceVersionForbidden List Service Version Failed, cause do not have permisssion
swagger:response listServiceVersionForbidden
func NewListServiceVersionForbidden ¶
func NewListServiceVersionForbidden() *ListServiceVersionForbidden
NewListServiceVersionForbidden creates ListServiceVersionForbidden with default headers values
func (*ListServiceVersionForbidden) SetPayload ¶
func (o *ListServiceVersionForbidden) SetPayload(payload *models.Error)
SetPayload sets the payload to the list service version forbidden response
func (*ListServiceVersionForbidden) WithPayload ¶
func (o *ListServiceVersionForbidden) WithPayload(payload *models.Error) *ListServiceVersionForbidden
WithPayload adds the payload to the list service version forbidden response
func (*ListServiceVersionForbidden) WriteResponse ¶
func (o *ListServiceVersionForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServiceVersionHandler ¶
type ListServiceVersionHandler interface {
Handle(ListServiceVersionParams, *models.AuthInfo) middleware.Responder
}
ListServiceVersionHandler interface for that can handle valid list service version params
type ListServiceVersionHandlerFunc ¶
type ListServiceVersionHandlerFunc func(ListServiceVersionParams, *models.AuthInfo) middleware.Responder
ListServiceVersionHandlerFunc turns a function with the right signature into a list service version handler
func (ListServiceVersionHandlerFunc) Handle ¶
func (fn ListServiceVersionHandlerFunc) Handle(params ListServiceVersionParams, principal *models.AuthInfo) middleware.Responder
Handle executing the request and returning a response
type ListServiceVersionInternalServerError ¶
type ListServiceVersionInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ListServiceVersionInternalServerError Server Error
swagger:response listServiceVersionInternalServerError
func NewListServiceVersionInternalServerError ¶
func NewListServiceVersionInternalServerError() *ListServiceVersionInternalServerError
NewListServiceVersionInternalServerError creates ListServiceVersionInternalServerError with default headers values
func (*ListServiceVersionInternalServerError) SetPayload ¶
func (o *ListServiceVersionInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the list service version internal server error response
func (*ListServiceVersionInternalServerError) WithPayload ¶
func (o *ListServiceVersionInternalServerError) WithPayload(payload *models.Error) *ListServiceVersionInternalServerError
WithPayload adds the payload to the list service version internal server error response
func (*ListServiceVersionInternalServerError) WriteResponse ¶
func (o *ListServiceVersionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServiceVersionOK ¶
type ListServiceVersionOK struct { /* In: Body */ Payload *ListServiceVersionOKBody `json:"body,omitempty"` }
ListServiceVersionOK List Service Version Success, return service version info.
swagger:response listServiceVersionOK
func NewListServiceVersionOK ¶
func NewListServiceVersionOK() *ListServiceVersionOK
NewListServiceVersionOK creates ListServiceVersionOK with default headers values
func (*ListServiceVersionOK) SetPayload ¶
func (o *ListServiceVersionOK) SetPayload(payload *ListServiceVersionOKBody)
SetPayload sets the payload to the list service version o k response
func (*ListServiceVersionOK) WithPayload ¶
func (o *ListServiceVersionOK) WithPayload(payload *ListServiceVersionOKBody) *ListServiceVersionOK
WithPayload adds the payload to the list service version o k response
func (*ListServiceVersionOK) WriteResponse ¶
func (o *ListServiceVersionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
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 { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: query */ ServiceID int64 }
ListServiceVersionParams contains all the bound params for the list service version operation typically these are obtained from a http.Request
swagger:parameters ListServiceVersion
func NewListServiceVersionParams ¶
func NewListServiceVersionParams() ListServiceVersionParams
NewListServiceVersionParams creates a new ListServiceVersionParams object
There are no default values defined in the spec.
func (*ListServiceVersionParams) BindRequest ¶
func (o *ListServiceVersionParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewListServiceVersionParams() beforehand.
type ListServiceVersionURL ¶
type ListServiceVersionURL struct { ServiceID int64 // contains filtered or unexported fields }
ListServiceVersionURL generates an URL for the list service version operation
func (*ListServiceVersionURL) Build ¶
func (o *ListServiceVersionURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListServiceVersionURL) BuildFull ¶
func (o *ListServiceVersionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListServiceVersionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListServiceVersionURL) SetBasePath ¶
func (o *ListServiceVersionURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ListServiceVersionURL) String ¶
func (o *ListServiceVersionURL) String() string
String returns the string representation of the path with query string
func (*ListServiceVersionURL) StringFull ¶
func (o *ListServiceVersionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListServiceVersionURL) WithBasePath ¶
func (o *ListServiceVersionURL) WithBasePath(bp string) *ListServiceVersionURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type UpdateServiceDescription ¶
type UpdateServiceDescription struct { Context *middleware.Context Handler UpdateServiceDescriptionHandler }
UpdateServiceDescription swagger:route PUT /service/update/desc Service updateServiceDescription
Update Service Description
func NewUpdateServiceDescription ¶
func NewUpdateServiceDescription(ctx *middleware.Context, handler UpdateServiceDescriptionHandler) *UpdateServiceDescription
NewUpdateServiceDescription creates a new http.Handler for the update service description operation
func (*UpdateServiceDescription) ServeHTTP ¶
func (o *UpdateServiceDescription) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateServiceDescriptionForbidden ¶
type UpdateServiceDescriptionForbidden struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
UpdateServiceDescriptionForbidden Update Service Description Failed, cause do not have permisssion
swagger:response updateServiceDescriptionForbidden
func NewUpdateServiceDescriptionForbidden ¶
func NewUpdateServiceDescriptionForbidden() *UpdateServiceDescriptionForbidden
NewUpdateServiceDescriptionForbidden creates UpdateServiceDescriptionForbidden with default headers values
func (*UpdateServiceDescriptionForbidden) SetPayload ¶
func (o *UpdateServiceDescriptionForbidden) SetPayload(payload *models.Error)
SetPayload sets the payload to the update service description forbidden response
func (*UpdateServiceDescriptionForbidden) WithPayload ¶
func (o *UpdateServiceDescriptionForbidden) WithPayload(payload *models.Error) *UpdateServiceDescriptionForbidden
WithPayload adds the payload to the update service description forbidden response
func (*UpdateServiceDescriptionForbidden) WriteResponse ¶
func (o *UpdateServiceDescriptionForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateServiceDescriptionHandler ¶
type UpdateServiceDescriptionHandler interface {
Handle(UpdateServiceDescriptionParams, *models.AuthInfo) middleware.Responder
}
UpdateServiceDescriptionHandler interface for that can handle valid update service description params
type UpdateServiceDescriptionHandlerFunc ¶
type UpdateServiceDescriptionHandlerFunc func(UpdateServiceDescriptionParams, *models.AuthInfo) middleware.Responder
UpdateServiceDescriptionHandlerFunc turns a function with the right signature into a update service description handler
func (UpdateServiceDescriptionHandlerFunc) Handle ¶
func (fn UpdateServiceDescriptionHandlerFunc) Handle(params UpdateServiceDescriptionParams, principal *models.AuthInfo) middleware.Responder
Handle executing the request and returning a response
type UpdateServiceDescriptionInternalServerError ¶
type UpdateServiceDescriptionInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
UpdateServiceDescriptionInternalServerError Server Error
swagger:response updateServiceDescriptionInternalServerError
func NewUpdateServiceDescriptionInternalServerError ¶
func NewUpdateServiceDescriptionInternalServerError() *UpdateServiceDescriptionInternalServerError
NewUpdateServiceDescriptionInternalServerError creates UpdateServiceDescriptionInternalServerError with default headers values
func (*UpdateServiceDescriptionInternalServerError) SetPayload ¶
func (o *UpdateServiceDescriptionInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the update service description internal server error response
func (*UpdateServiceDescriptionInternalServerError) WithPayload ¶
func (o *UpdateServiceDescriptionInternalServerError) WithPayload(payload *models.Error) *UpdateServiceDescriptionInternalServerError
WithPayload adds the payload to the update service description internal server error response
func (*UpdateServiceDescriptionInternalServerError) WriteResponse ¶
func (o *UpdateServiceDescriptionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateServiceDescriptionOK ¶
type UpdateServiceDescriptionOK struct { /* In: Body */ Payload *models.ServiceInfo `json:"body,omitempty"` }
UpdateServiceDescriptionOK Update Service Description Success, return service info.
swagger:response updateServiceDescriptionOK
func NewUpdateServiceDescriptionOK ¶
func NewUpdateServiceDescriptionOK() *UpdateServiceDescriptionOK
NewUpdateServiceDescriptionOK creates UpdateServiceDescriptionOK with default headers values
func (*UpdateServiceDescriptionOK) SetPayload ¶
func (o *UpdateServiceDescriptionOK) SetPayload(payload *models.ServiceInfo)
SetPayload sets the payload to the update service description o k response
func (*UpdateServiceDescriptionOK) WithPayload ¶
func (o *UpdateServiceDescriptionOK) WithPayload(payload *models.ServiceInfo) *UpdateServiceDescriptionOK
WithPayload adds the payload to the update service description o k response
func (*UpdateServiceDescriptionOK) WriteResponse ¶
func (o *UpdateServiceDescriptionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateServiceDescriptionParams ¶
type UpdateServiceDescriptionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.ServiceInfo }
UpdateServiceDescriptionParams contains all the bound params for the update service description operation typically these are obtained from a http.Request
swagger:parameters UpdateServiceDescription
func NewUpdateServiceDescriptionParams ¶
func NewUpdateServiceDescriptionParams() UpdateServiceDescriptionParams
NewUpdateServiceDescriptionParams creates a new UpdateServiceDescriptionParams object
There are no default values defined in the spec.
func (*UpdateServiceDescriptionParams) BindRequest ¶
func (o *UpdateServiceDescriptionParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewUpdateServiceDescriptionParams() beforehand.
type UpdateServiceDescriptionURL ¶
type UpdateServiceDescriptionURL struct {
// contains filtered or unexported fields
}
UpdateServiceDescriptionURL generates an URL for the update service description operation
func (*UpdateServiceDescriptionURL) Build ¶
func (o *UpdateServiceDescriptionURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateServiceDescriptionURL) BuildFull ¶
func (o *UpdateServiceDescriptionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateServiceDescriptionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateServiceDescriptionURL) SetBasePath ¶
func (o *UpdateServiceDescriptionURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*UpdateServiceDescriptionURL) String ¶
func (o *UpdateServiceDescriptionURL) String() string
String returns the string representation of the path with query string
func (*UpdateServiceDescriptionURL) StringFull ¶
func (o *UpdateServiceDescriptionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateServiceDescriptionURL) WithBasePath ¶
func (o *UpdateServiceDescriptionURL) WithBasePath(bp string) *UpdateServiceDescriptionURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type UpdateServiceVersion ¶
type UpdateServiceVersion struct { Context *middleware.Context Handler UpdateServiceVersionHandler }
UpdateServiceVersion swagger:route PUT /service/update/deploy Service updateServiceVersion
Update Service Version
func NewUpdateServiceVersion ¶
func NewUpdateServiceVersion(ctx *middleware.Context, handler UpdateServiceVersionHandler) *UpdateServiceVersion
NewUpdateServiceVersion creates a new http.Handler for the update service version operation
func (*UpdateServiceVersion) ServeHTTP ¶
func (o *UpdateServiceVersion) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateServiceVersionForbidden ¶
type UpdateServiceVersionForbidden struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
UpdateServiceVersionForbidden Update Service Version Failed, cause do not have permisssion
swagger:response updateServiceVersionForbidden
func NewUpdateServiceVersionForbidden ¶
func NewUpdateServiceVersionForbidden() *UpdateServiceVersionForbidden
NewUpdateServiceVersionForbidden creates UpdateServiceVersionForbidden with default headers values
func (*UpdateServiceVersionForbidden) SetPayload ¶
func (o *UpdateServiceVersionForbidden) SetPayload(payload *models.Error)
SetPayload sets the payload to the update service version forbidden response
func (*UpdateServiceVersionForbidden) WithPayload ¶
func (o *UpdateServiceVersionForbidden) WithPayload(payload *models.Error) *UpdateServiceVersionForbidden
WithPayload adds the payload to the update service version forbidden response
func (*UpdateServiceVersionForbidden) WriteResponse ¶
func (o *UpdateServiceVersionForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateServiceVersionHandler ¶
type UpdateServiceVersionHandler interface {
Handle(UpdateServiceVersionParams, *models.AuthInfo) middleware.Responder
}
UpdateServiceVersionHandler interface for that can handle valid update service version params
type UpdateServiceVersionHandlerFunc ¶
type UpdateServiceVersionHandlerFunc func(UpdateServiceVersionParams, *models.AuthInfo) middleware.Responder
UpdateServiceVersionHandlerFunc turns a function with the right signature into a update service version handler
func (UpdateServiceVersionHandlerFunc) Handle ¶
func (fn UpdateServiceVersionHandlerFunc) Handle(params UpdateServiceVersionParams, principal *models.AuthInfo) middleware.Responder
Handle executing the request and returning a response
type UpdateServiceVersionInternalServerError ¶
type UpdateServiceVersionInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
UpdateServiceVersionInternalServerError Server Error
swagger:response updateServiceVersionInternalServerError
func NewUpdateServiceVersionInternalServerError ¶
func NewUpdateServiceVersionInternalServerError() *UpdateServiceVersionInternalServerError
NewUpdateServiceVersionInternalServerError creates UpdateServiceVersionInternalServerError with default headers values
func (*UpdateServiceVersionInternalServerError) SetPayload ¶
func (o *UpdateServiceVersionInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the update service version internal server error response
func (*UpdateServiceVersionInternalServerError) WithPayload ¶
func (o *UpdateServiceVersionInternalServerError) WithPayload(payload *models.Error) *UpdateServiceVersionInternalServerError
WithPayload adds the payload to the update service version internal server error response
func (*UpdateServiceVersionInternalServerError) WriteResponse ¶
func (o *UpdateServiceVersionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateServiceVersionOK ¶
type UpdateServiceVersionOK struct { /* In: Body */ Payload *models.ServiceInfo `json:"body,omitempty"` }
UpdateServiceVersionOK Update Service Version Success, return service info.
swagger:response updateServiceVersionOK
func NewUpdateServiceVersionOK ¶
func NewUpdateServiceVersionOK() *UpdateServiceVersionOK
NewUpdateServiceVersionOK creates UpdateServiceVersionOK with default headers values
func (*UpdateServiceVersionOK) SetPayload ¶
func (o *UpdateServiceVersionOK) SetPayload(payload *models.ServiceInfo)
SetPayload sets the payload to the update service version o k response
func (*UpdateServiceVersionOK) WithPayload ¶
func (o *UpdateServiceVersionOK) WithPayload(payload *models.ServiceInfo) *UpdateServiceVersionOK
WithPayload adds the payload to the update service version o k response
func (*UpdateServiceVersionOK) WriteResponse ¶
func (o *UpdateServiceVersionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateServiceVersionParams ¶
type UpdateServiceVersionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.ServiceInfo }
UpdateServiceVersionParams contains all the bound params for the update service version operation typically these are obtained from a http.Request
swagger:parameters UpdateServiceVersion
func NewUpdateServiceVersionParams ¶
func NewUpdateServiceVersionParams() UpdateServiceVersionParams
NewUpdateServiceVersionParams creates a new UpdateServiceVersionParams object
There are no default values defined in the spec.
func (*UpdateServiceVersionParams) BindRequest ¶
func (o *UpdateServiceVersionParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewUpdateServiceVersionParams() beforehand.
type UpdateServiceVersionURL ¶
type UpdateServiceVersionURL struct {
// contains filtered or unexported fields
}
UpdateServiceVersionURL generates an URL for the update service version operation
func (*UpdateServiceVersionURL) Build ¶
func (o *UpdateServiceVersionURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateServiceVersionURL) BuildFull ¶
func (o *UpdateServiceVersionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateServiceVersionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateServiceVersionURL) SetBasePath ¶
func (o *UpdateServiceVersionURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*UpdateServiceVersionURL) String ¶
func (o *UpdateServiceVersionURL) String() string
String returns the string representation of the path with query string
func (*UpdateServiceVersionURL) StringFull ¶
func (o *UpdateServiceVersionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateServiceVersionURL) WithBasePath ¶
func (o *UpdateServiceVersionURL) WithBasePath(bp string) *UpdateServiceVersionURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
Source Files ¶
- create_service.go
- create_service_parameters.go
- create_service_responses.go
- create_service_urlbuilder.go
- create_service_version.go
- create_service_version_parameters.go
- create_service_version_responses.go
- create_service_version_urlbuilder.go
- delete_service.go
- delete_service_parameters.go
- delete_service_responses.go
- delete_service_urlbuilder.go
- get_service_version.go
- get_service_version_parameters.go
- get_service_version_responses.go
- get_service_version_urlbuilder.go
- list_service.go
- list_service_parameters.go
- list_service_pod.go
- list_service_pod_parameters.go
- list_service_pod_responses.go
- list_service_pod_urlbuilder.go
- list_service_responses.go
- list_service_urlbuilder.go
- list_service_version.go
- list_service_version_parameters.go
- list_service_version_responses.go
- list_service_version_urlbuilder.go
- update_service_description.go
- update_service_description_parameters.go
- update_service_description_responses.go
- update_service_description_urlbuilder.go
- update_service_version.go
- update_service_version_parameters.go
- update_service_version_responses.go
- update_service_version_urlbuilder.go