enroll

package
v0.27.7 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const EnrollBadRequestCode int = 400

EnrollBadRequestCode is the HTTP code returned for type EnrollBadRequest

View Source
const EnrollCaBadRequestCode int = 400

EnrollCaBadRequestCode is the HTTP code returned for type EnrollCaBadRequest

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 EnrollCaServiceUnavailableCode int = 503

EnrollCaServiceUnavailableCode is the HTTP code returned for type EnrollCaServiceUnavailable

View Source
const EnrollCaTooManyRequestsCode int = 429

EnrollCaTooManyRequestsCode is the HTTP code returned for type EnrollCaTooManyRequests

View Source
const EnrollConflictCode int = 409

EnrollConflictCode is the HTTP code returned for type EnrollConflict

View Source
const EnrollErOttBadRequestCode int = 400

EnrollErOttBadRequestCode is the HTTP code returned for type EnrollErOttBadRequest

View Source
const EnrollErOttOKCode int = 200

EnrollErOttOKCode is the HTTP code returned for type EnrollErOttOK

View Source
const EnrollErOttServiceUnavailableCode int = 503

EnrollErOttServiceUnavailableCode is the HTTP code returned for type EnrollErOttServiceUnavailable

View Source
const EnrollErOttTooManyRequestsCode int = 429

EnrollErOttTooManyRequestsCode is the HTTP code returned for type EnrollErOttTooManyRequests

View Source
const EnrollGoneCode int = 410

EnrollGoneCode is the HTTP code returned for type EnrollGone

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 EnrollOttBadRequestCode int = 400

EnrollOttBadRequestCode is the HTTP code returned for type EnrollOttBadRequest

View Source
const EnrollOttCaBadRequestCode int = 400

EnrollOttCaBadRequestCode is the HTTP code returned for type EnrollOttCaBadRequest

View Source
const EnrollOttCaOKCode int = 200

EnrollOttCaOKCode is the HTTP code returned for type EnrollOttCaOK

View Source
const EnrollOttCaServiceUnavailableCode int = 503

EnrollOttCaServiceUnavailableCode is the HTTP code returned for type EnrollOttCaServiceUnavailable

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 EnrollOttServiceUnavailableCode int = 503

EnrollOttServiceUnavailableCode is the HTTP code returned for type EnrollOttServiceUnavailable

View Source
const EnrollOttTooManyRequestsCode int = 429

EnrollOttTooManyRequestsCode is the HTTP code returned for type EnrollOttTooManyRequests

View Source
const EnrollServiceUnavailableCode int = 503

EnrollServiceUnavailableCode is the HTTP code returned for type EnrollServiceUnavailable

View Source
const EnrollTokenBadRequestCode int = 400

EnrollTokenBadRequestCode is the HTTP code returned for type EnrollTokenBadRequest

View Source
const EnrollTokenConflictCode int = 409

EnrollTokenConflictCode is the HTTP code returned for type EnrollTokenConflict

View Source
const EnrollTokenGoneCode int = 410

EnrollTokenGoneCode is the HTTP code returned for type EnrollTokenGone

View Source
const EnrollTokenNotFoundCode int = 404

EnrollTokenNotFoundCode is the HTTP code returned for type EnrollTokenNotFound

View Source
const EnrollTokenOKCode int = 200

EnrollTokenOKCode is the HTTP code returned for type EnrollTokenOK

View Source
const EnrollTokenServiceUnavailableCode int = 503

EnrollTokenServiceUnavailableCode is the HTTP code returned for type EnrollTokenServiceUnavailable

View Source
const EnrollTokenTooManyRequestsCode int = 429

EnrollTokenTooManyRequestsCode is the HTTP code returned for type EnrollTokenTooManyRequests

View Source
const EnrollTooManyRequestsCode int = 429

EnrollTooManyRequestsCode is the HTTP code returned for type EnrollTooManyRequests

View Source
const EnrollUpdbBadRequestCode int = 400

EnrollUpdbBadRequestCode is the HTTP code returned for type EnrollUpdbBadRequest

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 EnrollUpdbServiceUnavailableCode int = 503

EnrollUpdbServiceUnavailableCode is the HTTP code returned for type EnrollUpdbServiceUnavailable

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 ExtendRouterEnrollmentBadRequestCode int = 400

ExtendRouterEnrollmentBadRequestCode is the HTTP code returned for type ExtendRouterEnrollmentBadRequest

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 EnrollBadRequest

type EnrollBadRequest struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

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

EnrollBadRequest 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 enrollBadRequest

func NewEnrollBadRequest

func NewEnrollBadRequest() *EnrollBadRequest

NewEnrollBadRequest creates EnrollBadRequest with default headers values

func (*EnrollBadRequest) SetPayload

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

SetPayload sets the payload to the enroll bad request response

func (*EnrollBadRequest) SetWWWAuthenticate

func (o *EnrollBadRequest) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the enroll bad request response

func (*EnrollBadRequest) WithPayload

WithPayload adds the payload to the enroll bad request response

func (*EnrollBadRequest) WithWWWAuthenticate

func (o *EnrollBadRequest) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollBadRequest

WithWWWAuthenticate adds the wWWAuthenticate to the enroll bad request response

func (*EnrollBadRequest) WriteResponse

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

WriteResponse to the client

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 EnrollCaBadRequest

type EnrollCaBadRequest struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

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

EnrollCaBadRequest 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 enrollCaBadRequest

func NewEnrollCaBadRequest

func NewEnrollCaBadRequest() *EnrollCaBadRequest

NewEnrollCaBadRequest creates EnrollCaBadRequest with default headers values

func (*EnrollCaBadRequest) SetPayload

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

SetPayload sets the payload to the enroll ca bad request response

func (*EnrollCaBadRequest) SetWWWAuthenticate

func (o *EnrollCaBadRequest) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the enroll ca bad request response

func (*EnrollCaBadRequest) WithPayload

WithPayload adds the payload to the enroll ca bad request response

func (*EnrollCaBadRequest) WithWWWAuthenticate

func (o *EnrollCaBadRequest) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollCaBadRequest

WithWWWAuthenticate adds the wWWAuthenticate to the enroll ca bad request response

func (*EnrollCaBadRequest) WriteResponse

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

WriteResponse to the client

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 {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  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) SetWWWAuthenticate

