Documentation ¶
Index ¶
- Constants
- type GetSysteminfo
- type GetSysteminfoGetcert
- type GetSysteminfoGetcertHandler
- type GetSysteminfoGetcertHandlerFunc
- type GetSysteminfoGetcertInternalServerError
- func (o *GetSysteminfoGetcertInternalServerError) SetPayload(payload *models.Errors)
- func (o *GetSysteminfoGetcertInternalServerError) SetXRequestID(xRequestID string)
- func (o *GetSysteminfoGetcertInternalServerError) WithPayload(payload *models.Errors) *GetSysteminfoGetcertInternalServerError
- func (o *GetSysteminfoGetcertInternalServerError) WithXRequestID(xRequestID string) *GetSysteminfoGetcertInternalServerError
- func (o *GetSysteminfoGetcertInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetSysteminfoGetcertNotFound
- type GetSysteminfoGetcertOK
- func (o *GetSysteminfoGetcertOK) SetContentDisposition(contentDisposition string)
- func (o *GetSysteminfoGetcertOK) SetPayload(payload io.ReadCloser)
- func (o *GetSysteminfoGetcertOK) WithContentDisposition(contentDisposition string) *GetSysteminfoGetcertOK
- func (o *GetSysteminfoGetcertOK) WithPayload(payload io.ReadCloser) *GetSysteminfoGetcertOK
- func (o *GetSysteminfoGetcertOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetSysteminfoGetcertParams
- type GetSysteminfoGetcertURL
- func (o *GetSysteminfoGetcertURL) Build() (*url.URL, error)
- func (o *GetSysteminfoGetcertURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetSysteminfoGetcertURL) Must(u *url.URL, err error) *url.URL
- func (o *GetSysteminfoGetcertURL) SetBasePath(bp string)
- func (o *GetSysteminfoGetcertURL) String() string
- func (o *GetSysteminfoGetcertURL) StringFull(scheme, host string) string
- func (o *GetSysteminfoGetcertURL) WithBasePath(bp string) *GetSysteminfoGetcertURL
- type GetSysteminfoHandler
- type GetSysteminfoHandlerFunc
- type GetSysteminfoInternalServerError
- func (o *GetSysteminfoInternalServerError) SetPayload(payload *models.Errors)
- func (o *GetSysteminfoInternalServerError) SetXRequestID(xRequestID string)
- func (o *GetSysteminfoInternalServerError) WithPayload(payload *models.Errors) *GetSysteminfoInternalServerError
- func (o *GetSysteminfoInternalServerError) WithXRequestID(xRequestID string) *GetSysteminfoInternalServerError
- func (o *GetSysteminfoInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetSysteminfoOK
- type GetSysteminfoParams
- type GetSysteminfoURL
- func (o *GetSysteminfoURL) Build() (*url.URL, error)
- func (o *GetSysteminfoURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetSysteminfoURL) Must(u *url.URL, err error) *url.URL
- func (o *GetSysteminfoURL) SetBasePath(bp string)
- func (o *GetSysteminfoURL) String() string
- func (o *GetSysteminfoURL) StringFull(scheme, host string) string
- func (o *GetSysteminfoURL) WithBasePath(bp string) *GetSysteminfoURL
- type GetSysteminfoVolumes
- type GetSysteminfoVolumesForbidden
- func (o *GetSysteminfoVolumesForbidden) SetPayload(payload *models.Errors)
- func (o *GetSysteminfoVolumesForbidden) SetXRequestID(xRequestID string)
- func (o *GetSysteminfoVolumesForbidden) WithPayload(payload *models.Errors) *GetSysteminfoVolumesForbidden
- func (o *GetSysteminfoVolumesForbidden) WithXRequestID(xRequestID string) *GetSysteminfoVolumesForbidden
- func (o *GetSysteminfoVolumesForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetSysteminfoVolumesHandler
- type GetSysteminfoVolumesHandlerFunc
- type GetSysteminfoVolumesInternalServerError
- func (o *GetSysteminfoVolumesInternalServerError) SetPayload(payload *models.Errors)
- func (o *GetSysteminfoVolumesInternalServerError) SetXRequestID(xRequestID string)
- func (o *GetSysteminfoVolumesInternalServerError) WithPayload(payload *models.Errors) *GetSysteminfoVolumesInternalServerError
- func (o *GetSysteminfoVolumesInternalServerError) WithXRequestID(xRequestID string) *GetSysteminfoVolumesInternalServerError
- func (o *GetSysteminfoVolumesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetSysteminfoVolumesNotFound
- func (o *GetSysteminfoVolumesNotFound) SetPayload(payload *models.Errors)
- func (o *GetSysteminfoVolumesNotFound) SetXRequestID(xRequestID string)
- func (o *GetSysteminfoVolumesNotFound) WithPayload(payload *models.Errors) *GetSysteminfoVolumesNotFound
- func (o *GetSysteminfoVolumesNotFound) WithXRequestID(xRequestID string) *GetSysteminfoVolumesNotFound
- func (o *GetSysteminfoVolumesNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetSysteminfoVolumesOK
- type GetSysteminfoVolumesParams
- type GetSysteminfoVolumesURL
- func (o *GetSysteminfoVolumesURL) Build() (*url.URL, error)
- func (o *GetSysteminfoVolumesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetSysteminfoVolumesURL) Must(u *url.URL, err error) *url.URL
- func (o *GetSysteminfoVolumesURL) SetBasePath(bp string)
- func (o *GetSysteminfoVolumesURL) String() string
- func (o *GetSysteminfoVolumesURL) StringFull(scheme, host string) string
- func (o *GetSysteminfoVolumesURL) WithBasePath(bp string) *GetSysteminfoVolumesURL
- type GetSysteminfoVolumesUnauthorized
- func (o *GetSysteminfoVolumesUnauthorized) SetPayload(payload *models.Errors)
- func (o *GetSysteminfoVolumesUnauthorized) SetXRequestID(xRequestID string)
- func (o *GetSysteminfoVolumesUnauthorized) WithPayload(payload *models.Errors) *GetSysteminfoVolumesUnauthorized
- func (o *GetSysteminfoVolumesUnauthorized) WithXRequestID(xRequestID string) *GetSysteminfoVolumesUnauthorized
- func (o *GetSysteminfoVolumesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const GetSysteminfoGetcertInternalServerErrorCode int = 500
GetSysteminfoGetcertInternalServerErrorCode is the HTTP code returned for type GetSysteminfoGetcertInternalServerError
const GetSysteminfoGetcertNotFoundCode int = 404
GetSysteminfoGetcertNotFoundCode is the HTTP code returned for type GetSysteminfoGetcertNotFound
const GetSysteminfoGetcertOKCode int = 200
GetSysteminfoGetcertOKCode is the HTTP code returned for type GetSysteminfoGetcertOK
const GetSysteminfoInternalServerErrorCode int = 500
GetSysteminfoInternalServerErrorCode is the HTTP code returned for type GetSysteminfoInternalServerError
const GetSysteminfoOKCode int = 200
GetSysteminfoOKCode is the HTTP code returned for type GetSysteminfoOK
const GetSysteminfoVolumesForbiddenCode int = 403
GetSysteminfoVolumesForbiddenCode is the HTTP code returned for type GetSysteminfoVolumesForbidden
const GetSysteminfoVolumesInternalServerErrorCode int = 500
GetSysteminfoVolumesInternalServerErrorCode is the HTTP code returned for type GetSysteminfoVolumesInternalServerError
const GetSysteminfoVolumesNotFoundCode int = 404
GetSysteminfoVolumesNotFoundCode is the HTTP code returned for type GetSysteminfoVolumesNotFound
const GetSysteminfoVolumesOKCode int = 200
GetSysteminfoVolumesOKCode is the HTTP code returned for type GetSysteminfoVolumesOK
GetSysteminfoVolumesUnauthorizedCode is the HTTP code returned for type GetSysteminfoVolumesUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetSysteminfo ¶
type GetSysteminfo struct { Context *middleware.Context Handler GetSysteminfoHandler }
GetSysteminfo swagger:route GET /systeminfo systeminfo getSysteminfo
Get general system info ¶
This API is for retrieving general system info, this can be called by anonymous request. Some attributes will be omitted in the response when this API is called by anonymous request.
func NewGetSysteminfo ¶
func NewGetSysteminfo(ctx *middleware.Context, handler GetSysteminfoHandler) *GetSysteminfo
NewGetSysteminfo creates a new http.Handler for the get systeminfo operation
func (*GetSysteminfo) ServeHTTP ¶
func (o *GetSysteminfo) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetSysteminfoGetcert ¶
type GetSysteminfoGetcert struct { Context *middleware.Context Handler GetSysteminfoGetcertHandler }
GetSysteminfoGetcert swagger:route GET /systeminfo/getcert systeminfo getSysteminfoGetcert
Get default root certificate.
This endpoint is for downloading a default root certificate.
func NewGetSysteminfoGetcert ¶
func NewGetSysteminfoGetcert(ctx *middleware.Context, handler GetSysteminfoGetcertHandler) *GetSysteminfoGetcert
NewGetSysteminfoGetcert creates a new http.Handler for the get systeminfo getcert operation
func (*GetSysteminfoGetcert) ServeHTTP ¶
func (o *GetSysteminfoGetcert) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetSysteminfoGetcertHandler ¶
type GetSysteminfoGetcertHandler interface {
Handle(GetSysteminfoGetcertParams, interface{}) middleware.Responder
}
GetSysteminfoGetcertHandler interface for that can handle valid get systeminfo getcert params
type GetSysteminfoGetcertHandlerFunc ¶
type GetSysteminfoGetcertHandlerFunc func(GetSysteminfoGetcertParams, interface{}) middleware.Responder
GetSysteminfoGetcertHandlerFunc turns a function with the right signature into a get systeminfo getcert handler
func (GetSysteminfoGetcertHandlerFunc) Handle ¶
func (fn GetSysteminfoGetcertHandlerFunc) Handle(params GetSysteminfoGetcertParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetSysteminfoGetcertInternalServerError ¶
type GetSysteminfoGetcertInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
GetSysteminfoGetcertInternalServerError Internal server error
swagger:response getSysteminfoGetcertInternalServerError
func NewGetSysteminfoGetcertInternalServerError ¶
func NewGetSysteminfoGetcertInternalServerError() *GetSysteminfoGetcertInternalServerError
NewGetSysteminfoGetcertInternalServerError creates GetSysteminfoGetcertInternalServerError with default headers values
func (*GetSysteminfoGetcertInternalServerError) SetPayload ¶
func (o *GetSysteminfoGetcertInternalServerError) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get systeminfo getcert internal server error response
func (*GetSysteminfoGetcertInternalServerError) SetXRequestID ¶
func (o *GetSysteminfoGetcertInternalServerError) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get systeminfo getcert internal server error response
func (*GetSysteminfoGetcertInternalServerError) WithPayload ¶
func (o *GetSysteminfoGetcertInternalServerError) WithPayload(payload *models.Errors) *GetSysteminfoGetcertInternalServerError
WithPayload adds the payload to the get systeminfo getcert internal server error response
func (*GetSysteminfoGetcertInternalServerError) WithXRequestID ¶
func (o *GetSysteminfoGetcertInternalServerError) WithXRequestID(xRequestID string) *GetSysteminfoGetcertInternalServerError
WithXRequestID adds the xRequestId to the get systeminfo getcert internal server error response
func (*GetSysteminfoGetcertInternalServerError) WriteResponse ¶
func (o *GetSysteminfoGetcertInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetSysteminfoGetcertNotFound ¶
type GetSysteminfoGetcertNotFound struct { }
GetSysteminfoGetcertNotFound Not found the default root certificate.
swagger:response getSysteminfoGetcertNotFound
func NewGetSysteminfoGetcertNotFound ¶
func NewGetSysteminfoGetcertNotFound() *GetSysteminfoGetcertNotFound
NewGetSysteminfoGetcertNotFound creates GetSysteminfoGetcertNotFound with default headers values
func (*GetSysteminfoGetcertNotFound) WriteResponse ¶
func (o *GetSysteminfoGetcertNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetSysteminfoGetcertOK ¶
type GetSysteminfoGetcertOK struct { /*To set the filename of the downloaded file. */ ContentDisposition string `json:"Content-Disposition"` /* In: Body */ Payload io.ReadCloser `json:"body,omitempty"` }
GetSysteminfoGetcertOK Get default root certificate successfully.
swagger:response getSysteminfoGetcertOK
func NewGetSysteminfoGetcertOK ¶
func NewGetSysteminfoGetcertOK() *GetSysteminfoGetcertOK
NewGetSysteminfoGetcertOK creates GetSysteminfoGetcertOK with default headers values
func (*GetSysteminfoGetcertOK) SetContentDisposition ¶
func (o *GetSysteminfoGetcertOK) SetContentDisposition(contentDisposition string)
SetContentDisposition sets the contentDisposition to the get systeminfo getcert o k response
func (*GetSysteminfoGetcertOK) SetPayload ¶
func (o *GetSysteminfoGetcertOK) SetPayload(payload io.ReadCloser)
SetPayload sets the payload to the get systeminfo getcert o k response
func (*GetSysteminfoGetcertOK) WithContentDisposition ¶
func (o *GetSysteminfoGetcertOK) WithContentDisposition(contentDisposition string) *GetSysteminfoGetcertOK
WithContentDisposition adds the contentDisposition to the get systeminfo getcert o k response
func (*GetSysteminfoGetcertOK) WithPayload ¶
func (o *GetSysteminfoGetcertOK) WithPayload(payload io.ReadCloser) *GetSysteminfoGetcertOK
WithPayload adds the payload to the get systeminfo getcert o k response
func (*GetSysteminfoGetcertOK) WriteResponse ¶
func (o *GetSysteminfoGetcertOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetSysteminfoGetcertParams ¶
type GetSysteminfoGetcertParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetSysteminfoGetcertParams contains all the bound params for the get systeminfo getcert operation typically these are obtained from a http.Request
swagger:parameters GetSysteminfoGetcert
func NewGetSysteminfoGetcertParams ¶
func NewGetSysteminfoGetcertParams() GetSysteminfoGetcertParams
NewGetSysteminfoGetcertParams creates a new GetSysteminfoGetcertParams object no default values defined in spec.
func (*GetSysteminfoGetcertParams) BindRequest ¶
func (o *GetSysteminfoGetcertParams) 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 NewGetSysteminfoGetcertParams() beforehand.
type GetSysteminfoGetcertURL ¶
type GetSysteminfoGetcertURL struct {
// contains filtered or unexported fields
}
GetSysteminfoGetcertURL generates an URL for the get systeminfo getcert operation
func (*GetSysteminfoGetcertURL) Build ¶
func (o *GetSysteminfoGetcertURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetSysteminfoGetcertURL) BuildFull ¶
func (o *GetSysteminfoGetcertURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetSysteminfoGetcertURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetSysteminfoGetcertURL) SetBasePath ¶
func (o *GetSysteminfoGetcertURL) 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 (*GetSysteminfoGetcertURL) String ¶
func (o *GetSysteminfoGetcertURL) String() string
String returns the string representation of the path with query string
func (*GetSysteminfoGetcertURL) StringFull ¶
func (o *GetSysteminfoGetcertURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetSysteminfoGetcertURL) WithBasePath ¶
func (o *GetSysteminfoGetcertURL) WithBasePath(bp string) *GetSysteminfoGetcertURL
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 GetSysteminfoHandler ¶
type GetSysteminfoHandler interface {
Handle(GetSysteminfoParams, interface{}) middleware.Responder
}
GetSysteminfoHandler interface for that can handle valid get systeminfo params
type GetSysteminfoHandlerFunc ¶
type GetSysteminfoHandlerFunc func(GetSysteminfoParams, interface{}) middleware.Responder
GetSysteminfoHandlerFunc turns a function with the right signature into a get systeminfo handler
func (GetSysteminfoHandlerFunc) Handle ¶
func (fn GetSysteminfoHandlerFunc) Handle(params GetSysteminfoParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetSysteminfoInternalServerError ¶
type GetSysteminfoInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
GetSysteminfoInternalServerError Internal server error
swagger:response getSysteminfoInternalServerError
func NewGetSysteminfoInternalServerError ¶
func NewGetSysteminfoInternalServerError() *GetSysteminfoInternalServerError
NewGetSysteminfoInternalServerError creates GetSysteminfoInternalServerError with default headers values
func (*GetSysteminfoInternalServerError) SetPayload ¶
func (o *GetSysteminfoInternalServerError) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get systeminfo internal server error response
func (*GetSysteminfoInternalServerError) SetXRequestID ¶
func (o *GetSysteminfoInternalServerError) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get systeminfo internal server error response
func (*GetSysteminfoInternalServerError) WithPayload ¶
func (o *GetSysteminfoInternalServerError) WithPayload(payload *models.Errors) *GetSysteminfoInternalServerError
WithPayload adds the payload to the get systeminfo internal server error response
func (*GetSysteminfoInternalServerError) WithXRequestID ¶
func (o *GetSysteminfoInternalServerError) WithXRequestID(xRequestID string) *GetSysteminfoInternalServerError
WithXRequestID adds the xRequestId to the get systeminfo internal server error response
func (*GetSysteminfoInternalServerError) WriteResponse ¶
func (o *GetSysteminfoInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetSysteminfoOK ¶
type GetSysteminfoOK struct { /* In: Body */ Payload *models.GeneralInfo `json:"body,omitempty"` }
GetSysteminfoOK Get general info successfully.
swagger:response getSysteminfoOK
func NewGetSysteminfoOK ¶
func NewGetSysteminfoOK() *GetSysteminfoOK
NewGetSysteminfoOK creates GetSysteminfoOK with default headers values
func (*GetSysteminfoOK) SetPayload ¶
func (o *GetSysteminfoOK) SetPayload(payload *models.GeneralInfo)
SetPayload sets the payload to the get systeminfo o k response
func (*GetSysteminfoOK) WithPayload ¶
func (o *GetSysteminfoOK) WithPayload(payload *models.GeneralInfo) *GetSysteminfoOK
WithPayload adds the payload to the get systeminfo o k response
func (*GetSysteminfoOK) WriteResponse ¶
func (o *GetSysteminfoOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetSysteminfoParams ¶
GetSysteminfoParams contains all the bound params for the get systeminfo operation typically these are obtained from a http.Request
swagger:parameters GetSysteminfo
func NewGetSysteminfoParams ¶
func NewGetSysteminfoParams() GetSysteminfoParams
NewGetSysteminfoParams creates a new GetSysteminfoParams object no default values defined in spec.
func (*GetSysteminfoParams) BindRequest ¶
func (o *GetSysteminfoParams) 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 NewGetSysteminfoParams() beforehand.
type GetSysteminfoURL ¶
type GetSysteminfoURL struct {
// contains filtered or unexported fields
}
GetSysteminfoURL generates an URL for the get systeminfo operation
func (*GetSysteminfoURL) Build ¶
func (o *GetSysteminfoURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetSysteminfoURL) BuildFull ¶
func (o *GetSysteminfoURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetSysteminfoURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetSysteminfoURL) SetBasePath ¶
func (o *GetSysteminfoURL) 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 (*GetSysteminfoURL) String ¶
func (o *GetSysteminfoURL) String() string
String returns the string representation of the path with query string
func (*GetSysteminfoURL) StringFull ¶
func (o *GetSysteminfoURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetSysteminfoURL) WithBasePath ¶
func (o *GetSysteminfoURL) WithBasePath(bp string) *GetSysteminfoURL
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 GetSysteminfoVolumes ¶
type GetSysteminfoVolumes struct { Context *middleware.Context Handler GetSysteminfoVolumesHandler }
GetSysteminfoVolumes swagger:route GET /systeminfo/volumes systeminfo getSysteminfoVolumes
Get system volume info (total/free size).
This endpoint is for retrieving system volume info that only provides for admin user. Note that the response only reflects the storage status of local disk.
func NewGetSysteminfoVolumes ¶
func NewGetSysteminfoVolumes(ctx *middleware.Context, handler GetSysteminfoVolumesHandler) *GetSysteminfoVolumes
NewGetSysteminfoVolumes creates a new http.Handler for the get systeminfo volumes operation
func (*GetSysteminfoVolumes) ServeHTTP ¶
func (o *GetSysteminfoVolumes) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetSysteminfoVolumesForbidden ¶
type GetSysteminfoVolumesForbidden struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
GetSysteminfoVolumesForbidden Forbidden
swagger:response getSysteminfoVolumesForbidden
func NewGetSysteminfoVolumesForbidden ¶
func NewGetSysteminfoVolumesForbidden() *GetSysteminfoVolumesForbidden
NewGetSysteminfoVolumesForbidden creates GetSysteminfoVolumesForbidden with default headers values
func (*GetSysteminfoVolumesForbidden) SetPayload ¶
func (o *GetSysteminfoVolumesForbidden) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get systeminfo volumes forbidden response
func (*GetSysteminfoVolumesForbidden) SetXRequestID ¶
func (o *GetSysteminfoVolumesForbidden) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get systeminfo volumes forbidden response
func (*GetSysteminfoVolumesForbidden) WithPayload ¶
func (o *GetSysteminfoVolumesForbidden) WithPayload(payload *models.Errors) *GetSysteminfoVolumesForbidden
WithPayload adds the payload to the get systeminfo volumes forbidden response
func (*GetSysteminfoVolumesForbidden) WithXRequestID ¶
func (o *GetSysteminfoVolumesForbidden) WithXRequestID(xRequestID string) *GetSysteminfoVolumesForbidden
WithXRequestID adds the xRequestId to the get systeminfo volumes forbidden response
func (*GetSysteminfoVolumesForbidden) WriteResponse ¶
func (o *GetSysteminfoVolumesForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetSysteminfoVolumesHandler ¶
type GetSysteminfoVolumesHandler interface {
Handle(GetSysteminfoVolumesParams, interface{}) middleware.Responder
}
GetSysteminfoVolumesHandler interface for that can handle valid get systeminfo volumes params
type GetSysteminfoVolumesHandlerFunc ¶
type GetSysteminfoVolumesHandlerFunc func(GetSysteminfoVolumesParams, interface{}) middleware.Responder
GetSysteminfoVolumesHandlerFunc turns a function with the right signature into a get systeminfo volumes handler
func (GetSysteminfoVolumesHandlerFunc) Handle ¶
func (fn GetSysteminfoVolumesHandlerFunc) Handle(params GetSysteminfoVolumesParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetSysteminfoVolumesInternalServerError ¶
type GetSysteminfoVolumesInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
GetSysteminfoVolumesInternalServerError Internal server error
swagger:response getSysteminfoVolumesInternalServerError
func NewGetSysteminfoVolumesInternalServerError ¶
func NewGetSysteminfoVolumesInternalServerError() *GetSysteminfoVolumesInternalServerError
NewGetSysteminfoVolumesInternalServerError creates GetSysteminfoVolumesInternalServerError with default headers values
func (*GetSysteminfoVolumesInternalServerError) SetPayload ¶
func (o *GetSysteminfoVolumesInternalServerError) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get systeminfo volumes internal server error response
func (*GetSysteminfoVolumesInternalServerError) SetXRequestID ¶
func (o *GetSysteminfoVolumesInternalServerError) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get systeminfo volumes internal server error response
func (*GetSysteminfoVolumesInternalServerError) WithPayload ¶
func (o *GetSysteminfoVolumesInternalServerError) WithPayload(payload *models.Errors) *GetSysteminfoVolumesInternalServerError
WithPayload adds the payload to the get systeminfo volumes internal server error response
func (*GetSysteminfoVolumesInternalServerError) WithXRequestID ¶
func (o *GetSysteminfoVolumesInternalServerError) WithXRequestID(xRequestID string) *GetSysteminfoVolumesInternalServerError
WithXRequestID adds the xRequestId to the get systeminfo volumes internal server error response
func (*GetSysteminfoVolumesInternalServerError) WriteResponse ¶
func (o *GetSysteminfoVolumesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetSysteminfoVolumesNotFound ¶
type GetSysteminfoVolumesNotFound struct { /*The ID of the corresponding request for the response */ XRequestID string `json:"X-Request-Id"` /* In: Body */ Payload *models.Errors `json:"body,omitempty"` }
GetSysteminfoVolumesNotFound Not found
swagger:response getSysteminfoVolumesNotFound
func NewGetSysteminfoVolumesNotFound ¶
func NewGetSysteminfoVolumesNotFound() *GetSysteminfoVolumesNotFound
NewGetSysteminfoVolumesNotFound creates GetSysteminfoVolumesNotFound with default headers values
func (*GetSysteminfoVolumesNotFound) SetPayload ¶
func (o *GetSysteminfoVolumesNotFound) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get systeminfo volumes not found response
func (*GetSysteminfoVolumesNotFound) SetXRequestID ¶
func (o *GetSysteminfoVolumesNotFound) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get systeminfo volumes not found response
func (*GetSysteminfoVolumesNotFound) WithPayload ¶
func (o *GetSysteminfoVolumesNotFound) WithPayload(payload *models.Errors) *GetSysteminfoVolumesNotFound
WithPayload adds the payload to the get systeminfo volumes not found response
func (*GetSysteminfoVolumesNotFound) WithXRequestID ¶
func (o *GetSysteminfoVolumesNotFound) WithXRequestID(xRequestID string) *GetSysteminfoVolumesNotFound
WithXRequestID adds the xRequestId to the get systeminfo volumes not found response
func (*GetSysteminfoVolumesNotFound) WriteResponse ¶
func (o *GetSysteminfoVolumesNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetSysteminfoVolumesOK ¶
type GetSysteminfoVolumesOK struct { /* In: Body */ Payload *models.SystemInfo `json:"body,omitempty"` }
GetSysteminfoVolumesOK Get system volumes successfully.
swagger:response getSysteminfoVolumesOK
func NewGetSysteminfoVolumesOK ¶
func NewGetSysteminfoVolumesOK() *GetSysteminfoVolumesOK
NewGetSysteminfoVolumesOK creates GetSysteminfoVolumesOK with default headers values
func (*GetSysteminfoVolumesOK) SetPayload ¶
func (o *GetSysteminfoVolumesOK) SetPayload(payload *models.SystemInfo)
SetPayload sets the payload to the get systeminfo volumes o k response
func (*GetSysteminfoVolumesOK) WithPayload ¶
func (o *GetSysteminfoVolumesOK) WithPayload(payload *models.SystemInfo) *GetSysteminfoVolumesOK
WithPayload adds the payload to the get systeminfo volumes o k response
func (*GetSysteminfoVolumesOK) WriteResponse ¶
func (o *GetSysteminfoVolumesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetSysteminfoVolumesParams ¶
type GetSysteminfoVolumesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetSysteminfoVolumesParams contains all the bound params for the get systeminfo volumes operation typically these are obtained from a http.Request
swagger:parameters GetSysteminfoVolumes
func NewGetSysteminfoVolumesParams ¶
func NewGetSysteminfoVolumesParams() GetSysteminfoVolumesParams
NewGetSysteminfoVolumesParams creates a new GetSysteminfoVolumesParams object no default values defined in spec.
func (*GetSysteminfoVolumesParams) BindRequest ¶
func (o *GetSysteminfoVolumesParams) 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 NewGetSysteminfoVolumesParams() beforehand.
type GetSysteminfoVolumesURL ¶
type GetSysteminfoVolumesURL struct {
// contains filtered or unexported fields
}
GetSysteminfoVolumesURL generates an URL for the get systeminfo volumes operation
func (*GetSysteminfoVolumesURL) Build ¶
func (o *GetSysteminfoVolumesURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetSysteminfoVolumesURL) BuildFull ¶
func (o *GetSysteminfoVolumesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetSysteminfoVolumesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetSysteminfoVolumesURL) SetBasePath ¶
func (o *GetSysteminfoVolumesURL) 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 (*GetSysteminfoVolumesURL) String ¶
func (o *GetSysteminfoVolumesURL) String() string
String returns the string representation of the path with query string
func (*GetSysteminfoVolumesURL) StringFull ¶
func (o *GetSysteminfoVolumesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetSysteminfoVolumesURL) WithBasePath ¶
func (o *GetSysteminfoVolumesURL) WithBasePath(bp string) *GetSysteminfoVolumesURL
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 GetSysteminfoVolumesUnauthorized ¶
type GetSysteminfoVolumesUnauthorized struct { string `json:"X-Request-Id"` Payload *models.Errors `json:"body,omitempty"` }XRequestID
GetSysteminfoVolumesUnauthorized Unauthorized
swagger:response getSysteminfoVolumesUnauthorized
func NewGetSysteminfoVolumesUnauthorized ¶
func NewGetSysteminfoVolumesUnauthorized() *GetSysteminfoVolumesUnauthorized
NewGetSysteminfoVolumesUnauthorized creates GetSysteminfoVolumesUnauthorized with default headers values
func (*GetSysteminfoVolumesUnauthorized) SetPayload ¶
func (o *GetSysteminfoVolumesUnauthorized) SetPayload(payload *models.Errors)
SetPayload sets the payload to the get systeminfo volumes unauthorized response
func (*GetSysteminfoVolumesUnauthorized) SetXRequestID ¶
func (o *GetSysteminfoVolumesUnauthorized) SetXRequestID(xRequestID string)
SetXRequestID sets the xRequestId to the get systeminfo volumes unauthorized response
func (*GetSysteminfoVolumesUnauthorized) WithPayload ¶
func (o *GetSysteminfoVolumesUnauthorized) WithPayload(payload *models.Errors) *GetSysteminfoVolumesUnauthorized
WithPayload adds the payload to the get systeminfo volumes unauthorized response
func (*GetSysteminfoVolumesUnauthorized) WithXRequestID ¶
func (o *GetSysteminfoVolumesUnauthorized) WithXRequestID(xRequestID string) *GetSysteminfoVolumesUnauthorized
WithXRequestID adds the xRequestId to the get systeminfo volumes unauthorized response
func (*GetSysteminfoVolumesUnauthorized) WriteResponse ¶
func (o *GetSysteminfoVolumesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- get_systeminfo.go
- get_systeminfo_getcert.go
- get_systeminfo_getcert_parameters.go
- get_systeminfo_getcert_responses.go
- get_systeminfo_getcert_urlbuilder.go
- get_systeminfo_parameters.go
- get_systeminfo_responses.go
- get_systeminfo_urlbuilder.go
- get_systeminfo_volumes.go
- get_systeminfo_volumes_parameters.go
- get_systeminfo_volumes_responses.go
- get_systeminfo_volumes_urlbuilder.go