Documentation
¶
Index ¶
- Constants
- type Enroll
- type EnrollBadRequest
- func (o *EnrollBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *EnrollBadRequest) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *EnrollBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollBadRequest
- func (o *EnrollBadRequest) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollBadRequest
- func (o *EnrollBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnrollCa
- type EnrollCaBadRequest
- func (o *EnrollCaBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *EnrollCaBadRequest) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *EnrollCaBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollCaBadRequest
- func (o *EnrollCaBadRequest) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollCaBadRequest
- func (o *EnrollCaBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnrollCaHandler
- type EnrollCaHandlerFunc
- type EnrollCaNotFound
- func (o *EnrollCaNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *EnrollCaNotFound) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *EnrollCaNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollCaNotFound
- func (o *EnrollCaNotFound) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollCaNotFound
- func (o *EnrollCaNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnrollCaOK
- func (o *EnrollCaOK) SetPayload(payload *rest_model.Empty)
- func (o *EnrollCaOK) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *EnrollCaOK) WithPayload(payload *rest_model.Empty) *EnrollCaOK
- func (o *EnrollCaOK) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollCaOK
- func (o *EnrollCaOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnrollCaParams
- type EnrollCaServiceUnavailable
- func (o *EnrollCaServiceUnavailable) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *EnrollCaServiceUnavailable) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *EnrollCaServiceUnavailable) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollCaServiceUnavailable
- func (o *EnrollCaServiceUnavailable) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollCaServiceUnavailable
- func (o *EnrollCaServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnrollCaTooManyRequests
- func (o *EnrollCaTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *EnrollCaTooManyRequests) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *EnrollCaTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollCaTooManyRequests
- func (o *EnrollCaTooManyRequests) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollCaTooManyRequests
- func (o *EnrollCaTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnrollCaURL
- func (o *EnrollCaURL) Build() (*url.URL, error)
- func (o *EnrollCaURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *EnrollCaURL) Must(u *url.URL, err error) *url.URL
- func (o *EnrollCaURL) SetBasePath(bp string)
- func (o *EnrollCaURL) String() string
- func (o *EnrollCaURL) StringFull(scheme, host string) string
- func (o *EnrollCaURL) WithBasePath(bp string) *EnrollCaURL
- type EnrollConflict
- func (o *EnrollConflict) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *EnrollConflict) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *EnrollConflict) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollConflict
- func (o *EnrollConflict) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollConflict
- func (o *EnrollConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnrollErOtt
- type EnrollErOttBadRequest
- func (o *EnrollErOttBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *EnrollErOttBadRequest) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *EnrollErOttBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollErOttBadRequest
- func (o *EnrollErOttBadRequest) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollErOttBadRequest
- func (o *EnrollErOttBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnrollErOttHandler
- type EnrollErOttHandlerFunc
- type EnrollErOttOK
- func (o *EnrollErOttOK) SetPayload(payload *rest_model.EnrollmentCertsEnvelope)
- func (o *EnrollErOttOK) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *EnrollErOttOK) WithPayload(payload *rest_model.EnrollmentCertsEnvelope) *EnrollErOttOK
- func (o *EnrollErOttOK) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollErOttOK
- func (o *EnrollErOttOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnrollErOttParams
- type EnrollErOttServiceUnavailable
- func (o *EnrollErOttServiceUnavailable) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *EnrollErOttServiceUnavailable) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *EnrollErOttServiceUnavailable) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollErOttServiceUnavailable
- func (o *EnrollErOttServiceUnavailable) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollErOttServiceUnavailable
- func (o *EnrollErOttServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnrollErOttTooManyRequests
- func (o *EnrollErOttTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *EnrollErOttTooManyRequests) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *EnrollErOttTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollErOttTooManyRequests
- func (o *EnrollErOttTooManyRequests) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollErOttTooManyRequests
- func (o *EnrollErOttTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnrollErOttURL
- func (o *EnrollErOttURL) Build() (*url.URL, error)
- func (o *EnrollErOttURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *EnrollErOttURL) Must(u *url.URL, err error) *url.URL
- func (o *EnrollErOttURL) SetBasePath(bp string)
- func (o *EnrollErOttURL) String() string
- func (o *EnrollErOttURL) StringFull(scheme, host string) string
- func (o *EnrollErOttURL) WithBasePath(bp string) *EnrollErOttURL
- type EnrollGone
- func (o *EnrollGone) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *EnrollGone) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *EnrollGone) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollGone
- func (o *EnrollGone) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollGone
- func (o *EnrollGone) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnrollHandler
- type EnrollHandlerFunc
- type EnrollNotFound
- func (o *EnrollNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *EnrollNotFound) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *EnrollNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollNotFound
- func (o *EnrollNotFound) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollNotFound
- func (o *EnrollNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnrollOK
- func (o *EnrollOK) SetPayload(payload *rest_model.EnrollmentCertsEnvelope)
- func (o *EnrollOK) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *EnrollOK) WithPayload(payload *rest_model.EnrollmentCertsEnvelope) *EnrollOK
- func (o *EnrollOK) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollOK
- func (o *EnrollOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnrollOtt
- type EnrollOttBadRequest
- func (o *EnrollOttBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *EnrollOttBadRequest) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *EnrollOttBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollOttBadRequest
- func (o *EnrollOttBadRequest) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollOttBadRequest
- func (o *EnrollOttBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnrollOttCa
- type EnrollOttCaBadRequest
- func (o *EnrollOttCaBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *EnrollOttCaBadRequest) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *EnrollOttCaBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollOttCaBadRequest
- func (o *EnrollOttCaBadRequest) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollOttCaBadRequest
- func (o *EnrollOttCaBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnrollOttCaHandler
- type EnrollOttCaHandlerFunc
- type EnrollOttCaOK
- func (o *EnrollOttCaOK) SetPayload(payload *rest_model.Empty)
- func (o *EnrollOttCaOK) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *EnrollOttCaOK) WithPayload(payload *rest_model.Empty) *EnrollOttCaOK
- func (o *EnrollOttCaOK) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollOttCaOK
- func (o *EnrollOttCaOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnrollOttCaParams
- type EnrollOttCaServiceUnavailable
- func (o *EnrollOttCaServiceUnavailable) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *EnrollOttCaServiceUnavailable) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *EnrollOttCaServiceUnavailable) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollOttCaServiceUnavailable
- func (o *EnrollOttCaServiceUnavailable) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollOttCaServiceUnavailable
- func (o *EnrollOttCaServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnrollOttCaTooManyRequests
- func (o *EnrollOttCaTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *EnrollOttCaTooManyRequests) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *EnrollOttCaTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollOttCaTooManyRequests
- func (o *EnrollOttCaTooManyRequests) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollOttCaTooManyRequests
- func (o *EnrollOttCaTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnrollOttCaURL
- func (o *EnrollOttCaURL) Build() (*url.URL, error)
- func (o *EnrollOttCaURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *EnrollOttCaURL) Must(u *url.URL, err error) *url.URL
- func (o *EnrollOttCaURL) SetBasePath(bp string)
- func (o *EnrollOttCaURL) String() string
- func (o *EnrollOttCaURL) StringFull(scheme, host string) string
- func (o *EnrollOttCaURL) WithBasePath(bp string) *EnrollOttCaURL
- type EnrollOttHandler
- type EnrollOttHandlerFunc
- type EnrollOttNotFound
- func (o *EnrollOttNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *EnrollOttNotFound) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *EnrollOttNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollOttNotFound
- func (o *EnrollOttNotFound) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollOttNotFound
- func (o *EnrollOttNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnrollOttOK
- func (o *EnrollOttOK) SetPayload(payload *rest_model.EnrollmentCertsEnvelope)
- func (o *EnrollOttOK) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *EnrollOttOK) WithPayload(payload *rest_model.EnrollmentCertsEnvelope) *EnrollOttOK
- func (o *EnrollOttOK) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollOttOK
- func (o *EnrollOttOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnrollOttParams
- type EnrollOttServiceUnavailable
- func (o *EnrollOttServiceUnavailable) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *EnrollOttServiceUnavailable) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *EnrollOttServiceUnavailable) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollOttServiceUnavailable
- func (o *EnrollOttServiceUnavailable) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollOttServiceUnavailable
- func (o *EnrollOttServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnrollOttTooManyRequests
- func (o *EnrollOttTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *EnrollOttTooManyRequests) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *EnrollOttTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollOttTooManyRequests
- func (o *EnrollOttTooManyRequests) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollOttTooManyRequests
- func (o *EnrollOttTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnrollOttURL
- func (o *EnrollOttURL) Build() (*url.URL, error)
- func (o *EnrollOttURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *EnrollOttURL) Must(u *url.URL, err error) *url.URL
- func (o *EnrollOttURL) SetBasePath(bp string)
- func (o *EnrollOttURL) String() string
- func (o *EnrollOttURL) StringFull(scheme, host string) string
- func (o *EnrollOttURL) WithBasePath(bp string) *EnrollOttURL
- type EnrollParams
- type EnrollServiceUnavailable
- func (o *EnrollServiceUnavailable) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *EnrollServiceUnavailable) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *EnrollServiceUnavailable) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollServiceUnavailable
- func (o *EnrollServiceUnavailable) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollServiceUnavailable
- func (o *EnrollServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnrollToken
- type EnrollTokenBadRequest
- func (o *EnrollTokenBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *EnrollTokenBadRequest) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *EnrollTokenBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollTokenBadRequest
- func (o *EnrollTokenBadRequest) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollTokenBadRequest
- func (o *EnrollTokenBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnrollTokenConflict
- func (o *EnrollTokenConflict) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *EnrollTokenConflict) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *EnrollTokenConflict) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollTokenConflict
- func (o *EnrollTokenConflict) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollTokenConflict
- func (o *EnrollTokenConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnrollTokenGone
- func (o *EnrollTokenGone) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *EnrollTokenGone) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *EnrollTokenGone) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollTokenGone
- func (o *EnrollTokenGone) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollTokenGone
- func (o *EnrollTokenGone) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnrollTokenHandler
- type EnrollTokenHandlerFunc
- type EnrollTokenNotFound
- func (o *EnrollTokenNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *EnrollTokenNotFound) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *EnrollTokenNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollTokenNotFound
- func (o *EnrollTokenNotFound) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollTokenNotFound
- func (o *EnrollTokenNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnrollTokenOK
- func (o *EnrollTokenOK) SetPayload(payload *rest_model.EnrollmentCertsEnvelope)
- func (o *EnrollTokenOK) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *EnrollTokenOK) WithPayload(payload *rest_model.EnrollmentCertsEnvelope) *EnrollTokenOK
- func (o *EnrollTokenOK) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollTokenOK
- func (o *EnrollTokenOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnrollTokenParams
- type EnrollTokenServiceUnavailable
- func (o *EnrollTokenServiceUnavailable) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *EnrollTokenServiceUnavailable) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *EnrollTokenServiceUnavailable) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollTokenServiceUnavailable
- func (o *EnrollTokenServiceUnavailable) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollTokenServiceUnavailable
- func (o *EnrollTokenServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnrollTokenTooManyRequests
- func (o *EnrollTokenTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *EnrollTokenTooManyRequests) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *EnrollTokenTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollTokenTooManyRequests
- func (o *EnrollTokenTooManyRequests) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollTokenTooManyRequests
- func (o *EnrollTokenTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnrollTokenURL
- func (o *EnrollTokenURL) Build() (*url.URL, error)
- func (o *EnrollTokenURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *EnrollTokenURL) Must(u *url.URL, err error) *url.URL
- func (o *EnrollTokenURL) SetBasePath(bp string)
- func (o *EnrollTokenURL) String() string
- func (o *EnrollTokenURL) StringFull(scheme, host string) string
- func (o *EnrollTokenURL) WithBasePath(bp string) *EnrollTokenURL
- type EnrollTooManyRequests
- func (o *EnrollTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *EnrollTooManyRequests) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *EnrollTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollTooManyRequests
- func (o *EnrollTooManyRequests) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollTooManyRequests
- func (o *EnrollTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnrollURL
- func (o *EnrollURL) Build() (*url.URL, error)
- func (o *EnrollURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *EnrollURL) Must(u *url.URL, err error) *url.URL
- func (o *EnrollURL) SetBasePath(bp string)
- func (o *EnrollURL) String() string
- func (o *EnrollURL) StringFull(scheme, host string) string
- func (o *EnrollURL) WithBasePath(bp string) *EnrollURL
- type EnrollUpdb
- type EnrollUpdbBadRequest
- func (o *EnrollUpdbBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *EnrollUpdbBadRequest) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *EnrollUpdbBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollUpdbBadRequest
- func (o *EnrollUpdbBadRequest) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollUpdbBadRequest
- func (o *EnrollUpdbBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnrollUpdbBody
- type EnrollUpdbHandler
- type EnrollUpdbHandlerFunc
- type EnrollUpdbNotFound
- func (o *EnrollUpdbNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *EnrollUpdbNotFound) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *EnrollUpdbNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollUpdbNotFound
- func (o *EnrollUpdbNotFound) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollUpdbNotFound
- func (o *EnrollUpdbNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnrollUpdbOK
- func (o *EnrollUpdbOK) SetPayload(payload *rest_model.Empty)
- func (o *EnrollUpdbOK) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *EnrollUpdbOK) WithPayload(payload *rest_model.Empty) *EnrollUpdbOK
- func (o *EnrollUpdbOK) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollUpdbOK
- func (o *EnrollUpdbOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnrollUpdbParams
- type EnrollUpdbServiceUnavailable
- func (o *EnrollUpdbServiceUnavailable) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *EnrollUpdbServiceUnavailable) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *EnrollUpdbServiceUnavailable) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollUpdbServiceUnavailable
- func (o *EnrollUpdbServiceUnavailable) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollUpdbServiceUnavailable
- func (o *EnrollUpdbServiceUnavailable) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnrollUpdbTooManyRequests
- func (o *EnrollUpdbTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *EnrollUpdbTooManyRequests) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *EnrollUpdbTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollUpdbTooManyRequests
- func (o *EnrollUpdbTooManyRequests) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollUpdbTooManyRequests
- func (o *EnrollUpdbTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnrollUpdbURL
- func (o *EnrollUpdbURL) Build() (*url.URL, error)
- func (o *EnrollUpdbURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *EnrollUpdbURL) Must(u *url.URL, err error) *url.URL
- func (o *EnrollUpdbURL) SetBasePath(bp string)
- func (o *EnrollUpdbURL) String() string
- func (o *EnrollUpdbURL) StringFull(scheme, host string) string
- func (o *EnrollUpdbURL) WithBasePath(bp string) *EnrollUpdbURL
- type EnrollmentChallenge
- type EnrollmentChallengeBadRequest
- func (o *EnrollmentChallengeBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *EnrollmentChallengeBadRequest) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *EnrollmentChallengeBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollmentChallengeBadRequest
- func (o *EnrollmentChallengeBadRequest) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollmentChallengeBadRequest
- func (o *EnrollmentChallengeBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnrollmentChallengeHandler
- type EnrollmentChallengeHandlerFunc
- type EnrollmentChallengeOK
- func (o *EnrollmentChallengeOK) SetPayload(payload *rest_model.NonceSignature)
- func (o *EnrollmentChallengeOK) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *EnrollmentChallengeOK) WithPayload(payload *rest_model.NonceSignature) *EnrollmentChallengeOK
- func (o *EnrollmentChallengeOK) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollmentChallengeOK
- func (o *EnrollmentChallengeOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnrollmentChallengeParams
- type EnrollmentChallengeTooManyRequests
- func (o *EnrollmentChallengeTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *EnrollmentChallengeTooManyRequests) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *EnrollmentChallengeTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollmentChallengeTooManyRequests
- func (o *EnrollmentChallengeTooManyRequests) WithWWWAuthenticate(wWWAuthenticate []string) *EnrollmentChallengeTooManyRequests
- func (o *EnrollmentChallengeTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type EnrollmentChallengeURL
- func (o *EnrollmentChallengeURL) Build() (*url.URL, error)
- func (o *EnrollmentChallengeURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *EnrollmentChallengeURL) Must(u *url.URL, err error) *url.URL
- func (o *EnrollmentChallengeURL) SetBasePath(bp string)
- func (o *EnrollmentChallengeURL) String() string
- func (o *EnrollmentChallengeURL) StringFull(scheme, host string) string
- func (o *EnrollmentChallengeURL) WithBasePath(bp string) *EnrollmentChallengeURL
- type ExtendRouterEnrollment
- type ExtendRouterEnrollmentBadRequest
- func (o *ExtendRouterEnrollmentBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ExtendRouterEnrollmentBadRequest) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *ExtendRouterEnrollmentBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ExtendRouterEnrollmentBadRequest
- func (o *ExtendRouterEnrollmentBadRequest) WithWWWAuthenticate(wWWAuthenticate []string) *ExtendRouterEnrollmentBadRequest
- func (o *ExtendRouterEnrollmentBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ExtendRouterEnrollmentHandler
- type ExtendRouterEnrollmentHandlerFunc
- type ExtendRouterEnrollmentOK
- func (o *ExtendRouterEnrollmentOK) SetPayload(payload *rest_model.EnrollmentCertsEnvelope)
- func (o *ExtendRouterEnrollmentOK) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *ExtendRouterEnrollmentOK) WithPayload(payload *rest_model.EnrollmentCertsEnvelope) *ExtendRouterEnrollmentOK
- func (o *ExtendRouterEnrollmentOK) WithWWWAuthenticate(wWWAuthenticate []string) *ExtendRouterEnrollmentOK
- func (o *ExtendRouterEnrollmentOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ExtendRouterEnrollmentParams
- type ExtendRouterEnrollmentTooManyRequests
- func (o *ExtendRouterEnrollmentTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ExtendRouterEnrollmentTooManyRequests) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *ExtendRouterEnrollmentTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ExtendRouterEnrollmentTooManyRequests
- func (o *ExtendRouterEnrollmentTooManyRequests) WithWWWAuthenticate(wWWAuthenticate []string) *ExtendRouterEnrollmentTooManyRequests
- func (o *ExtendRouterEnrollmentTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ExtendRouterEnrollmentURL
- func (o *ExtendRouterEnrollmentURL) Build() (*url.URL, error)
- func (o *ExtendRouterEnrollmentURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ExtendRouterEnrollmentURL) Must(u *url.URL, err error) *url.URL
- func (o *ExtendRouterEnrollmentURL) SetBasePath(bp string)
- func (o *ExtendRouterEnrollmentURL) String() string
- func (o *ExtendRouterEnrollmentURL) StringFull(scheme, host string) string
- func (o *ExtendRouterEnrollmentURL) WithBasePath(bp string) *ExtendRouterEnrollmentURL
- type ExtendRouterEnrollmentUnauthorized
- func (o *ExtendRouterEnrollmentUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ExtendRouterEnrollmentUnauthorized) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *ExtendRouterEnrollmentUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ExtendRouterEnrollmentUnauthorized
- func (o *ExtendRouterEnrollmentUnauthorized) WithWWWAuthenticate(wWWAuthenticate []string) *ExtendRouterEnrollmentUnauthorized
- func (o *ExtendRouterEnrollmentUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetEnrollmentJwks
- type GetEnrollmentJwksHandler
- type GetEnrollmentJwksHandlerFunc
- type GetEnrollmentJwksOK
- func (o *GetEnrollmentJwksOK) SetPayload(payload *rest_model.Jwks)
- func (o *GetEnrollmentJwksOK) SetWWWAuthenticate(wWWAuthenticate []string)
- func (o *GetEnrollmentJwksOK) WithPayload(payload *rest_model.Jwks) *GetEnrollmentJwksOK
- func (o *GetEnrollmentJwksOK) WithWWWAuthenticate(wWWAuthenticate []string) *GetEnrollmentJwksOK
- func (o *GetEnrollmentJwksOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetEnrollmentJwksParams
- type GetEnrollmentJwksURL
- func (o *GetEnrollmentJwksURL) Build() (*url.URL, error)
- func (o *GetEnrollmentJwksURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetEnrollmentJwksURL) Must(u *url.URL, err error) *url.URL
- func (o *GetEnrollmentJwksURL) SetBasePath(bp string)
- func (o *GetEnrollmentJwksURL) String() string
- func (o *GetEnrollmentJwksURL) StringFull(scheme, host string) string
- func (o *GetEnrollmentJwksURL) WithBasePath(bp string) *GetEnrollmentJwksURL
Constants ¶
const EnrollBadRequestCode int = 400
EnrollBadRequestCode is the HTTP code returned for type EnrollBadRequest
const EnrollCaBadRequestCode int = 400
EnrollCaBadRequestCode is the HTTP code returned for type EnrollCaBadRequest
const EnrollCaNotFoundCode int = 404
EnrollCaNotFoundCode is the HTTP code returned for type EnrollCaNotFound
const EnrollCaOKCode int = 200
EnrollCaOKCode is the HTTP code returned for type EnrollCaOK
EnrollCaServiceUnavailableCode is the HTTP code returned for type EnrollCaServiceUnavailable
const EnrollCaTooManyRequestsCode int = 429
EnrollCaTooManyRequestsCode is the HTTP code returned for type EnrollCaTooManyRequests
const EnrollConflictCode int = 409
EnrollConflictCode is the HTTP code returned for type EnrollConflict
const EnrollErOttBadRequestCode int = 400
EnrollErOttBadRequestCode is the HTTP code returned for type EnrollErOttBadRequest
const EnrollErOttOKCode int = 200
EnrollErOttOKCode is the HTTP code returned for type EnrollErOttOK
EnrollErOttServiceUnavailableCode is the HTTP code returned for type EnrollErOttServiceUnavailable
const EnrollErOttTooManyRequestsCode int = 429
EnrollErOttTooManyRequestsCode is the HTTP code returned for type EnrollErOttTooManyRequests
const EnrollGoneCode int = 410
EnrollGoneCode is the HTTP code returned for type EnrollGone
const EnrollNotFoundCode int = 404
EnrollNotFoundCode is the HTTP code returned for type EnrollNotFound
const EnrollOKCode int = 200
EnrollOKCode is the HTTP code returned for type EnrollOK
const EnrollOttBadRequestCode int = 400
EnrollOttBadRequestCode is the HTTP code returned for type EnrollOttBadRequest
const EnrollOttCaBadRequestCode int = 400
EnrollOttCaBadRequestCode is the HTTP code returned for type EnrollOttCaBadRequest
const EnrollOttCaOKCode int = 200
EnrollOttCaOKCode is the HTTP code returned for type EnrollOttCaOK
EnrollOttCaServiceUnavailableCode is the HTTP code returned for type EnrollOttCaServiceUnavailable
const EnrollOttCaTooManyRequestsCode int = 429
EnrollOttCaTooManyRequestsCode is the HTTP code returned for type EnrollOttCaTooManyRequests
const EnrollOttNotFoundCode int = 404
EnrollOttNotFoundCode is the HTTP code returned for type EnrollOttNotFound
const EnrollOttOKCode int = 200
EnrollOttOKCode is the HTTP code returned for type EnrollOttOK
EnrollOttServiceUnavailableCode is the HTTP code returned for type EnrollOttServiceUnavailable
const EnrollOttTooManyRequestsCode int = 429
EnrollOttTooManyRequestsCode is the HTTP code returned for type EnrollOttTooManyRequests
EnrollServiceUnavailableCode is the HTTP code returned for type EnrollServiceUnavailable
const EnrollTokenBadRequestCode int = 400
EnrollTokenBadRequestCode is the HTTP code returned for type EnrollTokenBadRequest
const EnrollTokenConflictCode int = 409
EnrollTokenConflictCode is the HTTP code returned for type EnrollTokenConflict
const EnrollTokenGoneCode int = 410
EnrollTokenGoneCode is the HTTP code returned for type EnrollTokenGone
const EnrollTokenNotFoundCode int = 404
EnrollTokenNotFoundCode is the HTTP code returned for type EnrollTokenNotFound
const EnrollTokenOKCode int = 200
EnrollTokenOKCode is the HTTP code returned for type EnrollTokenOK
EnrollTokenServiceUnavailableCode is the HTTP code returned for type EnrollTokenServiceUnavailable
const EnrollTokenTooManyRequestsCode int = 429
EnrollTokenTooManyRequestsCode is the HTTP code returned for type EnrollTokenTooManyRequests
const EnrollTooManyRequestsCode int = 429
EnrollTooManyRequestsCode is the HTTP code returned for type EnrollTooManyRequests
const EnrollUpdbBadRequestCode int = 400
EnrollUpdbBadRequestCode is the HTTP code returned for type EnrollUpdbBadRequest
const EnrollUpdbNotFoundCode int = 404
EnrollUpdbNotFoundCode is the HTTP code returned for type EnrollUpdbNotFound
const EnrollUpdbOKCode int = 200
EnrollUpdbOKCode is the HTTP code returned for type EnrollUpdbOK
EnrollUpdbServiceUnavailableCode is the HTTP code returned for type EnrollUpdbServiceUnavailable
const EnrollUpdbTooManyRequestsCode int = 429
EnrollUpdbTooManyRequestsCode is the HTTP code returned for type EnrollUpdbTooManyRequests
const EnrollmentChallengeBadRequestCode int = 400
EnrollmentChallengeBadRequestCode is the HTTP code returned for type EnrollmentChallengeBadRequest
const EnrollmentChallengeOKCode int = 200
EnrollmentChallengeOKCode is the HTTP code returned for type EnrollmentChallengeOK
const EnrollmentChallengeTooManyRequestsCode int = 429
EnrollmentChallengeTooManyRequestsCode is the HTTP code returned for type EnrollmentChallengeTooManyRequests
const ExtendRouterEnrollmentBadRequestCode int = 400
ExtendRouterEnrollmentBadRequestCode is the HTTP code returned for type ExtendRouterEnrollmentBadRequest
const ExtendRouterEnrollmentOKCode int = 200
ExtendRouterEnrollmentOKCode is the HTTP code returned for type ExtendRouterEnrollmentOK
const ExtendRouterEnrollmentTooManyRequestsCode int = 429
ExtendRouterEnrollmentTooManyRequestsCode is the HTTP code returned for type ExtendRouterEnrollmentTooManyRequests
ExtendRouterEnrollmentUnauthorizedCode is the HTTP code returned for type ExtendRouterEnrollmentUnauthorized
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
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 ¶
func (o *EnrollBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollBadRequest
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
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 ¶
func (o *EnrollCaBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollCaBadRequest
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 ¶
func (fn EnrollCaHandlerFunc) Handle(params EnrollCaParams) middleware.Responder
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 ¶
func (o *EnrollCaNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollCaNotFound
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 ¶
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 {
WWWAuthenticate []string `json:"WWW-Authenticate"`
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 ¶
func (o *EnrollCaServiceUnavailable) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollCaServiceUnavailable
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 ¶
func (o *EnrollCaTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollCaTooManyRequests
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) 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 ¶
func (o *EnrollErOttBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollErOttBadRequest
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 ¶
func (fn EnrollErOttHandlerFunc) Handle(params EnrollErOttParams) middleware.Responder
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 ¶
func (o *EnrollErOttOK) WithPayload(payload *rest_model.EnrollmentCertsEnvelope) *EnrollErOttOK
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 {
WWWAuthenticate []string `json:"WWW-Authenticate"`
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 ¶
func (o *EnrollErOttServiceUnavailable) SetPayload(payload *rest_model.APIErrorEnvelope)
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 ¶
func (o *EnrollErOttServiceUnavailable) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollErOttServiceUnavailable
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 ¶
func (o *EnrollErOttTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollErOttTooManyRequests
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 ¶
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 ¶
func (fn EnrollHandlerFunc) Handle(params EnrollParams) middleware.Responder
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 ¶
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 ¶
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
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 ¶
func (o *EnrollOttBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollOttBadRequest
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 ¶
func (o *EnrollOttCaBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollOttCaBadRequest
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 ¶
func (fn EnrollOttCaHandlerFunc) Handle(params EnrollOttCaParams) middleware.Responder
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 {
WWWAuthenticate []string `json:"WWW-Authenticate"`
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 ¶
func (o *EnrollOttCaServiceUnavailable) SetPayload(payload *rest_model.APIErrorEnvelope)
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 ¶
func (o *EnrollOttCaServiceUnavailable) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollOttCaServiceUnavailable
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 ¶
func (o *EnrollOttCaTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollOttCaTooManyRequests
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 ¶
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 ¶
func (fn EnrollOttHandlerFunc) Handle(params EnrollOttParams) middleware.Responder
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 ¶
func (o *EnrollOttNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollOttNotFound
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 {
WWWAuthenticate []string `json:"WWW-Authenticate"`
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 ¶
func (o *EnrollOttServiceUnavailable) SetPayload(payload *rest_model.APIErrorEnvelope)
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 ¶
func (o *EnrollOttServiceUnavailable) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollOttServiceUnavailable
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 ¶
func (o *EnrollOttTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollOttTooManyRequests
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 ¶
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 {
WWWAuthenticate []string `json:"WWW-Authenticate"`
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 ¶
func (o *EnrollServiceUnavailable) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollServiceUnavailable
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 ¶
func (o *EnrollTokenBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollTokenBadRequest
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 ¶
func (o *EnrollTokenConflict) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollTokenConflict
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 ¶
func (fn EnrollTokenHandlerFunc) Handle(params EnrollTokenParams) middleware.Responder
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 ¶
func (o *EnrollTokenNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollTokenNotFound
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 ¶
func (o *EnrollTokenOK) WithPayload(payload *rest_model.EnrollmentCertsEnvelope) *EnrollTokenOK
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 {
WWWAuthenticate []string `json:"WWW-Authenticate"`
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 ¶
func (o *EnrollTokenServiceUnavailable) SetPayload(payload *rest_model.APIErrorEnvelope)
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 ¶
func (o *EnrollTokenServiceUnavailable) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollTokenServiceUnavailable
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 ¶
func (o *EnrollTokenTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollTokenTooManyRequests
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 ¶
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 ¶
func (o *EnrollTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollTooManyRequests
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) SetBasePath ¶
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) StringFull ¶
StringFull returns the string representation of a complete url
func (*EnrollURL) 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 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 ¶
func (o *EnrollUpdbBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollUpdbBadRequest
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 ¶
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
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 ¶
func (fn EnrollUpdbHandlerFunc) Handle(params EnrollUpdbParams) middleware.Responder
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 ¶
func (o *EnrollUpdbNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollUpdbNotFound
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 {
WWWAuthenticate []string `json:"WWW-Authenticate"`
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 ¶
func (o *EnrollUpdbServiceUnavailable) SetPayload(payload *rest_model.APIErrorEnvelope)
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 ¶
func (o *EnrollUpdbServiceUnavailable) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollUpdbServiceUnavailable
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 ¶
func (o *EnrollUpdbTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollUpdbTooManyRequests
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 ¶
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 ¶
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 ¶
func (o *EnrollmentChallengeBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
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 ¶
func (o *EnrollmentChallengeBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollmentChallengeBadRequest
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 ¶
func (fn EnrollmentChallengeHandlerFunc) Handle(params EnrollmentChallengeParams) middleware.Responder
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 ¶
func (o *EnrollmentChallengeOK) WithPayload(payload *rest_model.NonceSignature) *EnrollmentChallengeOK
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 ¶
func (o *EnrollmentChallengeParams) 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 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 ¶
func (o *EnrollmentChallengeTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
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 ¶
func (o *EnrollmentChallengeTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollmentChallengeTooManyRequests
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 ¶
func (o *EnrollmentChallengeTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
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 ¶
func (o *EnrollmentChallengeURL) WithBasePath(bp string) *EnrollmentChallengeURL
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 ¶
func (o *ExtendRouterEnrollmentBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
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 ¶
func (o *ExtendRouterEnrollmentBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ExtendRouterEnrollmentBadRequest
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 ¶
func (fn ExtendRouterEnrollmentHandlerFunc) Handle(params ExtendRouterEnrollmentParams) middleware.Responder
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 ¶
func (o *ExtendRouterEnrollmentOK) SetPayload(payload *rest_model.EnrollmentCertsEnvelope)
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 ¶
func (o *ExtendRouterEnrollmentOK) WithPayload(payload *rest_model.EnrollmentCertsEnvelope) *ExtendRouterEnrollmentOK
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 ¶
func (o *ExtendRouterEnrollmentParams) 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 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 ¶
func (o *ExtendRouterEnrollmentTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope)
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 ¶
func (o *ExtendRouterEnrollmentTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ExtendRouterEnrollmentTooManyRequests
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 ¶
func (o *ExtendRouterEnrollmentTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
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 ¶
func (o *ExtendRouterEnrollmentURL) WithBasePath(bp string) *ExtendRouterEnrollmentURL
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 {
WWWAuthenticate []string `json:"WWW-Authenticate"`
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 ¶
func (o *ExtendRouterEnrollmentUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
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 ¶
func (o *ExtendRouterEnrollmentUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ExtendRouterEnrollmentUnauthorized
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 ¶
func (o *ExtendRouterEnrollmentUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (fn GetEnrollmentJwksHandlerFunc) Handle(params GetEnrollmentJwksParams) middleware.Responder
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 ¶
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 ¶
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
Source Files
¶
- enroll.go
- enroll_ca.go
- enroll_ca_parameters.go
- enroll_ca_responses.go
- enroll_ca_urlbuilder.go
- enroll_er_ott.go
- enroll_er_ott_parameters.go
- enroll_er_ott_responses.go
- enroll_er_ott_urlbuilder.go
- enroll_ott.go
- enroll_ott_ca.go
- enroll_ott_ca_parameters.go
- enroll_ott_ca_responses.go
- enroll_ott_ca_urlbuilder.go
- enroll_ott_parameters.go
- enroll_ott_responses.go
- enroll_ott_urlbuilder.go
- enroll_parameters.go
- enroll_responses.go
- enroll_token.go
- enroll_token_parameters.go
- enroll_token_responses.go
- enroll_token_urlbuilder.go
- enroll_updb.go
- enroll_updb_parameters.go
- enroll_updb_responses.go
- enroll_updb_urlbuilder.go
- enroll_urlbuilder.go
- enrollment_challenge.go
- enrollment_challenge_parameters.go
- enrollment_challenge_responses.go
- enrollment_challenge_urlbuilder.go
- extend_router_enrollment.go
- extend_router_enrollment_parameters.go
- extend_router_enrollment_responses.go
- extend_router_enrollment_urlbuilder.go
- get_enrollment_jwks.go
- get_enrollment_jwks_parameters.go
- get_enrollment_jwks_responses.go
- get_enrollment_jwks_urlbuilder.go