func (o *EnrollCaNotFound) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the enroll ca not found response

func (*EnrollCaNotFound) WithPayload

WithPayload adds the payload to the enroll ca not found response

func (*EnrollCaNotFound) WithWWWAuthenticate

func (o *EnrollCaNotFound) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollCaNotFound

WithWWWAuthenticate adds the wWWAuthenticate 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 {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  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) SetWWWAuthenticate

func (o *EnrollCaOK) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate 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) WithWWWAuthenticate

func (o *EnrollCaOK) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollCaOK

WithWWWAuthenticate adds the wWWAuthenticate 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 EnrollCaServiceUnavailable

type EnrollCaServiceUnavailable struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

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

EnrollCaServiceUnavailable The request could not be completed due to the server being busy or in a temporarily bad state

swagger:response enrollCaServiceUnavailable

func NewEnrollCaServiceUnavailable

func NewEnrollCaServiceUnavailable() *EnrollCaServiceUnavailable

NewEnrollCaServiceUnavailable creates EnrollCaServiceUnavailable with default headers values

func (*EnrollCaServiceUnavailable) SetPayload

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

SetPayload sets the payload to the enroll ca service unavailable response

func (*EnrollCaServiceUnavailable) SetWWWAuthenticate

func (o *EnrollCaServiceUnavailable) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the enroll ca service unavailable response

func (*EnrollCaServiceUnavailable) WithPayload

WithPayload adds the payload to the enroll ca service unavailable response

func (*EnrollCaServiceUnavailable) WithWWWAuthenticate

func (o *EnrollCaServiceUnavailable) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollCaServiceUnavailable

WithWWWAuthenticate adds the wWWAuthenticate to the enroll ca service unavailable response

func (*EnrollCaServiceUnavailable) WriteResponse

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

WriteResponse to the client

type EnrollCaTooManyRequests

type EnrollCaTooManyRequests struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  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

func NewEnrollCaTooManyRequests() *EnrollCaTooManyRequests

NewEnrollCaTooManyRequests creates EnrollCaTooManyRequests with default headers values

func (*EnrollCaTooManyRequests) SetPayload

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

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

func (*EnrollCaTooManyRequests) SetWWWAuthenticate

func (o *EnrollCaTooManyRequests) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the enroll ca too many requests response

func (*EnrollCaTooManyRequests) WithPayload

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

func (*EnrollCaTooManyRequests) WithWWWAuthenticate

func (o *EnrollCaTooManyRequests) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollCaTooManyRequests

WithWWWAuthenticate adds the wWWAuthenticate to the enroll ca too many requests response

func (*EnrollCaTooManyRequests) WriteResponse

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 EnrollConflict

type EnrollConflict struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

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

EnrollConflict The request could not be completed due to a conflict of configuration or state

swagger:response enrollConflict

func NewEnrollConflict

func NewEnrollConflict() *EnrollConflict

NewEnrollConflict creates EnrollConflict with default headers values

func (*EnrollConflict) SetPayload

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

SetPayload sets the payload to the enroll conflict response

func (*EnrollConflict) SetWWWAuthenticate

func (o *EnrollConflict) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the enroll conflict response

func (*EnrollConflict) WithPayload

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

WithPayload adds the payload to the enroll conflict response

func (*EnrollConflict) WithWWWAuthenticate

func (o *EnrollConflict) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollConflict

WithWWWAuthenticate adds the wWWAuthenticate to the enroll conflict response

func (*EnrollConflict) WriteResponse

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

WriteResponse to the client

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 EnrollErOttBadRequest

type EnrollErOttBadRequest struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

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

EnrollErOttBadRequest 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 enrollErOttBadRequest

func NewEnrollErOttBadRequest

func NewEnrollErOttBadRequest() *EnrollErOttBadRequest

NewEnrollErOttBadRequest creates EnrollErOttBadRequest with default headers values

func (*EnrollErOttBadRequest) SetPayload

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

SetPayload sets the payload to the enroll er ott bad request response

func (*EnrollErOttBadRequest) SetWWWAuthenticate

func (o *EnrollErOttBadRequest) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the enroll er ott bad request response

func (*EnrollErOttBadRequest) WithPayload

WithPayload adds the payload to the enroll er ott bad request response

func (*EnrollErOttBadRequest) WithWWWAuthenticate

func (o *EnrollErOttBadRequest) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollErOttBadRequest

WithWWWAuthenticate adds the wWWAuthenticate to the enroll er ott bad request response

func (*EnrollErOttBadRequest) WriteResponse

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

WriteResponse to the client

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 {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  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) SetWWWAuthenticate

func (o *EnrollErOttOK) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate 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) WithWWWAuthenticate

func (o *EnrollErOttOK) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollErOttOK

WithWWWAuthenticate adds the wWWAuthenticate 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 EnrollErOttServiceUnavailable

type EnrollErOttServiceUnavailable struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

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

EnrollErOttServiceUnavailable The request could not be completed due to the server being busy or in a temporarily bad state

swagger:response enrollErOttServiceUnavailable

func NewEnrollErOttServiceUnavailable

func NewEnrollErOttServiceUnavailable() *EnrollErOttServiceUnavailable

NewEnrollErOttServiceUnavailable creates EnrollErOttServiceUnavailable with default headers values

func (*EnrollErOttServiceUnavailable) SetPayload

SetPayload sets the payload to the enroll er ott service unavailable response

func (*EnrollErOttServiceUnavailable) SetWWWAuthenticate

func (o *EnrollErOttServiceUnavailable) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the enroll er ott service unavailable response

func (*EnrollErOttServiceUnavailable) WithPayload

WithPayload adds the payload to the enroll er ott service unavailable response

func (*EnrollErOttServiceUnavailable) WithWWWAuthenticate

func (o *EnrollErOttServiceUnavailable) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollErOttServiceUnavailable

WithWWWAuthenticate adds the wWWAuthenticate to the enroll er ott service unavailable response

func (*EnrollErOttServiceUnavailable) WriteResponse

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

WriteResponse to the client

type EnrollErOttTooManyRequests

type EnrollErOttTooManyRequests struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  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

func NewEnrollErOttTooManyRequests() *EnrollErOttTooManyRequests

NewEnrollErOttTooManyRequests creates EnrollErOttTooManyRequests with default headers values

func (*EnrollErOttTooManyRequests) SetPayload

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

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

