enroll

package
v0.26.21 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const EnrollCaNotFoundCode int = 404

EnrollCaNotFoundCode is the HTTP code returned for type EnrollCaNotFound

View Source
const EnrollCaOKCode int = 200

EnrollCaOKCode is the HTTP code returned for type EnrollCaOK

View Source
const EnrollCaTooManyRequestsCode int = 429

EnrollCaTooManyRequestsCode is the HTTP code returned for type EnrollCaTooManyRequests

View Source
const EnrollErOttOKCode int = 200

EnrollErOttOKCode is the HTTP code returned for type EnrollErOttOK

View Source
const EnrollErOttTooManyRequestsCode int = 429

EnrollErOttTooManyRequestsCode is the HTTP code returned for type EnrollErOttTooManyRequests

View Source
const EnrollNotFoundCode int = 404

EnrollNotFoundCode is the HTTP code returned for type EnrollNotFound

View Source
const EnrollOKCode int = 200

EnrollOKCode is the HTTP code returned for type EnrollOK

View Source
const EnrollOttCaOKCode int = 200

EnrollOttCaOKCode is the HTTP code returned for type EnrollOttCaOK

View Source
const EnrollOttCaTooManyRequestsCode int = 429

EnrollOttCaTooManyRequestsCode is the HTTP code returned for type EnrollOttCaTooManyRequests

View Source
const EnrollOttNotFoundCode int = 404

EnrollOttNotFoundCode is the HTTP code returned for type EnrollOttNotFound

View Source
const EnrollOttOKCode int = 200

EnrollOttOKCode is the HTTP code returned for type EnrollOttOK

View Source
const EnrollOttTooManyRequestsCode int = 429

EnrollOttTooManyRequestsCode is the HTTP code returned for type EnrollOttTooManyRequests

View Source
const EnrollTooManyRequestsCode int = 429

EnrollTooManyRequestsCode is the HTTP code returned for type EnrollTooManyRequests

View Source
const EnrollUpdbNotFoundCode int = 404

EnrollUpdbNotFoundCode is the HTTP code returned for type EnrollUpdbNotFound

View Source
const EnrollUpdbOKCode int = 200

EnrollUpdbOKCode is the HTTP code returned for type EnrollUpdbOK

View Source
const EnrollUpdbTooManyRequestsCode int = 429

EnrollUpdbTooManyRequestsCode is the HTTP code returned for type EnrollUpdbTooManyRequests

View Source
const EnrollmentChallengeBadRequestCode int = 400

EnrollmentChallengeBadRequestCode is the HTTP code returned for type EnrollmentChallengeBadRequest

View Source
const EnrollmentChallengeOKCode int = 200

EnrollmentChallengeOKCode is the HTTP code returned for type EnrollmentChallengeOK

View Source
const EnrollmentChallengeTooManyRequestsCode int = 429

EnrollmentChallengeTooManyRequestsCode is the HTTP code returned for type EnrollmentChallengeTooManyRequests

View Source
const ExtendRouterEnrollmentOKCode int = 200

ExtendRouterEnrollmentOKCode is the HTTP code returned for type ExtendRouterEnrollmentOK

View Source
const ExtendRouterEnrollmentTooManyRequestsCode int = 429

ExtendRouterEnrollmentTooManyRequestsCode is the HTTP code returned for type ExtendRouterEnrollmentTooManyRequests

View Source
const ExtendRouterEnrollmentUnauthorizedCode int = 401

ExtendRouterEnrollmentUnauthorizedCode is the HTTP code returned for type ExtendRouterEnrollmentUnauthorized

View Source
const GetEnrollmentJwksOKCode int = 200

GetEnrollmentJwksOKCode is the HTTP code returned for type GetEnrollmentJwksOK

Variables

This section is empty.

Functions

This section is empty.

Types

type Enroll

type Enroll struct {
	Context *middleware.Context
	Handler EnrollHandler
}
Enroll swagger:route POST /enroll Enroll enroll

Enroll an identity via one-time-token

present a OTT and CSR to receive a long-lived client certificate

func NewEnroll

func NewEnroll(ctx *middleware.Context, handler EnrollHandler) *Enroll

NewEnroll creates a new http.Handler for the enroll operation

func (*Enroll) ServeHTTP

func (o *Enroll) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type EnrollCa

type EnrollCa struct {
	Context *middleware.Context
	Handler EnrollCaHandler
}
EnrollCa swagger:route POST /enroll/ca Enroll enrollCa

Enroll an identity with a pre-exchanged certificate

For CA auto enrollment, an identity is not created beforehand. Instead one will be created during enrollment. The client will present a client certificate that is signed by a Certificate Authority that has been added and verified (See POST /cas and POST /cas/{id}/verify).

During this process no CSRs are requires as the client should already be in possession of a valid certificate.

func NewEnrollCa

func NewEnrollCa(ctx *middleware.Context, handler EnrollCaHandler) *EnrollCa

NewEnrollCa creates a new http.Handler for the enroll ca operation

func (*EnrollCa) ServeHTTP

func (o *EnrollCa) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type EnrollCaHandler

type EnrollCaHandler interface {
	Handle(EnrollCaParams) middleware.Responder
}

EnrollCaHandler interface for that can handle valid enroll ca params

type EnrollCaHandlerFunc

type EnrollCaHandlerFunc func(EnrollCaParams) middleware.Responder

EnrollCaHandlerFunc turns a function with the right signature into a enroll ca handler

func (EnrollCaHandlerFunc) Handle

Handle executing the request and returning a response

type EnrollCaNotFound

type EnrollCaNotFound struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

EnrollCaNotFound The requested resource does not exist

swagger:response enrollCaNotFound

func NewEnrollCaNotFound

func NewEnrollCaNotFound() *EnrollCaNotFound

NewEnrollCaNotFound creates EnrollCaNotFound with default headers values

func (*EnrollCaNotFound) SetPayload

