Documentation ¶
Index ¶
- Constants
- type CreateServicePolicy
- type CreateServicePolicyBadRequest
- func (o *CreateServicePolicyBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *CreateServicePolicyBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateServicePolicyBadRequest
- func (o *CreateServicePolicyBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateServicePolicyCreated
- type CreateServicePolicyHandler
- type CreateServicePolicyHandlerFunc
- type CreateServicePolicyParams
- type CreateServicePolicyURL
- func (o *CreateServicePolicyURL) Build() (*url.URL, error)
- func (o *CreateServicePolicyURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateServicePolicyURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateServicePolicyURL) SetBasePath(bp string)
- func (o *CreateServicePolicyURL) String() string
- func (o *CreateServicePolicyURL) StringFull(scheme, host string) string
- func (o *CreateServicePolicyURL) WithBasePath(bp string) *CreateServicePolicyURL
- type CreateServicePolicyUnauthorized
- func (o *CreateServicePolicyUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *CreateServicePolicyUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateServicePolicyUnauthorized
- func (o *CreateServicePolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteServicePolicy
- type DeleteServicePolicyBadRequest
- func (o *DeleteServicePolicyBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DeleteServicePolicyBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteServicePolicyBadRequest
- func (o *DeleteServicePolicyBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteServicePolicyConflict
- func (o *DeleteServicePolicyConflict) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DeleteServicePolicyConflict) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteServicePolicyConflict
- func (o *DeleteServicePolicyConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteServicePolicyHandler
- type DeleteServicePolicyHandlerFunc
- type DeleteServicePolicyOK
- type DeleteServicePolicyParams
- type DeleteServicePolicyURL
- func (o *DeleteServicePolicyURL) Build() (*url.URL, error)
- func (o *DeleteServicePolicyURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteServicePolicyURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteServicePolicyURL) SetBasePath(bp string)
- func (o *DeleteServicePolicyURL) String() string
- func (o *DeleteServicePolicyURL) StringFull(scheme, host string) string
- func (o *DeleteServicePolicyURL) WithBasePath(bp string) *DeleteServicePolicyURL
- type DeleteServicePolicyUnauthorized
- func (o *DeleteServicePolicyUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DeleteServicePolicyUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteServicePolicyUnauthorized
- func (o *DeleteServicePolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DetailServicePolicy
- type DetailServicePolicyHandler
- type DetailServicePolicyHandlerFunc
- type DetailServicePolicyNotFound
- func (o *DetailServicePolicyNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DetailServicePolicyNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailServicePolicyNotFound
- func (o *DetailServicePolicyNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DetailServicePolicyOK
- func (o *DetailServicePolicyOK) SetPayload(payload *rest_model.DetailServicePolicyEnvelop)
- func (o *DetailServicePolicyOK) WithPayload(payload *rest_model.DetailServicePolicyEnvelop) *DetailServicePolicyOK
- func (o *DetailServicePolicyOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DetailServicePolicyParams
- type DetailServicePolicyURL
- func (o *DetailServicePolicyURL) Build() (*url.URL, error)
- func (o *DetailServicePolicyURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DetailServicePolicyURL) Must(u *url.URL, err error) *url.URL
- func (o *DetailServicePolicyURL) SetBasePath(bp string)
- func (o *DetailServicePolicyURL) String() string
- func (o *DetailServicePolicyURL) StringFull(scheme, host string) string
- func (o *DetailServicePolicyURL) WithBasePath(bp string) *DetailServicePolicyURL
- type DetailServicePolicyUnauthorized
- func (o *DetailServicePolicyUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DetailServicePolicyUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailServicePolicyUnauthorized
- func (o *DetailServicePolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServicePolicies
- type ListServicePoliciesHandler
- type ListServicePoliciesHandlerFunc
- type ListServicePoliciesOK
- func (o *ListServicePoliciesOK) SetPayload(payload *rest_model.ListServicePoliciesEnvelope)
- func (o *ListServicePoliciesOK) WithPayload(payload *rest_model.ListServicePoliciesEnvelope) *ListServicePoliciesOK
- func (o *ListServicePoliciesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServicePoliciesParams
- type ListServicePoliciesURL
- func (o *ListServicePoliciesURL) Build() (*url.URL, error)
- func (o *ListServicePoliciesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListServicePoliciesURL) Must(u *url.URL, err error) *url.URL
- func (o *ListServicePoliciesURL) SetBasePath(bp string)
- func (o *ListServicePoliciesURL) String() string
- func (o *ListServicePoliciesURL) StringFull(scheme, host string) string
- func (o *ListServicePoliciesURL) WithBasePath(bp string) *ListServicePoliciesURL
- type ListServicePoliciesUnauthorized
- func (o *ListServicePoliciesUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListServicePoliciesUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServicePoliciesUnauthorized
- func (o *ListServicePoliciesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServicePolicyIdentities
- type ListServicePolicyIdentitiesBadRequest
- func (o *ListServicePolicyIdentitiesBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListServicePolicyIdentitiesBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServicePolicyIdentitiesBadRequest
- func (o *ListServicePolicyIdentitiesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServicePolicyIdentitiesHandler
- type ListServicePolicyIdentitiesHandlerFunc
- type ListServicePolicyIdentitiesOK
- func (o *ListServicePolicyIdentitiesOK) SetPayload(payload *rest_model.ListIdentitiesEnvelope)
- func (o *ListServicePolicyIdentitiesOK) WithPayload(payload *rest_model.ListIdentitiesEnvelope) *ListServicePolicyIdentitiesOK
- func (o *ListServicePolicyIdentitiesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServicePolicyIdentitiesParams
- type ListServicePolicyIdentitiesURL
- func (o *ListServicePolicyIdentitiesURL) Build() (*url.URL, error)
- func (o *ListServicePolicyIdentitiesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListServicePolicyIdentitiesURL) Must(u *url.URL, err error) *url.URL
- func (o *ListServicePolicyIdentitiesURL) SetBasePath(bp string)
- func (o *ListServicePolicyIdentitiesURL) String() string
- func (o *ListServicePolicyIdentitiesURL) StringFull(scheme, host string) string
- func (o *ListServicePolicyIdentitiesURL) WithBasePath(bp string) *ListServicePolicyIdentitiesURL
- type ListServicePolicyIdentitiesUnauthorized
- func (o *ListServicePolicyIdentitiesUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListServicePolicyIdentitiesUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServicePolicyIdentitiesUnauthorized
- func (o *ListServicePolicyIdentitiesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServicePolicyPostureChecks
- type ListServicePolicyPostureChecksBadRequest
- func (o *ListServicePolicyPostureChecksBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListServicePolicyPostureChecksBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServicePolicyPostureChecksBadRequest
- func (o *ListServicePolicyPostureChecksBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServicePolicyPostureChecksHandler
- type ListServicePolicyPostureChecksHandlerFunc
- type ListServicePolicyPostureChecksOK
- func (o *ListServicePolicyPostureChecksOK) SetPayload(payload *rest_model.ListPostureCheckEnvelope)
- func (o *ListServicePolicyPostureChecksOK) WithPayload(payload *rest_model.ListPostureCheckEnvelope) *ListServicePolicyPostureChecksOK
- func (o *ListServicePolicyPostureChecksOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServicePolicyPostureChecksParams
- type ListServicePolicyPostureChecksURL
- func (o *ListServicePolicyPostureChecksURL) Build() (*url.URL, error)
- func (o *ListServicePolicyPostureChecksURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListServicePolicyPostureChecksURL) Must(u *url.URL, err error) *url.URL
- func (o *ListServicePolicyPostureChecksURL) SetBasePath(bp string)
- func (o *ListServicePolicyPostureChecksURL) String() string
- func (o *ListServicePolicyPostureChecksURL) StringFull(scheme, host string) string
- func (o *ListServicePolicyPostureChecksURL) WithBasePath(bp string) *ListServicePolicyPostureChecksURL
- type ListServicePolicyPostureChecksUnauthorized
- func (o *ListServicePolicyPostureChecksUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListServicePolicyPostureChecksUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServicePolicyPostureChecksUnauthorized
- func (o *ListServicePolicyPostureChecksUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServicePolicyServices
- type ListServicePolicyServicesBadRequest
- func (o *ListServicePolicyServicesBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListServicePolicyServicesBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServicePolicyServicesBadRequest
- func (o *ListServicePolicyServicesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServicePolicyServicesHandler
- type ListServicePolicyServicesHandlerFunc
- type ListServicePolicyServicesOK
- func (o *ListServicePolicyServicesOK) SetPayload(payload *rest_model.ListServicesEnvelope)
- func (o *ListServicePolicyServicesOK) WithPayload(payload *rest_model.ListServicesEnvelope) *ListServicePolicyServicesOK
- func (o *ListServicePolicyServicesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListServicePolicyServicesParams
- type ListServicePolicyServicesURL
- func (o *ListServicePolicyServicesURL) Build() (*url.URL, error)
- func (o *ListServicePolicyServicesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListServicePolicyServicesURL) Must(u *url.URL, err error) *url.URL
- func (o *ListServicePolicyServicesURL) SetBasePath(bp string)
- func (o *ListServicePolicyServicesURL) String() string
- func (o *ListServicePolicyServicesURL) StringFull(scheme, host string) string
- func (o *ListServicePolicyServicesURL) WithBasePath(bp string) *ListServicePolicyServicesURL
- type ListServicePolicyServicesUnauthorized
- func (o *ListServicePolicyServicesUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListServicePolicyServicesUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServicePolicyServicesUnauthorized
- func (o *ListServicePolicyServicesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PatchServicePolicy
- type PatchServicePolicyBadRequest
- func (o *PatchServicePolicyBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *PatchServicePolicyBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchServicePolicyBadRequest
- func (o *PatchServicePolicyBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PatchServicePolicyHandler
- type PatchServicePolicyHandlerFunc
- type PatchServicePolicyNotFound
- func (o *PatchServicePolicyNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *PatchServicePolicyNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchServicePolicyNotFound
- func (o *PatchServicePolicyNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PatchServicePolicyOK
- type PatchServicePolicyParams
- type PatchServicePolicyURL
- func (o *PatchServicePolicyURL) Build() (*url.URL, error)
- func (o *PatchServicePolicyURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PatchServicePolicyURL) Must(u *url.URL, err error) *url.URL
- func (o *PatchServicePolicyURL) SetBasePath(bp string)
- func (o *PatchServicePolicyURL) String() string
- func (o *PatchServicePolicyURL) StringFull(scheme, host string) string
- func (o *PatchServicePolicyURL) WithBasePath(bp string) *PatchServicePolicyURL
- type PatchServicePolicyUnauthorized
- func (o *PatchServicePolicyUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *PatchServicePolicyUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchServicePolicyUnauthorized
- func (o *PatchServicePolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateServicePolicy
- type UpdateServicePolicyBadRequest
- func (o *UpdateServicePolicyBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *UpdateServicePolicyBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateServicePolicyBadRequest
- func (o *UpdateServicePolicyBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateServicePolicyHandler
- type UpdateServicePolicyHandlerFunc
- type UpdateServicePolicyNotFound
- func (o *UpdateServicePolicyNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *UpdateServicePolicyNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateServicePolicyNotFound
- func (o *UpdateServicePolicyNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateServicePolicyOK
- type UpdateServicePolicyParams
- type UpdateServicePolicyURL
- func (o *UpdateServicePolicyURL) Build() (*url.URL, error)
- func (o *UpdateServicePolicyURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateServicePolicyURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateServicePolicyURL) SetBasePath(bp string)
- func (o *UpdateServicePolicyURL) String() string
- func (o *UpdateServicePolicyURL) StringFull(scheme, host string) string
- func (o *UpdateServicePolicyURL) WithBasePath(bp string) *UpdateServicePolicyURL
- type UpdateServicePolicyUnauthorized
- func (o *UpdateServicePolicyUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *UpdateServicePolicyUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateServicePolicyUnauthorized
- func (o *UpdateServicePolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const CreateServicePolicyBadRequestCode int = 400
CreateServicePolicyBadRequestCode is the HTTP code returned for type CreateServicePolicyBadRequest
const CreateServicePolicyCreatedCode int = 201
CreateServicePolicyCreatedCode is the HTTP code returned for type CreateServicePolicyCreated
CreateServicePolicyUnauthorizedCode is the HTTP code returned for type CreateServicePolicyUnauthorized
const DeleteServicePolicyBadRequestCode int = 400
DeleteServicePolicyBadRequestCode is the HTTP code returned for type DeleteServicePolicyBadRequest
const DeleteServicePolicyConflictCode int = 409
DeleteServicePolicyConflictCode is the HTTP code returned for type DeleteServicePolicyConflict
const DeleteServicePolicyOKCode int = 200
DeleteServicePolicyOKCode is the HTTP code returned for type DeleteServicePolicyOK
DeleteServicePolicyUnauthorizedCode is the HTTP code returned for type DeleteServicePolicyUnauthorized
const DetailServicePolicyNotFoundCode int = 404
DetailServicePolicyNotFoundCode is the HTTP code returned for type DetailServicePolicyNotFound
const DetailServicePolicyOKCode int = 200
DetailServicePolicyOKCode is the HTTP code returned for type DetailServicePolicyOK
DetailServicePolicyUnauthorizedCode is the HTTP code returned for type DetailServicePolicyUnauthorized
const ListServicePoliciesOKCode int = 200
ListServicePoliciesOKCode is the HTTP code returned for type ListServicePoliciesOK
ListServicePoliciesUnauthorizedCode is the HTTP code returned for type ListServicePoliciesUnauthorized
const ListServicePolicyIdentitiesBadRequestCode int = 400
ListServicePolicyIdentitiesBadRequestCode is the HTTP code returned for type ListServicePolicyIdentitiesBadRequest
const ListServicePolicyIdentitiesOKCode int = 200
ListServicePolicyIdentitiesOKCode is the HTTP code returned for type ListServicePolicyIdentitiesOK
ListServicePolicyIdentitiesUnauthorizedCode is the HTTP code returned for type ListServicePolicyIdentitiesUnauthorized
const ListServicePolicyPostureChecksBadRequestCode int = 400
ListServicePolicyPostureChecksBadRequestCode is the HTTP code returned for type ListServicePolicyPostureChecksBadRequest
const ListServicePolicyPostureChecksOKCode int = 200
ListServicePolicyPostureChecksOKCode is the HTTP code returned for type ListServicePolicyPostureChecksOK
ListServicePolicyPostureChecksUnauthorizedCode is the HTTP code returned for type ListServicePolicyPostureChecksUnauthorized
const ListServicePolicyServicesBadRequestCode int = 400
ListServicePolicyServicesBadRequestCode is the HTTP code returned for type ListServicePolicyServicesBadRequest
const ListServicePolicyServicesOKCode int = 200
ListServicePolicyServicesOKCode is the HTTP code returned for type ListServicePolicyServicesOK
ListServicePolicyServicesUnauthorizedCode is the HTTP code returned for type ListServicePolicyServicesUnauthorized
const PatchServicePolicyBadRequestCode int = 400
PatchServicePolicyBadRequestCode is the HTTP code returned for type PatchServicePolicyBadRequest
const PatchServicePolicyNotFoundCode int = 404
PatchServicePolicyNotFoundCode is the HTTP code returned for type PatchServicePolicyNotFound
const PatchServicePolicyOKCode int = 200
PatchServicePolicyOKCode is the HTTP code returned for type PatchServicePolicyOK
PatchServicePolicyUnauthorizedCode is the HTTP code returned for type PatchServicePolicyUnauthorized
const UpdateServicePolicyBadRequestCode int = 400
UpdateServicePolicyBadRequestCode is the HTTP code returned for type UpdateServicePolicyBadRequest
const UpdateServicePolicyNotFoundCode int = 404
UpdateServicePolicyNotFoundCode is the HTTP code returned for type UpdateServicePolicyNotFound
const UpdateServicePolicyOKCode int = 200
UpdateServicePolicyOKCode is the HTTP code returned for type UpdateServicePolicyOK
UpdateServicePolicyUnauthorizedCode is the HTTP code returned for type UpdateServicePolicyUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateServicePolicy ¶
type CreateServicePolicy struct { Context *middleware.Context Handler CreateServicePolicyHandler }
CreateServicePolicy swagger:route POST /service-policies Service Policy createServicePolicy
Create a service policy resource ¶
Create a service policy resource. Requires admin access.
func NewCreateServicePolicy ¶
func NewCreateServicePolicy(ctx *middleware.Context, handler CreateServicePolicyHandler) *CreateServicePolicy
NewCreateServicePolicy creates a new http.Handler for the create service policy operation
func (*CreateServicePolicy) ServeHTTP ¶
func (o *CreateServicePolicy) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateServicePolicyBadRequest ¶
type CreateServicePolicyBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
CreateServicePolicyBadRequest 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 createServicePolicyBadRequest
func NewCreateServicePolicyBadRequest ¶
func NewCreateServicePolicyBadRequest() *CreateServicePolicyBadRequest
NewCreateServicePolicyBadRequest creates CreateServicePolicyBadRequest with default headers values
func (*CreateServicePolicyBadRequest) SetPayload ¶
func (o *CreateServicePolicyBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create service policy bad request response
func (*CreateServicePolicyBadRequest) WithPayload ¶
func (o *CreateServicePolicyBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateServicePolicyBadRequest
WithPayload adds the payload to the create service policy bad request response
func (*CreateServicePolicyBadRequest) WriteResponse ¶
func (o *CreateServicePolicyBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateServicePolicyCreated ¶ added in v0.17.52
type CreateServicePolicyCreated struct { /* In: Body */ Payload *rest_model.CreateEnvelope `json:"body,omitempty"` }
CreateServicePolicyCreated The create request was successful and the resource has been added at the following location
swagger:response createServicePolicyCreated
func NewCreateServicePolicyCreated ¶ added in v0.17.52
func NewCreateServicePolicyCreated() *CreateServicePolicyCreated
NewCreateServicePolicyCreated creates CreateServicePolicyCreated with default headers values
func (*CreateServicePolicyCreated) SetPayload ¶ added in v0.17.52
func (o *CreateServicePolicyCreated) SetPayload(payload *rest_model.CreateEnvelope)
SetPayload sets the payload to the create service policy created response
func (*CreateServicePolicyCreated) WithPayload ¶ added in v0.17.52
func (o *CreateServicePolicyCreated) WithPayload(payload *rest_model.CreateEnvelope) *CreateServicePolicyCreated
WithPayload adds the payload to the create service policy created response
func (*CreateServicePolicyCreated) WriteResponse ¶ added in v0.17.52
func (o *CreateServicePolicyCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateServicePolicyHandler ¶
type CreateServicePolicyHandler interface {
Handle(CreateServicePolicyParams, interface{}) middleware.Responder
}
CreateServicePolicyHandler interface for that can handle valid create service policy params
type CreateServicePolicyHandlerFunc ¶
type CreateServicePolicyHandlerFunc func(CreateServicePolicyParams, interface{}) middleware.Responder
CreateServicePolicyHandlerFunc turns a function with the right signature into a create service policy handler
func (CreateServicePolicyHandlerFunc) Handle ¶
func (fn CreateServicePolicyHandlerFunc) Handle(params CreateServicePolicyParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type CreateServicePolicyParams ¶
type CreateServicePolicyParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*A service policy to create Required: true In: body */ Policy *rest_model.ServicePolicyCreate }
CreateServicePolicyParams contains all the bound params for the create service policy operation typically these are obtained from a http.Request
swagger:parameters createServicePolicy
func NewCreateServicePolicyParams ¶
func NewCreateServicePolicyParams() CreateServicePolicyParams
NewCreateServicePolicyParams creates a new CreateServicePolicyParams object no default values defined in spec.
func (*CreateServicePolicyParams) BindRequest ¶
func (o *CreateServicePolicyParams) 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 NewCreateServicePolicyParams() beforehand.
type CreateServicePolicyURL ¶
type CreateServicePolicyURL struct {
// contains filtered or unexported fields
}
CreateServicePolicyURL generates an URL for the create service policy operation
func (*CreateServicePolicyURL) Build ¶
func (o *CreateServicePolicyURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateServicePolicyURL) BuildFull ¶
func (o *CreateServicePolicyURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateServicePolicyURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateServicePolicyURL) SetBasePath ¶
func (o *CreateServicePolicyURL) 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 (*CreateServicePolicyURL) String ¶
func (o *CreateServicePolicyURL) String() string
String returns the string representation of the path with query string
func (*CreateServicePolicyURL) StringFull ¶
func (o *CreateServicePolicyURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateServicePolicyURL) WithBasePath ¶
func (o *CreateServicePolicyURL) WithBasePath(bp string) *CreateServicePolicyURL
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 CreateServicePolicyUnauthorized ¶
type CreateServicePolicyUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
CreateServicePolicyUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response createServicePolicyUnauthorized
func NewCreateServicePolicyUnauthorized ¶
func NewCreateServicePolicyUnauthorized() *CreateServicePolicyUnauthorized
NewCreateServicePolicyUnauthorized creates CreateServicePolicyUnauthorized with default headers values
func (*CreateServicePolicyUnauthorized) SetPayload ¶
func (o *CreateServicePolicyUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create service policy unauthorized response
func (*CreateServicePolicyUnauthorized) WithPayload ¶
func (o *CreateServicePolicyUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateServicePolicyUnauthorized
WithPayload adds the payload to the create service policy unauthorized response
func (*CreateServicePolicyUnauthorized) WriteResponse ¶
func (o *CreateServicePolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteServicePolicy ¶
type DeleteServicePolicy struct { Context *middleware.Context Handler DeleteServicePolicyHandler }
DeleteServicePolicy swagger:route DELETE /service-policies/{id} Service Policy deleteServicePolicy
Delete a service policy ¶
Delete a service policy by id. Requires admin access.
func NewDeleteServicePolicy ¶
func NewDeleteServicePolicy(ctx *middleware.Context, handler DeleteServicePolicyHandler) *DeleteServicePolicy
NewDeleteServicePolicy creates a new http.Handler for the delete service policy operation
func (*DeleteServicePolicy) ServeHTTP ¶
func (o *DeleteServicePolicy) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteServicePolicyBadRequest ¶
type DeleteServicePolicyBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DeleteServicePolicyBadRequest 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 deleteServicePolicyBadRequest
func NewDeleteServicePolicyBadRequest ¶
func NewDeleteServicePolicyBadRequest() *DeleteServicePolicyBadRequest
NewDeleteServicePolicyBadRequest creates DeleteServicePolicyBadRequest with default headers values
func (*DeleteServicePolicyBadRequest) SetPayload ¶
func (o *DeleteServicePolicyBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the delete service policy bad request response
func (*DeleteServicePolicyBadRequest) WithPayload ¶
func (o *DeleteServicePolicyBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteServicePolicyBadRequest
WithPayload adds the payload to the delete service policy bad request response
func (*DeleteServicePolicyBadRequest) WriteResponse ¶
func (o *DeleteServicePolicyBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteServicePolicyConflict ¶
type DeleteServicePolicyConflict struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DeleteServicePolicyConflict The resource requested to be removed/altered cannot be as it is referenced by another object.
swagger:response deleteServicePolicyConflict
func NewDeleteServicePolicyConflict ¶
func NewDeleteServicePolicyConflict() *DeleteServicePolicyConflict
NewDeleteServicePolicyConflict creates DeleteServicePolicyConflict with default headers values
func (*DeleteServicePolicyConflict) SetPayload ¶
func (o *DeleteServicePolicyConflict) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the delete service policy conflict response
func (*DeleteServicePolicyConflict) WithPayload ¶
func (o *DeleteServicePolicyConflict) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteServicePolicyConflict
WithPayload adds the payload to the delete service policy conflict response
func (*DeleteServicePolicyConflict) WriteResponse ¶
func (o *DeleteServicePolicyConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteServicePolicyHandler ¶
type DeleteServicePolicyHandler interface {
Handle(DeleteServicePolicyParams, interface{}) middleware.Responder
}
DeleteServicePolicyHandler interface for that can handle valid delete service policy params
type DeleteServicePolicyHandlerFunc ¶
type DeleteServicePolicyHandlerFunc func(DeleteServicePolicyParams, interface{}) middleware.Responder
DeleteServicePolicyHandlerFunc turns a function with the right signature into a delete service policy handler
func (DeleteServicePolicyHandlerFunc) Handle ¶
func (fn DeleteServicePolicyHandlerFunc) Handle(params DeleteServicePolicyParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DeleteServicePolicyOK ¶
type DeleteServicePolicyOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
DeleteServicePolicyOK The delete request was successful and the resource has been removed
swagger:response deleteServicePolicyOK
func NewDeleteServicePolicyOK ¶
func NewDeleteServicePolicyOK() *DeleteServicePolicyOK
NewDeleteServicePolicyOK creates DeleteServicePolicyOK with default headers values
func (*DeleteServicePolicyOK) SetPayload ¶
func (o *DeleteServicePolicyOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the delete service policy o k response
func (*DeleteServicePolicyOK) WithPayload ¶
func (o *DeleteServicePolicyOK) WithPayload(payload *rest_model.Empty) *DeleteServicePolicyOK
WithPayload adds the payload to the delete service policy o k response
func (*DeleteServicePolicyOK) WriteResponse ¶
func (o *DeleteServicePolicyOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteServicePolicyParams ¶
type DeleteServicePolicyParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The id of the requested resource Required: true In: path */ ID string }
DeleteServicePolicyParams contains all the bound params for the delete service policy operation typically these are obtained from a http.Request
swagger:parameters deleteServicePolicy
func NewDeleteServicePolicyParams ¶
func NewDeleteServicePolicyParams() DeleteServicePolicyParams
NewDeleteServicePolicyParams creates a new DeleteServicePolicyParams object no default values defined in spec.
func (*DeleteServicePolicyParams) BindRequest ¶
func (o *DeleteServicePolicyParams) 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 NewDeleteServicePolicyParams() beforehand.
type DeleteServicePolicyURL ¶
type DeleteServicePolicyURL struct { ID string // contains filtered or unexported fields }
DeleteServicePolicyURL generates an URL for the delete service policy operation
func (*DeleteServicePolicyURL) Build ¶
func (o *DeleteServicePolicyURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteServicePolicyURL) BuildFull ¶
func (o *DeleteServicePolicyURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteServicePolicyURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteServicePolicyURL) SetBasePath ¶
func (o *DeleteServicePolicyURL) 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 (*DeleteServicePolicyURL) String ¶
func (o *DeleteServicePolicyURL) String() string
String returns the string representation of the path with query string
func (*DeleteServicePolicyURL) StringFull ¶
func (o *DeleteServicePolicyURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteServicePolicyURL) WithBasePath ¶
func (o *DeleteServicePolicyURL) WithBasePath(bp string) *DeleteServicePolicyURL
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 DeleteServicePolicyUnauthorized ¶
type DeleteServicePolicyUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
DeleteServicePolicyUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response deleteServicePolicyUnauthorized
func NewDeleteServicePolicyUnauthorized ¶
func NewDeleteServicePolicyUnauthorized() *DeleteServicePolicyUnauthorized
NewDeleteServicePolicyUnauthorized creates DeleteServicePolicyUnauthorized with default headers values
func (*DeleteServicePolicyUnauthorized) SetPayload ¶
func (o *DeleteServicePolicyUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the delete service policy unauthorized response
func (*DeleteServicePolicyUnauthorized) WithPayload ¶
func (o *DeleteServicePolicyUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteServicePolicyUnauthorized
WithPayload adds the payload to the delete service policy unauthorized response
func (*DeleteServicePolicyUnauthorized) WriteResponse ¶
func (o *DeleteServicePolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailServicePolicy ¶
type DetailServicePolicy struct { Context *middleware.Context Handler DetailServicePolicyHandler }
DetailServicePolicy swagger:route GET /service-policies/{id} Service Policy detailServicePolicy
Retrieves a single service policy ¶
Retrieves a single service policy by id. Requires admin access.
func NewDetailServicePolicy ¶
func NewDetailServicePolicy(ctx *middleware.Context, handler DetailServicePolicyHandler) *DetailServicePolicy
NewDetailServicePolicy creates a new http.Handler for the detail service policy operation
func (*DetailServicePolicy) ServeHTTP ¶
func (o *DetailServicePolicy) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DetailServicePolicyHandler ¶
type DetailServicePolicyHandler interface {
Handle(DetailServicePolicyParams, interface{}) middleware.Responder
}
DetailServicePolicyHandler interface for that can handle valid detail service policy params
type DetailServicePolicyHandlerFunc ¶
type DetailServicePolicyHandlerFunc func(DetailServicePolicyParams, interface{}) middleware.Responder
DetailServicePolicyHandlerFunc turns a function with the right signature into a detail service policy handler
func (DetailServicePolicyHandlerFunc) Handle ¶
func (fn DetailServicePolicyHandlerFunc) Handle(params DetailServicePolicyParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DetailServicePolicyNotFound ¶
type DetailServicePolicyNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DetailServicePolicyNotFound The requested resource does not exist
swagger:response detailServicePolicyNotFound
func NewDetailServicePolicyNotFound ¶
func NewDetailServicePolicyNotFound() *DetailServicePolicyNotFound
NewDetailServicePolicyNotFound creates DetailServicePolicyNotFound with default headers values
func (*DetailServicePolicyNotFound) SetPayload ¶
func (o *DetailServicePolicyNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail service policy not found response
func (*DetailServicePolicyNotFound) WithPayload ¶
func (o *DetailServicePolicyNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailServicePolicyNotFound
WithPayload adds the payload to the detail service policy not found response
func (*DetailServicePolicyNotFound) WriteResponse ¶
func (o *DetailServicePolicyNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailServicePolicyOK ¶
type DetailServicePolicyOK struct { /* In: Body */ Payload *rest_model.DetailServicePolicyEnvelop `json:"body,omitempty"` }
DetailServicePolicyOK A single service policy
swagger:response detailServicePolicyOK
func NewDetailServicePolicyOK ¶
func NewDetailServicePolicyOK() *DetailServicePolicyOK
NewDetailServicePolicyOK creates DetailServicePolicyOK with default headers values
func (*DetailServicePolicyOK) SetPayload ¶
func (o *DetailServicePolicyOK) SetPayload(payload *rest_model.DetailServicePolicyEnvelop)
SetPayload sets the payload to the detail service policy o k response
func (*DetailServicePolicyOK) WithPayload ¶
func (o *DetailServicePolicyOK) WithPayload(payload *rest_model.DetailServicePolicyEnvelop) *DetailServicePolicyOK
WithPayload adds the payload to the detail service policy o k response
func (*DetailServicePolicyOK) WriteResponse ¶
func (o *DetailServicePolicyOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailServicePolicyParams ¶
type DetailServicePolicyParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The id of the requested resource Required: true In: path */ ID string }
DetailServicePolicyParams contains all the bound params for the detail service policy operation typically these are obtained from a http.Request
swagger:parameters detailServicePolicy
func NewDetailServicePolicyParams ¶
func NewDetailServicePolicyParams() DetailServicePolicyParams
NewDetailServicePolicyParams creates a new DetailServicePolicyParams object no default values defined in spec.
func (*DetailServicePolicyParams) BindRequest ¶
func (o *DetailServicePolicyParams) 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 NewDetailServicePolicyParams() beforehand.
type DetailServicePolicyURL ¶
type DetailServicePolicyURL struct { ID string // contains filtered or unexported fields }
DetailServicePolicyURL generates an URL for the detail service policy operation
func (*DetailServicePolicyURL) Build ¶
func (o *DetailServicePolicyURL) Build() (*url.URL, error)
Build a url path and query string
func (*DetailServicePolicyURL) BuildFull ¶
func (o *DetailServicePolicyURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DetailServicePolicyURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DetailServicePolicyURL) SetBasePath ¶
func (o *DetailServicePolicyURL) 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 (*DetailServicePolicyURL) String ¶
func (o *DetailServicePolicyURL) String() string
String returns the string representation of the path with query string
func (*DetailServicePolicyURL) StringFull ¶
func (o *DetailServicePolicyURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DetailServicePolicyURL) WithBasePath ¶
func (o *DetailServicePolicyURL) WithBasePath(bp string) *DetailServicePolicyURL
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 DetailServicePolicyUnauthorized ¶
type DetailServicePolicyUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
DetailServicePolicyUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response detailServicePolicyUnauthorized
func NewDetailServicePolicyUnauthorized ¶
func NewDetailServicePolicyUnauthorized() *DetailServicePolicyUnauthorized
NewDetailServicePolicyUnauthorized creates DetailServicePolicyUnauthorized with default headers values
func (*DetailServicePolicyUnauthorized) SetPayload ¶
func (o *DetailServicePolicyUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail service policy unauthorized response
func (*DetailServicePolicyUnauthorized) WithPayload ¶
func (o *DetailServicePolicyUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailServicePolicyUnauthorized
WithPayload adds the payload to the detail service policy unauthorized response
func (*DetailServicePolicyUnauthorized) WriteResponse ¶
func (o *DetailServicePolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServicePolicies ¶
type ListServicePolicies struct { Context *middleware.Context Handler ListServicePoliciesHandler }
ListServicePolicies swagger:route GET /service-policies Service Policy listServicePolicies
List service policies ¶
Retrieves a list of service policy resources; supports filtering, sorting, and pagination. Requires admin access.
func NewListServicePolicies ¶
func NewListServicePolicies(ctx *middleware.Context, handler ListServicePoliciesHandler) *ListServicePolicies
NewListServicePolicies creates a new http.Handler for the list service policies operation
func (*ListServicePolicies) ServeHTTP ¶
func (o *ListServicePolicies) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListServicePoliciesHandler ¶
type ListServicePoliciesHandler interface {
Handle(ListServicePoliciesParams, interface{}) middleware.Responder
}
ListServicePoliciesHandler interface for that can handle valid list service policies params
type ListServicePoliciesHandlerFunc ¶
type ListServicePoliciesHandlerFunc func(ListServicePoliciesParams, interface{}) middleware.Responder
ListServicePoliciesHandlerFunc turns a function with the right signature into a list service policies handler
func (ListServicePoliciesHandlerFunc) Handle ¶
func (fn ListServicePoliciesHandlerFunc) Handle(params ListServicePoliciesParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ListServicePoliciesOK ¶
type ListServicePoliciesOK struct { /* In: Body */ Payload *rest_model.ListServicePoliciesEnvelope `json:"body,omitempty"` }
ListServicePoliciesOK A list of service policies
swagger:response listServicePoliciesOK
func NewListServicePoliciesOK ¶
func NewListServicePoliciesOK() *ListServicePoliciesOK
NewListServicePoliciesOK creates ListServicePoliciesOK with default headers values
func (*ListServicePoliciesOK) SetPayload ¶
func (o *ListServicePoliciesOK) SetPayload(payload *rest_model.ListServicePoliciesEnvelope)
SetPayload sets the payload to the list service policies o k response
func (*ListServicePoliciesOK) WithPayload ¶
func (o *ListServicePoliciesOK) WithPayload(payload *rest_model.ListServicePoliciesEnvelope) *ListServicePoliciesOK
WithPayload adds the payload to the list service policies o k response
func (*ListServicePoliciesOK) WriteResponse ¶
func (o *ListServicePoliciesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServicePoliciesParams ¶
type ListServicePoliciesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ Filter *string /* In: query */ Limit *int64 /* In: query */ Offset *int64 }
ListServicePoliciesParams contains all the bound params for the list service policies operation typically these are obtained from a http.Request
swagger:parameters listServicePolicies
func NewListServicePoliciesParams ¶
func NewListServicePoliciesParams() ListServicePoliciesParams
NewListServicePoliciesParams creates a new ListServicePoliciesParams object no default values defined in spec.
func (*ListServicePoliciesParams) BindRequest ¶
func (o *ListServicePoliciesParams) 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 NewListServicePoliciesParams() beforehand.
type ListServicePoliciesURL ¶
type ListServicePoliciesURL struct { Filter *string Limit *int64 Offset *int64 // contains filtered or unexported fields }
ListServicePoliciesURL generates an URL for the list service policies operation
func (*ListServicePoliciesURL) Build ¶
func (o *ListServicePoliciesURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListServicePoliciesURL) BuildFull ¶
func (o *ListServicePoliciesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListServicePoliciesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListServicePoliciesURL) SetBasePath ¶
func (o *ListServicePoliciesURL) 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 (*ListServicePoliciesURL) String ¶
func (o *ListServicePoliciesURL) String() string
String returns the string representation of the path with query string
func (*ListServicePoliciesURL) StringFull ¶
func (o *ListServicePoliciesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListServicePoliciesURL) WithBasePath ¶
func (o *ListServicePoliciesURL) WithBasePath(bp string) *ListServicePoliciesURL
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 ListServicePoliciesUnauthorized ¶
type ListServicePoliciesUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
ListServicePoliciesUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response listServicePoliciesUnauthorized
func NewListServicePoliciesUnauthorized ¶
func NewListServicePoliciesUnauthorized() *ListServicePoliciesUnauthorized
NewListServicePoliciesUnauthorized creates ListServicePoliciesUnauthorized with default headers values
func (*ListServicePoliciesUnauthorized) SetPayload ¶
func (o *ListServicePoliciesUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list service policies unauthorized response
func (*ListServicePoliciesUnauthorized) WithPayload ¶
func (o *ListServicePoliciesUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServicePoliciesUnauthorized
WithPayload adds the payload to the list service policies unauthorized response
func (*ListServicePoliciesUnauthorized) WriteResponse ¶
func (o *ListServicePoliciesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServicePolicyIdentities ¶
type ListServicePolicyIdentities struct { Context *middleware.Context Handler ListServicePolicyIdentitiesHandler }
ListServicePolicyIdentities swagger:route GET /service-policies/{id}/identities Service Policy listServicePolicyIdentities
List identities a service policy affects ¶
Retrieves a list of identity resources that are affected by a service policy; supports filtering, sorting, and pagination. Requires admin access.
func NewListServicePolicyIdentities ¶
func NewListServicePolicyIdentities(ctx *middleware.Context, handler ListServicePolicyIdentitiesHandler) *ListServicePolicyIdentities
NewListServicePolicyIdentities creates a new http.Handler for the list service policy identities operation
func (*ListServicePolicyIdentities) ServeHTTP ¶
func (o *ListServicePolicyIdentities) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListServicePolicyIdentitiesBadRequest ¶
type ListServicePolicyIdentitiesBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ListServicePolicyIdentitiesBadRequest The requested resource does not exist
swagger:response listServicePolicyIdentitiesBadRequest
func NewListServicePolicyIdentitiesBadRequest ¶
func NewListServicePolicyIdentitiesBadRequest() *ListServicePolicyIdentitiesBadRequest
NewListServicePolicyIdentitiesBadRequest creates ListServicePolicyIdentitiesBadRequest with default headers values
func (*ListServicePolicyIdentitiesBadRequest) SetPayload ¶
func (o *ListServicePolicyIdentitiesBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list service policy identities bad request response
func (*ListServicePolicyIdentitiesBadRequest) WithPayload ¶
func (o *ListServicePolicyIdentitiesBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServicePolicyIdentitiesBadRequest
WithPayload adds the payload to the list service policy identities bad request response
func (*ListServicePolicyIdentitiesBadRequest) WriteResponse ¶
func (o *ListServicePolicyIdentitiesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServicePolicyIdentitiesHandler ¶
type ListServicePolicyIdentitiesHandler interface {
Handle(ListServicePolicyIdentitiesParams, interface{}) middleware.Responder
}
ListServicePolicyIdentitiesHandler interface for that can handle valid list service policy identities params
type ListServicePolicyIdentitiesHandlerFunc ¶
type ListServicePolicyIdentitiesHandlerFunc func(ListServicePolicyIdentitiesParams, interface{}) middleware.Responder
ListServicePolicyIdentitiesHandlerFunc turns a function with the right signature into a list service policy identities handler
func (ListServicePolicyIdentitiesHandlerFunc) Handle ¶
func (fn ListServicePolicyIdentitiesHandlerFunc) Handle(params ListServicePolicyIdentitiesParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ListServicePolicyIdentitiesOK ¶
type ListServicePolicyIdentitiesOK struct { /* In: Body */ Payload *rest_model.ListIdentitiesEnvelope `json:"body,omitempty"` }
ListServicePolicyIdentitiesOK A list of identities
swagger:response listServicePolicyIdentitiesOK
func NewListServicePolicyIdentitiesOK ¶
func NewListServicePolicyIdentitiesOK() *ListServicePolicyIdentitiesOK
NewListServicePolicyIdentitiesOK creates ListServicePolicyIdentitiesOK with default headers values
func (*ListServicePolicyIdentitiesOK) SetPayload ¶
func (o *ListServicePolicyIdentitiesOK) SetPayload(payload *rest_model.ListIdentitiesEnvelope)
SetPayload sets the payload to the list service policy identities o k response
func (*ListServicePolicyIdentitiesOK) WithPayload ¶
func (o *ListServicePolicyIdentitiesOK) WithPayload(payload *rest_model.ListIdentitiesEnvelope) *ListServicePolicyIdentitiesOK
WithPayload adds the payload to the list service policy identities o k response
func (*ListServicePolicyIdentitiesOK) WriteResponse ¶
func (o *ListServicePolicyIdentitiesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServicePolicyIdentitiesParams ¶
type ListServicePolicyIdentitiesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ Filter *string /*The id of the requested resource Required: true In: path */ ID string /* In: query */ Limit *int64 /* In: query */ Offset *int64 }
ListServicePolicyIdentitiesParams contains all the bound params for the list service policy identities operation typically these are obtained from a http.Request
swagger:parameters listServicePolicyIdentities
func NewListServicePolicyIdentitiesParams ¶
func NewListServicePolicyIdentitiesParams() ListServicePolicyIdentitiesParams
NewListServicePolicyIdentitiesParams creates a new ListServicePolicyIdentitiesParams object no default values defined in spec.
func (*ListServicePolicyIdentitiesParams) BindRequest ¶
func (o *ListServicePolicyIdentitiesParams) 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 NewListServicePolicyIdentitiesParams() beforehand.
type ListServicePolicyIdentitiesURL ¶
type ListServicePolicyIdentitiesURL struct { ID string Filter *string Limit *int64 Offset *int64 // contains filtered or unexported fields }
ListServicePolicyIdentitiesURL generates an URL for the list service policy identities operation
func (*ListServicePolicyIdentitiesURL) Build ¶
func (o *ListServicePolicyIdentitiesURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListServicePolicyIdentitiesURL) BuildFull ¶
func (o *ListServicePolicyIdentitiesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListServicePolicyIdentitiesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListServicePolicyIdentitiesURL) SetBasePath ¶
func (o *ListServicePolicyIdentitiesURL) 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 (*ListServicePolicyIdentitiesURL) String ¶
func (o *ListServicePolicyIdentitiesURL) String() string
String returns the string representation of the path with query string
func (*ListServicePolicyIdentitiesURL) StringFull ¶
func (o *ListServicePolicyIdentitiesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListServicePolicyIdentitiesURL) WithBasePath ¶
func (o *ListServicePolicyIdentitiesURL) WithBasePath(bp string) *ListServicePolicyIdentitiesURL
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 ListServicePolicyIdentitiesUnauthorized ¶
type ListServicePolicyIdentitiesUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
ListServicePolicyIdentitiesUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response listServicePolicyIdentitiesUnauthorized
func NewListServicePolicyIdentitiesUnauthorized ¶
func NewListServicePolicyIdentitiesUnauthorized() *ListServicePolicyIdentitiesUnauthorized
NewListServicePolicyIdentitiesUnauthorized creates ListServicePolicyIdentitiesUnauthorized with default headers values
func (*ListServicePolicyIdentitiesUnauthorized) SetPayload ¶
func (o *ListServicePolicyIdentitiesUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list service policy identities unauthorized response
func (*ListServicePolicyIdentitiesUnauthorized) WithPayload ¶
func (o *ListServicePolicyIdentitiesUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServicePolicyIdentitiesUnauthorized
WithPayload adds the payload to the list service policy identities unauthorized response
func (*ListServicePolicyIdentitiesUnauthorized) WriteResponse ¶
func (o *ListServicePolicyIdentitiesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServicePolicyPostureChecks ¶ added in v0.17.5
type ListServicePolicyPostureChecks struct { Context *middleware.Context Handler ListServicePolicyPostureChecksHandler }
ListServicePolicyPostureChecks swagger:route GET /service-policies/{id}/posture-checks Service Policy listServicePolicyPostureChecks
List posture check a service policy includes ¶
Retrieves a list of posture check resources that are affected by a service policy; supports filtering, sorting, and pagination. Requires admin access.
func NewListServicePolicyPostureChecks ¶ added in v0.17.5
func NewListServicePolicyPostureChecks(ctx *middleware.Context, handler ListServicePolicyPostureChecksHandler) *ListServicePolicyPostureChecks
NewListServicePolicyPostureChecks creates a new http.Handler for the list service policy posture checks operation
func (*ListServicePolicyPostureChecks) ServeHTTP ¶ added in v0.17.5
func (o *ListServicePolicyPostureChecks) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListServicePolicyPostureChecksBadRequest ¶ added in v0.17.5
type ListServicePolicyPostureChecksBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ListServicePolicyPostureChecksBadRequest The requested resource does not exist
swagger:response listServicePolicyPostureChecksBadRequest
func NewListServicePolicyPostureChecksBadRequest ¶ added in v0.17.5
func NewListServicePolicyPostureChecksBadRequest() *ListServicePolicyPostureChecksBadRequest
NewListServicePolicyPostureChecksBadRequest creates ListServicePolicyPostureChecksBadRequest with default headers values
func (*ListServicePolicyPostureChecksBadRequest) SetPayload ¶ added in v0.17.5
func (o *ListServicePolicyPostureChecksBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list service policy posture checks bad request response
func (*ListServicePolicyPostureChecksBadRequest) WithPayload ¶ added in v0.17.5
func (o *ListServicePolicyPostureChecksBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServicePolicyPostureChecksBadRequest
WithPayload adds the payload to the list service policy posture checks bad request response
func (*ListServicePolicyPostureChecksBadRequest) WriteResponse ¶ added in v0.17.5
func (o *ListServicePolicyPostureChecksBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServicePolicyPostureChecksHandler ¶ added in v0.17.5
type ListServicePolicyPostureChecksHandler interface {
Handle(ListServicePolicyPostureChecksParams, interface{}) middleware.Responder
}
ListServicePolicyPostureChecksHandler interface for that can handle valid list service policy posture checks params
type ListServicePolicyPostureChecksHandlerFunc ¶ added in v0.17.5
type ListServicePolicyPostureChecksHandlerFunc func(ListServicePolicyPostureChecksParams, interface{}) middleware.Responder
ListServicePolicyPostureChecksHandlerFunc turns a function with the right signature into a list service policy posture checks handler
func (ListServicePolicyPostureChecksHandlerFunc) Handle ¶ added in v0.17.5
func (fn ListServicePolicyPostureChecksHandlerFunc) Handle(params ListServicePolicyPostureChecksParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ListServicePolicyPostureChecksOK ¶ added in v0.17.5
type ListServicePolicyPostureChecksOK struct { /* In: Body */ Payload *rest_model.ListPostureCheckEnvelope `json:"body,omitempty"` }
ListServicePolicyPostureChecksOK A list of posture checks
swagger:response listServicePolicyPostureChecksOK
func NewListServicePolicyPostureChecksOK ¶ added in v0.17.5
func NewListServicePolicyPostureChecksOK() *ListServicePolicyPostureChecksOK
NewListServicePolicyPostureChecksOK creates ListServicePolicyPostureChecksOK with default headers values
func (*ListServicePolicyPostureChecksOK) SetPayload ¶ added in v0.17.5
func (o *ListServicePolicyPostureChecksOK) SetPayload(payload *rest_model.ListPostureCheckEnvelope)
SetPayload sets the payload to the list service policy posture checks o k response
func (*ListServicePolicyPostureChecksOK) WithPayload ¶ added in v0.17.5
func (o *ListServicePolicyPostureChecksOK) WithPayload(payload *rest_model.ListPostureCheckEnvelope) *ListServicePolicyPostureChecksOK
WithPayload adds the payload to the list service policy posture checks o k response
func (*ListServicePolicyPostureChecksOK) WriteResponse ¶ added in v0.17.5
func (o *ListServicePolicyPostureChecksOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServicePolicyPostureChecksParams ¶ added in v0.17.5
type ListServicePolicyPostureChecksParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ Filter *string /*The id of the requested resource Required: true In: path */ ID string /* In: query */ Limit *int64 /* In: query */ Offset *int64 }
ListServicePolicyPostureChecksParams contains all the bound params for the list service policy posture checks operation typically these are obtained from a http.Request
swagger:parameters listServicePolicyPostureChecks
func NewListServicePolicyPostureChecksParams ¶ added in v0.17.5
func NewListServicePolicyPostureChecksParams() ListServicePolicyPostureChecksParams
NewListServicePolicyPostureChecksParams creates a new ListServicePolicyPostureChecksParams object no default values defined in spec.
func (*ListServicePolicyPostureChecksParams) BindRequest ¶ added in v0.17.5
func (o *ListServicePolicyPostureChecksParams) 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 NewListServicePolicyPostureChecksParams() beforehand.
type ListServicePolicyPostureChecksURL ¶ added in v0.17.5
type ListServicePolicyPostureChecksURL struct { ID string Filter *string Limit *int64 Offset *int64 // contains filtered or unexported fields }
ListServicePolicyPostureChecksURL generates an URL for the list service policy posture checks operation
func (*ListServicePolicyPostureChecksURL) Build ¶ added in v0.17.5
func (o *ListServicePolicyPostureChecksURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListServicePolicyPostureChecksURL) BuildFull ¶ added in v0.17.5
func (o *ListServicePolicyPostureChecksURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListServicePolicyPostureChecksURL) Must ¶ added in v0.17.5
Must is a helper function to panic when the url builder returns an error
func (*ListServicePolicyPostureChecksURL) SetBasePath ¶ added in v0.17.5
func (o *ListServicePolicyPostureChecksURL) 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 (*ListServicePolicyPostureChecksURL) String ¶ added in v0.17.5
func (o *ListServicePolicyPostureChecksURL) String() string
String returns the string representation of the path with query string
func (*ListServicePolicyPostureChecksURL) StringFull ¶ added in v0.17.5
func (o *ListServicePolicyPostureChecksURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListServicePolicyPostureChecksURL) WithBasePath ¶ added in v0.17.5
func (o *ListServicePolicyPostureChecksURL) WithBasePath(bp string) *ListServicePolicyPostureChecksURL
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 ListServicePolicyPostureChecksUnauthorized ¶ added in v0.17.5
type ListServicePolicyPostureChecksUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
ListServicePolicyPostureChecksUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response listServicePolicyPostureChecksUnauthorized
func NewListServicePolicyPostureChecksUnauthorized ¶ added in v0.17.5
func NewListServicePolicyPostureChecksUnauthorized() *ListServicePolicyPostureChecksUnauthorized
NewListServicePolicyPostureChecksUnauthorized creates ListServicePolicyPostureChecksUnauthorized with default headers values
func (*ListServicePolicyPostureChecksUnauthorized) SetPayload ¶ added in v0.17.5
func (o *ListServicePolicyPostureChecksUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list service policy posture checks unauthorized response
func (*ListServicePolicyPostureChecksUnauthorized) WithPayload ¶ added in v0.17.5
func (o *ListServicePolicyPostureChecksUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServicePolicyPostureChecksUnauthorized
WithPayload adds the payload to the list service policy posture checks unauthorized response
func (*ListServicePolicyPostureChecksUnauthorized) WriteResponse ¶ added in v0.17.5
func (o *ListServicePolicyPostureChecksUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServicePolicyServices ¶
type ListServicePolicyServices struct { Context *middleware.Context Handler ListServicePolicyServicesHandler }
ListServicePolicyServices swagger:route GET /service-policies/{id}/services Service Policy listServicePolicyServices
List services a service policy affects ¶
Retrieves a list of service resources that are affected by a service policy; supports filtering, sorting, and pagination. Requires admin access.
func NewListServicePolicyServices ¶
func NewListServicePolicyServices(ctx *middleware.Context, handler ListServicePolicyServicesHandler) *ListServicePolicyServices
NewListServicePolicyServices creates a new http.Handler for the list service policy services operation
func (*ListServicePolicyServices) ServeHTTP ¶
func (o *ListServicePolicyServices) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListServicePolicyServicesBadRequest ¶
type ListServicePolicyServicesBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ListServicePolicyServicesBadRequest The requested resource does not exist
swagger:response listServicePolicyServicesBadRequest
func NewListServicePolicyServicesBadRequest ¶
func NewListServicePolicyServicesBadRequest() *ListServicePolicyServicesBadRequest
NewListServicePolicyServicesBadRequest creates ListServicePolicyServicesBadRequest with default headers values
func (*ListServicePolicyServicesBadRequest) SetPayload ¶
func (o *ListServicePolicyServicesBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list service policy services bad request response
func (*ListServicePolicyServicesBadRequest) WithPayload ¶
func (o *ListServicePolicyServicesBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServicePolicyServicesBadRequest
WithPayload adds the payload to the list service policy services bad request response
func (*ListServicePolicyServicesBadRequest) WriteResponse ¶
func (o *ListServicePolicyServicesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServicePolicyServicesHandler ¶
type ListServicePolicyServicesHandler interface {
Handle(ListServicePolicyServicesParams, interface{}) middleware.Responder
}
ListServicePolicyServicesHandler interface for that can handle valid list service policy services params
type ListServicePolicyServicesHandlerFunc ¶
type ListServicePolicyServicesHandlerFunc func(ListServicePolicyServicesParams, interface{}) middleware.Responder
ListServicePolicyServicesHandlerFunc turns a function with the right signature into a list service policy services handler
func (ListServicePolicyServicesHandlerFunc) Handle ¶
func (fn ListServicePolicyServicesHandlerFunc) Handle(params ListServicePolicyServicesParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ListServicePolicyServicesOK ¶
type ListServicePolicyServicesOK struct { /* In: Body */ Payload *rest_model.ListServicesEnvelope `json:"body,omitempty"` }
ListServicePolicyServicesOK A list of services
swagger:response listServicePolicyServicesOK
func NewListServicePolicyServicesOK ¶
func NewListServicePolicyServicesOK() *ListServicePolicyServicesOK
NewListServicePolicyServicesOK creates ListServicePolicyServicesOK with default headers values
func (*ListServicePolicyServicesOK) SetPayload ¶
func (o *ListServicePolicyServicesOK) SetPayload(payload *rest_model.ListServicesEnvelope)
SetPayload sets the payload to the list service policy services o k response
func (*ListServicePolicyServicesOK) WithPayload ¶
func (o *ListServicePolicyServicesOK) WithPayload(payload *rest_model.ListServicesEnvelope) *ListServicePolicyServicesOK
WithPayload adds the payload to the list service policy services o k response
func (*ListServicePolicyServicesOK) WriteResponse ¶
func (o *ListServicePolicyServicesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListServicePolicyServicesParams ¶
type ListServicePolicyServicesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ Filter *string /*The id of the requested resource Required: true In: path */ ID string /* In: query */ Limit *int64 /* In: query */ Offset *int64 }
ListServicePolicyServicesParams contains all the bound params for the list service policy services operation typically these are obtained from a http.Request
swagger:parameters listServicePolicyServices
func NewListServicePolicyServicesParams ¶
func NewListServicePolicyServicesParams() ListServicePolicyServicesParams
NewListServicePolicyServicesParams creates a new ListServicePolicyServicesParams object no default values defined in spec.
func (*ListServicePolicyServicesParams) BindRequest ¶
func (o *ListServicePolicyServicesParams) 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 NewListServicePolicyServicesParams() beforehand.
type ListServicePolicyServicesURL ¶
type ListServicePolicyServicesURL struct { ID string Filter *string Limit *int64 Offset *int64 // contains filtered or unexported fields }
ListServicePolicyServicesURL generates an URL for the list service policy services operation
func (*ListServicePolicyServicesURL) Build ¶
func (o *ListServicePolicyServicesURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListServicePolicyServicesURL) BuildFull ¶
func (o *ListServicePolicyServicesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListServicePolicyServicesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListServicePolicyServicesURL) SetBasePath ¶
func (o *ListServicePolicyServicesURL) 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 (*ListServicePolicyServicesURL) String ¶
func (o *ListServicePolicyServicesURL) String() string
String returns the string representation of the path with query string
func (*ListServicePolicyServicesURL) StringFull ¶
func (o *ListServicePolicyServicesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListServicePolicyServicesURL) WithBasePath ¶
func (o *ListServicePolicyServicesURL) WithBasePath(bp string) *ListServicePolicyServicesURL
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 ListServicePolicyServicesUnauthorized ¶
type ListServicePolicyServicesUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
ListServicePolicyServicesUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response listServicePolicyServicesUnauthorized
func NewListServicePolicyServicesUnauthorized ¶
func NewListServicePolicyServicesUnauthorized() *ListServicePolicyServicesUnauthorized
NewListServicePolicyServicesUnauthorized creates ListServicePolicyServicesUnauthorized with default headers values
func (*ListServicePolicyServicesUnauthorized) SetPayload ¶
func (o *ListServicePolicyServicesUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list service policy services unauthorized response
func (*ListServicePolicyServicesUnauthorized) WithPayload ¶
func (o *ListServicePolicyServicesUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServicePolicyServicesUnauthorized
WithPayload adds the payload to the list service policy services unauthorized response
func (*ListServicePolicyServicesUnauthorized) WriteResponse ¶
func (o *ListServicePolicyServicesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchServicePolicy ¶
type PatchServicePolicy struct { Context *middleware.Context Handler PatchServicePolicyHandler }
PatchServicePolicy swagger:route PATCH /service-policies/{id} Service Policy patchServicePolicy
Update the supplied fields on a service policy ¶
Update the supplied fields on a service policy. Requires admin access.
func NewPatchServicePolicy ¶
func NewPatchServicePolicy(ctx *middleware.Context, handler PatchServicePolicyHandler) *PatchServicePolicy
NewPatchServicePolicy creates a new http.Handler for the patch service policy operation
func (*PatchServicePolicy) ServeHTTP ¶
func (o *PatchServicePolicy) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PatchServicePolicyBadRequest ¶
type PatchServicePolicyBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
PatchServicePolicyBadRequest 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 patchServicePolicyBadRequest
func NewPatchServicePolicyBadRequest ¶
func NewPatchServicePolicyBadRequest() *PatchServicePolicyBadRequest
NewPatchServicePolicyBadRequest creates PatchServicePolicyBadRequest with default headers values
func (*PatchServicePolicyBadRequest) SetPayload ¶
func (o *PatchServicePolicyBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the patch service policy bad request response
func (*PatchServicePolicyBadRequest) WithPayload ¶
func (o *PatchServicePolicyBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchServicePolicyBadRequest
WithPayload adds the payload to the patch service policy bad request response
func (*PatchServicePolicyBadRequest) WriteResponse ¶
func (o *PatchServicePolicyBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchServicePolicyHandler ¶
type PatchServicePolicyHandler interface {
Handle(PatchServicePolicyParams, interface{}) middleware.Responder
}
PatchServicePolicyHandler interface for that can handle valid patch service policy params
type PatchServicePolicyHandlerFunc ¶
type PatchServicePolicyHandlerFunc func(PatchServicePolicyParams, interface{}) middleware.Responder
PatchServicePolicyHandlerFunc turns a function with the right signature into a patch service policy handler
func (PatchServicePolicyHandlerFunc) Handle ¶
func (fn PatchServicePolicyHandlerFunc) Handle(params PatchServicePolicyParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type PatchServicePolicyNotFound ¶
type PatchServicePolicyNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
PatchServicePolicyNotFound The requested resource does not exist
swagger:response patchServicePolicyNotFound
func NewPatchServicePolicyNotFound ¶
func NewPatchServicePolicyNotFound() *PatchServicePolicyNotFound
NewPatchServicePolicyNotFound creates PatchServicePolicyNotFound with default headers values
func (*PatchServicePolicyNotFound) SetPayload ¶
func (o *PatchServicePolicyNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the patch service policy not found response
func (*PatchServicePolicyNotFound) WithPayload ¶
func (o *PatchServicePolicyNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchServicePolicyNotFound
WithPayload adds the payload to the patch service policy not found response
func (*PatchServicePolicyNotFound) WriteResponse ¶
func (o *PatchServicePolicyNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchServicePolicyOK ¶
type PatchServicePolicyOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
PatchServicePolicyOK The patch request was successful and the resource has been altered
swagger:response patchServicePolicyOK
func NewPatchServicePolicyOK ¶
func NewPatchServicePolicyOK() *PatchServicePolicyOK
NewPatchServicePolicyOK creates PatchServicePolicyOK with default headers values
func (*PatchServicePolicyOK) SetPayload ¶
func (o *PatchServicePolicyOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the patch service policy o k response
func (*PatchServicePolicyOK) WithPayload ¶
func (o *PatchServicePolicyOK) WithPayload(payload *rest_model.Empty) *PatchServicePolicyOK
WithPayload adds the payload to the patch service policy o k response
func (*PatchServicePolicyOK) WriteResponse ¶
func (o *PatchServicePolicyOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchServicePolicyParams ¶
type PatchServicePolicyParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The id of the requested resource Required: true In: path */ ID string /*A service policy patch object Required: true In: body */ Policy *rest_model.ServicePolicyPatch }
PatchServicePolicyParams contains all the bound params for the patch service policy operation typically these are obtained from a http.Request
swagger:parameters patchServicePolicy
func NewPatchServicePolicyParams ¶
func NewPatchServicePolicyParams() PatchServicePolicyParams
NewPatchServicePolicyParams creates a new PatchServicePolicyParams object no default values defined in spec.
func (*PatchServicePolicyParams) BindRequest ¶
func (o *PatchServicePolicyParams) 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 NewPatchServicePolicyParams() beforehand.
type PatchServicePolicyURL ¶
type PatchServicePolicyURL struct { ID string // contains filtered or unexported fields }
PatchServicePolicyURL generates an URL for the patch service policy operation
func (*PatchServicePolicyURL) Build ¶
func (o *PatchServicePolicyURL) Build() (*url.URL, error)
Build a url path and query string
func (*PatchServicePolicyURL) BuildFull ¶
func (o *PatchServicePolicyURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PatchServicePolicyURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PatchServicePolicyURL) SetBasePath ¶
func (o *PatchServicePolicyURL) 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 (*PatchServicePolicyURL) String ¶
func (o *PatchServicePolicyURL) String() string
String returns the string representation of the path with query string
func (*PatchServicePolicyURL) StringFull ¶
func (o *PatchServicePolicyURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PatchServicePolicyURL) WithBasePath ¶
func (o *PatchServicePolicyURL) WithBasePath(bp string) *PatchServicePolicyURL
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 PatchServicePolicyUnauthorized ¶
type PatchServicePolicyUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
PatchServicePolicyUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response patchServicePolicyUnauthorized
func NewPatchServicePolicyUnauthorized ¶
func NewPatchServicePolicyUnauthorized() *PatchServicePolicyUnauthorized
NewPatchServicePolicyUnauthorized creates PatchServicePolicyUnauthorized with default headers values
func (*PatchServicePolicyUnauthorized) SetPayload ¶
func (o *PatchServicePolicyUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the patch service policy unauthorized response
func (*PatchServicePolicyUnauthorized) WithPayload ¶
func (o *PatchServicePolicyUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchServicePolicyUnauthorized
WithPayload adds the payload to the patch service policy unauthorized response
func (*PatchServicePolicyUnauthorized) WriteResponse ¶
func (o *PatchServicePolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateServicePolicy ¶
type UpdateServicePolicy struct { Context *middleware.Context Handler UpdateServicePolicyHandler }
UpdateServicePolicy swagger:route PUT /service-policies/{id} Service Policy updateServicePolicy
Update all fields on a service policy ¶
Update all fields on a service policy by id. Requires admin access.
func NewUpdateServicePolicy ¶
func NewUpdateServicePolicy(ctx *middleware.Context, handler UpdateServicePolicyHandler) *UpdateServicePolicy
NewUpdateServicePolicy creates a new http.Handler for the update service policy operation
func (*UpdateServicePolicy) ServeHTTP ¶
func (o *UpdateServicePolicy) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateServicePolicyBadRequest ¶
type UpdateServicePolicyBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
UpdateServicePolicyBadRequest 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 updateServicePolicyBadRequest
func NewUpdateServicePolicyBadRequest ¶
func NewUpdateServicePolicyBadRequest() *UpdateServicePolicyBadRequest
NewUpdateServicePolicyBadRequest creates UpdateServicePolicyBadRequest with default headers values
func (*UpdateServicePolicyBadRequest) SetPayload ¶
func (o *UpdateServicePolicyBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the update service policy bad request response
func (*UpdateServicePolicyBadRequest) WithPayload ¶
func (o *UpdateServicePolicyBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateServicePolicyBadRequest
WithPayload adds the payload to the update service policy bad request response
func (*UpdateServicePolicyBadRequest) WriteResponse ¶
func (o *UpdateServicePolicyBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateServicePolicyHandler ¶
type UpdateServicePolicyHandler interface {
Handle(UpdateServicePolicyParams, interface{}) middleware.Responder
}
UpdateServicePolicyHandler interface for that can handle valid update service policy params
type UpdateServicePolicyHandlerFunc ¶
type UpdateServicePolicyHandlerFunc func(UpdateServicePolicyParams, interface{}) middleware.Responder
UpdateServicePolicyHandlerFunc turns a function with the right signature into a update service policy handler
func (UpdateServicePolicyHandlerFunc) Handle ¶
func (fn UpdateServicePolicyHandlerFunc) Handle(params UpdateServicePolicyParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type UpdateServicePolicyNotFound ¶
type UpdateServicePolicyNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
UpdateServicePolicyNotFound The requested resource does not exist
swagger:response updateServicePolicyNotFound
func NewUpdateServicePolicyNotFound ¶
func NewUpdateServicePolicyNotFound() *UpdateServicePolicyNotFound
NewUpdateServicePolicyNotFound creates UpdateServicePolicyNotFound with default headers values
func (*UpdateServicePolicyNotFound) SetPayload ¶
func (o *UpdateServicePolicyNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the update service policy not found response
func (*UpdateServicePolicyNotFound) WithPayload ¶
func (o *UpdateServicePolicyNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateServicePolicyNotFound
WithPayload adds the payload to the update service policy not found response
func (*UpdateServicePolicyNotFound) WriteResponse ¶
func (o *UpdateServicePolicyNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateServicePolicyOK ¶
type UpdateServicePolicyOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
UpdateServicePolicyOK The update request was successful and the resource has been altered
swagger:response updateServicePolicyOK
func NewUpdateServicePolicyOK ¶
func NewUpdateServicePolicyOK() *UpdateServicePolicyOK
NewUpdateServicePolicyOK creates UpdateServicePolicyOK with default headers values
func (*UpdateServicePolicyOK) SetPayload ¶
func (o *UpdateServicePolicyOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the update service policy o k response
func (*UpdateServicePolicyOK) WithPayload ¶
func (o *UpdateServicePolicyOK) WithPayload(payload *rest_model.Empty) *UpdateServicePolicyOK
WithPayload adds the payload to the update service policy o k response
func (*UpdateServicePolicyOK) WriteResponse ¶
func (o *UpdateServicePolicyOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateServicePolicyParams ¶
type UpdateServicePolicyParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The id of the requested resource Required: true In: path */ ID string /*A service policy update object Required: true In: body */ Policy *rest_model.ServicePolicyUpdate }
UpdateServicePolicyParams contains all the bound params for the update service policy operation typically these are obtained from a http.Request
swagger:parameters updateServicePolicy
func NewUpdateServicePolicyParams ¶
func NewUpdateServicePolicyParams() UpdateServicePolicyParams
NewUpdateServicePolicyParams creates a new UpdateServicePolicyParams object no default values defined in spec.
func (*UpdateServicePolicyParams) BindRequest ¶
func (o *UpdateServicePolicyParams) 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 NewUpdateServicePolicyParams() beforehand.
type UpdateServicePolicyURL ¶
type UpdateServicePolicyURL struct { ID string // contains filtered or unexported fields }
UpdateServicePolicyURL generates an URL for the update service policy operation
func (*UpdateServicePolicyURL) Build ¶
func (o *UpdateServicePolicyURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateServicePolicyURL) BuildFull ¶
func (o *UpdateServicePolicyURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateServicePolicyURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateServicePolicyURL) SetBasePath ¶
func (o *UpdateServicePolicyURL) 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 (*UpdateServicePolicyURL) String ¶
func (o *UpdateServicePolicyURL) String() string
String returns the string representation of the path with query string
func (*UpdateServicePolicyURL) StringFull ¶
func (o *UpdateServicePolicyURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateServicePolicyURL) WithBasePath ¶
func (o *UpdateServicePolicyURL) WithBasePath(bp string) *UpdateServicePolicyURL
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 UpdateServicePolicyUnauthorized ¶
type UpdateServicePolicyUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
UpdateServicePolicyUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response updateServicePolicyUnauthorized
func NewUpdateServicePolicyUnauthorized ¶
func NewUpdateServicePolicyUnauthorized() *UpdateServicePolicyUnauthorized
NewUpdateServicePolicyUnauthorized creates UpdateServicePolicyUnauthorized with default headers values
func (*UpdateServicePolicyUnauthorized) SetPayload ¶
func (o *UpdateServicePolicyUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the update service policy unauthorized response
func (*UpdateServicePolicyUnauthorized) WithPayload ¶
func (o *UpdateServicePolicyUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateServicePolicyUnauthorized
WithPayload adds the payload to the update service policy unauthorized response
func (*UpdateServicePolicyUnauthorized) WriteResponse ¶
func (o *UpdateServicePolicyUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- create_service_policy.go
- create_service_policy_parameters.go
- create_service_policy_responses.go
- create_service_policy_urlbuilder.go
- delete_service_policy.go
- delete_service_policy_parameters.go
- delete_service_policy_responses.go
- delete_service_policy_urlbuilder.go
- detail_service_policy.go
- detail_service_policy_parameters.go
- detail_service_policy_responses.go
- detail_service_policy_urlbuilder.go
- list_service_policies.go
- list_service_policies_parameters.go
- list_service_policies_responses.go
- list_service_policies_urlbuilder.go
- list_service_policy_identities.go
- list_service_policy_identities_parameters.go
- list_service_policy_identities_responses.go
- list_service_policy_identities_urlbuilder.go
- list_service_policy_posture_checks.go
- list_service_policy_posture_checks_parameters.go
- list_service_policy_posture_checks_responses.go
- list_service_policy_posture_checks_urlbuilder.go
- list_service_policy_services.go
- list_service_policy_services_parameters.go
- list_service_policy_services_responses.go
- list_service_policy_services_urlbuilder.go
- patch_service_policy.go
- patch_service_policy_parameters.go
- patch_service_policy_responses.go
- patch_service_policy_urlbuilder.go
- update_service_policy.go
- update_service_policy_parameters.go
- update_service_policy_responses.go
- update_service_policy_urlbuilder.go