func (*EnrollErOttTooManyRequests) SetWWWAuthenticate

func (o *EnrollErOttTooManyRequests) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the enroll er ott too many requests response

func (*EnrollErOttTooManyRequests) WithPayload

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

func (*EnrollErOttTooManyRequests) WithWWWAuthenticate

func (o *EnrollErOttTooManyRequests) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollErOttTooManyRequests

WithWWWAuthenticate adds the wWWAuthenticate to the enroll er ott too many requests response

func (*EnrollErOttTooManyRequests) WriteResponse

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 EnrollGone

type EnrollGone struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

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

EnrollGone The request could not be completed as the resource is no longer available

swagger:response enrollGone

func NewEnrollGone

func NewEnrollGone() *EnrollGone

NewEnrollGone creates EnrollGone with default headers values

func (*EnrollGone) SetPayload

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

SetPayload sets the payload to the enroll gone response

func (*EnrollGone) SetWWWAuthenticate

func (o *EnrollGone) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the enroll gone response

func (*EnrollGone) WithPayload

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

WithPayload adds the payload to the enroll gone response

func (*EnrollGone) WithWWWAuthenticate

func (o *EnrollGone) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollGone

WithWWWAuthenticate adds the wWWAuthenticate to the enroll gone response

func (*EnrollGone) WriteResponse

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

WriteResponse to the client

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 {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  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) SetWWWAuthenticate

func (o *EnrollNotFound) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate 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) WithWWWAuthenticate

func (o *EnrollNotFound) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollNotFound

WithWWWAuthenticate adds the wWWAuthenticate 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 {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

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

EnrollOK A response containing and identities client certificate chains

swagger:response enrollOK

func NewEnrollOK

func NewEnrollOK() *EnrollOK

NewEnrollOK creates EnrollOK with default headers values

func (*EnrollOK) SetPayload

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

SetPayload sets the payload to the enroll o k response

func (*EnrollOK) SetWWWAuthenticate

func (o *EnrollOK) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the enroll o k response

func (*EnrollOK) WithPayload

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

WithPayload adds the payload to the enroll o k response

func (*EnrollOK) WithWWWAuthenticate

func (o *EnrollOK) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollOK

WithWWWAuthenticate adds the wWWAuthenticate 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 EnrollOttBadRequest

type EnrollOttBadRequest struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

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

EnrollOttBadRequest 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 enrollOttBadRequest

func NewEnrollOttBadRequest

func NewEnrollOttBadRequest() *EnrollOttBadRequest

NewEnrollOttBadRequest creates EnrollOttBadRequest with default headers values

func (*EnrollOttBadRequest) SetPayload

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

SetPayload sets the payload to the enroll ott bad request response

func (*EnrollOttBadRequest) SetWWWAuthenticate

func (o *EnrollOttBadRequest) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the enroll ott bad request response

func (*EnrollOttBadRequest) WithPayload

WithPayload adds the payload to the enroll ott bad request response

func (*EnrollOttBadRequest) WithWWWAuthenticate

func (o *EnrollOttBadRequest) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollOttBadRequest

WithWWWAuthenticate adds the wWWAuthenticate to the enroll ott bad request response

func (*EnrollOttBadRequest) WriteResponse

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

WriteResponse to the client

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 EnrollOttCaBadRequest

type EnrollOttCaBadRequest struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

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

EnrollOttCaBadRequest 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 enrollOttCaBadRequest

func NewEnrollOttCaBadRequest

func NewEnrollOttCaBadRequest() *EnrollOttCaBadRequest

NewEnrollOttCaBadRequest creates EnrollOttCaBadRequest with default headers values

func (*EnrollOttCaBadRequest) SetPayload

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

SetPayload sets the payload to the enroll ott ca bad request response

func (*EnrollOttCaBadRequest) SetWWWAuthenticate

func (o *EnrollOttCaBadRequest) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the enroll ott ca bad request response

func (*EnrollOttCaBadRequest) WithPayload

WithPayload adds the payload to the enroll ott ca bad request response

func (*EnrollOttCaBadRequest) WithWWWAuthenticate

func (o *EnrollOttCaBadRequest) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollOttCaBadRequest

WithWWWAuthenticate adds the wWWAuthenticate to the enroll ott ca bad request response

func (*EnrollOttCaBadRequest) WriteResponse

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

WriteResponse to the client

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 {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  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) SetWWWAuthenticate

func (o *EnrollOttCaOK) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate 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) WithWWWAuthenticate

func (o *EnrollOttCaOK) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollOttCaOK

WithWWWAuthenticate adds the wWWAuthenticate 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 EnrollOttCaServiceUnavailable

type EnrollOttCaServiceUnavailable struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

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

EnrollOttCaServiceUnavailable The request could not be completed due to the server being busy or in a temporarily bad state

swagger:response enrollOttCaServiceUnavailable

func NewEnrollOttCaServiceUnavailable

func NewEnrollOttCaServiceUnavailable() *EnrollOttCaServiceUnavailable

NewEnrollOttCaServiceUnavailable creates EnrollOttCaServiceUnavailable with default headers values

func (*EnrollOttCaServiceUnavailable) SetPayload

SetPayload sets the payload to the enroll ott ca service unavailable response

func (*EnrollOttCaServiceUnavailable) SetWWWAuthenticate

func (o *EnrollOttCaServiceUnavailable) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the enroll ott ca service unavailable response

func (*EnrollOttCaServiceUnavailable) WithPayload

WithPayload adds the payload to the enroll ott ca service unavailable response

func (*EnrollOttCaServiceUnavailable) WithWWWAuthenticate

func (o *EnrollOttCaServiceUnavailable) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollOttCaServiceUnavailable

WithWWWAuthenticate adds the wWWAuthenticate to the enroll ott ca service unavailable response

func (*EnrollOttCaServiceUnavailable) WriteResponse

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

WriteResponse to the client

type EnrollOttCaTooManyRequests

type EnrollOttCaTooManyRequests struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  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

func NewEnrollOttCaTooManyRequests() *EnrollOttCaTooManyRequests

NewEnrollOttCaTooManyRequests creates EnrollOttCaTooManyRequests with default headers values

func (*EnrollOttCaTooManyRequests) SetPayload

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

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

func (*EnrollOttCaTooManyRequests) SetWWWAuthenticate

