Documentation ¶
Index ¶
- Constants
- type GetService
- type GetServiceDefault
- func (o *GetServiceDefault) SetPayload(payload *models.Error)
- func (o *GetServiceDefault) SetStatusCode(code int)
- func (o *GetServiceDefault) WithPayload(payload *models.Error) *GetServiceDefault
- func (o *GetServiceDefault) WithStatusCode(code int) *GetServiceDefault
- func (o *GetServiceDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetServiceHandler
- type GetServiceHandlerFunc
- type GetServiceNotFound
- type GetServiceOK
- type GetServiceParams
- type GetServiceURL
- func (o *GetServiceURL) Build() (*url.URL, error)
- func (o *GetServiceURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetServiceURL) Must(u *url.URL, err error) *url.URL
- func (o *GetServiceURL) SetBasePath(bp string)
- func (o *GetServiceURL) String() string
- func (o *GetServiceURL) StringFull(scheme, host string) string
- func (o *GetServiceURL) WithBasePath(bp string) *GetServiceURL
- type GetServices
- type GetServicesDefault
- func (o *GetServicesDefault) SetPayload(payload *models.Error)
- func (o *GetServicesDefault) SetStatusCode(code int)
- func (o *GetServicesDefault) WithPayload(payload *models.Error) *GetServicesDefault
- func (o *GetServicesDefault) WithStatusCode(code int) *GetServicesDefault
- func (o *GetServicesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetServicesHandler
- type GetServicesHandlerFunc
- type GetServicesNotFound
- type GetServicesOK
- type GetServicesParams
- type GetServicesURL
- func (o *GetServicesURL) Build() (*url.URL, error)
- func (o *GetServicesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetServicesURL) Must(u *url.URL, err error) *url.URL
- func (o *GetServicesURL) SetBasePath(bp string)
- func (o *GetServicesURL) String() string
- func (o *GetServicesURL) StringFull(scheme, host string) string
- func (o *GetServicesURL) WithBasePath(bp string) *GetServicesURL
Constants ¶
const GetServiceNotFoundCode int = 404
GetServiceNotFoundCode is the HTTP code returned for type GetServiceNotFound
const GetServiceOKCode int = 200
GetServiceOKCode is the HTTP code returned for type GetServiceOK
const GetServicesNotFoundCode int = 404
GetServicesNotFoundCode is the HTTP code returned for type GetServicesNotFound
const GetServicesOKCode int = 200
GetServicesOKCode is the HTTP code returned for type GetServicesOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetService ¶
type GetService struct { Context *middleware.Context Handler GetServiceHandler }
GetService swagger:route GET /project/{projectName}/service/{serviceName} Services getService
GetService get service API
func NewGetService ¶
func NewGetService(ctx *middleware.Context, handler GetServiceHandler) *GetService
NewGetService creates a new http.Handler for the get service operation
func (*GetService) ServeHTTP ¶
func (o *GetService) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetServiceDefault ¶
type GetServiceDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetServiceDefault Error
swagger:response getServiceDefault
func NewGetServiceDefault ¶
func NewGetServiceDefault(code int) *GetServiceDefault
NewGetServiceDefault creates GetServiceDefault with default headers values
func (*GetServiceDefault) SetPayload ¶
func (o *GetServiceDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get service default response
func (*GetServiceDefault) SetStatusCode ¶
func (o *GetServiceDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get service default response
func (*GetServiceDefault) WithPayload ¶
func (o *GetServiceDefault) WithPayload(payload *models.Error) *GetServiceDefault
WithPayload adds the payload to the get service default response
func (*GetServiceDefault) WithStatusCode ¶
func (o *GetServiceDefault) WithStatusCode(code int) *GetServiceDefault
WithStatusCode adds the status to the get service default response
func (*GetServiceDefault) WriteResponse ¶
func (o *GetServiceDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceHandler ¶
type GetServiceHandler interface {
Handle(GetServiceParams) middleware.Responder
}
GetServiceHandler interface for that can handle valid get service params
type GetServiceHandlerFunc ¶
type GetServiceHandlerFunc func(GetServiceParams) middleware.Responder
GetServiceHandlerFunc turns a function with the right signature into a get service handler
func (GetServiceHandlerFunc) Handle ¶
func (fn GetServiceHandlerFunc) Handle(params GetServiceParams) middleware.Responder
Handle executing the request and returning a response
type GetServiceNotFound ¶
GetServiceNotFound Failed. Service could not be found.
swagger:response getServiceNotFound
func NewGetServiceNotFound ¶
func NewGetServiceNotFound() *GetServiceNotFound
NewGetServiceNotFound creates GetServiceNotFound with default headers values
func (*GetServiceNotFound) SetPayload ¶
func (o *GetServiceNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the get service not found response
func (*GetServiceNotFound) WithPayload ¶
func (o *GetServiceNotFound) WithPayload(payload *models.Error) *GetServiceNotFound
WithPayload adds the payload to the get service not found response
func (*GetServiceNotFound) WriteResponse ¶
func (o *GetServiceNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceOK ¶
type GetServiceOK struct { /* In: Body */ Payload *models.ExpandedServiceWithStageInfo `json:"body,omitempty"` }
GetServiceOK Success
swagger:response getServiceOK
func NewGetServiceOK ¶
func NewGetServiceOK() *GetServiceOK
NewGetServiceOK creates GetServiceOK with default headers values
func (*GetServiceOK) SetPayload ¶
func (o *GetServiceOK) SetPayload(payload *models.ExpandedServiceWithStageInfo)
SetPayload sets the payload to the get service o k response
func (*GetServiceOK) WithPayload ¶
func (o *GetServiceOK) WithPayload(payload *models.ExpandedServiceWithStageInfo) *GetServiceOK
WithPayload adds the payload to the get service o k response
func (*GetServiceOK) WriteResponse ¶
func (o *GetServiceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceParams ¶
type GetServiceParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Name of the project Required: true In: path */ ProjectName string /*Name of the service Required: true In: path */ ServiceName string }
GetServiceParams contains all the bound params for the get service operation typically these are obtained from a http.Request
swagger:parameters get service
func NewGetServiceParams ¶
func NewGetServiceParams() GetServiceParams
NewGetServiceParams creates a new GetServiceParams object no default values defined in spec.
func (*GetServiceParams) BindRequest ¶
func (o *GetServiceParams) 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 NewGetServiceParams() beforehand.
type GetServiceURL ¶
type GetServiceURL struct { ProjectName string ServiceName string // contains filtered or unexported fields }
GetServiceURL generates an URL for the get service operation
func (*GetServiceURL) Build ¶
func (o *GetServiceURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetServiceURL) BuildFull ¶
func (o *GetServiceURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetServiceURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetServiceURL) SetBasePath ¶
func (o *GetServiceURL) 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 (*GetServiceURL) String ¶
func (o *GetServiceURL) String() string
String returns the string representation of the path with query string
func (*GetServiceURL) StringFull ¶
func (o *GetServiceURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetServiceURL) WithBasePath ¶
func (o *GetServiceURL) WithBasePath(bp string) *GetServiceURL
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 GetServices ¶
type GetServices struct { Context *middleware.Context Handler GetServicesHandler }
GetServices swagger:route GET /project/{projectName}/service Services getServices
GetServices get services API
func NewGetServices ¶
func NewGetServices(ctx *middleware.Context, handler GetServicesHandler) *GetServices
NewGetServices creates a new http.Handler for the get services operation
func (*GetServices) ServeHTTP ¶
func (o *GetServices) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetServicesDefault ¶
type GetServicesDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetServicesDefault Error
swagger:response getServicesDefault
func NewGetServicesDefault ¶
func NewGetServicesDefault(code int) *GetServicesDefault
NewGetServicesDefault creates GetServicesDefault with default headers values
func (*GetServicesDefault) SetPayload ¶
func (o *GetServicesDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get services default response
func (*GetServicesDefault) SetStatusCode ¶
func (o *GetServicesDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get services default response
func (*GetServicesDefault) WithPayload ¶
func (o *GetServicesDefault) WithPayload(payload *models.Error) *GetServicesDefault
WithPayload adds the payload to the get services default response
func (*GetServicesDefault) WithStatusCode ¶
func (o *GetServicesDefault) WithStatusCode(code int) *GetServicesDefault
WithStatusCode adds the status to the get services default response
func (*GetServicesDefault) WriteResponse ¶
func (o *GetServicesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServicesHandler ¶
type GetServicesHandler interface {
Handle(GetServicesParams) middleware.Responder
}
GetServicesHandler interface for that can handle valid get services params
type GetServicesHandlerFunc ¶
type GetServicesHandlerFunc func(GetServicesParams) middleware.Responder
GetServicesHandlerFunc turns a function with the right signature into a get services handler
func (GetServicesHandlerFunc) Handle ¶
func (fn GetServicesHandlerFunc) Handle(params GetServicesParams) middleware.Responder
Handle executing the request and returning a response
type GetServicesNotFound ¶
GetServicesNotFound Failed. Containing project could not be found.
swagger:response getServicesNotFound
func NewGetServicesNotFound ¶
func NewGetServicesNotFound() *GetServicesNotFound
NewGetServicesNotFound creates GetServicesNotFound with default headers values
func (*GetServicesNotFound) SetPayload ¶
func (o *GetServicesNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the get services not found response
func (*GetServicesNotFound) WithPayload ¶
func (o *GetServicesNotFound) WithPayload(payload *models.Error) *GetServicesNotFound
WithPayload adds the payload to the get services not found response
func (*GetServicesNotFound) WriteResponse ¶
func (o *GetServicesNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServicesOK ¶
type GetServicesOK struct { /* In: Body */ Payload *models.ServicesWithStageInfo `json:"body,omitempty"` }
GetServicesOK Success
swagger:response getServicesOK
func NewGetServicesOK ¶
func NewGetServicesOK() *GetServicesOK
NewGetServicesOK creates GetServicesOK with default headers values
func (*GetServicesOK) SetPayload ¶
func (o *GetServicesOK) SetPayload(payload *models.ServicesWithStageInfo)
SetPayload sets the payload to the get services o k response
func (*GetServicesOK) WithPayload ¶
func (o *GetServicesOK) WithPayload(payload *models.ServicesWithStageInfo) *GetServicesOK
WithPayload adds the payload to the get services o k response
func (*GetServicesOK) WriteResponse ¶
func (o *GetServicesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServicesParams ¶
type GetServicesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Pointer to the next set of items In: query */ NextPageKey *string /*The number of items to return Maximum: 50 Minimum: 1 In: query Default: 20 */ PageSize *int64 /*Name of the project Required: true In: path */ ProjectName string }
GetServicesParams contains all the bound params for the get services operation typically these are obtained from a http.Request
swagger:parameters get services
func NewGetServicesParams ¶
func NewGetServicesParams() GetServicesParams
NewGetServicesParams creates a new GetServicesParams object with the default values initialized.
func (*GetServicesParams) BindRequest ¶
func (o *GetServicesParams) 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 NewGetServicesParams() beforehand.
type GetServicesURL ¶
type GetServicesURL struct { ProjectName string NextPageKey *string PageSize *int64 // contains filtered or unexported fields }
GetServicesURL generates an URL for the get services operation
func (*GetServicesURL) Build ¶
func (o *GetServicesURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetServicesURL) BuildFull ¶
func (o *GetServicesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetServicesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetServicesURL) SetBasePath ¶
func (o *GetServicesURL) 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 (*GetServicesURL) String ¶
func (o *GetServicesURL) String() string
String returns the string representation of the path with query string
func (*GetServicesURL) StringFull ¶
func (o *GetServicesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetServicesURL) WithBasePath ¶
func (o *GetServicesURL) WithBasePath(bp string) *GetServicesURL
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