enrollment

package
v0.26.34 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ListNetworkJWTsBadRequestCode int = 400

ListNetworkJWTsBadRequestCode is the HTTP code returned for type ListNetworkJWTsBadRequest

View Source
const ListNetworkJWTsOKCode int = 200

ListNetworkJWTsOKCode is the HTTP code returned for type ListNetworkJWTsOK

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

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

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

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

type ListNetworkJWTsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

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

SetPayload sets the payload to the list network j w ts too many requests response

func (*ListNetworkJWTsTooManyRequests) WithPayload

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

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

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

Jump to

Keyboard shortcuts

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