func (o *EnrollOttCaTooManyRequests) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the enroll ott ca too many requests response

func (*EnrollOttCaTooManyRequests) WithPayload

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

func (*EnrollOttCaTooManyRequests) WithWWWAuthenticate

func (o *EnrollOttCaTooManyRequests) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollOttCaTooManyRequests

WithWWWAuthenticate adds the wWWAuthenticate to the enroll ott ca too many requests response

func (*EnrollOttCaTooManyRequests) WriteResponse

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 {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  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) SetWWWAuthenticate

func (o *EnrollOttNotFound) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the enroll ott not found response

func (*EnrollOttNotFound) WithPayload

WithPayload adds the payload to the enroll ott not found response

func (*EnrollOttNotFound) WithWWWAuthenticate

func (o *EnrollOttNotFound) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollOttNotFound

WithWWWAuthenticate adds the wWWAuthenticate 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 {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  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) SetWWWAuthenticate

func (o *EnrollOttOK) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate 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) WithWWWAuthenticate

func (o *EnrollOttOK) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollOttOK

WithWWWAuthenticate adds the wWWAuthenticate 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 EnrollOttServiceUnavailable

type EnrollOttServiceUnavailable struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

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

EnrollOttServiceUnavailable The request could not be completed due to the server being busy or in a temporarily bad state

swagger:response enrollOttServiceUnavailable

func NewEnrollOttServiceUnavailable

func NewEnrollOttServiceUnavailable() *EnrollOttServiceUnavailable

NewEnrollOttServiceUnavailable creates EnrollOttServiceUnavailable with default headers values

func (*EnrollOttServiceUnavailable) SetPayload

SetPayload sets the payload to the enroll ott service unavailable response

func (*EnrollOttServiceUnavailable) SetWWWAuthenticate

func (o *EnrollOttServiceUnavailable) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the enroll ott service unavailable response

func (*EnrollOttServiceUnavailable) WithPayload

WithPayload adds the payload to the enroll ott service unavailable response

func (*EnrollOttServiceUnavailable) WithWWWAuthenticate

func (o *EnrollOttServiceUnavailable) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollOttServiceUnavailable

WithWWWAuthenticate adds the wWWAuthenticate to the enroll ott service unavailable response

func (*EnrollOttServiceUnavailable) WriteResponse

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

WriteResponse to the client

type EnrollOttTooManyRequests

type EnrollOttTooManyRequests struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  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

func NewEnrollOttTooManyRequests() *EnrollOttTooManyRequests

NewEnrollOttTooManyRequests creates EnrollOttTooManyRequests with default headers values

func (*EnrollOttTooManyRequests) SetPayload

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

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

func (*EnrollOttTooManyRequests) SetWWWAuthenticate

func (o *EnrollOttTooManyRequests) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the enroll ott too many requests response

func (*EnrollOttTooManyRequests) WithPayload

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

func (*EnrollOttTooManyRequests) WithWWWAuthenticate

func (o *EnrollOttTooManyRequests) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollOttTooManyRequests

WithWWWAuthenticate adds the wWWAuthenticate to the enroll ott too many requests response

