Documentation ¶
Index ¶
- Constants
- type GetApplication
- type GetApplicationDefault
- func (o *GetApplicationDefault) SetPayload(payload *models.Error)
- func (o *GetApplicationDefault) SetStatusCode(code int)
- func (o *GetApplicationDefault) WithPayload(payload *models.Error) *GetApplicationDefault
- func (o *GetApplicationDefault) WithStatusCode(code int) *GetApplicationDefault
- func (o *GetApplicationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetApplicationHandler
- type GetApplicationHandlerFunc
- type GetApplicationOK
- type GetApplicationParams
- type GetApplicationURL
- func (o *GetApplicationURL) Build() (*url.URL, error)
- func (o *GetApplicationURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetApplicationURL) Must(u *url.URL, err error) *url.URL
- func (o *GetApplicationURL) SetBasePath(bp string)
- func (o *GetApplicationURL) String() string
- func (o *GetApplicationURL) StringFull(scheme, host string) string
- func (o *GetApplicationURL) WithBasePath(bp string) *GetApplicationURL
- type GetApplicationVersion
- type GetApplicationVersionDefault
- func (o *GetApplicationVersionDefault) SetPayload(payload *models.Error)
- func (o *GetApplicationVersionDefault) SetStatusCode(code int)
- func (o *GetApplicationVersionDefault) WithPayload(payload *models.Error) *GetApplicationVersionDefault
- func (o *GetApplicationVersionDefault) WithStatusCode(code int) *GetApplicationVersionDefault
- func (o *GetApplicationVersionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetApplicationVersionHandler
- type GetApplicationVersionHandlerFunc
- type GetApplicationVersionOK
- type GetApplicationVersionParams
- type GetApplicationVersionURL
- func (o *GetApplicationVersionURL) Build() (*url.URL, error)
- func (o *GetApplicationVersionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetApplicationVersionURL) Must(u *url.URL, err error) *url.URL
- func (o *GetApplicationVersionURL) SetBasePath(bp string)
- func (o *GetApplicationVersionURL) String() string
- func (o *GetApplicationVersionURL) StringFull(scheme, host string) string
- func (o *GetApplicationVersionURL) WithBasePath(bp string) *GetApplicationVersionURL
- type GetCoreTypes
- type GetCoreTypesDefault
- func (o *GetCoreTypesDefault) SetPayload(payload *models.Error)
- func (o *GetCoreTypesDefault) SetStatusCode(code int)
- func (o *GetCoreTypesDefault) WithPayload(payload *models.Error) *GetCoreTypesDefault
- func (o *GetCoreTypesDefault) WithStatusCode(code int) *GetCoreTypesDefault
- func (o *GetCoreTypesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetCoreTypesHandler
- type GetCoreTypesHandlerFunc
- type GetCoreTypesOK
- type GetCoreTypesParams
- type GetCoreTypesURL
- func (o *GetCoreTypesURL) Build() (*url.URL, error)
- func (o *GetCoreTypesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetCoreTypesURL) Must(u *url.URL, err error) *url.URL
- func (o *GetCoreTypesURL) SetBasePath(bp string)
- func (o *GetCoreTypesURL) String() string
- func (o *GetCoreTypesURL) StringFull(scheme, host string) string
- func (o *GetCoreTypesURL) WithBasePath(bp string) *GetCoreTypesURL
- type GetRescaleApplication
- type GetRescaleApplicationDefault
- func (o *GetRescaleApplicationDefault) SetPayload(payload *models.Error)
- func (o *GetRescaleApplicationDefault) SetStatusCode(code int)
- func (o *GetRescaleApplicationDefault) WithPayload(payload *models.Error) *GetRescaleApplicationDefault
- func (o *GetRescaleApplicationDefault) WithStatusCode(code int) *GetRescaleApplicationDefault
- func (o *GetRescaleApplicationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetRescaleApplicationHandler
- type GetRescaleApplicationHandlerFunc
- type GetRescaleApplicationOK
- type GetRescaleApplicationParams
- type GetRescaleApplicationURL
- func (o *GetRescaleApplicationURL) Build() (*url.URL, error)
- func (o *GetRescaleApplicationURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetRescaleApplicationURL) Must(u *url.URL, err error) *url.URL
- func (o *GetRescaleApplicationURL) SetBasePath(bp string)
- func (o *GetRescaleApplicationURL) String() string
- func (o *GetRescaleApplicationURL) StringFull(scheme, host string) string
- func (o *GetRescaleApplicationURL) WithBasePath(bp string) *GetRescaleApplicationURL
- type GetRescaleApplicationVersion
- type GetRescaleApplicationVersionDefault
- func (o *GetRescaleApplicationVersionDefault) SetPayload(payload *models.Error)
- func (o *GetRescaleApplicationVersionDefault) SetStatusCode(code int)
- func (o *GetRescaleApplicationVersionDefault) WithPayload(payload *models.Error) *GetRescaleApplicationVersionDefault
- func (o *GetRescaleApplicationVersionDefault) WithStatusCode(code int) *GetRescaleApplicationVersionDefault
- func (o *GetRescaleApplicationVersionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetRescaleApplicationVersionHandler
- type GetRescaleApplicationVersionHandlerFunc
- type GetRescaleApplicationVersionOK
- func (o *GetRescaleApplicationVersionOK) SetPayload(payload *models.RescaleApplicationVersion)
- func (o *GetRescaleApplicationVersionOK) WithPayload(payload *models.RescaleApplicationVersion) *GetRescaleApplicationVersionOK
- func (o *GetRescaleApplicationVersionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetRescaleApplicationVersionParams
- type GetRescaleApplicationVersionURL
- func (o *GetRescaleApplicationVersionURL) Build() (*url.URL, error)
- func (o *GetRescaleApplicationVersionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetRescaleApplicationVersionURL) Must(u *url.URL, err error) *url.URL
- func (o *GetRescaleApplicationVersionURL) SetBasePath(bp string)
- func (o *GetRescaleApplicationVersionURL) String() string
- func (o *GetRescaleApplicationVersionURL) StringFull(scheme, host string) string
- func (o *GetRescaleApplicationVersionURL) WithBasePath(bp string) *GetRescaleApplicationVersionURL
- type GetRescaleCoreTypes
- type GetRescaleCoreTypesDefault
- func (o *GetRescaleCoreTypesDefault) SetPayload(payload *models.Error)
- func (o *GetRescaleCoreTypesDefault) SetStatusCode(code int)
- func (o *GetRescaleCoreTypesDefault) WithPayload(payload *models.Error) *GetRescaleCoreTypesDefault
- func (o *GetRescaleCoreTypesDefault) WithStatusCode(code int) *GetRescaleCoreTypesDefault
- func (o *GetRescaleCoreTypesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetRescaleCoreTypesHandler
- type GetRescaleCoreTypesHandlerFunc
- type GetRescaleCoreTypesOK
- type GetRescaleCoreTypesParams
- type GetRescaleCoreTypesURL
- func (o *GetRescaleCoreTypesURL) Build() (*url.URL, error)
- func (o *GetRescaleCoreTypesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetRescaleCoreTypesURL) Must(u *url.URL, err error) *url.URL
- func (o *GetRescaleCoreTypesURL) SetBasePath(bp string)
- func (o *GetRescaleCoreTypesURL) String() string
- func (o *GetRescaleCoreTypesURL) StringFull(scheme, host string) string
- func (o *GetRescaleCoreTypesURL) WithBasePath(bp string) *GetRescaleCoreTypesURL
Constants ¶
const GetApplicationOKCode int = 200
GetApplicationOKCode is the HTTP code returned for type GetApplicationOK
const GetApplicationVersionOKCode int = 200
GetApplicationVersionOKCode is the HTTP code returned for type GetApplicationVersionOK
const GetCoreTypesOKCode int = 200
GetCoreTypesOKCode is the HTTP code returned for type GetCoreTypesOK
const GetRescaleApplicationOKCode int = 200
GetRescaleApplicationOKCode is the HTTP code returned for type GetRescaleApplicationOK
const GetRescaleApplicationVersionOKCode int = 200
GetRescaleApplicationVersionOKCode is the HTTP code returned for type GetRescaleApplicationVersionOK
const GetRescaleCoreTypesOKCode int = 200
GetRescaleCoreTypesOKCode is the HTTP code returned for type GetRescaleCoreTypesOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetApplication ¶
type GetApplication struct { Context *middleware.Context Handler GetApplicationHandler }
GetApplication swagger:route GET /applications/{code}/ rescale getApplication
returns a Rescale application
func NewGetApplication ¶
func NewGetApplication(ctx *middleware.Context, handler GetApplicationHandler) *GetApplication
NewGetApplication creates a new http.Handler for the get application operation
func (*GetApplication) ServeHTTP ¶
func (o *GetApplication) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetApplicationDefault ¶
type GetApplicationDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetApplicationDefault Unexpected error
swagger:response getApplicationDefault
func NewGetApplicationDefault ¶
func NewGetApplicationDefault(code int) *GetApplicationDefault
NewGetApplicationDefault creates GetApplicationDefault with default headers values
func (*GetApplicationDefault) SetPayload ¶
func (o *GetApplicationDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get application default response
func (*GetApplicationDefault) SetStatusCode ¶
func (o *GetApplicationDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get application default response
func (*GetApplicationDefault) WithPayload ¶
func (o *GetApplicationDefault) WithPayload(payload *models.Error) *GetApplicationDefault
WithPayload adds the payload to the get application default response
func (*GetApplicationDefault) WithStatusCode ¶
func (o *GetApplicationDefault) WithStatusCode(code int) *GetApplicationDefault
WithStatusCode adds the status to the get application default response
func (*GetApplicationDefault) WriteResponse ¶
func (o *GetApplicationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetApplicationHandler ¶
type GetApplicationHandler interface {
Handle(GetApplicationParams, *auth.Principal) middleware.Responder
}
GetApplicationHandler interface for that can handle valid get application params
type GetApplicationHandlerFunc ¶
type GetApplicationHandlerFunc func(GetApplicationParams, *auth.Principal) middleware.Responder
GetApplicationHandlerFunc turns a function with the right signature into a get application handler
func (GetApplicationHandlerFunc) Handle ¶
func (fn GetApplicationHandlerFunc) Handle(params GetApplicationParams, principal *auth.Principal) middleware.Responder
Handle executing the request and returning a response
type GetApplicationOK ¶
type GetApplicationOK struct { /* In: Body */ Payload *models.Application `json:"body,omitempty"` }
GetApplicationOK OK
swagger:response getApplicationOK
func NewGetApplicationOK ¶
func NewGetApplicationOK() *GetApplicationOK
NewGetApplicationOK creates GetApplicationOK with default headers values
func (*GetApplicationOK) SetPayload ¶
func (o *GetApplicationOK) SetPayload(payload *models.Application)
SetPayload sets the payload to the get application o k response
func (*GetApplicationOK) WithPayload ¶
func (o *GetApplicationOK) WithPayload(payload *models.Application) *GetApplicationOK
WithPayload adds the payload to the get application o k response
func (*GetApplicationOK) WriteResponse ¶
func (o *GetApplicationOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetApplicationParams ¶
type GetApplicationParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*application code Required: true In: path */ Code string }
GetApplicationParams contains all the bound params for the get application operation typically these are obtained from a http.Request
swagger:parameters getApplication
func NewGetApplicationParams ¶
func NewGetApplicationParams() GetApplicationParams
NewGetApplicationParams creates a new GetApplicationParams object no default values defined in spec.
func (*GetApplicationParams) BindRequest ¶
func (o *GetApplicationParams) 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 NewGetApplicationParams() beforehand.
type GetApplicationURL ¶
type GetApplicationURL struct { Code string // contains filtered or unexported fields }
GetApplicationURL generates an URL for the get application operation
func (*GetApplicationURL) Build ¶
func (o *GetApplicationURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetApplicationURL) BuildFull ¶
func (o *GetApplicationURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetApplicationURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetApplicationURL) SetBasePath ¶
func (o *GetApplicationURL) 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 (*GetApplicationURL) String ¶
func (o *GetApplicationURL) String() string
String returns the string representation of the path with query string
func (*GetApplicationURL) StringFull ¶
func (o *GetApplicationURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetApplicationURL) WithBasePath ¶
func (o *GetApplicationURL) WithBasePath(bp string) *GetApplicationURL
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 GetApplicationVersion ¶
type GetApplicationVersion struct { Context *middleware.Context Handler GetApplicationVersionHandler }
GetApplicationVersion swagger:route GET /applications/{code}/{version}/ rescale getApplicationVersion
returns version information of a specified Rescale application
func NewGetApplicationVersion ¶
func NewGetApplicationVersion(ctx *middleware.Context, handler GetApplicationVersionHandler) *GetApplicationVersion
NewGetApplicationVersion creates a new http.Handler for the get application version operation
func (*GetApplicationVersion) ServeHTTP ¶
func (o *GetApplicationVersion) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetApplicationVersionDefault ¶
type GetApplicationVersionDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetApplicationVersionDefault Unexpected error
swagger:response getApplicationVersionDefault
func NewGetApplicationVersionDefault ¶
func NewGetApplicationVersionDefault(code int) *GetApplicationVersionDefault
NewGetApplicationVersionDefault creates GetApplicationVersionDefault with default headers values
func (*GetApplicationVersionDefault) SetPayload ¶
func (o *GetApplicationVersionDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get application version default response
func (*GetApplicationVersionDefault) SetStatusCode ¶
func (o *GetApplicationVersionDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get application version default response
func (*GetApplicationVersionDefault) WithPayload ¶
func (o *GetApplicationVersionDefault) WithPayload(payload *models.Error) *GetApplicationVersionDefault
WithPayload adds the payload to the get application version default response
func (*GetApplicationVersionDefault) WithStatusCode ¶
func (o *GetApplicationVersionDefault) WithStatusCode(code int) *GetApplicationVersionDefault
WithStatusCode adds the status to the get application version default response
func (*GetApplicationVersionDefault) WriteResponse ¶
func (o *GetApplicationVersionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetApplicationVersionHandler ¶
type GetApplicationVersionHandler interface {
Handle(GetApplicationVersionParams, *auth.Principal) middleware.Responder
}
GetApplicationVersionHandler interface for that can handle valid get application version params
type GetApplicationVersionHandlerFunc ¶
type GetApplicationVersionHandlerFunc func(GetApplicationVersionParams, *auth.Principal) middleware.Responder
GetApplicationVersionHandlerFunc turns a function with the right signature into a get application version handler
func (GetApplicationVersionHandlerFunc) Handle ¶
func (fn GetApplicationVersionHandlerFunc) Handle(params GetApplicationVersionParams, principal *auth.Principal) middleware.Responder
Handle executing the request and returning a response
type GetApplicationVersionOK ¶
type GetApplicationVersionOK struct { /* In: Body */ Payload *models.ApplicationVersion `json:"body,omitempty"` }
GetApplicationVersionOK OK
swagger:response getApplicationVersionOK
func NewGetApplicationVersionOK ¶
func NewGetApplicationVersionOK() *GetApplicationVersionOK
NewGetApplicationVersionOK creates GetApplicationVersionOK with default headers values
func (*GetApplicationVersionOK) SetPayload ¶
func (o *GetApplicationVersionOK) SetPayload(payload *models.ApplicationVersion)
SetPayload sets the payload to the get application version o k response
func (*GetApplicationVersionOK) WithPayload ¶
func (o *GetApplicationVersionOK) WithPayload(payload *models.ApplicationVersion) *GetApplicationVersionOK
WithPayload adds the payload to the get application version o k response
func (*GetApplicationVersionOK) WriteResponse ¶
func (o *GetApplicationVersionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetApplicationVersionParams ¶
type GetApplicationVersionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*application code Required: true In: path */ Code string /*application version Required: true In: path */ Version string }
GetApplicationVersionParams contains all the bound params for the get application version operation typically these are obtained from a http.Request
swagger:parameters getApplicationVersion
func NewGetApplicationVersionParams ¶
func NewGetApplicationVersionParams() GetApplicationVersionParams
NewGetApplicationVersionParams creates a new GetApplicationVersionParams object no default values defined in spec.
func (*GetApplicationVersionParams) BindRequest ¶
func (o *GetApplicationVersionParams) 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 NewGetApplicationVersionParams() beforehand.
type GetApplicationVersionURL ¶
type GetApplicationVersionURL struct { Code string Version string // contains filtered or unexported fields }
GetApplicationVersionURL generates an URL for the get application version operation
func (*GetApplicationVersionURL) Build ¶
func (o *GetApplicationVersionURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetApplicationVersionURL) BuildFull ¶
func (o *GetApplicationVersionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetApplicationVersionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetApplicationVersionURL) SetBasePath ¶
func (o *GetApplicationVersionURL) 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 (*GetApplicationVersionURL) String ¶
func (o *GetApplicationVersionURL) String() string
String returns the string representation of the path with query string
func (*GetApplicationVersionURL) StringFull ¶
func (o *GetApplicationVersionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetApplicationVersionURL) WithBasePath ¶
func (o *GetApplicationVersionURL) WithBasePath(bp string) *GetApplicationVersionURL
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 GetCoreTypes ¶
type GetCoreTypes struct { Context *middleware.Context Handler GetCoreTypesHandler }
GetCoreTypes swagger:route GET /coretypes rescale getCoreTypes
returns Rescale CoreTypes
func NewGetCoreTypes ¶
func NewGetCoreTypes(ctx *middleware.Context, handler GetCoreTypesHandler) *GetCoreTypes
NewGetCoreTypes creates a new http.Handler for the get core types operation
func (*GetCoreTypes) ServeHTTP ¶
func (o *GetCoreTypes) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetCoreTypesDefault ¶
type GetCoreTypesDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetCoreTypesDefault Unexpected error
swagger:response getCoreTypesDefault
func NewGetCoreTypesDefault ¶
func NewGetCoreTypesDefault(code int) *GetCoreTypesDefault
NewGetCoreTypesDefault creates GetCoreTypesDefault with default headers values
func (*GetCoreTypesDefault) SetPayload ¶
func (o *GetCoreTypesDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get core types default response
func (*GetCoreTypesDefault) SetStatusCode ¶
func (o *GetCoreTypesDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get core types default response
func (*GetCoreTypesDefault) WithPayload ¶
func (o *GetCoreTypesDefault) WithPayload(payload *models.Error) *GetCoreTypesDefault
WithPayload adds the payload to the get core types default response
func (*GetCoreTypesDefault) WithStatusCode ¶
func (o *GetCoreTypesDefault) WithStatusCode(code int) *GetCoreTypesDefault
WithStatusCode adds the status to the get core types default response
func (*GetCoreTypesDefault) WriteResponse ¶
func (o *GetCoreTypesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetCoreTypesHandler ¶
type GetCoreTypesHandler interface {
Handle(GetCoreTypesParams, *auth.Principal) middleware.Responder
}
GetCoreTypesHandler interface for that can handle valid get core types params
type GetCoreTypesHandlerFunc ¶
type GetCoreTypesHandlerFunc func(GetCoreTypesParams, *auth.Principal) middleware.Responder
GetCoreTypesHandlerFunc turns a function with the right signature into a get core types handler
func (GetCoreTypesHandlerFunc) Handle ¶
func (fn GetCoreTypesHandlerFunc) Handle(params GetCoreTypesParams, principal *auth.Principal) middleware.Responder
Handle executing the request and returning a response
type GetCoreTypesOK ¶
GetCoreTypesOK OK
swagger:response getCoreTypesOK
func NewGetCoreTypesOK ¶
func NewGetCoreTypesOK() *GetCoreTypesOK
NewGetCoreTypesOK creates GetCoreTypesOK with default headers values
func (*GetCoreTypesOK) SetPayload ¶
func (o *GetCoreTypesOK) SetPayload(payload []*models.CoreType)
SetPayload sets the payload to the get core types o k response
func (*GetCoreTypesOK) WithPayload ¶
func (o *GetCoreTypesOK) WithPayload(payload []*models.CoreType) *GetCoreTypesOK
WithPayload adds the payload to the get core types o k response
func (*GetCoreTypesOK) WriteResponse ¶
func (o *GetCoreTypesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetCoreTypesParams ¶
type GetCoreTypesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Application version In: query */ AppVer *string /*Required number of GPUs In: query */ MinGpus *int64 }
GetCoreTypesParams contains all the bound params for the get core types operation typically these are obtained from a http.Request
swagger:parameters getCoreTypes
func NewGetCoreTypesParams ¶
func NewGetCoreTypesParams() GetCoreTypesParams
NewGetCoreTypesParams creates a new GetCoreTypesParams object no default values defined in spec.
func (*GetCoreTypesParams) BindRequest ¶
func (o *GetCoreTypesParams) 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 NewGetCoreTypesParams() beforehand.
type GetCoreTypesURL ¶
type GetCoreTypesURL struct { AppVer *string MinGpus *int64 // contains filtered or unexported fields }
GetCoreTypesURL generates an URL for the get core types operation
func (*GetCoreTypesURL) Build ¶
func (o *GetCoreTypesURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetCoreTypesURL) BuildFull ¶
func (o *GetCoreTypesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetCoreTypesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetCoreTypesURL) SetBasePath ¶
func (o *GetCoreTypesURL) 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 (*GetCoreTypesURL) String ¶
func (o *GetCoreTypesURL) String() string
String returns the string representation of the path with query string
func (*GetCoreTypesURL) StringFull ¶
func (o *GetCoreTypesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetCoreTypesURL) WithBasePath ¶
func (o *GetCoreTypesURL) WithBasePath(bp string) *GetCoreTypesURL
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 GetRescaleApplication ¶
type GetRescaleApplication struct { Context *middleware.Context Handler GetRescaleApplicationHandler }
GetRescaleApplication swagger:route GET /rescale/applications/{code}/ rescale getRescaleApplication
returns a Rescale application
func NewGetRescaleApplication ¶
func NewGetRescaleApplication(ctx *middleware.Context, handler GetRescaleApplicationHandler) *GetRescaleApplication
NewGetRescaleApplication creates a new http.Handler for the get rescale application operation
func (*GetRescaleApplication) ServeHTTP ¶
func (o *GetRescaleApplication) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetRescaleApplicationDefault ¶
type GetRescaleApplicationDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetRescaleApplicationDefault Unexpected error
swagger:response getRescaleApplicationDefault
func NewGetRescaleApplicationDefault ¶
func NewGetRescaleApplicationDefault(code int) *GetRescaleApplicationDefault
NewGetRescaleApplicationDefault creates GetRescaleApplicationDefault with default headers values
func (*GetRescaleApplicationDefault) SetPayload ¶
func (o *GetRescaleApplicationDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get rescale application default response
func (*GetRescaleApplicationDefault) SetStatusCode ¶
func (o *GetRescaleApplicationDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get rescale application default response
func (*GetRescaleApplicationDefault) WithPayload ¶
func (o *GetRescaleApplicationDefault) WithPayload(payload *models.Error) *GetRescaleApplicationDefault
WithPayload adds the payload to the get rescale application default response
func (*GetRescaleApplicationDefault) WithStatusCode ¶
func (o *GetRescaleApplicationDefault) WithStatusCode(code int) *GetRescaleApplicationDefault
WithStatusCode adds the status to the get rescale application default response
func (*GetRescaleApplicationDefault) WriteResponse ¶
func (o *GetRescaleApplicationDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRescaleApplicationHandler ¶
type GetRescaleApplicationHandler interface {
Handle(GetRescaleApplicationParams, *auth.Principal) middleware.Responder
}
GetRescaleApplicationHandler interface for that can handle valid get rescale application params
type GetRescaleApplicationHandlerFunc ¶
type GetRescaleApplicationHandlerFunc func(GetRescaleApplicationParams, *auth.Principal) middleware.Responder
GetRescaleApplicationHandlerFunc turns a function with the right signature into a get rescale application handler
func (GetRescaleApplicationHandlerFunc) Handle ¶
func (fn GetRescaleApplicationHandlerFunc) Handle(params GetRescaleApplicationParams, principal *auth.Principal) middleware.Responder
Handle executing the request and returning a response
type GetRescaleApplicationOK ¶
type GetRescaleApplicationOK struct { /* In: Body */ Payload *models.RescaleApplication `json:"body,omitempty"` }
GetRescaleApplicationOK OK
swagger:response getRescaleApplicationOK
func NewGetRescaleApplicationOK ¶
func NewGetRescaleApplicationOK() *GetRescaleApplicationOK
NewGetRescaleApplicationOK creates GetRescaleApplicationOK with default headers values
func (*GetRescaleApplicationOK) SetPayload ¶
func (o *GetRescaleApplicationOK) SetPayload(payload *models.RescaleApplication)
SetPayload sets the payload to the get rescale application o k response
func (*GetRescaleApplicationOK) WithPayload ¶
func (o *GetRescaleApplicationOK) WithPayload(payload *models.RescaleApplication) *GetRescaleApplicationOK
WithPayload adds the payload to the get rescale application o k response
func (*GetRescaleApplicationOK) WriteResponse ¶
func (o *GetRescaleApplicationOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRescaleApplicationParams ¶
type GetRescaleApplicationParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*application code Required: true In: path */ Code string }
GetRescaleApplicationParams contains all the bound params for the get rescale application operation typically these are obtained from a http.Request
swagger:parameters getRescaleApplication
func NewGetRescaleApplicationParams ¶
func NewGetRescaleApplicationParams() GetRescaleApplicationParams
NewGetRescaleApplicationParams creates a new GetRescaleApplicationParams object no default values defined in spec.
func (*GetRescaleApplicationParams) BindRequest ¶
func (o *GetRescaleApplicationParams) 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 NewGetRescaleApplicationParams() beforehand.
type GetRescaleApplicationURL ¶
type GetRescaleApplicationURL struct { Code string // contains filtered or unexported fields }
GetRescaleApplicationURL generates an URL for the get rescale application operation
func (*GetRescaleApplicationURL) Build ¶
func (o *GetRescaleApplicationURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetRescaleApplicationURL) BuildFull ¶
func (o *GetRescaleApplicationURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetRescaleApplicationURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetRescaleApplicationURL) SetBasePath ¶
func (o *GetRescaleApplicationURL) 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 (*GetRescaleApplicationURL) String ¶
func (o *GetRescaleApplicationURL) String() string
String returns the string representation of the path with query string
func (*GetRescaleApplicationURL) StringFull ¶
func (o *GetRescaleApplicationURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetRescaleApplicationURL) WithBasePath ¶
func (o *GetRescaleApplicationURL) WithBasePath(bp string) *GetRescaleApplicationURL
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 GetRescaleApplicationVersion ¶
type GetRescaleApplicationVersion struct { Context *middleware.Context Handler GetRescaleApplicationVersionHandler }
GetRescaleApplicationVersion swagger:route GET /rescale/applications/{code}/{version}/ rescale getRescaleApplicationVersion
returns version information of a specified Rescale application
func NewGetRescaleApplicationVersion ¶
func NewGetRescaleApplicationVersion(ctx *middleware.Context, handler GetRescaleApplicationVersionHandler) *GetRescaleApplicationVersion
NewGetRescaleApplicationVersion creates a new http.Handler for the get rescale application version operation
func (*GetRescaleApplicationVersion) ServeHTTP ¶
func (o *GetRescaleApplicationVersion) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetRescaleApplicationVersionDefault ¶
type GetRescaleApplicationVersionDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetRescaleApplicationVersionDefault Unexpected error
swagger:response getRescaleApplicationVersionDefault
func NewGetRescaleApplicationVersionDefault ¶
func NewGetRescaleApplicationVersionDefault(code int) *GetRescaleApplicationVersionDefault
NewGetRescaleApplicationVersionDefault creates GetRescaleApplicationVersionDefault with default headers values
func (*GetRescaleApplicationVersionDefault) SetPayload ¶
func (o *GetRescaleApplicationVersionDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get rescale application version default response
func (*GetRescaleApplicationVersionDefault) SetStatusCode ¶
func (o *GetRescaleApplicationVersionDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get rescale application version default response
func (*GetRescaleApplicationVersionDefault) WithPayload ¶
func (o *GetRescaleApplicationVersionDefault) WithPayload(payload *models.Error) *GetRescaleApplicationVersionDefault
WithPayload adds the payload to the get rescale application version default response
func (*GetRescaleApplicationVersionDefault) WithStatusCode ¶
func (o *GetRescaleApplicationVersionDefault) WithStatusCode(code int) *GetRescaleApplicationVersionDefault
WithStatusCode adds the status to the get rescale application version default response
func (*GetRescaleApplicationVersionDefault) WriteResponse ¶
func (o *GetRescaleApplicationVersionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRescaleApplicationVersionHandler ¶
type GetRescaleApplicationVersionHandler interface {
Handle(GetRescaleApplicationVersionParams, *auth.Principal) middleware.Responder
}
GetRescaleApplicationVersionHandler interface for that can handle valid get rescale application version params
type GetRescaleApplicationVersionHandlerFunc ¶
type GetRescaleApplicationVersionHandlerFunc func(GetRescaleApplicationVersionParams, *auth.Principal) middleware.Responder
GetRescaleApplicationVersionHandlerFunc turns a function with the right signature into a get rescale application version handler
func (GetRescaleApplicationVersionHandlerFunc) Handle ¶
func (fn GetRescaleApplicationVersionHandlerFunc) Handle(params GetRescaleApplicationVersionParams, principal *auth.Principal) middleware.Responder
Handle executing the request and returning a response
type GetRescaleApplicationVersionOK ¶
type GetRescaleApplicationVersionOK struct { /* In: Body */ Payload *models.RescaleApplicationVersion `json:"body,omitempty"` }
GetRescaleApplicationVersionOK OK
swagger:response getRescaleApplicationVersionOK
func NewGetRescaleApplicationVersionOK ¶
func NewGetRescaleApplicationVersionOK() *GetRescaleApplicationVersionOK
NewGetRescaleApplicationVersionOK creates GetRescaleApplicationVersionOK with default headers values
func (*GetRescaleApplicationVersionOK) SetPayload ¶
func (o *GetRescaleApplicationVersionOK) SetPayload(payload *models.RescaleApplicationVersion)
SetPayload sets the payload to the get rescale application version o k response
func (*GetRescaleApplicationVersionOK) WithPayload ¶
func (o *GetRescaleApplicationVersionOK) WithPayload(payload *models.RescaleApplicationVersion) *GetRescaleApplicationVersionOK
WithPayload adds the payload to the get rescale application version o k response
func (*GetRescaleApplicationVersionOK) WriteResponse ¶
func (o *GetRescaleApplicationVersionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRescaleApplicationVersionParams ¶
type GetRescaleApplicationVersionParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Rescale application code Required: true In: path */ Code string /*Rescale application version Required: true In: path */ Version string }
GetRescaleApplicationVersionParams contains all the bound params for the get rescale application version operation typically these are obtained from a http.Request
swagger:parameters getRescaleApplicationVersion
func NewGetRescaleApplicationVersionParams ¶
func NewGetRescaleApplicationVersionParams() GetRescaleApplicationVersionParams
NewGetRescaleApplicationVersionParams creates a new GetRescaleApplicationVersionParams object no default values defined in spec.
func (*GetRescaleApplicationVersionParams) BindRequest ¶
func (o *GetRescaleApplicationVersionParams) 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 NewGetRescaleApplicationVersionParams() beforehand.
type GetRescaleApplicationVersionURL ¶
type GetRescaleApplicationVersionURL struct { Code string Version string // contains filtered or unexported fields }
GetRescaleApplicationVersionURL generates an URL for the get rescale application version operation
func (*GetRescaleApplicationVersionURL) Build ¶
func (o *GetRescaleApplicationVersionURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetRescaleApplicationVersionURL) BuildFull ¶
func (o *GetRescaleApplicationVersionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetRescaleApplicationVersionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetRescaleApplicationVersionURL) SetBasePath ¶
func (o *GetRescaleApplicationVersionURL) 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 (*GetRescaleApplicationVersionURL) String ¶
func (o *GetRescaleApplicationVersionURL) String() string
String returns the string representation of the path with query string
func (*GetRescaleApplicationVersionURL) StringFull ¶
func (o *GetRescaleApplicationVersionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetRescaleApplicationVersionURL) WithBasePath ¶
func (o *GetRescaleApplicationVersionURL) WithBasePath(bp string) *GetRescaleApplicationVersionURL
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 GetRescaleCoreTypes ¶
type GetRescaleCoreTypes struct { Context *middleware.Context Handler GetRescaleCoreTypesHandler }
GetRescaleCoreTypes swagger:route GET /rescale/coretypes rescale getRescaleCoreTypes
returns Rescale CoreTypes
func NewGetRescaleCoreTypes ¶
func NewGetRescaleCoreTypes(ctx *middleware.Context, handler GetRescaleCoreTypesHandler) *GetRescaleCoreTypes
NewGetRescaleCoreTypes creates a new http.Handler for the get rescale core types operation
func (*GetRescaleCoreTypes) ServeHTTP ¶
func (o *GetRescaleCoreTypes) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetRescaleCoreTypesDefault ¶
type GetRescaleCoreTypesDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetRescaleCoreTypesDefault Unexpected error
swagger:response getRescaleCoreTypesDefault
func NewGetRescaleCoreTypesDefault ¶
func NewGetRescaleCoreTypesDefault(code int) *GetRescaleCoreTypesDefault
NewGetRescaleCoreTypesDefault creates GetRescaleCoreTypesDefault with default headers values
func (*GetRescaleCoreTypesDefault) SetPayload ¶
func (o *GetRescaleCoreTypesDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the get rescale core types default response
func (*GetRescaleCoreTypesDefault) SetStatusCode ¶
func (o *GetRescaleCoreTypesDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get rescale core types default response
func (*GetRescaleCoreTypesDefault) WithPayload ¶
func (o *GetRescaleCoreTypesDefault) WithPayload(payload *models.Error) *GetRescaleCoreTypesDefault
WithPayload adds the payload to the get rescale core types default response
func (*GetRescaleCoreTypesDefault) WithStatusCode ¶
func (o *GetRescaleCoreTypesDefault) WithStatusCode(code int) *GetRescaleCoreTypesDefault
WithStatusCode adds the status to the get rescale core types default response
func (*GetRescaleCoreTypesDefault) WriteResponse ¶
func (o *GetRescaleCoreTypesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRescaleCoreTypesHandler ¶
type GetRescaleCoreTypesHandler interface {
Handle(GetRescaleCoreTypesParams, *auth.Principal) middleware.Responder
}
GetRescaleCoreTypesHandler interface for that can handle valid get rescale core types params
type GetRescaleCoreTypesHandlerFunc ¶
type GetRescaleCoreTypesHandlerFunc func(GetRescaleCoreTypesParams, *auth.Principal) middleware.Responder
GetRescaleCoreTypesHandlerFunc turns a function with the right signature into a get rescale core types handler
func (GetRescaleCoreTypesHandlerFunc) Handle ¶
func (fn GetRescaleCoreTypesHandlerFunc) Handle(params GetRescaleCoreTypesParams, principal *auth.Principal) middleware.Responder
Handle executing the request and returning a response
type GetRescaleCoreTypesOK ¶
type GetRescaleCoreTypesOK struct { /* In: Body */ Payload []*models.RescaleCoreType `json:"body,omitempty"` }
GetRescaleCoreTypesOK OK
swagger:response getRescaleCoreTypesOK
func NewGetRescaleCoreTypesOK ¶
func NewGetRescaleCoreTypesOK() *GetRescaleCoreTypesOK
NewGetRescaleCoreTypesOK creates GetRescaleCoreTypesOK with default headers values
func (*GetRescaleCoreTypesOK) SetPayload ¶
func (o *GetRescaleCoreTypesOK) SetPayload(payload []*models.RescaleCoreType)
SetPayload sets the payload to the get rescale core types o k response
func (*GetRescaleCoreTypesOK) WithPayload ¶
func (o *GetRescaleCoreTypesOK) WithPayload(payload []*models.RescaleCoreType) *GetRescaleCoreTypesOK
WithPayload adds the payload to the get rescale core types o k response
func (*GetRescaleCoreTypesOK) WriteResponse ¶
func (o *GetRescaleCoreTypesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetRescaleCoreTypesParams ¶
type GetRescaleCoreTypesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Rescale Application version In: query */ AppVer *string /*Required number of GPUs In: query */ MinGpus *int64 }
GetRescaleCoreTypesParams contains all the bound params for the get rescale core types operation typically these are obtained from a http.Request
swagger:parameters getRescaleCoreTypes
func NewGetRescaleCoreTypesParams ¶
func NewGetRescaleCoreTypesParams() GetRescaleCoreTypesParams
NewGetRescaleCoreTypesParams creates a new GetRescaleCoreTypesParams object no default values defined in spec.
func (*GetRescaleCoreTypesParams) BindRequest ¶
func (o *GetRescaleCoreTypesParams) 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 NewGetRescaleCoreTypesParams() beforehand.
type GetRescaleCoreTypesURL ¶
type GetRescaleCoreTypesURL struct { AppVer *string MinGpus *int64 // contains filtered or unexported fields }
GetRescaleCoreTypesURL generates an URL for the get rescale core types operation
func (*GetRescaleCoreTypesURL) Build ¶
func (o *GetRescaleCoreTypesURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetRescaleCoreTypesURL) BuildFull ¶
func (o *GetRescaleCoreTypesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetRescaleCoreTypesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetRescaleCoreTypesURL) SetBasePath ¶
func (o *GetRescaleCoreTypesURL) 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 (*GetRescaleCoreTypesURL) String ¶
func (o *GetRescaleCoreTypesURL) String() string
String returns the string representation of the path with query string
func (*GetRescaleCoreTypesURL) StringFull ¶
func (o *GetRescaleCoreTypesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetRescaleCoreTypesURL) WithBasePath ¶
func (o *GetRescaleCoreTypesURL) WithBasePath(bp string) *GetRescaleCoreTypesURL
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 ¶
- get_application.go
- get_application_parameters.go
- get_application_responses.go
- get_application_urlbuilder.go
- get_application_version.go
- get_application_version_parameters.go
- get_application_version_responses.go
- get_application_version_urlbuilder.go
- get_core_types.go
- get_core_types_parameters.go
- get_core_types_responses.go
- get_core_types_urlbuilder.go
- get_rescale_application.go
- get_rescale_application_parameters.go
- get_rescale_application_responses.go
- get_rescale_application_urlbuilder.go
- get_rescale_application_version.go
- get_rescale_application_version_parameters.go
- get_rescale_application_version_responses.go
- get_rescale_application_version_urlbuilder.go
- get_rescale_core_types.go
- get_rescale_core_types_parameters.go
- get_rescale_core_types_responses.go
- get_rescale_core_types_urlbuilder.go