func (o *EnrollCaNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the enroll ca not found response

func (*EnrollCaNotFound) WithPayload

WithPayload adds the payload to the enroll ca not found response

func (*EnrollCaNotFound) WriteResponse

func (o *EnrollCaNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type EnrollCaOK

type EnrollCaOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.Empty `json:"body,omitempty"`
}

EnrollCaOK Base empty response

swagger:response enrollCaOK

func NewEnrollCaOK

func NewEnrollCaOK() *EnrollCaOK

NewEnrollCaOK creates EnrollCaOK with default headers values

func (*EnrollCaOK) SetPayload

func (o *EnrollCaOK) SetPayload(payload *rest_model.Empty)

SetPayload sets the payload to the enroll ca o k response

func (*EnrollCaOK) WithPayload

func (o *EnrollCaOK) WithPayload(payload *rest_model.Empty) *EnrollCaOK

WithPayload adds the payload to the enroll ca o k response

func (*EnrollCaOK) WriteResponse

func (o *EnrollCaOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type EnrollCaParams

type EnrollCaParams struct {

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

EnrollCaParams contains all the bound params for the enroll ca operation typically these are obtained from a http.Request

swagger:parameters enrollCa

func NewEnrollCaParams

func NewEnrollCaParams() EnrollCaParams

NewEnrollCaParams creates a new EnrollCaParams object

There are no default values defined in the spec.

func (*EnrollCaParams) BindRequest

func (o *EnrollCaParams) 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 NewEnrollCaParams() beforehand.

type EnrollCaTooManyRequests added in v0.26.0

type EnrollCaTooManyRequests struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

EnrollCaTooManyRequests The resource requested is rate limited and the rate limit has been exceeded

swagger:response enrollCaTooManyRequests

func NewEnrollCaTooManyRequests added in v0.26.0

func NewEnrollCaTooManyRequests() *EnrollCaTooManyRequests

NewEnrollCaTooManyRequests creates EnrollCaTooManyRequests with default headers values

func (*EnrollCaTooManyRequests) SetPayload added in v0.26.0

func (o *EnrollCaTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the enroll ca too many requests response

func (*EnrollCaTooManyRequests) WithPayload added in v0.26.0

WithPayload adds the payload to the enroll ca too many requests response

func (*EnrollCaTooManyRequests) WriteResponse added in v0.26.0

func (o *EnrollCaTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type EnrollCaURL

type EnrollCaURL struct {
	// contains filtered or unexported fields
}

EnrollCaURL generates an URL for the enroll ca operation

func (*EnrollCaURL) Build

func (o *EnrollCaURL) Build() (*url.URL, error)

Build a url path and query string

func (*EnrollCaURL) BuildFull

func (o *EnrollCaURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*EnrollCaURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*EnrollCaURL) SetBasePath

func (o *EnrollCaURL) 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 (*EnrollCaURL) String

func (o *EnrollCaURL) String() string

String returns the string representation of the path with query string

func (*EnrollCaURL) StringFull

func (o *EnrollCaURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*EnrollCaURL) WithBasePath

func (o *EnrollCaURL) WithBasePath(bp string) *EnrollCaURL

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 EnrollErOtt

type EnrollErOtt struct {
	Context *middleware.Context
	Handler EnrollErOttHandler
}
EnrollErOtt swagger:route POST /enroll/erott Enroll enrollErOtt

Enroll an edge-router

Enrolls an edge-router via a one-time-token to establish a certificate based identity.

func NewEnrollErOtt

func NewEnrollErOtt(ctx *middleware.Context, handler EnrollErOttHandler) *EnrollErOtt

NewEnrollErOtt creates a new http.Handler for the enroll er ott operation

func (*EnrollErOtt) ServeHTTP

func (o *EnrollErOtt) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type EnrollErOttHandler

type EnrollErOttHandler interface {
	Handle(EnrollErOttParams) middleware.Responder
}

EnrollErOttHandler interface for that can handle valid enroll er ott params

type EnrollErOttHandlerFunc

type EnrollErOttHandlerFunc func(EnrollErOttParams) middleware.Responder

EnrollErOttHandlerFunc turns a function with the right signature into a enroll er ott handler

func (EnrollErOttHandlerFunc) Handle

Handle executing the request and returning a response

type EnrollErOttOK

type EnrollErOttOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.EnrollmentCertsEnvelope `json:"body,omitempty"`
}

EnrollErOttOK A response containing the edge routers signed certificates (server chain, server cert, CAs).

swagger:response enrollErOttOK

func NewEnrollErOttOK

func NewEnrollErOttOK() *EnrollErOttOK

NewEnrollErOttOK creates EnrollErOttOK with default headers values

func (*EnrollErOttOK) SetPayload

func (o *EnrollErOttOK) SetPayload(payload *rest_model.EnrollmentCertsEnvelope)

SetPayload sets the payload to the enroll er ott o k response

func (*EnrollErOttOK) WithPayload

WithPayload adds the payload to the enroll er ott o k response

func (*EnrollErOttOK) WriteResponse

func (o *EnrollErOttOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type EnrollErOttParams

type EnrollErOttParams struct {

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

	/*An OTT enrollment request
	  Required: true
	  In: body
	*/
	ErOttEnrollmentRequest *rest_model.ErOttEnrollmentRequest
}

EnrollErOttParams contains all the bound params for the enroll er ott operation typically these are obtained from a http.Request

swagger:parameters enrollErOtt

func NewEnrollErOttParams

func NewEnrollErOttParams() EnrollErOttParams

NewEnrollErOttParams creates a new EnrollErOttParams object

There are no default values defined in the spec.

func (*EnrollErOttParams) BindRequest

func (o *EnrollErOttParams) 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 NewEnrollErOttParams() beforehand.

type EnrollErOttTooManyRequests added in v0.26.0

type EnrollErOttTooManyRequests struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

EnrollErOttTooManyRequests The resource requested is rate limited and the rate limit has been exceeded

swagger:response enrollErOttTooManyRequests

func NewEnrollErOttTooManyRequests added in v0.26.0

func NewEnrollErOttTooManyRequests() *EnrollErOttTooManyRequests

NewEnrollErOttTooManyRequests creates EnrollErOttTooManyRequests with default headers values

func (*EnrollErOttTooManyRequests) SetPayload added in v0.26.0

func (o *EnrollErOttTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the enroll er ott too many requests response

func (*EnrollErOttTooManyRequests) WithPayload added in v0.26.0

WithPayload adds the payload to the enroll er ott too many requests response

func (*EnrollErOttTooManyRequests) WriteResponse added in v0.26.0

func (o *EnrollErOttTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type EnrollErOttURL

type EnrollErOttURL struct {
	// contains filtered or unexported fields
}

EnrollErOttURL generates an URL for the enroll er ott operation

func (*EnrollErOttURL) Build

func (o *EnrollErOttURL) Build() (*url.URL, error)

Build a url path and query string

func (*EnrollErOttURL) BuildFull

func (o *EnrollErOttURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*EnrollErOttURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*EnrollErOttURL) SetBasePath

func (o *EnrollErOttURL) 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 (*EnrollErOttURL) String

func (o *EnrollErOttURL) String() string

String returns the string representation of the path with query string

func (*EnrollErOttURL) StringFull

func (o *EnrollErOttURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*EnrollErOttURL) WithBasePath

func (o *EnrollErOttURL) WithBasePath(bp string) *EnrollErOttURL

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 EnrollHandler

type EnrollHandler interface {
	Handle(EnrollParams) middleware.Responder
}

EnrollHandler interface for that can handle valid enroll params

type EnrollHandlerFunc

type EnrollHandlerFunc func(EnrollParams) middleware.Responder

EnrollHandlerFunc turns a function with the right signature into a enroll handler

func (EnrollHandlerFunc) Handle

Handle executing the request and returning a response

type EnrollNotFound

type EnrollNotFound struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

EnrollNotFound The requested resource does not exist

swagger:response enrollNotFound

func NewEnrollNotFound

func NewEnrollNotFound() *EnrollNotFound

NewEnrollNotFound creates EnrollNotFound with default headers values

func (*EnrollNotFound) SetPayload

func (o *EnrollNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the enroll not found response

func (*EnrollNotFound) WithPayload

func (o *EnrollNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollNotFound

WithPayload adds the payload to the enroll not found response

func (*EnrollNotFound) WriteResponse

func (o *EnrollNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type EnrollOK

type EnrollOK struct {

	/*
	  In: Body
	*/
	Payload string `json:"body,omitempty"`
}

EnrollOK A response for multi-format legacy enrollment.

swagger:response enrollOK

func NewEnrollOK

func NewEnrollOK() *EnrollOK

NewEnrollOK creates EnrollOK with default headers values

func (*EnrollOK) SetPayload

func (o *EnrollOK) SetPayload(payload string)

SetPayload sets the payload to the enroll o k response

func (*EnrollOK) WithPayload

func (o *EnrollOK) WithPayload(payload string) *EnrollOK

WithPayload adds the payload to the enroll o k response

func (*EnrollOK) WriteResponse

func (o *EnrollOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type EnrollOtt

type EnrollOtt struct {
	Context *middleware.Context
	Handler EnrollOttHandler
}
EnrollOtt swagger:route POST /enroll/ott Enroll enrollOtt

Enroll an identity via one-time-token

Enroll an identity via a one-time-token which is supplied via a query string parameter. This enrollment method expects a PEM encoded CSRs to be provided for fulfillment. It is up to the enrolling identity to manage the private key backing the CSR request.

func NewEnrollOtt

func NewEnrollOtt(ctx *middleware.Context, handler EnrollOttHandler) *EnrollOtt

NewEnrollOtt creates a new http.Handler for the enroll ott operation

func (*EnrollOtt) ServeHTTP

func (o *EnrollOtt) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type EnrollOttCa

type EnrollOttCa struct {
	Context *middleware.Context
	Handler EnrollOttCaHandler
}
EnrollOttCa swagger:route POST /enroll/ottca Enroll enrollOttCa

Enroll an identity via one-time-token with a pre-exchanged client certificate

Enroll an identity via a one-time-token that also requires a pre-exchanged client certificate to match a Certificate Authority that has been added and verified (See POST /cas and POST /cas{id}/verify). The client must present a client certificate signed by CA associated with the enrollment. This enrollment is similar to CA auto enrollment except that is required the identity to be pre-created.

As the client certificate has been pre-exchanged there is no CSR input to this enrollment method.

func NewEnrollOttCa

func NewEnrollOttCa(ctx *middleware.Context, handler EnrollOttCaHandler) *EnrollOttCa

NewEnrollOttCa creates a new http.Handler for the enroll ott ca operation

func (*EnrollOttCa) ServeHTTP

func (o *EnrollOttCa) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type EnrollOttCaHandler

type EnrollOttCaHandler interface {
	Handle(EnrollOttCaParams) middleware.Responder
}

EnrollOttCaHandler interface for that can handle valid enroll ott ca params

type EnrollOttCaHandlerFunc

type EnrollOttCaHandlerFunc func(EnrollOttCaParams) middleware.Responder

EnrollOttCaHandlerFunc turns a function with the right signature into a enroll ott ca handler

func (EnrollOttCaHandlerFunc) Handle

Handle executing the request and returning a response

type EnrollOttCaOK

type EnrollOttCaOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.Empty `json:"body,omitempty"`
}

EnrollOttCaOK Base empty response

swagger:response enrollOttCaOK

func NewEnrollOttCaOK

func NewEnrollOttCaOK() *EnrollOttCaOK

NewEnrollOttCaOK creates EnrollOttCaOK with default headers values

func (*EnrollOttCaOK) SetPayload

func (o *EnrollOttCaOK) SetPayload(payload *rest_model.Empty)

SetPayload sets the payload to the enroll ott ca o k response

func (*EnrollOttCaOK) WithPayload

func (o *EnrollOttCaOK) WithPayload(payload *rest_model.Empty) *EnrollOttCaOK

WithPayload adds the payload to the enroll ott ca o k response

func (*EnrollOttCaOK) WriteResponse

func (o *EnrollOttCaOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type EnrollOttCaParams

type EnrollOttCaParams struct {

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

	/*An OTT enrollment request
	  Required: true
	  In: body
	*/
	OttEnrollmentRequest *rest_model.OttEnrollmentRequest
}

EnrollOttCaParams contains all the bound params for the enroll ott ca operation typically these are obtained from a http.Request

swagger:parameters enrollOttCa

func NewEnrollOttCaParams

func NewEnrollOttCaParams() EnrollOttCaParams

NewEnrollOttCaParams creates a new EnrollOttCaParams object

There are no default values defined in the spec.

func (*EnrollOttCaParams) BindRequest

func (o *EnrollOttCaParams) 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 NewEnrollOttCaParams() beforehand.

type EnrollOttCaTooManyRequests added in v0.26.0

type EnrollOttCaTooManyRequests struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

EnrollOttCaTooManyRequests The resource requested is rate limited and the rate limit has been exceeded

swagger:response enrollOttCaTooManyRequests

func NewEnrollOttCaTooManyRequests added in v0.26.0

func NewEnrollOttCaTooManyRequests() *EnrollOttCaTooManyRequests

NewEnrollOttCaTooManyRequests creates EnrollOttCaTooManyRequests with default headers values

func (*EnrollOttCaTooManyRequests) SetPayload added in v0.26.0

func (o *EnrollOttCaTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the enroll ott ca too many requests response

func (*EnrollOttCaTooManyRequests) WithPayload added in v0.26.0

WithPayload adds the payload to the enroll ott ca too many requests response

func (*EnrollOttCaTooManyRequests) WriteResponse added in v0.26.0

func (o *EnrollOttCaTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type EnrollOttCaURL

type EnrollOttCaURL struct {
	// contains filtered or unexported fields
}

EnrollOttCaURL generates an URL for the enroll ott ca operation

func (*EnrollOttCaURL) Build

func (o *EnrollOttCaURL) Build() (*url.URL, error)

Build a url path and query string

func (*EnrollOttCaURL) BuildFull

func (o *EnrollOttCaURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*EnrollOttCaURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*EnrollOttCaURL) SetBasePath

func (o *EnrollOttCaURL) 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 (*EnrollOttCaURL) String

func (o *EnrollOttCaURL) String() string

String returns the string representation of the path with query string

func (*EnrollOttCaURL) StringFull

func (o *EnrollOttCaURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*EnrollOttCaURL) WithBasePath

func (o *EnrollOttCaURL) WithBasePath(bp string) *EnrollOttCaURL

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 EnrollOttHandler

type EnrollOttHandler interface {
	Handle(EnrollOttParams) middleware.Responder
}

EnrollOttHandler interface for that can handle valid enroll ott params

type EnrollOttHandlerFunc

type EnrollOttHandlerFunc func(EnrollOttParams) middleware.Responder

EnrollOttHandlerFunc turns a function with the right signature into a enroll ott handler

func (EnrollOttHandlerFunc) Handle

Handle executing the request and returning a response

type EnrollOttNotFound

type EnrollOttNotFound struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

EnrollOttNotFound The requested resource does not exist

swagger:response enrollOttNotFound

func NewEnrollOttNotFound

func NewEnrollOttNotFound() *EnrollOttNotFound

NewEnrollOttNotFound creates EnrollOttNotFound with default headers values

func (*EnrollOttNotFound) SetPayload

func (o *EnrollOttNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the enroll ott not found response

func (*EnrollOttNotFound) WithPayload

WithPayload adds the payload to the enroll ott not found response

func (*EnrollOttNotFound) WriteResponse

func (o *EnrollOttNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type EnrollOttOK

type EnrollOttOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.EnrollmentCertsEnvelope `json:"body,omitempty"`
}

EnrollOttOK A response containing and identities client certificate chains

swagger:response enrollOttOK

func NewEnrollOttOK

func NewEnrollOttOK() *EnrollOttOK

NewEnrollOttOK creates EnrollOttOK with default headers values

func (*EnrollOttOK) SetPayload

func (o *EnrollOttOK) SetPayload(payload *rest_model.EnrollmentCertsEnvelope)

SetPayload sets the payload to the enroll ott o k response

func (*EnrollOttOK) WithPayload

func (o *EnrollOttOK) WithPayload(payload *rest_model.EnrollmentCertsEnvelope) *EnrollOttOK

WithPayload adds the payload to the enroll ott o k response

func (*EnrollOttOK) WriteResponse

func (o *EnrollOttOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type EnrollOttParams

type EnrollOttParams struct {

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

	/*An OTT enrollment request
	  Required: true
	  In: body
	*/
	OttEnrollmentRequest *rest_model.OttEnrollmentRequest
}

EnrollOttParams contains all the bound params for the enroll ott operation typically these are obtained from a http.Request

swagger:parameters enrollOtt

func NewEnrollOttParams

func NewEnrollOttParams() EnrollOttParams

NewEnrollOttParams creates a new EnrollOttParams object

There are no default values defined in the spec.

func (*EnrollOttParams) BindRequest

func (o *EnrollOttParams) 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 NewEnrollOttParams() beforehand.

type EnrollOttTooManyRequests added in v0.26.0

type EnrollOttTooManyRequests struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

EnrollOttTooManyRequests The resource requested is rate limited and the rate limit has been exceeded

swagger:response enrollOttTooManyRequests

func NewEnrollOttTooManyRequests added in v0.26.0

func NewEnrollOttTooManyRequests() *EnrollOttTooManyRequests

NewEnrollOttTooManyRequests creates EnrollOttTooManyRequests with default headers values

func (*EnrollOttTooManyRequests) SetPayload added in v0.26.0

func (o *EnrollOttTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the enroll ott too many requests response

func (*EnrollOttTooManyRequests) WithPayload added in v0.26.0

WithPayload adds the payload to the enroll ott too many requests response

func (*EnrollOttTooManyRequests) WriteResponse added in v0.26.0

func (o *EnrollOttTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type EnrollOttURL

type EnrollOttURL struct {
	// contains filtered or unexported fields
}

EnrollOttURL generates an URL for the enroll ott operation

func (*EnrollOttURL) Build

func (o *EnrollOttURL) Build() (*url.URL, error)

Build a url path and query string

func (*EnrollOttURL) BuildFull

func (o *EnrollOttURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*EnrollOttURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*EnrollOttURL) SetBasePath

func (o *EnrollOttURL) 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 (*EnrollOttURL) String

func (o *EnrollOttURL) String() string

String returns the string representation of the path with query string

func (*EnrollOttURL) StringFull

func (o *EnrollOttURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*EnrollOttURL) WithBasePath

func (o *EnrollOttURL) WithBasePath(bp string) *EnrollOttURL

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 EnrollParams

type EnrollParams struct {

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

	/*
	  In: query
	*/
	Method *string
	/*
	  In: query
	*/
	Token *strfmt.UUID
}

EnrollParams contains all the bound params for the enroll operation typically these are obtained from a http.Request

swagger:parameters enroll

func NewEnrollParams

func NewEnrollParams() EnrollParams

NewEnrollParams creates a new EnrollParams object

There are no default values defined in the spec.

func (*EnrollParams) BindRequest

func (o *EnrollParams) 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 NewEnrollParams() beforehand.

type EnrollTooManyRequests added in v0.26.0

type EnrollTooManyRequests struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

EnrollTooManyRequests The resource requested is rate limited and the rate limit has been exceeded

swagger:response enrollTooManyRequests

func NewEnrollTooManyRequests added in v0.26.0

func NewEnrollTooManyRequests() *EnrollTooManyRequests

NewEnrollTooManyRequests creates EnrollTooManyRequests with default headers values

func (*EnrollTooManyRequests) SetPayload added in v0.26.0

func (o *EnrollTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the enroll too many requests response

func (*EnrollTooManyRequests) WithPayload added in v0.26.0

WithPayload adds the payload to the enroll too many requests response

func (*EnrollTooManyRequests) WriteResponse added in v0.26.0

func (o *EnrollTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type EnrollURL

type EnrollURL struct {
	Method *string
	Token  *strfmt.UUID
	// contains filtered or unexported fields
}

EnrollURL generates an URL for the enroll operation

func (*EnrollURL) Build

func (o *EnrollURL) Build() (*url.URL, error)

Build a url path and query string

func (*EnrollURL) BuildFull

func (o *EnrollURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*EnrollURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*EnrollURL) SetBasePath

func (o *EnrollURL) 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 (*EnrollURL) String

func (o *EnrollURL) String() string

String returns the string representation of the path with query string

func (*EnrollURL) StringFull

func (o *EnrollURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*EnrollURL) WithBasePath

func (o *EnrollURL) WithBasePath(bp string) *EnrollURL

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 EnrollUpdb added in v0.26.20

type EnrollUpdb struct {
	Context *middleware.Context
	Handler EnrollUpdbHandler
}
EnrollUpdb swagger:route POST /enroll/updb Enroll enrollUpdb

Enroll an identity via one-time-token

Enrolls an identity via a one-time-token to establish an initial username and password combination

func NewEnrollUpdb added in v0.26.20

func NewEnrollUpdb(ctx *middleware.Context, handler EnrollUpdbHandler) *EnrollUpdb

NewEnrollUpdb creates a new http.Handler for the enroll updb operation

func (*EnrollUpdb) ServeHTTP added in v0.26.20

func (o *EnrollUpdb) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type EnrollUpdbBody added in v0.26.20

type EnrollUpdbBody struct {

	// password
	Password rest_model.Password `json:"password,omitempty"`

	// username
	Username rest_model.Username `json:"username,omitempty"`
}

EnrollUpdbBody enroll updb body

swagger:model EnrollUpdbBody

func (*EnrollUpdbBody) ContextValidate added in v0.26.20

func (o *EnrollUpdbBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this enroll updb body based on the context it is used

func (*EnrollUpdbBody) MarshalBinary added in v0.26.20

func (o *EnrollUpdbBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EnrollUpdbBody) UnmarshalBinary added in v0.26.20

func (o *EnrollUpdbBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EnrollUpdbBody) Validate added in v0.26.20

func (o *EnrollUpdbBody) Validate(formats strfmt.Registry) error

Validate validates this enroll updb body

type EnrollUpdbHandler added in v0.26.20

type EnrollUpdbHandler interface {
	Handle(EnrollUpdbParams) middleware.Responder
}

EnrollUpdbHandler interface for that can handle valid enroll updb params

type EnrollUpdbHandlerFunc added in v0.26.20

type EnrollUpdbHandlerFunc func(EnrollUpdbParams) middleware.Responder

EnrollUpdbHandlerFunc turns a function with the right signature into a enroll updb handler

func (EnrollUpdbHandlerFunc) Handle added in v0.26.20

Handle executing the request and returning a response

type EnrollUpdbNotFound added in v0.26.20

type EnrollUpdbNotFound struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

EnrollUpdbNotFound The requested resource does not exist

swagger:response enrollUpdbNotFound

func NewEnrollUpdbNotFound added in v0.26.20

func NewEnrollUpdbNotFound() *EnrollUpdbNotFound

NewEnrollUpdbNotFound creates EnrollUpdbNotFound with default headers values

func (*EnrollUpdbNotFound) SetPayload added in v0.26.20

func (o *EnrollUpdbNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the enroll updb not found response

func (*EnrollUpdbNotFound) WithPayload added in v0.26.20

WithPayload adds the payload to the enroll updb not found response

func (*EnrollUpdbNotFound) WriteResponse added in v0.26.20

func (o *EnrollUpdbNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type EnrollUpdbOK added in v0.26.20

type EnrollUpdbOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.Empty `json:"body,omitempty"`
}

EnrollUpdbOK Base empty response

swagger:response enrollUpdbOK

func NewEnrollUpdbOK added in v0.26.20

func NewEnrollUpdbOK() *EnrollUpdbOK

NewEnrollUpdbOK creates EnrollUpdbOK with default headers values

func (*EnrollUpdbOK) SetPayload added in v0.26.20

func (o *EnrollUpdbOK) SetPayload(payload *rest_model.Empty)

SetPayload sets the payload to the enroll updb o k response

func (*EnrollUpdbOK) WithPayload added in v0.26.20

func (o *EnrollUpdbOK) WithPayload(payload *rest_model.Empty) *EnrollUpdbOK

WithPayload adds the payload to the enroll updb o k response

func (*EnrollUpdbOK) WriteResponse added in v0.26.20

func (o *EnrollUpdbOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type EnrollUpdbParams added in v0.26.20

type EnrollUpdbParams struct {

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

	/*
	  Required: true
	  In: query
	*/
	Token strfmt.UUID
	/*
	  Required: true
	  In: body
	*/
	UpdbCredentials EnrollUpdbBody
}

EnrollUpdbParams contains all the bound params for the enroll updb operation typically these are obtained from a http.Request

swagger:parameters enrollUpdb

func NewEnrollUpdbParams added in v0.26.20

func NewEnrollUpdbParams() EnrollUpdbParams

NewEnrollUpdbParams creates a new EnrollUpdbParams object

There are no default values defined in the spec.

func (*EnrollUpdbParams) BindRequest added in v0.26.20

func (o *EnrollUpdbParams) 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 NewEnrollUpdbParams() beforehand.

type EnrollUpdbTooManyRequests added in v0.26.20

type EnrollUpdbTooManyRequests struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

EnrollUpdbTooManyRequests The resource requested is rate limited and the rate limit has been exceeded

swagger:response enrollUpdbTooManyRequests

func NewEnrollUpdbTooManyRequests added in v0.26.20

func NewEnrollUpdbTooManyRequests() *EnrollUpdbTooManyRequests

NewEnrollUpdbTooManyRequests creates EnrollUpdbTooManyRequests with default headers values

func (*EnrollUpdbTooManyRequests) SetPayload added in v0.26.20

func (o *EnrollUpdbTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the enroll updb too many requests response

func (*EnrollUpdbTooManyRequests) WithPayload added in v0.26.20

WithPayload adds the payload to the enroll updb too many requests response

func (*EnrollUpdbTooManyRequests) WriteResponse added in v0.26.20

func (o *EnrollUpdbTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type EnrollUpdbURL added in v0.26.20

type EnrollUpdbURL struct {
	Token strfmt.UUID
	// contains filtered or unexported fields
}

EnrollUpdbURL generates an URL for the enroll updb operation

func (*EnrollUpdbURL) Build added in v0.26.20

func (o *EnrollUpdbURL) Build() (*url.URL, error)

Build a url path and query string

func (*EnrollUpdbURL) BuildFull added in v0.26.20

func (o *EnrollUpdbURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*EnrollUpdbURL) Must added in v0.26.20

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

Must is a helper function to panic when the url builder returns an error

func (*EnrollUpdbURL) SetBasePath added in v0.26.20

func (o *EnrollUpdbURL) 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 (*EnrollUpdbURL) String added in v0.26.20

func (o *EnrollUpdbURL) String() string

String returns the string representation of the path with query string

func (*EnrollUpdbURL) StringFull added in v0.26.20

func (o *EnrollUpdbURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*EnrollUpdbURL) WithBasePath added in v0.26.20

func (o *EnrollUpdbURL) WithBasePath(bp string) *EnrollUpdbURL

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 EnrollmentChallenge added in v0.26.20

type EnrollmentChallenge struct {
	Context *middleware.Context
	Handler EnrollmentChallengeHandler
}
EnrollmentChallenge swagger:route POST /enroll/challenge Enroll enrollmentChallenge

Allows verification of a controller or cluster of controllers as being the valid target for enrollment.

A caller may submit a nonce and a key id (kid) from the enrollment JWKS endpoint or enrollment JWT that will be used to sign the nonce. The resulting signature may be validated with the associated public key in order to verify a networks identity during enrollment. The nonce must be a valid formatted UUID.

func NewEnrollmentChallenge added in v0.26.20

func NewEnrollmentChallenge(ctx *middleware.Context, handler EnrollmentChallengeHandler) *EnrollmentChallenge

NewEnrollmentChallenge creates a new http.Handler for the enrollment challenge operation

func (*EnrollmentChallenge) ServeHTTP added in v0.26.20

func (o *EnrollmentChallenge) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type EnrollmentChallengeBadRequest added in v0.26.20

type EnrollmentChallengeBadRequest struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

EnrollmentChallengeBadRequest 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 enrollmentChallengeBadRequest

func NewEnrollmentChallengeBadRequest added in v0.26.20

func NewEnrollmentChallengeBadRequest() *EnrollmentChallengeBadRequest

NewEnrollmentChallengeBadRequest creates EnrollmentChallengeBadRequest with default headers values

func (*EnrollmentChallengeBadRequest) SetPayload added in v0.26.20

SetPayload sets the payload to the enrollment challenge bad request response

func (*EnrollmentChallengeBadRequest) WithPayload added in v0.26.20

WithPayload adds the payload to the enrollment challenge bad request response

func (*EnrollmentChallengeBadRequest) WriteResponse added in v0.26.20

func (o *EnrollmentChallengeBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type EnrollmentChallengeHandler added in v0.26.20

type EnrollmentChallengeHandler interface {
	Handle(EnrollmentChallengeParams) middleware.Responder
}

EnrollmentChallengeHandler interface for that can handle valid enrollment challenge params

type EnrollmentChallengeHandlerFunc added in v0.26.20

type EnrollmentChallengeHandlerFunc func(EnrollmentChallengeParams) middleware.Responder

EnrollmentChallengeHandlerFunc turns a function with the right signature into a enrollment challenge handler

func (EnrollmentChallengeHandlerFunc) Handle added in v0.26.20

Handle executing the request and returning a response

type EnrollmentChallengeOK added in v0.26.20

type EnrollmentChallengeOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.NonceSignature `json:"body,omitempty"`
}

EnrollmentChallengeOK A nonce challenge response. The contents will be the signature of the nonce, the key id used, and algorithm used to produce the signature.

swagger:response enrollmentChallengeOK

func NewEnrollmentChallengeOK added in v0.26.20

func NewEnrollmentChallengeOK() *EnrollmentChallengeOK

NewEnrollmentChallengeOK creates EnrollmentChallengeOK with default headers values

func (*EnrollmentChallengeOK) SetPayload added in v0.26.20

func (o *EnrollmentChallengeOK) SetPayload(payload *rest_model.NonceSignature)

SetPayload sets the payload to the enrollment challenge o k response

func (*EnrollmentChallengeOK) WithPayload added in v0.26.20

WithPayload adds the payload to the enrollment challenge o k response

func (*EnrollmentChallengeOK) WriteResponse added in v0.26.20

func (o *EnrollmentChallengeOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type EnrollmentChallengeParams added in v0.26.20

type EnrollmentChallengeParams struct {

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

	/*
	  Required: true
	  In: body
	*/
	Nonce *rest_model.NonceChallenge
}

EnrollmentChallengeParams contains all the bound params for the enrollment challenge operation typically these are obtained from a http.Request

swagger:parameters enrollmentChallenge

func NewEnrollmentChallengeParams added in v0.26.20

func NewEnrollmentChallengeParams() EnrollmentChallengeParams

NewEnrollmentChallengeParams creates a new EnrollmentChallengeParams object

There are no default values defined in the spec.

func (*EnrollmentChallengeParams) BindRequest added in v0.26.20

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 NewEnrollmentChallengeParams() beforehand.

type EnrollmentChallengeTooManyRequests added in v0.26.20

type EnrollmentChallengeTooManyRequests struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

EnrollmentChallengeTooManyRequests The resource requested is rate limited and the rate limit has been exceeded

swagger:response enrollmentChallengeTooManyRequests

func NewEnrollmentChallengeTooManyRequests added in v0.26.20

func NewEnrollmentChallengeTooManyRequests() *EnrollmentChallengeTooManyRequests

NewEnrollmentChallengeTooManyRequests creates EnrollmentChallengeTooManyRequests with default headers values

func (*EnrollmentChallengeTooManyRequests) SetPayload added in v0.26.20

SetPayload sets the payload to the enrollment challenge too many requests response

func (*EnrollmentChallengeTooManyRequests) WithPayload added in v0.26.20

WithPayload adds the payload to the enrollment challenge too many requests response

func (*EnrollmentChallengeTooManyRequests) WriteResponse added in v0.26.20

WriteResponse to the client

type EnrollmentChallengeURL added in v0.26.20

type EnrollmentChallengeURL struct {
	// contains filtered or unexported fields
}

EnrollmentChallengeURL generates an URL for the enrollment challenge operation

func (*EnrollmentChallengeURL) Build added in v0.26.20

func (o *EnrollmentChallengeURL) Build() (*url.URL, error)

Build a url path and query string

func (*EnrollmentChallengeURL) BuildFull added in v0.26.20

func (o *EnrollmentChallengeURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*EnrollmentChallengeURL) Must added in v0.26.20

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

Must is a helper function to panic when the url builder returns an error

func (*EnrollmentChallengeURL) SetBasePath added in v0.26.20

func (o *EnrollmentChallengeURL) 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 (*EnrollmentChallengeURL) String added in v0.26.20

func (o *EnrollmentChallengeURL) String() string

String returns the string representation of the path with query string

func (*EnrollmentChallengeURL) StringFull added in v0.26.20

func (o *EnrollmentChallengeURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*EnrollmentChallengeURL) WithBasePath added in v0.26.20

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 ExtendRouterEnrollment

type ExtendRouterEnrollment struct {
	Context *middleware.Context
	Handler ExtendRouterEnrollmentHandler
}
ExtendRouterEnrollment swagger:route POST /enroll/extend/router Enroll Extend Enrollment extendRouterEnrollment

Extend the life of a currently enrolled router's certificates

Allows a router to extend its certificates' expiration date by using its current and valid client certificate to submit a CSR. This CSR may be passed in using a new private key, thus allowing private key rotation or swapping.

After completion any new connections must be made with certificates returned from a 200 OK response. The previous client certificate is rendered invalid for use with the controller even if it has not expired.

This request must be made using the existing, valid, client certificate.

func NewExtendRouterEnrollment

func NewExtendRouterEnrollment(ctx *middleware.Context, handler ExtendRouterEnrollmentHandler) *ExtendRouterEnrollment

NewExtendRouterEnrollment creates a new http.Handler for the extend router enrollment operation

func (*ExtendRouterEnrollment) ServeHTTP

func (o *ExtendRouterEnrollment) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ExtendRouterEnrollmentHandler

type ExtendRouterEnrollmentHandler interface {
	Handle(ExtendRouterEnrollmentParams) middleware.Responder
}

ExtendRouterEnrollmentHandler interface for that can handle valid extend router enrollment params

type ExtendRouterEnrollmentHandlerFunc

type ExtendRouterEnrollmentHandlerFunc func(ExtendRouterEnrollmentParams) middleware.Responder

ExtendRouterEnrollmentHandlerFunc turns a function with the right signature into a extend router enrollment handler

func (ExtendRouterEnrollmentHandlerFunc) Handle

Handle executing the request and returning a response

type ExtendRouterEnrollmentOK

type ExtendRouterEnrollmentOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.EnrollmentCertsEnvelope `json:"body,omitempty"`
}

ExtendRouterEnrollmentOK A response containing the edge routers new signed certificates (server chain, server cert, CAs).

swagger:response extendRouterEnrollmentOK

func NewExtendRouterEnrollmentOK

func NewExtendRouterEnrollmentOK() *ExtendRouterEnrollmentOK

NewExtendRouterEnrollmentOK creates ExtendRouterEnrollmentOK with default headers values

func (*ExtendRouterEnrollmentOK) SetPayload

SetPayload sets the payload to the extend router enrollment o k response

func (*ExtendRouterEnrollmentOK) WithPayload

WithPayload adds the payload to the extend router enrollment o k response

func (*ExtendRouterEnrollmentOK) WriteResponse

func (o *ExtendRouterEnrollmentOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ExtendRouterEnrollmentParams

type ExtendRouterEnrollmentParams struct {

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

	/*
	  Required: true
	  In: body
	*/
	RouterExtendEnrollmentRequest *rest_model.RouterExtendEnrollmentRequest
}

ExtendRouterEnrollmentParams contains all the bound params for the extend router enrollment operation typically these are obtained from a http.Request

swagger:parameters extendRouterEnrollment

func NewExtendRouterEnrollmentParams

func NewExtendRouterEnrollmentParams() ExtendRouterEnrollmentParams

NewExtendRouterEnrollmentParams creates a new ExtendRouterEnrollmentParams object

There are no default values defined in the spec.

func (*ExtendRouterEnrollmentParams) 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 NewExtendRouterEnrollmentParams() beforehand.

type ExtendRouterEnrollmentTooManyRequests added in v0.26.0

type ExtendRouterEnrollmentTooManyRequests struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ExtendRouterEnrollmentTooManyRequests The resource requested is rate limited and the rate limit has been exceeded

swagger:response extendRouterEnrollmentTooManyRequests

func NewExtendRouterEnrollmentTooManyRequests added in v0.26.0

func NewExtendRouterEnrollmentTooManyRequests() *ExtendRouterEnrollmentTooManyRequests

NewExtendRouterEnrollmentTooManyRequests creates ExtendRouterEnrollmentTooManyRequests with default headers values

func (*ExtendRouterEnrollmentTooManyRequests) SetPayload added in v0.26.0

SetPayload sets the payload to the extend router enrollment too many requests response

func (*ExtendRouterEnrollmentTooManyRequests) WithPayload added in v0.26.0

WithPayload adds the payload to the extend router enrollment too many requests response

func (*ExtendRouterEnrollmentTooManyRequests) WriteResponse added in v0.26.0

WriteResponse to the client

type ExtendRouterEnrollmentURL

type ExtendRouterEnrollmentURL struct {
	// contains filtered or unexported fields
}

ExtendRouterEnrollmentURL generates an URL for the extend router enrollment operation

func (*ExtendRouterEnrollmentURL) Build

func (o *ExtendRouterEnrollmentURL) Build() (*url.URL, error)

Build a url path and query string

func (*ExtendRouterEnrollmentURL) BuildFull

func (o *ExtendRouterEnrollmentURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ExtendRouterEnrollmentURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*ExtendRouterEnrollmentURL) SetBasePath

func (o *ExtendRouterEnrollmentURL) 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 (*ExtendRouterEnrollmentURL) String

func (o *ExtendRouterEnrollmentURL) String() string

String returns the string representation of the path with query string

func (*ExtendRouterEnrollmentURL) StringFull

func (o *ExtendRouterEnrollmentURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ExtendRouterEnrollmentURL) 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

type ExtendRouterEnrollmentUnauthorized

type ExtendRouterEnrollmentUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ExtendRouterEnrollmentUnauthorized The supplied session does not have the correct access rights to request this resource

swagger:response extendRouterEnrollmentUnauthorized

func NewExtendRouterEnrollmentUnauthorized

func NewExtendRouterEnrollmentUnauthorized() *ExtendRouterEnrollmentUnauthorized

NewExtendRouterEnrollmentUnauthorized creates ExtendRouterEnrollmentUnauthorized with default headers values

func (*ExtendRouterEnrollmentUnauthorized) SetPayload

SetPayload sets the payload to the extend router enrollment unauthorized response

func (*ExtendRouterEnrollmentUnauthorized) WithPayload

WithPayload adds the payload to the extend router enrollment unauthorized response

func (*ExtendRouterEnrollmentUnauthorized) WriteResponse

WriteResponse to the client

type GetEnrollmentJwks added in v0.26.20

type GetEnrollmentJwks struct {
	Context *middleware.Context
	Handler GetEnrollmentJwksHandler
}
GetEnrollmentJwks swagger:route GET /enroll/jwks Enroll getEnrollmentJwks

List JSON Web Keys associated with enrollment

Returns a list of JSON Web Keys (JWKS) that are used for enrollment signing. The keys listed here are used to sign and co-sign enrollment JWTs. They can be verified through a challenge endpoint, using the public keys from this endpoint to verify the target machine has possession of the related private key.

func NewGetEnrollmentJwks added in v0.26.20

func NewGetEnrollmentJwks(ctx *middleware.Context, handler GetEnrollmentJwksHandler) *GetEnrollmentJwks

NewGetEnrollmentJwks creates a new http.Handler for the get enrollment jwks operation

func (*GetEnrollmentJwks) ServeHTTP added in v0.26.20

func (o *GetEnrollmentJwks) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetEnrollmentJwksHandler added in v0.26.20

type GetEnrollmentJwksHandler interface {
	Handle(GetEnrollmentJwksParams) middleware.Responder
}

GetEnrollmentJwksHandler interface for that can handle valid get enrollment jwks params

type GetEnrollmentJwksHandlerFunc added in v0.26.20

type GetEnrollmentJwksHandlerFunc func(GetEnrollmentJwksParams) middleware.Responder

GetEnrollmentJwksHandlerFunc turns a function with the right signature into a get enrollment jwks handler

func (GetEnrollmentJwksHandlerFunc) Handle added in v0.26.20

Handle executing the request and returning a response

type GetEnrollmentJwksOK added in v0.26.20

type GetEnrollmentJwksOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.Jwks `json:"body,omitempty"`
}

GetEnrollmentJwksOK A JWKS response for enrollment.

swagger:response getEnrollmentJwksOK

func NewGetEnrollmentJwksOK added in v0.26.20

func NewGetEnrollmentJwksOK() *GetEnrollmentJwksOK

NewGetEnrollmentJwksOK creates GetEnrollmentJwksOK with default headers values

func (*GetEnrollmentJwksOK) SetPayload added in v0.26.20

func (o *GetEnrollmentJwksOK) SetPayload(payload *rest_model.Jwks)

SetPayload sets the payload to the get enrollment jwks o k response

func (*GetEnrollmentJwksOK) WithPayload added in v0.26.20

func (o *GetEnrollmentJwksOK) WithPayload(payload *rest_model.Jwks) *GetEnrollmentJwksOK

WithPayload adds the payload to the get enrollment jwks o k response

func (*GetEnrollmentJwksOK) WriteResponse added in v0.26.20

func (o *GetEnrollmentJwksOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetEnrollmentJwksParams added in v0.26.20

type GetEnrollmentJwksParams struct {

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

GetEnrollmentJwksParams contains all the bound params for the get enrollment jwks operation typically these are obtained from a http.Request

swagger:parameters getEnrollmentJwks

func NewGetEnrollmentJwksParams added in v0.26.20

func NewGetEnrollmentJwksParams() GetEnrollmentJwksParams

NewGetEnrollmentJwksParams creates a new GetEnrollmentJwksParams object

There are no default values defined in the spec.

func (*GetEnrollmentJwksParams) BindRequest added in v0.26.20

func (o *GetEnrollmentJwksParams) 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 NewGetEnrollmentJwksParams() beforehand.

type GetEnrollmentJwksURL added in v0.26.20

type GetEnrollmentJwksURL struct {
	// contains filtered or unexported fields
}

GetEnrollmentJwksURL generates an URL for the get enrollment jwks operation

func (*GetEnrollmentJwksURL) Build added in v0.26.20

func (o *GetEnrollmentJwksURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetEnrollmentJwksURL) BuildFull added in v0.26.20

func (o *GetEnrollmentJwksURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetEnrollmentJwksURL) Must added in v0.26.20

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

Must is a helper function to panic when the url builder returns an error

func (*GetEnrollmentJwksURL) SetBasePath added in v0.26.20

func (o *GetEnrollmentJwksURL) 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 (*GetEnrollmentJwksURL) String added in v0.26.20

func (o *GetEnrollmentJwksURL) String() string

String returns the string representation of the path with query string

func (*GetEnrollmentJwksURL) StringFull added in v0.26.20

func (o *GetEnrollmentJwksURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetEnrollmentJwksURL) WithBasePath added in v0.26.20

func (o *GetEnrollmentJwksURL) WithBasePath(bp string) *GetEnrollmentJwksURL

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