func (*EnrollOttTooManyRequests) WriteResponse

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: body
	*/
	Body *rest_model.GenericEnroll

	/*
	  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 EnrollServiceUnavailable

type EnrollServiceUnavailable struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

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

EnrollServiceUnavailable The request could not be completed due to the server being busy or in a temporarily bad state

swagger:response enrollServiceUnavailable

func NewEnrollServiceUnavailable

func NewEnrollServiceUnavailable() *EnrollServiceUnavailable

NewEnrollServiceUnavailable creates EnrollServiceUnavailable with default headers values

func (*EnrollServiceUnavailable) SetPayload

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

SetPayload sets the payload to the enroll service unavailable response

func (*EnrollServiceUnavailable) SetWWWAuthenticate

func (o *EnrollServiceUnavailable) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the enroll service unavailable response

func (*EnrollServiceUnavailable) WithPayload

WithPayload adds the payload to the enroll service unavailable response

func (*EnrollServiceUnavailable) WithWWWAuthenticate

func (o *EnrollServiceUnavailable) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollServiceUnavailable

WithWWWAuthenticate adds the wWWAuthenticate to the enroll service unavailable response

func (*EnrollServiceUnavailable) WriteResponse

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

WriteResponse to the client

type EnrollToken

type EnrollToken struct {
	Context *middleware.Context
	Handler EnrollTokenHandler
}
EnrollToken swagger:route POST /enroll/token Enroll enrollToken

EnrollToken enroll token API

func NewEnrollToken

func NewEnrollToken(ctx *middleware.Context, handler EnrollTokenHandler) *EnrollToken

NewEnrollToken creates a new http.Handler for the enroll token operation

func (*EnrollToken) ServeHTTP

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

type EnrollTokenBadRequest

type EnrollTokenBadRequest struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

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

EnrollTokenBadRequest 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 enrollTokenBadRequest

func NewEnrollTokenBadRequest

func NewEnrollTokenBadRequest() *EnrollTokenBadRequest

NewEnrollTokenBadRequest creates EnrollTokenBadRequest with default headers values

func (*EnrollTokenBadRequest) SetPayload

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

SetPayload sets the payload to the enroll token bad request response

func (*EnrollTokenBadRequest) SetWWWAuthenticate

func (o *EnrollTokenBadRequest) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the enroll token bad request response

func (*EnrollTokenBadRequest) WithPayload

WithPayload adds the payload to the enroll token bad request response

func (*EnrollTokenBadRequest) WithWWWAuthenticate

func (o *EnrollTokenBadRequest) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollTokenBadRequest

WithWWWAuthenticate adds the wWWAuthenticate to the enroll token bad request response

func (*EnrollTokenBadRequest) WriteResponse

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

WriteResponse to the client

type EnrollTokenConflict

type EnrollTokenConflict struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

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

EnrollTokenConflict The request could not be completed due to a conflict of configuration or state

swagger:response enrollTokenConflict

func NewEnrollTokenConflict

func NewEnrollTokenConflict() *EnrollTokenConflict

NewEnrollTokenConflict creates EnrollTokenConflict with default headers values

func (*EnrollTokenConflict) SetPayload

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

SetPayload sets the payload to the enroll token conflict response

func (*EnrollTokenConflict) SetWWWAuthenticate

func (o *EnrollTokenConflict) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the enroll token conflict response

func (*EnrollTokenConflict) WithPayload

WithPayload adds the payload to the enroll token conflict response

func (*EnrollTokenConflict) WithWWWAuthenticate

func (o *EnrollTokenConflict) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollTokenConflict

WithWWWAuthenticate adds the wWWAuthenticate to the enroll token conflict response

func (*EnrollTokenConflict) WriteResponse

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

WriteResponse to the client

type EnrollTokenGone

type EnrollTokenGone struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

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

EnrollTokenGone The request could not be completed as the resource is no longer available

swagger:response enrollTokenGone

func NewEnrollTokenGone

func NewEnrollTokenGone() *EnrollTokenGone

NewEnrollTokenGone creates EnrollTokenGone with default headers values

func (*EnrollTokenGone) SetPayload

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

SetPayload sets the payload to the enroll token gone response

func (*EnrollTokenGone) SetWWWAuthenticate

func (o *EnrollTokenGone) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the enroll token gone response

func (*EnrollTokenGone) WithPayload

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

WithPayload adds the payload to the enroll token gone response

func (*EnrollTokenGone) WithWWWAuthenticate

func (o *EnrollTokenGone) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollTokenGone

WithWWWAuthenticate adds the wWWAuthenticate to the enroll token gone response

func (*EnrollTokenGone) WriteResponse

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

WriteResponse to the client

type EnrollTokenHandler

type EnrollTokenHandler interface {
	Handle(EnrollTokenParams) middleware.Responder
}

EnrollTokenHandler interface for that can handle valid enroll token params

type EnrollTokenHandlerFunc

type EnrollTokenHandlerFunc func(EnrollTokenParams) middleware.Responder

EnrollTokenHandlerFunc turns a function with the right signature into a enroll token handler

func (EnrollTokenHandlerFunc) Handle

Handle executing the request and returning a response

type EnrollTokenNotFound

type EnrollTokenNotFound struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

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

EnrollTokenNotFound The requested resource does not exist

swagger:response enrollTokenNotFound

func NewEnrollTokenNotFound

func NewEnrollTokenNotFound() *EnrollTokenNotFound

NewEnrollTokenNotFound creates EnrollTokenNotFound with default headers values

func (*EnrollTokenNotFound) SetPayload

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

SetPayload sets the payload to the enroll token not found response

func (*EnrollTokenNotFound) SetWWWAuthenticate

func (o *EnrollTokenNotFound) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the enroll token not found response

func (*EnrollTokenNotFound) WithPayload

WithPayload adds the payload to the enroll token not found response

func (*EnrollTokenNotFound) WithWWWAuthenticate

func (o *EnrollTokenNotFound) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollTokenNotFound

WithWWWAuthenticate adds the wWWAuthenticate to the enroll token not found response

func (*EnrollTokenNotFound) WriteResponse

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

WriteResponse to the client

type EnrollTokenOK

type EnrollTokenOK struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

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

EnrollTokenOK A response containing and identities client certificate chains

swagger:response enrollTokenOK

func NewEnrollTokenOK

func NewEnrollTokenOK() *EnrollTokenOK

NewEnrollTokenOK creates EnrollTokenOK with default headers values

func (*EnrollTokenOK) SetPayload

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

SetPayload sets the payload to the enroll token o k response

func (*EnrollTokenOK) SetWWWAuthenticate

func (o *EnrollTokenOK) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the enroll token o k response

func (*EnrollTokenOK) WithPayload

WithPayload adds the payload to the enroll token o k response

func (*EnrollTokenOK) WithWWWAuthenticate

func (o *EnrollTokenOK) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollTokenOK

WithWWWAuthenticate adds the wWWAuthenticate to the enroll token o k response

func (*EnrollTokenOK) WriteResponse

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

WriteResponse to the client

type EnrollTokenParams

type EnrollTokenParams struct {
	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*An identifying token to enroll with
	  Required: true
	  In: header
	*/
	Authorization string

	/*A  enrollment request with or without a CSR. Including a CSR indicated an attempt to enroll with certificate
	credentials. If no CSR is included, the request is assumed to be a token enrollment request that will
	authenticate via tokens.

	  Required: true
	  In: body
	*/
	TokenEnrollmentRequest *rest_model.TokenEnrollmentRequest

	/*The id of the token issuer to use for enrollment, optional as long the the token is not opaque
	  In: header
	*/
	ZitiTokenIssuerID *string
}

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

swagger:parameters enrollToken

func NewEnrollTokenParams

func NewEnrollTokenParams() EnrollTokenParams

NewEnrollTokenParams creates a new EnrollTokenParams object

There are no default values defined in the spec.

func (*EnrollTokenParams) BindRequest

func (o *EnrollTokenParams) 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 NewEnrollTokenParams() beforehand.

type EnrollTokenServiceUnavailable

type EnrollTokenServiceUnavailable struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

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

EnrollTokenServiceUnavailable The request could not be completed due to the server being busy or in a temporarily bad state

swagger:response enrollTokenServiceUnavailable

func NewEnrollTokenServiceUnavailable

func NewEnrollTokenServiceUnavailable() *EnrollTokenServiceUnavailable

NewEnrollTokenServiceUnavailable creates EnrollTokenServiceUnavailable with default headers values

func (*EnrollTokenServiceUnavailable) SetPayload

SetPayload sets the payload to the enroll token service unavailable response

func (*EnrollTokenServiceUnavailable) SetWWWAuthenticate

func (o *EnrollTokenServiceUnavailable) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the enroll token service unavailable response

func (*EnrollTokenServiceUnavailable) WithPayload

WithPayload adds the payload to the enroll token service unavailable response

func (*EnrollTokenServiceUnavailable) WithWWWAuthenticate

func (o *EnrollTokenServiceUnavailable) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollTokenServiceUnavailable

WithWWWAuthenticate adds the wWWAuthenticate to the enroll token service unavailable response

func (*EnrollTokenServiceUnavailable) WriteResponse

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

WriteResponse to the client

type EnrollTokenTooManyRequests

type EnrollTokenTooManyRequests struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

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

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

swagger:response enrollTokenTooManyRequests

func NewEnrollTokenTooManyRequests

