Documentation ¶
Index ¶
- Constants
- type CreatePostureCheck
- type CreatePostureCheckBadRequest
- func (o *CreatePostureCheckBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *CreatePostureCheckBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *CreatePostureCheckBadRequest
- func (o *CreatePostureCheckBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreatePostureCheckCreated
- type CreatePostureCheckHandler
- type CreatePostureCheckHandlerFunc
- type CreatePostureCheckParams
- type CreatePostureCheckURL
- func (o *CreatePostureCheckURL) Build() (*url.URL, error)
- func (o *CreatePostureCheckURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreatePostureCheckURL) Must(u *url.URL, err error) *url.URL
- func (o *CreatePostureCheckURL) SetBasePath(bp string)
- func (o *CreatePostureCheckURL) String() string
- func (o *CreatePostureCheckURL) StringFull(scheme, host string) string
- func (o *CreatePostureCheckURL) WithBasePath(bp string) *CreatePostureCheckURL
- type CreatePostureCheckUnauthorized
- func (o *CreatePostureCheckUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *CreatePostureCheckUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *CreatePostureCheckUnauthorized
- func (o *CreatePostureCheckUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreatePostureResponse
- type CreatePostureResponseBadRequest
- func (o *CreatePostureResponseBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *CreatePostureResponseBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *CreatePostureResponseBadRequest
- func (o *CreatePostureResponseBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreatePostureResponseBulk
- type CreatePostureResponseBulkBadRequest
- func (o *CreatePostureResponseBulkBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *CreatePostureResponseBulkBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *CreatePostureResponseBulkBadRequest
- func (o *CreatePostureResponseBulkBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreatePostureResponseBulkHandler
- type CreatePostureResponseBulkHandlerFunc
- type CreatePostureResponseBulkOK
- type CreatePostureResponseBulkParams
- type CreatePostureResponseBulkURL
- func (o *CreatePostureResponseBulkURL) Build() (*url.URL, error)
- func (o *CreatePostureResponseBulkURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreatePostureResponseBulkURL) Must(u *url.URL, err error) *url.URL
- func (o *CreatePostureResponseBulkURL) SetBasePath(bp string)
- func (o *CreatePostureResponseBulkURL) String() string
- func (o *CreatePostureResponseBulkURL) StringFull(scheme, host string) string
- func (o *CreatePostureResponseBulkURL) WithBasePath(bp string) *CreatePostureResponseBulkURL
- type CreatePostureResponseBulkUnauthorized
- func (o *CreatePostureResponseBulkUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *CreatePostureResponseBulkUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *CreatePostureResponseBulkUnauthorized
- func (o *CreatePostureResponseBulkUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreatePostureResponseCreated
- func (o *CreatePostureResponseCreated) SetPayload(payload *rest_model.CreateEnvelope)
- func (o *CreatePostureResponseCreated) WithPayload(payload *rest_model.CreateEnvelope) *CreatePostureResponseCreated
- func (o *CreatePostureResponseCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreatePostureResponseHandler
- type CreatePostureResponseHandlerFunc
- type CreatePostureResponseParams
- type CreatePostureResponseURL
- func (o *CreatePostureResponseURL) Build() (*url.URL, error)
- func (o *CreatePostureResponseURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreatePostureResponseURL) Must(u *url.URL, err error) *url.URL
- func (o *CreatePostureResponseURL) SetBasePath(bp string)
- func (o *CreatePostureResponseURL) String() string
- func (o *CreatePostureResponseURL) StringFull(scheme, host string) string
- func (o *CreatePostureResponseURL) WithBasePath(bp string) *CreatePostureResponseURL
- type CreatePostureResponseUnauthorized
- func (o *CreatePostureResponseUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *CreatePostureResponseUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *CreatePostureResponseUnauthorized
- func (o *CreatePostureResponseUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeletePostureCheck
- type DeletePostureCheckForbidden
- func (o *DeletePostureCheckForbidden) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DeletePostureCheckForbidden) WithPayload(payload *rest_model.APIErrorEnvelope) *DeletePostureCheckForbidden
- func (o *DeletePostureCheckForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeletePostureCheckHandler
- type DeletePostureCheckHandlerFunc
- type DeletePostureCheckNotFound
- func (o *DeletePostureCheckNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DeletePostureCheckNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *DeletePostureCheckNotFound
- func (o *DeletePostureCheckNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeletePostureCheckOK
- type DeletePostureCheckParams
- type DeletePostureCheckURL
- func (o *DeletePostureCheckURL) Build() (*url.URL, error)
- func (o *DeletePostureCheckURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeletePostureCheckURL) Must(u *url.URL, err error) *url.URL
- func (o *DeletePostureCheckURL) SetBasePath(bp string)
- func (o *DeletePostureCheckURL) String() string
- func (o *DeletePostureCheckURL) StringFull(scheme, host string) string
- func (o *DeletePostureCheckURL) WithBasePath(bp string) *DeletePostureCheckURL
- type DetailPostureCheck
- type DetailPostureCheckHandler
- type DetailPostureCheckHandlerFunc
- type DetailPostureCheckNotFound
- func (o *DetailPostureCheckNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DetailPostureCheckNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailPostureCheckNotFound
- func (o *DetailPostureCheckNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DetailPostureCheckOK
- type DetailPostureCheckParams
- type DetailPostureCheckType
- type DetailPostureCheckTypeHandler
- type DetailPostureCheckTypeHandlerFunc
- type DetailPostureCheckTypeNotFound
- func (o *DetailPostureCheckTypeNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DetailPostureCheckTypeNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailPostureCheckTypeNotFound
- func (o *DetailPostureCheckTypeNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DetailPostureCheckTypeOK
- func (o *DetailPostureCheckTypeOK) SetPayload(payload *rest_model.DetailPostureCheckTypeEnvelope)
- func (o *DetailPostureCheckTypeOK) WithPayload(payload *rest_model.DetailPostureCheckTypeEnvelope) *DetailPostureCheckTypeOK
- func (o *DetailPostureCheckTypeOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DetailPostureCheckTypeParams
- type DetailPostureCheckTypeURL
- func (o *DetailPostureCheckTypeURL) Build() (*url.URL, error)
- func (o *DetailPostureCheckTypeURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DetailPostureCheckTypeURL) Must(u *url.URL, err error) *url.URL
- func (o *DetailPostureCheckTypeURL) SetBasePath(bp string)
- func (o *DetailPostureCheckTypeURL) String() string
- func (o *DetailPostureCheckTypeURL) StringFull(scheme, host string) string
- func (o *DetailPostureCheckTypeURL) WithBasePath(bp string) *DetailPostureCheckTypeURL
- type DetailPostureCheckTypeUnauthorized
- func (o *DetailPostureCheckTypeUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DetailPostureCheckTypeUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailPostureCheckTypeUnauthorized
- func (o *DetailPostureCheckTypeUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DetailPostureCheckURL
- func (o *DetailPostureCheckURL) Build() (*url.URL, error)
- func (o *DetailPostureCheckURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DetailPostureCheckURL) Must(u *url.URL, err error) *url.URL
- func (o *DetailPostureCheckURL) SetBasePath(bp string)
- func (o *DetailPostureCheckURL) String() string
- func (o *DetailPostureCheckURL) StringFull(scheme, host string) string
- func (o *DetailPostureCheckURL) WithBasePath(bp string) *DetailPostureCheckURL
- type DetailPostureCheckUnauthorized
- func (o *DetailPostureCheckUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DetailPostureCheckUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailPostureCheckUnauthorized
- func (o *DetailPostureCheckUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListPostureCheckTypes
- type ListPostureCheckTypesHandler
- type ListPostureCheckTypesHandlerFunc
- type ListPostureCheckTypesOK
- func (o *ListPostureCheckTypesOK) SetPayload(payload *rest_model.ListPostureCheckTypesEnvelope)
- func (o *ListPostureCheckTypesOK) WithPayload(payload *rest_model.ListPostureCheckTypesEnvelope) *ListPostureCheckTypesOK
- func (o *ListPostureCheckTypesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListPostureCheckTypesParams
- type ListPostureCheckTypesURL
- func (o *ListPostureCheckTypesURL) Build() (*url.URL, error)
- func (o *ListPostureCheckTypesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListPostureCheckTypesURL) Must(u *url.URL, err error) *url.URL
- func (o *ListPostureCheckTypesURL) SetBasePath(bp string)
- func (o *ListPostureCheckTypesURL) String() string
- func (o *ListPostureCheckTypesURL) StringFull(scheme, host string) string
- func (o *ListPostureCheckTypesURL) WithBasePath(bp string) *ListPostureCheckTypesURL
- type ListPostureChecks
- type ListPostureChecksHandler
- type ListPostureChecksHandlerFunc
- type ListPostureChecksOK
- type ListPostureChecksParams
- type ListPostureChecksURL
- func (o *ListPostureChecksURL) Build() (*url.URL, error)
- func (o *ListPostureChecksURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListPostureChecksURL) Must(u *url.URL, err error) *url.URL
- func (o *ListPostureChecksURL) SetBasePath(bp string)
- func (o *ListPostureChecksURL) String() string
- func (o *ListPostureChecksURL) StringFull(scheme, host string) string
- func (o *ListPostureChecksURL) WithBasePath(bp string) *ListPostureChecksURL
- type PatchPostureCheck
- type PatchPostureCheckBadRequest
- func (o *PatchPostureCheckBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *PatchPostureCheckBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchPostureCheckBadRequest
- func (o *PatchPostureCheckBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PatchPostureCheckHandler
- type PatchPostureCheckHandlerFunc
- type PatchPostureCheckNotFound
- type PatchPostureCheckOK
- type PatchPostureCheckParams
- type PatchPostureCheckURL
- func (o *PatchPostureCheckURL) Build() (*url.URL, error)
- func (o *PatchPostureCheckURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PatchPostureCheckURL) Must(u *url.URL, err error) *url.URL
- func (o *PatchPostureCheckURL) SetBasePath(bp string)
- func (o *PatchPostureCheckURL) String() string
- func (o *PatchPostureCheckURL) StringFull(scheme, host string) string
- func (o *PatchPostureCheckURL) WithBasePath(bp string) *PatchPostureCheckURL
- type PatchPostureCheckUnauthorized
- func (o *PatchPostureCheckUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *PatchPostureCheckUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchPostureCheckUnauthorized
- func (o *PatchPostureCheckUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdatePostureCheck
- type UpdatePostureCheckBadRequest
- func (o *UpdatePostureCheckBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *UpdatePostureCheckBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdatePostureCheckBadRequest
- func (o *UpdatePostureCheckBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdatePostureCheckHandler
- type UpdatePostureCheckHandlerFunc
- type UpdatePostureCheckNotFound
- func (o *UpdatePostureCheckNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *UpdatePostureCheckNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdatePostureCheckNotFound
- func (o *UpdatePostureCheckNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdatePostureCheckOK
- type UpdatePostureCheckParams
- type UpdatePostureCheckURL
- func (o *UpdatePostureCheckURL) Build() (*url.URL, error)
- func (o *UpdatePostureCheckURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdatePostureCheckURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdatePostureCheckURL) SetBasePath(bp string)
- func (o *UpdatePostureCheckURL) String() string
- func (o *UpdatePostureCheckURL) StringFull(scheme, host string) string
- func (o *UpdatePostureCheckURL) WithBasePath(bp string) *UpdatePostureCheckURL
- type UpdatePostureCheckUnauthorized
- func (o *UpdatePostureCheckUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *UpdatePostureCheckUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdatePostureCheckUnauthorized
- func (o *UpdatePostureCheckUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const CreatePostureCheckBadRequestCode int = 400
CreatePostureCheckBadRequestCode is the HTTP code returned for type CreatePostureCheckBadRequest
const CreatePostureCheckCreatedCode int = 201
CreatePostureCheckCreatedCode is the HTTP code returned for type CreatePostureCheckCreated
CreatePostureCheckUnauthorizedCode is the HTTP code returned for type CreatePostureCheckUnauthorized
const CreatePostureResponseBadRequestCode int = 400
CreatePostureResponseBadRequestCode is the HTTP code returned for type CreatePostureResponseBadRequest
const CreatePostureResponseBulkBadRequestCode int = 400
CreatePostureResponseBulkBadRequestCode is the HTTP code returned for type CreatePostureResponseBulkBadRequest
const CreatePostureResponseBulkOKCode int = 200
CreatePostureResponseBulkOKCode is the HTTP code returned for type CreatePostureResponseBulkOK
CreatePostureResponseBulkUnauthorizedCode is the HTTP code returned for type CreatePostureResponseBulkUnauthorized
const CreatePostureResponseCreatedCode int = 201
CreatePostureResponseCreatedCode is the HTTP code returned for type CreatePostureResponseCreated
CreatePostureResponseUnauthorizedCode is the HTTP code returned for type CreatePostureResponseUnauthorized
const DeletePostureCheckForbiddenCode int = 403
DeletePostureCheckForbiddenCode is the HTTP code returned for type DeletePostureCheckForbidden
const DeletePostureCheckNotFoundCode int = 404
DeletePostureCheckNotFoundCode is the HTTP code returned for type DeletePostureCheckNotFound
const DeletePostureCheckOKCode int = 200
DeletePostureCheckOKCode is the HTTP code returned for type DeletePostureCheckOK
const DetailPostureCheckNotFoundCode int = 404
DetailPostureCheckNotFoundCode is the HTTP code returned for type DetailPostureCheckNotFound
const DetailPostureCheckOKCode int = 200
DetailPostureCheckOKCode is the HTTP code returned for type DetailPostureCheckOK
const DetailPostureCheckTypeNotFoundCode int = 404
DetailPostureCheckTypeNotFoundCode is the HTTP code returned for type DetailPostureCheckTypeNotFound
const DetailPostureCheckTypeOKCode int = 200
DetailPostureCheckTypeOKCode is the HTTP code returned for type DetailPostureCheckTypeOK
DetailPostureCheckTypeUnauthorizedCode is the HTTP code returned for type DetailPostureCheckTypeUnauthorized
DetailPostureCheckUnauthorizedCode is the HTTP code returned for type DetailPostureCheckUnauthorized
const ListPostureCheckTypesOKCode int = 200
ListPostureCheckTypesOKCode is the HTTP code returned for type ListPostureCheckTypesOK
const ListPostureChecksOKCode int = 200
ListPostureChecksOKCode is the HTTP code returned for type ListPostureChecksOK
const PatchPostureCheckBadRequestCode int = 400
PatchPostureCheckBadRequestCode is the HTTP code returned for type PatchPostureCheckBadRequest
const PatchPostureCheckNotFoundCode int = 404
PatchPostureCheckNotFoundCode is the HTTP code returned for type PatchPostureCheckNotFound
const PatchPostureCheckOKCode int = 200
PatchPostureCheckOKCode is the HTTP code returned for type PatchPostureCheckOK
PatchPostureCheckUnauthorizedCode is the HTTP code returned for type PatchPostureCheckUnauthorized
const UpdatePostureCheckBadRequestCode int = 400
UpdatePostureCheckBadRequestCode is the HTTP code returned for type UpdatePostureCheckBadRequest
const UpdatePostureCheckNotFoundCode int = 404
UpdatePostureCheckNotFoundCode is the HTTP code returned for type UpdatePostureCheckNotFound
const UpdatePostureCheckOKCode int = 200
UpdatePostureCheckOKCode is the HTTP code returned for type UpdatePostureCheckOK
UpdatePostureCheckUnauthorizedCode is the HTTP code returned for type UpdatePostureCheckUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreatePostureCheck ¶
type CreatePostureCheck struct { Context *middleware.Context Handler CreatePostureCheckHandler }
CreatePostureCheck swagger:route POST /posture-checks Posture Checks createPostureCheck
Creates a Posture Checks ¶
Creates a Posture Checks
func NewCreatePostureCheck ¶
func NewCreatePostureCheck(ctx *middleware.Context, handler CreatePostureCheckHandler) *CreatePostureCheck
NewCreatePostureCheck creates a new http.Handler for the create posture check operation
func (*CreatePostureCheck) ServeHTTP ¶
func (o *CreatePostureCheck) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreatePostureCheckBadRequest ¶
type CreatePostureCheckBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
CreatePostureCheckBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response createPostureCheckBadRequest
func NewCreatePostureCheckBadRequest ¶
func NewCreatePostureCheckBadRequest() *CreatePostureCheckBadRequest
NewCreatePostureCheckBadRequest creates CreatePostureCheckBadRequest with default headers values
func (*CreatePostureCheckBadRequest) SetPayload ¶
func (o *CreatePostureCheckBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create posture check bad request response
func (*CreatePostureCheckBadRequest) WithPayload ¶
func (o *CreatePostureCheckBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *CreatePostureCheckBadRequest
WithPayload adds the payload to the create posture check bad request response
func (*CreatePostureCheckBadRequest) WriteResponse ¶
func (o *CreatePostureCheckBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreatePostureCheckCreated ¶ added in v0.17.52
type CreatePostureCheckCreated struct { /* In: Body */ Payload *rest_model.CreateEnvelope `json:"body,omitempty"` }
CreatePostureCheckCreated The create request was successful and the resource has been added at the following location
swagger:response createPostureCheckCreated
func NewCreatePostureCheckCreated ¶ added in v0.17.52
func NewCreatePostureCheckCreated() *CreatePostureCheckCreated
NewCreatePostureCheckCreated creates CreatePostureCheckCreated with default headers values
func (*CreatePostureCheckCreated) SetPayload ¶ added in v0.17.52
func (o *CreatePostureCheckCreated) SetPayload(payload *rest_model.CreateEnvelope)
SetPayload sets the payload to the create posture check created response
func (*CreatePostureCheckCreated) WithPayload ¶ added in v0.17.52
func (o *CreatePostureCheckCreated) WithPayload(payload *rest_model.CreateEnvelope) *CreatePostureCheckCreated
WithPayload adds the payload to the create posture check created response
func (*CreatePostureCheckCreated) WriteResponse ¶ added in v0.17.52
func (o *CreatePostureCheckCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreatePostureCheckHandler ¶
type CreatePostureCheckHandler interface {
Handle(CreatePostureCheckParams, interface{}) middleware.Responder
}
CreatePostureCheckHandler interface for that can handle valid create posture check params
type CreatePostureCheckHandlerFunc ¶
type CreatePostureCheckHandlerFunc func(CreatePostureCheckParams, interface{}) middleware.Responder
CreatePostureCheckHandlerFunc turns a function with the right signature into a create posture check handler
func (CreatePostureCheckHandlerFunc) Handle ¶
func (fn CreatePostureCheckHandlerFunc) Handle(params CreatePostureCheckParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type CreatePostureCheckParams ¶
type CreatePostureCheckParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*A Posture Check to create Required: true In: body */ PostureCheck rest_model.PostureCheckCreate }
CreatePostureCheckParams contains all the bound params for the create posture check operation typically these are obtained from a http.Request
swagger:parameters createPostureCheck
func NewCreatePostureCheckParams ¶
func NewCreatePostureCheckParams() CreatePostureCheckParams
NewCreatePostureCheckParams creates a new CreatePostureCheckParams object no default values defined in spec.
func (*CreatePostureCheckParams) BindRequest ¶
func (o *CreatePostureCheckParams) 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 NewCreatePostureCheckParams() beforehand.
type CreatePostureCheckURL ¶
type CreatePostureCheckURL struct {
// contains filtered or unexported fields
}
CreatePostureCheckURL generates an URL for the create posture check operation
func (*CreatePostureCheckURL) Build ¶
func (o *CreatePostureCheckURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreatePostureCheckURL) BuildFull ¶
func (o *CreatePostureCheckURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreatePostureCheckURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreatePostureCheckURL) SetBasePath ¶
func (o *CreatePostureCheckURL) 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 (*CreatePostureCheckURL) String ¶
func (o *CreatePostureCheckURL) String() string
String returns the string representation of the path with query string
func (*CreatePostureCheckURL) StringFull ¶
func (o *CreatePostureCheckURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreatePostureCheckURL) WithBasePath ¶
func (o *CreatePostureCheckURL) WithBasePath(bp string) *CreatePostureCheckURL
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 CreatePostureCheckUnauthorized ¶
type CreatePostureCheckUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
CreatePostureCheckUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response createPostureCheckUnauthorized
func NewCreatePostureCheckUnauthorized ¶
func NewCreatePostureCheckUnauthorized() *CreatePostureCheckUnauthorized
NewCreatePostureCheckUnauthorized creates CreatePostureCheckUnauthorized with default headers values
func (*CreatePostureCheckUnauthorized) SetPayload ¶
func (o *CreatePostureCheckUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create posture check unauthorized response
func (*CreatePostureCheckUnauthorized) WithPayload ¶
func (o *CreatePostureCheckUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *CreatePostureCheckUnauthorized
WithPayload adds the payload to the create posture check unauthorized response
func (*CreatePostureCheckUnauthorized) WriteResponse ¶
func (o *CreatePostureCheckUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreatePostureResponse ¶ added in v0.17.5
type CreatePostureResponse struct { Context *middleware.Context Handler CreatePostureResponseHandler }
CreatePostureResponse swagger:route POST /posture-response Posture Checks createPostureResponse
Submit a posture response to a posture query ¶
Submits posture responses
func NewCreatePostureResponse ¶ added in v0.17.5
func NewCreatePostureResponse(ctx *middleware.Context, handler CreatePostureResponseHandler) *CreatePostureResponse
NewCreatePostureResponse creates a new http.Handler for the create posture response operation
func (*CreatePostureResponse) ServeHTTP ¶ added in v0.17.5
func (o *CreatePostureResponse) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreatePostureResponseBadRequest ¶ added in v0.17.5
type CreatePostureResponseBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
CreatePostureResponseBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response createPostureResponseBadRequest
func NewCreatePostureResponseBadRequest ¶ added in v0.17.5
func NewCreatePostureResponseBadRequest() *CreatePostureResponseBadRequest
NewCreatePostureResponseBadRequest creates CreatePostureResponseBadRequest with default headers values
func (*CreatePostureResponseBadRequest) SetPayload ¶ added in v0.17.5
func (o *CreatePostureResponseBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create posture response bad request response
func (*CreatePostureResponseBadRequest) WithPayload ¶ added in v0.17.5
func (o *CreatePostureResponseBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *CreatePostureResponseBadRequest
WithPayload adds the payload to the create posture response bad request response
func (*CreatePostureResponseBadRequest) WriteResponse ¶ added in v0.17.5
func (o *CreatePostureResponseBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreatePostureResponseBulk ¶ added in v0.17.49
type CreatePostureResponseBulk struct { Context *middleware.Context Handler CreatePostureResponseBulkHandler }
CreatePostureResponseBulk swagger:route POST /posture-response-bulk Posture Checks createPostureResponseBulk
Submit multiple posture responses ¶
Submits posture responses
func NewCreatePostureResponseBulk ¶ added in v0.17.49
func NewCreatePostureResponseBulk(ctx *middleware.Context, handler CreatePostureResponseBulkHandler) *CreatePostureResponseBulk
NewCreatePostureResponseBulk creates a new http.Handler for the create posture response bulk operation
func (*CreatePostureResponseBulk) ServeHTTP ¶ added in v0.17.49
func (o *CreatePostureResponseBulk) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreatePostureResponseBulkBadRequest ¶ added in v0.17.49
type CreatePostureResponseBulkBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
CreatePostureResponseBulkBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response createPostureResponseBulkBadRequest
func NewCreatePostureResponseBulkBadRequest ¶ added in v0.17.49
func NewCreatePostureResponseBulkBadRequest() *CreatePostureResponseBulkBadRequest
NewCreatePostureResponseBulkBadRequest creates CreatePostureResponseBulkBadRequest with default headers values
func (*CreatePostureResponseBulkBadRequest) SetPayload ¶ added in v0.17.49
func (o *CreatePostureResponseBulkBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create posture response bulk bad request response
func (*CreatePostureResponseBulkBadRequest) WithPayload ¶ added in v0.17.49
func (o *CreatePostureResponseBulkBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *CreatePostureResponseBulkBadRequest
WithPayload adds the payload to the create posture response bulk bad request response
func (*CreatePostureResponseBulkBadRequest) WriteResponse ¶ added in v0.17.49
func (o *CreatePostureResponseBulkBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreatePostureResponseBulkHandler ¶ added in v0.17.49
type CreatePostureResponseBulkHandler interface {
Handle(CreatePostureResponseBulkParams, interface{}) middleware.Responder
}
CreatePostureResponseBulkHandler interface for that can handle valid create posture response bulk params
type CreatePostureResponseBulkHandlerFunc ¶ added in v0.17.49
type CreatePostureResponseBulkHandlerFunc func(CreatePostureResponseBulkParams, interface{}) middleware.Responder
CreatePostureResponseBulkHandlerFunc turns a function with the right signature into a create posture response bulk handler
func (CreatePostureResponseBulkHandlerFunc) Handle ¶ added in v0.17.49
func (fn CreatePostureResponseBulkHandlerFunc) Handle(params CreatePostureResponseBulkParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type CreatePostureResponseBulkOK ¶ added in v0.17.49
type CreatePostureResponseBulkOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
CreatePostureResponseBulkOK Base empty response
swagger:response createPostureResponseBulkOK
func NewCreatePostureResponseBulkOK ¶ added in v0.17.49
func NewCreatePostureResponseBulkOK() *CreatePostureResponseBulkOK
NewCreatePostureResponseBulkOK creates CreatePostureResponseBulkOK with default headers values
func (*CreatePostureResponseBulkOK) SetPayload ¶ added in v0.17.49
func (o *CreatePostureResponseBulkOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the create posture response bulk o k response
func (*CreatePostureResponseBulkOK) WithPayload ¶ added in v0.17.49
func (o *CreatePostureResponseBulkOK) WithPayload(payload *rest_model.Empty) *CreatePostureResponseBulkOK
WithPayload adds the payload to the create posture response bulk o k response
func (*CreatePostureResponseBulkOK) WriteResponse ¶ added in v0.17.49
func (o *CreatePostureResponseBulkOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreatePostureResponseBulkParams ¶ added in v0.17.49
type CreatePostureResponseBulkParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*A Posture Response Required: true In: body */ PostureResponse []rest_model.PostureResponseCreate }
CreatePostureResponseBulkParams contains all the bound params for the create posture response bulk operation typically these are obtained from a http.Request
swagger:parameters createPostureResponseBulk
func NewCreatePostureResponseBulkParams ¶ added in v0.17.49
func NewCreatePostureResponseBulkParams() CreatePostureResponseBulkParams
NewCreatePostureResponseBulkParams creates a new CreatePostureResponseBulkParams object no default values defined in spec.
func (*CreatePostureResponseBulkParams) BindRequest ¶ added in v0.17.49
func (o *CreatePostureResponseBulkParams) 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 NewCreatePostureResponseBulkParams() beforehand.
type CreatePostureResponseBulkURL ¶ added in v0.17.49
type CreatePostureResponseBulkURL struct {
// contains filtered or unexported fields
}
CreatePostureResponseBulkURL generates an URL for the create posture response bulk operation
func (*CreatePostureResponseBulkURL) Build ¶ added in v0.17.49
func (o *CreatePostureResponseBulkURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreatePostureResponseBulkURL) BuildFull ¶ added in v0.17.49
func (o *CreatePostureResponseBulkURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreatePostureResponseBulkURL) Must ¶ added in v0.17.49
Must is a helper function to panic when the url builder returns an error
func (*CreatePostureResponseBulkURL) SetBasePath ¶ added in v0.17.49
func (o *CreatePostureResponseBulkURL) 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 (*CreatePostureResponseBulkURL) String ¶ added in v0.17.49
func (o *CreatePostureResponseBulkURL) String() string
String returns the string representation of the path with query string
func (*CreatePostureResponseBulkURL) StringFull ¶ added in v0.17.49
func (o *CreatePostureResponseBulkURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreatePostureResponseBulkURL) WithBasePath ¶ added in v0.17.49
func (o *CreatePostureResponseBulkURL) WithBasePath(bp string) *CreatePostureResponseBulkURL
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 CreatePostureResponseBulkUnauthorized ¶ added in v0.17.49
type CreatePostureResponseBulkUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
CreatePostureResponseBulkUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response createPostureResponseBulkUnauthorized
func NewCreatePostureResponseBulkUnauthorized ¶ added in v0.17.49
func NewCreatePostureResponseBulkUnauthorized() *CreatePostureResponseBulkUnauthorized
NewCreatePostureResponseBulkUnauthorized creates CreatePostureResponseBulkUnauthorized with default headers values
func (*CreatePostureResponseBulkUnauthorized) SetPayload ¶ added in v0.17.49
func (o *CreatePostureResponseBulkUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create posture response bulk unauthorized response
func (*CreatePostureResponseBulkUnauthorized) WithPayload ¶ added in v0.17.49
func (o *CreatePostureResponseBulkUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *CreatePostureResponseBulkUnauthorized
WithPayload adds the payload to the create posture response bulk unauthorized response
func (*CreatePostureResponseBulkUnauthorized) WriteResponse ¶ added in v0.17.49
func (o *CreatePostureResponseBulkUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreatePostureResponseCreated ¶ added in v0.17.52
type CreatePostureResponseCreated struct { /* In: Body */ Payload *rest_model.CreateEnvelope `json:"body,omitempty"` }
CreatePostureResponseCreated The create request was successful and the resource has been added at the following location
swagger:response createPostureResponseCreated
func NewCreatePostureResponseCreated ¶ added in v0.17.52
func NewCreatePostureResponseCreated() *CreatePostureResponseCreated
NewCreatePostureResponseCreated creates CreatePostureResponseCreated with default headers values
func (*CreatePostureResponseCreated) SetPayload ¶ added in v0.17.52
func (o *CreatePostureResponseCreated) SetPayload(payload *rest_model.CreateEnvelope)
SetPayload sets the payload to the create posture response created response
func (*CreatePostureResponseCreated) WithPayload ¶ added in v0.17.52
func (o *CreatePostureResponseCreated) WithPayload(payload *rest_model.CreateEnvelope) *CreatePostureResponseCreated
WithPayload adds the payload to the create posture response created response
func (*CreatePostureResponseCreated) WriteResponse ¶ added in v0.17.52
func (o *CreatePostureResponseCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreatePostureResponseHandler ¶ added in v0.17.5
type CreatePostureResponseHandler interface {
Handle(CreatePostureResponseParams, interface{}) middleware.Responder
}
CreatePostureResponseHandler interface for that can handle valid create posture response params
type CreatePostureResponseHandlerFunc ¶ added in v0.17.5
type CreatePostureResponseHandlerFunc func(CreatePostureResponseParams, interface{}) middleware.Responder
CreatePostureResponseHandlerFunc turns a function with the right signature into a create posture response handler
func (CreatePostureResponseHandlerFunc) Handle ¶ added in v0.17.5
func (fn CreatePostureResponseHandlerFunc) Handle(params CreatePostureResponseParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type CreatePostureResponseParams ¶ added in v0.17.5
type CreatePostureResponseParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*A Posture Response Required: true In: body */ PostureResponse rest_model.PostureResponseCreate }
CreatePostureResponseParams contains all the bound params for the create posture response operation typically these are obtained from a http.Request
swagger:parameters createPostureResponse
func NewCreatePostureResponseParams ¶ added in v0.17.5
func NewCreatePostureResponseParams() CreatePostureResponseParams
NewCreatePostureResponseParams creates a new CreatePostureResponseParams object no default values defined in spec.
func (*CreatePostureResponseParams) BindRequest ¶ added in v0.17.5
func (o *CreatePostureResponseParams) 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 NewCreatePostureResponseParams() beforehand.
type CreatePostureResponseURL ¶ added in v0.17.5
type CreatePostureResponseURL struct {
// contains filtered or unexported fields
}
CreatePostureResponseURL generates an URL for the create posture response operation
func (*CreatePostureResponseURL) Build ¶ added in v0.17.5
func (o *CreatePostureResponseURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreatePostureResponseURL) BuildFull ¶ added in v0.17.5
func (o *CreatePostureResponseURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreatePostureResponseURL) Must ¶ added in v0.17.5
Must is a helper function to panic when the url builder returns an error
func (*CreatePostureResponseURL) SetBasePath ¶ added in v0.17.5
func (o *CreatePostureResponseURL) 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 (*CreatePostureResponseURL) String ¶ added in v0.17.5
func (o *CreatePostureResponseURL) String() string
String returns the string representation of the path with query string
func (*CreatePostureResponseURL) StringFull ¶ added in v0.17.5
func (o *CreatePostureResponseURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreatePostureResponseURL) WithBasePath ¶ added in v0.17.5
func (o *CreatePostureResponseURL) WithBasePath(bp string) *CreatePostureResponseURL
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 CreatePostureResponseUnauthorized ¶ added in v0.17.5
type CreatePostureResponseUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
CreatePostureResponseUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response createPostureResponseUnauthorized
func NewCreatePostureResponseUnauthorized ¶ added in v0.17.5
func NewCreatePostureResponseUnauthorized() *CreatePostureResponseUnauthorized
NewCreatePostureResponseUnauthorized creates CreatePostureResponseUnauthorized with default headers values
func (*CreatePostureResponseUnauthorized) SetPayload ¶ added in v0.17.5
func (o *CreatePostureResponseUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create posture response unauthorized response
func (*CreatePostureResponseUnauthorized) WithPayload ¶ added in v0.17.5
func (o *CreatePostureResponseUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *CreatePostureResponseUnauthorized
WithPayload adds the payload to the create posture response unauthorized response
func (*CreatePostureResponseUnauthorized) WriteResponse ¶ added in v0.17.5
func (o *CreatePostureResponseUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeletePostureCheck ¶
type DeletePostureCheck struct { Context *middleware.Context Handler DeletePostureCheckHandler }
DeletePostureCheck swagger:route DELETE /posture-checks/{id} Posture Checks deletePostureCheck
Deletes an Posture Checks ¶
Deletes and Posture Checks by id
func NewDeletePostureCheck ¶
func NewDeletePostureCheck(ctx *middleware.Context, handler DeletePostureCheckHandler) *DeletePostureCheck
NewDeletePostureCheck creates a new http.Handler for the delete posture check operation
func (*DeletePostureCheck) ServeHTTP ¶
func (o *DeletePostureCheck) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeletePostureCheckForbidden ¶
type DeletePostureCheckForbidden struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DeletePostureCheckForbidden The currently supplied session does not have the correct access rights to request this resource
swagger:response deletePostureCheckForbidden
func NewDeletePostureCheckForbidden ¶
func NewDeletePostureCheckForbidden() *DeletePostureCheckForbidden
NewDeletePostureCheckForbidden creates DeletePostureCheckForbidden with default headers values
func (*DeletePostureCheckForbidden) SetPayload ¶
func (o *DeletePostureCheckForbidden) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the delete posture check forbidden response
func (*DeletePostureCheckForbidden) WithPayload ¶
func (o *DeletePostureCheckForbidden) WithPayload(payload *rest_model.APIErrorEnvelope) *DeletePostureCheckForbidden
WithPayload adds the payload to the delete posture check forbidden response
func (*DeletePostureCheckForbidden) WriteResponse ¶
func (o *DeletePostureCheckForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeletePostureCheckHandler ¶
type DeletePostureCheckHandler interface {
Handle(DeletePostureCheckParams, interface{}) middleware.Responder
}
DeletePostureCheckHandler interface for that can handle valid delete posture check params
type DeletePostureCheckHandlerFunc ¶
type DeletePostureCheckHandlerFunc func(DeletePostureCheckParams, interface{}) middleware.Responder
DeletePostureCheckHandlerFunc turns a function with the right signature into a delete posture check handler
func (DeletePostureCheckHandlerFunc) Handle ¶
func (fn DeletePostureCheckHandlerFunc) Handle(params DeletePostureCheckParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DeletePostureCheckNotFound ¶
type DeletePostureCheckNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DeletePostureCheckNotFound The requested resource does not exist
swagger:response deletePostureCheckNotFound
func NewDeletePostureCheckNotFound ¶
func NewDeletePostureCheckNotFound() *DeletePostureCheckNotFound
NewDeletePostureCheckNotFound creates DeletePostureCheckNotFound with default headers values
func (*DeletePostureCheckNotFound) SetPayload ¶
func (o *DeletePostureCheckNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the delete posture check not found response
func (*DeletePostureCheckNotFound) WithPayload ¶
func (o *DeletePostureCheckNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *DeletePostureCheckNotFound
WithPayload adds the payload to the delete posture check not found response
func (*DeletePostureCheckNotFound) WriteResponse ¶
func (o *DeletePostureCheckNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeletePostureCheckOK ¶
type DeletePostureCheckOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
DeletePostureCheckOK The delete request was successful and the resource has been removed
swagger:response deletePostureCheckOK
func NewDeletePostureCheckOK ¶
func NewDeletePostureCheckOK() *DeletePostureCheckOK
NewDeletePostureCheckOK creates DeletePostureCheckOK with default headers values
func (*DeletePostureCheckOK) SetPayload ¶
func (o *DeletePostureCheckOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the delete posture check o k response
func (*DeletePostureCheckOK) WithPayload ¶
func (o *DeletePostureCheckOK) WithPayload(payload *rest_model.Empty) *DeletePostureCheckOK
WithPayload adds the payload to the delete posture check o k response
func (*DeletePostureCheckOK) WriteResponse ¶
func (o *DeletePostureCheckOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeletePostureCheckParams ¶
type DeletePostureCheckParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The id of the requested resource Required: true In: path */ ID string }
DeletePostureCheckParams contains all the bound params for the delete posture check operation typically these are obtained from a http.Request
swagger:parameters deletePostureCheck
func NewDeletePostureCheckParams ¶
func NewDeletePostureCheckParams() DeletePostureCheckParams
NewDeletePostureCheckParams creates a new DeletePostureCheckParams object no default values defined in spec.
func (*DeletePostureCheckParams) BindRequest ¶
func (o *DeletePostureCheckParams) 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 NewDeletePostureCheckParams() beforehand.
type DeletePostureCheckURL ¶
type DeletePostureCheckURL struct { ID string // contains filtered or unexported fields }
DeletePostureCheckURL generates an URL for the delete posture check operation
func (*DeletePostureCheckURL) Build ¶
func (o *DeletePostureCheckURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeletePostureCheckURL) BuildFull ¶
func (o *DeletePostureCheckURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeletePostureCheckURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeletePostureCheckURL) SetBasePath ¶
func (o *DeletePostureCheckURL) 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 (*DeletePostureCheckURL) String ¶
func (o *DeletePostureCheckURL) String() string
String returns the string representation of the path with query string
func (*DeletePostureCheckURL) StringFull ¶
func (o *DeletePostureCheckURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeletePostureCheckURL) WithBasePath ¶
func (o *DeletePostureCheckURL) WithBasePath(bp string) *DeletePostureCheckURL
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 DetailPostureCheck ¶
type DetailPostureCheck struct { Context *middleware.Context Handler DetailPostureCheckHandler }
DetailPostureCheck swagger:route GET /posture-checks/{id} Posture Checks detailPostureCheck
Retrieves a single Posture Checks ¶
Retrieves a single Posture Checks by id
func NewDetailPostureCheck ¶
func NewDetailPostureCheck(ctx *middleware.Context, handler DetailPostureCheckHandler) *DetailPostureCheck
NewDetailPostureCheck creates a new http.Handler for the detail posture check operation
func (*DetailPostureCheck) ServeHTTP ¶
func (o *DetailPostureCheck) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DetailPostureCheckHandler ¶
type DetailPostureCheckHandler interface {
Handle(DetailPostureCheckParams, interface{}) middleware.Responder
}
DetailPostureCheckHandler interface for that can handle valid detail posture check params
type DetailPostureCheckHandlerFunc ¶
type DetailPostureCheckHandlerFunc func(DetailPostureCheckParams, interface{}) middleware.Responder
DetailPostureCheckHandlerFunc turns a function with the right signature into a detail posture check handler
func (DetailPostureCheckHandlerFunc) Handle ¶
func (fn DetailPostureCheckHandlerFunc) Handle(params DetailPostureCheckParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DetailPostureCheckNotFound ¶
type DetailPostureCheckNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DetailPostureCheckNotFound The requested resource does not exist
swagger:response detailPostureCheckNotFound
func NewDetailPostureCheckNotFound ¶
func NewDetailPostureCheckNotFound() *DetailPostureCheckNotFound
NewDetailPostureCheckNotFound creates DetailPostureCheckNotFound with default headers values
func (*DetailPostureCheckNotFound) SetPayload ¶
func (o *DetailPostureCheckNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail posture check not found response
func (*DetailPostureCheckNotFound) WithPayload ¶
func (o *DetailPostureCheckNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailPostureCheckNotFound
WithPayload adds the payload to the detail posture check not found response
func (*DetailPostureCheckNotFound) WriteResponse ¶
func (o *DetailPostureCheckNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailPostureCheckOK ¶
type DetailPostureCheckOK struct { /* In: Body */ Payload *rest_model.DetailPostureCheckEnvelope `json:"body,omitempty"` }
DetailPostureCheckOK Retrieves a singular posture check by id
swagger:response detailPostureCheckOK
func NewDetailPostureCheckOK ¶
func NewDetailPostureCheckOK() *DetailPostureCheckOK
NewDetailPostureCheckOK creates DetailPostureCheckOK with default headers values
func (*DetailPostureCheckOK) SetPayload ¶
func (o *DetailPostureCheckOK) SetPayload(payload *rest_model.DetailPostureCheckEnvelope)
SetPayload sets the payload to the detail posture check o k response
func (*DetailPostureCheckOK) WithPayload ¶
func (o *DetailPostureCheckOK) WithPayload(payload *rest_model.DetailPostureCheckEnvelope) *DetailPostureCheckOK
WithPayload adds the payload to the detail posture check o k response
func (*DetailPostureCheckOK) WriteResponse ¶
func (o *DetailPostureCheckOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailPostureCheckParams ¶
type DetailPostureCheckParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The id of the requested resource Required: true In: path */ ID string }
DetailPostureCheckParams contains all the bound params for the detail posture check operation typically these are obtained from a http.Request
swagger:parameters detailPostureCheck
func NewDetailPostureCheckParams ¶
func NewDetailPostureCheckParams() DetailPostureCheckParams
NewDetailPostureCheckParams creates a new DetailPostureCheckParams object no default values defined in spec.
func (*DetailPostureCheckParams) BindRequest ¶
func (o *DetailPostureCheckParams) 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 NewDetailPostureCheckParams() beforehand.
type DetailPostureCheckType ¶
type DetailPostureCheckType struct { Context *middleware.Context Handler DetailPostureCheckTypeHandler }
DetailPostureCheckType swagger:route GET /posture-check-types/{id} Posture Checks detailPostureCheckType
Retrieves a single posture check type ¶
Retrieves a single posture check type by id
func NewDetailPostureCheckType ¶
func NewDetailPostureCheckType(ctx *middleware.Context, handler DetailPostureCheckTypeHandler) *DetailPostureCheckType
NewDetailPostureCheckType creates a new http.Handler for the detail posture check type operation
func (*DetailPostureCheckType) ServeHTTP ¶
func (o *DetailPostureCheckType) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DetailPostureCheckTypeHandler ¶
type DetailPostureCheckTypeHandler interface {
Handle(DetailPostureCheckTypeParams, interface{}) middleware.Responder
}
DetailPostureCheckTypeHandler interface for that can handle valid detail posture check type params
type DetailPostureCheckTypeHandlerFunc ¶
type DetailPostureCheckTypeHandlerFunc func(DetailPostureCheckTypeParams, interface{}) middleware.Responder
DetailPostureCheckTypeHandlerFunc turns a function with the right signature into a detail posture check type handler
func (DetailPostureCheckTypeHandlerFunc) Handle ¶
func (fn DetailPostureCheckTypeHandlerFunc) Handle(params DetailPostureCheckTypeParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DetailPostureCheckTypeNotFound ¶
type DetailPostureCheckTypeNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DetailPostureCheckTypeNotFound The requested resource does not exist
swagger:response detailPostureCheckTypeNotFound
func NewDetailPostureCheckTypeNotFound ¶
func NewDetailPostureCheckTypeNotFound() *DetailPostureCheckTypeNotFound
NewDetailPostureCheckTypeNotFound creates DetailPostureCheckTypeNotFound with default headers values
func (*DetailPostureCheckTypeNotFound) SetPayload ¶
func (o *DetailPostureCheckTypeNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail posture check type not found response
func (*DetailPostureCheckTypeNotFound) WithPayload ¶
func (o *DetailPostureCheckTypeNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailPostureCheckTypeNotFound
WithPayload adds the payload to the detail posture check type not found response
func (*DetailPostureCheckTypeNotFound) WriteResponse ¶
func (o *DetailPostureCheckTypeNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailPostureCheckTypeOK ¶
type DetailPostureCheckTypeOK struct { /* In: Body */ Payload *rest_model.DetailPostureCheckTypeEnvelope `json:"body,omitempty"` }
DetailPostureCheckTypeOK Retrieves a singular posture check type by id
swagger:response detailPostureCheckTypeOK
func NewDetailPostureCheckTypeOK ¶
func NewDetailPostureCheckTypeOK() *DetailPostureCheckTypeOK
NewDetailPostureCheckTypeOK creates DetailPostureCheckTypeOK with default headers values
func (*DetailPostureCheckTypeOK) SetPayload ¶
func (o *DetailPostureCheckTypeOK) SetPayload(payload *rest_model.DetailPostureCheckTypeEnvelope)
SetPayload sets the payload to the detail posture check type o k response
func (*DetailPostureCheckTypeOK) WithPayload ¶
func (o *DetailPostureCheckTypeOK) WithPayload(payload *rest_model.DetailPostureCheckTypeEnvelope) *DetailPostureCheckTypeOK
WithPayload adds the payload to the detail posture check type o k response
func (*DetailPostureCheckTypeOK) WriteResponse ¶
func (o *DetailPostureCheckTypeOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailPostureCheckTypeParams ¶
type DetailPostureCheckTypeParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The id of the requested resource Required: true In: path */ ID string }
DetailPostureCheckTypeParams contains all the bound params for the detail posture check type operation typically these are obtained from a http.Request
swagger:parameters detailPostureCheckType
func NewDetailPostureCheckTypeParams ¶
func NewDetailPostureCheckTypeParams() DetailPostureCheckTypeParams
NewDetailPostureCheckTypeParams creates a new DetailPostureCheckTypeParams object no default values defined in spec.
func (*DetailPostureCheckTypeParams) BindRequest ¶
func (o *DetailPostureCheckTypeParams) 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 NewDetailPostureCheckTypeParams() beforehand.
type DetailPostureCheckTypeURL ¶
type DetailPostureCheckTypeURL struct { ID string // contains filtered or unexported fields }
DetailPostureCheckTypeURL generates an URL for the detail posture check type operation
func (*DetailPostureCheckTypeURL) Build ¶
func (o *DetailPostureCheckTypeURL) Build() (*url.URL, error)
Build a url path and query string
func (*DetailPostureCheckTypeURL) BuildFull ¶
func (o *DetailPostureCheckTypeURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DetailPostureCheckTypeURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DetailPostureCheckTypeURL) SetBasePath ¶
func (o *DetailPostureCheckTypeURL) 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 (*DetailPostureCheckTypeURL) String ¶
func (o *DetailPostureCheckTypeURL) String() string
String returns the string representation of the path with query string
func (*DetailPostureCheckTypeURL) StringFull ¶
func (o *DetailPostureCheckTypeURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DetailPostureCheckTypeURL) WithBasePath ¶
func (o *DetailPostureCheckTypeURL) WithBasePath(bp string) *DetailPostureCheckTypeURL
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 DetailPostureCheckTypeUnauthorized ¶
type DetailPostureCheckTypeUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
DetailPostureCheckTypeUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response detailPostureCheckTypeUnauthorized
func NewDetailPostureCheckTypeUnauthorized ¶
func NewDetailPostureCheckTypeUnauthorized() *DetailPostureCheckTypeUnauthorized
NewDetailPostureCheckTypeUnauthorized creates DetailPostureCheckTypeUnauthorized with default headers values
func (*DetailPostureCheckTypeUnauthorized) SetPayload ¶
func (o *DetailPostureCheckTypeUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail posture check type unauthorized response
func (*DetailPostureCheckTypeUnauthorized) WithPayload ¶
func (o *DetailPostureCheckTypeUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailPostureCheckTypeUnauthorized
WithPayload adds the payload to the detail posture check type unauthorized response
func (*DetailPostureCheckTypeUnauthorized) WriteResponse ¶
func (o *DetailPostureCheckTypeUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailPostureCheckURL ¶
type DetailPostureCheckURL struct { ID string // contains filtered or unexported fields }
DetailPostureCheckURL generates an URL for the detail posture check operation
func (*DetailPostureCheckURL) Build ¶
func (o *DetailPostureCheckURL) Build() (*url.URL, error)
Build a url path and query string
func (*DetailPostureCheckURL) BuildFull ¶
func (o *DetailPostureCheckURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DetailPostureCheckURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DetailPostureCheckURL) SetBasePath ¶
func (o *DetailPostureCheckURL) 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 (*DetailPostureCheckURL) String ¶
func (o *DetailPostureCheckURL) String() string
String returns the string representation of the path with query string
func (*DetailPostureCheckURL) StringFull ¶
func (o *DetailPostureCheckURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DetailPostureCheckURL) WithBasePath ¶
func (o *DetailPostureCheckURL) WithBasePath(bp string) *DetailPostureCheckURL
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 DetailPostureCheckUnauthorized ¶
type DetailPostureCheckUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
DetailPostureCheckUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response detailPostureCheckUnauthorized
func NewDetailPostureCheckUnauthorized ¶
func NewDetailPostureCheckUnauthorized() *DetailPostureCheckUnauthorized
NewDetailPostureCheckUnauthorized creates DetailPostureCheckUnauthorized with default headers values
func (*DetailPostureCheckUnauthorized) SetPayload ¶
func (o *DetailPostureCheckUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail posture check unauthorized response
func (*DetailPostureCheckUnauthorized) WithPayload ¶
func (o *DetailPostureCheckUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailPostureCheckUnauthorized
WithPayload adds the payload to the detail posture check unauthorized response
func (*DetailPostureCheckUnauthorized) WriteResponse ¶
func (o *DetailPostureCheckUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListPostureCheckTypes ¶
type ListPostureCheckTypes struct { Context *middleware.Context Handler ListPostureCheckTypesHandler }
ListPostureCheckTypes swagger:route GET /posture-check-types Posture Checks listPostureCheckTypes
List a subset of posture check types ¶
Retrieves a list of posture check types
func NewListPostureCheckTypes ¶
func NewListPostureCheckTypes(ctx *middleware.Context, handler ListPostureCheckTypesHandler) *ListPostureCheckTypes
NewListPostureCheckTypes creates a new http.Handler for the list posture check types operation
func (*ListPostureCheckTypes) ServeHTTP ¶
func (o *ListPostureCheckTypes) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListPostureCheckTypesHandler ¶
type ListPostureCheckTypesHandler interface {
Handle(ListPostureCheckTypesParams, interface{}) middleware.Responder
}
ListPostureCheckTypesHandler interface for that can handle valid list posture check types params
type ListPostureCheckTypesHandlerFunc ¶
type ListPostureCheckTypesHandlerFunc func(ListPostureCheckTypesParams, interface{}) middleware.Responder
ListPostureCheckTypesHandlerFunc turns a function with the right signature into a list posture check types handler
func (ListPostureCheckTypesHandlerFunc) Handle ¶
func (fn ListPostureCheckTypesHandlerFunc) Handle(params ListPostureCheckTypesParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ListPostureCheckTypesOK ¶
type ListPostureCheckTypesOK struct { /* In: Body */ Payload *rest_model.ListPostureCheckTypesEnvelope `json:"body,omitempty"` }
ListPostureCheckTypesOK A list of posture check types
swagger:response listPostureCheckTypesOK
func NewListPostureCheckTypesOK ¶
func NewListPostureCheckTypesOK() *ListPostureCheckTypesOK
NewListPostureCheckTypesOK creates ListPostureCheckTypesOK with default headers values
func (*ListPostureCheckTypesOK) SetPayload ¶
func (o *ListPostureCheckTypesOK) SetPayload(payload *rest_model.ListPostureCheckTypesEnvelope)
SetPayload sets the payload to the list posture check types o k response
func (*ListPostureCheckTypesOK) WithPayload ¶
func (o *ListPostureCheckTypesOK) WithPayload(payload *rest_model.ListPostureCheckTypesEnvelope) *ListPostureCheckTypesOK
WithPayload adds the payload to the list posture check types o k response
func (*ListPostureCheckTypesOK) WriteResponse ¶
func (o *ListPostureCheckTypesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListPostureCheckTypesParams ¶
type ListPostureCheckTypesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ Filter *string /* In: query */ Limit *int64 /* In: query */ Offset *int64 }
ListPostureCheckTypesParams contains all the bound params for the list posture check types operation typically these are obtained from a http.Request
swagger:parameters listPostureCheckTypes
func NewListPostureCheckTypesParams ¶
func NewListPostureCheckTypesParams() ListPostureCheckTypesParams
NewListPostureCheckTypesParams creates a new ListPostureCheckTypesParams object no default values defined in spec.
func (*ListPostureCheckTypesParams) BindRequest ¶
func (o *ListPostureCheckTypesParams) 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 NewListPostureCheckTypesParams() beforehand.
type ListPostureCheckTypesURL ¶
type ListPostureCheckTypesURL struct { Filter *string Limit *int64 Offset *int64 // contains filtered or unexported fields }
ListPostureCheckTypesURL generates an URL for the list posture check types operation
func (*ListPostureCheckTypesURL) Build ¶
func (o *ListPostureCheckTypesURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListPostureCheckTypesURL) BuildFull ¶
func (o *ListPostureCheckTypesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListPostureCheckTypesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListPostureCheckTypesURL) SetBasePath ¶
func (o *ListPostureCheckTypesURL) 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 (*ListPostureCheckTypesURL) String ¶
func (o *ListPostureCheckTypesURL) String() string
String returns the string representation of the path with query string
func (*ListPostureCheckTypesURL) StringFull ¶
func (o *ListPostureCheckTypesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListPostureCheckTypesURL) WithBasePath ¶
func (o *ListPostureCheckTypesURL) WithBasePath(bp string) *ListPostureCheckTypesURL
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 ListPostureChecks ¶
type ListPostureChecks struct { Context *middleware.Context Handler ListPostureChecksHandler }
ListPostureChecks swagger:route GET /posture-checks Posture Checks listPostureChecks
List a subset of posture checks ¶
Retrieves a list of posture checks
func NewListPostureChecks ¶
func NewListPostureChecks(ctx *middleware.Context, handler ListPostureChecksHandler) *ListPostureChecks
NewListPostureChecks creates a new http.Handler for the list posture checks operation
func (*ListPostureChecks) ServeHTTP ¶
func (o *ListPostureChecks) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListPostureChecksHandler ¶
type ListPostureChecksHandler interface {
Handle(ListPostureChecksParams, interface{}) middleware.Responder
}
ListPostureChecksHandler interface for that can handle valid list posture checks params
type ListPostureChecksHandlerFunc ¶
type ListPostureChecksHandlerFunc func(ListPostureChecksParams, interface{}) middleware.Responder
ListPostureChecksHandlerFunc turns a function with the right signature into a list posture checks handler
func (ListPostureChecksHandlerFunc) Handle ¶
func (fn ListPostureChecksHandlerFunc) Handle(params ListPostureChecksParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ListPostureChecksOK ¶
type ListPostureChecksOK struct { /* In: Body */ Payload *rest_model.ListPostureCheckEnvelope `json:"body,omitempty"` }
ListPostureChecksOK A list of posture checks
swagger:response listPostureChecksOK
func NewListPostureChecksOK ¶
func NewListPostureChecksOK() *ListPostureChecksOK
NewListPostureChecksOK creates ListPostureChecksOK with default headers values
func (*ListPostureChecksOK) SetPayload ¶
func (o *ListPostureChecksOK) SetPayload(payload *rest_model.ListPostureCheckEnvelope)
SetPayload sets the payload to the list posture checks o k response
func (*ListPostureChecksOK) WithPayload ¶
func (o *ListPostureChecksOK) WithPayload(payload *rest_model.ListPostureCheckEnvelope) *ListPostureChecksOK
WithPayload adds the payload to the list posture checks o k response
func (*ListPostureChecksOK) WriteResponse ¶
func (o *ListPostureChecksOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListPostureChecksParams ¶
type ListPostureChecksParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ Filter *string /* In: query */ Limit *int64 /* In: query */ Offset *int64 /* In: query Collection Format: multi */ RoleFilter []string /* In: query */ RoleSemantic *string }
ListPostureChecksParams contains all the bound params for the list posture checks operation typically these are obtained from a http.Request
swagger:parameters listPostureChecks
func NewListPostureChecksParams ¶
func NewListPostureChecksParams() ListPostureChecksParams
NewListPostureChecksParams creates a new ListPostureChecksParams object no default values defined in spec.
func (*ListPostureChecksParams) BindRequest ¶
func (o *ListPostureChecksParams) 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 NewListPostureChecksParams() beforehand.
type ListPostureChecksURL ¶
type ListPostureChecksURL struct { Filter *string Limit *int64 Offset *int64 RoleFilter []string RoleSemantic *string // contains filtered or unexported fields }
ListPostureChecksURL generates an URL for the list posture checks operation
func (*ListPostureChecksURL) Build ¶
func (o *ListPostureChecksURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListPostureChecksURL) BuildFull ¶
func (o *ListPostureChecksURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListPostureChecksURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListPostureChecksURL) SetBasePath ¶
func (o *ListPostureChecksURL) 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 (*ListPostureChecksURL) String ¶
func (o *ListPostureChecksURL) String() string
String returns the string representation of the path with query string
func (*ListPostureChecksURL) StringFull ¶
func (o *ListPostureChecksURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListPostureChecksURL) WithBasePath ¶
func (o *ListPostureChecksURL) WithBasePath(bp string) *ListPostureChecksURL
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 PatchPostureCheck ¶
type PatchPostureCheck struct { Context *middleware.Context Handler PatchPostureCheckHandler }
PatchPostureCheck swagger:route PATCH /posture-checks/{id} Posture Checks patchPostureCheck
Update the supplied fields on a Posture Checks ¶
Update only the supplied fields on a Posture Checks by id
func NewPatchPostureCheck ¶
func NewPatchPostureCheck(ctx *middleware.Context, handler PatchPostureCheckHandler) *PatchPostureCheck
NewPatchPostureCheck creates a new http.Handler for the patch posture check operation
func (*PatchPostureCheck) ServeHTTP ¶
func (o *PatchPostureCheck) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PatchPostureCheckBadRequest ¶
type PatchPostureCheckBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
PatchPostureCheckBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response patchPostureCheckBadRequest
func NewPatchPostureCheckBadRequest ¶
func NewPatchPostureCheckBadRequest() *PatchPostureCheckBadRequest
NewPatchPostureCheckBadRequest creates PatchPostureCheckBadRequest with default headers values
func (*PatchPostureCheckBadRequest) SetPayload ¶
func (o *PatchPostureCheckBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the patch posture check bad request response
func (*PatchPostureCheckBadRequest) WithPayload ¶
func (o *PatchPostureCheckBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchPostureCheckBadRequest
WithPayload adds the payload to the patch posture check bad request response
func (*PatchPostureCheckBadRequest) WriteResponse ¶
func (o *PatchPostureCheckBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchPostureCheckHandler ¶
type PatchPostureCheckHandler interface {
Handle(PatchPostureCheckParams, interface{}) middleware.Responder
}
PatchPostureCheckHandler interface for that can handle valid patch posture check params
type PatchPostureCheckHandlerFunc ¶
type PatchPostureCheckHandlerFunc func(PatchPostureCheckParams, interface{}) middleware.Responder
PatchPostureCheckHandlerFunc turns a function with the right signature into a patch posture check handler
func (PatchPostureCheckHandlerFunc) Handle ¶
func (fn PatchPostureCheckHandlerFunc) Handle(params PatchPostureCheckParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type PatchPostureCheckNotFound ¶
type PatchPostureCheckNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
PatchPostureCheckNotFound The requested resource does not exist
swagger:response patchPostureCheckNotFound
func NewPatchPostureCheckNotFound ¶
func NewPatchPostureCheckNotFound() *PatchPostureCheckNotFound
NewPatchPostureCheckNotFound creates PatchPostureCheckNotFound with default headers values
func (*PatchPostureCheckNotFound) SetPayload ¶
func (o *PatchPostureCheckNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the patch posture check not found response
func (*PatchPostureCheckNotFound) WithPayload ¶
func (o *PatchPostureCheckNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchPostureCheckNotFound
WithPayload adds the payload to the patch posture check not found response
func (*PatchPostureCheckNotFound) WriteResponse ¶
func (o *PatchPostureCheckNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchPostureCheckOK ¶
type PatchPostureCheckOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
PatchPostureCheckOK The patch request was successful and the resource has been altered
swagger:response patchPostureCheckOK
func NewPatchPostureCheckOK ¶
func NewPatchPostureCheckOK() *PatchPostureCheckOK
NewPatchPostureCheckOK creates PatchPostureCheckOK with default headers values
func (*PatchPostureCheckOK) SetPayload ¶
func (o *PatchPostureCheckOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the patch posture check o k response
func (*PatchPostureCheckOK) WithPayload ¶
func (o *PatchPostureCheckOK) WithPayload(payload *rest_model.Empty) *PatchPostureCheckOK
WithPayload adds the payload to the patch posture check o k response
func (*PatchPostureCheckOK) WriteResponse ¶
func (o *PatchPostureCheckOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchPostureCheckParams ¶
type PatchPostureCheckParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The id of the requested resource Required: true In: path */ ID string /*A Posture Check patch object Required: true In: body */ PostureCheck rest_model.PostureCheckPatch }
PatchPostureCheckParams contains all the bound params for the patch posture check operation typically these are obtained from a http.Request
swagger:parameters patchPostureCheck
func NewPatchPostureCheckParams ¶
func NewPatchPostureCheckParams() PatchPostureCheckParams
NewPatchPostureCheckParams creates a new PatchPostureCheckParams object no default values defined in spec.
func (*PatchPostureCheckParams) BindRequest ¶
func (o *PatchPostureCheckParams) 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 NewPatchPostureCheckParams() beforehand.
type PatchPostureCheckURL ¶
type PatchPostureCheckURL struct { ID string // contains filtered or unexported fields }
PatchPostureCheckURL generates an URL for the patch posture check operation
func (*PatchPostureCheckURL) Build ¶
func (o *PatchPostureCheckURL) Build() (*url.URL, error)
Build a url path and query string
func (*PatchPostureCheckURL) BuildFull ¶
func (o *PatchPostureCheckURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PatchPostureCheckURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PatchPostureCheckURL) SetBasePath ¶
func (o *PatchPostureCheckURL) 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 (*PatchPostureCheckURL) String ¶
func (o *PatchPostureCheckURL) String() string
String returns the string representation of the path with query string
func (*PatchPostureCheckURL) StringFull ¶
func (o *PatchPostureCheckURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PatchPostureCheckURL) WithBasePath ¶
func (o *PatchPostureCheckURL) WithBasePath(bp string) *PatchPostureCheckURL
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 PatchPostureCheckUnauthorized ¶
type PatchPostureCheckUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
PatchPostureCheckUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response patchPostureCheckUnauthorized
func NewPatchPostureCheckUnauthorized ¶
func NewPatchPostureCheckUnauthorized() *PatchPostureCheckUnauthorized
NewPatchPostureCheckUnauthorized creates PatchPostureCheckUnauthorized with default headers values
func (*PatchPostureCheckUnauthorized) SetPayload ¶
func (o *PatchPostureCheckUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the patch posture check unauthorized response
func (*PatchPostureCheckUnauthorized) WithPayload ¶
func (o *PatchPostureCheckUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchPostureCheckUnauthorized
WithPayload adds the payload to the patch posture check unauthorized response
func (*PatchPostureCheckUnauthorized) WriteResponse ¶
func (o *PatchPostureCheckUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdatePostureCheck ¶
type UpdatePostureCheck struct { Context *middleware.Context Handler UpdatePostureCheckHandler }
UpdatePostureCheck swagger:route PUT /posture-checks/{id} Posture Checks updatePostureCheck
Update all fields on a Posture Checks ¶
Update all fields on a Posture Checks by id
func NewUpdatePostureCheck ¶
func NewUpdatePostureCheck(ctx *middleware.Context, handler UpdatePostureCheckHandler) *UpdatePostureCheck
NewUpdatePostureCheck creates a new http.Handler for the update posture check operation
func (*UpdatePostureCheck) ServeHTTP ¶
func (o *UpdatePostureCheck) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdatePostureCheckBadRequest ¶
type UpdatePostureCheckBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
UpdatePostureCheckBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response updatePostureCheckBadRequest
func NewUpdatePostureCheckBadRequest ¶
func NewUpdatePostureCheckBadRequest() *UpdatePostureCheckBadRequest
NewUpdatePostureCheckBadRequest creates UpdatePostureCheckBadRequest with default headers values
func (*UpdatePostureCheckBadRequest) SetPayload ¶
func (o *UpdatePostureCheckBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the update posture check bad request response
func (*UpdatePostureCheckBadRequest) WithPayload ¶
func (o *UpdatePostureCheckBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdatePostureCheckBadRequest
WithPayload adds the payload to the update posture check bad request response
func (*UpdatePostureCheckBadRequest) WriteResponse ¶
func (o *UpdatePostureCheckBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdatePostureCheckHandler ¶
type UpdatePostureCheckHandler interface {
Handle(UpdatePostureCheckParams, interface{}) middleware.Responder
}
UpdatePostureCheckHandler interface for that can handle valid update posture check params
type UpdatePostureCheckHandlerFunc ¶
type UpdatePostureCheckHandlerFunc func(UpdatePostureCheckParams, interface{}) middleware.Responder
UpdatePostureCheckHandlerFunc turns a function with the right signature into a update posture check handler
func (UpdatePostureCheckHandlerFunc) Handle ¶
func (fn UpdatePostureCheckHandlerFunc) Handle(params UpdatePostureCheckParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type UpdatePostureCheckNotFound ¶
type UpdatePostureCheckNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
UpdatePostureCheckNotFound The requested resource does not exist
swagger:response updatePostureCheckNotFound
func NewUpdatePostureCheckNotFound ¶
func NewUpdatePostureCheckNotFound() *UpdatePostureCheckNotFound
NewUpdatePostureCheckNotFound creates UpdatePostureCheckNotFound with default headers values
func (*UpdatePostureCheckNotFound) SetPayload ¶
func (o *UpdatePostureCheckNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the update posture check not found response
func (*UpdatePostureCheckNotFound) WithPayload ¶
func (o *UpdatePostureCheckNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdatePostureCheckNotFound
WithPayload adds the payload to the update posture check not found response
func (*UpdatePostureCheckNotFound) WriteResponse ¶
func (o *UpdatePostureCheckNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdatePostureCheckOK ¶
type UpdatePostureCheckOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
UpdatePostureCheckOK The update request was successful and the resource has been altered
swagger:response updatePostureCheckOK
func NewUpdatePostureCheckOK ¶
func NewUpdatePostureCheckOK() *UpdatePostureCheckOK
NewUpdatePostureCheckOK creates UpdatePostureCheckOK with default headers values
func (*UpdatePostureCheckOK) SetPayload ¶
func (o *UpdatePostureCheckOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the update posture check o k response
func (*UpdatePostureCheckOK) WithPayload ¶
func (o *UpdatePostureCheckOK) WithPayload(payload *rest_model.Empty) *UpdatePostureCheckOK
WithPayload adds the payload to the update posture check o k response
func (*UpdatePostureCheckOK) WriteResponse ¶
func (o *UpdatePostureCheckOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdatePostureCheckParams ¶
type UpdatePostureCheckParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The id of the requested resource Required: true In: path */ ID string /*A Posture Check update object Required: true In: body */ PostureCheck rest_model.PostureCheckUpdate }
UpdatePostureCheckParams contains all the bound params for the update posture check operation typically these are obtained from a http.Request
swagger:parameters updatePostureCheck
func NewUpdatePostureCheckParams ¶
func NewUpdatePostureCheckParams() UpdatePostureCheckParams
NewUpdatePostureCheckParams creates a new UpdatePostureCheckParams object no default values defined in spec.
func (*UpdatePostureCheckParams) BindRequest ¶
func (o *UpdatePostureCheckParams) 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 NewUpdatePostureCheckParams() beforehand.
type UpdatePostureCheckURL ¶
type UpdatePostureCheckURL struct { ID string // contains filtered or unexported fields }
UpdatePostureCheckURL generates an URL for the update posture check operation
func (*UpdatePostureCheckURL) Build ¶
func (o *UpdatePostureCheckURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdatePostureCheckURL) BuildFull ¶
func (o *UpdatePostureCheckURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdatePostureCheckURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdatePostureCheckURL) SetBasePath ¶
func (o *UpdatePostureCheckURL) 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 (*UpdatePostureCheckURL) String ¶
func (o *UpdatePostureCheckURL) String() string
String returns the string representation of the path with query string
func (*UpdatePostureCheckURL) StringFull ¶
func (o *UpdatePostureCheckURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdatePostureCheckURL) WithBasePath ¶
func (o *UpdatePostureCheckURL) WithBasePath(bp string) *UpdatePostureCheckURL
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 UpdatePostureCheckUnauthorized ¶
type UpdatePostureCheckUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
UpdatePostureCheckUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response updatePostureCheckUnauthorized
func NewUpdatePostureCheckUnauthorized ¶
func NewUpdatePostureCheckUnauthorized() *UpdatePostureCheckUnauthorized
NewUpdatePostureCheckUnauthorized creates UpdatePostureCheckUnauthorized with default headers values
func (*UpdatePostureCheckUnauthorized) SetPayload ¶
func (o *UpdatePostureCheckUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the update posture check unauthorized response
func (*UpdatePostureCheckUnauthorized) WithPayload ¶
func (o *UpdatePostureCheckUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdatePostureCheckUnauthorized
WithPayload adds the payload to the update posture check unauthorized response
func (*UpdatePostureCheckUnauthorized) WriteResponse ¶
func (o *UpdatePostureCheckUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- create_posture_check.go
- create_posture_check_parameters.go
- create_posture_check_responses.go
- create_posture_check_urlbuilder.go
- create_posture_response.go
- create_posture_response_bulk.go
- create_posture_response_bulk_parameters.go
- create_posture_response_bulk_responses.go
- create_posture_response_bulk_urlbuilder.go
- create_posture_response_parameters.go
- create_posture_response_responses.go
- create_posture_response_urlbuilder.go
- delete_posture_check.go
- delete_posture_check_parameters.go
- delete_posture_check_responses.go
- delete_posture_check_urlbuilder.go
- detail_posture_check.go
- detail_posture_check_parameters.go
- detail_posture_check_responses.go
- detail_posture_check_type.go
- detail_posture_check_type_parameters.go
- detail_posture_check_type_responses.go
- detail_posture_check_type_urlbuilder.go
- detail_posture_check_urlbuilder.go
- list_posture_check_types.go
- list_posture_check_types_parameters.go
- list_posture_check_types_responses.go
- list_posture_check_types_urlbuilder.go
- list_posture_checks.go
- list_posture_checks_parameters.go
- list_posture_checks_responses.go
- list_posture_checks_urlbuilder.go
- patch_posture_check.go
- patch_posture_check_parameters.go
- patch_posture_check_responses.go
- patch_posture_check_urlbuilder.go
- update_posture_check.go
- update_posture_check_parameters.go
- update_posture_check_responses.go
- update_posture_check_urlbuilder.go