Documentation ¶
Index ¶
- Constants
- type ListAllMatchingResources
- type ListAllMatchingResourcesHandler
- type ListAllMatchingResourcesHandlerFunc
- type ListAllMatchingResourcesOK
- func (o *ListAllMatchingResourcesOK) SetPayload(payload []*models.ListAllMatchingResourcesResponse)
- func (o *ListAllMatchingResourcesOK) WithPayload(payload []*models.ListAllMatchingResourcesResponse) *ListAllMatchingResourcesOK
- func (o *ListAllMatchingResourcesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListAllMatchingResourcesParams
- type ListAllMatchingResourcesURL
- func (o *ListAllMatchingResourcesURL) Build() (*url.URL, error)
- func (o *ListAllMatchingResourcesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListAllMatchingResourcesURL) Must(u *url.URL, err error) *url.URL
- func (o *ListAllMatchingResourcesURL) SetBasePath(bp string)
- func (o *ListAllMatchingResourcesURL) String() string
- func (o *ListAllMatchingResourcesURL) StringFull(scheme, host string) string
- func (o *ListAllMatchingResourcesURL) WithBasePath(bp string) *ListAllMatchingResourcesURL
Constants ¶
const ListAllMatchingResourcesOKCode int = 200
ListAllMatchingResourcesOKCode is the HTTP code returned for type ListAllMatchingResourcesOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListAllMatchingResources ¶
type ListAllMatchingResources struct { Context *middleware.Context Handler ListAllMatchingResourcesHandler }
ListAllMatchingResources swagger:route PUT /resource_match resourceMatch listAllMatchingResources
List all matching resources ¶
curl --insecure -i %s/v2/resource_match -X PUT -H 'Authorization: %s' -d '%s'
func NewListAllMatchingResources ¶
func NewListAllMatchingResources(ctx *middleware.Context, handler ListAllMatchingResourcesHandler) *ListAllMatchingResources
NewListAllMatchingResources creates a new http.Handler for the list all matching resources operation
func (*ListAllMatchingResources) ServeHTTP ¶
func (o *ListAllMatchingResources) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListAllMatchingResourcesHandler ¶
type ListAllMatchingResourcesHandler interface {
Handle(ListAllMatchingResourcesParams) middleware.Responder
}
ListAllMatchingResourcesHandler interface for that can handle valid list all matching resources params
type ListAllMatchingResourcesHandlerFunc ¶
type ListAllMatchingResourcesHandlerFunc func(ListAllMatchingResourcesParams) middleware.Responder
ListAllMatchingResourcesHandlerFunc turns a function with the right signature into a list all matching resources handler
func (ListAllMatchingResourcesHandlerFunc) Handle ¶
func (fn ListAllMatchingResourcesHandlerFunc) Handle(params ListAllMatchingResourcesParams) middleware.Responder
Handle executing the request and returning a response
type ListAllMatchingResourcesOK ¶
type ListAllMatchingResourcesOK struct { /* In: Body */ Payload []*models.ListAllMatchingResourcesResponse `json:"body,omitempty"` }
ListAllMatchingResourcesOK successful response
swagger:response listAllMatchingResourcesOK
func NewListAllMatchingResourcesOK ¶
func NewListAllMatchingResourcesOK() *ListAllMatchingResourcesOK
NewListAllMatchingResourcesOK creates ListAllMatchingResourcesOK with default headers values
func (*ListAllMatchingResourcesOK) SetPayload ¶
func (o *ListAllMatchingResourcesOK) SetPayload(payload []*models.ListAllMatchingResourcesResponse)
SetPayload sets the payload to the list all matching resources o k response
func (*ListAllMatchingResourcesOK) WithPayload ¶
func (o *ListAllMatchingResourcesOK) WithPayload(payload []*models.ListAllMatchingResourcesResponse) *ListAllMatchingResourcesOK
WithPayload adds the payload to the list all matching resources o k response
func (*ListAllMatchingResourcesOK) WriteResponse ¶
func (o *ListAllMatchingResourcesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListAllMatchingResourcesParams ¶
type ListAllMatchingResourcesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*An object instance that is serialized and sent as the request body. Required: true In: body */ Value []*models.ListAllMatchingResourcesRequest }
ListAllMatchingResourcesParams contains all the bound params for the list all matching resources operation typically these are obtained from a http.Request
swagger:parameters listAllMatchingResources
func NewListAllMatchingResourcesParams ¶
func NewListAllMatchingResourcesParams() ListAllMatchingResourcesParams
NewListAllMatchingResourcesParams creates a new ListAllMatchingResourcesParams object no default values defined in spec.
func (*ListAllMatchingResourcesParams) BindRequest ¶
func (o *ListAllMatchingResourcesParams) 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 NewListAllMatchingResourcesParams() beforehand.
type ListAllMatchingResourcesURL ¶
type ListAllMatchingResourcesURL struct {
// contains filtered or unexported fields
}
ListAllMatchingResourcesURL generates an URL for the list all matching resources operation
func (*ListAllMatchingResourcesURL) Build ¶
func (o *ListAllMatchingResourcesURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListAllMatchingResourcesURL) BuildFull ¶
func (o *ListAllMatchingResourcesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListAllMatchingResourcesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListAllMatchingResourcesURL) SetBasePath ¶
func (o *ListAllMatchingResourcesURL) 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 (*ListAllMatchingResourcesURL) String ¶
func (o *ListAllMatchingResourcesURL) String() string
String returns the string representation of the path with query string
func (*ListAllMatchingResourcesURL) StringFull ¶
func (o *ListAllMatchingResourcesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListAllMatchingResourcesURL) WithBasePath ¶
func (o *ListAllMatchingResourcesURL) WithBasePath(bp string) *ListAllMatchingResourcesURL
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