func NewEnrollTokenTooManyRequests() *EnrollTokenTooManyRequests

NewEnrollTokenTooManyRequests creates EnrollTokenTooManyRequests with default headers values

func (*EnrollTokenTooManyRequests) SetPayload

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

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

func (*EnrollTokenTooManyRequests) SetWWWAuthenticate

func (o *EnrollTokenTooManyRequests) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the enroll token too many requests response

func (*EnrollTokenTooManyRequests) WithPayload

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

func (*EnrollTokenTooManyRequests) WithWWWAuthenticate

func (o *EnrollTokenTooManyRequests) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollTokenTooManyRequests

WithWWWAuthenticate adds the wWWAuthenticate to the enroll token too many requests response

func (*EnrollTokenTooManyRequests) WriteResponse

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

WriteResponse to the client

type EnrollTokenURL

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

EnrollTokenURL generates an URL for the enroll token operation

func (*EnrollTokenURL) Build

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

Build a url path and query string

func (*EnrollTokenURL) BuildFull

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

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

func (*EnrollTokenURL) Must

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

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

func (*EnrollTokenURL) SetBasePath

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

func (o *EnrollTokenURL) String() string

String returns the string representation of the path with query string

func (*EnrollTokenURL) StringFull

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

StringFull returns the string representation of a complete url

func (*EnrollTokenURL) WithBasePath

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

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 EnrollTooManyRequests

type EnrollTooManyRequests struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  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

func NewEnrollTooManyRequests() *EnrollTooManyRequests

NewEnrollTooManyRequests creates EnrollTooManyRequests with default headers values

func (*EnrollTooManyRequests) SetPayload

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

SetPayload sets the payload to the enroll too many requests response

func (*EnrollTooManyRequests) SetWWWAuthenticate

func (o *EnrollTooManyRequests) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the enroll too many requests response

func (*EnrollTooManyRequests) WithPayload

WithPayload adds the payload to the enroll too many requests response

func (*EnrollTooManyRequests) WithWWWAuthenticate

func (o *EnrollTooManyRequests) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollTooManyRequests

WithWWWAuthenticate adds the wWWAuthenticate to the enroll too many requests response

func (*EnrollTooManyRequests) WriteResponse

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

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

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

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

func (*EnrollUpdb) ServeHTTP

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

type EnrollUpdbBadRequest

type EnrollUpdbBadRequest struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

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

EnrollUpdbBadRequest 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 enrollUpdbBadRequest

func NewEnrollUpdbBadRequest

func NewEnrollUpdbBadRequest() *EnrollUpdbBadRequest

NewEnrollUpdbBadRequest creates EnrollUpdbBadRequest with default headers values

func (*EnrollUpdbBadRequest) SetPayload

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

SetPayload sets the payload to the enroll updb bad request response

func (*EnrollUpdbBadRequest) SetWWWAuthenticate

func (o *EnrollUpdbBadRequest) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the enroll updb bad request response

func (*EnrollUpdbBadRequest) WithPayload

WithPayload adds the payload to the enroll updb bad request response

func (*EnrollUpdbBadRequest) WithWWWAuthenticate

func (o *EnrollUpdbBadRequest) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollUpdbBadRequest

WithWWWAuthenticate adds the wWWAuthenticate to the enroll updb bad request response

func (*EnrollUpdbBadRequest) WriteResponse

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

WriteResponse to the client

type EnrollUpdbBody

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

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

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

MarshalBinary interface implementation

func (*EnrollUpdbBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*EnrollUpdbBody) Validate

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

Validate validates this enroll updb body

type EnrollUpdbHandler

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

EnrollUpdbHandler interface for that can handle valid enroll updb params

type EnrollUpdbHandlerFunc

type EnrollUpdbHandlerFunc func(EnrollUpdbParams) middleware.Responder

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

func (EnrollUpdbHandlerFunc) Handle

Handle executing the request and returning a response

type EnrollUpdbNotFound

type EnrollUpdbNotFound struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

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

EnrollUpdbNotFound The requested resource does not exist

swagger:response enrollUpdbNotFound

func NewEnrollUpdbNotFound

func NewEnrollUpdbNotFound() *EnrollUpdbNotFound

NewEnrollUpdbNotFound creates EnrollUpdbNotFound with default headers values

func (*EnrollUpdbNotFound) SetPayload

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

SetPayload sets the payload to the enroll updb not found response

func (*EnrollUpdbNotFound) SetWWWAuthenticate

func (o *EnrollUpdbNotFound) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the enroll updb not found response

func (*EnrollUpdbNotFound) WithPayload

WithPayload adds the payload to the enroll updb not found response

func (*EnrollUpdbNotFound) WithWWWAuthenticate

func (o *EnrollUpdbNotFound) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollUpdbNotFound

WithWWWAuthenticate adds the wWWAuthenticate to the enroll updb not found response

func (*EnrollUpdbNotFound) WriteResponse

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

WriteResponse to the client

type EnrollUpdbOK

type EnrollUpdbOK struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

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

EnrollUpdbOK Base empty response

swagger:response enrollUpdbOK

func NewEnrollUpdbOK

func NewEnrollUpdbOK() *EnrollUpdbOK

NewEnrollUpdbOK creates EnrollUpdbOK with default headers values

func (*EnrollUpdbOK) SetPayload

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

SetPayload sets the payload to the enroll updb o k response

func (*EnrollUpdbOK) SetWWWAuthenticate

func (o *EnrollUpdbOK) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the enroll updb o k response

func (*EnrollUpdbOK) WithPayload

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

WithPayload adds the payload to the enroll updb o k response

func (*EnrollUpdbOK) WithWWWAuthenticate

func (o *EnrollUpdbOK) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollUpdbOK

WithWWWAuthenticate adds the wWWAuthenticate to the enroll updb o k response

func (*EnrollUpdbOK) WriteResponse

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

WriteResponse to the client

type EnrollUpdbParams

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

func NewEnrollUpdbParams() EnrollUpdbParams

NewEnrollUpdbParams creates a new EnrollUpdbParams object

There are no default values defined in the spec.

func (*EnrollUpdbParams) BindRequest

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 EnrollUpdbServiceUnavailable

type EnrollUpdbServiceUnavailable struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

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

EnrollUpdbServiceUnavailable The request could not be completed due to the server being busy or in a temporarily bad state

