resource_match

package
v0.0.0-...-7977c27 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
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

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

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

SetPayload sets the payload to the list all matching resources o k response

func (*ListAllMatchingResourcesOK) WithPayload

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

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

func (o *ListAllMatchingResourcesURL) Must(u *url.URL, err error) *url.URL

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL