Documentation
¶
Index ¶
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationPkcs7(r *runtime.ClientOperation)
- func WithContentTypeApplicationxPemFile(r *runtime.ClientOperation)
- func WithContentTypeTextPlain(r *runtime.ClientOperation)
- type Client
- func (a *Client) Enroll(params *EnrollParams, opts ...ClientOption) (*EnrollOK, error)
- func (a *Client) EnrollCa(params *EnrollCaParams, opts ...ClientOption) (*EnrollCaOK, error)
- func (a *Client) EnrollErOtt(params *EnrollErOttParams, opts ...ClientOption) (*EnrollErOttOK, error)
- func (a *Client) EnrollOtt(params *EnrollOttParams, opts ...ClientOption) (*EnrollOttOK, error)
- func (a *Client) EnrollOttCa(params *EnrollOttCaParams, opts ...ClientOption) (*EnrollOttCaOK, error)
- func (a *Client) EnrollToken(params *EnrollTokenParams, opts ...ClientOption) (*EnrollTokenOK, error)
- func (a *Client) EnrollUpdb(params *EnrollUpdbParams, opts ...ClientOption) (*EnrollUpdbOK, error)
- func (a *Client) EnrollmentChallenge(params *EnrollmentChallengeParams, opts ...ClientOption) (*EnrollmentChallengeOK, error)
- func (a *Client) ExtendRouterEnrollment(params *ExtendRouterEnrollmentParams, opts ...ClientOption) (*ExtendRouterEnrollmentOK, error)
- func (a *Client) GetEnrollmentJwks(params *GetEnrollmentJwksParams, opts ...ClientOption) (*GetEnrollmentJwksOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type EnrollBadRequest
- func (o *EnrollBadRequest) Code() int
- func (o *EnrollBadRequest) Error() string
- func (o *EnrollBadRequest) GetPayload() *rest_model.APIErrorEnvelope
- func (o *EnrollBadRequest) IsClientError() bool
- func (o *EnrollBadRequest) IsCode(code int) bool
- func (o *EnrollBadRequest) IsRedirect() bool
- func (o *EnrollBadRequest) IsServerError() bool
- func (o *EnrollBadRequest) IsSuccess() bool
- func (o *EnrollBadRequest) String() string
- type EnrollCaBadRequest
- func (o *EnrollCaBadRequest) Code() int
- func (o *EnrollCaBadRequest) Error() string
- func (o *EnrollCaBadRequest) GetPayload() *rest_model.APIErrorEnvelope
- func (o *EnrollCaBadRequest) IsClientError() bool
- func (o *EnrollCaBadRequest) IsCode(code int) bool
- func (o *EnrollCaBadRequest) IsRedirect() bool
- func (o *EnrollCaBadRequest) IsServerError() bool
- func (o *EnrollCaBadRequest) IsSuccess() bool
- func (o *EnrollCaBadRequest) String() string
- type EnrollCaNotFound
- func (o *EnrollCaNotFound) Code() int
- func (o *EnrollCaNotFound) Error() string
- func (o *EnrollCaNotFound) GetPayload() *rest_model.APIErrorEnvelope
- func (o *EnrollCaNotFound) IsClientError() bool
- func (o *EnrollCaNotFound) IsCode(code int) bool
- func (o *EnrollCaNotFound) IsRedirect() bool
- func (o *EnrollCaNotFound) IsServerError() bool
- func (o *EnrollCaNotFound) IsSuccess() bool
- func (o *EnrollCaNotFound) String() string
- type EnrollCaOK
- func (o *EnrollCaOK) Code() int
- func (o *EnrollCaOK) Error() string
- func (o *EnrollCaOK) GetPayload() *rest_model.Empty
- func (o *EnrollCaOK) IsClientError() bool
- func (o *EnrollCaOK) IsCode(code int) bool
- func (o *EnrollCaOK) IsRedirect() bool
- func (o *EnrollCaOK) IsServerError() bool
- func (o *EnrollCaOK) IsSuccess() bool
- func (o *EnrollCaOK) String() string
- type EnrollCaParams
- func (o *EnrollCaParams) SetContext(ctx context.Context)
- func (o *EnrollCaParams) SetDefaults()
- func (o *EnrollCaParams) SetHTTPClient(client *http.Client)
- func (o *EnrollCaParams) SetTimeout(timeout time.Duration)
- func (o *EnrollCaParams) WithContext(ctx context.Context) *EnrollCaParams
- func (o *EnrollCaParams) WithDefaults() *EnrollCaParams
- func (o *EnrollCaParams) WithHTTPClient(client *http.Client) *EnrollCaParams
- func (o *EnrollCaParams) WithTimeout(timeout time.Duration) *EnrollCaParams
- func (o *EnrollCaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EnrollCaReader
- type EnrollCaServiceUnavailable
- func (o *EnrollCaServiceUnavailable) Code() int
- func (o *EnrollCaServiceUnavailable) Error() string
- func (o *EnrollCaServiceUnavailable) GetPayload() *rest_model.APIErrorEnvelope
- func (o *EnrollCaServiceUnavailable) IsClientError() bool
- func (o *EnrollCaServiceUnavailable) IsCode(code int) bool
- func (o *EnrollCaServiceUnavailable) IsRedirect() bool
- func (o *EnrollCaServiceUnavailable) IsServerError() bool
- func (o *EnrollCaServiceUnavailable) IsSuccess() bool
- func (o *EnrollCaServiceUnavailable) String() string
- type EnrollCaTooManyRequests
- func (o *EnrollCaTooManyRequests) Code() int
- func (o *EnrollCaTooManyRequests) Error() string
- func (o *EnrollCaTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
- func (o *EnrollCaTooManyRequests) IsClientError() bool
- func (o *EnrollCaTooManyRequests) IsCode(code int) bool
- func (o *EnrollCaTooManyRequests) IsRedirect() bool
- func (o *EnrollCaTooManyRequests) IsServerError() bool
- func (o *EnrollCaTooManyRequests) IsSuccess() bool
- func (o *EnrollCaTooManyRequests) String() string
- type EnrollConflict
- func (o *EnrollConflict) Code() int
- func (o *EnrollConflict) Error() string
- func (o *EnrollConflict) GetPayload() *rest_model.APIErrorEnvelope
- func (o *EnrollConflict) IsClientError() bool
- func (o *EnrollConflict) IsCode(code int) bool
- func (o *EnrollConflict) IsRedirect() bool
- func (o *EnrollConflict) IsServerError() bool
- func (o *EnrollConflict) IsSuccess() bool
- func (o *EnrollConflict) String() string
- type EnrollErOttBadRequest
- func (o *EnrollErOttBadRequest) Code() int
- func (o *EnrollErOttBadRequest) Error() string
- func (o *EnrollErOttBadRequest) GetPayload() *rest_model.APIErrorEnvelope
- func (o *EnrollErOttBadRequest) IsClientError() bool
- func (o *EnrollErOttBadRequest) IsCode(code int) bool
- func (o *EnrollErOttBadRequest) IsRedirect() bool
- func (o *EnrollErOttBadRequest) IsServerError() bool
- func (o *EnrollErOttBadRequest) IsSuccess() bool
- func (o *EnrollErOttBadRequest) String() string
- type EnrollErOttOK
- func (o *EnrollErOttOK) Code() int
- func (o *EnrollErOttOK) Error() string
- func (o *EnrollErOttOK) GetPayload() *rest_model.EnrollmentCertsEnvelope
- func (o *EnrollErOttOK) IsClientError() bool
- func (o *EnrollErOttOK) IsCode(code int) bool
- func (o *EnrollErOttOK) IsRedirect() bool
- func (o *EnrollErOttOK) IsServerError() bool
- func (o *EnrollErOttOK) IsSuccess() bool
- func (o *EnrollErOttOK) String() string
- type EnrollErOttParams
- func (o *EnrollErOttParams) SetContext(ctx context.Context)
- func (o *EnrollErOttParams) SetDefaults()
- func (o *EnrollErOttParams) SetErOttEnrollmentRequest(erOttEnrollmentRequest *rest_model.ErOttEnrollmentRequest)
- func (o *EnrollErOttParams) SetHTTPClient(client *http.Client)
- func (o *EnrollErOttParams) SetTimeout(timeout time.Duration)
- func (o *EnrollErOttParams) WithContext(ctx context.Context) *EnrollErOttParams
- func (o *EnrollErOttParams) WithDefaults() *EnrollErOttParams
- func (o *EnrollErOttParams) WithErOttEnrollmentRequest(erOttEnrollmentRequest *rest_model.ErOttEnrollmentRequest) *EnrollErOttParams
- func (o *EnrollErOttParams) WithHTTPClient(client *http.Client) *EnrollErOttParams
- func (o *EnrollErOttParams) WithTimeout(timeout time.Duration) *EnrollErOttParams
- func (o *EnrollErOttParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EnrollErOttReader
- type EnrollErOttServiceUnavailable
- func (o *EnrollErOttServiceUnavailable) Code() int
- func (o *EnrollErOttServiceUnavailable) Error() string
- func (o *EnrollErOttServiceUnavailable) GetPayload() *rest_model.APIErrorEnvelope
- func (o *EnrollErOttServiceUnavailable) IsClientError() bool
- func (o *EnrollErOttServiceUnavailable) IsCode(code int) bool
- func (o *EnrollErOttServiceUnavailable) IsRedirect() bool
- func (o *EnrollErOttServiceUnavailable) IsServerError() bool
- func (o *EnrollErOttServiceUnavailable) IsSuccess() bool
- func (o *EnrollErOttServiceUnavailable) String() string
- type EnrollErOttTooManyRequests
- func (o *EnrollErOttTooManyRequests) Code() int
- func (o *EnrollErOttTooManyRequests) Error() string
- func (o *EnrollErOttTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
- func (o *EnrollErOttTooManyRequests) IsClientError() bool
- func (o *EnrollErOttTooManyRequests) IsCode(code int) bool
- func (o *EnrollErOttTooManyRequests) IsRedirect() bool
- func (o *EnrollErOttTooManyRequests) IsServerError() bool
- func (o *EnrollErOttTooManyRequests) IsSuccess() bool
- func (o *EnrollErOttTooManyRequests) String() string
- type EnrollGone
- func (o *EnrollGone) Code() int
- func (o *EnrollGone) Error() string
- func (o *EnrollGone) GetPayload() *rest_model.APIErrorEnvelope
- func (o *EnrollGone) IsClientError() bool
- func (o *EnrollGone) IsCode(code int) bool
- func (o *EnrollGone) IsRedirect() bool
- func (o *EnrollGone) IsServerError() bool
- func (o *EnrollGone) IsSuccess() bool
- func (o *EnrollGone) String() string
- type EnrollNotFound
- func (o *EnrollNotFound) Code() int
- func (o *EnrollNotFound) Error() string
- func (o *EnrollNotFound) GetPayload() *rest_model.APIErrorEnvelope
- func (o *EnrollNotFound) IsClientError() bool
- func (o *EnrollNotFound) IsCode(code int) bool
- func (o *EnrollNotFound) IsRedirect() bool
- func (o *EnrollNotFound) IsServerError() bool
- func (o *EnrollNotFound) IsSuccess() bool
- func (o *EnrollNotFound) String() string
- type EnrollOK
- func (o *EnrollOK) Code() int
- func (o *EnrollOK) Error() string
- func (o *EnrollOK) GetPayload() *rest_model.EnrollmentCertsEnvelope
- func (o *EnrollOK) IsClientError() bool
- func (o *EnrollOK) IsCode(code int) bool
- func (o *EnrollOK) IsRedirect() bool
- func (o *EnrollOK) IsServerError() bool
- func (o *EnrollOK) IsSuccess() bool
- func (o *EnrollOK) String() string
- type EnrollOttBadRequest
- func (o *EnrollOttBadRequest) Code() int
- func (o *EnrollOttBadRequest) Error() string
- func (o *EnrollOttBadRequest) GetPayload() *rest_model.APIErrorEnvelope
- func (o *EnrollOttBadRequest) IsClientError() bool
- func (o *EnrollOttBadRequest) IsCode(code int) bool
- func (o *EnrollOttBadRequest) IsRedirect() bool
- func (o *EnrollOttBadRequest) IsServerError() bool
- func (o *EnrollOttBadRequest) IsSuccess() bool
- func (o *EnrollOttBadRequest) String() string
- type EnrollOttCaBadRequest
- func (o *EnrollOttCaBadRequest) Code() int
- func (o *EnrollOttCaBadRequest) Error() string
- func (o *EnrollOttCaBadRequest) GetPayload() *rest_model.APIErrorEnvelope
- func (o *EnrollOttCaBadRequest) IsClientError() bool
- func (o *EnrollOttCaBadRequest) IsCode(code int) bool
- func (o *EnrollOttCaBadRequest) IsRedirect() bool
- func (o *EnrollOttCaBadRequest) IsServerError() bool
- func (o *EnrollOttCaBadRequest) IsSuccess() bool
- func (o *EnrollOttCaBadRequest) String() string
- type EnrollOttCaOK
- func (o *EnrollOttCaOK) Code() int
- func (o *EnrollOttCaOK) Error() string
- func (o *EnrollOttCaOK) GetPayload() *rest_model.Empty
- func (o *EnrollOttCaOK) IsClientError() bool
- func (o *EnrollOttCaOK) IsCode(code int) bool
- func (o *EnrollOttCaOK) IsRedirect() bool
- func (o *EnrollOttCaOK) IsServerError() bool
- func (o *EnrollOttCaOK) IsSuccess() bool
- func (o *EnrollOttCaOK) String() string
- type EnrollOttCaParams
- func (o *EnrollOttCaParams) SetContext(ctx context.Context)
- func (o *EnrollOttCaParams) SetDefaults()
- func (o *EnrollOttCaParams) SetHTTPClient(client *http.Client)
- func (o *EnrollOttCaParams) SetOttEnrollmentRequest(ottEnrollmentRequest *rest_model.OttEnrollmentRequest)
- func (o *EnrollOttCaParams) SetTimeout(timeout time.Duration)
- func (o *EnrollOttCaParams) WithContext(ctx context.Context) *EnrollOttCaParams
- func (o *EnrollOttCaParams) WithDefaults() *EnrollOttCaParams
- func (o *EnrollOttCaParams) WithHTTPClient(client *http.Client) *EnrollOttCaParams
- func (o *EnrollOttCaParams) WithOttEnrollmentRequest(ottEnrollmentRequest *rest_model.OttEnrollmentRequest) *EnrollOttCaParams
- func (o *EnrollOttCaParams) WithTimeout(timeout time.Duration) *EnrollOttCaParams
- func (o *EnrollOttCaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EnrollOttCaReader
- type EnrollOttCaServiceUnavailable
- func (o *EnrollOttCaServiceUnavailable) Code() int
- func (o *EnrollOttCaServiceUnavailable) Error() string
- func (o *EnrollOttCaServiceUnavailable) GetPayload() *rest_model.APIErrorEnvelope
- func (o *EnrollOttCaServiceUnavailable) IsClientError() bool
- func (o *EnrollOttCaServiceUnavailable) IsCode(code int) bool
- func (o *EnrollOttCaServiceUnavailable) IsRedirect() bool
- func (o *EnrollOttCaServiceUnavailable) IsServerError() bool
- func (o *EnrollOttCaServiceUnavailable) IsSuccess() bool
- func (o *EnrollOttCaServiceUnavailable) String() string
- type EnrollOttCaTooManyRequests
- func (o *EnrollOttCaTooManyRequests) Code() int
- func (o *EnrollOttCaTooManyRequests) Error() string
- func (o *EnrollOttCaTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
- func (o *EnrollOttCaTooManyRequests) IsClientError() bool
- func (o *EnrollOttCaTooManyRequests) IsCode(code int) bool
- func (o *EnrollOttCaTooManyRequests) IsRedirect() bool
- func (o *EnrollOttCaTooManyRequests) IsServerError() bool
- func (o *EnrollOttCaTooManyRequests) IsSuccess() bool
- func (o *EnrollOttCaTooManyRequests) String() string
- type EnrollOttNotFound
- func (o *EnrollOttNotFound) Code() int
- func (o *EnrollOttNotFound) Error() string
- func (o *EnrollOttNotFound) GetPayload() *rest_model.APIErrorEnvelope
- func (o *EnrollOttNotFound) IsClientError() bool
- func (o *EnrollOttNotFound) IsCode(code int) bool
- func (o *EnrollOttNotFound) IsRedirect() bool
- func (o *EnrollOttNotFound) IsServerError() bool
- func (o *EnrollOttNotFound) IsSuccess() bool
- func (o *EnrollOttNotFound) String() string
- type EnrollOttOK
- func (o *EnrollOttOK) Code() int
- func (o *EnrollOttOK) Error() string
- func (o *EnrollOttOK) GetPayload() *rest_model.EnrollmentCertsEnvelope
- func (o *EnrollOttOK) IsClientError() bool
- func (o *EnrollOttOK) IsCode(code int) bool
- func (o *EnrollOttOK) IsRedirect() bool
- func (o *EnrollOttOK) IsServerError() bool
- func (o *EnrollOttOK) IsSuccess() bool
- func (o *EnrollOttOK) String() string
- type EnrollOttParams
- func (o *EnrollOttParams) SetContext(ctx context.Context)
- func (o *EnrollOttParams) SetDefaults()
- func (o *EnrollOttParams) SetHTTPClient(client *http.Client)
- func (o *EnrollOttParams) SetOttEnrollmentRequest(ottEnrollmentRequest *rest_model.OttEnrollmentRequest)
- func (o *EnrollOttParams) SetTimeout(timeout time.Duration)
- func (o *EnrollOttParams) WithContext(ctx context.Context) *EnrollOttParams
- func (o *EnrollOttParams) WithDefaults() *EnrollOttParams
- func (o *EnrollOttParams) WithHTTPClient(client *http.Client) *EnrollOttParams
- func (o *EnrollOttParams) WithOttEnrollmentRequest(ottEnrollmentRequest *rest_model.OttEnrollmentRequest) *EnrollOttParams
- func (o *EnrollOttParams) WithTimeout(timeout time.Duration) *EnrollOttParams
- func (o *EnrollOttParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EnrollOttReader
- type EnrollOttServiceUnavailable
- func (o *EnrollOttServiceUnavailable) Code() int
- func (o *EnrollOttServiceUnavailable) Error() string
- func (o *EnrollOttServiceUnavailable) GetPayload() *rest_model.APIErrorEnvelope
- func (o *EnrollOttServiceUnavailable) IsClientError() bool
- func (o *EnrollOttServiceUnavailable) IsCode(code int) bool
- func (o *EnrollOttServiceUnavailable) IsRedirect() bool
- func (o *EnrollOttServiceUnavailable) IsServerError() bool
- func (o *EnrollOttServiceUnavailable) IsSuccess() bool
- func (o *EnrollOttServiceUnavailable) String() string
- type EnrollOttTooManyRequests
- func (o *EnrollOttTooManyRequests) Code() int
- func (o *EnrollOttTooManyRequests) Error() string
- func (o *EnrollOttTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
- func (o *EnrollOttTooManyRequests) IsClientError() bool
- func (o *EnrollOttTooManyRequests) IsCode(code int) bool
- func (o *EnrollOttTooManyRequests) IsRedirect() bool
- func (o *EnrollOttTooManyRequests) IsServerError() bool
- func (o *EnrollOttTooManyRequests) IsSuccess() bool
- func (o *EnrollOttTooManyRequests) String() string
- type EnrollParams
- func (o *EnrollParams) SetBody(body *rest_model.GenericEnroll)
- func (o *EnrollParams) SetContext(ctx context.Context)
- func (o *EnrollParams) SetDefaults()
- func (o *EnrollParams) SetHTTPClient(client *http.Client)
- func (o *EnrollParams) SetMethod(method *string)
- func (o *EnrollParams) SetTimeout(timeout time.Duration)
- func (o *EnrollParams) SetToken(token *strfmt.UUID)
- func (o *EnrollParams) WithBody(body *rest_model.GenericEnroll) *EnrollParams
- func (o *EnrollParams) WithContext(ctx context.Context) *EnrollParams
- func (o *EnrollParams) WithDefaults() *EnrollParams
- func (o *EnrollParams) WithHTTPClient(client *http.Client) *EnrollParams
- func (o *EnrollParams) WithMethod(method *string) *EnrollParams
- func (o *EnrollParams) WithTimeout(timeout time.Duration) *EnrollParams
- func (o *EnrollParams) WithToken(token *strfmt.UUID) *EnrollParams
- func (o *EnrollParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EnrollReader
- type EnrollServiceUnavailable
- func (o *EnrollServiceUnavailable) Code() int
- func (o *EnrollServiceUnavailable) Error() string
- func (o *EnrollServiceUnavailable) GetPayload() *rest_model.APIErrorEnvelope
- func (o *EnrollServiceUnavailable) IsClientError() bool
- func (o *EnrollServiceUnavailable) IsCode(code int) bool
- func (o *EnrollServiceUnavailable) IsRedirect() bool
- func (o *EnrollServiceUnavailable) IsServerError() bool
- func (o *EnrollServiceUnavailable) IsSuccess() bool
- func (o *EnrollServiceUnavailable) String() string
- type EnrollTokenBadRequest
- func (o *EnrollTokenBadRequest) Code() int
- func (o *EnrollTokenBadRequest) Error() string
- func (o *EnrollTokenBadRequest) GetPayload() *rest_model.APIErrorEnvelope
- func (o *EnrollTokenBadRequest) IsClientError() bool
- func (o *EnrollTokenBadRequest) IsCode(code int) bool
- func (o *EnrollTokenBadRequest) IsRedirect() bool
- func (o *EnrollTokenBadRequest) IsServerError() bool
- func (o *EnrollTokenBadRequest) IsSuccess() bool
- func (o *EnrollTokenBadRequest) String() string
- type EnrollTokenConflict
- func (o *EnrollTokenConflict) Code() int
- func (o *EnrollTokenConflict) Error() string
- func (o *EnrollTokenConflict) GetPayload() *rest_model.APIErrorEnvelope
- func (o *EnrollTokenConflict) IsClientError() bool
- func (o *EnrollTokenConflict) IsCode(code int) bool
- func (o *EnrollTokenConflict) IsRedirect() bool
- func (o *EnrollTokenConflict) IsServerError() bool
- func (o *EnrollTokenConflict) IsSuccess() bool
- func (o *EnrollTokenConflict) String() string
- type EnrollTokenGone
- func (o *EnrollTokenGone) Code() int
- func (o *EnrollTokenGone) Error() string
- func (o *EnrollTokenGone) GetPayload() *rest_model.APIErrorEnvelope
- func (o *EnrollTokenGone) IsClientError() bool
- func (o *EnrollTokenGone) IsCode(code int) bool
- func (o *EnrollTokenGone) IsRedirect() bool
- func (o *EnrollTokenGone) IsServerError() bool
- func (o *EnrollTokenGone) IsSuccess() bool
- func (o *EnrollTokenGone) String() string
- type EnrollTokenNotFound
- func (o *EnrollTokenNotFound) Code() int
- func (o *EnrollTokenNotFound) Error() string
- func (o *EnrollTokenNotFound) GetPayload() *rest_model.APIErrorEnvelope
- func (o *EnrollTokenNotFound) IsClientError() bool
- func (o *EnrollTokenNotFound) IsCode(code int) bool
- func (o *EnrollTokenNotFound) IsRedirect() bool
- func (o *EnrollTokenNotFound) IsServerError() bool
- func (o *EnrollTokenNotFound) IsSuccess() bool
- func (o *EnrollTokenNotFound) String() string
- type EnrollTokenOK
- func (o *EnrollTokenOK) Code() int
- func (o *EnrollTokenOK) Error() string
- func (o *EnrollTokenOK) GetPayload() *rest_model.EnrollmentCertsEnvelope
- func (o *EnrollTokenOK) IsClientError() bool
- func (o *EnrollTokenOK) IsCode(code int) bool
- func (o *EnrollTokenOK) IsRedirect() bool
- func (o *EnrollTokenOK) IsServerError() bool
- func (o *EnrollTokenOK) IsSuccess() bool
- func (o *EnrollTokenOK) String() string
- type EnrollTokenParams
- func (o *EnrollTokenParams) SetAuthorization(authorization string)
- func (o *EnrollTokenParams) SetContext(ctx context.Context)
- func (o *EnrollTokenParams) SetDefaults()
- func (o *EnrollTokenParams) SetHTTPClient(client *http.Client)
- func (o *EnrollTokenParams) SetTimeout(timeout time.Duration)
- func (o *EnrollTokenParams) SetTokenEnrollmentRequest(tokenEnrollmentRequest *rest_model.TokenEnrollmentRequest)
- func (o *EnrollTokenParams) SetZitiTokenIssuerID(ztTokenIssuerID *string)
- func (o *EnrollTokenParams) WithAuthorization(authorization string) *EnrollTokenParams
- func (o *EnrollTokenParams) WithContext(ctx context.Context) *EnrollTokenParams
- func (o *EnrollTokenParams) WithDefaults() *EnrollTokenParams
- func (o *EnrollTokenParams) WithHTTPClient(client *http.Client) *EnrollTokenParams
- func (o *EnrollTokenParams) WithTimeout(timeout time.Duration) *EnrollTokenParams
- func (o *EnrollTokenParams) WithTokenEnrollmentRequest(tokenEnrollmentRequest *rest_model.TokenEnrollmentRequest) *EnrollTokenParams
- func (o *EnrollTokenParams) WithZitiTokenIssuerID(ztTokenIssuerID *string) *EnrollTokenParams
- func (o *EnrollTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EnrollTokenReader
- type EnrollTokenServiceUnavailable
- func (o *EnrollTokenServiceUnavailable) Code() int
- func (o *EnrollTokenServiceUnavailable) Error() string
- func (o *EnrollTokenServiceUnavailable) GetPayload() *rest_model.APIErrorEnvelope
- func (o *EnrollTokenServiceUnavailable) IsClientError() bool
- func (o *EnrollTokenServiceUnavailable) IsCode(code int) bool
- func (o *EnrollTokenServiceUnavailable) IsRedirect() bool
- func (o *EnrollTokenServiceUnavailable) IsServerError() bool
- func (o *EnrollTokenServiceUnavailable) IsSuccess() bool
- func (o *EnrollTokenServiceUnavailable) String() string
- type EnrollTokenTooManyRequests
- func (o *EnrollTokenTooManyRequests) Code() int
- func (o *EnrollTokenTooManyRequests) Error() string
- func (o *EnrollTokenTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
- func (o *EnrollTokenTooManyRequests) IsClientError() bool
- func (o *EnrollTokenTooManyRequests) IsCode(code int) bool
- func (o *EnrollTokenTooManyRequests) IsRedirect() bool
- func (o *EnrollTokenTooManyRequests) IsServerError() bool
- func (o *EnrollTokenTooManyRequests) IsSuccess() bool
- func (o *EnrollTokenTooManyRequests) String() string
- type EnrollTooManyRequests
- func (o *EnrollTooManyRequests) Code() int
- func (o *EnrollTooManyRequests) Error() string
- func (o *EnrollTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
- func (o *EnrollTooManyRequests) IsClientError() bool
- func (o *EnrollTooManyRequests) IsCode(code int) bool
- func (o *EnrollTooManyRequests) IsRedirect() bool
- func (o *EnrollTooManyRequests) IsServerError() bool
- func (o *EnrollTooManyRequests) IsSuccess() bool
- func (o *EnrollTooManyRequests) String() string
- type EnrollUpdbBadRequest
- func (o *EnrollUpdbBadRequest) Code() int
- func (o *EnrollUpdbBadRequest) Error() string
- func (o *EnrollUpdbBadRequest) GetPayload() *rest_model.APIErrorEnvelope
- func (o *EnrollUpdbBadRequest) IsClientError() bool
- func (o *EnrollUpdbBadRequest) IsCode(code int) bool
- func (o *EnrollUpdbBadRequest) IsRedirect() bool
- func (o *EnrollUpdbBadRequest) IsServerError() bool
- func (o *EnrollUpdbBadRequest) IsSuccess() bool
- func (o *EnrollUpdbBadRequest) String() string
- type EnrollUpdbBody
- type EnrollUpdbNotFound
- func (o *EnrollUpdbNotFound) Code() int
- func (o *EnrollUpdbNotFound) Error() string
- func (o *EnrollUpdbNotFound) GetPayload() *rest_model.APIErrorEnvelope
- func (o *EnrollUpdbNotFound) IsClientError() bool
- func (o *EnrollUpdbNotFound) IsCode(code int) bool
- func (o *EnrollUpdbNotFound) IsRedirect() bool
- func (o *EnrollUpdbNotFound) IsServerError() bool
- func (o *EnrollUpdbNotFound) IsSuccess() bool
- func (o *EnrollUpdbNotFound) String() string
- type EnrollUpdbOK
- func (o *EnrollUpdbOK) Code() int
- func (o *EnrollUpdbOK) Error() string
- func (o *EnrollUpdbOK) GetPayload() *rest_model.Empty
- func (o *EnrollUpdbOK) IsClientError() bool
- func (o *EnrollUpdbOK) IsCode(code int) bool
- func (o *EnrollUpdbOK) IsRedirect() bool
- func (o *EnrollUpdbOK) IsServerError() bool
- func (o *EnrollUpdbOK) IsSuccess() bool
- func (o *EnrollUpdbOK) String() string
- type EnrollUpdbParams
- func (o *EnrollUpdbParams) SetContext(ctx context.Context)
- func (o *EnrollUpdbParams) SetDefaults()
- func (o *EnrollUpdbParams) SetHTTPClient(client *http.Client)
- func (o *EnrollUpdbParams) SetTimeout(timeout time.Duration)
- func (o *EnrollUpdbParams) SetToken(token strfmt.UUID)
- func (o *EnrollUpdbParams) SetUpdbCredentials(updbCredentials EnrollUpdbBody)
- func (o *EnrollUpdbParams) WithContext(ctx context.Context) *EnrollUpdbParams
- func (o *EnrollUpdbParams) WithDefaults() *EnrollUpdbParams
- func (o *EnrollUpdbParams) WithHTTPClient(client *http.Client) *EnrollUpdbParams
- func (o *EnrollUpdbParams) WithTimeout(timeout time.Duration) *EnrollUpdbParams
- func (o *EnrollUpdbParams) WithToken(token strfmt.UUID) *EnrollUpdbParams
- func (o *EnrollUpdbParams) WithUpdbCredentials(updbCredentials EnrollUpdbBody) *EnrollUpdbParams
- func (o *EnrollUpdbParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EnrollUpdbReader
- type EnrollUpdbServiceUnavailable
- func (o *EnrollUpdbServiceUnavailable) Code() int
- func (o *EnrollUpdbServiceUnavailable) Error() string
- func (o *EnrollUpdbServiceUnavailable) GetPayload() *rest_model.APIErrorEnvelope
- func (o *EnrollUpdbServiceUnavailable) IsClientError() bool
- func (o *EnrollUpdbServiceUnavailable) IsCode(code int) bool
- func (o *EnrollUpdbServiceUnavailable) IsRedirect() bool
- func (o *EnrollUpdbServiceUnavailable) IsServerError() bool
- func (o *EnrollUpdbServiceUnavailable) IsSuccess() bool
- func (o *EnrollUpdbServiceUnavailable) String() string
- type EnrollUpdbTooManyRequests
- func (o *EnrollUpdbTooManyRequests) Code() int
- func (o *EnrollUpdbTooManyRequests) Error() string
- func (o *EnrollUpdbTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
- func (o *EnrollUpdbTooManyRequests) IsClientError() bool
- func (o *EnrollUpdbTooManyRequests) IsCode(code int) bool
- func (o *EnrollUpdbTooManyRequests) IsRedirect() bool
- func (o *EnrollUpdbTooManyRequests) IsServerError() bool
- func (o *EnrollUpdbTooManyRequests) IsSuccess() bool
- func (o *EnrollUpdbTooManyRequests) String() string
- type EnrollmentChallengeBadRequest
- func (o *EnrollmentChallengeBadRequest) Code() int
- func (o *EnrollmentChallengeBadRequest) Error() string
- func (o *EnrollmentChallengeBadRequest) GetPayload() *rest_model.APIErrorEnvelope
- func (o *EnrollmentChallengeBadRequest) IsClientError() bool
- func (o *EnrollmentChallengeBadRequest) IsCode(code int) bool
- func (o *EnrollmentChallengeBadRequest) IsRedirect() bool
- func (o *EnrollmentChallengeBadRequest) IsServerError() bool
- func (o *EnrollmentChallengeBadRequest) IsSuccess() bool
- func (o *EnrollmentChallengeBadRequest) String() string
- type EnrollmentChallengeOK
- func (o *EnrollmentChallengeOK) Code() int
- func (o *EnrollmentChallengeOK) Error() string
- func (o *EnrollmentChallengeOK) GetPayload() *rest_model.NonceSignature
- func (o *EnrollmentChallengeOK) IsClientError() bool
- func (o *EnrollmentChallengeOK) IsCode(code int) bool
- func (o *EnrollmentChallengeOK) IsRedirect() bool
- func (o *EnrollmentChallengeOK) IsServerError() bool
- func (o *EnrollmentChallengeOK) IsSuccess() bool
- func (o *EnrollmentChallengeOK) String() string
- type EnrollmentChallengeParams
- func NewEnrollmentChallengeParams() *EnrollmentChallengeParams
- func NewEnrollmentChallengeParamsWithContext(ctx context.Context) *EnrollmentChallengeParams
- func NewEnrollmentChallengeParamsWithHTTPClient(client *http.Client) *EnrollmentChallengeParams
- func NewEnrollmentChallengeParamsWithTimeout(timeout time.Duration) *EnrollmentChallengeParams
- func (o *EnrollmentChallengeParams) SetContext(ctx context.Context)
- func (o *EnrollmentChallengeParams) SetDefaults()
- func (o *EnrollmentChallengeParams) SetHTTPClient(client *http.Client)
- func (o *EnrollmentChallengeParams) SetNonce(nonce *rest_model.NonceChallenge)
- func (o *EnrollmentChallengeParams) SetTimeout(timeout time.Duration)
- func (o *EnrollmentChallengeParams) WithContext(ctx context.Context) *EnrollmentChallengeParams
- func (o *EnrollmentChallengeParams) WithDefaults() *EnrollmentChallengeParams
- func (o *EnrollmentChallengeParams) WithHTTPClient(client *http.Client) *EnrollmentChallengeParams
- func (o *EnrollmentChallengeParams) WithNonce(nonce *rest_model.NonceChallenge) *EnrollmentChallengeParams
- func (o *EnrollmentChallengeParams) WithTimeout(timeout time.Duration) *EnrollmentChallengeParams
- func (o *EnrollmentChallengeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EnrollmentChallengeReader
- type EnrollmentChallengeTooManyRequests
- func (o *EnrollmentChallengeTooManyRequests) Code() int
- func (o *EnrollmentChallengeTooManyRequests) Error() string
- func (o *EnrollmentChallengeTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
- func (o *EnrollmentChallengeTooManyRequests) IsClientError() bool
- func (o *EnrollmentChallengeTooManyRequests) IsCode(code int) bool
- func (o *EnrollmentChallengeTooManyRequests) IsRedirect() bool
- func (o *EnrollmentChallengeTooManyRequests) IsServerError() bool
- func (o *EnrollmentChallengeTooManyRequests) IsSuccess() bool
- func (o *EnrollmentChallengeTooManyRequests) String() string
- type ExtendRouterEnrollmentBadRequest
- func (o *ExtendRouterEnrollmentBadRequest) Code() int
- func (o *ExtendRouterEnrollmentBadRequest) Error() string
- func (o *ExtendRouterEnrollmentBadRequest) GetPayload() *rest_model.APIErrorEnvelope
- func (o *ExtendRouterEnrollmentBadRequest) IsClientError() bool
- func (o *ExtendRouterEnrollmentBadRequest) IsCode(code int) bool
- func (o *ExtendRouterEnrollmentBadRequest) IsRedirect() bool
- func (o *ExtendRouterEnrollmentBadRequest) IsServerError() bool
- func (o *ExtendRouterEnrollmentBadRequest) IsSuccess() bool
- func (o *ExtendRouterEnrollmentBadRequest) String() string
- type ExtendRouterEnrollmentOK
- func (o *ExtendRouterEnrollmentOK) Code() int
- func (o *ExtendRouterEnrollmentOK) Error() string
- func (o *ExtendRouterEnrollmentOK) GetPayload() *rest_model.EnrollmentCertsEnvelope
- func (o *ExtendRouterEnrollmentOK) IsClientError() bool
- func (o *ExtendRouterEnrollmentOK) IsCode(code int) bool
- func (o *ExtendRouterEnrollmentOK) IsRedirect() bool
- func (o *ExtendRouterEnrollmentOK) IsServerError() bool
- func (o *ExtendRouterEnrollmentOK) IsSuccess() bool
- func (o *ExtendRouterEnrollmentOK) String() string
- type ExtendRouterEnrollmentParams
- func NewExtendRouterEnrollmentParams() *ExtendRouterEnrollmentParams
- func NewExtendRouterEnrollmentParamsWithContext(ctx context.Context) *ExtendRouterEnrollmentParams
- func NewExtendRouterEnrollmentParamsWithHTTPClient(client *http.Client) *ExtendRouterEnrollmentParams
- func NewExtendRouterEnrollmentParamsWithTimeout(timeout time.Duration) *ExtendRouterEnrollmentParams
- func (o *ExtendRouterEnrollmentParams) SetContext(ctx context.Context)
- func (o *ExtendRouterEnrollmentParams) SetDefaults()
- func (o *ExtendRouterEnrollmentParams) SetHTTPClient(client *http.Client)
- func (o *ExtendRouterEnrollmentParams) SetRouterExtendEnrollmentRequest(routerExtendEnrollmentRequest *rest_model.RouterExtendEnrollmentRequest)
- func (o *ExtendRouterEnrollmentParams) SetTimeout(timeout time.Duration)
- func (o *ExtendRouterEnrollmentParams) WithContext(ctx context.Context) *ExtendRouterEnrollmentParams
- func (o *ExtendRouterEnrollmentParams) WithDefaults() *ExtendRouterEnrollmentParams
- func (o *ExtendRouterEnrollmentParams) WithHTTPClient(client *http.Client) *ExtendRouterEnrollmentParams
- func (o *ExtendRouterEnrollmentParams) WithRouterExtendEnrollmentRequest(routerExtendEnrollmentRequest *rest_model.RouterExtendEnrollmentRequest) *ExtendRouterEnrollmentParams
- func (o *ExtendRouterEnrollmentParams) WithTimeout(timeout time.Duration) *ExtendRouterEnrollmentParams
- func (o *ExtendRouterEnrollmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExtendRouterEnrollmentReader
- type ExtendRouterEnrollmentTooManyRequests
- func (o *ExtendRouterEnrollmentTooManyRequests) Code() int
- func (o *ExtendRouterEnrollmentTooManyRequests) Error() string
- func (o *ExtendRouterEnrollmentTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
- func (o *ExtendRouterEnrollmentTooManyRequests) IsClientError() bool
- func (o *ExtendRouterEnrollmentTooManyRequests) IsCode(code int) bool
- func (o *ExtendRouterEnrollmentTooManyRequests) IsRedirect() bool
- func (o *ExtendRouterEnrollmentTooManyRequests) IsServerError() bool
- func (o *ExtendRouterEnrollmentTooManyRequests) IsSuccess() bool
- func (o *ExtendRouterEnrollmentTooManyRequests) String() string
- type ExtendRouterEnrollmentUnauthorized
- func (o *ExtendRouterEnrollmentUnauthorized) Code() int
- func (o *ExtendRouterEnrollmentUnauthorized) Error() string
- func (o *ExtendRouterEnrollmentUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
- func (o *ExtendRouterEnrollmentUnauthorized) IsClientError() bool
- func (o *ExtendRouterEnrollmentUnauthorized) IsCode(code int) bool
- func (o *ExtendRouterEnrollmentUnauthorized) IsRedirect() bool
- func (o *ExtendRouterEnrollmentUnauthorized) IsServerError() bool
- func (o *ExtendRouterEnrollmentUnauthorized) IsSuccess() bool
- func (o *ExtendRouterEnrollmentUnauthorized) String() string
- type GetEnrollmentJwksOK
- func (o *GetEnrollmentJwksOK) Code() int
- func (o *GetEnrollmentJwksOK) Error() string
- func (o *GetEnrollmentJwksOK) GetPayload() *rest_model.Jwks
- func (o *GetEnrollmentJwksOK) IsClientError() bool
- func (o *GetEnrollmentJwksOK) IsCode(code int) bool
- func (o *GetEnrollmentJwksOK) IsRedirect() bool
- func (o *GetEnrollmentJwksOK) IsServerError() bool
- func (o *GetEnrollmentJwksOK) IsSuccess() bool
- func (o *GetEnrollmentJwksOK) String() string
- type GetEnrollmentJwksParams
- func NewGetEnrollmentJwksParams() *GetEnrollmentJwksParams
- func NewGetEnrollmentJwksParamsWithContext(ctx context.Context) *GetEnrollmentJwksParams
- func NewGetEnrollmentJwksParamsWithHTTPClient(client *http.Client) *GetEnrollmentJwksParams
- func NewGetEnrollmentJwksParamsWithTimeout(timeout time.Duration) *GetEnrollmentJwksParams
- func (o *GetEnrollmentJwksParams) SetContext(ctx context.Context)
- func (o *GetEnrollmentJwksParams) SetDefaults()
- func (o *GetEnrollmentJwksParams) SetHTTPClient(client *http.Client)
- func (o *GetEnrollmentJwksParams) SetTimeout(timeout time.Duration)
- func (o *GetEnrollmentJwksParams) WithContext(ctx context.Context) *GetEnrollmentJwksParams
- func (o *GetEnrollmentJwksParams) WithDefaults() *GetEnrollmentJwksParams
- func (o *GetEnrollmentJwksParams) WithHTTPClient(client *http.Client) *GetEnrollmentJwksParams
- func (o *GetEnrollmentJwksParams) WithTimeout(timeout time.Duration) *GetEnrollmentJwksParams
- func (o *GetEnrollmentJwksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEnrollmentJwksReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithContentTypeApplicationJSON ¶
func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
WithContentTypeApplicationJSON sets the Content-Type header to "application/json".
func WithContentTypeApplicationPkcs7 ¶
func WithContentTypeApplicationPkcs7(r *runtime.ClientOperation)
WithContentTypeApplicationPkcs7 sets the Content-Type header to "application/pkcs7".
func WithContentTypeApplicationxPemFile ¶
func WithContentTypeApplicationxPemFile(r *runtime.ClientOperation)
WithContentTypeApplicationxPemFile sets the Content-Type header to "application/x-pem-file".
func WithContentTypeTextPlain ¶
func WithContentTypeTextPlain(r *runtime.ClientOperation)
WithContentTypeTextPlain sets the Content-Type header to "text/plain".
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for enroll API
func (*Client) Enroll ¶
func (a *Client) Enroll(params *EnrollParams, opts ...ClientOption) (*EnrollOK, error)
Enroll enrolls an identity via one time token
present a OTT and CSR to receive a long-lived client certificate
func (*Client) EnrollCa ¶
func (a *Client) EnrollCa(params *EnrollCaParams, opts ...ClientOption) (*EnrollCaOK, error)
EnrollCa enrolls 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 (*Client) EnrollErOtt ¶
func (a *Client) EnrollErOtt(params *EnrollErOttParams, opts ...ClientOption) (*EnrollErOttOK, error)
EnrollErOtt enrolls an edge router
Enrolls an edge-router via a one-time-token to establish a certificate based identity.
func (*Client) EnrollOtt ¶
func (a *Client) EnrollOtt(params *EnrollOttParams, opts ...ClientOption) (*EnrollOttOK, error)
EnrollOtt enrolls 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 (*Client) EnrollOttCa ¶
func (a *Client) EnrollOttCa(params *EnrollOttCaParams, opts ...ClientOption) (*EnrollOttCaOK, error)
EnrollOttCa enrolls 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 (*Client) EnrollToken ¶
func (a *Client) EnrollToken(params *EnrollTokenParams, opts ...ClientOption) (*EnrollTokenOK, error)
EnrollToken enroll token API
func (*Client) EnrollUpdb ¶
func (a *Client) EnrollUpdb(params *EnrollUpdbParams, opts ...ClientOption) (*EnrollUpdbOK, error)
EnrollUpdb enrolls an identity via one time token
Enrolls an identity via a one-time-token to establish an initial username and password combination
func (*Client) EnrollmentChallenge ¶
func (a *Client) EnrollmentChallenge(params *EnrollmentChallengeParams, opts ...ClientOption) (*EnrollmentChallengeOK, error)
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 (*Client) ExtendRouterEnrollment ¶
func (a *Client) ExtendRouterEnrollment(params *ExtendRouterEnrollmentParams, opts ...ClientOption) (*ExtendRouterEnrollmentOK, error)
ExtendRouterEnrollment extends 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 (*Client) GetEnrollmentJwks ¶
func (a *Client) GetEnrollmentJwks(params *GetEnrollmentJwksParams, opts ...ClientOption) (*GetEnrollmentJwksOK, error)
GetEnrollmentJwks lists 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 (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
func WithContentType ¶
func WithContentType(mime string) ClientOption
WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
type ClientService ¶
type ClientService interface {
Enroll(params *EnrollParams, opts ...ClientOption) (*EnrollOK, error)
EnrollCa(params *EnrollCaParams, opts ...ClientOption) (*EnrollCaOK, error)
EnrollErOtt(params *EnrollErOttParams, opts ...ClientOption) (*EnrollErOttOK, error)
EnrollOtt(params *EnrollOttParams, opts ...ClientOption) (*EnrollOttOK, error)
EnrollOttCa(params *EnrollOttCaParams, opts ...ClientOption) (*EnrollOttCaOK, error)
EnrollToken(params *EnrollTokenParams, opts ...ClientOption) (*EnrollTokenOK, error)
EnrollUpdb(params *EnrollUpdbParams, opts ...ClientOption) (*EnrollUpdbOK, error)
EnrollmentChallenge(params *EnrollmentChallengeParams, opts ...ClientOption) (*EnrollmentChallengeOK, error)
ExtendRouterEnrollment(params *ExtendRouterEnrollmentParams, opts ...ClientOption) (*ExtendRouterEnrollmentOK, error)
GetEnrollmentJwks(params *GetEnrollmentJwksParams, opts ...ClientOption) (*GetEnrollmentJwksOK, error)
SetTransport(transport runtime.ClientTransport)
}
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new enroll API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new enroll API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new enroll API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type EnrollBadRequest ¶
type EnrollBadRequest struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
EnrollBadRequest describes a response with status code 400, with default header values.
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
func NewEnrollBadRequest ¶
func NewEnrollBadRequest() *EnrollBadRequest
NewEnrollBadRequest creates a EnrollBadRequest with default headers values
func (*EnrollBadRequest) Code ¶
func (o *EnrollBadRequest) Code() int
Code gets the status code for the enroll bad request response
func (*EnrollBadRequest) Error ¶
func (o *EnrollBadRequest) Error() string
func (*EnrollBadRequest) GetPayload ¶
func (o *EnrollBadRequest) GetPayload() *rest_model.APIErrorEnvelope
func (*EnrollBadRequest) IsClientError ¶
func (o *EnrollBadRequest) IsClientError() bool
IsClientError returns true when this enroll bad request response has a 4xx status code
func (*EnrollBadRequest) IsCode ¶
func (o *EnrollBadRequest) IsCode(code int) bool
IsCode returns true when this enroll bad request response a status code equal to that given
func (*EnrollBadRequest) IsRedirect ¶
func (o *EnrollBadRequest) IsRedirect() bool
IsRedirect returns true when this enroll bad request response has a 3xx status code
func (*EnrollBadRequest) IsServerError ¶
func (o *EnrollBadRequest) IsServerError() bool
IsServerError returns true when this enroll bad request response has a 5xx status code
func (*EnrollBadRequest) IsSuccess ¶
func (o *EnrollBadRequest) IsSuccess() bool
IsSuccess returns true when this enroll bad request response has a 2xx status code
func (*EnrollBadRequest) String ¶
func (o *EnrollBadRequest) String() string
type EnrollCaBadRequest ¶
type EnrollCaBadRequest struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
EnrollCaBadRequest describes a response with status code 400, with default header values.
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
func NewEnrollCaBadRequest ¶
func NewEnrollCaBadRequest() *EnrollCaBadRequest
NewEnrollCaBadRequest creates a EnrollCaBadRequest with default headers values
func (*EnrollCaBadRequest) Code ¶
func (o *EnrollCaBadRequest) Code() int
Code gets the status code for the enroll ca bad request response
func (*EnrollCaBadRequest) Error ¶
func (o *EnrollCaBadRequest) Error() string
func (*EnrollCaBadRequest) GetPayload ¶
func (o *EnrollCaBadRequest) GetPayload() *rest_model.APIErrorEnvelope
func (*EnrollCaBadRequest) IsClientError ¶
func (o *EnrollCaBadRequest) IsClientError() bool
IsClientError returns true when this enroll ca bad request response has a 4xx status code
func (*EnrollCaBadRequest) IsCode ¶
func (o *EnrollCaBadRequest) IsCode(code int) bool
IsCode returns true when this enroll ca bad request response a status code equal to that given
func (*EnrollCaBadRequest) IsRedirect ¶
func (o *EnrollCaBadRequest) IsRedirect() bool
IsRedirect returns true when this enroll ca bad request response has a 3xx status code
func (*EnrollCaBadRequest) IsServerError ¶
func (o *EnrollCaBadRequest) IsServerError() bool
IsServerError returns true when this enroll ca bad request response has a 5xx status code
func (*EnrollCaBadRequest) IsSuccess ¶
func (o *EnrollCaBadRequest) IsSuccess() bool
IsSuccess returns true when this enroll ca bad request response has a 2xx status code
func (*EnrollCaBadRequest) String ¶
func (o *EnrollCaBadRequest) String() string
type EnrollCaNotFound ¶
type EnrollCaNotFound struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
EnrollCaNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewEnrollCaNotFound ¶
func NewEnrollCaNotFound() *EnrollCaNotFound
NewEnrollCaNotFound creates a EnrollCaNotFound with default headers values
func (*EnrollCaNotFound) Code ¶
func (o *EnrollCaNotFound) Code() int
Code gets the status code for the enroll ca not found response
func (*EnrollCaNotFound) Error ¶
func (o *EnrollCaNotFound) Error() string
func (*EnrollCaNotFound) GetPayload ¶
func (o *EnrollCaNotFound) GetPayload() *rest_model.APIErrorEnvelope
func (*EnrollCaNotFound) IsClientError ¶
func (o *EnrollCaNotFound) IsClientError() bool
IsClientError returns true when this enroll ca not found response has a 4xx status code
func (*EnrollCaNotFound) IsCode ¶
func (o *EnrollCaNotFound) IsCode(code int) bool
IsCode returns true when this enroll ca not found response a status code equal to that given
func (*EnrollCaNotFound) IsRedirect ¶
func (o *EnrollCaNotFound) IsRedirect() bool
IsRedirect returns true when this enroll ca not found response has a 3xx status code
func (*EnrollCaNotFound) IsServerError ¶
func (o *EnrollCaNotFound) IsServerError() bool
IsServerError returns true when this enroll ca not found response has a 5xx status code
func (*EnrollCaNotFound) IsSuccess ¶
func (o *EnrollCaNotFound) IsSuccess() bool
IsSuccess returns true when this enroll ca not found response has a 2xx status code
func (*EnrollCaNotFound) String ¶
func (o *EnrollCaNotFound) String() string
type EnrollCaOK ¶
type EnrollCaOK struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.Empty
}
EnrollCaOK describes a response with status code 200, with default header values.
Base empty response
func NewEnrollCaOK ¶
func NewEnrollCaOK() *EnrollCaOK
NewEnrollCaOK creates a EnrollCaOK with default headers values
func (*EnrollCaOK) Code ¶
func (o *EnrollCaOK) Code() int
Code gets the status code for the enroll ca o k response
func (*EnrollCaOK) Error ¶
func (o *EnrollCaOK) Error() string
func (*EnrollCaOK) GetPayload ¶
func (o *EnrollCaOK) GetPayload() *rest_model.Empty
func (*EnrollCaOK) IsClientError ¶
func (o *EnrollCaOK) IsClientError() bool
IsClientError returns true when this enroll ca o k response has a 4xx status code
func (*EnrollCaOK) IsCode ¶
func (o *EnrollCaOK) IsCode(code int) bool
IsCode returns true when this enroll ca o k response a status code equal to that given
func (*EnrollCaOK) IsRedirect ¶
func (o *EnrollCaOK) IsRedirect() bool
IsRedirect returns true when this enroll ca o k response has a 3xx status code
func (*EnrollCaOK) IsServerError ¶
func (o *EnrollCaOK) IsServerError() bool
IsServerError returns true when this enroll ca o k response has a 5xx status code
func (*EnrollCaOK) IsSuccess ¶
func (o *EnrollCaOK) IsSuccess() bool
IsSuccess returns true when this enroll ca o k response has a 2xx status code
func (*EnrollCaOK) String ¶
func (o *EnrollCaOK) String() string
type EnrollCaParams ¶
type EnrollCaParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
EnrollCaParams contains all the parameters to send to the API endpoint
for the enroll ca operation. Typically these are written to a http.Request.
func NewEnrollCaParams ¶
func NewEnrollCaParams() *EnrollCaParams
NewEnrollCaParams creates a new EnrollCaParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewEnrollCaParamsWithContext ¶
func NewEnrollCaParamsWithContext(ctx context.Context) *EnrollCaParams
NewEnrollCaParamsWithContext creates a new EnrollCaParams object with the ability to set a context for a request.
func NewEnrollCaParamsWithHTTPClient ¶
func NewEnrollCaParamsWithHTTPClient(client *http.Client) *EnrollCaParams
NewEnrollCaParamsWithHTTPClient creates a new EnrollCaParams object with the ability to set a custom HTTPClient for a request.
func NewEnrollCaParamsWithTimeout ¶
func NewEnrollCaParamsWithTimeout(timeout time.Duration) *EnrollCaParams
NewEnrollCaParamsWithTimeout creates a new EnrollCaParams object with the ability to set a timeout on a request.
func (*EnrollCaParams) SetContext ¶
func (o *EnrollCaParams) SetContext(ctx context.Context)
SetContext adds the context to the enroll ca params
func (*EnrollCaParams) SetDefaults ¶
func (o *EnrollCaParams) SetDefaults()
SetDefaults hydrates default values in the enroll ca params (not the query body).
All values with no default are reset to their zero value.
func (*EnrollCaParams) SetHTTPClient ¶
func (o *EnrollCaParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the enroll ca params
func (*EnrollCaParams) SetTimeout ¶
func (o *EnrollCaParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the enroll ca params
func (*EnrollCaParams) WithContext ¶
func (o *EnrollCaParams) WithContext(ctx context.Context) *EnrollCaParams
WithContext adds the context to the enroll ca params
func (*EnrollCaParams) WithDefaults ¶
func (o *EnrollCaParams) WithDefaults() *EnrollCaParams
WithDefaults hydrates default values in the enroll ca params (not the query body).
All values with no default are reset to their zero value.
func (*EnrollCaParams) WithHTTPClient ¶
func (o *EnrollCaParams) WithHTTPClient(client *http.Client) *EnrollCaParams
WithHTTPClient adds the HTTPClient to the enroll ca params
func (*EnrollCaParams) WithTimeout ¶
func (o *EnrollCaParams) WithTimeout(timeout time.Duration) *EnrollCaParams
WithTimeout adds the timeout to the enroll ca params
func (*EnrollCaParams) WriteToRequest ¶
func (o *EnrollCaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EnrollCaReader ¶
type EnrollCaReader struct {
// contains filtered or unexported fields
}
EnrollCaReader is a Reader for the EnrollCa structure.
func (*EnrollCaReader) ReadResponse ¶
func (o *EnrollCaReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type EnrollCaServiceUnavailable ¶
type EnrollCaServiceUnavailable struct {
WWWAuthenticate []string
}
EnrollCaServiceUnavailable describes a response with status code 503, with default header values.
The request could not be completed due to the server being busy or in a temporarily bad state
func NewEnrollCaServiceUnavailable ¶
func NewEnrollCaServiceUnavailable() *EnrollCaServiceUnavailable
NewEnrollCaServiceUnavailable creates a EnrollCaServiceUnavailable with default headers values
func (*EnrollCaServiceUnavailable) Code ¶
func (o *EnrollCaServiceUnavailable) Code() int
Code gets the status code for the enroll ca service unavailable response
func (*EnrollCaServiceUnavailable) Error ¶
func (o *EnrollCaServiceUnavailable) Error() string
func (*EnrollCaServiceUnavailable) GetPayload ¶
func (o *EnrollCaServiceUnavailable) GetPayload() *rest_model.APIErrorEnvelope
func (*EnrollCaServiceUnavailable) IsClientError ¶
func (o *EnrollCaServiceUnavailable) IsClientError() bool
IsClientError returns true when this enroll ca service unavailable response has a 4xx status code
func (*EnrollCaServiceUnavailable) IsCode ¶
func (o *EnrollCaServiceUnavailable) IsCode(code int) bool
IsCode returns true when this enroll ca service unavailable response a status code equal to that given
func (*EnrollCaServiceUnavailable) IsRedirect ¶
func (o *EnrollCaServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this enroll ca service unavailable response has a 3xx status code
func (*EnrollCaServiceUnavailable) IsServerError ¶
func (o *EnrollCaServiceUnavailable) IsServerError() bool
IsServerError returns true when this enroll ca service unavailable response has a 5xx status code
func (*EnrollCaServiceUnavailable) IsSuccess ¶
func (o *EnrollCaServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this enroll ca service unavailable response has a 2xx status code
func (*EnrollCaServiceUnavailable) String ¶
func (o *EnrollCaServiceUnavailable) String() string
type EnrollCaTooManyRequests ¶
type EnrollCaTooManyRequests struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
EnrollCaTooManyRequests describes a response with status code 429, with default header values.
The resource requested is rate limited and the rate limit has been exceeded
func NewEnrollCaTooManyRequests ¶
func NewEnrollCaTooManyRequests() *EnrollCaTooManyRequests
NewEnrollCaTooManyRequests creates a EnrollCaTooManyRequests with default headers values
func (*EnrollCaTooManyRequests) Code ¶
func (o *EnrollCaTooManyRequests) Code() int
Code gets the status code for the enroll ca too many requests response
func (*EnrollCaTooManyRequests) Error ¶
func (o *EnrollCaTooManyRequests) Error() string
func (*EnrollCaTooManyRequests) GetPayload ¶
func (o *EnrollCaTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
func (*EnrollCaTooManyRequests) IsClientError ¶
func (o *EnrollCaTooManyRequests) IsClientError() bool
IsClientError returns true when this enroll ca too many requests response has a 4xx status code
func (*EnrollCaTooManyRequests) IsCode ¶
func (o *EnrollCaTooManyRequests) IsCode(code int) bool
IsCode returns true when this enroll ca too many requests response a status code equal to that given
func (*EnrollCaTooManyRequests) IsRedirect ¶
func (o *EnrollCaTooManyRequests) IsRedirect() bool
IsRedirect returns true when this enroll ca too many requests response has a 3xx status code
func (*EnrollCaTooManyRequests) IsServerError ¶
func (o *EnrollCaTooManyRequests) IsServerError() bool
IsServerError returns true when this enroll ca too many requests response has a 5xx status code
func (*EnrollCaTooManyRequests) IsSuccess ¶
func (o *EnrollCaTooManyRequests) IsSuccess() bool
IsSuccess returns true when this enroll ca too many requests response has a 2xx status code
func (*EnrollCaTooManyRequests) String ¶
func (o *EnrollCaTooManyRequests) String() string
type EnrollConflict ¶
type EnrollConflict struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
EnrollConflict describes a response with status code 409, with default header values.
The request could not be completed due to a conflict of configuration or state
func NewEnrollConflict ¶
func NewEnrollConflict() *EnrollConflict
NewEnrollConflict creates a EnrollConflict with default headers values
func (*EnrollConflict) Code ¶
func (o *EnrollConflict) Code() int
Code gets the status code for the enroll conflict response
func (*EnrollConflict) Error ¶
func (o *EnrollConflict) Error() string
func (*EnrollConflict) GetPayload ¶
func (o *EnrollConflict) GetPayload() *rest_model.APIErrorEnvelope
func (*EnrollConflict) IsClientError ¶
func (o *EnrollConflict) IsClientError() bool
IsClientError returns true when this enroll conflict response has a 4xx status code
func (*EnrollConflict) IsCode ¶
func (o *EnrollConflict) IsCode(code int) bool
IsCode returns true when this enroll conflict response a status code equal to that given
func (*EnrollConflict) IsRedirect ¶
func (o *EnrollConflict) IsRedirect() bool
IsRedirect returns true when this enroll conflict response has a 3xx status code
func (*EnrollConflict) IsServerError ¶
func (o *EnrollConflict) IsServerError() bool
IsServerError returns true when this enroll conflict response has a 5xx status code
func (*EnrollConflict) IsSuccess ¶
func (o *EnrollConflict) IsSuccess() bool
IsSuccess returns true when this enroll conflict response has a 2xx status code
func (*EnrollConflict) String ¶
func (o *EnrollConflict) String() string
type EnrollErOttBadRequest ¶
type EnrollErOttBadRequest struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
EnrollErOttBadRequest describes a response with status code 400, with default header values.
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
func NewEnrollErOttBadRequest ¶
func NewEnrollErOttBadRequest() *EnrollErOttBadRequest
NewEnrollErOttBadRequest creates a EnrollErOttBadRequest with default headers values
func (*EnrollErOttBadRequest) Code ¶
func (o *EnrollErOttBadRequest) Code() int
Code gets the status code for the enroll er ott bad request response
func (*EnrollErOttBadRequest) Error ¶
func (o *EnrollErOttBadRequest) Error() string
func (*EnrollErOttBadRequest) GetPayload ¶
func (o *EnrollErOttBadRequest) GetPayload() *rest_model.APIErrorEnvelope
func (*EnrollErOttBadRequest) IsClientError ¶
func (o *EnrollErOttBadRequest) IsClientError() bool
IsClientError returns true when this enroll er ott bad request response has a 4xx status code
func (*EnrollErOttBadRequest) IsCode ¶
func (o *EnrollErOttBadRequest) IsCode(code int) bool
IsCode returns true when this enroll er ott bad request response a status code equal to that given
func (*EnrollErOttBadRequest) IsRedirect ¶
func (o *EnrollErOttBadRequest) IsRedirect() bool
IsRedirect returns true when this enroll er ott bad request response has a 3xx status code
func (*EnrollErOttBadRequest) IsServerError ¶
func (o *EnrollErOttBadRequest) IsServerError() bool
IsServerError returns true when this enroll er ott bad request response has a 5xx status code
func (*EnrollErOttBadRequest) IsSuccess ¶
func (o *EnrollErOttBadRequest) IsSuccess() bool
IsSuccess returns true when this enroll er ott bad request response has a 2xx status code
func (*EnrollErOttBadRequest) String ¶
func (o *EnrollErOttBadRequest) String() string
type EnrollErOttOK ¶
type EnrollErOttOK struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.EnrollmentCertsEnvelope
}
EnrollErOttOK describes a response with status code 200, with default header values.
A response containing the edge routers signed certificates (server chain, server cert, CAs).
func NewEnrollErOttOK ¶
func NewEnrollErOttOK() *EnrollErOttOK
NewEnrollErOttOK creates a EnrollErOttOK with default headers values
func (*EnrollErOttOK) Code ¶
func (o *EnrollErOttOK) Code() int
Code gets the status code for the enroll er ott o k response
func (*EnrollErOttOK) Error ¶
func (o *EnrollErOttOK) Error() string
func (*EnrollErOttOK) GetPayload ¶
func (o *EnrollErOttOK) GetPayload() *rest_model.EnrollmentCertsEnvelope
func (*EnrollErOttOK) IsClientError ¶
func (o *EnrollErOttOK) IsClientError() bool
IsClientError returns true when this enroll er ott o k response has a 4xx status code
func (*EnrollErOttOK) IsCode ¶
func (o *EnrollErOttOK) IsCode(code int) bool
IsCode returns true when this enroll er ott o k response a status code equal to that given
func (*EnrollErOttOK) IsRedirect ¶
func (o *EnrollErOttOK) IsRedirect() bool
IsRedirect returns true when this enroll er ott o k response has a 3xx status code
func (*EnrollErOttOK) IsServerError ¶
func (o *EnrollErOttOK) IsServerError() bool
IsServerError returns true when this enroll er ott o k response has a 5xx status code
func (*EnrollErOttOK) IsSuccess ¶
func (o *EnrollErOttOK) IsSuccess() bool
IsSuccess returns true when this enroll er ott o k response has a 2xx status code
func (*EnrollErOttOK) String ¶
func (o *EnrollErOttOK) String() string
type EnrollErOttParams ¶
type EnrollErOttParams struct {
/* ErOttEnrollmentRequest.
An OTT enrollment request
*/
ErOttEnrollmentRequest *rest_model.ErOttEnrollmentRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
EnrollErOttParams contains all the parameters to send to the API endpoint
for the enroll er ott operation. Typically these are written to a http.Request.
func NewEnrollErOttParams ¶
func NewEnrollErOttParams() *EnrollErOttParams
NewEnrollErOttParams creates a new EnrollErOttParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewEnrollErOttParamsWithContext ¶
func NewEnrollErOttParamsWithContext(ctx context.Context) *EnrollErOttParams
NewEnrollErOttParamsWithContext creates a new EnrollErOttParams object with the ability to set a context for a request.
func NewEnrollErOttParamsWithHTTPClient ¶
func NewEnrollErOttParamsWithHTTPClient(client *http.Client) *EnrollErOttParams
NewEnrollErOttParamsWithHTTPClient creates a new EnrollErOttParams object with the ability to set a custom HTTPClient for a request.
func NewEnrollErOttParamsWithTimeout ¶
func NewEnrollErOttParamsWithTimeout(timeout time.Duration) *EnrollErOttParams
NewEnrollErOttParamsWithTimeout creates a new EnrollErOttParams object with the ability to set a timeout on a request.
func (*EnrollErOttParams) SetContext ¶
func (o *EnrollErOttParams) SetContext(ctx context.Context)
SetContext adds the context to the enroll er ott params
func (*EnrollErOttParams) SetDefaults ¶
func (o *EnrollErOttParams) SetDefaults()
SetDefaults hydrates default values in the enroll er ott params (not the query body).
All values with no default are reset to their zero value.
func (*EnrollErOttParams) SetErOttEnrollmentRequest ¶
func (o *EnrollErOttParams) SetErOttEnrollmentRequest(erOttEnrollmentRequest *rest_model.ErOttEnrollmentRequest)
SetErOttEnrollmentRequest adds the erOttEnrollmentRequest to the enroll er ott params
func (*EnrollErOttParams) SetHTTPClient ¶
func (o *EnrollErOttParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the enroll er ott params
func (*EnrollErOttParams) SetTimeout ¶
func (o *EnrollErOttParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the enroll er ott params
func (*EnrollErOttParams) WithContext ¶
func (o *EnrollErOttParams) WithContext(ctx context.Context) *EnrollErOttParams
WithContext adds the context to the enroll er ott params
func (*EnrollErOttParams) WithDefaults ¶
func (o *EnrollErOttParams) WithDefaults() *EnrollErOttParams
WithDefaults hydrates default values in the enroll er ott params (not the query body).
All values with no default are reset to their zero value.
func (*EnrollErOttParams) WithErOttEnrollmentRequest ¶
func (o *EnrollErOttParams) WithErOttEnrollmentRequest(erOttEnrollmentRequest *rest_model.ErOttEnrollmentRequest) *EnrollErOttParams
WithErOttEnrollmentRequest adds the erOttEnrollmentRequest to the enroll er ott params
func (*EnrollErOttParams) WithHTTPClient ¶
func (o *EnrollErOttParams) WithHTTPClient(client *http.Client) *EnrollErOttParams
WithHTTPClient adds the HTTPClient to the enroll er ott params
func (*EnrollErOttParams) WithTimeout ¶
func (o *EnrollErOttParams) WithTimeout(timeout time.Duration) *EnrollErOttParams
WithTimeout adds the timeout to the enroll er ott params
func (*EnrollErOttParams) WriteToRequest ¶
func (o *EnrollErOttParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EnrollErOttReader ¶
type EnrollErOttReader struct {
// contains filtered or unexported fields
}
EnrollErOttReader is a Reader for the EnrollErOtt structure.
func (*EnrollErOttReader) ReadResponse ¶
func (o *EnrollErOttReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type EnrollErOttServiceUnavailable ¶
type EnrollErOttServiceUnavailable struct {
WWWAuthenticate []string
}
EnrollErOttServiceUnavailable describes a response with status code 503, with default header values.
The request could not be completed due to the server being busy or in a temporarily bad state
func NewEnrollErOttServiceUnavailable ¶
func NewEnrollErOttServiceUnavailable() *EnrollErOttServiceUnavailable
NewEnrollErOttServiceUnavailable creates a EnrollErOttServiceUnavailable with default headers values
func (*EnrollErOttServiceUnavailable) Code ¶
func (o *EnrollErOttServiceUnavailable) Code() int
Code gets the status code for the enroll er ott service unavailable response
func (*EnrollErOttServiceUnavailable) Error ¶
func (o *EnrollErOttServiceUnavailable) Error() string
func (*EnrollErOttServiceUnavailable) GetPayload ¶
func (o *EnrollErOttServiceUnavailable) GetPayload() *rest_model.APIErrorEnvelope
func (*EnrollErOttServiceUnavailable) IsClientError ¶
func (o *EnrollErOttServiceUnavailable) IsClientError() bool
IsClientError returns true when this enroll er ott service unavailable response has a 4xx status code
func (*EnrollErOttServiceUnavailable) IsCode ¶
func (o *EnrollErOttServiceUnavailable) IsCode(code int) bool
IsCode returns true when this enroll er ott service unavailable response a status code equal to that given
func (*EnrollErOttServiceUnavailable) IsRedirect ¶
func (o *EnrollErOttServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this enroll er ott service unavailable response has a 3xx status code
func (*EnrollErOttServiceUnavailable) IsServerError ¶
func (o *EnrollErOttServiceUnavailable) IsServerError() bool
IsServerError returns true when this enroll er ott service unavailable response has a 5xx status code
func (*EnrollErOttServiceUnavailable) IsSuccess ¶
func (o *EnrollErOttServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this enroll er ott service unavailable response has a 2xx status code
func (*EnrollErOttServiceUnavailable) String ¶
func (o *EnrollErOttServiceUnavailable) String() string
type EnrollErOttTooManyRequests ¶
type EnrollErOttTooManyRequests struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
EnrollErOttTooManyRequests describes a response with status code 429, with default header values.
The resource requested is rate limited and the rate limit has been exceeded
func NewEnrollErOttTooManyRequests ¶
func NewEnrollErOttTooManyRequests() *EnrollErOttTooManyRequests
NewEnrollErOttTooManyRequests creates a EnrollErOttTooManyRequests with default headers values
func (*EnrollErOttTooManyRequests) Code ¶
func (o *EnrollErOttTooManyRequests) Code() int
Code gets the status code for the enroll er ott too many requests response
func (*EnrollErOttTooManyRequests) Error ¶
func (o *EnrollErOttTooManyRequests) Error() string
func (*EnrollErOttTooManyRequests) GetPayload ¶
func (o *EnrollErOttTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
func (*EnrollErOttTooManyRequests) IsClientError ¶
func (o *EnrollErOttTooManyRequests) IsClientError() bool
IsClientError returns true when this enroll er ott too many requests response has a 4xx status code
func (*EnrollErOttTooManyRequests) IsCode ¶
func (o *EnrollErOttTooManyRequests) IsCode(code int) bool
IsCode returns true when this enroll er ott too many requests response a status code equal to that given
func (*EnrollErOttTooManyRequests) IsRedirect ¶
func (o *EnrollErOttTooManyRequests) IsRedirect() bool
IsRedirect returns true when this enroll er ott too many requests response has a 3xx status code
func (*EnrollErOttTooManyRequests) IsServerError ¶
func (o *EnrollErOttTooManyRequests) IsServerError() bool
IsServerError returns true when this enroll er ott too many requests response has a 5xx status code
func (*EnrollErOttTooManyRequests) IsSuccess ¶
func (o *EnrollErOttTooManyRequests) IsSuccess() bool
IsSuccess returns true when this enroll er ott too many requests response has a 2xx status code
func (*EnrollErOttTooManyRequests) String ¶
func (o *EnrollErOttTooManyRequests) String() string
type EnrollGone ¶
type EnrollGone struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
EnrollGone describes a response with status code 410, with default header values.
The request could not be completed as the resource is no longer available
func NewEnrollGone ¶
func NewEnrollGone() *EnrollGone
NewEnrollGone creates a EnrollGone with default headers values
func (*EnrollGone) Code ¶
func (o *EnrollGone) Code() int
Code gets the status code for the enroll gone response
func (*EnrollGone) Error ¶
func (o *EnrollGone) Error() string
func (*EnrollGone) GetPayload ¶
func (o *EnrollGone) GetPayload() *rest_model.APIErrorEnvelope
func (*EnrollGone) IsClientError ¶
func (o *EnrollGone) IsClientError() bool
IsClientError returns true when this enroll gone response has a 4xx status code
func (*EnrollGone) IsCode ¶
func (o *EnrollGone) IsCode(code int) bool
IsCode returns true when this enroll gone response a status code equal to that given
func (*EnrollGone) IsRedirect ¶
func (o *EnrollGone) IsRedirect() bool
IsRedirect returns true when this enroll gone response has a 3xx status code
func (*EnrollGone) IsServerError ¶
func (o *EnrollGone) IsServerError() bool
IsServerError returns true when this enroll gone response has a 5xx status code
func (*EnrollGone) IsSuccess ¶
func (o *EnrollGone) IsSuccess() bool
IsSuccess returns true when this enroll gone response has a 2xx status code
func (*EnrollGone) String ¶
func (o *EnrollGone) String() string
type EnrollNotFound ¶
type EnrollNotFound struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
EnrollNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewEnrollNotFound ¶
func NewEnrollNotFound() *EnrollNotFound
NewEnrollNotFound creates a EnrollNotFound with default headers values
func (*EnrollNotFound) Code ¶
func (o *EnrollNotFound) Code() int
Code gets the status code for the enroll not found response
func (*EnrollNotFound) Error ¶
func (o *EnrollNotFound) Error() string
func (*EnrollNotFound) GetPayload ¶
func (o *EnrollNotFound) GetPayload() *rest_model.APIErrorEnvelope
func (*EnrollNotFound) IsClientError ¶
func (o *EnrollNotFound) IsClientError() bool
IsClientError returns true when this enroll not found response has a 4xx status code
func (*EnrollNotFound) IsCode ¶
func (o *EnrollNotFound) IsCode(code int) bool
IsCode returns true when this enroll not found response a status code equal to that given
func (*EnrollNotFound) IsRedirect ¶
func (o *EnrollNotFound) IsRedirect() bool
IsRedirect returns true when this enroll not found response has a 3xx status code
func (*EnrollNotFound) IsServerError ¶
func (o *EnrollNotFound) IsServerError() bool
IsServerError returns true when this enroll not found response has a 5xx status code
func (*EnrollNotFound) IsSuccess ¶
func (o *EnrollNotFound) IsSuccess() bool
IsSuccess returns true when this enroll not found response has a 2xx status code
func (*EnrollNotFound) String ¶
func (o *EnrollNotFound) String() string
type EnrollOK ¶
type EnrollOK struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.EnrollmentCertsEnvelope
}
EnrollOK describes a response with status code 200, with default header values.
A response containing and identities client certificate chains
func NewEnrollOK ¶
func NewEnrollOK() *EnrollOK
NewEnrollOK creates a EnrollOK with default headers values
func (*EnrollOK) GetPayload ¶
func (o *EnrollOK) GetPayload() *rest_model.EnrollmentCertsEnvelope
func (*EnrollOK) IsClientError ¶
IsClientError returns true when this enroll o k response has a 4xx status code
func (*EnrollOK) IsCode ¶
IsCode returns true when this enroll o k response a status code equal to that given
func (*EnrollOK) IsRedirect ¶
IsRedirect returns true when this enroll o k response has a 3xx status code
func (*EnrollOK) IsServerError ¶
IsServerError returns true when this enroll o k response has a 5xx status code
type EnrollOttBadRequest ¶
type EnrollOttBadRequest struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
EnrollOttBadRequest describes a response with status code 400, with default header values.
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
func NewEnrollOttBadRequest ¶
func NewEnrollOttBadRequest() *EnrollOttBadRequest
NewEnrollOttBadRequest creates a EnrollOttBadRequest with default headers values
func (*EnrollOttBadRequest) Code ¶
func (o *EnrollOttBadRequest) Code() int
Code gets the status code for the enroll ott bad request response
func (*EnrollOttBadRequest) Error ¶
func (o *EnrollOttBadRequest) Error() string
func (*EnrollOttBadRequest) GetPayload ¶
func (o *EnrollOttBadRequest) GetPayload() *rest_model.APIErrorEnvelope
func (*EnrollOttBadRequest) IsClientError ¶
func (o *EnrollOttBadRequest) IsClientError() bool
IsClientError returns true when this enroll ott bad request response has a 4xx status code
func (*EnrollOttBadRequest) IsCode ¶
func (o *EnrollOttBadRequest) IsCode(code int) bool
IsCode returns true when this enroll ott bad request response a status code equal to that given
func (*EnrollOttBadRequest) IsRedirect ¶
func (o *EnrollOttBadRequest) IsRedirect() bool
IsRedirect returns true when this enroll ott bad request response has a 3xx status code
func (*EnrollOttBadRequest) IsServerError ¶
func (o *EnrollOttBadRequest) IsServerError() bool
IsServerError returns true when this enroll ott bad request response has a 5xx status code
func (*EnrollOttBadRequest) IsSuccess ¶
func (o *EnrollOttBadRequest) IsSuccess() bool
IsSuccess returns true when this enroll ott bad request response has a 2xx status code
func (*EnrollOttBadRequest) String ¶
func (o *EnrollOttBadRequest) String() string
type EnrollOttCaBadRequest ¶
type EnrollOttCaBadRequest struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
EnrollOttCaBadRequest describes a response with status code 400, with default header values.
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
func NewEnrollOttCaBadRequest ¶
func NewEnrollOttCaBadRequest() *EnrollOttCaBadRequest
NewEnrollOttCaBadRequest creates a EnrollOttCaBadRequest with default headers values
func (*EnrollOttCaBadRequest) Code ¶
func (o *EnrollOttCaBadRequest) Code() int
Code gets the status code for the enroll ott ca bad request response
func (*EnrollOttCaBadRequest) Error ¶
func (o *EnrollOttCaBadRequest) Error() string
func (*EnrollOttCaBadRequest) GetPayload ¶
func (o *EnrollOttCaBadRequest) GetPayload() *rest_model.APIErrorEnvelope
func (*EnrollOttCaBadRequest) IsClientError ¶
func (o *EnrollOttCaBadRequest) IsClientError() bool
IsClientError returns true when this enroll ott ca bad request response has a 4xx status code
func (*EnrollOttCaBadRequest) IsCode ¶
func (o *EnrollOttCaBadRequest) IsCode(code int) bool
IsCode returns true when this enroll ott ca bad request response a status code equal to that given
func (*EnrollOttCaBadRequest) IsRedirect ¶
func (o *EnrollOttCaBadRequest) IsRedirect() bool
IsRedirect returns true when this enroll ott ca bad request response has a 3xx status code
func (*EnrollOttCaBadRequest) IsServerError ¶
func (o *EnrollOttCaBadRequest) IsServerError() bool
IsServerError returns true when this enroll ott ca bad request response has a 5xx status code
func (*EnrollOttCaBadRequest) IsSuccess ¶
func (o *EnrollOttCaBadRequest) IsSuccess() bool
IsSuccess returns true when this enroll ott ca bad request response has a 2xx status code
func (*EnrollOttCaBadRequest) String ¶
func (o *EnrollOttCaBadRequest) String() string
type EnrollOttCaOK ¶
type EnrollOttCaOK struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.Empty
}
EnrollOttCaOK describes a response with status code 200, with default header values.
Base empty response
func NewEnrollOttCaOK ¶
func NewEnrollOttCaOK() *EnrollOttCaOK
NewEnrollOttCaOK creates a EnrollOttCaOK with default headers values
func (*EnrollOttCaOK) Code ¶
func (o *EnrollOttCaOK) Code() int
Code gets the status code for the enroll ott ca o k response
func (*EnrollOttCaOK) Error ¶
func (o *EnrollOttCaOK) Error() string
func (*EnrollOttCaOK) GetPayload ¶
func (o *EnrollOttCaOK) GetPayload() *rest_model.Empty
func (*EnrollOttCaOK) IsClientError ¶
func (o *EnrollOttCaOK) IsClientError() bool
IsClientError returns true when this enroll ott ca o k response has a 4xx status code
func (*EnrollOttCaOK) IsCode ¶
func (o *EnrollOttCaOK) IsCode(code int) bool
IsCode returns true when this enroll ott ca o k response a status code equal to that given
func (*EnrollOttCaOK) IsRedirect ¶
func (o *EnrollOttCaOK) IsRedirect() bool
IsRedirect returns true when this enroll ott ca o k response has a 3xx status code
func (*EnrollOttCaOK) IsServerError ¶
func (o *EnrollOttCaOK) IsServerError() bool
IsServerError returns true when this enroll ott ca o k response has a 5xx status code
func (*EnrollOttCaOK) IsSuccess ¶
func (o *EnrollOttCaOK) IsSuccess() bool
IsSuccess returns true when this enroll ott ca o k response has a 2xx status code
func (*EnrollOttCaOK) String ¶
func (o *EnrollOttCaOK) String() string
type EnrollOttCaParams ¶
type EnrollOttCaParams struct {
/* OttEnrollmentRequest.
An OTT enrollment request
*/
OttEnrollmentRequest *rest_model.OttEnrollmentRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
EnrollOttCaParams contains all the parameters to send to the API endpoint
for the enroll ott ca operation. Typically these are written to a http.Request.
func NewEnrollOttCaParams ¶
func NewEnrollOttCaParams() *EnrollOttCaParams
NewEnrollOttCaParams creates a new EnrollOttCaParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewEnrollOttCaParamsWithContext ¶
func NewEnrollOttCaParamsWithContext(ctx context.Context) *EnrollOttCaParams
NewEnrollOttCaParamsWithContext creates a new EnrollOttCaParams object with the ability to set a context for a request.
func NewEnrollOttCaParamsWithHTTPClient ¶
func NewEnrollOttCaParamsWithHTTPClient(client *http.Client) *EnrollOttCaParams
NewEnrollOttCaParamsWithHTTPClient creates a new EnrollOttCaParams object with the ability to set a custom HTTPClient for a request.
func NewEnrollOttCaParamsWithTimeout ¶
func NewEnrollOttCaParamsWithTimeout(timeout time.Duration) *EnrollOttCaParams
NewEnrollOttCaParamsWithTimeout creates a new EnrollOttCaParams object with the ability to set a timeout on a request.
func (*EnrollOttCaParams) SetContext ¶
func (o *EnrollOttCaParams) SetContext(ctx context.Context)
SetContext adds the context to the enroll ott ca params
func (*EnrollOttCaParams) SetDefaults ¶
func (o *EnrollOttCaParams) SetDefaults()
SetDefaults hydrates default values in the enroll ott ca params (not the query body).
All values with no default are reset to their zero value.
func (*EnrollOttCaParams) SetHTTPClient ¶
func (o *EnrollOttCaParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the enroll ott ca params
func (*EnrollOttCaParams) SetOttEnrollmentRequest ¶
func (o *EnrollOttCaParams) SetOttEnrollmentRequest(ottEnrollmentRequest *rest_model.OttEnrollmentRequest)
SetOttEnrollmentRequest adds the ottEnrollmentRequest to the enroll ott ca params
func (*EnrollOttCaParams) SetTimeout ¶
func (o *EnrollOttCaParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the enroll ott ca params
func (*EnrollOttCaParams) WithContext ¶
func (o *EnrollOttCaParams) WithContext(ctx context.Context) *EnrollOttCaParams
WithContext adds the context to the enroll ott ca params
func (*EnrollOttCaParams) WithDefaults ¶
func (o *EnrollOttCaParams) WithDefaults() *EnrollOttCaParams
WithDefaults hydrates default values in the enroll ott ca params (not the query body).
All values with no default are reset to their zero value.
func (*EnrollOttCaParams) WithHTTPClient ¶
func (o *EnrollOttCaParams) WithHTTPClient(client *http.Client) *EnrollOttCaParams
WithHTTPClient adds the HTTPClient to the enroll ott ca params
func (*EnrollOttCaParams) WithOttEnrollmentRequest ¶
func (o *EnrollOttCaParams) WithOttEnrollmentRequest(ottEnrollmentRequest *rest_model.OttEnrollmentRequest) *EnrollOttCaParams
WithOttEnrollmentRequest adds the ottEnrollmentRequest to the enroll ott ca params
func (*EnrollOttCaParams) WithTimeout ¶
func (o *EnrollOttCaParams) WithTimeout(timeout time.Duration) *EnrollOttCaParams
WithTimeout adds the timeout to the enroll ott ca params
func (*EnrollOttCaParams) WriteToRequest ¶
func (o *EnrollOttCaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EnrollOttCaReader ¶
type EnrollOttCaReader struct {
// contains filtered or unexported fields
}
EnrollOttCaReader is a Reader for the EnrollOttCa structure.
func (*EnrollOttCaReader) ReadResponse ¶
func (o *EnrollOttCaReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type EnrollOttCaServiceUnavailable ¶
type EnrollOttCaServiceUnavailable struct {
WWWAuthenticate []string
}
EnrollOttCaServiceUnavailable describes a response with status code 503, with default header values.
The request could not be completed due to the server being busy or in a temporarily bad state
func NewEnrollOttCaServiceUnavailable ¶
func NewEnrollOttCaServiceUnavailable() *EnrollOttCaServiceUnavailable
NewEnrollOttCaServiceUnavailable creates a EnrollOttCaServiceUnavailable with default headers values
func (*EnrollOttCaServiceUnavailable) Code ¶
func (o *EnrollOttCaServiceUnavailable) Code() int
Code gets the status code for the enroll ott ca service unavailable response
func (*EnrollOttCaServiceUnavailable) Error ¶
func (o *EnrollOttCaServiceUnavailable) Error() string
func (*EnrollOttCaServiceUnavailable) GetPayload ¶
func (o *EnrollOttCaServiceUnavailable) GetPayload() *rest_model.APIErrorEnvelope
func (*EnrollOttCaServiceUnavailable) IsClientError ¶
func (o *EnrollOttCaServiceUnavailable) IsClientError() bool
IsClientError returns true when this enroll ott ca service unavailable response has a 4xx status code
func (*EnrollOttCaServiceUnavailable) IsCode ¶
func (o *EnrollOttCaServiceUnavailable) IsCode(code int) bool
IsCode returns true when this enroll ott ca service unavailable response a status code equal to that given
func (*EnrollOttCaServiceUnavailable) IsRedirect ¶
func (o *EnrollOttCaServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this enroll ott ca service unavailable response has a 3xx status code
func (*EnrollOttCaServiceUnavailable) IsServerError ¶
func (o *EnrollOttCaServiceUnavailable) IsServerError() bool
IsServerError returns true when this enroll ott ca service unavailable response has a 5xx status code
func (*EnrollOttCaServiceUnavailable) IsSuccess ¶
func (o *EnrollOttCaServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this enroll ott ca service unavailable response has a 2xx status code
func (*EnrollOttCaServiceUnavailable) String ¶
func (o *EnrollOttCaServiceUnavailable) String() string
type EnrollOttCaTooManyRequests ¶
type EnrollOttCaTooManyRequests struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
EnrollOttCaTooManyRequests describes a response with status code 429, with default header values.
The resource requested is rate limited and the rate limit has been exceeded
func NewEnrollOttCaTooManyRequests ¶
func NewEnrollOttCaTooManyRequests() *EnrollOttCaTooManyRequests
NewEnrollOttCaTooManyRequests creates a EnrollOttCaTooManyRequests with default headers values
func (*EnrollOttCaTooManyRequests) Code ¶
func (o *EnrollOttCaTooManyRequests) Code() int
Code gets the status code for the enroll ott ca too many requests response
func (*EnrollOttCaTooManyRequests) Error ¶
func (o *EnrollOttCaTooManyRequests) Error() string
func (*EnrollOttCaTooManyRequests) GetPayload ¶
func (o *EnrollOttCaTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
func (*EnrollOttCaTooManyRequests) IsClientError ¶
func (o *EnrollOttCaTooManyRequests) IsClientError() bool
IsClientError returns true when this enroll ott ca too many requests response has a 4xx status code
func (*EnrollOttCaTooManyRequests) IsCode ¶
func (o *EnrollOttCaTooManyRequests) IsCode(code int) bool
IsCode returns true when this enroll ott ca too many requests response a status code equal to that given
func (*EnrollOttCaTooManyRequests) IsRedirect ¶
func (o *EnrollOttCaTooManyRequests) IsRedirect() bool
IsRedirect returns true when this enroll ott ca too many requests response has a 3xx status code
func (*EnrollOttCaTooManyRequests) IsServerError ¶
func (o *EnrollOttCaTooManyRequests) IsServerError() bool
IsServerError returns true when this enroll ott ca too many requests response has a 5xx status code
func (*EnrollOttCaTooManyRequests) IsSuccess ¶
func (o *EnrollOttCaTooManyRequests) IsSuccess() bool
IsSuccess returns true when this enroll ott ca too many requests response has a 2xx status code
func (*EnrollOttCaTooManyRequests) String ¶
func (o *EnrollOttCaTooManyRequests) String() string
type EnrollOttNotFound ¶
type EnrollOttNotFound struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
EnrollOttNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewEnrollOttNotFound ¶
func NewEnrollOttNotFound() *EnrollOttNotFound
NewEnrollOttNotFound creates a EnrollOttNotFound with default headers values
func (*EnrollOttNotFound) Code ¶
func (o *EnrollOttNotFound) Code() int
Code gets the status code for the enroll ott not found response
func (*EnrollOttNotFound) Error ¶
func (o *EnrollOttNotFound) Error() string
func (*EnrollOttNotFound) GetPayload ¶
func (o *EnrollOttNotFound) GetPayload() *rest_model.APIErrorEnvelope
func (*EnrollOttNotFound) IsClientError ¶
func (o *EnrollOttNotFound) IsClientError() bool
IsClientError returns true when this enroll ott not found response has a 4xx status code
func (*EnrollOttNotFound) IsCode ¶
func (o *EnrollOttNotFound) IsCode(code int) bool
IsCode returns true when this enroll ott not found response a status code equal to that given
func (*EnrollOttNotFound) IsRedirect ¶
func (o *EnrollOttNotFound) IsRedirect() bool
IsRedirect returns true when this enroll ott not found response has a 3xx status code
func (*EnrollOttNotFound) IsServerError ¶
func (o *EnrollOttNotFound) IsServerError() bool
IsServerError returns true when this enroll ott not found response has a 5xx status code
func (*EnrollOttNotFound) IsSuccess ¶
func (o *EnrollOttNotFound) IsSuccess() bool
IsSuccess returns true when this enroll ott not found response has a 2xx status code
func (*EnrollOttNotFound) String ¶
func (o *EnrollOttNotFound) String() string
type EnrollOttOK ¶
type EnrollOttOK struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.EnrollmentCertsEnvelope
}
EnrollOttOK describes a response with status code 200, with default header values.
A response containing and identities client certificate chains
func NewEnrollOttOK ¶
func NewEnrollOttOK() *EnrollOttOK
NewEnrollOttOK creates a EnrollOttOK with default headers values
func (*EnrollOttOK) Code ¶
func (o *EnrollOttOK) Code() int
Code gets the status code for the enroll ott o k response
func (*EnrollOttOK) Error ¶
func (o *EnrollOttOK) Error() string
func (*EnrollOttOK) GetPayload ¶
func (o *EnrollOttOK) GetPayload() *rest_model.EnrollmentCertsEnvelope
func (*EnrollOttOK) IsClientError ¶
func (o *EnrollOttOK) IsClientError() bool
IsClientError returns true when this enroll ott o k response has a 4xx status code
func (*EnrollOttOK) IsCode ¶
func (o *EnrollOttOK) IsCode(code int) bool
IsCode returns true when this enroll ott o k response a status code equal to that given
func (*EnrollOttOK) IsRedirect ¶
func (o *EnrollOttOK) IsRedirect() bool
IsRedirect returns true when this enroll ott o k response has a 3xx status code
func (*EnrollOttOK) IsServerError ¶
func (o *EnrollOttOK) IsServerError() bool
IsServerError returns true when this enroll ott o k response has a 5xx status code
func (*EnrollOttOK) IsSuccess ¶
func (o *EnrollOttOK) IsSuccess() bool
IsSuccess returns true when this enroll ott o k response has a 2xx status code
func (*EnrollOttOK) String ¶
func (o *EnrollOttOK) String() string
type EnrollOttParams ¶
type EnrollOttParams struct {
/* OttEnrollmentRequest.
An OTT enrollment request
*/
OttEnrollmentRequest *rest_model.OttEnrollmentRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
EnrollOttParams contains all the parameters to send to the API endpoint
for the enroll ott operation. Typically these are written to a http.Request.
func NewEnrollOttParams ¶
func NewEnrollOttParams() *EnrollOttParams
NewEnrollOttParams creates a new EnrollOttParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewEnrollOttParamsWithContext ¶
func NewEnrollOttParamsWithContext(ctx context.Context) *EnrollOttParams
NewEnrollOttParamsWithContext creates a new EnrollOttParams object with the ability to set a context for a request.
func NewEnrollOttParamsWithHTTPClient ¶
func NewEnrollOttParamsWithHTTPClient(client *http.Client) *EnrollOttParams
NewEnrollOttParamsWithHTTPClient creates a new EnrollOttParams object with the ability to set a custom HTTPClient for a request.
func NewEnrollOttParamsWithTimeout ¶
func NewEnrollOttParamsWithTimeout(timeout time.Duration) *EnrollOttParams
NewEnrollOttParamsWithTimeout creates a new EnrollOttParams object with the ability to set a timeout on a request.
func (*EnrollOttParams) SetContext ¶
func (o *EnrollOttParams) SetContext(ctx context.Context)
SetContext adds the context to the enroll ott params
func (*EnrollOttParams) SetDefaults ¶
func (o *EnrollOttParams) SetDefaults()
SetDefaults hydrates default values in the enroll ott params (not the query body).
All values with no default are reset to their zero value.
func (*EnrollOttParams) SetHTTPClient ¶
func (o *EnrollOttParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the enroll ott params
func (*EnrollOttParams) SetOttEnrollmentRequest ¶
func (o *EnrollOttParams) SetOttEnrollmentRequest(ottEnrollmentRequest *rest_model.OttEnrollmentRequest)
SetOttEnrollmentRequest adds the ottEnrollmentRequest to the enroll ott params
func (*EnrollOttParams) SetTimeout ¶
func (o *EnrollOttParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the enroll ott params
func (*EnrollOttParams) WithContext ¶
func (o *EnrollOttParams) WithContext(ctx context.Context) *EnrollOttParams
WithContext adds the context to the enroll ott params
func (*EnrollOttParams) WithDefaults ¶
func (o *EnrollOttParams) WithDefaults() *EnrollOttParams
WithDefaults hydrates default values in the enroll ott params (not the query body).
All values with no default are reset to their zero value.
func (*EnrollOttParams) WithHTTPClient ¶
func (o *EnrollOttParams) WithHTTPClient(client *http.Client) *EnrollOttParams
WithHTTPClient adds the HTTPClient to the enroll ott params
func (*EnrollOttParams) WithOttEnrollmentRequest ¶
func (o *EnrollOttParams) WithOttEnrollmentRequest(ottEnrollmentRequest *rest_model.OttEnrollmentRequest) *EnrollOttParams
WithOttEnrollmentRequest adds the ottEnrollmentRequest to the enroll ott params
func (*EnrollOttParams) WithTimeout ¶
func (o *EnrollOttParams) WithTimeout(timeout time.Duration) *EnrollOttParams
WithTimeout adds the timeout to the enroll ott params
func (*EnrollOttParams) WriteToRequest ¶
func (o *EnrollOttParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EnrollOttReader ¶
type EnrollOttReader struct {
// contains filtered or unexported fields
}
EnrollOttReader is a Reader for the EnrollOtt structure.
func (*EnrollOttReader) ReadResponse ¶
func (o *EnrollOttReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type EnrollOttServiceUnavailable ¶
type EnrollOttServiceUnavailable struct {
WWWAuthenticate []string
}
EnrollOttServiceUnavailable describes a response with status code 503, with default header values.
The request could not be completed due to the server being busy or in a temporarily bad state
func NewEnrollOttServiceUnavailable ¶
func NewEnrollOttServiceUnavailable() *EnrollOttServiceUnavailable
NewEnrollOttServiceUnavailable creates a EnrollOttServiceUnavailable with default headers values
func (*EnrollOttServiceUnavailable) Code ¶
func (o *EnrollOttServiceUnavailable) Code() int
Code gets the status code for the enroll ott service unavailable response
func (*EnrollOttServiceUnavailable) Error ¶
func (o *EnrollOttServiceUnavailable) Error() string
func (*EnrollOttServiceUnavailable) GetPayload ¶
func (o *EnrollOttServiceUnavailable) GetPayload() *rest_model.APIErrorEnvelope
func (*EnrollOttServiceUnavailable) IsClientError ¶
func (o *EnrollOttServiceUnavailable) IsClientError() bool
IsClientError returns true when this enroll ott service unavailable response has a 4xx status code
func (*EnrollOttServiceUnavailable) IsCode ¶
func (o *EnrollOttServiceUnavailable) IsCode(code int) bool
IsCode returns true when this enroll ott service unavailable response a status code equal to that given
func (*EnrollOttServiceUnavailable) IsRedirect ¶
func (o *EnrollOttServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this enroll ott service unavailable response has a 3xx status code
func (*EnrollOttServiceUnavailable) IsServerError ¶
func (o *EnrollOttServiceUnavailable) IsServerError() bool
IsServerError returns true when this enroll ott service unavailable response has a 5xx status code
func (*EnrollOttServiceUnavailable) IsSuccess ¶
func (o *EnrollOttServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this enroll ott service unavailable response has a 2xx status code
func (*EnrollOttServiceUnavailable) String ¶
func (o *EnrollOttServiceUnavailable) String() string
type EnrollOttTooManyRequests ¶
type EnrollOttTooManyRequests struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
EnrollOttTooManyRequests describes a response with status code 429, with default header values.
The resource requested is rate limited and the rate limit has been exceeded
func NewEnrollOttTooManyRequests ¶
func NewEnrollOttTooManyRequests() *EnrollOttTooManyRequests
NewEnrollOttTooManyRequests creates a EnrollOttTooManyRequests with default headers values
func (*EnrollOttTooManyRequests) Code ¶
func (o *EnrollOttTooManyRequests) Code() int
Code gets the status code for the enroll ott too many requests response
func (*EnrollOttTooManyRequests) Error ¶
func (o *EnrollOttTooManyRequests) Error() string
func (*EnrollOttTooManyRequests) GetPayload ¶
func (o *EnrollOttTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
func (*EnrollOttTooManyRequests) IsClientError ¶
func (o *EnrollOttTooManyRequests) IsClientError() bool
IsClientError returns true when this enroll ott too many requests response has a 4xx status code
func (*EnrollOttTooManyRequests) IsCode ¶
func (o *EnrollOttTooManyRequests) IsCode(code int) bool
IsCode returns true when this enroll ott too many requests response a status code equal to that given
func (*EnrollOttTooManyRequests) IsRedirect ¶
func (o *EnrollOttTooManyRequests) IsRedirect() bool
IsRedirect returns true when this enroll ott too many requests response has a 3xx status code
func (*EnrollOttTooManyRequests) IsServerError ¶
func (o *EnrollOttTooManyRequests) IsServerError() bool
IsServerError returns true when this enroll ott too many requests response has a 5xx status code
func (*EnrollOttTooManyRequests) IsSuccess ¶
func (o *EnrollOttTooManyRequests) IsSuccess() bool
IsSuccess returns true when this enroll ott too many requests response has a 2xx status code
func (*EnrollOttTooManyRequests) String ¶
func (o *EnrollOttTooManyRequests) String() string
type EnrollParams ¶
type EnrollParams struct {
// Body.
Body *rest_model.GenericEnroll
// Method.
Method *string
// Token.
//
// Format: uuid
Token *strfmt.UUID
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
EnrollParams contains all the parameters to send to the API endpoint
for the enroll operation. Typically these are written to a http.Request.
func NewEnrollParams ¶
func NewEnrollParams() *EnrollParams
NewEnrollParams creates a new EnrollParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewEnrollParamsWithContext ¶
func NewEnrollParamsWithContext(ctx context.Context) *EnrollParams
NewEnrollParamsWithContext creates a new EnrollParams object with the ability to set a context for a request.
func NewEnrollParamsWithHTTPClient ¶
func NewEnrollParamsWithHTTPClient(client *http.Client) *EnrollParams
NewEnrollParamsWithHTTPClient creates a new EnrollParams object with the ability to set a custom HTTPClient for a request.
func NewEnrollParamsWithTimeout ¶
func NewEnrollParamsWithTimeout(timeout time.Duration) *EnrollParams
NewEnrollParamsWithTimeout creates a new EnrollParams object with the ability to set a timeout on a request.
func (*EnrollParams) SetBody ¶
func (o *EnrollParams) SetBody(body *rest_model.GenericEnroll)
SetBody adds the body to the enroll params
func (*EnrollParams) SetContext ¶
func (o *EnrollParams) SetContext(ctx context.Context)
SetContext adds the context to the enroll params
func (*EnrollParams) SetDefaults ¶
func (o *EnrollParams) SetDefaults()
SetDefaults hydrates default values in the enroll params (not the query body).
All values with no default are reset to their zero value.
func (*EnrollParams) SetHTTPClient ¶
func (o *EnrollParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the enroll params
func (*EnrollParams) SetMethod ¶
func (o *EnrollParams) SetMethod(method *string)
SetMethod adds the method to the enroll params
func (*EnrollParams) SetTimeout ¶
func (o *EnrollParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the enroll params
func (*EnrollParams) SetToken ¶
func (o *EnrollParams) SetToken(token *strfmt.UUID)
SetToken adds the token to the enroll params
func (*EnrollParams) WithBody ¶
func (o *EnrollParams) WithBody(body *rest_model.GenericEnroll) *EnrollParams
WithBody adds the body to the enroll params
func (*EnrollParams) WithContext ¶
func (o *EnrollParams) WithContext(ctx context.Context) *EnrollParams
WithContext adds the context to the enroll params
func (*EnrollParams) WithDefaults ¶
func (o *EnrollParams) WithDefaults() *EnrollParams
WithDefaults hydrates default values in the enroll params (not the query body).
All values with no default are reset to their zero value.
func (*EnrollParams) WithHTTPClient ¶
func (o *EnrollParams) WithHTTPClient(client *http.Client) *EnrollParams
WithHTTPClient adds the HTTPClient to the enroll params
func (*EnrollParams) WithMethod ¶
func (o *EnrollParams) WithMethod(method *string) *EnrollParams
WithMethod adds the method to the enroll params
func (*EnrollParams) WithTimeout ¶
func (o *EnrollParams) WithTimeout(timeout time.Duration) *EnrollParams
WithTimeout adds the timeout to the enroll params
func (*EnrollParams) WithToken ¶
func (o *EnrollParams) WithToken(token *strfmt.UUID) *EnrollParams
WithToken adds the token to the enroll params
func (*EnrollParams) WriteToRequest ¶
func (o *EnrollParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EnrollReader ¶
type EnrollReader struct {
// contains filtered or unexported fields
}
EnrollReader is a Reader for the Enroll structure.
func (*EnrollReader) ReadResponse ¶
func (o *EnrollReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type EnrollServiceUnavailable ¶
type EnrollServiceUnavailable struct {
WWWAuthenticate []string
}
EnrollServiceUnavailable describes a response with status code 503, with default header values.
The request could not be completed due to the server being busy or in a temporarily bad state
func NewEnrollServiceUnavailable ¶
func NewEnrollServiceUnavailable() *EnrollServiceUnavailable
NewEnrollServiceUnavailable creates a EnrollServiceUnavailable with default headers values
func (*EnrollServiceUnavailable) Code ¶
func (o *EnrollServiceUnavailable) Code() int
Code gets the status code for the enroll service unavailable response
func (*EnrollServiceUnavailable) Error ¶
func (o *EnrollServiceUnavailable) Error() string
func (*EnrollServiceUnavailable) GetPayload ¶
func (o *EnrollServiceUnavailable) GetPayload() *rest_model.APIErrorEnvelope
func (*EnrollServiceUnavailable) IsClientError ¶
func (o *EnrollServiceUnavailable) IsClientError() bool
IsClientError returns true when this enroll service unavailable response has a 4xx status code
func (*EnrollServiceUnavailable) IsCode ¶
func (o *EnrollServiceUnavailable) IsCode(code int) bool
IsCode returns true when this enroll service unavailable response a status code equal to that given
func (*EnrollServiceUnavailable) IsRedirect ¶
func (o *EnrollServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this enroll service unavailable response has a 3xx status code
func (*EnrollServiceUnavailable) IsServerError ¶
func (o *EnrollServiceUnavailable) IsServerError() bool
IsServerError returns true when this enroll service unavailable response has a 5xx status code
func (*EnrollServiceUnavailable) IsSuccess ¶
func (o *EnrollServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this enroll service unavailable response has a 2xx status code
func (*EnrollServiceUnavailable) String ¶
func (o *EnrollServiceUnavailable) String() string
type EnrollTokenBadRequest ¶
type EnrollTokenBadRequest struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
EnrollTokenBadRequest describes a response with status code 400, with default header values.
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
func NewEnrollTokenBadRequest ¶
func NewEnrollTokenBadRequest() *EnrollTokenBadRequest
NewEnrollTokenBadRequest creates a EnrollTokenBadRequest with default headers values
func (*EnrollTokenBadRequest) Code ¶
func (o *EnrollTokenBadRequest) Code() int
Code gets the status code for the enroll token bad request response
func (*EnrollTokenBadRequest) Error ¶
func (o *EnrollTokenBadRequest) Error() string
func (*EnrollTokenBadRequest) GetPayload ¶
func (o *EnrollTokenBadRequest) GetPayload() *rest_model.APIErrorEnvelope
func (*EnrollTokenBadRequest) IsClientError ¶
func (o *EnrollTokenBadRequest) IsClientError() bool
IsClientError returns true when this enroll token bad request response has a 4xx status code
func (*EnrollTokenBadRequest) IsCode ¶
func (o *EnrollTokenBadRequest) IsCode(code int) bool
IsCode returns true when this enroll token bad request response a status code equal to that given
func (*EnrollTokenBadRequest) IsRedirect ¶
func (o *EnrollTokenBadRequest) IsRedirect() bool
IsRedirect returns true when this enroll token bad request response has a 3xx status code
func (*EnrollTokenBadRequest) IsServerError ¶
func (o *EnrollTokenBadRequest) IsServerError() bool
IsServerError returns true when this enroll token bad request response has a 5xx status code
func (*EnrollTokenBadRequest) IsSuccess ¶
func (o *EnrollTokenBadRequest) IsSuccess() bool
IsSuccess returns true when this enroll token bad request response has a 2xx status code
func (*EnrollTokenBadRequest) String ¶
func (o *EnrollTokenBadRequest) String() string
type EnrollTokenConflict ¶
type EnrollTokenConflict struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
EnrollTokenConflict describes a response with status code 409, with default header values.
The request could not be completed due to a conflict of configuration or state
func NewEnrollTokenConflict ¶
func NewEnrollTokenConflict() *EnrollTokenConflict
NewEnrollTokenConflict creates a EnrollTokenConflict with default headers values
func (*EnrollTokenConflict) Code ¶
func (o *EnrollTokenConflict) Code() int
Code gets the status code for the enroll token conflict response
func (*EnrollTokenConflict) Error ¶
func (o *EnrollTokenConflict) Error() string
func (*EnrollTokenConflict) GetPayload ¶
func (o *EnrollTokenConflict) GetPayload() *rest_model.APIErrorEnvelope
func (*EnrollTokenConflict) IsClientError ¶
func (o *EnrollTokenConflict) IsClientError() bool
IsClientError returns true when this enroll token conflict response has a 4xx status code
func (*EnrollTokenConflict) IsCode ¶
func (o *EnrollTokenConflict) IsCode(code int) bool
IsCode returns true when this enroll token conflict response a status code equal to that given
func (*EnrollTokenConflict) IsRedirect ¶
func (o *EnrollTokenConflict) IsRedirect() bool
IsRedirect returns true when this enroll token conflict response has a 3xx status code
func (*EnrollTokenConflict) IsServerError ¶
func (o *EnrollTokenConflict) IsServerError() bool
IsServerError returns true when this enroll token conflict response has a 5xx status code
func (*EnrollTokenConflict) IsSuccess ¶
func (o *EnrollTokenConflict) IsSuccess() bool
IsSuccess returns true when this enroll token conflict response has a 2xx status code
func (*EnrollTokenConflict) String ¶
func (o *EnrollTokenConflict) String() string
type EnrollTokenGone ¶
type EnrollTokenGone struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
EnrollTokenGone describes a response with status code 410, with default header values.
The request could not be completed as the resource is no longer available
func NewEnrollTokenGone ¶
func NewEnrollTokenGone() *EnrollTokenGone
NewEnrollTokenGone creates a EnrollTokenGone with default headers values
func (*EnrollTokenGone) Code ¶
func (o *EnrollTokenGone) Code() int
Code gets the status code for the enroll token gone response
func (*EnrollTokenGone) Error ¶
func (o *EnrollTokenGone) Error() string
func (*EnrollTokenGone) GetPayload ¶
func (o *EnrollTokenGone) GetPayload() *rest_model.APIErrorEnvelope
func (*EnrollTokenGone) IsClientError ¶
func (o *EnrollTokenGone) IsClientError() bool
IsClientError returns true when this enroll token gone response has a 4xx status code
func (*EnrollTokenGone) IsCode ¶
func (o *EnrollTokenGone) IsCode(code int) bool
IsCode returns true when this enroll token gone response a status code equal to that given
func (*EnrollTokenGone) IsRedirect ¶
func (o *EnrollTokenGone) IsRedirect() bool
IsRedirect returns true when this enroll token gone response has a 3xx status code
func (*EnrollTokenGone) IsServerError ¶
func (o *EnrollTokenGone) IsServerError() bool
IsServerError returns true when this enroll token gone response has a 5xx status code
func (*EnrollTokenGone) IsSuccess ¶
func (o *EnrollTokenGone) IsSuccess() bool
IsSuccess returns true when this enroll token gone response has a 2xx status code
func (*EnrollTokenGone) String ¶
func (o *EnrollTokenGone) String() string
type EnrollTokenNotFound ¶
type EnrollTokenNotFound struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
EnrollTokenNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewEnrollTokenNotFound ¶
func NewEnrollTokenNotFound() *EnrollTokenNotFound
NewEnrollTokenNotFound creates a EnrollTokenNotFound with default headers values
func (*EnrollTokenNotFound) Code ¶
func (o *EnrollTokenNotFound) Code() int
Code gets the status code for the enroll token not found response
func (*EnrollTokenNotFound) Error ¶
func (o *EnrollTokenNotFound) Error() string
func (*EnrollTokenNotFound) GetPayload ¶
func (o *EnrollTokenNotFound) GetPayload() *rest_model.APIErrorEnvelope
func (*EnrollTokenNotFound) IsClientError ¶
func (o *EnrollTokenNotFound) IsClientError() bool
IsClientError returns true when this enroll token not found response has a 4xx status code
func (*EnrollTokenNotFound) IsCode ¶
func (o *EnrollTokenNotFound) IsCode(code int) bool
IsCode returns true when this enroll token not found response a status code equal to that given
func (*EnrollTokenNotFound) IsRedirect ¶
func (o *EnrollTokenNotFound) IsRedirect() bool
IsRedirect returns true when this enroll token not found response has a 3xx status code
func (*EnrollTokenNotFound) IsServerError ¶
func (o *EnrollTokenNotFound) IsServerError() bool
IsServerError returns true when this enroll token not found response has a 5xx status code
func (*EnrollTokenNotFound) IsSuccess ¶
func (o *EnrollTokenNotFound) IsSuccess() bool
IsSuccess returns true when this enroll token not found response has a 2xx status code
func (*EnrollTokenNotFound) String ¶
func (o *EnrollTokenNotFound) String() string
type EnrollTokenOK ¶
type EnrollTokenOK struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.EnrollmentCertsEnvelope
}
EnrollTokenOK describes a response with status code 200, with default header values.
A response containing and identities client certificate chains
func NewEnrollTokenOK ¶
func NewEnrollTokenOK() *EnrollTokenOK
NewEnrollTokenOK creates a EnrollTokenOK with default headers values
func (*EnrollTokenOK) Code ¶
func (o *EnrollTokenOK) Code() int
Code gets the status code for the enroll token o k response
func (*EnrollTokenOK) Error ¶
func (o *EnrollTokenOK) Error() string
func (*EnrollTokenOK) GetPayload ¶
func (o *EnrollTokenOK) GetPayload() *rest_model.EnrollmentCertsEnvelope
func (*EnrollTokenOK) IsClientError ¶
func (o *EnrollTokenOK) IsClientError() bool
IsClientError returns true when this enroll token o k response has a 4xx status code
func (*EnrollTokenOK) IsCode ¶
func (o *EnrollTokenOK) IsCode(code int) bool
IsCode returns true when this enroll token o k response a status code equal to that given
func (*EnrollTokenOK) IsRedirect ¶
func (o *EnrollTokenOK) IsRedirect() bool
IsRedirect returns true when this enroll token o k response has a 3xx status code
func (*EnrollTokenOK) IsServerError ¶
func (o *EnrollTokenOK) IsServerError() bool
IsServerError returns true when this enroll token o k response has a 5xx status code
func (*EnrollTokenOK) IsSuccess ¶
func (o *EnrollTokenOK) IsSuccess() bool
IsSuccess returns true when this enroll token o k response has a 2xx status code
func (*EnrollTokenOK) String ¶
func (o *EnrollTokenOK) String() string
type EnrollTokenParams ¶
type EnrollTokenParams struct {
/* Authorization.
An identifying token to enroll with
*/
Authorization string
/* TokenEnrollmentRequest.
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.
*/
TokenEnrollmentRequest *rest_model.TokenEnrollmentRequest
/* ZitiTokenIssuerID.
The id of the token issuer to use for enrollment, optional as long the the token is not opaque
*/
ZitiTokenIssuerID *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
EnrollTokenParams contains all the parameters to send to the API endpoint
for the enroll token operation. Typically these are written to a http.Request.
func NewEnrollTokenParams ¶
func NewEnrollTokenParams() *EnrollTokenParams
NewEnrollTokenParams creates a new EnrollTokenParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewEnrollTokenParamsWithContext ¶
func NewEnrollTokenParamsWithContext(ctx context.Context) *EnrollTokenParams
NewEnrollTokenParamsWithContext creates a new EnrollTokenParams object with the ability to set a context for a request.
func NewEnrollTokenParamsWithHTTPClient ¶
func NewEnrollTokenParamsWithHTTPClient(client *http.Client) *EnrollTokenParams
NewEnrollTokenParamsWithHTTPClient creates a new EnrollTokenParams object with the ability to set a custom HTTPClient for a request.
func NewEnrollTokenParamsWithTimeout ¶
func NewEnrollTokenParamsWithTimeout(timeout time.Duration) *EnrollTokenParams
NewEnrollTokenParamsWithTimeout creates a new EnrollTokenParams object with the ability to set a timeout on a request.
func (*EnrollTokenParams) SetAuthorization ¶
func (o *EnrollTokenParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the enroll token params
func (*EnrollTokenParams) SetContext ¶
func (o *EnrollTokenParams) SetContext(ctx context.Context)
SetContext adds the context to the enroll token params
func (*EnrollTokenParams) SetDefaults ¶
func (o *EnrollTokenParams) SetDefaults()
SetDefaults hydrates default values in the enroll token params (not the query body).
All values with no default are reset to their zero value.
func (*EnrollTokenParams) SetHTTPClient ¶
func (o *EnrollTokenParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the enroll token params
func (*EnrollTokenParams) SetTimeout ¶
func (o *EnrollTokenParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the enroll token params
func (*EnrollTokenParams) SetTokenEnrollmentRequest ¶
func (o *EnrollTokenParams) SetTokenEnrollmentRequest(tokenEnrollmentRequest *rest_model.TokenEnrollmentRequest)
SetTokenEnrollmentRequest adds the tokenEnrollmentRequest to the enroll token params
func (*EnrollTokenParams) SetZitiTokenIssuerID ¶
func (o *EnrollTokenParams) SetZitiTokenIssuerID(ztTokenIssuerID *string)
SetZitiTokenIssuerID adds the ztTokenIssuerId to the enroll token params
func (*EnrollTokenParams) WithAuthorization ¶
func (o *EnrollTokenParams) WithAuthorization(authorization string) *EnrollTokenParams
WithAuthorization adds the authorization to the enroll token params
func (*EnrollTokenParams) WithContext ¶
func (o *EnrollTokenParams) WithContext(ctx context.Context) *EnrollTokenParams
WithContext adds the context to the enroll token params
func (*EnrollTokenParams) WithDefaults ¶
func (o *EnrollTokenParams) WithDefaults() *EnrollTokenParams
WithDefaults hydrates default values in the enroll token params (not the query body).
All values with no default are reset to their zero value.
func (*EnrollTokenParams) WithHTTPClient ¶
func (o *EnrollTokenParams) WithHTTPClient(client *http.Client) *EnrollTokenParams
WithHTTPClient adds the HTTPClient to the enroll token params
func (*EnrollTokenParams) WithTimeout ¶
func (o *EnrollTokenParams) WithTimeout(timeout time.Duration) *EnrollTokenParams
WithTimeout adds the timeout to the enroll token params
func (*EnrollTokenParams) WithTokenEnrollmentRequest ¶
func (o *EnrollTokenParams) WithTokenEnrollmentRequest(tokenEnrollmentRequest *rest_model.TokenEnrollmentRequest) *EnrollTokenParams
WithTokenEnrollmentRequest adds the tokenEnrollmentRequest to the enroll token params
func (*EnrollTokenParams) WithZitiTokenIssuerID ¶
func (o *EnrollTokenParams) WithZitiTokenIssuerID(ztTokenIssuerID *string) *EnrollTokenParams
WithZitiTokenIssuerID adds the ztTokenIssuerID to the enroll token params
func (*EnrollTokenParams) WriteToRequest ¶
func (o *EnrollTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EnrollTokenReader ¶
type EnrollTokenReader struct {
// contains filtered or unexported fields
}
EnrollTokenReader is a Reader for the EnrollToken structure.
func (*EnrollTokenReader) ReadResponse ¶
func (o *EnrollTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type EnrollTokenServiceUnavailable ¶
type EnrollTokenServiceUnavailable struct {
WWWAuthenticate []string
}
EnrollTokenServiceUnavailable describes a response with status code 503, with default header values.
The request could not be completed due to the server being busy or in a temporarily bad state
func NewEnrollTokenServiceUnavailable ¶
func NewEnrollTokenServiceUnavailable() *EnrollTokenServiceUnavailable
NewEnrollTokenServiceUnavailable creates a EnrollTokenServiceUnavailable with default headers values
func (*EnrollTokenServiceUnavailable) Code ¶
func (o *EnrollTokenServiceUnavailable) Code() int
Code gets the status code for the enroll token service unavailable response
func (*EnrollTokenServiceUnavailable) Error ¶
func (o *EnrollTokenServiceUnavailable) Error() string
func (*EnrollTokenServiceUnavailable) GetPayload ¶
func (o *EnrollTokenServiceUnavailable) GetPayload() *rest_model.APIErrorEnvelope
func (*EnrollTokenServiceUnavailable) IsClientError ¶
func (o *EnrollTokenServiceUnavailable) IsClientError() bool
IsClientError returns true when this enroll token service unavailable response has a 4xx status code
func (*EnrollTokenServiceUnavailable) IsCode ¶
func (o *EnrollTokenServiceUnavailable) IsCode(code int) bool
IsCode returns true when this enroll token service unavailable response a status code equal to that given
func (*EnrollTokenServiceUnavailable) IsRedirect ¶
func (o *EnrollTokenServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this enroll token service unavailable response has a 3xx status code
func (*EnrollTokenServiceUnavailable) IsServerError ¶
func (o *EnrollTokenServiceUnavailable) IsServerError() bool
IsServerError returns true when this enroll token service unavailable response has a 5xx status code
func (*EnrollTokenServiceUnavailable) IsSuccess ¶
func (o *EnrollTokenServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this enroll token service unavailable response has a 2xx status code
func (*EnrollTokenServiceUnavailable) String ¶
func (o *EnrollTokenServiceUnavailable) String() string
type EnrollTokenTooManyRequests ¶
type EnrollTokenTooManyRequests struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
EnrollTokenTooManyRequests describes a response with status code 429, with default header values.
The resource requested is rate limited and the rate limit has been exceeded
func NewEnrollTokenTooManyRequests ¶
func NewEnrollTokenTooManyRequests() *EnrollTokenTooManyRequests
NewEnrollTokenTooManyRequests creates a EnrollTokenTooManyRequests with default headers values
func (*EnrollTokenTooManyRequests) Code ¶
func (o *EnrollTokenTooManyRequests) Code() int
Code gets the status code for the enroll token too many requests response
func (*EnrollTokenTooManyRequests) Error ¶
func (o *EnrollTokenTooManyRequests) Error() string
func (*EnrollTokenTooManyRequests) GetPayload ¶
func (o *EnrollTokenTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
func (*EnrollTokenTooManyRequests) IsClientError ¶
func (o *EnrollTokenTooManyRequests) IsClientError() bool
IsClientError returns true when this enroll token too many requests response has a 4xx status code
func (*EnrollTokenTooManyRequests) IsCode ¶
func (o *EnrollTokenTooManyRequests) IsCode(code int) bool
IsCode returns true when this enroll token too many requests response a status code equal to that given
func (*EnrollTokenTooManyRequests) IsRedirect ¶
func (o *EnrollTokenTooManyRequests) IsRedirect() bool
IsRedirect returns true when this enroll token too many requests response has a 3xx status code
func (*EnrollTokenTooManyRequests) IsServerError ¶
func (o *EnrollTokenTooManyRequests) IsServerError() bool
IsServerError returns true when this enroll token too many requests response has a 5xx status code
func (*EnrollTokenTooManyRequests) IsSuccess ¶
func (o *EnrollTokenTooManyRequests) IsSuccess() bool
IsSuccess returns true when this enroll token too many requests response has a 2xx status code
func (*EnrollTokenTooManyRequests) String ¶
func (o *EnrollTokenTooManyRequests) String() string
type EnrollTooManyRequests ¶
type EnrollTooManyRequests struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
EnrollTooManyRequests describes a response with status code 429, with default header values.
The resource requested is rate limited and the rate limit has been exceeded
func NewEnrollTooManyRequests ¶
func NewEnrollTooManyRequests() *EnrollTooManyRequests
NewEnrollTooManyRequests creates a EnrollTooManyRequests with default headers values
func (*EnrollTooManyRequests) Code ¶
func (o *EnrollTooManyRequests) Code() int
Code gets the status code for the enroll too many requests response
func (*EnrollTooManyRequests) Error ¶
func (o *EnrollTooManyRequests) Error() string
func (*EnrollTooManyRequests) GetPayload ¶
func (o *EnrollTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
func (*EnrollTooManyRequests) IsClientError ¶
func (o *EnrollTooManyRequests) IsClientError() bool
IsClientError returns true when this enroll too many requests response has a 4xx status code
func (*EnrollTooManyRequests) IsCode ¶
func (o *EnrollTooManyRequests) IsCode(code int) bool
IsCode returns true when this enroll too many requests response a status code equal to that given
func (*EnrollTooManyRequests) IsRedirect ¶
func (o *EnrollTooManyRequests) IsRedirect() bool
IsRedirect returns true when this enroll too many requests response has a 3xx status code
func (*EnrollTooManyRequests) IsServerError ¶
func (o *EnrollTooManyRequests) IsServerError() bool
IsServerError returns true when this enroll too many requests response has a 5xx status code
func (*EnrollTooManyRequests) IsSuccess ¶
func (o *EnrollTooManyRequests) IsSuccess() bool
IsSuccess returns true when this enroll too many requests response has a 2xx status code
func (*EnrollTooManyRequests) String ¶
func (o *EnrollTooManyRequests) String() string
type EnrollUpdbBadRequest ¶
type EnrollUpdbBadRequest struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
EnrollUpdbBadRequest describes a response with status code 400, with default header values.
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
func NewEnrollUpdbBadRequest ¶
func NewEnrollUpdbBadRequest() *EnrollUpdbBadRequest
NewEnrollUpdbBadRequest creates a EnrollUpdbBadRequest with default headers values
func (*EnrollUpdbBadRequest) Code ¶
func (o *EnrollUpdbBadRequest) Code() int
Code gets the status code for the enroll updb bad request response
func (*EnrollUpdbBadRequest) Error ¶
func (o *EnrollUpdbBadRequest) Error() string
func (*EnrollUpdbBadRequest) GetPayload ¶
func (o *EnrollUpdbBadRequest) GetPayload() *rest_model.APIErrorEnvelope
func (*EnrollUpdbBadRequest) IsClientError ¶
func (o *EnrollUpdbBadRequest) IsClientError() bool
IsClientError returns true when this enroll updb bad request response has a 4xx status code
func (*EnrollUpdbBadRequest) IsCode ¶
func (o *EnrollUpdbBadRequest) IsCode(code int) bool
IsCode returns true when this enroll updb bad request response a status code equal to that given
func (*EnrollUpdbBadRequest) IsRedirect ¶
func (o *EnrollUpdbBadRequest) IsRedirect() bool
IsRedirect returns true when this enroll updb bad request response has a 3xx status code
func (*EnrollUpdbBadRequest) IsServerError ¶
func (o *EnrollUpdbBadRequest) IsServerError() bool
IsServerError returns true when this enroll updb bad request response has a 5xx status code
func (*EnrollUpdbBadRequest) IsSuccess ¶
func (o *EnrollUpdbBadRequest) IsSuccess() bool
IsSuccess returns true when this enroll updb bad request response has a 2xx status code
func (*EnrollUpdbBadRequest) String ¶
func (o *EnrollUpdbBadRequest) String() string
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 EnrollUpdbNotFound ¶
type EnrollUpdbNotFound struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
EnrollUpdbNotFound describes a response with status code 404, with default header values.
The requested resource does not exist
func NewEnrollUpdbNotFound ¶
func NewEnrollUpdbNotFound() *EnrollUpdbNotFound
NewEnrollUpdbNotFound creates a EnrollUpdbNotFound with default headers values
func (*EnrollUpdbNotFound) Code ¶
func (o *EnrollUpdbNotFound) Code() int
Code gets the status code for the enroll updb not found response
func (*EnrollUpdbNotFound) Error ¶
func (o *EnrollUpdbNotFound) Error() string
func (*EnrollUpdbNotFound) GetPayload ¶
func (o *EnrollUpdbNotFound) GetPayload() *rest_model.APIErrorEnvelope
func (*EnrollUpdbNotFound) IsClientError ¶
func (o *EnrollUpdbNotFound) IsClientError() bool
IsClientError returns true when this enroll updb not found response has a 4xx status code
func (*EnrollUpdbNotFound) IsCode ¶
func (o *EnrollUpdbNotFound) IsCode(code int) bool
IsCode returns true when this enroll updb not found response a status code equal to that given
func (*EnrollUpdbNotFound) IsRedirect ¶
func (o *EnrollUpdbNotFound) IsRedirect() bool
IsRedirect returns true when this enroll updb not found response has a 3xx status code
func (*EnrollUpdbNotFound) IsServerError ¶
func (o *EnrollUpdbNotFound) IsServerError() bool
IsServerError returns true when this enroll updb not found response has a 5xx status code
func (*EnrollUpdbNotFound) IsSuccess ¶
func (o *EnrollUpdbNotFound) IsSuccess() bool
IsSuccess returns true when this enroll updb not found response has a 2xx status code
func (*EnrollUpdbNotFound) String ¶
func (o *EnrollUpdbNotFound) String() string
type EnrollUpdbOK ¶
type EnrollUpdbOK struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.Empty
}
EnrollUpdbOK describes a response with status code 200, with default header values.
Base empty response
func NewEnrollUpdbOK ¶
func NewEnrollUpdbOK() *EnrollUpdbOK
NewEnrollUpdbOK creates a EnrollUpdbOK with default headers values
func (*EnrollUpdbOK) Code ¶
func (o *EnrollUpdbOK) Code() int
Code gets the status code for the enroll updb o k response
func (*EnrollUpdbOK) Error ¶
func (o *EnrollUpdbOK) Error() string
func (*EnrollUpdbOK) GetPayload ¶
func (o *EnrollUpdbOK) GetPayload() *rest_model.Empty
func (*EnrollUpdbOK) IsClientError ¶
func (o *EnrollUpdbOK) IsClientError() bool
IsClientError returns true when this enroll updb o k response has a 4xx status code
func (*EnrollUpdbOK) IsCode ¶
func (o *EnrollUpdbOK) IsCode(code int) bool
IsCode returns true when this enroll updb o k response a status code equal to that given
func (*EnrollUpdbOK) IsRedirect ¶
func (o *EnrollUpdbOK) IsRedirect() bool
IsRedirect returns true when this enroll updb o k response has a 3xx status code
func (*EnrollUpdbOK) IsServerError ¶
func (o *EnrollUpdbOK) IsServerError() bool
IsServerError returns true when this enroll updb o k response has a 5xx status code
func (*EnrollUpdbOK) IsSuccess ¶
func (o *EnrollUpdbOK) IsSuccess() bool
IsSuccess returns true when this enroll updb o k response has a 2xx status code
func (*EnrollUpdbOK) String ¶
func (o *EnrollUpdbOK) String() string
type EnrollUpdbParams ¶
type EnrollUpdbParams struct {
// Token.
//
// Format: uuid
Token strfmt.UUID
// UpdbCredentials.
UpdbCredentials EnrollUpdbBody
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
EnrollUpdbParams contains all the parameters to send to the API endpoint
for the enroll updb operation. Typically these are written to a http.Request.
func NewEnrollUpdbParams ¶
func NewEnrollUpdbParams() *EnrollUpdbParams
NewEnrollUpdbParams creates a new EnrollUpdbParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewEnrollUpdbParamsWithContext ¶
func NewEnrollUpdbParamsWithContext(ctx context.Context) *EnrollUpdbParams
NewEnrollUpdbParamsWithContext creates a new EnrollUpdbParams object with the ability to set a context for a request.
func NewEnrollUpdbParamsWithHTTPClient ¶
func NewEnrollUpdbParamsWithHTTPClient(client *http.Client) *EnrollUpdbParams
NewEnrollUpdbParamsWithHTTPClient creates a new EnrollUpdbParams object with the ability to set a custom HTTPClient for a request.
func NewEnrollUpdbParamsWithTimeout ¶
func NewEnrollUpdbParamsWithTimeout(timeout time.Duration) *EnrollUpdbParams
NewEnrollUpdbParamsWithTimeout creates a new EnrollUpdbParams object with the ability to set a timeout on a request.
func (*EnrollUpdbParams) SetContext ¶
func (o *EnrollUpdbParams) SetContext(ctx context.Context)
SetContext adds the context to the enroll updb params
func (*EnrollUpdbParams) SetDefaults ¶
func (o *EnrollUpdbParams) SetDefaults()
SetDefaults hydrates default values in the enroll updb params (not the query body).
All values with no default are reset to their zero value.
func (*EnrollUpdbParams) SetHTTPClient ¶
func (o *EnrollUpdbParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the enroll updb params
func (*EnrollUpdbParams) SetTimeout ¶
func (o *EnrollUpdbParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the enroll updb params
func (*EnrollUpdbParams) SetToken ¶
func (o *EnrollUpdbParams) SetToken(token strfmt.UUID)
SetToken adds the token to the enroll updb params
func (*EnrollUpdbParams) SetUpdbCredentials ¶
func (o *EnrollUpdbParams) SetUpdbCredentials(updbCredentials EnrollUpdbBody)
SetUpdbCredentials adds the updbCredentials to the enroll updb params
func (*EnrollUpdbParams) WithContext ¶
func (o *EnrollUpdbParams) WithContext(ctx context.Context) *EnrollUpdbParams
WithContext adds the context to the enroll updb params
func (*EnrollUpdbParams) WithDefaults ¶
func (o *EnrollUpdbParams) WithDefaults() *EnrollUpdbParams
WithDefaults hydrates default values in the enroll updb params (not the query body).
All values with no default are reset to their zero value.
func (*EnrollUpdbParams) WithHTTPClient ¶
func (o *EnrollUpdbParams) WithHTTPClient(client *http.Client) *EnrollUpdbParams
WithHTTPClient adds the HTTPClient to the enroll updb params
func (*EnrollUpdbParams) WithTimeout ¶
func (o *EnrollUpdbParams) WithTimeout(timeout time.Duration) *EnrollUpdbParams
WithTimeout adds the timeout to the enroll updb params
func (*EnrollUpdbParams) WithToken ¶
func (o *EnrollUpdbParams) WithToken(token strfmt.UUID) *EnrollUpdbParams
WithToken adds the token to the enroll updb params
func (*EnrollUpdbParams) WithUpdbCredentials ¶
func (o *EnrollUpdbParams) WithUpdbCredentials(updbCredentials EnrollUpdbBody) *EnrollUpdbParams
WithUpdbCredentials adds the updbCredentials to the enroll updb params
func (*EnrollUpdbParams) WriteToRequest ¶
func (o *EnrollUpdbParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EnrollUpdbReader ¶
type EnrollUpdbReader struct {
// contains filtered or unexported fields
}
EnrollUpdbReader is a Reader for the EnrollUpdb structure.
func (*EnrollUpdbReader) ReadResponse ¶
func (o *EnrollUpdbReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type EnrollUpdbServiceUnavailable ¶
type EnrollUpdbServiceUnavailable struct {
WWWAuthenticate []string
}
EnrollUpdbServiceUnavailable describes a response with status code 503, with default header values.
The request could not be completed due to the server being busy or in a temporarily bad state
func NewEnrollUpdbServiceUnavailable ¶
func NewEnrollUpdbServiceUnavailable() *EnrollUpdbServiceUnavailable
NewEnrollUpdbServiceUnavailable creates a EnrollUpdbServiceUnavailable with default headers values
func (*EnrollUpdbServiceUnavailable) Code ¶
func (o *EnrollUpdbServiceUnavailable) Code() int
Code gets the status code for the enroll updb service unavailable response
func (*EnrollUpdbServiceUnavailable) Error ¶
func (o *EnrollUpdbServiceUnavailable) Error() string
func (*EnrollUpdbServiceUnavailable) GetPayload ¶
func (o *EnrollUpdbServiceUnavailable) GetPayload() *rest_model.APIErrorEnvelope
func (*EnrollUpdbServiceUnavailable) IsClientError ¶
func (o *EnrollUpdbServiceUnavailable) IsClientError() bool
IsClientError returns true when this enroll updb service unavailable response has a 4xx status code
func (*EnrollUpdbServiceUnavailable) IsCode ¶
func (o *EnrollUpdbServiceUnavailable) IsCode(code int) bool
IsCode returns true when this enroll updb service unavailable response a status code equal to that given
func (*EnrollUpdbServiceUnavailable) IsRedirect ¶
func (o *EnrollUpdbServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this enroll updb service unavailable response has a 3xx status code
func (*EnrollUpdbServiceUnavailable) IsServerError ¶
func (o *EnrollUpdbServiceUnavailable) IsServerError() bool
IsServerError returns true when this enroll updb service unavailable response has a 5xx status code
func (*EnrollUpdbServiceUnavailable) IsSuccess ¶
func (o *EnrollUpdbServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this enroll updb service unavailable response has a 2xx status code
func (*EnrollUpdbServiceUnavailable) String ¶
func (o *EnrollUpdbServiceUnavailable) String() string
type EnrollUpdbTooManyRequests ¶
type EnrollUpdbTooManyRequests struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
EnrollUpdbTooManyRequests describes a response with status code 429, with default header values.
The resource requested is rate limited and the rate limit has been exceeded
func NewEnrollUpdbTooManyRequests ¶
func NewEnrollUpdbTooManyRequests() *EnrollUpdbTooManyRequests
NewEnrollUpdbTooManyRequests creates a EnrollUpdbTooManyRequests with default headers values
func (*EnrollUpdbTooManyRequests) Code ¶
func (o *EnrollUpdbTooManyRequests) Code() int
Code gets the status code for the enroll updb too many requests response
func (*EnrollUpdbTooManyRequests) Error ¶
func (o *EnrollUpdbTooManyRequests) Error() string
func (*EnrollUpdbTooManyRequests) GetPayload ¶
func (o *EnrollUpdbTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
func (*EnrollUpdbTooManyRequests) IsClientError ¶
func (o *EnrollUpdbTooManyRequests) IsClientError() bool
IsClientError returns true when this enroll updb too many requests response has a 4xx status code
func (*EnrollUpdbTooManyRequests) IsCode ¶
func (o *EnrollUpdbTooManyRequests) IsCode(code int) bool
IsCode returns true when this enroll updb too many requests response a status code equal to that given
func (*EnrollUpdbTooManyRequests) IsRedirect ¶
func (o *EnrollUpdbTooManyRequests) IsRedirect() bool
IsRedirect returns true when this enroll updb too many requests response has a 3xx status code
func (*EnrollUpdbTooManyRequests) IsServerError ¶
func (o *EnrollUpdbTooManyRequests) IsServerError() bool
IsServerError returns true when this enroll updb too many requests response has a 5xx status code
func (*EnrollUpdbTooManyRequests) IsSuccess ¶
func (o *EnrollUpdbTooManyRequests) IsSuccess() bool
IsSuccess returns true when this enroll updb too many requests response has a 2xx status code
func (*EnrollUpdbTooManyRequests) String ¶
func (o *EnrollUpdbTooManyRequests) String() string
type EnrollmentChallengeBadRequest ¶
type EnrollmentChallengeBadRequest struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
EnrollmentChallengeBadRequest describes a response with status code 400, with default header values.
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
func NewEnrollmentChallengeBadRequest ¶
func NewEnrollmentChallengeBadRequest() *EnrollmentChallengeBadRequest
NewEnrollmentChallengeBadRequest creates a EnrollmentChallengeBadRequest with default headers values
func (*EnrollmentChallengeBadRequest) Code ¶
func (o *EnrollmentChallengeBadRequest) Code() int
Code gets the status code for the enrollment challenge bad request response
func (*EnrollmentChallengeBadRequest) Error ¶
func (o *EnrollmentChallengeBadRequest) Error() string
func (*EnrollmentChallengeBadRequest) GetPayload ¶
func (o *EnrollmentChallengeBadRequest) GetPayload() *rest_model.APIErrorEnvelope
func (*EnrollmentChallengeBadRequest) IsClientError ¶
func (o *EnrollmentChallengeBadRequest) IsClientError() bool
IsClientError returns true when this enrollment challenge bad request response has a 4xx status code
func (*EnrollmentChallengeBadRequest) IsCode ¶
func (o *EnrollmentChallengeBadRequest) IsCode(code int) bool
IsCode returns true when this enrollment challenge bad request response a status code equal to that given
func (*EnrollmentChallengeBadRequest) IsRedirect ¶
func (o *EnrollmentChallengeBadRequest) IsRedirect() bool
IsRedirect returns true when this enrollment challenge bad request response has a 3xx status code
func (*EnrollmentChallengeBadRequest) IsServerError ¶
func (o *EnrollmentChallengeBadRequest) IsServerError() bool
IsServerError returns true when this enrollment challenge bad request response has a 5xx status code
func (*EnrollmentChallengeBadRequest) IsSuccess ¶
func (o *EnrollmentChallengeBadRequest) IsSuccess() bool
IsSuccess returns true when this enrollment challenge bad request response has a 2xx status code
func (*EnrollmentChallengeBadRequest) String ¶
func (o *EnrollmentChallengeBadRequest) String() string
type EnrollmentChallengeOK ¶
type EnrollmentChallengeOK struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.NonceSignature
}
EnrollmentChallengeOK describes a response with status code 200, with default header values.
A nonce challenge response. The contents will be the signature of the nonce, the key id used, and algorithm used to produce the signature.
func NewEnrollmentChallengeOK ¶
func NewEnrollmentChallengeOK() *EnrollmentChallengeOK
NewEnrollmentChallengeOK creates a EnrollmentChallengeOK with default headers values
func (*EnrollmentChallengeOK) Code ¶
func (o *EnrollmentChallengeOK) Code() int
Code gets the status code for the enrollment challenge o k response
func (*EnrollmentChallengeOK) Error ¶
func (o *EnrollmentChallengeOK) Error() string
func (*EnrollmentChallengeOK) GetPayload ¶
func (o *EnrollmentChallengeOK) GetPayload() *rest_model.NonceSignature
func (*EnrollmentChallengeOK) IsClientError ¶
func (o *EnrollmentChallengeOK) IsClientError() bool
IsClientError returns true when this enrollment challenge o k response has a 4xx status code
func (*EnrollmentChallengeOK) IsCode ¶
func (o *EnrollmentChallengeOK) IsCode(code int) bool
IsCode returns true when this enrollment challenge o k response a status code equal to that given
func (*EnrollmentChallengeOK) IsRedirect ¶
func (o *EnrollmentChallengeOK) IsRedirect() bool
IsRedirect returns true when this enrollment challenge o k response has a 3xx status code
func (*EnrollmentChallengeOK) IsServerError ¶
func (o *EnrollmentChallengeOK) IsServerError() bool
IsServerError returns true when this enrollment challenge o k response has a 5xx status code
func (*EnrollmentChallengeOK) IsSuccess ¶
func (o *EnrollmentChallengeOK) IsSuccess() bool
IsSuccess returns true when this enrollment challenge o k response has a 2xx status code
func (*EnrollmentChallengeOK) String ¶
func (o *EnrollmentChallengeOK) String() string
type EnrollmentChallengeParams ¶
type EnrollmentChallengeParams struct {
// Nonce.
Nonce *rest_model.NonceChallenge
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
EnrollmentChallengeParams contains all the parameters to send to the API endpoint
for the enrollment challenge operation. Typically these are written to a http.Request.
func NewEnrollmentChallengeParams ¶
func NewEnrollmentChallengeParams() *EnrollmentChallengeParams
NewEnrollmentChallengeParams creates a new EnrollmentChallengeParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewEnrollmentChallengeParamsWithContext ¶
func NewEnrollmentChallengeParamsWithContext(ctx context.Context) *EnrollmentChallengeParams
NewEnrollmentChallengeParamsWithContext creates a new EnrollmentChallengeParams object with the ability to set a context for a request.
func NewEnrollmentChallengeParamsWithHTTPClient ¶
func NewEnrollmentChallengeParamsWithHTTPClient(client *http.Client) *EnrollmentChallengeParams
NewEnrollmentChallengeParamsWithHTTPClient creates a new EnrollmentChallengeParams object with the ability to set a custom HTTPClient for a request.
func NewEnrollmentChallengeParamsWithTimeout ¶
func NewEnrollmentChallengeParamsWithTimeout(timeout time.Duration) *EnrollmentChallengeParams
NewEnrollmentChallengeParamsWithTimeout creates a new EnrollmentChallengeParams object with the ability to set a timeout on a request.
func (*EnrollmentChallengeParams) SetContext ¶
func (o *EnrollmentChallengeParams) SetContext(ctx context.Context)
SetContext adds the context to the enrollment challenge params
func (*EnrollmentChallengeParams) SetDefaults ¶
func (o *EnrollmentChallengeParams) SetDefaults()
SetDefaults hydrates default values in the enrollment challenge params (not the query body).
All values with no default are reset to their zero value.
func (*EnrollmentChallengeParams) SetHTTPClient ¶
func (o *EnrollmentChallengeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the enrollment challenge params
func (*EnrollmentChallengeParams) SetNonce ¶
func (o *EnrollmentChallengeParams) SetNonce(nonce *rest_model.NonceChallenge)
SetNonce adds the nonce to the enrollment challenge params
func (*EnrollmentChallengeParams) SetTimeout ¶
func (o *EnrollmentChallengeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the enrollment challenge params
func (*EnrollmentChallengeParams) WithContext ¶
func (o *EnrollmentChallengeParams) WithContext(ctx context.Context) *EnrollmentChallengeParams
WithContext adds the context to the enrollment challenge params
func (*EnrollmentChallengeParams) WithDefaults ¶
func (o *EnrollmentChallengeParams) WithDefaults() *EnrollmentChallengeParams
WithDefaults hydrates default values in the enrollment challenge params (not the query body).
All values with no default are reset to their zero value.
func (*EnrollmentChallengeParams) WithHTTPClient ¶
func (o *EnrollmentChallengeParams) WithHTTPClient(client *http.Client) *EnrollmentChallengeParams
WithHTTPClient adds the HTTPClient to the enrollment challenge params
func (*EnrollmentChallengeParams) WithNonce ¶
func (o *EnrollmentChallengeParams) WithNonce(nonce *rest_model.NonceChallenge) *EnrollmentChallengeParams
WithNonce adds the nonce to the enrollment challenge params
func (*EnrollmentChallengeParams) WithTimeout ¶
func (o *EnrollmentChallengeParams) WithTimeout(timeout time.Duration) *EnrollmentChallengeParams
WithTimeout adds the timeout to the enrollment challenge params
func (*EnrollmentChallengeParams) WriteToRequest ¶
func (o *EnrollmentChallengeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EnrollmentChallengeReader ¶
type EnrollmentChallengeReader struct {
// contains filtered or unexported fields
}
EnrollmentChallengeReader is a Reader for the EnrollmentChallenge structure.
func (*EnrollmentChallengeReader) ReadResponse ¶
func (o *EnrollmentChallengeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type EnrollmentChallengeTooManyRequests ¶
type EnrollmentChallengeTooManyRequests struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
EnrollmentChallengeTooManyRequests describes a response with status code 429, with default header values.
The resource requested is rate limited and the rate limit has been exceeded
func NewEnrollmentChallengeTooManyRequests ¶
func NewEnrollmentChallengeTooManyRequests() *EnrollmentChallengeTooManyRequests
NewEnrollmentChallengeTooManyRequests creates a EnrollmentChallengeTooManyRequests with default headers values
func (*EnrollmentChallengeTooManyRequests) Code ¶
func (o *EnrollmentChallengeTooManyRequests) Code() int
Code gets the status code for the enrollment challenge too many requests response
func (*EnrollmentChallengeTooManyRequests) Error ¶
func (o *EnrollmentChallengeTooManyRequests) Error() string
func (*EnrollmentChallengeTooManyRequests) GetPayload ¶
func (o *EnrollmentChallengeTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
func (*EnrollmentChallengeTooManyRequests) IsClientError ¶
func (o *EnrollmentChallengeTooManyRequests) IsClientError() bool
IsClientError returns true when this enrollment challenge too many requests response has a 4xx status code
func (*EnrollmentChallengeTooManyRequests) IsCode ¶
func (o *EnrollmentChallengeTooManyRequests) IsCode(code int) bool
IsCode returns true when this enrollment challenge too many requests response a status code equal to that given
func (*EnrollmentChallengeTooManyRequests) IsRedirect ¶
func (o *EnrollmentChallengeTooManyRequests) IsRedirect() bool
IsRedirect returns true when this enrollment challenge too many requests response has a 3xx status code
func (*EnrollmentChallengeTooManyRequests) IsServerError ¶
func (o *EnrollmentChallengeTooManyRequests) IsServerError() bool
IsServerError returns true when this enrollment challenge too many requests response has a 5xx status code
func (*EnrollmentChallengeTooManyRequests) IsSuccess ¶
func (o *EnrollmentChallengeTooManyRequests) IsSuccess() bool
IsSuccess returns true when this enrollment challenge too many requests response has a 2xx status code
func (*EnrollmentChallengeTooManyRequests) String ¶
func (o *EnrollmentChallengeTooManyRequests) String() string
type ExtendRouterEnrollmentBadRequest ¶
type ExtendRouterEnrollmentBadRequest struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
ExtendRouterEnrollmentBadRequest describes a response with status code 400, with default header values.
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
func NewExtendRouterEnrollmentBadRequest ¶
func NewExtendRouterEnrollmentBadRequest() *ExtendRouterEnrollmentBadRequest
NewExtendRouterEnrollmentBadRequest creates a ExtendRouterEnrollmentBadRequest with default headers values
func (*ExtendRouterEnrollmentBadRequest) Code ¶
func (o *ExtendRouterEnrollmentBadRequest) Code() int
Code gets the status code for the extend router enrollment bad request response
func (*ExtendRouterEnrollmentBadRequest) Error ¶
func (o *ExtendRouterEnrollmentBadRequest) Error() string
func (*ExtendRouterEnrollmentBadRequest) GetPayload ¶
func (o *ExtendRouterEnrollmentBadRequest) GetPayload() *rest_model.APIErrorEnvelope
func (*ExtendRouterEnrollmentBadRequest) IsClientError ¶
func (o *ExtendRouterEnrollmentBadRequest) IsClientError() bool
IsClientError returns true when this extend router enrollment bad request response has a 4xx status code
func (*ExtendRouterEnrollmentBadRequest) IsCode ¶
func (o *ExtendRouterEnrollmentBadRequest) IsCode(code int) bool
IsCode returns true when this extend router enrollment bad request response a status code equal to that given
func (*ExtendRouterEnrollmentBadRequest) IsRedirect ¶
func (o *ExtendRouterEnrollmentBadRequest) IsRedirect() bool
IsRedirect returns true when this extend router enrollment bad request response has a 3xx status code
func (*ExtendRouterEnrollmentBadRequest) IsServerError ¶
func (o *ExtendRouterEnrollmentBadRequest) IsServerError() bool
IsServerError returns true when this extend router enrollment bad request response has a 5xx status code
func (*ExtendRouterEnrollmentBadRequest) IsSuccess ¶
func (o *ExtendRouterEnrollmentBadRequest) IsSuccess() bool
IsSuccess returns true when this extend router enrollment bad request response has a 2xx status code
func (*ExtendRouterEnrollmentBadRequest) String ¶
func (o *ExtendRouterEnrollmentBadRequest) String() string
type ExtendRouterEnrollmentOK ¶
type ExtendRouterEnrollmentOK struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.EnrollmentCertsEnvelope
}
ExtendRouterEnrollmentOK describes a response with status code 200, with default header values.
A response containing the edge routers new signed certificates (server chain, server cert, CAs).
func NewExtendRouterEnrollmentOK ¶
func NewExtendRouterEnrollmentOK() *ExtendRouterEnrollmentOK
NewExtendRouterEnrollmentOK creates a ExtendRouterEnrollmentOK with default headers values
func (*ExtendRouterEnrollmentOK) Code ¶
func (o *ExtendRouterEnrollmentOK) Code() int
Code gets the status code for the extend router enrollment o k response
func (*ExtendRouterEnrollmentOK) Error ¶
func (o *ExtendRouterEnrollmentOK) Error() string
func (*ExtendRouterEnrollmentOK) GetPayload ¶
func (o *ExtendRouterEnrollmentOK) GetPayload() *rest_model.EnrollmentCertsEnvelope
func (*ExtendRouterEnrollmentOK) IsClientError ¶
func (o *ExtendRouterEnrollmentOK) IsClientError() bool
IsClientError returns true when this extend router enrollment o k response has a 4xx status code
func (*ExtendRouterEnrollmentOK) IsCode ¶
func (o *ExtendRouterEnrollmentOK) IsCode(code int) bool
IsCode returns true when this extend router enrollment o k response a status code equal to that given
func (*ExtendRouterEnrollmentOK) IsRedirect ¶
func (o *ExtendRouterEnrollmentOK) IsRedirect() bool
IsRedirect returns true when this extend router enrollment o k response has a 3xx status code
func (*ExtendRouterEnrollmentOK) IsServerError ¶
func (o *ExtendRouterEnrollmentOK) IsServerError() bool
IsServerError returns true when this extend router enrollment o k response has a 5xx status code
func (*ExtendRouterEnrollmentOK) IsSuccess ¶
func (o *ExtendRouterEnrollmentOK) IsSuccess() bool
IsSuccess returns true when this extend router enrollment o k response has a 2xx status code
func (*ExtendRouterEnrollmentOK) String ¶
func (o *ExtendRouterEnrollmentOK) String() string
type ExtendRouterEnrollmentParams ¶
type ExtendRouterEnrollmentParams struct {
// RouterExtendEnrollmentRequest.
RouterExtendEnrollmentRequest *rest_model.RouterExtendEnrollmentRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ExtendRouterEnrollmentParams contains all the parameters to send to the API endpoint
for the extend router enrollment operation. Typically these are written to a http.Request.
func NewExtendRouterEnrollmentParams ¶
func NewExtendRouterEnrollmentParams() *ExtendRouterEnrollmentParams
NewExtendRouterEnrollmentParams creates a new ExtendRouterEnrollmentParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewExtendRouterEnrollmentParamsWithContext ¶
func NewExtendRouterEnrollmentParamsWithContext(ctx context.Context) *ExtendRouterEnrollmentParams
NewExtendRouterEnrollmentParamsWithContext creates a new ExtendRouterEnrollmentParams object with the ability to set a context for a request.
func NewExtendRouterEnrollmentParamsWithHTTPClient ¶
func NewExtendRouterEnrollmentParamsWithHTTPClient(client *http.Client) *ExtendRouterEnrollmentParams
NewExtendRouterEnrollmentParamsWithHTTPClient creates a new ExtendRouterEnrollmentParams object with the ability to set a custom HTTPClient for a request.
func NewExtendRouterEnrollmentParamsWithTimeout ¶
func NewExtendRouterEnrollmentParamsWithTimeout(timeout time.Duration) *ExtendRouterEnrollmentParams
NewExtendRouterEnrollmentParamsWithTimeout creates a new ExtendRouterEnrollmentParams object with the ability to set a timeout on a request.
func (*ExtendRouterEnrollmentParams) SetContext ¶
func (o *ExtendRouterEnrollmentParams) SetContext(ctx context.Context)
SetContext adds the context to the extend router enrollment params
func (*ExtendRouterEnrollmentParams) SetDefaults ¶
func (o *ExtendRouterEnrollmentParams) SetDefaults()
SetDefaults hydrates default values in the extend router enrollment params (not the query body).
All values with no default are reset to their zero value.
func (*ExtendRouterEnrollmentParams) SetHTTPClient ¶
func (o *ExtendRouterEnrollmentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the extend router enrollment params
func (*ExtendRouterEnrollmentParams) SetRouterExtendEnrollmentRequest ¶
func (o *ExtendRouterEnrollmentParams) SetRouterExtendEnrollmentRequest(routerExtendEnrollmentRequest *rest_model.RouterExtendEnrollmentRequest)
SetRouterExtendEnrollmentRequest adds the routerExtendEnrollmentRequest to the extend router enrollment params
func (*ExtendRouterEnrollmentParams) SetTimeout ¶
func (o *ExtendRouterEnrollmentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the extend router enrollment params
func (*ExtendRouterEnrollmentParams) WithContext ¶
func (o *ExtendRouterEnrollmentParams) WithContext(ctx context.Context) *ExtendRouterEnrollmentParams
WithContext adds the context to the extend router enrollment params
func (*ExtendRouterEnrollmentParams) WithDefaults ¶
func (o *ExtendRouterEnrollmentParams) WithDefaults() *ExtendRouterEnrollmentParams
WithDefaults hydrates default values in the extend router enrollment params (not the query body).
All values with no default are reset to their zero value.
func (*ExtendRouterEnrollmentParams) WithHTTPClient ¶
func (o *ExtendRouterEnrollmentParams) WithHTTPClient(client *http.Client) *ExtendRouterEnrollmentParams
WithHTTPClient adds the HTTPClient to the extend router enrollment params
func (*ExtendRouterEnrollmentParams) WithRouterExtendEnrollmentRequest ¶
func (o *ExtendRouterEnrollmentParams) WithRouterExtendEnrollmentRequest(routerExtendEnrollmentRequest *rest_model.RouterExtendEnrollmentRequest) *ExtendRouterEnrollmentParams
WithRouterExtendEnrollmentRequest adds the routerExtendEnrollmentRequest to the extend router enrollment params
func (*ExtendRouterEnrollmentParams) WithTimeout ¶
func (o *ExtendRouterEnrollmentParams) WithTimeout(timeout time.Duration) *ExtendRouterEnrollmentParams
WithTimeout adds the timeout to the extend router enrollment params
func (*ExtendRouterEnrollmentParams) WriteToRequest ¶
func (o *ExtendRouterEnrollmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExtendRouterEnrollmentReader ¶
type ExtendRouterEnrollmentReader struct {
// contains filtered or unexported fields
}
ExtendRouterEnrollmentReader is a Reader for the ExtendRouterEnrollment structure.
func (*ExtendRouterEnrollmentReader) ReadResponse ¶
func (o *ExtendRouterEnrollmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type ExtendRouterEnrollmentTooManyRequests ¶
type ExtendRouterEnrollmentTooManyRequests struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.APIErrorEnvelope
}
ExtendRouterEnrollmentTooManyRequests describes a response with status code 429, with default header values.
The resource requested is rate limited and the rate limit has been exceeded
func NewExtendRouterEnrollmentTooManyRequests ¶
func NewExtendRouterEnrollmentTooManyRequests() *ExtendRouterEnrollmentTooManyRequests
NewExtendRouterEnrollmentTooManyRequests creates a ExtendRouterEnrollmentTooManyRequests with default headers values
func (*ExtendRouterEnrollmentTooManyRequests) Code ¶
func (o *ExtendRouterEnrollmentTooManyRequests) Code() int
Code gets the status code for the extend router enrollment too many requests response
func (*ExtendRouterEnrollmentTooManyRequests) Error ¶
func (o *ExtendRouterEnrollmentTooManyRequests) Error() string
func (*ExtendRouterEnrollmentTooManyRequests) GetPayload ¶
func (o *ExtendRouterEnrollmentTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope
func (*ExtendRouterEnrollmentTooManyRequests) IsClientError ¶
func (o *ExtendRouterEnrollmentTooManyRequests) IsClientError() bool
IsClientError returns true when this extend router enrollment too many requests response has a 4xx status code
func (*ExtendRouterEnrollmentTooManyRequests) IsCode ¶
func (o *ExtendRouterEnrollmentTooManyRequests) IsCode(code int) bool
IsCode returns true when this extend router enrollment too many requests response a status code equal to that given
func (*ExtendRouterEnrollmentTooManyRequests) IsRedirect ¶
func (o *ExtendRouterEnrollmentTooManyRequests) IsRedirect() bool
IsRedirect returns true when this extend router enrollment too many requests response has a 3xx status code
func (*ExtendRouterEnrollmentTooManyRequests) IsServerError ¶
func (o *ExtendRouterEnrollmentTooManyRequests) IsServerError() bool
IsServerError returns true when this extend router enrollment too many requests response has a 5xx status code
func (*ExtendRouterEnrollmentTooManyRequests) IsSuccess ¶
func (o *ExtendRouterEnrollmentTooManyRequests) IsSuccess() bool
IsSuccess returns true when this extend router enrollment too many requests response has a 2xx status code
func (*ExtendRouterEnrollmentTooManyRequests) String ¶
func (o *ExtendRouterEnrollmentTooManyRequests) String() string
type ExtendRouterEnrollmentUnauthorized ¶
type ExtendRouterEnrollmentUnauthorized struct {
WWWAuthenticate []string
}
ExtendRouterEnrollmentUnauthorized describes a response with status code 401, with default header values.
The supplied session does not have the correct access rights to request this resource
func NewExtendRouterEnrollmentUnauthorized ¶
func NewExtendRouterEnrollmentUnauthorized() *ExtendRouterEnrollmentUnauthorized
NewExtendRouterEnrollmentUnauthorized creates a ExtendRouterEnrollmentUnauthorized with default headers values
func (*ExtendRouterEnrollmentUnauthorized) Code ¶
func (o *ExtendRouterEnrollmentUnauthorized) Code() int
Code gets the status code for the extend router enrollment unauthorized response
func (*ExtendRouterEnrollmentUnauthorized) Error ¶
func (o *ExtendRouterEnrollmentUnauthorized) Error() string
func (*ExtendRouterEnrollmentUnauthorized) GetPayload ¶
func (o *ExtendRouterEnrollmentUnauthorized) GetPayload() *rest_model.APIErrorEnvelope
func (*ExtendRouterEnrollmentUnauthorized) IsClientError ¶
func (o *ExtendRouterEnrollmentUnauthorized) IsClientError() bool
IsClientError returns true when this extend router enrollment unauthorized response has a 4xx status code
func (*ExtendRouterEnrollmentUnauthorized) IsCode ¶
func (o *ExtendRouterEnrollmentUnauthorized) IsCode(code int) bool
IsCode returns true when this extend router enrollment unauthorized response a status code equal to that given
func (*ExtendRouterEnrollmentUnauthorized) IsRedirect ¶
func (o *ExtendRouterEnrollmentUnauthorized) IsRedirect() bool
IsRedirect returns true when this extend router enrollment unauthorized response has a 3xx status code
func (*ExtendRouterEnrollmentUnauthorized) IsServerError ¶
func (o *ExtendRouterEnrollmentUnauthorized) IsServerError() bool
IsServerError returns true when this extend router enrollment unauthorized response has a 5xx status code
func (*ExtendRouterEnrollmentUnauthorized) IsSuccess ¶
func (o *ExtendRouterEnrollmentUnauthorized) IsSuccess() bool
IsSuccess returns true when this extend router enrollment unauthorized response has a 2xx status code
func (*ExtendRouterEnrollmentUnauthorized) String ¶
func (o *ExtendRouterEnrollmentUnauthorized) String() string
type GetEnrollmentJwksOK ¶
type GetEnrollmentJwksOK struct {
/* Denotes different type of security token related information
*/
WWWAuthenticate []string
Payload *rest_model.Jwks
}
GetEnrollmentJwksOK describes a response with status code 200, with default header values.
A JWKS response for enrollment.
func NewGetEnrollmentJwksOK ¶
func NewGetEnrollmentJwksOK() *GetEnrollmentJwksOK
NewGetEnrollmentJwksOK creates a GetEnrollmentJwksOK with default headers values
func (*GetEnrollmentJwksOK) Code ¶
func (o *GetEnrollmentJwksOK) Code() int
Code gets the status code for the get enrollment jwks o k response
func (*GetEnrollmentJwksOK) Error ¶
func (o *GetEnrollmentJwksOK) Error() string
func (*GetEnrollmentJwksOK) GetPayload ¶
func (o *GetEnrollmentJwksOK) GetPayload() *rest_model.Jwks
func (*GetEnrollmentJwksOK) IsClientError ¶
func (o *GetEnrollmentJwksOK) IsClientError() bool
IsClientError returns true when this get enrollment jwks o k response has a 4xx status code
func (*GetEnrollmentJwksOK) IsCode ¶
func (o *GetEnrollmentJwksOK) IsCode(code int) bool
IsCode returns true when this get enrollment jwks o k response a status code equal to that given
func (*GetEnrollmentJwksOK) IsRedirect ¶
func (o *GetEnrollmentJwksOK) IsRedirect() bool
IsRedirect returns true when this get enrollment jwks o k response has a 3xx status code
func (*GetEnrollmentJwksOK) IsServerError ¶
func (o *GetEnrollmentJwksOK) IsServerError() bool
IsServerError returns true when this get enrollment jwks o k response has a 5xx status code
func (*GetEnrollmentJwksOK) IsSuccess ¶
func (o *GetEnrollmentJwksOK) IsSuccess() bool
IsSuccess returns true when this get enrollment jwks o k response has a 2xx status code
func (*GetEnrollmentJwksOK) String ¶
func (o *GetEnrollmentJwksOK) String() string
type GetEnrollmentJwksParams ¶
type GetEnrollmentJwksParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetEnrollmentJwksParams contains all the parameters to send to the API endpoint
for the get enrollment jwks operation. Typically these are written to a http.Request.
func NewGetEnrollmentJwksParams ¶
func NewGetEnrollmentJwksParams() *GetEnrollmentJwksParams
NewGetEnrollmentJwksParams creates a new GetEnrollmentJwksParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetEnrollmentJwksParamsWithContext ¶
func NewGetEnrollmentJwksParamsWithContext(ctx context.Context) *GetEnrollmentJwksParams
NewGetEnrollmentJwksParamsWithContext creates a new GetEnrollmentJwksParams object with the ability to set a context for a request.
func NewGetEnrollmentJwksParamsWithHTTPClient ¶
func NewGetEnrollmentJwksParamsWithHTTPClient(client *http.Client) *GetEnrollmentJwksParams
NewGetEnrollmentJwksParamsWithHTTPClient creates a new GetEnrollmentJwksParams object with the ability to set a custom HTTPClient for a request.
func NewGetEnrollmentJwksParamsWithTimeout ¶
func NewGetEnrollmentJwksParamsWithTimeout(timeout time.Duration) *GetEnrollmentJwksParams
NewGetEnrollmentJwksParamsWithTimeout creates a new GetEnrollmentJwksParams object with the ability to set a timeout on a request.
func (*GetEnrollmentJwksParams) SetContext ¶
func (o *GetEnrollmentJwksParams) SetContext(ctx context.Context)
SetContext adds the context to the get enrollment jwks params
func (*GetEnrollmentJwksParams) SetDefaults ¶
func (o *GetEnrollmentJwksParams) SetDefaults()
SetDefaults hydrates default values in the get enrollment jwks params (not the query body).
All values with no default are reset to their zero value.
func (*GetEnrollmentJwksParams) SetHTTPClient ¶
func (o *GetEnrollmentJwksParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get enrollment jwks params
func (*GetEnrollmentJwksParams) SetTimeout ¶
func (o *GetEnrollmentJwksParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get enrollment jwks params
func (*GetEnrollmentJwksParams) WithContext ¶
func (o *GetEnrollmentJwksParams) WithContext(ctx context.Context) *GetEnrollmentJwksParams
WithContext adds the context to the get enrollment jwks params
func (*GetEnrollmentJwksParams) WithDefaults ¶
func (o *GetEnrollmentJwksParams) WithDefaults() *GetEnrollmentJwksParams
WithDefaults hydrates default values in the get enrollment jwks params (not the query body).
All values with no default are reset to their zero value.
func (*GetEnrollmentJwksParams) WithHTTPClient ¶
func (o *GetEnrollmentJwksParams) WithHTTPClient(client *http.Client) *GetEnrollmentJwksParams
WithHTTPClient adds the HTTPClient to the get enrollment jwks params
func (*GetEnrollmentJwksParams) WithTimeout ¶
func (o *GetEnrollmentJwksParams) WithTimeout(timeout time.Duration) *GetEnrollmentJwksParams
WithTimeout adds the timeout to the get enrollment jwks params
func (*GetEnrollmentJwksParams) WriteToRequest ¶
func (o *GetEnrollmentJwksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetEnrollmentJwksReader ¶
type GetEnrollmentJwksReader struct {
// contains filtered or unexported fields
}
GetEnrollmentJwksReader is a Reader for the GetEnrollmentJwks structure.
func (*GetEnrollmentJwksReader) ReadResponse ¶
func (o *GetEnrollmentJwksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- enroll_ca_parameters.go
- enroll_ca_responses.go
- enroll_client.go
- enroll_er_ott_parameters.go
- enroll_er_ott_responses.go
- enroll_ott_ca_parameters.go
- enroll_ott_ca_responses.go
- enroll_ott_parameters.go
- enroll_ott_responses.go
- enroll_parameters.go
- enroll_responses.go
- enroll_token_parameters.go
- enroll_token_responses.go
- enroll_updb_parameters.go
- enroll_updb_responses.go
- enrollment_challenge_parameters.go
- enrollment_challenge_responses.go
- extend_router_enrollment_parameters.go
- extend_router_enrollment_responses.go
- get_enrollment_jwks_parameters.go
- get_enrollment_jwks_responses.go