swagger:response enrollUpdbServiceUnavailable

func NewEnrollUpdbServiceUnavailable

func NewEnrollUpdbServiceUnavailable() *EnrollUpdbServiceUnavailable

NewEnrollUpdbServiceUnavailable creates EnrollUpdbServiceUnavailable with default headers values

func (*EnrollUpdbServiceUnavailable) SetPayload

SetPayload sets the payload to the enroll updb service unavailable response

func (*EnrollUpdbServiceUnavailable) SetWWWAuthenticate

func (o *EnrollUpdbServiceUnavailable) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the enroll updb service unavailable response

func (*EnrollUpdbServiceUnavailable) WithPayload

WithPayload adds the payload to the enroll updb service unavailable response

func (*EnrollUpdbServiceUnavailable) WithWWWAuthenticate

func (o *EnrollUpdbServiceUnavailable) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollUpdbServiceUnavailable

WithWWWAuthenticate adds the wWWAuthenticate to the enroll updb service unavailable response

func (*EnrollUpdbServiceUnavailable) WriteResponse

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

WriteResponse to the client

type EnrollUpdbTooManyRequests

type EnrollUpdbTooManyRequests struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  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

func NewEnrollUpdbTooManyRequests() *EnrollUpdbTooManyRequests

NewEnrollUpdbTooManyRequests creates EnrollUpdbTooManyRequests with default headers values

func (*EnrollUpdbTooManyRequests) SetPayload

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

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

func (*EnrollUpdbTooManyRequests) SetWWWAuthenticate

func (o *EnrollUpdbTooManyRequests) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the enroll updb too many requests response

func (*EnrollUpdbTooManyRequests) WithPayload

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

func (*EnrollUpdbTooManyRequests) WithWWWAuthenticate

func (o *EnrollUpdbTooManyRequests) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollUpdbTooManyRequests

WithWWWAuthenticate adds the wWWAuthenticate to the enroll updb too many requests response

func (*EnrollUpdbTooManyRequests) WriteResponse

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

WriteResponse to the client

type EnrollUpdbURL

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

EnrollUpdbURL generates an URL for the enroll updb operation

func (*EnrollUpdbURL) Build

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

Build a url path and query string

func (*EnrollUpdbURL) BuildFull

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

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

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

func (o *EnrollUpdbURL) String() string

String returns the string representation of the path with query string

func (*EnrollUpdbURL) StringFull

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

StringFull returns the string representation of a complete url

func (*EnrollUpdbURL) WithBasePath

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

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

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

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

func (*EnrollmentChallenge) ServeHTTP

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

type EnrollmentChallengeBadRequest

type EnrollmentChallengeBadRequest struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  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

func NewEnrollmentChallengeBadRequest() *EnrollmentChallengeBadRequest

NewEnrollmentChallengeBadRequest creates EnrollmentChallengeBadRequest with default headers values

func (*EnrollmentChallengeBadRequest) SetPayload

SetPayload sets the payload to the enrollment challenge bad request response

func (*EnrollmentChallengeBadRequest) SetWWWAuthenticate

func (o *EnrollmentChallengeBadRequest) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the enrollment challenge bad request response

func (*EnrollmentChallengeBadRequest) WithPayload

WithPayload adds the payload to the enrollment challenge bad request response

func (*EnrollmentChallengeBadRequest) WithWWWAuthenticate

func (o *EnrollmentChallengeBadRequest) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollmentChallengeBadRequest

WithWWWAuthenticate adds the wWWAuthenticate to the enrollment challenge bad request response

func (*EnrollmentChallengeBadRequest) WriteResponse

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

WriteResponse to the client

type EnrollmentChallengeHandler

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

EnrollmentChallengeHandler interface for that can handle valid enrollment challenge params

type EnrollmentChallengeHandlerFunc

type EnrollmentChallengeHandlerFunc func(EnrollmentChallengeParams) middleware.Responder

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

func (EnrollmentChallengeHandlerFunc) Handle

Handle executing the request and returning a response

type EnrollmentChallengeOK

type EnrollmentChallengeOK struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  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

func NewEnrollmentChallengeOK() *EnrollmentChallengeOK

NewEnrollmentChallengeOK creates EnrollmentChallengeOK with default headers values

func (*EnrollmentChallengeOK) SetPayload

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

SetPayload sets the payload to the enrollment challenge o k response

func (*EnrollmentChallengeOK) SetWWWAuthenticate

func (o *EnrollmentChallengeOK) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the enrollment challenge o k response

func (*EnrollmentChallengeOK) WithPayload

WithPayload adds the payload to the enrollment challenge o k response

func (*EnrollmentChallengeOK) WithWWWAuthenticate

func (o *EnrollmentChallengeOK) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollmentChallengeOK

WithWWWAuthenticate adds the wWWAuthenticate to the enrollment challenge o k response

func (*EnrollmentChallengeOK) WriteResponse

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

WriteResponse to the client

type EnrollmentChallengeParams

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

func NewEnrollmentChallengeParams() EnrollmentChallengeParams

NewEnrollmentChallengeParams creates a new EnrollmentChallengeParams object

There are no default values defined in the spec.

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

type EnrollmentChallengeTooManyRequests

type EnrollmentChallengeTooManyRequests struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  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

func NewEnrollmentChallengeTooManyRequests() *EnrollmentChallengeTooManyRequests

NewEnrollmentChallengeTooManyRequests creates EnrollmentChallengeTooManyRequests with default headers values

func (*EnrollmentChallengeTooManyRequests) SetPayload

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

func (*EnrollmentChallengeTooManyRequests) SetWWWAuthenticate

func (o *EnrollmentChallengeTooManyRequests) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the enrollment challenge too many requests response

func (*EnrollmentChallengeTooManyRequests) WithPayload

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

func (*EnrollmentChallengeTooManyRequests) WithWWWAuthenticate

func (o *EnrollmentChallengeTooManyRequests) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollmentChallengeTooManyRequests

WithWWWAuthenticate adds the wWWAuthenticate to the enrollment challenge too many requests response

func (*EnrollmentChallengeTooManyRequests) WriteResponse

WriteResponse to the client

type EnrollmentChallengeURL

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

EnrollmentChallengeURL generates an URL for the enrollment challenge operation

func (*EnrollmentChallengeURL) Build

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

Build a url path and query string

