Documentation ¶
Index ¶
- Constants
- type ListNetworkJWTs
- type ListNetworkJWTsBadRequest
- type ListNetworkJWTsHandler
- type ListNetworkJWTsHandlerFunc
- type ListNetworkJWTsOK
- type ListNetworkJWTsParams
- type ListNetworkJWTsTooManyRequests
- func (o *ListNetworkJWTsTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListNetworkJWTsTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListNetworkJWTsTooManyRequests
- func (o *ListNetworkJWTsTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListNetworkJWTsURL
- func (o *ListNetworkJWTsURL) Build() (*url.URL, error)
- func (o *ListNetworkJWTsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListNetworkJWTsURL) Must(u *url.URL, err error) *url.URL
- func (o *ListNetworkJWTsURL) SetBasePath(bp string)
- func (o *ListNetworkJWTsURL) String() string
- func (o *ListNetworkJWTsURL) StringFull(scheme, host string) string
- func (o *ListNetworkJWTsURL) WithBasePath(bp string) *ListNetworkJWTsURL
Constants ¶
const ListNetworkJWTsBadRequestCode int = 400
ListNetworkJWTsBadRequestCode is the HTTP code returned for type ListNetworkJWTsBadRequest
const ListNetworkJWTsOKCode int = 200
ListNetworkJWTsOKCode is the HTTP code returned for type ListNetworkJWTsOK
const ListNetworkJWTsTooManyRequestsCode int = 429
ListNetworkJWTsTooManyRequestsCode is the HTTP code returned for type ListNetworkJWTsTooManyRequests
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListNetworkJWTs ¶
type ListNetworkJWTs struct { Context *middleware.Context Handler ListNetworkJWTsHandler }
ListNetworkJWTs swagger:route GET /network-jwts Enrollment listNetworkJWTs
Returns a list of JWTs suitable for bootstrapping network trust.
Returns a list of JWTs for trusting a network
func NewListNetworkJWTs ¶
func NewListNetworkJWTs(ctx *middleware.Context, handler ListNetworkJWTsHandler) *ListNetworkJWTs
NewListNetworkJWTs creates a new http.Handler for the list network j w ts operation
func (*ListNetworkJWTs) ServeHTTP ¶
func (o *ListNetworkJWTs) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListNetworkJWTsBadRequest ¶
type ListNetworkJWTsBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ListNetworkJWTsBadRequest 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 listNetworkJWTsBadRequest
func NewListNetworkJWTsBadRequest ¶
func NewListNetworkJWTsBadRequest() *ListNetworkJWTsBadRequest
NewListNetworkJWTsBadRequest creates ListNetworkJWTsBadRequest with default headers values
func (*ListNetworkJWTsBadRequest) SetPayload ¶
func (o *ListNetworkJWTsBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list network j w ts bad request response
func (*ListNetworkJWTsBadRequest) WithPayload ¶
func (o *ListNetworkJWTsBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ListNetworkJWTsBadRequest
WithPayload adds the payload to the list network j w ts bad request response
func (*ListNetworkJWTsBadRequest) WriteResponse ¶
func (o *ListNetworkJWTsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListNetworkJWTsHandler ¶
type ListNetworkJWTsHandler interface {
Handle(ListNetworkJWTsParams) middleware.Responder
}
ListNetworkJWTsHandler interface for that can handle valid list network j w ts params
type ListNetworkJWTsHandlerFunc ¶
type ListNetworkJWTsHandlerFunc func(ListNetworkJWTsParams) middleware.Responder
ListNetworkJWTsHandlerFunc turns a function with the right signature into a list network j w ts handler
func (ListNetworkJWTsHandlerFunc) Handle ¶
func (fn ListNetworkJWTsHandlerFunc) Handle(params ListNetworkJWTsParams) middleware.Responder
Handle executing the request and returning a response
type ListNetworkJWTsOK ¶
type ListNetworkJWTsOK struct { /* In: Body */ Payload *rest_model.ListNetworkJWTsEnvelope `json:"body,omitempty"` }
ListNetworkJWTsOK A list of network JWTs
swagger:response listNetworkJWTsOK
func NewListNetworkJWTsOK ¶
func NewListNetworkJWTsOK() *ListNetworkJWTsOK
NewListNetworkJWTsOK creates ListNetworkJWTsOK with default headers values
func (*ListNetworkJWTsOK) SetPayload ¶
func (o *ListNetworkJWTsOK) SetPayload(payload *rest_model.ListNetworkJWTsEnvelope)
SetPayload sets the payload to the list network j w ts o k response
func (*ListNetworkJWTsOK) WithPayload ¶
func (o *ListNetworkJWTsOK) WithPayload(payload *rest_model.ListNetworkJWTsEnvelope) *ListNetworkJWTsOK
WithPayload adds the payload to the list network j w ts o k response
func (*ListNetworkJWTsOK) WriteResponse ¶
func (o *ListNetworkJWTsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListNetworkJWTsParams ¶
ListNetworkJWTsParams contains all the bound params for the list network j w ts operation typically these are obtained from a http.Request
swagger:parameters listNetworkJWTs
func NewListNetworkJWTsParams ¶
func NewListNetworkJWTsParams() ListNetworkJWTsParams
NewListNetworkJWTsParams creates a new ListNetworkJWTsParams object
There are no default values defined in the spec.
func (*ListNetworkJWTsParams) BindRequest ¶
func (o *ListNetworkJWTsParams) 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 NewListNetworkJWTsParams() beforehand.
type ListNetworkJWTsTooManyRequests ¶
type ListNetworkJWTsTooManyRequests struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ListNetworkJWTsTooManyRequests The resource requested is rate limited and the rate limit has been exceeded
swagger:response listNetworkJWTsTooManyRequests
func NewListNetworkJWTsTooManyRequests ¶
func NewListNetworkJWTsTooManyRequests() *ListNetworkJWTsTooManyRequests
NewListNetworkJWTsTooManyRequests creates ListNetworkJWTsTooManyRequests with default headers values
func (*ListNetworkJWTsTooManyRequests) SetPayload ¶
func (o *ListNetworkJWTsTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list network j w ts too many requests response
func (*ListNetworkJWTsTooManyRequests) WithPayload ¶
func (o *ListNetworkJWTsTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListNetworkJWTsTooManyRequests
WithPayload adds the payload to the list network j w ts too many requests response
func (*ListNetworkJWTsTooManyRequests) WriteResponse ¶
func (o *ListNetworkJWTsTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListNetworkJWTsURL ¶
type ListNetworkJWTsURL struct {
// contains filtered or unexported fields
}
ListNetworkJWTsURL generates an URL for the list network j w ts operation
func (*ListNetworkJWTsURL) Build ¶
func (o *ListNetworkJWTsURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListNetworkJWTsURL) BuildFull ¶
func (o *ListNetworkJWTsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListNetworkJWTsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListNetworkJWTsURL) SetBasePath ¶
func (o *ListNetworkJWTsURL) 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 (*ListNetworkJWTsURL) String ¶
func (o *ListNetworkJWTsURL) String() string
String returns the string representation of the path with query string
func (*ListNetworkJWTsURL) StringFull ¶
func (o *ListNetworkJWTsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListNetworkJWTsURL) WithBasePath ¶
func (o *ListNetworkJWTsURL) WithBasePath(bp string) *ListNetworkJWTsURL
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