func (*EnrollmentChallengeURL) BuildFull

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

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

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

func (o *EnrollmentChallengeURL) String() string

String returns the string representation of the path with query string

func (*EnrollmentChallengeURL) StringFull

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

StringFull returns the string representation of a complete url

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

type ExtendRouterEnrollmentBadRequest struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

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

ExtendRouterEnrollmentBadRequest 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 extendRouterEnrollmentBadRequest

func NewExtendRouterEnrollmentBadRequest

func NewExtendRouterEnrollmentBadRequest() *ExtendRouterEnrollmentBadRequest

NewExtendRouterEnrollmentBadRequest creates ExtendRouterEnrollmentBadRequest with default headers values

func (*ExtendRouterEnrollmentBadRequest) SetPayload

SetPayload sets the payload to the extend router enrollment bad request response

func (*ExtendRouterEnrollmentBadRequest) SetWWWAuthenticate

func (o *ExtendRouterEnrollmentBadRequest) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the extend router enrollment bad request response

func (*ExtendRouterEnrollmentBadRequest) WithPayload

WithPayload adds the payload to the extend router enrollment bad request response

func (*ExtendRouterEnrollmentBadRequest) WithWWWAuthenticate

func (o *ExtendRouterEnrollmentBadRequest) WithWWWAuthenticate(wWWAuthenticate []string) *ExtendRouterEnrollmentBadRequest

WithWWWAuthenticate adds the wWWAuthenticate to the extend router enrollment bad request response

func (*ExtendRouterEnrollmentBadRequest) WriteResponse

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

WriteResponse to the client

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 {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  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) SetWWWAuthenticate

func (o *ExtendRouterEnrollmentOK) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate 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) WithWWWAuthenticate

func (o *ExtendRouterEnrollmentOK) WithWWWAuthenticate(wWWAuthenticate []string) *ExtendRouterEnrollmentOK

WithWWWAuthenticate adds the wWWAuthenticate 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

type ExtendRouterEnrollmentTooManyRequests struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  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

func NewExtendRouterEnrollmentTooManyRequests() *ExtendRouterEnrollmentTooManyRequests

NewExtendRouterEnrollmentTooManyRequests creates ExtendRouterEnrollmentTooManyRequests with default headers values

func (*ExtendRouterEnrollmentTooManyRequests) SetPayload

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

func (*ExtendRouterEnrollmentTooManyRequests) SetWWWAuthenticate

func (o *ExtendRouterEnrollmentTooManyRequests) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the extend router enrollment too many requests response

func (*ExtendRouterEnrollmentTooManyRequests) WithPayload

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

func (*ExtendRouterEnrollmentTooManyRequests) WithWWWAuthenticate

func (o *ExtendRouterEnrollmentTooManyRequests) WithWWWAuthenticate(wWWAuthenticate []string) *ExtendRouterEnrollmentTooManyRequests

WithWWWAuthenticate adds the wWWAuthenticate to the extend router enrollment too many requests response

func (*ExtendRouterEnrollmentTooManyRequests) WriteResponse

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 {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

	/*
	  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) SetWWWAuthenticate

func (o *ExtendRouterEnrollmentUnauthorized) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the extend router enrollment unauthorized response

func (*ExtendRouterEnrollmentUnauthorized) WithPayload

WithPayload adds the payload to the extend router enrollment unauthorized response

func (*ExtendRouterEnrollmentUnauthorized) WithWWWAuthenticate

func (o *ExtendRouterEnrollmentUnauthorized) WithWWWAuthenticate(wWWAuthenticate []string) *ExtendRouterEnrollmentUnauthorized

WithWWWAuthenticate adds the wWWAuthenticate to the extend router enrollment unauthorized response

func (*ExtendRouterEnrollmentUnauthorized) WriteResponse

WriteResponse to the client

type GetEnrollmentJwks

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

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

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

func (*GetEnrollmentJwks) ServeHTTP

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

type GetEnrollmentJwksHandler

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

GetEnrollmentJwksHandler interface for that can handle valid get enrollment jwks params

type GetEnrollmentJwksHandlerFunc

type GetEnrollmentJwksHandlerFunc func(GetEnrollmentJwksParams) middleware.Responder

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

func (GetEnrollmentJwksHandlerFunc) Handle

Handle executing the request and returning a response

type GetEnrollmentJwksOK

type GetEnrollmentJwksOK struct {
	/*Denotes different type of security token related information

	 */
	WWWAuthenticate []string `json:"WWW-Authenticate"`

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

GetEnrollmentJwksOK A JWKS response for enrollment.

swagger:response getEnrollmentJwksOK

func NewGetEnrollmentJwksOK

func NewGetEnrollmentJwksOK() *GetEnrollmentJwksOK

NewGetEnrollmentJwksOK creates GetEnrollmentJwksOK with default headers values

func (*GetEnrollmentJwksOK) SetPayload

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

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

func (*GetEnrollmentJwksOK) SetWWWAuthenticate

func (o *GetEnrollmentJwksOK) SetWWWAuthenticate(wWWAuthenticate []string)

SetWWWAuthenticate sets the wWWAuthenticate to the get enrollment jwks o k response

func (*GetEnrollmentJwksOK) WithPayload

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

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

func (*GetEnrollmentJwksOK) WithWWWAuthenticate

func (o *GetEnrollmentJwksOK) WithWWWAuthenticate(wWWAuthenticate []string) *GetEnrollmentJwksOK

WithWWWAuthenticate adds the wWWAuthenticate to the get enrollment jwks o k response

func (*GetEnrollmentJwksOK) WriteResponse

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

WriteResponse to the client

type GetEnrollmentJwksParams

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

func NewGetEnrollmentJwksParams() GetEnrollmentJwksParams

NewGetEnrollmentJwksParams creates a new GetEnrollmentJwksParams object

There are no default values defined in the spec.

func (*GetEnrollmentJwksParams) BindRequest

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

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

GetEnrollmentJwksURL generates an URL for the get enrollment jwks operation

func (*GetEnrollmentJwksURL) Build

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

Build a url path and query string

func (*GetEnrollmentJwksURL) BuildFull

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

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

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

func (o *GetEnrollmentJwksURL) String() string

String returns the string representation of the path with query string

func (*GetEnrollmentJwksURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetEnrollmentJwksURL) WithBasePath

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
⌂ 换网址