Documentation
¶
Overview ¶
Package management provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.
Package management contains generated OpenAPI model and client bindings for selected management API operations.
Index ¶
- func NewDeleteOIDCSessionRequest(server string, userId string, token string) (*http.Request, error)
- func NewDeleteOIDCSessionsRequest(server string, userId string) (*http.Request, error)
- func NewDeleteReputationOverrideRequest(server string, body DeleteReputationOverrideJSONRequestBody) (*http.Request, error)
- func NewDeleteReputationOverrideRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewEnqueueBruteForceRuleFlushRequest(server string, body EnqueueBruteForceRuleFlushJSONRequestBody) (*http.Request, error)
- func NewEnqueueBruteForceRuleFlushRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewEnqueueUserCacheFlushRequest(server string, body EnqueueUserCacheFlushJSONRequestBody) (*http.Request, error)
- func NewEnqueueUserCacheFlushRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewEvaluatePolicyDecisionRequest(server string, body EvaluatePolicyDecisionJSONRequestBody) (*http.Request, error)
- func NewEvaluatePolicyDecisionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewFlushBruteForceRuleRequest(server string, body FlushBruteForceRuleJSONRequestBody) (*http.Request, error)
- func NewFlushBruteForceRuleRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewFlushUserCacheRequest(server string, body FlushUserCacheJSONRequestBody) (*http.Request, error)
- func NewFlushUserCacheRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetAsyncJobStatusRequest(server string, jobId string) (*http.Request, error)
- func NewGetOpenAPIJSONRequest(server string) (*http.Request, error)
- func NewGetOpenAPIYAMLRequest(server string) (*http.Request, error)
- func NewListBruteForceEntriesRequest(server string, params *ListBruteForceEntriesParams) (*http.Request, error)
- func NewListFilteredBruteForceEntriesRequest(server string, params *ListFilteredBruteForceEntriesParams, ...) (*http.Request, error)
- func NewListFilteredBruteForceEntriesRequestWithBody(server string, params *ListFilteredBruteForceEntriesParams, contentType string, ...) (*http.Request, error)
- func NewListOIDCSessionsRequest(server string, userId string) (*http.Request, error)
- func NewLookupReputationRequest(server string, body LookupReputationJSONRequestBody) (*http.Request, error)
- func NewLookupReputationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewManageReputationAllocationRequest(server string, body ManageReputationAllocationJSONRequestBody) (*http.Request, error)
- func NewManageReputationAllocationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutReputationOverrideRequest(server string, body PutReputationOverrideJSONRequestBody) (*http.Request, error)
- func NewPutReputationOverrideRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- type AsyncAccepted
- type AsyncAcceptedPayload
- type AsyncAcceptedPayloadStatus
- type AsyncAcceptedResult
- type AsyncJobStatusPayload
- type AsyncJobStatusPayloadStatus
- type AsyncJobStatusResult
- type BruteForceFilterRequest
- type BruteForceFlushPayload
- type BruteForceFlushRequest
- type BruteForceFlushResult
- type BruteForceListResult
- type CacheFlushPayload
- type CacheFlushRequest
- type CacheFlushResult
- type Client
- func (c *Client) DeleteOIDCSession(ctx context.Context, userId string, token string, ...) (*http.Response, error)
- func (c *Client) DeleteOIDCSessions(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteReputationOverride(ctx context.Context, body DeleteReputationOverrideJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DeleteReputationOverrideWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) EnqueueBruteForceRuleFlush(ctx context.Context, body EnqueueBruteForceRuleFlushJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) EnqueueBruteForceRuleFlushWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) EnqueueUserCacheFlush(ctx context.Context, body EnqueueUserCacheFlushJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) EnqueueUserCacheFlushWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) EvaluatePolicyDecision(ctx context.Context, body EvaluatePolicyDecisionJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) EvaluatePolicyDecisionWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) FlushBruteForceRule(ctx context.Context, body FlushBruteForceRuleJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) FlushBruteForceRuleWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) FlushUserCache(ctx context.Context, body FlushUserCacheJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) FlushUserCacheWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetAsyncJobStatus(ctx context.Context, jobId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetOpenAPIJSON(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetOpenAPIYAML(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListBruteForceEntries(ctx context.Context, params *ListBruteForceEntriesParams, ...) (*http.Response, error)
- func (c *Client) ListFilteredBruteForceEntries(ctx context.Context, params *ListFilteredBruteForceEntriesParams, ...) (*http.Response, error)
- func (c *Client) ListFilteredBruteForceEntriesWithBody(ctx context.Context, params *ListFilteredBruteForceEntriesParams, ...) (*http.Response, error)
- func (c *Client) ListOIDCSessions(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LookupReputation(ctx context.Context, body LookupReputationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) LookupReputationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ManageReputationAllocation(ctx context.Context, body ManageReputationAllocationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ManageReputationAllocationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutReputationOverride(ctx context.Context, body PutReputationOverrideJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PutReputationOverrideWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) DeleteOIDCSessionWithResponse(ctx context.Context, userId string, token string, ...) (*DeleteOIDCSessionResponse, error)
- func (c *ClientWithResponses) DeleteOIDCSessionsWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*DeleteOIDCSessionsResponse, error)
- func (c *ClientWithResponses) DeleteReputationOverrideWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*DeleteReputationOverrideResponse, error)
- func (c *ClientWithResponses) DeleteReputationOverrideWithResponse(ctx context.Context, body DeleteReputationOverrideJSONRequestBody, ...) (*DeleteReputationOverrideResponse, error)
- func (c *ClientWithResponses) EnqueueBruteForceRuleFlushWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*EnqueueBruteForceRuleFlushResponse, error)
- func (c *ClientWithResponses) EnqueueBruteForceRuleFlushWithResponse(ctx context.Context, body EnqueueBruteForceRuleFlushJSONRequestBody, ...) (*EnqueueBruteForceRuleFlushResponse, error)
- func (c *ClientWithResponses) EnqueueUserCacheFlushWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*EnqueueUserCacheFlushResponse, error)
- func (c *ClientWithResponses) EnqueueUserCacheFlushWithResponse(ctx context.Context, body EnqueueUserCacheFlushJSONRequestBody, ...) (*EnqueueUserCacheFlushResponse, error)
- func (c *ClientWithResponses) EvaluatePolicyDecisionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*EvaluatePolicyDecisionResponse, error)
- func (c *ClientWithResponses) EvaluatePolicyDecisionWithResponse(ctx context.Context, body EvaluatePolicyDecisionJSONRequestBody, ...) (*EvaluatePolicyDecisionResponse, error)
- func (c *ClientWithResponses) FlushBruteForceRuleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*FlushBruteForceRuleResponse, error)
- func (c *ClientWithResponses) FlushBruteForceRuleWithResponse(ctx context.Context, body FlushBruteForceRuleJSONRequestBody, ...) (*FlushBruteForceRuleResponse, error)
- func (c *ClientWithResponses) FlushUserCacheWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*FlushUserCacheResponse, error)
- func (c *ClientWithResponses) FlushUserCacheWithResponse(ctx context.Context, body FlushUserCacheJSONRequestBody, ...) (*FlushUserCacheResponse, error)
- func (c *ClientWithResponses) GetAsyncJobStatusWithResponse(ctx context.Context, jobId string, reqEditors ...RequestEditorFn) (*GetAsyncJobStatusResponse, error)
- func (c *ClientWithResponses) GetOpenAPIJSONWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOpenAPIJSONResponse, error)
- func (c *ClientWithResponses) GetOpenAPIYAMLWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOpenAPIYAMLResponse, error)
- func (c *ClientWithResponses) ListBruteForceEntriesWithResponse(ctx context.Context, params *ListBruteForceEntriesParams, ...) (*ListBruteForceEntriesResponse, error)
- func (c *ClientWithResponses) ListFilteredBruteForceEntriesWithBodyWithResponse(ctx context.Context, params *ListFilteredBruteForceEntriesParams, ...) (*ListFilteredBruteForceEntriesResponse, error)
- func (c *ClientWithResponses) ListFilteredBruteForceEntriesWithResponse(ctx context.Context, params *ListFilteredBruteForceEntriesParams, ...) (*ListFilteredBruteForceEntriesResponse, error)
- func (c *ClientWithResponses) ListOIDCSessionsWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*ListOIDCSessionsResponse, error)
- func (c *ClientWithResponses) LookupReputationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*LookupReputationResponse, error)
- func (c *ClientWithResponses) LookupReputationWithResponse(ctx context.Context, body LookupReputationJSONRequestBody, ...) (*LookupReputationResponse, error)
- func (c *ClientWithResponses) ManageReputationAllocationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ManageReputationAllocationResponse, error)
- func (c *ClientWithResponses) ManageReputationAllocationWithResponse(ctx context.Context, body ManageReputationAllocationJSONRequestBody, ...) (*ManageReputationAllocationResponse, error)
- func (c *ClientWithResponses) PutReputationOverrideWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PutReputationOverrideResponse, error)
- func (c *ClientWithResponses) PutReputationOverrideWithResponse(ctx context.Context, body PutReputationOverrideJSONRequestBody, ...) (*PutReputationOverrideResponse, error)
- type ClientWithResponsesInterface
- type DeleteOIDCSessionResponse
- func (r DeleteOIDCSessionResponse) ContentType() string
- func (r DeleteOIDCSessionResponse) GetBody() []byte
- func (r DeleteOIDCSessionResponse) GetJSON400() *Error
- func (r DeleteOIDCSessionResponse) GetJSON401() *Unauthorized
- func (r DeleteOIDCSessionResponse) GetJSON403() *Forbidden
- func (r DeleteOIDCSessionResponse) GetJSON500() *Error
- func (r DeleteOIDCSessionResponse) Status() string
- func (r DeleteOIDCSessionResponse) StatusCode() int
- type DeleteOIDCSessionsResponse
- func (r DeleteOIDCSessionsResponse) ContentType() string
- func (r DeleteOIDCSessionsResponse) GetBody() []byte
- func (r DeleteOIDCSessionsResponse) GetJSON400() *Error
- func (r DeleteOIDCSessionsResponse) GetJSON401() *Unauthorized
- func (r DeleteOIDCSessionsResponse) GetJSON403() *Forbidden
- func (r DeleteOIDCSessionsResponse) GetJSON500() *Error
- func (r DeleteOIDCSessionsResponse) Status() string
- func (r DeleteOIDCSessionsResponse) StatusCode() int
- type DeleteReputationOverrideJSONRequestBody
- type DeleteReputationOverrideResponse
- func (r DeleteReputationOverrideResponse) ContentType() string
- func (r DeleteReputationOverrideResponse) GetBody() []byte
- func (r DeleteReputationOverrideResponse) GetJSON200() *ReputationView
- func (r DeleteReputationOverrideResponse) GetJSON400() *ReputationManagementError
- func (r DeleteReputationOverrideResponse) GetJSON401() *ReputationManagementError
- func (r DeleteReputationOverrideResponse) GetJSON403() *ReputationManagementError
- func (r DeleteReputationOverrideResponse) GetJSON404() *ReputationManagementError
- func (r DeleteReputationOverrideResponse) GetJSON409() *ReputationManagementError
- func (r DeleteReputationOverrideResponse) GetJSON413() *ReputationManagementError
- func (r DeleteReputationOverrideResponse) GetJSON415() *ReputationManagementError
- func (r DeleteReputationOverrideResponse) GetJSON500() *ReputationManagementError
- func (r DeleteReputationOverrideResponse) GetJSON503() *ReputationManagementError
- func (r DeleteReputationOverrideResponse) GetJSON504() *ReputationManagementError
- func (r DeleteReputationOverrideResponse) Status() string
- func (r DeleteReputationOverrideResponse) StatusCode() int
- type DeleteReputationOverrideResponse200Headers
- type EnqueueBruteForceRuleFlushJSONRequestBody
- type EnqueueBruteForceRuleFlushResponse
- func (r EnqueueBruteForceRuleFlushResponse) ContentType() string
- func (r EnqueueBruteForceRuleFlushResponse) GetBody() []byte
- func (r EnqueueBruteForceRuleFlushResponse) GetJSON202() *AsyncAccepted
- func (r EnqueueBruteForceRuleFlushResponse) GetJSON400() *JSONValidationError
- func (r EnqueueBruteForceRuleFlushResponse) GetJSON401() *Unauthorized
- func (r EnqueueBruteForceRuleFlushResponse) GetJSON403() *Forbidden
- func (r EnqueueBruteForceRuleFlushResponse) GetJSON500() *Error
- func (r EnqueueBruteForceRuleFlushResponse) Status() string
- func (r EnqueueBruteForceRuleFlushResponse) StatusCode() int
- type EnqueueUserCacheFlushJSONRequestBody
- type EnqueueUserCacheFlushResponse
- func (r EnqueueUserCacheFlushResponse) ContentType() string
- func (r EnqueueUserCacheFlushResponse) GetBody() []byte
- func (r EnqueueUserCacheFlushResponse) GetJSON202() *AsyncAccepted
- func (r EnqueueUserCacheFlushResponse) GetJSON400() *JSONValidationError
- func (r EnqueueUserCacheFlushResponse) GetJSON401() *Unauthorized
- func (r EnqueueUserCacheFlushResponse) GetJSON403() *Forbidden
- func (r EnqueueUserCacheFlushResponse) GetJSON500() *Error
- func (r EnqueueUserCacheFlushResponse) Status() string
- func (r EnqueueUserCacheFlushResponse) StatusCode() int
- type Error
- type ErrorResponse
- type EvaluatePolicyDecisionJSONRequestBody
- type EvaluatePolicyDecisionResponse
- func (r EvaluatePolicyDecisionResponse) ContentType() string
- func (r EvaluatePolicyDecisionResponse) GetBody() []byte
- func (r EvaluatePolicyDecisionResponse) GetJSON200() *PolicyDecision
- func (r EvaluatePolicyDecisionResponse) GetJSON400() *PolicyBadRequest
- func (r EvaluatePolicyDecisionResponse) GetJSON401() *PolicyUnauthorized
- func (r EvaluatePolicyDecisionResponse) GetJSON403() *PolicyForbidden
- func (r EvaluatePolicyDecisionResponse) GetJSON413() *PolicyRequestTooLarge
- func (r EvaluatePolicyDecisionResponse) GetJSON415() *PolicyUnsupportedMediaType
- func (r EvaluatePolicyDecisionResponse) GetJSON429() *PolicyRateLimited
- func (r EvaluatePolicyDecisionResponse) GetJSON503() *PolicyUnavailable
- func (r EvaluatePolicyDecisionResponse) Status() string
- func (r EvaluatePolicyDecisionResponse) StatusCode() int
- type FieldError
- type FieldErrorResponse
- type FlushBruteForceRuleJSONRequestBody
- type FlushBruteForceRuleResponse
- func (r FlushBruteForceRuleResponse) ContentType() string
- func (r FlushBruteForceRuleResponse) GetBody() []byte
- func (r FlushBruteForceRuleResponse) GetJSON200() *BruteForceFlushResult
- func (r FlushBruteForceRuleResponse) GetJSON400() *JSONValidationError
- func (r FlushBruteForceRuleResponse) GetJSON401() *Unauthorized
- func (r FlushBruteForceRuleResponse) GetJSON403() *Forbidden
- func (r FlushBruteForceRuleResponse) GetJSON500() *Error
- func (r FlushBruteForceRuleResponse) Status() string
- func (r FlushBruteForceRuleResponse) StatusCode() int
- type FlushUserCacheJSONRequestBody
- type FlushUserCacheResponse
- func (r FlushUserCacheResponse) ContentType() string
- func (r FlushUserCacheResponse) GetBody() []byte
- func (r FlushUserCacheResponse) GetJSON200() *CacheFlushResult
- func (r FlushUserCacheResponse) GetJSON400() *JSONValidationError
- func (r FlushUserCacheResponse) GetJSON401() *Unauthorized
- func (r FlushUserCacheResponse) GetJSON403() *Forbidden
- func (r FlushUserCacheResponse) GetJSON500() *Error
- func (r FlushUserCacheResponse) Status() string
- func (r FlushUserCacheResponse) StatusCode() int
- type Forbidden
- type GetAsyncJobStatusResponse
- func (r GetAsyncJobStatusResponse) ContentType() string
- func (r GetAsyncJobStatusResponse) GetBody() []byte
- func (r GetAsyncJobStatusResponse) GetJSON200() *AsyncJobStatusResult
- func (r GetAsyncJobStatusResponse) GetJSON401() *Unauthorized
- func (r GetAsyncJobStatusResponse) GetJSON404() *NotFound
- func (r GetAsyncJobStatusResponse) GetJSON500() *Error
- func (r GetAsyncJobStatusResponse) Status() string
- func (r GetAsyncJobStatusResponse) StatusCode() int
- type GetOpenAPIJSONResponse
- type GetOpenAPIYAMLResponse
- type HttpRequestDoer
- type JSONValidationError
- func (t JSONValidationError) AsErrorResponse() (ErrorResponse, error)
- func (t JSONValidationError) AsFieldErrorResponse() (FieldErrorResponse, error)
- func (t *JSONValidationError) FromErrorResponse(v ErrorResponse) error
- func (t *JSONValidationError) FromFieldErrorResponse(v FieldErrorResponse) error
- func (t JSONValidationError) MarshalJSON() ([]byte, error)
- func (t *JSONValidationError) MergeErrorResponse(v ErrorResponse) error
- func (t *JSONValidationError) MergeFieldErrorResponse(v FieldErrorResponse) error
- func (t *JSONValidationError) UnmarshalJSON(b []byte) error
- type ListBruteForceEntriesParams
- type ListBruteForceEntriesResponse
- func (r ListBruteForceEntriesResponse) ContentType() string
- func (r ListBruteForceEntriesResponse) GetBody() []byte
- func (r ListBruteForceEntriesResponse) GetJSON200() *BruteForceListResult
- func (r ListBruteForceEntriesResponse) GetJSON401() *Unauthorized
- func (r ListBruteForceEntriesResponse) GetJSON403() *Forbidden
- func (r ListBruteForceEntriesResponse) GetJSON500() *Error
- func (r ListBruteForceEntriesResponse) Status() string
- func (r ListBruteForceEntriesResponse) StatusCode() int
- type ListFilteredBruteForceEntriesJSONRequestBody
- type ListFilteredBruteForceEntriesParams
- type ListFilteredBruteForceEntriesResponse
- func (r ListFilteredBruteForceEntriesResponse) ContentType() string
- func (r ListFilteredBruteForceEntriesResponse) GetBody() []byte
- func (r ListFilteredBruteForceEntriesResponse) GetJSON200() *BruteForceListResult
- func (r ListFilteredBruteForceEntriesResponse) GetJSON400() *JSONValidationError
- func (r ListFilteredBruteForceEntriesResponse) GetJSON401() *Unauthorized
- func (r ListFilteredBruteForceEntriesResponse) GetJSON403() *Forbidden
- func (r ListFilteredBruteForceEntriesResponse) GetJSON500() *Error
- func (r ListFilteredBruteForceEntriesResponse) Status() string
- func (r ListFilteredBruteForceEntriesResponse) StatusCode() int
- type ListOIDCSessionsResponse
- func (r ListOIDCSessionsResponse) ContentType() string
- func (r ListOIDCSessionsResponse) GetBody() []byte
- func (r ListOIDCSessionsResponse) GetJSON200() *OIDCSessions
- func (r ListOIDCSessionsResponse) GetJSON400() *Error
- func (r ListOIDCSessionsResponse) GetJSON401() *Unauthorized
- func (r ListOIDCSessionsResponse) GetJSON403() *Forbidden
- func (r ListOIDCSessionsResponse) GetJSON500() *Error
- func (r ListOIDCSessionsResponse) Status() string
- func (r ListOIDCSessionsResponse) StatusCode() int
- type LookupReputationJSONRequestBody
- type LookupReputationResponse
- func (r LookupReputationResponse) ContentType() string
- func (r LookupReputationResponse) GetBody() []byte
- func (r LookupReputationResponse) GetJSON200() *ReputationView
- func (r LookupReputationResponse) GetJSON400() *ReputationManagementError
- func (r LookupReputationResponse) GetJSON401() *ReputationManagementError
- func (r LookupReputationResponse) GetJSON403() *ReputationManagementError
- func (r LookupReputationResponse) GetJSON404() *ReputationManagementError
- func (r LookupReputationResponse) GetJSON409() *ReputationManagementError
- func (r LookupReputationResponse) GetJSON413() *ReputationManagementError
- func (r LookupReputationResponse) GetJSON415() *ReputationManagementError
- func (r LookupReputationResponse) GetJSON500() *ReputationManagementError
- func (r LookupReputationResponse) GetJSON503() *ReputationManagementError
- func (r LookupReputationResponse) GetJSON504() *ReputationManagementError
- func (r LookupReputationResponse) Status() string
- func (r LookupReputationResponse) StatusCode() int
- type LookupReputationResponse200Headers
- type ManageReputationAllocationJSONRequestBody
- type ManageReputationAllocationResponse
- func (r ManageReputationAllocationResponse) ContentType() string
- func (r ManageReputationAllocationResponse) GetBody() []byte
- func (r ManageReputationAllocationResponse) GetJSON200() *ReputationAllocationView
- func (r ManageReputationAllocationResponse) GetJSON400() *ReputationManagementError
- func (r ManageReputationAllocationResponse) GetJSON401() *ReputationManagementError
- func (r ManageReputationAllocationResponse) GetJSON403() *ReputationManagementError
- func (r ManageReputationAllocationResponse) GetJSON404() *ReputationManagementError
- func (r ManageReputationAllocationResponse) GetJSON409() *ReputationManagementError
- func (r ManageReputationAllocationResponse) GetJSON413() *ReputationManagementError
- func (r ManageReputationAllocationResponse) GetJSON415() *ReputationManagementError
- func (r ManageReputationAllocationResponse) GetJSON500() *ReputationManagementError
- func (r ManageReputationAllocationResponse) GetJSON503() *ReputationManagementError
- func (r ManageReputationAllocationResponse) GetJSON504() *ReputationManagementError
- func (r ManageReputationAllocationResponse) Status() string
- func (r ManageReputationAllocationResponse) StatusCode() int
- type NotFound
- type OIDCSessionSummary
- type OIDCSessions
- type PageLimit
- type PageOffset
- type PolicyAdvice
- type PolicyBadRequest
- type PolicyDecision
- type PolicyDecisionRequest
- type PolicyDecisionRequestVersion
- type PolicyDecisionResponse
- type PolicyDecisionResponseEffect
- type PolicyDiagnostics
- type PolicyEntity
- type PolicyEnvironment
- type PolicyError
- type PolicyEvaluationOptions
- type PolicyForbidden
- type PolicyObligation
- type PolicyRateLimited
- type PolicyRecord
- type PolicyRecordField
- type PolicyRecordFieldValue
- func (t PolicyRecordFieldValue) AsPolicyRecordFieldValue0() (PolicyRecordFieldValue0, error)
- func (t PolicyRecordFieldValue) AsPolicyRecordFieldValue1() (PolicyRecordFieldValue1, error)
- func (t PolicyRecordFieldValue) AsPolicyRecordFieldValue2() (PolicyRecordFieldValue2, error)
- func (t PolicyRecordFieldValue) AsPolicyRecordFieldValue3() (PolicyRecordFieldValue3, error)
- func (t PolicyRecordFieldValue) AsPolicyRecordFieldValue4() (PolicyRecordFieldValue4, error)
- func (t PolicyRecordFieldValue) AsPolicyRecordFieldValue5() (PolicyRecordFieldValue5, error)
- func (t PolicyRecordFieldValue) AsPolicyRecordFieldValue6() (PolicyRecordFieldValue6, error)
- func (t *PolicyRecordFieldValue) FromPolicyRecordFieldValue0(v PolicyRecordFieldValue0) error
- func (t *PolicyRecordFieldValue) FromPolicyRecordFieldValue1(v PolicyRecordFieldValue1) error
- func (t *PolicyRecordFieldValue) FromPolicyRecordFieldValue2(v PolicyRecordFieldValue2) error
- func (t *PolicyRecordFieldValue) FromPolicyRecordFieldValue3(v PolicyRecordFieldValue3) error
- func (t *PolicyRecordFieldValue) FromPolicyRecordFieldValue4(v PolicyRecordFieldValue4) error
- func (t *PolicyRecordFieldValue) FromPolicyRecordFieldValue5(v PolicyRecordFieldValue5) error
- func (t *PolicyRecordFieldValue) FromPolicyRecordFieldValue6(v PolicyRecordFieldValue6) error
- func (t PolicyRecordFieldValue) MarshalJSON() ([]byte, error)
- func (t *PolicyRecordFieldValue) MergePolicyRecordFieldValue0(v PolicyRecordFieldValue0) error
- func (t *PolicyRecordFieldValue) MergePolicyRecordFieldValue1(v PolicyRecordFieldValue1) error
- func (t *PolicyRecordFieldValue) MergePolicyRecordFieldValue2(v PolicyRecordFieldValue2) error
- func (t *PolicyRecordFieldValue) MergePolicyRecordFieldValue3(v PolicyRecordFieldValue3) error
- func (t *PolicyRecordFieldValue) MergePolicyRecordFieldValue4(v PolicyRecordFieldValue4) error
- func (t *PolicyRecordFieldValue) MergePolicyRecordFieldValue5(v PolicyRecordFieldValue5) error
- func (t *PolicyRecordFieldValue) MergePolicyRecordFieldValue6(v PolicyRecordFieldValue6) error
- func (t *PolicyRecordFieldValue) UnmarshalJSON(b []byte) error
- type PolicyRecordFieldValue0
- type PolicyRecordFieldValue1
- type PolicyRecordFieldValue2
- type PolicyRecordFieldValue3
- type PolicyRecordFieldValue4
- type PolicyRecordFieldValue5
- type PolicyRecordFieldValue6
- type PolicyRequestTooLarge
- type PolicyResponseValue
- type PolicyResponseValueMap
- type PolicyStatus
- type PolicyTarget
- type PolicyUnauthorized
- type PolicyUnavailable
- type PolicyUnsupportedMediaType
- type PolicyValidationDetail
- type PolicyValue
- func (t PolicyValue) AsPolicyValue0() (PolicyValue0, error)
- func (t PolicyValue) AsPolicyValue1() (PolicyValue1, error)
- func (t PolicyValue) AsPolicyValue2() (PolicyValue2, error)
- func (t PolicyValue) AsPolicyValue3() (PolicyValue3, error)
- func (t PolicyValue) AsPolicyValue4() (PolicyValue4, error)
- func (t PolicyValue) AsPolicyValue5() (PolicyValue5, error)
- func (t PolicyValue) AsPolicyValue6() (PolicyValue6, error)
- func (t PolicyValue) AsPolicyValue7() (PolicyValue7, error)
- func (t *PolicyValue) FromPolicyValue0(v PolicyValue0) error
- func (t *PolicyValue) FromPolicyValue1(v PolicyValue1) error
- func (t *PolicyValue) FromPolicyValue2(v PolicyValue2) error
- func (t *PolicyValue) FromPolicyValue3(v PolicyValue3) error
- func (t *PolicyValue) FromPolicyValue4(v PolicyValue4) error
- func (t *PolicyValue) FromPolicyValue5(v PolicyValue5) error
- func (t *PolicyValue) FromPolicyValue6(v PolicyValue6) error
- func (t *PolicyValue) FromPolicyValue7(v PolicyValue7) error
- func (t PolicyValue) MarshalJSON() ([]byte, error)
- func (t *PolicyValue) MergePolicyValue0(v PolicyValue0) error
- func (t *PolicyValue) MergePolicyValue1(v PolicyValue1) error
- func (t *PolicyValue) MergePolicyValue2(v PolicyValue2) error
- func (t *PolicyValue) MergePolicyValue3(v PolicyValue3) error
- func (t *PolicyValue) MergePolicyValue4(v PolicyValue4) error
- func (t *PolicyValue) MergePolicyValue5(v PolicyValue5) error
- func (t *PolicyValue) MergePolicyValue6(v PolicyValue6) error
- func (t *PolicyValue) MergePolicyValue7(v PolicyValue7) error
- func (t *PolicyValue) UnmarshalJSON(b []byte) error
- type PolicyValue0
- type PolicyValue1
- type PolicyValue2
- type PolicyValue3
- type PolicyValue4
- type PolicyValue5
- type PolicyValue6
- type PolicyValue7
- type PolicyValueMap
- type PutReputationOverrideJSONRequestBody
- type PutReputationOverrideResponse
- func (r PutReputationOverrideResponse) ContentType() string
- func (r PutReputationOverrideResponse) GetBody() []byte
- func (r PutReputationOverrideResponse) GetJSON200() *ReputationView
- func (r PutReputationOverrideResponse) GetJSON400() *ReputationManagementError
- func (r PutReputationOverrideResponse) GetJSON401() *ReputationManagementError
- func (r PutReputationOverrideResponse) GetJSON403() *ReputationManagementError
- func (r PutReputationOverrideResponse) GetJSON404() *ReputationManagementError
- func (r PutReputationOverrideResponse) GetJSON409() *ReputationManagementError
- func (r PutReputationOverrideResponse) GetJSON413() *ReputationManagementError
- func (r PutReputationOverrideResponse) GetJSON415() *ReputationManagementError
- func (r PutReputationOverrideResponse) GetJSON500() *ReputationManagementError
- func (r PutReputationOverrideResponse) GetJSON503() *ReputationManagementError
- func (r PutReputationOverrideResponse) GetJSON504() *ReputationManagementError
- func (r PutReputationOverrideResponse) Status() string
- func (r PutReputationOverrideResponse) StatusCode() int
- type PutReputationOverrideResponse200Headers
- type ReputationAllocationAudit
- type ReputationAllocationRequest
- func (t ReputationAllocationRequest) AsReputationAllocationRequest0() (ReputationAllocationRequest0, error)
- func (t ReputationAllocationRequest) AsReputationAllocationRequest1() (ReputationAllocationRequest1, error)
- func (t *ReputationAllocationRequest) FromReputationAllocationRequest0(v ReputationAllocationRequest0) error
- func (t *ReputationAllocationRequest) FromReputationAllocationRequest1(v ReputationAllocationRequest1) error
- func (t ReputationAllocationRequest) MarshalJSON() ([]byte, error)
- func (t *ReputationAllocationRequest) MergeReputationAllocationRequest0(v ReputationAllocationRequest0) error
- func (t *ReputationAllocationRequest) MergeReputationAllocationRequest1(v ReputationAllocationRequest1) error
- func (t *ReputationAllocationRequest) UnmarshalJSON(b []byte) error
- type ReputationAllocationRequest0
- type ReputationAllocationRequest0Action
- type ReputationAllocationRequest1
- type ReputationAllocationRequest1Action
- type ReputationAllocationView
- type ReputationAllocationViewMode
- type ReputationAudit
- type ReputationAuditKind
- type ReputationAuditOperation
- type ReputationAuditSchema
- type ReputationEvidence
- type ReputationEvidenceKind
- type ReputationEvidenceSlot
- type ReputationEvidenceState
- type ReputationLookupRequest
- type ReputationLookupRequestKind
- type ReputationManagementError
- type ReputationOverride
- type ReputationOverrideBand
- type ReputationOverrideDeleteRequest
- type ReputationOverrideDeleteRequestKind
- type ReputationOverrideDeleteRequestSlot
- type ReputationOverridePutRequest
- type ReputationOverridePutRequestBand
- type ReputationOverridePutRequestKind
- type ReputationOverridePutRequestSlot
- type ReputationProfile
- type ReputationProfileBand
- type ReputationProfileOverride
- type ReputationProfileState
- type ReputationScores
- type ReputationSourceClasses
- type ReputationView
- type ReputationViewKind
- type ReputationViewSchema
- type RequestEditorFn
- type ResultEnvelope
- type Unauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDeleteOIDCSessionRequest ¶
NewDeleteOIDCSessionRequest constructs an http.Request for the DeleteOIDCSession method
func NewDeleteOIDCSessionsRequest ¶
NewDeleteOIDCSessionsRequest constructs an http.Request for the DeleteOIDCSessions method
func NewDeleteReputationOverrideRequest ¶
func NewDeleteReputationOverrideRequest(server string, body DeleteReputationOverrideJSONRequestBody) (*http.Request, error)
NewDeleteReputationOverrideRequest calls the generic DeleteReputationOverride builder with application/json body
func NewDeleteReputationOverrideRequestWithBody ¶
func NewDeleteReputationOverrideRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewDeleteReputationOverrideRequestWithBody constructs an http.Request for the DeleteReputationOverride method, with any body, and a specified content type
func NewEnqueueBruteForceRuleFlushRequest ¶
func NewEnqueueBruteForceRuleFlushRequest(server string, body EnqueueBruteForceRuleFlushJSONRequestBody) (*http.Request, error)
NewEnqueueBruteForceRuleFlushRequest calls the generic EnqueueBruteForceRuleFlush builder with application/json body
func NewEnqueueBruteForceRuleFlushRequestWithBody ¶
func NewEnqueueBruteForceRuleFlushRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewEnqueueBruteForceRuleFlushRequestWithBody constructs an http.Request for the EnqueueBruteForceRuleFlush method, with any body, and a specified content type
func NewEnqueueUserCacheFlushRequest ¶
func NewEnqueueUserCacheFlushRequest(server string, body EnqueueUserCacheFlushJSONRequestBody) (*http.Request, error)
NewEnqueueUserCacheFlushRequest calls the generic EnqueueUserCacheFlush builder with application/json body
func NewEnqueueUserCacheFlushRequestWithBody ¶
func NewEnqueueUserCacheFlushRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewEnqueueUserCacheFlushRequestWithBody constructs an http.Request for the EnqueueUserCacheFlush method, with any body, and a specified content type
func NewEvaluatePolicyDecisionRequest ¶
func NewEvaluatePolicyDecisionRequest(server string, body EvaluatePolicyDecisionJSONRequestBody) (*http.Request, error)
NewEvaluatePolicyDecisionRequest calls the generic EvaluatePolicyDecision builder with application/json body
func NewEvaluatePolicyDecisionRequestWithBody ¶
func NewEvaluatePolicyDecisionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewEvaluatePolicyDecisionRequestWithBody constructs an http.Request for the EvaluatePolicyDecision method, with any body, and a specified content type
func NewFlushBruteForceRuleRequest ¶
func NewFlushBruteForceRuleRequest(server string, body FlushBruteForceRuleJSONRequestBody) (*http.Request, error)
NewFlushBruteForceRuleRequest calls the generic FlushBruteForceRule builder with application/json body
func NewFlushBruteForceRuleRequestWithBody ¶
func NewFlushBruteForceRuleRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewFlushBruteForceRuleRequestWithBody constructs an http.Request for the FlushBruteForceRule method, with any body, and a specified content type
func NewFlushUserCacheRequest ¶
func NewFlushUserCacheRequest(server string, body FlushUserCacheJSONRequestBody) (*http.Request, error)
NewFlushUserCacheRequest calls the generic FlushUserCache builder with application/json body
func NewFlushUserCacheRequestWithBody ¶
func NewFlushUserCacheRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewFlushUserCacheRequestWithBody constructs an http.Request for the FlushUserCache method, with any body, and a specified content type
func NewGetAsyncJobStatusRequest ¶
NewGetAsyncJobStatusRequest constructs an http.Request for the GetAsyncJobStatus method
func NewGetOpenAPIJSONRequest ¶
NewGetOpenAPIJSONRequest constructs an http.Request for the GetOpenAPIJSON method
func NewGetOpenAPIYAMLRequest ¶
NewGetOpenAPIYAMLRequest constructs an http.Request for the GetOpenAPIYAML method
func NewListBruteForceEntriesRequest ¶
func NewListBruteForceEntriesRequest(server string, params *ListBruteForceEntriesParams) (*http.Request, error)
NewListBruteForceEntriesRequest constructs an http.Request for the ListBruteForceEntries method
func NewListFilteredBruteForceEntriesRequest ¶
func NewListFilteredBruteForceEntriesRequest(server string, params *ListFilteredBruteForceEntriesParams, body ListFilteredBruteForceEntriesJSONRequestBody) (*http.Request, error)
NewListFilteredBruteForceEntriesRequest calls the generic ListFilteredBruteForceEntries builder with application/json body
func NewListFilteredBruteForceEntriesRequestWithBody ¶
func NewListFilteredBruteForceEntriesRequestWithBody(server string, params *ListFilteredBruteForceEntriesParams, contentType string, body io.Reader) (*http.Request, error)
NewListFilteredBruteForceEntriesRequestWithBody constructs an http.Request for the ListFilteredBruteForceEntries method, with any body, and a specified content type
func NewListOIDCSessionsRequest ¶
NewListOIDCSessionsRequest constructs an http.Request for the ListOIDCSessions method
func NewLookupReputationRequest ¶
func NewLookupReputationRequest(server string, body LookupReputationJSONRequestBody) (*http.Request, error)
NewLookupReputationRequest calls the generic LookupReputation builder with application/json body
func NewLookupReputationRequestWithBody ¶
func NewLookupReputationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewLookupReputationRequestWithBody constructs an http.Request for the LookupReputation method, with any body, and a specified content type
func NewManageReputationAllocationRequest ¶
func NewManageReputationAllocationRequest(server string, body ManageReputationAllocationJSONRequestBody) (*http.Request, error)
NewManageReputationAllocationRequest calls the generic ManageReputationAllocation builder with application/json body
func NewManageReputationAllocationRequestWithBody ¶
func NewManageReputationAllocationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewManageReputationAllocationRequestWithBody constructs an http.Request for the ManageReputationAllocation method, with any body, and a specified content type
func NewPutReputationOverrideRequest ¶
func NewPutReputationOverrideRequest(server string, body PutReputationOverrideJSONRequestBody) (*http.Request, error)
NewPutReputationOverrideRequest calls the generic PutReputationOverride builder with application/json body
func NewPutReputationOverrideRequestWithBody ¶
func NewPutReputationOverrideRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPutReputationOverrideRequestWithBody constructs an http.Request for the PutReputationOverride method, with any body, and a specified content type
Types ¶
type AsyncAccepted ¶
type AsyncAccepted = AsyncAcceptedResult
AsyncAccepted defines model for AsyncAccepted.
type AsyncAcceptedPayload ¶
type AsyncAcceptedPayload struct {
JobId string `json:"jobId"`
// Status The initial state returned immediately after the job is accepted.
Status AsyncAcceptedPayloadStatus `json:"status"`
}
AsyncAcceptedPayload defines model for AsyncAcceptedPayload.
type AsyncAcceptedPayloadStatus ¶
type AsyncAcceptedPayloadStatus string
AsyncAcceptedPayloadStatus The initial state returned immediately after the job is accepted.
const (
AsyncAcceptedStatusQueued AsyncAcceptedPayloadStatus = "QUEUED"
)
Defines values for AsyncAcceptedPayloadStatus.
func (AsyncAcceptedPayloadStatus) Valid ¶
func (e AsyncAcceptedPayloadStatus) Valid() bool
Valid indicates whether the value is a known member of the AsyncAcceptedPayloadStatus enum.
type AsyncAcceptedResult ¶
type AsyncAcceptedResult struct {
Object string `json:"object"`
Operation string `json:"operation"`
Result AsyncAcceptedPayload `json:"result"`
Session string `json:"session"`
}
AsyncAcceptedResult defines model for AsyncAcceptedResult.
type AsyncJobStatusPayload ¶
type AsyncJobStatusPayload struct {
CreatedAt *string `json:"createdAt,omitempty"`
Error *string `json:"error,omitempty"`
FinishedAt *string `json:"finishedAt,omitempty"`
JobId *string `json:"jobId,omitempty"`
ResultCount *string `json:"resultCount,omitempty"`
StartedAt *string `json:"startedAt,omitempty"`
// Status Current async job lifecycle state.
Status *AsyncJobStatusPayloadStatus `json:"status,omitempty"`
Type *string `json:"type,omitempty"`
}
AsyncJobStatusPayload defines model for AsyncJobStatusPayload.
type AsyncJobStatusPayloadStatus ¶
type AsyncJobStatusPayloadStatus string
AsyncJobStatusPayloadStatus Current async job lifecycle state.
const ( AsyncJobStatusDone AsyncJobStatusPayloadStatus = "DONE" AsyncJobStatusError AsyncJobStatusPayloadStatus = "ERROR" AsyncJobStatusInProgress AsyncJobStatusPayloadStatus = "INPROGRESS" AsyncJobStatusQueued AsyncJobStatusPayloadStatus = "QUEUED" )
Defines values for AsyncJobStatusPayloadStatus.
func (AsyncJobStatusPayloadStatus) Valid ¶
func (e AsyncJobStatusPayloadStatus) Valid() bool
Valid indicates whether the value is a known member of the AsyncJobStatusPayloadStatus enum.
type AsyncJobStatusResult ¶
type AsyncJobStatusResult struct {
Object string `json:"object"`
Operation string `json:"operation"`
Result AsyncJobStatusPayload `json:"result"`
Session string `json:"session"`
}
AsyncJobStatusResult defines model for AsyncJobStatusResult.
type BruteForceFilterRequest ¶
type BruteForceFilterRequest struct {
Accounts *[]string `json:"accounts,omitempty"`
IpAddresses *[]string `json:"ip_addresses,omitempty"`
}
BruteForceFilterRequest defines model for BruteForceFilterRequest.
type BruteForceFlushPayload ¶
type BruteForceFlushPayload struct {
IpAddress *string `json:"ip_address,omitempty"`
OidcCid *string `json:"oidc_cid,omitempty"`
Protocol *string `json:"protocol,omitempty"`
RemovedKeys *[]string `json:"removed_keys,omitempty"`
RuleName *string `json:"rule_name,omitempty"`
Status *string `json:"status,omitempty"`
}
BruteForceFlushPayload defines model for BruteForceFlushPayload.
type BruteForceFlushRequest ¶
type BruteForceFlushRequest struct {
IpAddress string `json:"ip_address"`
OidcCid *string `json:"oidc_cid,omitempty"`
Protocol *string `json:"protocol,omitempty"`
RuleName string `json:"rule_name"`
}
BruteForceFlushRequest defines model for BruteForceFlushRequest.
type BruteForceFlushResult ¶
type BruteForceFlushResult struct {
Object string `json:"object"`
Operation string `json:"operation"`
Result BruteForceFlushPayload `json:"result"`
Session string `json:"session"`
}
BruteForceFlushResult defines model for BruteForceFlushResult.
type BruteForceListResult ¶
type BruteForceListResult struct {
Object string `json:"object"`
Operation string `json:"operation"`
Result []interface{} `json:"result"`
Session string `json:"session"`
}
BruteForceListResult defines model for BruteForceListResult.
type CacheFlushPayload ¶
type CacheFlushPayload struct {
RemovedKeys *[]string `json:"removed_keys,omitempty"`
Status *string `json:"status,omitempty"`
User *string `json:"user,omitempty"`
}
CacheFlushPayload defines model for CacheFlushPayload.
type CacheFlushRequest ¶
type CacheFlushRequest struct {
User string `json:"user"`
}
CacheFlushRequest defines model for CacheFlushRequest.
type CacheFlushResult ¶
type CacheFlushResult struct {
Object string `json:"object"`
Operation string `json:"operation"`
Result CacheFlushPayload `json:"result"`
Session string `json:"session"`
}
CacheFlushResult defines model for CacheFlushResult.
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) DeleteOIDCSession ¶
func (c *Client) DeleteOIDCSession(ctx context.Context, userId string, token string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteOIDCSession Delete one OIDC session for a user.
Corresponds with DELETE /api/v1/oidc/sessions/{user_id}/{token} (the `DeleteOIDCSession` operationId).
func (*Client) DeleteOIDCSessions ¶
func (c *Client) DeleteOIDCSessions(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteOIDCSessions Delete all OIDC sessions for a user.
Corresponds with DELETE /api/v1/oidc/sessions/{user_id} (the `DeleteOIDCSessions` operationId).
func (*Client) DeleteReputationOverride ¶
func (c *Client) DeleteReputationOverride(ctx context.Context, body DeleteReputationOverrideJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteReputationOverride Remove one selected operator override revision.
Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.
Takes a body of the `application/json` content type.
Corresponds with DELETE /api/v1/custom/reputation/override (the `DeleteReputationOverride` operationId).
func (*Client) DeleteReputationOverrideWithBody ¶
func (c *Client) DeleteReputationOverrideWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteReputationOverrideWithBody Remove one selected operator override revision.
Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.
Takes any type of body and a specified content type.
Corresponds with DELETE /api/v1/custom/reputation/override (the `DeleteReputationOverride` operationId).
func (*Client) EnqueueBruteForceRuleFlush ¶
func (c *Client) EnqueueBruteForceRuleFlush(ctx context.Context, body EnqueueBruteForceRuleFlushJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
EnqueueBruteForceRuleFlush Enqueue an asynchronous brute-force rule flush.
Takes a body of the `application/json` content type.
Corresponds with DELETE /api/v1/bruteforce/flush/async (the `EnqueueBruteForceRuleFlush` operationId).
func (*Client) EnqueueBruteForceRuleFlushWithBody ¶
func (c *Client) EnqueueBruteForceRuleFlushWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EnqueueBruteForceRuleFlushWithBody Enqueue an asynchronous brute-force rule flush.
Takes any type of body and a specified content type.
Corresponds with DELETE /api/v1/bruteforce/flush/async (the `EnqueueBruteForceRuleFlush` operationId).
func (*Client) EnqueueUserCacheFlush ¶
func (c *Client) EnqueueUserCacheFlush(ctx context.Context, body EnqueueUserCacheFlushJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
EnqueueUserCacheFlush Enqueue an asynchronous user cache flush.
Takes a body of the `application/json` content type.
Corresponds with DELETE /api/v1/cache/flush/async (the `EnqueueUserCacheFlush` operationId).
func (*Client) EnqueueUserCacheFlushWithBody ¶
func (c *Client) EnqueueUserCacheFlushWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EnqueueUserCacheFlushWithBody Enqueue an asynchronous user cache flush.
Takes any type of body and a specified content type.
Corresponds with DELETE /api/v1/cache/flush/async (the `EnqueueUserCacheFlush` operationId).
func (*Client) EvaluatePolicyDecision ¶
func (c *Client) EvaluatePolicyDecision(ctx context.Context, body EvaluatePolicyDecisionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
EvaluatePolicyDecision Evaluate one Policy decision.
Evaluates exactly one admitted Policy request. Responses are never cacheable and do not expose retry, replay, cache, or outcome-reporting controls.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/policy/decisions (the `EvaluatePolicyDecision` operationId).
func (*Client) EvaluatePolicyDecisionWithBody ¶
func (c *Client) EvaluatePolicyDecisionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EvaluatePolicyDecisionWithBody Evaluate one Policy decision.
Evaluates exactly one admitted Policy request. Responses are never cacheable and do not expose retry, replay, cache, or outcome-reporting controls.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/policy/decisions (the `EvaluatePolicyDecision` operationId).
func (*Client) FlushBruteForceRule ¶
func (c *Client) FlushBruteForceRule(ctx context.Context, body FlushBruteForceRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
FlushBruteForceRule Flush brute-force data for a configured rule.
Takes a body of the `application/json` content type.
Corresponds with DELETE /api/v1/bruteforce/flush (the `FlushBruteForceRule` operationId).
func (*Client) FlushBruteForceRuleWithBody ¶
func (c *Client) FlushBruteForceRuleWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
FlushBruteForceRuleWithBody Flush brute-force data for a configured rule.
Takes any type of body and a specified content type.
Corresponds with DELETE /api/v1/bruteforce/flush (the `FlushBruteForceRule` operationId).
func (*Client) FlushUserCache ¶
func (c *Client) FlushUserCache(ctx context.Context, body FlushUserCacheJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
FlushUserCache Flush authentication cache entries for a user.
Takes a body of the `application/json` content type.
Corresponds with DELETE /api/v1/cache/flush (the `FlushUserCache` operationId).
func (*Client) FlushUserCacheWithBody ¶
func (c *Client) FlushUserCacheWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
FlushUserCacheWithBody Flush authentication cache entries for a user.
Takes any type of body and a specified content type.
Corresponds with DELETE /api/v1/cache/flush (the `FlushUserCache` operationId).
func (*Client) GetAsyncJobStatus ¶
func (c *Client) GetAsyncJobStatus(ctx context.Context, jobId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAsyncJobStatus Get the status of an asynchronous backchannel job.
Corresponds with GET /api/v1/async/jobs/{jobId} (the `GetAsyncJobStatus` operationId).
func (*Client) GetOpenAPIJSON ¶
func (c *Client) GetOpenAPIJSON(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetOpenAPIJSON Get the OpenAPI document as JSON.
Corresponds with GET /api/v1/openapi.json (the `GetOpenAPIJSON` operationId).
func (*Client) GetOpenAPIYAML ¶
func (c *Client) GetOpenAPIYAML(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetOpenAPIYAML Get the OpenAPI document as YAML.
Corresponds with GET /api/v1/openapi.yaml (the `GetOpenAPIYAML` operationId).
func (*Client) ListBruteForceEntries ¶
func (c *Client) ListBruteForceEntries(ctx context.Context, params *ListBruteForceEntriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListBruteForceEntries List active brute-force bans and blocked accounts.
Corresponds with GET /api/v1/bruteforce/list (the `ListBruteForceEntries` operationId).
func (*Client) ListFilteredBruteForceEntries ¶
func (c *Client) ListFilteredBruteForceEntries(ctx context.Context, params *ListFilteredBruteForceEntriesParams, body ListFilteredBruteForceEntriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ListFilteredBruteForceEntries List active brute-force data with optional account and IP filters.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/bruteforce/list (the `ListFilteredBruteForceEntries` operationId).
func (*Client) ListFilteredBruteForceEntriesWithBody ¶
func (c *Client) ListFilteredBruteForceEntriesWithBody(ctx context.Context, params *ListFilteredBruteForceEntriesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ListFilteredBruteForceEntriesWithBody List active brute-force data with optional account and IP filters.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/bruteforce/list (the `ListFilteredBruteForceEntries` operationId).
func (*Client) ListOIDCSessions ¶
func (c *Client) ListOIDCSessions(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
ListOIDCSessions List active OIDC sessions for a user.
Corresponds with GET /api/v1/oidc/sessions/{user_id} (the `ListOIDCSessions` operationId).
func (*Client) LookupReputation ¶
func (c *Client) LookupReputation(ctx context.Context, body LookupReputationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
LookupReputation Inspect one exact reputation subject.
Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/custom/reputation/lookup (the `LookupReputation` operationId).
func (*Client) LookupReputationWithBody ¶
func (c *Client) LookupReputationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
LookupReputationWithBody Inspect one exact reputation subject.
Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/custom/reputation/lookup (the `LookupReputation` operationId).
func (*Client) ManageReputationAllocation ¶
func (c *Client) ManageReputationAllocation(ctx context.Context, body ManageReputationAllocationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ManageReputationAllocation Inspect or fence the current allocation generation.
Requires backchannel bearer nauthilus:admin. Status reads the primary and all 16 shard fences without mutation. Drain requires audit fields and fences writers before starting the retained maximum event lifetime. Retry uses the identical audit fields and actor; a different in-progress change conflicts. After a process restart, allocation_maintenance must be explicitly enabled with the original key and generation to retain administration without activating writers. Status and retry remain available while writers are unready. Do not rotate before every shard is fenced and observed_at is at least drained_at plus retention. This API never changes keys, generations, retention or learned evidence.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/custom/reputation/allocation (the `ManageReputationAllocation` operationId).
func (*Client) ManageReputationAllocationWithBody ¶
func (c *Client) ManageReputationAllocationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ManageReputationAllocationWithBody Inspect or fence the current allocation generation.
Requires backchannel bearer nauthilus:admin. Status reads the primary and all 16 shard fences without mutation. Drain requires audit fields and fences writers before starting the retained maximum event lifetime. Retry uses the identical audit fields and actor; a different in-progress change conflicts. After a process restart, allocation_maintenance must be explicitly enabled with the original key and generation to retain administration without activating writers. Status and retry remain available while writers are unready. Do not rotate before every shard is fenced and observed_at is at least drained_at plus retention. This API never changes keys, generations, retention or learned evidence.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/custom/reputation/allocation (the `ManageReputationAllocation` operationId).
func (*Client) PutReputationOverride ¶
func (c *Client) PutReputationOverride(ctx context.Context, body PutReputationOverrideJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PutReputationOverride Create or replace one audited operator override.
Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.
Takes a body of the `application/json` content type.
Corresponds with PUT /api/v1/custom/reputation/override (the `PutReputationOverride` operationId).
func (*Client) PutReputationOverrideWithBody ¶
func (c *Client) PutReputationOverrideWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutReputationOverrideWithBody Create or replace one audited operator override.
Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.
Takes any type of body and a specified content type.
Corresponds with PUT /api/v1/custom/reputation/override (the `PutReputationOverride` operationId).
type ClientInterface ¶
type ClientInterface interface {
// GetAsyncJobStatus Get the status of an asynchronous backchannel job.
//
// Corresponds with GET /api/v1/async/jobs/{jobId} (the `GetAsyncJobStatus` operationId).
GetAsyncJobStatus(ctx context.Context, jobId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// FlushBruteForceRuleWithBody Flush brute-force data for a configured rule.
//
// Takes any type of body and a specified content type.
//
// Corresponds with DELETE /api/v1/bruteforce/flush (the `FlushBruteForceRule` operationId).
FlushBruteForceRuleWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// FlushBruteForceRule Flush brute-force data for a configured rule.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with DELETE /api/v1/bruteforce/flush (the `FlushBruteForceRule` operationId).
FlushBruteForceRule(ctx context.Context, body FlushBruteForceRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// EnqueueBruteForceRuleFlushWithBody Enqueue an asynchronous brute-force rule flush.
//
// Takes any type of body and a specified content type.
//
// Corresponds with DELETE /api/v1/bruteforce/flush/async (the `EnqueueBruteForceRuleFlush` operationId).
EnqueueBruteForceRuleFlushWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// EnqueueBruteForceRuleFlush Enqueue an asynchronous brute-force rule flush.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with DELETE /api/v1/bruteforce/flush/async (the `EnqueueBruteForceRuleFlush` operationId).
EnqueueBruteForceRuleFlush(ctx context.Context, body EnqueueBruteForceRuleFlushJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListBruteForceEntries List active brute-force bans and blocked accounts.
//
// Corresponds with GET /api/v1/bruteforce/list (the `ListBruteForceEntries` operationId).
ListBruteForceEntries(ctx context.Context, params *ListBruteForceEntriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListFilteredBruteForceEntriesWithBody List active brute-force data with optional account and IP filters.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/bruteforce/list (the `ListFilteredBruteForceEntries` operationId).
ListFilteredBruteForceEntriesWithBody(ctx context.Context, params *ListFilteredBruteForceEntriesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListFilteredBruteForceEntries List active brute-force data with optional account and IP filters.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/bruteforce/list (the `ListFilteredBruteForceEntries` operationId).
ListFilteredBruteForceEntries(ctx context.Context, params *ListFilteredBruteForceEntriesParams, body ListFilteredBruteForceEntriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// FlushUserCacheWithBody Flush authentication cache entries for a user.
//
// Takes any type of body and a specified content type.
//
// Corresponds with DELETE /api/v1/cache/flush (the `FlushUserCache` operationId).
FlushUserCacheWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// FlushUserCache Flush authentication cache entries for a user.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with DELETE /api/v1/cache/flush (the `FlushUserCache` operationId).
FlushUserCache(ctx context.Context, body FlushUserCacheJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// EnqueueUserCacheFlushWithBody Enqueue an asynchronous user cache flush.
//
// Takes any type of body and a specified content type.
//
// Corresponds with DELETE /api/v1/cache/flush/async (the `EnqueueUserCacheFlush` operationId).
EnqueueUserCacheFlushWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// EnqueueUserCacheFlush Enqueue an asynchronous user cache flush.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with DELETE /api/v1/cache/flush/async (the `EnqueueUserCacheFlush` operationId).
EnqueueUserCacheFlush(ctx context.Context, body EnqueueUserCacheFlushJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ManageReputationAllocationWithBody Inspect or fence the current allocation generation.
//
// Requires backchannel bearer nauthilus:admin. Status reads the primary and all 16 shard fences without mutation. Drain requires audit fields and fences writers before starting the retained maximum event lifetime. Retry uses the identical audit fields and actor; a different in-progress change conflicts. After a process restart, allocation_maintenance must be explicitly enabled with the original key and generation to retain administration without activating writers. Status and retry remain available while writers are unready. Do not rotate before every shard is fenced and observed_at is at least drained_at plus retention. This API never changes keys, generations, retention or learned evidence.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/custom/reputation/allocation (the `ManageReputationAllocation` operationId).
ManageReputationAllocationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ManageReputationAllocation Inspect or fence the current allocation generation.
//
// Requires backchannel bearer nauthilus:admin. Status reads the primary and all 16 shard fences without mutation. Drain requires audit fields and fences writers before starting the retained maximum event lifetime. Retry uses the identical audit fields and actor; a different in-progress change conflicts. After a process restart, allocation_maintenance must be explicitly enabled with the original key and generation to retain administration without activating writers. Status and retry remain available while writers are unready. Do not rotate before every shard is fenced and observed_at is at least drained_at plus retention. This API never changes keys, generations, retention or learned evidence.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/custom/reputation/allocation (the `ManageReputationAllocation` operationId).
ManageReputationAllocation(ctx context.Context, body ManageReputationAllocationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// LookupReputationWithBody Inspect one exact reputation subject.
//
// Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/custom/reputation/lookup (the `LookupReputation` operationId).
LookupReputationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// LookupReputation Inspect one exact reputation subject.
//
// Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/custom/reputation/lookup (the `LookupReputation` operationId).
LookupReputation(ctx context.Context, body LookupReputationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteReputationOverrideWithBody Remove one selected operator override revision.
//
// Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.
//
// Takes any type of body and a specified content type.
//
// Corresponds with DELETE /api/v1/custom/reputation/override (the `DeleteReputationOverride` operationId).
DeleteReputationOverrideWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteReputationOverride Remove one selected operator override revision.
//
// Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with DELETE /api/v1/custom/reputation/override (the `DeleteReputationOverride` operationId).
DeleteReputationOverride(ctx context.Context, body DeleteReputationOverrideJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutReputationOverrideWithBody Create or replace one audited operator override.
//
// Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/v1/custom/reputation/override (the `PutReputationOverride` operationId).
PutReputationOverrideWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutReputationOverride Create or replace one audited operator override.
//
// Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/v1/custom/reputation/override (the `PutReputationOverride` operationId).
PutReputationOverride(ctx context.Context, body PutReputationOverrideJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteOIDCSessions Delete all OIDC sessions for a user.
//
// Corresponds with DELETE /api/v1/oidc/sessions/{user_id} (the `DeleteOIDCSessions` operationId).
DeleteOIDCSessions(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListOIDCSessions List active OIDC sessions for a user.
//
// Corresponds with GET /api/v1/oidc/sessions/{user_id} (the `ListOIDCSessions` operationId).
ListOIDCSessions(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteOIDCSession Delete one OIDC session for a user.
//
// Corresponds with DELETE /api/v1/oidc/sessions/{user_id}/{token} (the `DeleteOIDCSession` operationId).
DeleteOIDCSession(ctx context.Context, userId string, token string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetOpenAPIJSON Get the OpenAPI document as JSON.
//
// Corresponds with GET /api/v1/openapi.json (the `GetOpenAPIJSON` operationId).
GetOpenAPIJSON(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetOpenAPIYAML Get the OpenAPI document as YAML.
//
// Corresponds with GET /api/v1/openapi.yaml (the `GetOpenAPIYAML` operationId).
GetOpenAPIYAML(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// EvaluatePolicyDecisionWithBody Evaluate one Policy decision.
//
// Evaluates exactly one admitted Policy request. Responses are never cacheable and do not expose retry, replay, cache, or outcome-reporting controls.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/policy/decisions (the `EvaluatePolicyDecision` operationId).
EvaluatePolicyDecisionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// EvaluatePolicyDecision Evaluate one Policy decision.
//
// Evaluates exactly one admitted Policy request. Responses are never cacheable and do not expose retry, replay, cache, or outcome-reporting controls.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/policy/decisions (the `EvaluatePolicyDecision` operationId).
EvaluatePolicyDecision(ctx context.Context, body EvaluatePolicyDecisionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) DeleteOIDCSessionWithResponse ¶
func (c *ClientWithResponses) DeleteOIDCSessionWithResponse(ctx context.Context, userId string, token string, reqEditors ...RequestEditorFn) (*DeleteOIDCSessionResponse, error)
DeleteOIDCSessionWithResponse Delete one OIDC session for a user.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/oidc/sessions/{user_id}/{token} (the `DeleteOIDCSession` operationId).
func (*ClientWithResponses) DeleteOIDCSessionsWithResponse ¶
func (c *ClientWithResponses) DeleteOIDCSessionsWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*DeleteOIDCSessionsResponse, error)
DeleteOIDCSessionsWithResponse Delete all OIDC sessions for a user.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/oidc/sessions/{user_id} (the `DeleteOIDCSessions` operationId).
func (*ClientWithResponses) DeleteReputationOverrideWithBodyWithResponse ¶
func (c *ClientWithResponses) DeleteReputationOverrideWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteReputationOverrideResponse, error)
DeleteReputationOverrideWithBodyWithResponse Remove one selected operator override revision.
Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/custom/reputation/override (the `DeleteReputationOverride` operationId).
func (*ClientWithResponses) DeleteReputationOverrideWithResponse ¶
func (c *ClientWithResponses) DeleteReputationOverrideWithResponse(ctx context.Context, body DeleteReputationOverrideJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteReputationOverrideResponse, error)
DeleteReputationOverrideWithResponse Remove one selected operator override revision.
Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/custom/reputation/override (the `DeleteReputationOverride` operationId).
func (*ClientWithResponses) EnqueueBruteForceRuleFlushWithBodyWithResponse ¶
func (c *ClientWithResponses) EnqueueBruteForceRuleFlushWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EnqueueBruteForceRuleFlushResponse, error)
EnqueueBruteForceRuleFlushWithBodyWithResponse Enqueue an asynchronous brute-force rule flush.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/bruteforce/flush/async (the `EnqueueBruteForceRuleFlush` operationId).
func (*ClientWithResponses) EnqueueBruteForceRuleFlushWithResponse ¶
func (c *ClientWithResponses) EnqueueBruteForceRuleFlushWithResponse(ctx context.Context, body EnqueueBruteForceRuleFlushJSONRequestBody, reqEditors ...RequestEditorFn) (*EnqueueBruteForceRuleFlushResponse, error)
EnqueueBruteForceRuleFlushWithResponse Enqueue an asynchronous brute-force rule flush.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/bruteforce/flush/async (the `EnqueueBruteForceRuleFlush` operationId).
func (*ClientWithResponses) EnqueueUserCacheFlushWithBodyWithResponse ¶
func (c *ClientWithResponses) EnqueueUserCacheFlushWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EnqueueUserCacheFlushResponse, error)
EnqueueUserCacheFlushWithBodyWithResponse Enqueue an asynchronous user cache flush.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/cache/flush/async (the `EnqueueUserCacheFlush` operationId).
func (*ClientWithResponses) EnqueueUserCacheFlushWithResponse ¶
func (c *ClientWithResponses) EnqueueUserCacheFlushWithResponse(ctx context.Context, body EnqueueUserCacheFlushJSONRequestBody, reqEditors ...RequestEditorFn) (*EnqueueUserCacheFlushResponse, error)
EnqueueUserCacheFlushWithResponse Enqueue an asynchronous user cache flush.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/cache/flush/async (the `EnqueueUserCacheFlush` operationId).
func (*ClientWithResponses) EvaluatePolicyDecisionWithBodyWithResponse ¶
func (c *ClientWithResponses) EvaluatePolicyDecisionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvaluatePolicyDecisionResponse, error)
EvaluatePolicyDecisionWithBodyWithResponse Evaluate one Policy decision.
Evaluates exactly one admitted Policy request. Responses are never cacheable and do not expose retry, replay, cache, or outcome-reporting controls.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/policy/decisions (the `EvaluatePolicyDecision` operationId).
func (*ClientWithResponses) EvaluatePolicyDecisionWithResponse ¶
func (c *ClientWithResponses) EvaluatePolicyDecisionWithResponse(ctx context.Context, body EvaluatePolicyDecisionJSONRequestBody, reqEditors ...RequestEditorFn) (*EvaluatePolicyDecisionResponse, error)
EvaluatePolicyDecisionWithResponse Evaluate one Policy decision.
Evaluates exactly one admitted Policy request. Responses are never cacheable and do not expose retry, replay, cache, or outcome-reporting controls.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/policy/decisions (the `EvaluatePolicyDecision` operationId).
func (*ClientWithResponses) FlushBruteForceRuleWithBodyWithResponse ¶
func (c *ClientWithResponses) FlushBruteForceRuleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FlushBruteForceRuleResponse, error)
FlushBruteForceRuleWithBodyWithResponse Flush brute-force data for a configured rule.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/bruteforce/flush (the `FlushBruteForceRule` operationId).
func (*ClientWithResponses) FlushBruteForceRuleWithResponse ¶
func (c *ClientWithResponses) FlushBruteForceRuleWithResponse(ctx context.Context, body FlushBruteForceRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*FlushBruteForceRuleResponse, error)
FlushBruteForceRuleWithResponse Flush brute-force data for a configured rule.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/bruteforce/flush (the `FlushBruteForceRule` operationId).
func (*ClientWithResponses) FlushUserCacheWithBodyWithResponse ¶
func (c *ClientWithResponses) FlushUserCacheWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FlushUserCacheResponse, error)
FlushUserCacheWithBodyWithResponse Flush authentication cache entries for a user.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/cache/flush (the `FlushUserCache` operationId).
func (*ClientWithResponses) FlushUserCacheWithResponse ¶
func (c *ClientWithResponses) FlushUserCacheWithResponse(ctx context.Context, body FlushUserCacheJSONRequestBody, reqEditors ...RequestEditorFn) (*FlushUserCacheResponse, error)
FlushUserCacheWithResponse Flush authentication cache entries for a user.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/cache/flush (the `FlushUserCache` operationId).
func (*ClientWithResponses) GetAsyncJobStatusWithResponse ¶
func (c *ClientWithResponses) GetAsyncJobStatusWithResponse(ctx context.Context, jobId string, reqEditors ...RequestEditorFn) (*GetAsyncJobStatusResponse, error)
GetAsyncJobStatusWithResponse Get the status of an asynchronous backchannel job.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/async/jobs/{jobId} (the `GetAsyncJobStatus` operationId).
func (*ClientWithResponses) GetOpenAPIJSONWithResponse ¶
func (c *ClientWithResponses) GetOpenAPIJSONWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOpenAPIJSONResponse, error)
GetOpenAPIJSONWithResponse Get the OpenAPI document as JSON.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/openapi.json (the `GetOpenAPIJSON` operationId).
func (*ClientWithResponses) GetOpenAPIYAMLWithResponse ¶
func (c *ClientWithResponses) GetOpenAPIYAMLWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOpenAPIYAMLResponse, error)
GetOpenAPIYAMLWithResponse Get the OpenAPI document as YAML.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/openapi.yaml (the `GetOpenAPIYAML` operationId).
func (*ClientWithResponses) ListBruteForceEntriesWithResponse ¶
func (c *ClientWithResponses) ListBruteForceEntriesWithResponse(ctx context.Context, params *ListBruteForceEntriesParams, reqEditors ...RequestEditorFn) (*ListBruteForceEntriesResponse, error)
ListBruteForceEntriesWithResponse List active brute-force bans and blocked accounts.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/bruteforce/list (the `ListBruteForceEntries` operationId).
func (*ClientWithResponses) ListFilteredBruteForceEntriesWithBodyWithResponse ¶
func (c *ClientWithResponses) ListFilteredBruteForceEntriesWithBodyWithResponse(ctx context.Context, params *ListFilteredBruteForceEntriesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ListFilteredBruteForceEntriesResponse, error)
ListFilteredBruteForceEntriesWithBodyWithResponse List active brute-force data with optional account and IP filters.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/bruteforce/list (the `ListFilteredBruteForceEntries` operationId).
func (*ClientWithResponses) ListFilteredBruteForceEntriesWithResponse ¶
func (c *ClientWithResponses) ListFilteredBruteForceEntriesWithResponse(ctx context.Context, params *ListFilteredBruteForceEntriesParams, body ListFilteredBruteForceEntriesJSONRequestBody, reqEditors ...RequestEditorFn) (*ListFilteredBruteForceEntriesResponse, error)
ListFilteredBruteForceEntriesWithResponse List active brute-force data with optional account and IP filters.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/bruteforce/list (the `ListFilteredBruteForceEntries` operationId).
func (*ClientWithResponses) ListOIDCSessionsWithResponse ¶
func (c *ClientWithResponses) ListOIDCSessionsWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*ListOIDCSessionsResponse, error)
ListOIDCSessionsWithResponse List active OIDC sessions for a user.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/oidc/sessions/{user_id} (the `ListOIDCSessions` operationId).
func (*ClientWithResponses) LookupReputationWithBodyWithResponse ¶
func (c *ClientWithResponses) LookupReputationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LookupReputationResponse, error)
LookupReputationWithBodyWithResponse Inspect one exact reputation subject.
Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/custom/reputation/lookup (the `LookupReputation` operationId).
func (*ClientWithResponses) LookupReputationWithResponse ¶
func (c *ClientWithResponses) LookupReputationWithResponse(ctx context.Context, body LookupReputationJSONRequestBody, reqEditors ...RequestEditorFn) (*LookupReputationResponse, error)
LookupReputationWithResponse Inspect one exact reputation subject.
Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/custom/reputation/lookup (the `LookupReputation` operationId).
func (*ClientWithResponses) ManageReputationAllocationWithBodyWithResponse ¶
func (c *ClientWithResponses) ManageReputationAllocationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManageReputationAllocationResponse, error)
ManageReputationAllocationWithBodyWithResponse Inspect or fence the current allocation generation.
Requires backchannel bearer nauthilus:admin. Status reads the primary and all 16 shard fences without mutation. Drain requires audit fields and fences writers before starting the retained maximum event lifetime. Retry uses the identical audit fields and actor; a different in-progress change conflicts. After a process restart, allocation_maintenance must be explicitly enabled with the original key and generation to retain administration without activating writers. Status and retry remain available while writers are unready. Do not rotate before every shard is fenced and observed_at is at least drained_at plus retention. This API never changes keys, generations, retention or learned evidence.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/custom/reputation/allocation (the `ManageReputationAllocation` operationId).
func (*ClientWithResponses) ManageReputationAllocationWithResponse ¶
func (c *ClientWithResponses) ManageReputationAllocationWithResponse(ctx context.Context, body ManageReputationAllocationJSONRequestBody, reqEditors ...RequestEditorFn) (*ManageReputationAllocationResponse, error)
ManageReputationAllocationWithResponse Inspect or fence the current allocation generation.
Requires backchannel bearer nauthilus:admin. Status reads the primary and all 16 shard fences without mutation. Drain requires audit fields and fences writers before starting the retained maximum event lifetime. Retry uses the identical audit fields and actor; a different in-progress change conflicts. After a process restart, allocation_maintenance must be explicitly enabled with the original key and generation to retain administration without activating writers. Status and retry remain available while writers are unready. Do not rotate before every shard is fenced and observed_at is at least drained_at plus retention. This API never changes keys, generations, retention or learned evidence.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/custom/reputation/allocation (the `ManageReputationAllocation` operationId).
func (*ClientWithResponses) PutReputationOverrideWithBodyWithResponse ¶
func (c *ClientWithResponses) PutReputationOverrideWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutReputationOverrideResponse, error)
PutReputationOverrideWithBodyWithResponse Create or replace one audited operator override.
Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/custom/reputation/override (the `PutReputationOverride` operationId).
func (*ClientWithResponses) PutReputationOverrideWithResponse ¶
func (c *ClientWithResponses) PutReputationOverrideWithResponse(ctx context.Context, body PutReputationOverrideJSONRequestBody, reqEditors ...RequestEditorFn) (*PutReputationOverrideResponse, error)
PutReputationOverrideWithResponse Create or replace one audited operator override.
Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/custom/reputation/override (the `PutReputationOverride` operationId).
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// GetAsyncJobStatusWithResponse Get the status of an asynchronous backchannel job.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/async/jobs/{jobId} (the `GetAsyncJobStatus` operationId).
GetAsyncJobStatusWithResponse(ctx context.Context, jobId string, reqEditors ...RequestEditorFn) (*GetAsyncJobStatusResponse, error)
// FlushBruteForceRuleWithBodyWithResponse Flush brute-force data for a configured rule.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/bruteforce/flush (the `FlushBruteForceRule` operationId).
FlushBruteForceRuleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FlushBruteForceRuleResponse, error)
// FlushBruteForceRuleWithResponse Flush brute-force data for a configured rule.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/bruteforce/flush (the `FlushBruteForceRule` operationId).
FlushBruteForceRuleWithResponse(ctx context.Context, body FlushBruteForceRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*FlushBruteForceRuleResponse, error)
// EnqueueBruteForceRuleFlushWithBodyWithResponse Enqueue an asynchronous brute-force rule flush.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/bruteforce/flush/async (the `EnqueueBruteForceRuleFlush` operationId).
EnqueueBruteForceRuleFlushWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EnqueueBruteForceRuleFlushResponse, error)
// EnqueueBruteForceRuleFlushWithResponse Enqueue an asynchronous brute-force rule flush.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/bruteforce/flush/async (the `EnqueueBruteForceRuleFlush` operationId).
EnqueueBruteForceRuleFlushWithResponse(ctx context.Context, body EnqueueBruteForceRuleFlushJSONRequestBody, reqEditors ...RequestEditorFn) (*EnqueueBruteForceRuleFlushResponse, error)
// ListBruteForceEntriesWithResponse List active brute-force bans and blocked accounts.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/bruteforce/list (the `ListBruteForceEntries` operationId).
ListBruteForceEntriesWithResponse(ctx context.Context, params *ListBruteForceEntriesParams, reqEditors ...RequestEditorFn) (*ListBruteForceEntriesResponse, error)
// ListFilteredBruteForceEntriesWithBodyWithResponse List active brute-force data with optional account and IP filters.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/bruteforce/list (the `ListFilteredBruteForceEntries` operationId).
ListFilteredBruteForceEntriesWithBodyWithResponse(ctx context.Context, params *ListFilteredBruteForceEntriesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ListFilteredBruteForceEntriesResponse, error)
// ListFilteredBruteForceEntriesWithResponse List active brute-force data with optional account and IP filters.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/bruteforce/list (the `ListFilteredBruteForceEntries` operationId).
ListFilteredBruteForceEntriesWithResponse(ctx context.Context, params *ListFilteredBruteForceEntriesParams, body ListFilteredBruteForceEntriesJSONRequestBody, reqEditors ...RequestEditorFn) (*ListFilteredBruteForceEntriesResponse, error)
// FlushUserCacheWithBodyWithResponse Flush authentication cache entries for a user.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/cache/flush (the `FlushUserCache` operationId).
FlushUserCacheWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FlushUserCacheResponse, error)
// FlushUserCacheWithResponse Flush authentication cache entries for a user.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/cache/flush (the `FlushUserCache` operationId).
FlushUserCacheWithResponse(ctx context.Context, body FlushUserCacheJSONRequestBody, reqEditors ...RequestEditorFn) (*FlushUserCacheResponse, error)
// EnqueueUserCacheFlushWithBodyWithResponse Enqueue an asynchronous user cache flush.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/cache/flush/async (the `EnqueueUserCacheFlush` operationId).
EnqueueUserCacheFlushWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EnqueueUserCacheFlushResponse, error)
// EnqueueUserCacheFlushWithResponse Enqueue an asynchronous user cache flush.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/cache/flush/async (the `EnqueueUserCacheFlush` operationId).
EnqueueUserCacheFlushWithResponse(ctx context.Context, body EnqueueUserCacheFlushJSONRequestBody, reqEditors ...RequestEditorFn) (*EnqueueUserCacheFlushResponse, error)
// ManageReputationAllocationWithBodyWithResponse Inspect or fence the current allocation generation.
//
// Requires backchannel bearer nauthilus:admin. Status reads the primary and all 16 shard fences without mutation. Drain requires audit fields and fences writers before starting the retained maximum event lifetime. Retry uses the identical audit fields and actor; a different in-progress change conflicts. After a process restart, allocation_maintenance must be explicitly enabled with the original key and generation to retain administration without activating writers. Status and retry remain available while writers are unready. Do not rotate before every shard is fenced and observed_at is at least drained_at plus retention. This API never changes keys, generations, retention or learned evidence.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/custom/reputation/allocation (the `ManageReputationAllocation` operationId).
ManageReputationAllocationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ManageReputationAllocationResponse, error)
// ManageReputationAllocationWithResponse Inspect or fence the current allocation generation.
//
// Requires backchannel bearer nauthilus:admin. Status reads the primary and all 16 shard fences without mutation. Drain requires audit fields and fences writers before starting the retained maximum event lifetime. Retry uses the identical audit fields and actor; a different in-progress change conflicts. After a process restart, allocation_maintenance must be explicitly enabled with the original key and generation to retain administration without activating writers. Status and retry remain available while writers are unready. Do not rotate before every shard is fenced and observed_at is at least drained_at plus retention. This API never changes keys, generations, retention or learned evidence.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/custom/reputation/allocation (the `ManageReputationAllocation` operationId).
ManageReputationAllocationWithResponse(ctx context.Context, body ManageReputationAllocationJSONRequestBody, reqEditors ...RequestEditorFn) (*ManageReputationAllocationResponse, error)
// LookupReputationWithBodyWithResponse Inspect one exact reputation subject.
//
// Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/custom/reputation/lookup (the `LookupReputation` operationId).
LookupReputationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LookupReputationResponse, error)
// LookupReputationWithResponse Inspect one exact reputation subject.
//
// Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/custom/reputation/lookup (the `LookupReputation` operationId).
LookupReputationWithResponse(ctx context.Context, body LookupReputationJSONRequestBody, reqEditors ...RequestEditorFn) (*LookupReputationResponse, error)
// DeleteReputationOverrideWithBodyWithResponse Remove one selected operator override revision.
//
// Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/custom/reputation/override (the `DeleteReputationOverride` operationId).
DeleteReputationOverrideWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteReputationOverrideResponse, error)
// DeleteReputationOverrideWithResponse Remove one selected operator override revision.
//
// Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/custom/reputation/override (the `DeleteReputationOverride` operationId).
DeleteReputationOverrideWithResponse(ctx context.Context, body DeleteReputationOverrideJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteReputationOverrideResponse, error)
// PutReputationOverrideWithBodyWithResponse Create or replace one audited operator override.
//
// Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/custom/reputation/override (the `PutReputationOverride` operationId).
PutReputationOverrideWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutReputationOverrideResponse, error)
// PutReputationOverrideWithResponse Create or replace one audited operator override.
//
// Optional native reputation management endpoint. Requires a backchannel access token with nauthilus:admin, even when additional hook scopes are configured. Subjects are accepted only in the JSON body; enumeration and query parameters are prohibited. Actor identity is host-derived and cannot be supplied in the body. Reads use primary Redis and conservative active/previous key merging. Override changes target one named slot; they do not erase other slots or learned evidence. The latest per-slot operator receipt is retained for 90 days; this is not a complete audit history.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/custom/reputation/override (the `PutReputationOverride` operationId).
PutReputationOverrideWithResponse(ctx context.Context, body PutReputationOverrideJSONRequestBody, reqEditors ...RequestEditorFn) (*PutReputationOverrideResponse, error)
// DeleteOIDCSessionsWithResponse Delete all OIDC sessions for a user.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/oidc/sessions/{user_id} (the `DeleteOIDCSessions` operationId).
DeleteOIDCSessionsWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*DeleteOIDCSessionsResponse, error)
// ListOIDCSessionsWithResponse List active OIDC sessions for a user.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/oidc/sessions/{user_id} (the `ListOIDCSessions` operationId).
ListOIDCSessionsWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*ListOIDCSessionsResponse, error)
// DeleteOIDCSessionWithResponse Delete one OIDC session for a user.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/oidc/sessions/{user_id}/{token} (the `DeleteOIDCSession` operationId).
DeleteOIDCSessionWithResponse(ctx context.Context, userId string, token string, reqEditors ...RequestEditorFn) (*DeleteOIDCSessionResponse, error)
// GetOpenAPIJSONWithResponse Get the OpenAPI document as JSON.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/openapi.json (the `GetOpenAPIJSON` operationId).
GetOpenAPIJSONWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOpenAPIJSONResponse, error)
// GetOpenAPIYAMLWithResponse Get the OpenAPI document as YAML.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/openapi.yaml (the `GetOpenAPIYAML` operationId).
GetOpenAPIYAMLWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOpenAPIYAMLResponse, error)
// EvaluatePolicyDecisionWithBodyWithResponse Evaluate one Policy decision.
//
// Evaluates exactly one admitted Policy request. Responses are never cacheable and do not expose retry, replay, cache, or outcome-reporting controls.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/policy/decisions (the `EvaluatePolicyDecision` operationId).
EvaluatePolicyDecisionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvaluatePolicyDecisionResponse, error)
// EvaluatePolicyDecisionWithResponse Evaluate one Policy decision.
//
// Evaluates exactly one admitted Policy request. Responses are never cacheable and do not expose retry, replay, cache, or outcome-reporting controls.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/policy/decisions (the `EvaluatePolicyDecision` operationId).
EvaluatePolicyDecisionWithResponse(ctx context.Context, body EvaluatePolicyDecisionJSONRequestBody, reqEditors ...RequestEditorFn) (*EvaluatePolicyDecisionResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type DeleteOIDCSessionResponse ¶
type DeleteOIDCSessionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *Error
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *Error
}
func ParseDeleteOIDCSessionResponse ¶
func ParseDeleteOIDCSessionResponse(rsp *http.Response) (*DeleteOIDCSessionResponse, error)
ParseDeleteOIDCSessionResponse parses an HTTP response from a DeleteOIDCSessionWithResponse call
func (DeleteOIDCSessionResponse) ContentType ¶
func (r DeleteOIDCSessionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteOIDCSessionResponse) GetBody ¶
func (r DeleteOIDCSessionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteOIDCSessionResponse) GetJSON400 ¶
func (r DeleteOIDCSessionResponse) GetJSON400() *Error
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (DeleteOIDCSessionResponse) GetJSON401 ¶
func (r DeleteOIDCSessionResponse) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteOIDCSessionResponse) GetJSON403 ¶
func (r DeleteOIDCSessionResponse) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteOIDCSessionResponse) GetJSON500 ¶
func (r DeleteOIDCSessionResponse) GetJSON500() *Error
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteOIDCSessionResponse) Status ¶
func (r DeleteOIDCSessionResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteOIDCSessionResponse) StatusCode ¶
func (r DeleteOIDCSessionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteOIDCSessionsResponse ¶
type DeleteOIDCSessionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *Error
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *Error
}
func ParseDeleteOIDCSessionsResponse ¶
func ParseDeleteOIDCSessionsResponse(rsp *http.Response) (*DeleteOIDCSessionsResponse, error)
ParseDeleteOIDCSessionsResponse parses an HTTP response from a DeleteOIDCSessionsWithResponse call
func (DeleteOIDCSessionsResponse) ContentType ¶
func (r DeleteOIDCSessionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteOIDCSessionsResponse) GetBody ¶
func (r DeleteOIDCSessionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteOIDCSessionsResponse) GetJSON400 ¶
func (r DeleteOIDCSessionsResponse) GetJSON400() *Error
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (DeleteOIDCSessionsResponse) GetJSON401 ¶
func (r DeleteOIDCSessionsResponse) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteOIDCSessionsResponse) GetJSON403 ¶
func (r DeleteOIDCSessionsResponse) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteOIDCSessionsResponse) GetJSON500 ¶
func (r DeleteOIDCSessionsResponse) GetJSON500() *Error
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteOIDCSessionsResponse) Status ¶
func (r DeleteOIDCSessionsResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteOIDCSessionsResponse) StatusCode ¶
func (r DeleteOIDCSessionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteReputationOverrideJSONRequestBody ¶
type DeleteReputationOverrideJSONRequestBody = ReputationOverrideDeleteRequest
DeleteReputationOverrideJSONRequestBody defines body for DeleteReputationOverride for application/json ContentType.
type DeleteReputationOverrideResponse ¶
type DeleteReputationOverrideResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ReputationView
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ReputationManagementError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ReputationManagementError
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ReputationManagementError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ReputationManagementError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ReputationManagementError
// JSON413 the response for an HTTP 413 `application/json` response
JSON413 *ReputationManagementError
// JSON415 the response for an HTTP 415 `application/json` response
JSON415 *ReputationManagementError
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ReputationManagementError
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ReputationManagementError
// JSON504 the response for an HTTP 504 `application/json` response
JSON504 *ReputationManagementError
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *DeleteReputationOverrideResponse200Headers
}
func ParseDeleteReputationOverrideResponse ¶
func ParseDeleteReputationOverrideResponse(rsp *http.Response) (*DeleteReputationOverrideResponse, error)
ParseDeleteReputationOverrideResponse parses an HTTP response from a DeleteReputationOverrideWithResponse call
func (DeleteReputationOverrideResponse) ContentType ¶
func (r DeleteReputationOverrideResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteReputationOverrideResponse) GetBody ¶
func (r DeleteReputationOverrideResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteReputationOverrideResponse) GetJSON200 ¶
func (r DeleteReputationOverrideResponse) GetJSON200() *ReputationView
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DeleteReputationOverrideResponse) GetJSON400 ¶
func (r DeleteReputationOverrideResponse) GetJSON400() *ReputationManagementError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (DeleteReputationOverrideResponse) GetJSON401 ¶
func (r DeleteReputationOverrideResponse) GetJSON401() *ReputationManagementError
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteReputationOverrideResponse) GetJSON403 ¶
func (r DeleteReputationOverrideResponse) GetJSON403() *ReputationManagementError
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteReputationOverrideResponse) GetJSON404 ¶
func (r DeleteReputationOverrideResponse) GetJSON404() *ReputationManagementError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteReputationOverrideResponse) GetJSON409 ¶
func (r DeleteReputationOverrideResponse) GetJSON409() *ReputationManagementError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (DeleteReputationOverrideResponse) GetJSON413 ¶
func (r DeleteReputationOverrideResponse) GetJSON413() *ReputationManagementError
GetJSON413 returns the response for an HTTP 413 `application/json` response
func (DeleteReputationOverrideResponse) GetJSON415 ¶
func (r DeleteReputationOverrideResponse) GetJSON415() *ReputationManagementError
GetJSON415 returns the response for an HTTP 415 `application/json` response
func (DeleteReputationOverrideResponse) GetJSON500 ¶
func (r DeleteReputationOverrideResponse) GetJSON500() *ReputationManagementError
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (DeleteReputationOverrideResponse) GetJSON503 ¶
func (r DeleteReputationOverrideResponse) GetJSON503() *ReputationManagementError
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (DeleteReputationOverrideResponse) GetJSON504 ¶
func (r DeleteReputationOverrideResponse) GetJSON504() *ReputationManagementError
GetJSON504 returns the response for an HTTP 504 `application/json` response
func (DeleteReputationOverrideResponse) Status ¶
func (r DeleteReputationOverrideResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteReputationOverrideResponse) StatusCode ¶
func (r DeleteReputationOverrideResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteReputationOverrideResponse200Headers ¶
type DeleteReputationOverrideResponse200Headers struct {
CacheControl *string
}
DeleteReputationOverrideResponse200Headers the declared response headers of an HTTP 200 response for DeleteReputationOverride
type EnqueueBruteForceRuleFlushJSONRequestBody ¶
type EnqueueBruteForceRuleFlushJSONRequestBody = BruteForceFlushRequest
EnqueueBruteForceRuleFlushJSONRequestBody defines body for EnqueueBruteForceRuleFlush for application/json ContentType.
type EnqueueBruteForceRuleFlushResponse ¶
type EnqueueBruteForceRuleFlushResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *AsyncAccepted
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *JSONValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *Error
}
func ParseEnqueueBruteForceRuleFlushResponse ¶
func ParseEnqueueBruteForceRuleFlushResponse(rsp *http.Response) (*EnqueueBruteForceRuleFlushResponse, error)
ParseEnqueueBruteForceRuleFlushResponse parses an HTTP response from a EnqueueBruteForceRuleFlushWithResponse call
func (EnqueueBruteForceRuleFlushResponse) ContentType ¶
func (r EnqueueBruteForceRuleFlushResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EnqueueBruteForceRuleFlushResponse) GetBody ¶
func (r EnqueueBruteForceRuleFlushResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EnqueueBruteForceRuleFlushResponse) GetJSON202 ¶
func (r EnqueueBruteForceRuleFlushResponse) GetJSON202() *AsyncAccepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (EnqueueBruteForceRuleFlushResponse) GetJSON400 ¶
func (r EnqueueBruteForceRuleFlushResponse) GetJSON400() *JSONValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (EnqueueBruteForceRuleFlushResponse) GetJSON401 ¶
func (r EnqueueBruteForceRuleFlushResponse) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (EnqueueBruteForceRuleFlushResponse) GetJSON403 ¶
func (r EnqueueBruteForceRuleFlushResponse) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (EnqueueBruteForceRuleFlushResponse) GetJSON500 ¶
func (r EnqueueBruteForceRuleFlushResponse) GetJSON500() *Error
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (EnqueueBruteForceRuleFlushResponse) Status ¶
func (r EnqueueBruteForceRuleFlushResponse) Status() string
Status returns HTTPResponse.Status
func (EnqueueBruteForceRuleFlushResponse) StatusCode ¶
func (r EnqueueBruteForceRuleFlushResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EnqueueUserCacheFlushJSONRequestBody ¶
type EnqueueUserCacheFlushJSONRequestBody = CacheFlushRequest
EnqueueUserCacheFlushJSONRequestBody defines body for EnqueueUserCacheFlush for application/json ContentType.
type EnqueueUserCacheFlushResponse ¶
type EnqueueUserCacheFlushResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *AsyncAccepted
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *JSONValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *Error
}
func ParseEnqueueUserCacheFlushResponse ¶
func ParseEnqueueUserCacheFlushResponse(rsp *http.Response) (*EnqueueUserCacheFlushResponse, error)
ParseEnqueueUserCacheFlushResponse parses an HTTP response from a EnqueueUserCacheFlushWithResponse call
func (EnqueueUserCacheFlushResponse) ContentType ¶
func (r EnqueueUserCacheFlushResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EnqueueUserCacheFlushResponse) GetBody ¶
func (r EnqueueUserCacheFlushResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EnqueueUserCacheFlushResponse) GetJSON202 ¶
func (r EnqueueUserCacheFlushResponse) GetJSON202() *AsyncAccepted
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (EnqueueUserCacheFlushResponse) GetJSON400 ¶
func (r EnqueueUserCacheFlushResponse) GetJSON400() *JSONValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (EnqueueUserCacheFlushResponse) GetJSON401 ¶
func (r EnqueueUserCacheFlushResponse) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (EnqueueUserCacheFlushResponse) GetJSON403 ¶
func (r EnqueueUserCacheFlushResponse) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (EnqueueUserCacheFlushResponse) GetJSON500 ¶
func (r EnqueueUserCacheFlushResponse) GetJSON500() *Error
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (EnqueueUserCacheFlushResponse) Status ¶
func (r EnqueueUserCacheFlushResponse) Status() string
Status returns HTTPResponse.Status
func (EnqueueUserCacheFlushResponse) StatusCode ¶
func (r EnqueueUserCacheFlushResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ErrorResponse ¶
type ErrorResponse struct {
Error string `json:"error"`
}
ErrorResponse defines model for ErrorResponse.
type EvaluatePolicyDecisionJSONRequestBody ¶
type EvaluatePolicyDecisionJSONRequestBody = PolicyDecisionRequest
EvaluatePolicyDecisionJSONRequestBody defines body for EvaluatePolicyDecision for application/json ContentType.
type EvaluatePolicyDecisionResponse ¶
type EvaluatePolicyDecisionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PolicyDecision
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *PolicyBadRequest
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *PolicyUnauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *PolicyForbidden
// JSON413 the response for an HTTP 413 `application/json` response
JSON413 *PolicyRequestTooLarge
// JSON415 the response for an HTTP 415 `application/json` response
JSON415 *PolicyUnsupportedMediaType
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *PolicyRateLimited
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *PolicyUnavailable
}
func ParseEvaluatePolicyDecisionResponse ¶
func ParseEvaluatePolicyDecisionResponse(rsp *http.Response) (*EvaluatePolicyDecisionResponse, error)
ParseEvaluatePolicyDecisionResponse parses an HTTP response from a EvaluatePolicyDecisionWithResponse call
func (EvaluatePolicyDecisionResponse) ContentType ¶
func (r EvaluatePolicyDecisionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EvaluatePolicyDecisionResponse) GetBody ¶
func (r EvaluatePolicyDecisionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (EvaluatePolicyDecisionResponse) GetJSON200 ¶
func (r EvaluatePolicyDecisionResponse) GetJSON200() *PolicyDecision
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (EvaluatePolicyDecisionResponse) GetJSON400 ¶
func (r EvaluatePolicyDecisionResponse) GetJSON400() *PolicyBadRequest
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (EvaluatePolicyDecisionResponse) GetJSON401 ¶
func (r EvaluatePolicyDecisionResponse) GetJSON401() *PolicyUnauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (EvaluatePolicyDecisionResponse) GetJSON403 ¶
func (r EvaluatePolicyDecisionResponse) GetJSON403() *PolicyForbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (EvaluatePolicyDecisionResponse) GetJSON413 ¶
func (r EvaluatePolicyDecisionResponse) GetJSON413() *PolicyRequestTooLarge
GetJSON413 returns the response for an HTTP 413 `application/json` response
func (EvaluatePolicyDecisionResponse) GetJSON415 ¶
func (r EvaluatePolicyDecisionResponse) GetJSON415() *PolicyUnsupportedMediaType
GetJSON415 returns the response for an HTTP 415 `application/json` response
func (EvaluatePolicyDecisionResponse) GetJSON429 ¶
func (r EvaluatePolicyDecisionResponse) GetJSON429() *PolicyRateLimited
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (EvaluatePolicyDecisionResponse) GetJSON503 ¶
func (r EvaluatePolicyDecisionResponse) GetJSON503() *PolicyUnavailable
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (EvaluatePolicyDecisionResponse) Status ¶
func (r EvaluatePolicyDecisionResponse) Status() string
Status returns HTTPResponse.Status
func (EvaluatePolicyDecisionResponse) StatusCode ¶
func (r EvaluatePolicyDecisionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FieldError ¶
type FieldError struct {
Field *string `json:"field,omitempty"`
Message *string `json:"message,omitempty"`
}
FieldError defines model for FieldError.
type FieldErrorResponse ¶
type FieldErrorResponse struct {
Errors []FieldError `json:"errors"`
}
FieldErrorResponse defines model for FieldErrorResponse.
type FlushBruteForceRuleJSONRequestBody ¶
type FlushBruteForceRuleJSONRequestBody = BruteForceFlushRequest
FlushBruteForceRuleJSONRequestBody defines body for FlushBruteForceRule for application/json ContentType.
type FlushBruteForceRuleResponse ¶
type FlushBruteForceRuleResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *BruteForceFlushResult
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *JSONValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *Error
}
func ParseFlushBruteForceRuleResponse ¶
func ParseFlushBruteForceRuleResponse(rsp *http.Response) (*FlushBruteForceRuleResponse, error)
ParseFlushBruteForceRuleResponse parses an HTTP response from a FlushBruteForceRuleWithResponse call
func (FlushBruteForceRuleResponse) ContentType ¶
func (r FlushBruteForceRuleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (FlushBruteForceRuleResponse) GetBody ¶
func (r FlushBruteForceRuleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (FlushBruteForceRuleResponse) GetJSON200 ¶
func (r FlushBruteForceRuleResponse) GetJSON200() *BruteForceFlushResult
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (FlushBruteForceRuleResponse) GetJSON400 ¶
func (r FlushBruteForceRuleResponse) GetJSON400() *JSONValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (FlushBruteForceRuleResponse) GetJSON401 ¶
func (r FlushBruteForceRuleResponse) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (FlushBruteForceRuleResponse) GetJSON403 ¶
func (r FlushBruteForceRuleResponse) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (FlushBruteForceRuleResponse) GetJSON500 ¶
func (r FlushBruteForceRuleResponse) GetJSON500() *Error
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (FlushBruteForceRuleResponse) Status ¶
func (r FlushBruteForceRuleResponse) Status() string
Status returns HTTPResponse.Status
func (FlushBruteForceRuleResponse) StatusCode ¶
func (r FlushBruteForceRuleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FlushUserCacheJSONRequestBody ¶
type FlushUserCacheJSONRequestBody = CacheFlushRequest
FlushUserCacheJSONRequestBody defines body for FlushUserCache for application/json ContentType.
type FlushUserCacheResponse ¶
type FlushUserCacheResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CacheFlushResult
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *JSONValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *Error
}
func ParseFlushUserCacheResponse ¶
func ParseFlushUserCacheResponse(rsp *http.Response) (*FlushUserCacheResponse, error)
ParseFlushUserCacheResponse parses an HTTP response from a FlushUserCacheWithResponse call
func (FlushUserCacheResponse) ContentType ¶
func (r FlushUserCacheResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (FlushUserCacheResponse) GetBody ¶
func (r FlushUserCacheResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (FlushUserCacheResponse) GetJSON200 ¶
func (r FlushUserCacheResponse) GetJSON200() *CacheFlushResult
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (FlushUserCacheResponse) GetJSON400 ¶
func (r FlushUserCacheResponse) GetJSON400() *JSONValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (FlushUserCacheResponse) GetJSON401 ¶
func (r FlushUserCacheResponse) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (FlushUserCacheResponse) GetJSON403 ¶
func (r FlushUserCacheResponse) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (FlushUserCacheResponse) GetJSON500 ¶
func (r FlushUserCacheResponse) GetJSON500() *Error
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (FlushUserCacheResponse) Status ¶
func (r FlushUserCacheResponse) Status() string
Status returns HTTPResponse.Status
func (FlushUserCacheResponse) StatusCode ¶
func (r FlushUserCacheResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAsyncJobStatusResponse ¶
type GetAsyncJobStatusResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AsyncJobStatusResult
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *Error
}
func ParseGetAsyncJobStatusResponse ¶
func ParseGetAsyncJobStatusResponse(rsp *http.Response) (*GetAsyncJobStatusResponse, error)
ParseGetAsyncJobStatusResponse parses an HTTP response from a GetAsyncJobStatusWithResponse call
func (GetAsyncJobStatusResponse) ContentType ¶
func (r GetAsyncJobStatusResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAsyncJobStatusResponse) GetBody ¶
func (r GetAsyncJobStatusResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAsyncJobStatusResponse) GetJSON200 ¶
func (r GetAsyncJobStatusResponse) GetJSON200() *AsyncJobStatusResult
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAsyncJobStatusResponse) GetJSON401 ¶
func (r GetAsyncJobStatusResponse) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetAsyncJobStatusResponse) GetJSON404 ¶
func (r GetAsyncJobStatusResponse) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetAsyncJobStatusResponse) GetJSON500 ¶
func (r GetAsyncJobStatusResponse) GetJSON500() *Error
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (GetAsyncJobStatusResponse) Status ¶
func (r GetAsyncJobStatusResponse) Status() string
Status returns HTTPResponse.Status
func (GetAsyncJobStatusResponse) StatusCode ¶
func (r GetAsyncJobStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOpenAPIJSONResponse ¶
type GetOpenAPIJSONResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *map[string]interface{}
}
func ParseGetOpenAPIJSONResponse ¶
func ParseGetOpenAPIJSONResponse(rsp *http.Response) (*GetOpenAPIJSONResponse, error)
ParseGetOpenAPIJSONResponse parses an HTTP response from a GetOpenAPIJSONWithResponse call
func (GetOpenAPIJSONResponse) ContentType ¶
func (r GetOpenAPIJSONResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetOpenAPIJSONResponse) GetBody ¶
func (r GetOpenAPIJSONResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetOpenAPIJSONResponse) GetJSON200 ¶
func (r GetOpenAPIJSONResponse) GetJSON200() *map[string]interface{}
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetOpenAPIJSONResponse) Status ¶
func (r GetOpenAPIJSONResponse) Status() string
Status returns HTTPResponse.Status
func (GetOpenAPIJSONResponse) StatusCode ¶
func (r GetOpenAPIJSONResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOpenAPIYAMLResponse ¶
type GetOpenAPIYAMLResponse struct {
Body []byte
HTTPResponse *http.Response
// YAML200 the response for an HTTP 200 `application/yaml` response
YAML200 *string
}
func ParseGetOpenAPIYAMLResponse ¶
func ParseGetOpenAPIYAMLResponse(rsp *http.Response) (*GetOpenAPIYAMLResponse, error)
ParseGetOpenAPIYAMLResponse parses an HTTP response from a GetOpenAPIYAMLWithResponse call
func (GetOpenAPIYAMLResponse) ContentType ¶
func (r GetOpenAPIYAMLResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetOpenAPIYAMLResponse) GetBody ¶
func (r GetOpenAPIYAMLResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetOpenAPIYAMLResponse) GetYAML200 ¶
func (r GetOpenAPIYAMLResponse) GetYAML200() *string
GetYAML200 returns the response for an HTTP 200 `application/yaml` response
func (GetOpenAPIYAMLResponse) Status ¶
func (r GetOpenAPIYAMLResponse) Status() string
Status returns HTTPResponse.Status
func (GetOpenAPIYAMLResponse) StatusCode ¶
func (r GetOpenAPIYAMLResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type JSONValidationError ¶
type JSONValidationError struct {
// contains filtered or unexported fields
}
JSONValidationError defines model for JSONValidationError.
func (JSONValidationError) AsErrorResponse ¶
func (t JSONValidationError) AsErrorResponse() (ErrorResponse, error)
AsErrorResponse returns the union data inside the JSONValidationError as a ErrorResponse
func (JSONValidationError) AsFieldErrorResponse ¶
func (t JSONValidationError) AsFieldErrorResponse() (FieldErrorResponse, error)
AsFieldErrorResponse returns the union data inside the JSONValidationError as a FieldErrorResponse
func (*JSONValidationError) FromErrorResponse ¶
func (t *JSONValidationError) FromErrorResponse(v ErrorResponse) error
FromErrorResponse overwrites any union data inside the JSONValidationError as the provided ErrorResponse
func (*JSONValidationError) FromFieldErrorResponse ¶
func (t *JSONValidationError) FromFieldErrorResponse(v FieldErrorResponse) error
FromFieldErrorResponse overwrites any union data inside the JSONValidationError as the provided FieldErrorResponse
func (JSONValidationError) MarshalJSON ¶
func (t JSONValidationError) MarshalJSON() ([]byte, error)
func (*JSONValidationError) MergeErrorResponse ¶
func (t *JSONValidationError) MergeErrorResponse(v ErrorResponse) error
MergeErrorResponse performs a merge with any union data inside the JSONValidationError, using the provided ErrorResponse
func (*JSONValidationError) MergeFieldErrorResponse ¶
func (t *JSONValidationError) MergeFieldErrorResponse(v FieldErrorResponse) error
MergeFieldErrorResponse performs a merge with any union data inside the JSONValidationError, using the provided FieldErrorResponse
func (*JSONValidationError) UnmarshalJSON ¶
func (t *JSONValidationError) UnmarshalJSON(b []byte) error
type ListBruteForceEntriesParams ¶
type ListBruteForceEntriesParams struct {
// Limit Maximum number of records to return per brute-force list section.
Limit *PageLimit `form:"limit,omitempty" json:"limit,omitempty"`
// Offset Zero-based offset for brute-force list paging.
Offset *PageOffset `form:"offset,omitempty" json:"offset,omitempty"`
}
ListBruteForceEntriesParams defines parameters for ListBruteForceEntries.
type ListBruteForceEntriesResponse ¶
type ListBruteForceEntriesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *BruteForceListResult
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *Error
}
func ParseListBruteForceEntriesResponse ¶
func ParseListBruteForceEntriesResponse(rsp *http.Response) (*ListBruteForceEntriesResponse, error)
ParseListBruteForceEntriesResponse parses an HTTP response from a ListBruteForceEntriesWithResponse call
func (ListBruteForceEntriesResponse) ContentType ¶
func (r ListBruteForceEntriesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListBruteForceEntriesResponse) GetBody ¶
func (r ListBruteForceEntriesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListBruteForceEntriesResponse) GetJSON200 ¶
func (r ListBruteForceEntriesResponse) GetJSON200() *BruteForceListResult
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListBruteForceEntriesResponse) GetJSON401 ¶
func (r ListBruteForceEntriesResponse) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListBruteForceEntriesResponse) GetJSON403 ¶
func (r ListBruteForceEntriesResponse) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ListBruteForceEntriesResponse) GetJSON500 ¶
func (r ListBruteForceEntriesResponse) GetJSON500() *Error
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (ListBruteForceEntriesResponse) Status ¶
func (r ListBruteForceEntriesResponse) Status() string
Status returns HTTPResponse.Status
func (ListBruteForceEntriesResponse) StatusCode ¶
func (r ListBruteForceEntriesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListFilteredBruteForceEntriesJSONRequestBody ¶
type ListFilteredBruteForceEntriesJSONRequestBody = BruteForceFilterRequest
ListFilteredBruteForceEntriesJSONRequestBody defines body for ListFilteredBruteForceEntries for application/json ContentType.
type ListFilteredBruteForceEntriesParams ¶
type ListFilteredBruteForceEntriesParams struct {
// Limit Maximum number of records to return per brute-force list section.
Limit *PageLimit `form:"limit,omitempty" json:"limit,omitempty"`
// Offset Zero-based offset for brute-force list paging.
Offset *PageOffset `form:"offset,omitempty" json:"offset,omitempty"`
}
ListFilteredBruteForceEntriesParams defines parameters for ListFilteredBruteForceEntries.
type ListFilteredBruteForceEntriesResponse ¶
type ListFilteredBruteForceEntriesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *BruteForceListResult
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *JSONValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *Error
}
func ParseListFilteredBruteForceEntriesResponse ¶
func ParseListFilteredBruteForceEntriesResponse(rsp *http.Response) (*ListFilteredBruteForceEntriesResponse, error)
ParseListFilteredBruteForceEntriesResponse parses an HTTP response from a ListFilteredBruteForceEntriesWithResponse call
func (ListFilteredBruteForceEntriesResponse) ContentType ¶
func (r ListFilteredBruteForceEntriesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListFilteredBruteForceEntriesResponse) GetBody ¶
func (r ListFilteredBruteForceEntriesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListFilteredBruteForceEntriesResponse) GetJSON200 ¶
func (r ListFilteredBruteForceEntriesResponse) GetJSON200() *BruteForceListResult
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListFilteredBruteForceEntriesResponse) GetJSON400 ¶
func (r ListFilteredBruteForceEntriesResponse) GetJSON400() *JSONValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ListFilteredBruteForceEntriesResponse) GetJSON401 ¶
func (r ListFilteredBruteForceEntriesResponse) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListFilteredBruteForceEntriesResponse) GetJSON403 ¶
func (r ListFilteredBruteForceEntriesResponse) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ListFilteredBruteForceEntriesResponse) GetJSON500 ¶
func (r ListFilteredBruteForceEntriesResponse) GetJSON500() *Error
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (ListFilteredBruteForceEntriesResponse) Status ¶
func (r ListFilteredBruteForceEntriesResponse) Status() string
Status returns HTTPResponse.Status
func (ListFilteredBruteForceEntriesResponse) StatusCode ¶
func (r ListFilteredBruteForceEntriesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListOIDCSessionsResponse ¶
type ListOIDCSessionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OIDCSessions
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *Error
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *Error
}
func ParseListOIDCSessionsResponse ¶
func ParseListOIDCSessionsResponse(rsp *http.Response) (*ListOIDCSessionsResponse, error)
ParseListOIDCSessionsResponse parses an HTTP response from a ListOIDCSessionsWithResponse call
func (ListOIDCSessionsResponse) ContentType ¶
func (r ListOIDCSessionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListOIDCSessionsResponse) GetBody ¶
func (r ListOIDCSessionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListOIDCSessionsResponse) GetJSON200 ¶
func (r ListOIDCSessionsResponse) GetJSON200() *OIDCSessions
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListOIDCSessionsResponse) GetJSON400 ¶
func (r ListOIDCSessionsResponse) GetJSON400() *Error
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ListOIDCSessionsResponse) GetJSON401 ¶
func (r ListOIDCSessionsResponse) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListOIDCSessionsResponse) GetJSON403 ¶
func (r ListOIDCSessionsResponse) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ListOIDCSessionsResponse) GetJSON500 ¶
func (r ListOIDCSessionsResponse) GetJSON500() *Error
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (ListOIDCSessionsResponse) Status ¶
func (r ListOIDCSessionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListOIDCSessionsResponse) StatusCode ¶
func (r ListOIDCSessionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LookupReputationJSONRequestBody ¶
type LookupReputationJSONRequestBody = ReputationLookupRequest
LookupReputationJSONRequestBody defines body for LookupReputation for application/json ContentType.
type LookupReputationResponse ¶
type LookupReputationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ReputationView
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ReputationManagementError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ReputationManagementError
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ReputationManagementError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ReputationManagementError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ReputationManagementError
// JSON413 the response for an HTTP 413 `application/json` response
JSON413 *ReputationManagementError
// JSON415 the response for an HTTP 415 `application/json` response
JSON415 *ReputationManagementError
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ReputationManagementError
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ReputationManagementError
// JSON504 the response for an HTTP 504 `application/json` response
JSON504 *ReputationManagementError
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *LookupReputationResponse200Headers
}
func ParseLookupReputationResponse ¶
func ParseLookupReputationResponse(rsp *http.Response) (*LookupReputationResponse, error)
ParseLookupReputationResponse parses an HTTP response from a LookupReputationWithResponse call
func (LookupReputationResponse) ContentType ¶
func (r LookupReputationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LookupReputationResponse) GetBody ¶
func (r LookupReputationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LookupReputationResponse) GetJSON200 ¶
func (r LookupReputationResponse) GetJSON200() *ReputationView
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LookupReputationResponse) GetJSON400 ¶
func (r LookupReputationResponse) GetJSON400() *ReputationManagementError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (LookupReputationResponse) GetJSON401 ¶
func (r LookupReputationResponse) GetJSON401() *ReputationManagementError
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (LookupReputationResponse) GetJSON403 ¶
func (r LookupReputationResponse) GetJSON403() *ReputationManagementError
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (LookupReputationResponse) GetJSON404 ¶
func (r LookupReputationResponse) GetJSON404() *ReputationManagementError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (LookupReputationResponse) GetJSON409 ¶
func (r LookupReputationResponse) GetJSON409() *ReputationManagementError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (LookupReputationResponse) GetJSON413 ¶
func (r LookupReputationResponse) GetJSON413() *ReputationManagementError
GetJSON413 returns the response for an HTTP 413 `application/json` response
func (LookupReputationResponse) GetJSON415 ¶
func (r LookupReputationResponse) GetJSON415() *ReputationManagementError
GetJSON415 returns the response for an HTTP 415 `application/json` response
func (LookupReputationResponse) GetJSON500 ¶
func (r LookupReputationResponse) GetJSON500() *ReputationManagementError
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (LookupReputationResponse) GetJSON503 ¶
func (r LookupReputationResponse) GetJSON503() *ReputationManagementError
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (LookupReputationResponse) GetJSON504 ¶
func (r LookupReputationResponse) GetJSON504() *ReputationManagementError
GetJSON504 returns the response for an HTTP 504 `application/json` response
func (LookupReputationResponse) Status ¶
func (r LookupReputationResponse) Status() string
Status returns HTTPResponse.Status
func (LookupReputationResponse) StatusCode ¶
func (r LookupReputationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LookupReputationResponse200Headers ¶
type LookupReputationResponse200Headers struct {
CacheControl *string
}
LookupReputationResponse200Headers the declared response headers of an HTTP 200 response for LookupReputation
type ManageReputationAllocationJSONRequestBody ¶
type ManageReputationAllocationJSONRequestBody = ReputationAllocationRequest
ManageReputationAllocationJSONRequestBody defines body for ManageReputationAllocation for application/json ContentType.
type ManageReputationAllocationResponse ¶
type ManageReputationAllocationResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ReputationAllocationView
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ReputationManagementError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ReputationManagementError
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ReputationManagementError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ReputationManagementError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ReputationManagementError
// JSON413 the response for an HTTP 413 `application/json` response
JSON413 *ReputationManagementError
// JSON415 the response for an HTTP 415 `application/json` response
JSON415 *ReputationManagementError
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ReputationManagementError
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ReputationManagementError
// JSON504 the response for an HTTP 504 `application/json` response
JSON504 *ReputationManagementError
}
func ParseManageReputationAllocationResponse ¶
func ParseManageReputationAllocationResponse(rsp *http.Response) (*ManageReputationAllocationResponse, error)
ParseManageReputationAllocationResponse parses an HTTP response from a ManageReputationAllocationWithResponse call
func (ManageReputationAllocationResponse) ContentType ¶
func (r ManageReputationAllocationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ManageReputationAllocationResponse) GetBody ¶
func (r ManageReputationAllocationResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ManageReputationAllocationResponse) GetJSON200 ¶
func (r ManageReputationAllocationResponse) GetJSON200() *ReputationAllocationView
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ManageReputationAllocationResponse) GetJSON400 ¶
func (r ManageReputationAllocationResponse) GetJSON400() *ReputationManagementError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ManageReputationAllocationResponse) GetJSON401 ¶
func (r ManageReputationAllocationResponse) GetJSON401() *ReputationManagementError
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ManageReputationAllocationResponse) GetJSON403 ¶
func (r ManageReputationAllocationResponse) GetJSON403() *ReputationManagementError
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ManageReputationAllocationResponse) GetJSON404 ¶
func (r ManageReputationAllocationResponse) GetJSON404() *ReputationManagementError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ManageReputationAllocationResponse) GetJSON409 ¶
func (r ManageReputationAllocationResponse) GetJSON409() *ReputationManagementError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (ManageReputationAllocationResponse) GetJSON413 ¶
func (r ManageReputationAllocationResponse) GetJSON413() *ReputationManagementError
GetJSON413 returns the response for an HTTP 413 `application/json` response
func (ManageReputationAllocationResponse) GetJSON415 ¶
func (r ManageReputationAllocationResponse) GetJSON415() *ReputationManagementError
GetJSON415 returns the response for an HTTP 415 `application/json` response
func (ManageReputationAllocationResponse) GetJSON500 ¶
func (r ManageReputationAllocationResponse) GetJSON500() *ReputationManagementError
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (ManageReputationAllocationResponse) GetJSON503 ¶
func (r ManageReputationAllocationResponse) GetJSON503() *ReputationManagementError
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (ManageReputationAllocationResponse) GetJSON504 ¶
func (r ManageReputationAllocationResponse) GetJSON504() *ReputationManagementError
GetJSON504 returns the response for an HTTP 504 `application/json` response
func (ManageReputationAllocationResponse) Status ¶
func (r ManageReputationAllocationResponse) Status() string
Status returns HTTPResponse.Status
func (ManageReputationAllocationResponse) StatusCode ¶
func (r ManageReputationAllocationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OIDCSessionSummary ¶
type OIDCSessionSummary struct {
AuthTime time.Time `json:"auth_time"`
ClientId string `json:"client_id"`
DisplayName *string `json:"display_name,omitempty"`
// Id Stable non-secret session identifier derived from the stored token.
Id string `json:"id"`
MfaCompleted *bool `json:"mfa_completed,omitempty"`
MfaMethod *string `json:"mfa_method,omitempty"`
RedirectUri *string `json:"redirect_uri,omitempty"`
Scopes *[]string `json:"scopes,omitempty"`
UserId string `json:"user_id"`
Username *string `json:"username,omitempty"`
}
OIDCSessionSummary defines model for OIDCSessionSummary.
type OIDCSessions ¶
type OIDCSessions struct {
Sessions []OIDCSessionSummary `json:"sessions"`
}
OIDCSessions defines model for OIDCSessions.
type PolicyAdvice ¶
type PolicyAdvice struct {
Id string `json:"id"`
Parameters PolicyResponseValueMap `json:"parameters"`
}
PolicyAdvice defines model for PolicyAdvice.
type PolicyBadRequest ¶
type PolicyBadRequest = PolicyError
PolicyBadRequest defines model for PolicyBadRequest.
type PolicyDecision ¶
type PolicyDecision = PolicyDecisionResponse
PolicyDecision defines model for PolicyDecision.
type PolicyDecisionRequest ¶
type PolicyDecisionRequest struct {
Attributes *PolicyValueMap `json:"attributes,omitempty"`
Environment *PolicyEnvironment `json:"environment,omitempty"`
Options *PolicyEvaluationOptions `json:"options,omitempty"`
RequestId *string `json:"request_id,omitempty"`
Resource *PolicyEntity `json:"resource,omitempty"`
Subject *PolicyEntity `json:"subject,omitempty"`
Target PolicyTarget `json:"target"`
Version PolicyDecisionRequestVersion `json:"version"`
}
PolicyDecisionRequest defines model for PolicyDecisionRequest.
type PolicyDecisionRequestVersion ¶
type PolicyDecisionRequestVersion string
PolicyDecisionRequestVersion defines model for PolicyDecisionRequest.Version.
const (
N1 PolicyDecisionRequestVersion = "1"
)
Defines values for PolicyDecisionRequestVersion.
func (PolicyDecisionRequestVersion) Valid ¶
func (e PolicyDecisionRequestVersion) Valid() bool
Valid indicates whether the value is a known member of the PolicyDecisionRequestVersion enum.
type PolicyDecisionResponse ¶
type PolicyDecisionResponse struct {
Advice *[]PolicyAdvice `json:"advice,omitempty"`
DecisionId string `json:"decision_id"`
Diagnostics *PolicyDiagnostics `json:"diagnostics,omitempty"`
Effect PolicyDecisionResponseEffect `json:"effect"`
Obligations *[]PolicyObligation `json:"obligations,omitempty"`
RequestId string `json:"request_id"`
Status PolicyStatus `json:"status"`
}
PolicyDecisionResponse defines model for PolicyDecisionResponse.
type PolicyDecisionResponseEffect ¶
type PolicyDecisionResponseEffect string
PolicyDecisionResponseEffect defines model for PolicyDecisionResponse.Effect.
const ( Deny PolicyDecisionResponseEffect = "deny" Indeterminate PolicyDecisionResponseEffect = "indeterminate" NotApplicable PolicyDecisionResponseEffect = "not_applicable" Permit PolicyDecisionResponseEffect = "permit" )
Defines values for PolicyDecisionResponseEffect.
func (PolicyDecisionResponseEffect) Valid ¶
func (e PolicyDecisionResponseEffect) Valid() bool
Valid indicates whether the value is a known member of the PolicyDecisionResponseEffect enum.
type PolicyDiagnostics ¶
type PolicyDiagnostics struct {
Entries PolicyResponseValueMap `json:"entries"`
}
PolicyDiagnostics defines model for PolicyDiagnostics.
type PolicyEntity ¶
type PolicyEntity struct {
Attributes *PolicyValueMap `json:"attributes,omitempty"`
Id *string `json:"id,omitempty"`
Type *string `json:"type,omitempty"`
}
PolicyEntity defines model for PolicyEntity.
type PolicyEnvironment ¶
type PolicyEnvironment struct {
Attributes *PolicyValueMap `json:"attributes,omitempty"`
Instance *string `json:"instance,omitempty"`
Protocol *string `json:"protocol,omitempty"`
Service *string `json:"service,omitempty"`
}
PolicyEnvironment defines model for PolicyEnvironment.
type PolicyError ¶
type PolicyError struct {
Code string `json:"code"`
Details *[]PolicyValidationDetail `json:"details,omitempty"`
Message string `json:"message"`
}
PolicyError defines model for PolicyError.
type PolicyEvaluationOptions ¶
type PolicyEvaluationOptions struct {
IncludeDiagnostics *bool `json:"include_diagnostics,omitempty"`
}
PolicyEvaluationOptions defines model for PolicyEvaluationOptions.
type PolicyForbidden ¶
type PolicyForbidden = PolicyError
PolicyForbidden defines model for PolicyForbidden.
type PolicyObligation ¶
type PolicyObligation struct {
Id string `json:"id"`
Parameters PolicyResponseValueMap `json:"parameters"`
}
PolicyObligation defines model for PolicyObligation.
type PolicyRateLimited ¶
type PolicyRateLimited = PolicyError
PolicyRateLimited defines model for PolicyRateLimited.
type PolicyRecord ¶
type PolicyRecord struct {
Fields []PolicyRecordField `json:"fields"`
}
PolicyRecord defines model for PolicyRecord.
type PolicyRecordField ¶
type PolicyRecordField struct {
Name string `json:"name"`
Value PolicyRecordFieldValue `json:"value"`
}
PolicyRecordField defines model for PolicyRecordField.
type PolicyRecordFieldValue ¶
type PolicyRecordFieldValue struct {
Boolean *bool `json:"boolean,omitempty"`
Bytes *[]byte `json:"bytes,omitempty"`
Double *float64 `json:"double,omitempty"`
Integer *string `json:"integer,omitempty"`
String *string `json:"string,omitempty"`
Strings *[]string `json:"strings,omitempty"`
Timestamp *time.Time `json:"timestamp,omitempty"`
// contains filtered or unexported fields
}
PolicyRecordFieldValue defines model for PolicyRecordFieldValue.
func (PolicyRecordFieldValue) AsPolicyRecordFieldValue0 ¶
func (t PolicyRecordFieldValue) AsPolicyRecordFieldValue0() (PolicyRecordFieldValue0, error)
AsPolicyRecordFieldValue0 returns the union data inside the PolicyRecordFieldValue as a PolicyRecordFieldValue0
func (PolicyRecordFieldValue) AsPolicyRecordFieldValue1 ¶
func (t PolicyRecordFieldValue) AsPolicyRecordFieldValue1() (PolicyRecordFieldValue1, error)
AsPolicyRecordFieldValue1 returns the union data inside the PolicyRecordFieldValue as a PolicyRecordFieldValue1
func (PolicyRecordFieldValue) AsPolicyRecordFieldValue2 ¶
func (t PolicyRecordFieldValue) AsPolicyRecordFieldValue2() (PolicyRecordFieldValue2, error)
AsPolicyRecordFieldValue2 returns the union data inside the PolicyRecordFieldValue as a PolicyRecordFieldValue2
func (PolicyRecordFieldValue) AsPolicyRecordFieldValue3 ¶
func (t PolicyRecordFieldValue) AsPolicyRecordFieldValue3() (PolicyRecordFieldValue3, error)
AsPolicyRecordFieldValue3 returns the union data inside the PolicyRecordFieldValue as a PolicyRecordFieldValue3
func (PolicyRecordFieldValue) AsPolicyRecordFieldValue4 ¶
func (t PolicyRecordFieldValue) AsPolicyRecordFieldValue4() (PolicyRecordFieldValue4, error)
AsPolicyRecordFieldValue4 returns the union data inside the PolicyRecordFieldValue as a PolicyRecordFieldValue4
func (PolicyRecordFieldValue) AsPolicyRecordFieldValue5 ¶
func (t PolicyRecordFieldValue) AsPolicyRecordFieldValue5() (PolicyRecordFieldValue5, error)
AsPolicyRecordFieldValue5 returns the union data inside the PolicyRecordFieldValue as a PolicyRecordFieldValue5
func (PolicyRecordFieldValue) AsPolicyRecordFieldValue6 ¶
func (t PolicyRecordFieldValue) AsPolicyRecordFieldValue6() (PolicyRecordFieldValue6, error)
AsPolicyRecordFieldValue6 returns the union data inside the PolicyRecordFieldValue as a PolicyRecordFieldValue6
func (*PolicyRecordFieldValue) FromPolicyRecordFieldValue0 ¶
func (t *PolicyRecordFieldValue) FromPolicyRecordFieldValue0(v PolicyRecordFieldValue0) error
FromPolicyRecordFieldValue0 overwrites any union data inside the PolicyRecordFieldValue as the provided PolicyRecordFieldValue0
func (*PolicyRecordFieldValue) FromPolicyRecordFieldValue1 ¶
func (t *PolicyRecordFieldValue) FromPolicyRecordFieldValue1(v PolicyRecordFieldValue1) error
FromPolicyRecordFieldValue1 overwrites any union data inside the PolicyRecordFieldValue as the provided PolicyRecordFieldValue1
func (*PolicyRecordFieldValue) FromPolicyRecordFieldValue2 ¶
func (t *PolicyRecordFieldValue) FromPolicyRecordFieldValue2(v PolicyRecordFieldValue2) error
FromPolicyRecordFieldValue2 overwrites any union data inside the PolicyRecordFieldValue as the provided PolicyRecordFieldValue2
func (*PolicyRecordFieldValue) FromPolicyRecordFieldValue3 ¶
func (t *PolicyRecordFieldValue) FromPolicyRecordFieldValue3(v PolicyRecordFieldValue3) error
FromPolicyRecordFieldValue3 overwrites any union data inside the PolicyRecordFieldValue as the provided PolicyRecordFieldValue3
func (*PolicyRecordFieldValue) FromPolicyRecordFieldValue4 ¶
func (t *PolicyRecordFieldValue) FromPolicyRecordFieldValue4(v PolicyRecordFieldValue4) error
FromPolicyRecordFieldValue4 overwrites any union data inside the PolicyRecordFieldValue as the provided PolicyRecordFieldValue4
func (*PolicyRecordFieldValue) FromPolicyRecordFieldValue5 ¶
func (t *PolicyRecordFieldValue) FromPolicyRecordFieldValue5(v PolicyRecordFieldValue5) error
FromPolicyRecordFieldValue5 overwrites any union data inside the PolicyRecordFieldValue as the provided PolicyRecordFieldValue5
func (*PolicyRecordFieldValue) FromPolicyRecordFieldValue6 ¶
func (t *PolicyRecordFieldValue) FromPolicyRecordFieldValue6(v PolicyRecordFieldValue6) error
FromPolicyRecordFieldValue6 overwrites any union data inside the PolicyRecordFieldValue as the provided PolicyRecordFieldValue6
func (PolicyRecordFieldValue) MarshalJSON ¶
func (t PolicyRecordFieldValue) MarshalJSON() ([]byte, error)
func (*PolicyRecordFieldValue) MergePolicyRecordFieldValue0 ¶
func (t *PolicyRecordFieldValue) MergePolicyRecordFieldValue0(v PolicyRecordFieldValue0) error
MergePolicyRecordFieldValue0 performs a merge with any union data inside the PolicyRecordFieldValue, using the provided PolicyRecordFieldValue0
func (*PolicyRecordFieldValue) MergePolicyRecordFieldValue1 ¶
func (t *PolicyRecordFieldValue) MergePolicyRecordFieldValue1(v PolicyRecordFieldValue1) error
MergePolicyRecordFieldValue1 performs a merge with any union data inside the PolicyRecordFieldValue, using the provided PolicyRecordFieldValue1
func (*PolicyRecordFieldValue) MergePolicyRecordFieldValue2 ¶
func (t *PolicyRecordFieldValue) MergePolicyRecordFieldValue2(v PolicyRecordFieldValue2) error
MergePolicyRecordFieldValue2 performs a merge with any union data inside the PolicyRecordFieldValue, using the provided PolicyRecordFieldValue2
func (*PolicyRecordFieldValue) MergePolicyRecordFieldValue3 ¶
func (t *PolicyRecordFieldValue) MergePolicyRecordFieldValue3(v PolicyRecordFieldValue3) error
MergePolicyRecordFieldValue3 performs a merge with any union data inside the PolicyRecordFieldValue, using the provided PolicyRecordFieldValue3
func (*PolicyRecordFieldValue) MergePolicyRecordFieldValue4 ¶
func (t *PolicyRecordFieldValue) MergePolicyRecordFieldValue4(v PolicyRecordFieldValue4) error
MergePolicyRecordFieldValue4 performs a merge with any union data inside the PolicyRecordFieldValue, using the provided PolicyRecordFieldValue4
func (*PolicyRecordFieldValue) MergePolicyRecordFieldValue5 ¶
func (t *PolicyRecordFieldValue) MergePolicyRecordFieldValue5(v PolicyRecordFieldValue5) error
MergePolicyRecordFieldValue5 performs a merge with any union data inside the PolicyRecordFieldValue, using the provided PolicyRecordFieldValue5
func (*PolicyRecordFieldValue) MergePolicyRecordFieldValue6 ¶
func (t *PolicyRecordFieldValue) MergePolicyRecordFieldValue6(v PolicyRecordFieldValue6) error
MergePolicyRecordFieldValue6 performs a merge with any union data inside the PolicyRecordFieldValue, using the provided PolicyRecordFieldValue6
func (*PolicyRecordFieldValue) UnmarshalJSON ¶
func (t *PolicyRecordFieldValue) UnmarshalJSON(b []byte) error
type PolicyRecordFieldValue0 ¶
type PolicyRecordFieldValue0 = interface{}
PolicyRecordFieldValue0 defines model for PolicyRecordFieldValue.0.
type PolicyRecordFieldValue1 ¶
type PolicyRecordFieldValue1 = interface{}
PolicyRecordFieldValue1 defines model for PolicyRecordFieldValue.1.
type PolicyRecordFieldValue2 ¶
type PolicyRecordFieldValue2 = interface{}
PolicyRecordFieldValue2 defines model for PolicyRecordFieldValue.2.
type PolicyRecordFieldValue3 ¶
type PolicyRecordFieldValue3 = interface{}
PolicyRecordFieldValue3 defines model for PolicyRecordFieldValue.3.
type PolicyRecordFieldValue4 ¶
type PolicyRecordFieldValue4 = interface{}
PolicyRecordFieldValue4 defines model for PolicyRecordFieldValue.4.
type PolicyRecordFieldValue5 ¶
type PolicyRecordFieldValue5 = interface{}
PolicyRecordFieldValue5 defines model for PolicyRecordFieldValue.5.
type PolicyRecordFieldValue6 ¶
type PolicyRecordFieldValue6 = interface{}
PolicyRecordFieldValue6 defines model for PolicyRecordFieldValue.6.
type PolicyRequestTooLarge ¶
type PolicyRequestTooLarge = PolicyError
PolicyRequestTooLarge defines model for PolicyRequestTooLarge.
type PolicyResponseValue ¶
type PolicyResponseValue = PolicyRecordFieldValue
PolicyResponseValue defines model for PolicyResponseValue.
type PolicyResponseValueMap ¶
type PolicyResponseValueMap map[string]PolicyResponseValue
PolicyResponseValueMap defines model for PolicyResponseValueMap.
type PolicyStatus ¶
type PolicyStatus struct {
// Code Stable result code. effect_outcome_unknown is non-retryable. effect_replay_unsafe is non-retryable because an earlier non-idempotent effect already completed or was accepted before a later failure. effect_outcome_unknown_replay_safe permits retrying the complete Policy request with unchanged admitted idempotency keys and payload. The host never retries an effect within one request.
Code string `json:"code"`
Details *[]PolicyValidationDetail `json:"details,omitempty"`
Message string `json:"message"`
// Retryable Whether the caller may retry; replay-safe unknown outcomes require the same complete request and idempotency keys.
Retryable bool `json:"retryable"`
}
PolicyStatus defines model for PolicyStatus.
type PolicyTarget ¶
PolicyTarget defines model for PolicyTarget.
type PolicyUnauthorized ¶
type PolicyUnauthorized = PolicyError
PolicyUnauthorized defines model for PolicyUnauthorized.
type PolicyUnavailable ¶
type PolicyUnavailable = PolicyError
PolicyUnavailable defines model for PolicyUnavailable.
type PolicyUnsupportedMediaType ¶
type PolicyUnsupportedMediaType = PolicyError
PolicyUnsupportedMediaType defines model for PolicyUnsupportedMediaType.
type PolicyValidationDetail ¶
PolicyValidationDetail defines model for PolicyValidationDetail.
type PolicyValue ¶
type PolicyValue struct {
Boolean *bool `json:"boolean,omitempty"`
Bytes *[]byte `json:"bytes,omitempty"`
Double *float64 `json:"double,omitempty"`
Integer *string `json:"integer,omitempty"`
Records *[]PolicyRecord `json:"records,omitempty"`
String *string `json:"string,omitempty"`
Strings *[]string `json:"strings,omitempty"`
Timestamp *time.Time `json:"timestamp,omitempty"`
// contains filtered or unexported fields
}
PolicyValue defines model for PolicyValue.
func (PolicyValue) AsPolicyValue0 ¶
func (t PolicyValue) AsPolicyValue0() (PolicyValue0, error)
AsPolicyValue0 returns the union data inside the PolicyValue as a PolicyValue0
func (PolicyValue) AsPolicyValue1 ¶
func (t PolicyValue) AsPolicyValue1() (PolicyValue1, error)
AsPolicyValue1 returns the union data inside the PolicyValue as a PolicyValue1
func (PolicyValue) AsPolicyValue2 ¶
func (t PolicyValue) AsPolicyValue2() (PolicyValue2, error)
AsPolicyValue2 returns the union data inside the PolicyValue as a PolicyValue2
func (PolicyValue) AsPolicyValue3 ¶
func (t PolicyValue) AsPolicyValue3() (PolicyValue3, error)
AsPolicyValue3 returns the union data inside the PolicyValue as a PolicyValue3
func (PolicyValue) AsPolicyValue4 ¶
func (t PolicyValue) AsPolicyValue4() (PolicyValue4, error)
AsPolicyValue4 returns the union data inside the PolicyValue as a PolicyValue4
func (PolicyValue) AsPolicyValue5 ¶
func (t PolicyValue) AsPolicyValue5() (PolicyValue5, error)
AsPolicyValue5 returns the union data inside the PolicyValue as a PolicyValue5
func (PolicyValue) AsPolicyValue6 ¶
func (t PolicyValue) AsPolicyValue6() (PolicyValue6, error)
AsPolicyValue6 returns the union data inside the PolicyValue as a PolicyValue6
func (PolicyValue) AsPolicyValue7 ¶
func (t PolicyValue) AsPolicyValue7() (PolicyValue7, error)
AsPolicyValue7 returns the union data inside the PolicyValue as a PolicyValue7
func (*PolicyValue) FromPolicyValue0 ¶
func (t *PolicyValue) FromPolicyValue0(v PolicyValue0) error
FromPolicyValue0 overwrites any union data inside the PolicyValue as the provided PolicyValue0
func (*PolicyValue) FromPolicyValue1 ¶
func (t *PolicyValue) FromPolicyValue1(v PolicyValue1) error
FromPolicyValue1 overwrites any union data inside the PolicyValue as the provided PolicyValue1
func (*PolicyValue) FromPolicyValue2 ¶
func (t *PolicyValue) FromPolicyValue2(v PolicyValue2) error
FromPolicyValue2 overwrites any union data inside the PolicyValue as the provided PolicyValue2
func (*PolicyValue) FromPolicyValue3 ¶
func (t *PolicyValue) FromPolicyValue3(v PolicyValue3) error
FromPolicyValue3 overwrites any union data inside the PolicyValue as the provided PolicyValue3
func (*PolicyValue) FromPolicyValue4 ¶
func (t *PolicyValue) FromPolicyValue4(v PolicyValue4) error
FromPolicyValue4 overwrites any union data inside the PolicyValue as the provided PolicyValue4
func (*PolicyValue) FromPolicyValue5 ¶
func (t *PolicyValue) FromPolicyValue5(v PolicyValue5) error
FromPolicyValue5 overwrites any union data inside the PolicyValue as the provided PolicyValue5
func (*PolicyValue) FromPolicyValue6 ¶
func (t *PolicyValue) FromPolicyValue6(v PolicyValue6) error
FromPolicyValue6 overwrites any union data inside the PolicyValue as the provided PolicyValue6
func (*PolicyValue) FromPolicyValue7 ¶
func (t *PolicyValue) FromPolicyValue7(v PolicyValue7) error
FromPolicyValue7 overwrites any union data inside the PolicyValue as the provided PolicyValue7
func (PolicyValue) MarshalJSON ¶
func (t PolicyValue) MarshalJSON() ([]byte, error)
func (*PolicyValue) MergePolicyValue0 ¶
func (t *PolicyValue) MergePolicyValue0(v PolicyValue0) error
MergePolicyValue0 performs a merge with any union data inside the PolicyValue, using the provided PolicyValue0
func (*PolicyValue) MergePolicyValue1 ¶
func (t *PolicyValue) MergePolicyValue1(v PolicyValue1) error
MergePolicyValue1 performs a merge with any union data inside the PolicyValue, using the provided PolicyValue1
func (*PolicyValue) MergePolicyValue2 ¶
func (t *PolicyValue) MergePolicyValue2(v PolicyValue2) error
MergePolicyValue2 performs a merge with any union data inside the PolicyValue, using the provided PolicyValue2
func (*PolicyValue) MergePolicyValue3 ¶
func (t *PolicyValue) MergePolicyValue3(v PolicyValue3) error
MergePolicyValue3 performs a merge with any union data inside the PolicyValue, using the provided PolicyValue3
func (*PolicyValue) MergePolicyValue4 ¶
func (t *PolicyValue) MergePolicyValue4(v PolicyValue4) error
MergePolicyValue4 performs a merge with any union data inside the PolicyValue, using the provided PolicyValue4
func (*PolicyValue) MergePolicyValue5 ¶
func (t *PolicyValue) MergePolicyValue5(v PolicyValue5) error
MergePolicyValue5 performs a merge with any union data inside the PolicyValue, using the provided PolicyValue5
func (*PolicyValue) MergePolicyValue6 ¶
func (t *PolicyValue) MergePolicyValue6(v PolicyValue6) error
MergePolicyValue6 performs a merge with any union data inside the PolicyValue, using the provided PolicyValue6
func (*PolicyValue) MergePolicyValue7 ¶
func (t *PolicyValue) MergePolicyValue7(v PolicyValue7) error
MergePolicyValue7 performs a merge with any union data inside the PolicyValue, using the provided PolicyValue7
func (*PolicyValue) UnmarshalJSON ¶
func (t *PolicyValue) UnmarshalJSON(b []byte) error
type PolicyValueMap ¶
type PolicyValueMap map[string]PolicyValue
PolicyValueMap defines model for PolicyValueMap.
type PutReputationOverrideJSONRequestBody ¶
type PutReputationOverrideJSONRequestBody = ReputationOverridePutRequest
PutReputationOverrideJSONRequestBody defines body for PutReputationOverride for application/json ContentType.
type PutReputationOverrideResponse ¶
type PutReputationOverrideResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ReputationView
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ReputationManagementError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *ReputationManagementError
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *ReputationManagementError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ReputationManagementError
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *ReputationManagementError
// JSON413 the response for an HTTP 413 `application/json` response
JSON413 *ReputationManagementError
// JSON415 the response for an HTTP 415 `application/json` response
JSON415 *ReputationManagementError
// JSON500 the response for an HTTP 500 `application/json` response
JSON500 *ReputationManagementError
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *ReputationManagementError
// JSON504 the response for an HTTP 504 `application/json` response
JSON504 *ReputationManagementError
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *PutReputationOverrideResponse200Headers
}
func ParsePutReputationOverrideResponse ¶
func ParsePutReputationOverrideResponse(rsp *http.Response) (*PutReputationOverrideResponse, error)
ParsePutReputationOverrideResponse parses an HTTP response from a PutReputationOverrideWithResponse call
func (PutReputationOverrideResponse) ContentType ¶
func (r PutReputationOverrideResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PutReputationOverrideResponse) GetBody ¶
func (r PutReputationOverrideResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PutReputationOverrideResponse) GetJSON200 ¶
func (r PutReputationOverrideResponse) GetJSON200() *ReputationView
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PutReputationOverrideResponse) GetJSON400 ¶
func (r PutReputationOverrideResponse) GetJSON400() *ReputationManagementError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PutReputationOverrideResponse) GetJSON401 ¶
func (r PutReputationOverrideResponse) GetJSON401() *ReputationManagementError
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PutReputationOverrideResponse) GetJSON403 ¶
func (r PutReputationOverrideResponse) GetJSON403() *ReputationManagementError
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (PutReputationOverrideResponse) GetJSON404 ¶
func (r PutReputationOverrideResponse) GetJSON404() *ReputationManagementError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PutReputationOverrideResponse) GetJSON409 ¶
func (r PutReputationOverrideResponse) GetJSON409() *ReputationManagementError
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (PutReputationOverrideResponse) GetJSON413 ¶
func (r PutReputationOverrideResponse) GetJSON413() *ReputationManagementError
GetJSON413 returns the response for an HTTP 413 `application/json` response
func (PutReputationOverrideResponse) GetJSON415 ¶
func (r PutReputationOverrideResponse) GetJSON415() *ReputationManagementError
GetJSON415 returns the response for an HTTP 415 `application/json` response
func (PutReputationOverrideResponse) GetJSON500 ¶
func (r PutReputationOverrideResponse) GetJSON500() *ReputationManagementError
GetJSON500 returns the response for an HTTP 500 `application/json` response
func (PutReputationOverrideResponse) GetJSON503 ¶
func (r PutReputationOverrideResponse) GetJSON503() *ReputationManagementError
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (PutReputationOverrideResponse) GetJSON504 ¶
func (r PutReputationOverrideResponse) GetJSON504() *ReputationManagementError
GetJSON504 returns the response for an HTTP 504 `application/json` response
func (PutReputationOverrideResponse) Status ¶
func (r PutReputationOverrideResponse) Status() string
Status returns HTTPResponse.Status
func (PutReputationOverrideResponse) StatusCode ¶
func (r PutReputationOverrideResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutReputationOverrideResponse200Headers ¶
type PutReputationOverrideResponse200Headers struct {
CacheControl *string
}
PutReputationOverrideResponse200Headers the declared response headers of an HTTP 200 response for PutReputationOverride
type ReputationAllocationAudit ¶
type ReputationAllocationAudit struct {
AuditId string `json:"audit_id"`
Creator string `json:"creator"`
Origin string `json:"origin"`
Reason string `json:"reason"`
}
ReputationAllocationAudit defines model for ReputationAllocationAudit.
type ReputationAllocationRequest ¶
type ReputationAllocationRequest struct {
// contains filtered or unexported fields
}
ReputationAllocationRequest defines model for ReputationAllocationRequest.
func (ReputationAllocationRequest) AsReputationAllocationRequest0 ¶
func (t ReputationAllocationRequest) AsReputationAllocationRequest0() (ReputationAllocationRequest0, error)
AsReputationAllocationRequest0 returns the union data inside the ReputationAllocationRequest as a ReputationAllocationRequest0
func (ReputationAllocationRequest) AsReputationAllocationRequest1 ¶
func (t ReputationAllocationRequest) AsReputationAllocationRequest1() (ReputationAllocationRequest1, error)
AsReputationAllocationRequest1 returns the union data inside the ReputationAllocationRequest as a ReputationAllocationRequest1
func (*ReputationAllocationRequest) FromReputationAllocationRequest0 ¶
func (t *ReputationAllocationRequest) FromReputationAllocationRequest0(v ReputationAllocationRequest0) error
FromReputationAllocationRequest0 overwrites any union data inside the ReputationAllocationRequest as the provided ReputationAllocationRequest0
func (*ReputationAllocationRequest) FromReputationAllocationRequest1 ¶
func (t *ReputationAllocationRequest) FromReputationAllocationRequest1(v ReputationAllocationRequest1) error
FromReputationAllocationRequest1 overwrites any union data inside the ReputationAllocationRequest as the provided ReputationAllocationRequest1
func (ReputationAllocationRequest) MarshalJSON ¶
func (t ReputationAllocationRequest) MarshalJSON() ([]byte, error)
func (*ReputationAllocationRequest) MergeReputationAllocationRequest0 ¶
func (t *ReputationAllocationRequest) MergeReputationAllocationRequest0(v ReputationAllocationRequest0) error
MergeReputationAllocationRequest0 performs a merge with any union data inside the ReputationAllocationRequest, using the provided ReputationAllocationRequest0
func (*ReputationAllocationRequest) MergeReputationAllocationRequest1 ¶
func (t *ReputationAllocationRequest) MergeReputationAllocationRequest1(v ReputationAllocationRequest1) error
MergeReputationAllocationRequest1 performs a merge with any union data inside the ReputationAllocationRequest, using the provided ReputationAllocationRequest1
func (*ReputationAllocationRequest) UnmarshalJSON ¶
func (t *ReputationAllocationRequest) UnmarshalJSON(b []byte) error
type ReputationAllocationRequest0 ¶
type ReputationAllocationRequest0 struct {
Action ReputationAllocationRequest0Action `json:"action"`
}
ReputationAllocationRequest0 defines model for ReputationAllocationRequest.0.
type ReputationAllocationRequest0Action ¶
type ReputationAllocationRequest0Action string
ReputationAllocationRequest0Action defines model for ReputationAllocationRequest.0.Action.
const (
Status ReputationAllocationRequest0Action = "status"
)
Defines values for ReputationAllocationRequest0Action.
func (ReputationAllocationRequest0Action) Valid ¶
func (e ReputationAllocationRequest0Action) Valid() bool
Valid indicates whether the value is a known member of the ReputationAllocationRequest0Action enum.
type ReputationAllocationRequest1 ¶
type ReputationAllocationRequest1 struct {
Action ReputationAllocationRequest1Action `json:"action"`
AuditId string `json:"audit_id"`
Origin string `json:"origin"`
Reason string `json:"reason"`
}
ReputationAllocationRequest1 defines model for ReputationAllocationRequest.1.
type ReputationAllocationRequest1Action ¶
type ReputationAllocationRequest1Action string
ReputationAllocationRequest1Action defines model for ReputationAllocationRequest.1.Action.
const (
Drain ReputationAllocationRequest1Action = "drain"
)
Defines values for ReputationAllocationRequest1Action.
func (ReputationAllocationRequest1Action) Valid ¶
func (e ReputationAllocationRequest1Action) Valid() bool
Valid indicates whether the value is a known member of the ReputationAllocationRequest1Action enum.
type ReputationAllocationView ¶
type ReputationAllocationView struct {
Audit *ReputationAllocationAudit `json:"audit,omitempty"`
DrainedAt float32 `json:"drained_at"`
FencedShards int `json:"fenced_shards"`
Generation int `json:"generation"`
Mode ReputationAllocationViewMode `json:"mode"`
NextGeneration int `json:"next_generation"`
ObservedAt float32 `json:"observed_at"`
Retention float32 `json:"retention"`
}
ReputationAllocationView defines model for ReputationAllocationView.
type ReputationAllocationViewMode ¶
type ReputationAllocationViewMode string
ReputationAllocationViewMode defines model for ReputationAllocationView.Mode.
const ( ReputationAllocationViewModeActive ReputationAllocationViewMode = "active" ReputationAllocationViewModeDraining ReputationAllocationViewMode = "draining" )
Defines values for ReputationAllocationViewMode.
func (ReputationAllocationViewMode) Valid ¶
func (e ReputationAllocationViewMode) Valid() bool
Valid indicates whether the value is a known member of the ReputationAllocationViewMode enum.
type ReputationAudit ¶
type ReputationAudit struct {
AuditId string `json:"audit_id"`
CreatedAt float32 `json:"created_at"`
Creator string `json:"creator"`
Kind ReputationAuditKind `json:"kind"`
Operation ReputationAuditOperation `json:"operation"`
Origin string `json:"origin"`
PreviousAudit string `json:"previous_audit"`
Reason string `json:"reason"`
Schema ReputationAuditSchema `json:"schema"`
}
ReputationAudit defines model for ReputationAudit.
type ReputationAuditKind ¶
type ReputationAuditKind string
ReputationAuditKind defines model for ReputationAudit.Kind.
const ( ReputationAuditKindAccount ReputationAuditKind = "account" ReputationAuditKindAsn ReputationAuditKind = "asn" ReputationAuditKindDnsDomain ReputationAuditKind = "dns_domain" ReputationAuditKindIp ReputationAuditKind = "ip" ReputationAuditKindNetwork ReputationAuditKind = "network" ReputationAuditKindService ReputationAuditKind = "service" )
Defines values for ReputationAuditKind.
func (ReputationAuditKind) Valid ¶
func (e ReputationAuditKind) Valid() bool
Valid indicates whether the value is a known member of the ReputationAuditKind enum.
type ReputationAuditOperation ¶
type ReputationAuditOperation string
ReputationAuditOperation defines model for ReputationAudit.Operation.
const ( OverrideDelete ReputationAuditOperation = "override_delete" OverridePut ReputationAuditOperation = "override_put" )
Defines values for ReputationAuditOperation.
func (ReputationAuditOperation) Valid ¶
func (e ReputationAuditOperation) Valid() bool
Valid indicates whether the value is a known member of the ReputationAuditOperation enum.
type ReputationAuditSchema ¶
type ReputationAuditSchema string
ReputationAuditSchema defines model for ReputationAudit.Schema.
const (
ReputationOperatorAuditV1 ReputationAuditSchema = "reputation-operator-audit.v1"
)
Defines values for ReputationAuditSchema.
func (ReputationAuditSchema) Valid ¶
func (e ReputationAuditSchema) Valid() bool
Valid indicates whether the value is a known member of the ReputationAuditSchema enum.
type ReputationEvidence ¶
type ReputationEvidence struct {
AuthoritativeAt float32 `json:"authoritative_at"`
Kind ReputationEvidenceKind `json:"kind"`
LastChange *ReputationAudit `json:"last_change,omitempty"`
ObservedAt float32 `json:"observed_at"`
Override *ReputationOverride `json:"override,omitempty"`
RiskAt float32 `json:"risk_at"`
Slot ReputationEvidenceSlot `json:"slot"`
SourceClasses ReputationSourceClasses `json:"source_classes"`
State ReputationEvidenceState `json:"state"`
TrustAt float32 `json:"trust_at"`
UpdatedAt float32 `json:"updated_at"`
}
ReputationEvidence defines model for ReputationEvidence.
type ReputationEvidenceKind ¶
type ReputationEvidenceKind string
ReputationEvidenceKind defines model for ReputationEvidence.Kind.
const ( ReputationEvidenceKindAccount ReputationEvidenceKind = "account" ReputationEvidenceKindAsn ReputationEvidenceKind = "asn" ReputationEvidenceKindDnsDomain ReputationEvidenceKind = "dns_domain" ReputationEvidenceKindIp ReputationEvidenceKind = "ip" ReputationEvidenceKindNetwork ReputationEvidenceKind = "network" ReputationEvidenceKindService ReputationEvidenceKind = "service" )
Defines values for ReputationEvidenceKind.
func (ReputationEvidenceKind) Valid ¶
func (e ReputationEvidenceKind) Valid() bool
Valid indicates whether the value is a known member of the ReputationEvidenceKind enum.
type ReputationEvidenceSlot ¶
type ReputationEvidenceSlot string
ReputationEvidenceSlot defines model for ReputationEvidence.Slot.
const ( ReputationEvidenceSlotActive ReputationEvidenceSlot = "active" ReputationEvidenceSlotPrevious ReputationEvidenceSlot = "previous" )
Defines values for ReputationEvidenceSlot.
func (ReputationEvidenceSlot) Valid ¶
func (e ReputationEvidenceSlot) Valid() bool
Valid indicates whether the value is a known member of the ReputationEvidenceSlot enum.
type ReputationEvidenceState ¶
type ReputationEvidenceState string
ReputationEvidenceState defines model for ReputationEvidence.State.
const ( ReputationEvidenceStateFresh ReputationEvidenceState = "fresh" ReputationEvidenceStateNotFound ReputationEvidenceState = "not_found" )
Defines values for ReputationEvidenceState.
func (ReputationEvidenceState) Valid ¶
func (e ReputationEvidenceState) Valid() bool
Valid indicates whether the value is a known member of the ReputationEvidenceState enum.
type ReputationLookupRequest ¶
type ReputationLookupRequest struct {
Kind ReputationLookupRequestKind `json:"kind"`
Subject string `json:"subject"`
}
ReputationLookupRequest defines model for ReputationLookupRequest.
type ReputationLookupRequestKind ¶
type ReputationLookupRequestKind string
ReputationLookupRequestKind defines model for ReputationLookupRequest.Kind.
const ( ReputationLookupRequestKindAccount ReputationLookupRequestKind = "account" ReputationLookupRequestKindAsn ReputationLookupRequestKind = "asn" ReputationLookupRequestKindDnsDomain ReputationLookupRequestKind = "dns_domain" ReputationLookupRequestKindIp ReputationLookupRequestKind = "ip" ReputationLookupRequestKindNetwork ReputationLookupRequestKind = "network" ReputationLookupRequestKindService ReputationLookupRequestKind = "service" )
Defines values for ReputationLookupRequestKind.
func (ReputationLookupRequestKind) Valid ¶
func (e ReputationLookupRequestKind) Valid() bool
Valid indicates whether the value is a known member of the ReputationLookupRequestKind enum.
type ReputationManagementError ¶
type ReputationManagementError struct {
Error string `json:"error"`
}
ReputationManagementError defines model for ReputationManagementError.
type ReputationOverride ¶
type ReputationOverride struct {
AuditId string `json:"audit_id"`
Band ReputationOverrideBand `json:"band"`
CreatedAt float32 `json:"created_at"`
Creator string `json:"creator"`
ExpiresAt float32 `json:"expires_at"`
Origin string `json:"origin"`
Reason string `json:"reason"`
}
ReputationOverride defines model for ReputationOverride.
type ReputationOverrideBand ¶
type ReputationOverrideBand string
ReputationOverrideBand defines model for ReputationOverride.Band.
const ( ReputationOverrideBandBlocked ReputationOverrideBand = "blocked" ReputationOverrideBandNeutral ReputationOverrideBand = "neutral" ReputationOverrideBandTrusted ReputationOverrideBand = "trusted" )
Defines values for ReputationOverrideBand.
func (ReputationOverrideBand) Valid ¶
func (e ReputationOverrideBand) Valid() bool
Valid indicates whether the value is a known member of the ReputationOverrideBand enum.
type ReputationOverrideDeleteRequest ¶
type ReputationOverrideDeleteRequest struct {
AuditId string `json:"audit_id"`
Kind ReputationOverrideDeleteRequestKind `json:"kind"`
Origin string `json:"origin"`
PreviousAudit string `json:"previous_audit"`
Reason string `json:"reason"`
Slot *ReputationOverrideDeleteRequestSlot `json:"slot,omitempty"`
Subject string `json:"subject"`
}
ReputationOverrideDeleteRequest defines model for ReputationOverrideDeleteRequest.
type ReputationOverrideDeleteRequestKind ¶
type ReputationOverrideDeleteRequestKind string
ReputationOverrideDeleteRequestKind defines model for ReputationOverrideDeleteRequest.Kind.
const ( ReputationOverrideDeleteRequestKindAccount ReputationOverrideDeleteRequestKind = "account" ReputationOverrideDeleteRequestKindAsn ReputationOverrideDeleteRequestKind = "asn" ReputationOverrideDeleteRequestKindDnsDomain ReputationOverrideDeleteRequestKind = "dns_domain" ReputationOverrideDeleteRequestKindIp ReputationOverrideDeleteRequestKind = "ip" ReputationOverrideDeleteRequestKindNetwork ReputationOverrideDeleteRequestKind = "network" ReputationOverrideDeleteRequestKindService ReputationOverrideDeleteRequestKind = "service" )
Defines values for ReputationOverrideDeleteRequestKind.
func (ReputationOverrideDeleteRequestKind) Valid ¶
func (e ReputationOverrideDeleteRequestKind) Valid() bool
Valid indicates whether the value is a known member of the ReputationOverrideDeleteRequestKind enum.
type ReputationOverrideDeleteRequestSlot ¶
type ReputationOverrideDeleteRequestSlot string
ReputationOverrideDeleteRequestSlot defines model for ReputationOverrideDeleteRequest.Slot.
const ( ReputationOverrideDeleteRequestSlotActive ReputationOverrideDeleteRequestSlot = "active" ReputationOverrideDeleteRequestSlotPrevious ReputationOverrideDeleteRequestSlot = "previous" )
Defines values for ReputationOverrideDeleteRequestSlot.
func (ReputationOverrideDeleteRequestSlot) Valid ¶
func (e ReputationOverrideDeleteRequestSlot) Valid() bool
Valid indicates whether the value is a known member of the ReputationOverrideDeleteRequestSlot enum.
type ReputationOverridePutRequest ¶
type ReputationOverridePutRequest struct {
AuditId string `json:"audit_id"`
Band ReputationOverridePutRequestBand `json:"band"`
Kind ReputationOverridePutRequestKind `json:"kind"`
Origin string `json:"origin"`
PreviousAudit *string `json:"previous_audit,omitempty"`
Reason string `json:"reason"`
Slot *ReputationOverridePutRequestSlot `json:"slot,omitempty"`
Subject string `json:"subject"`
TtlSeconds int64 `json:"ttl_seconds"`
}
ReputationOverridePutRequest defines model for ReputationOverridePutRequest.
type ReputationOverridePutRequestBand ¶
type ReputationOverridePutRequestBand string
ReputationOverridePutRequestBand defines model for ReputationOverridePutRequest.Band.
const ( ReputationOverridePutRequestBandBlocked ReputationOverridePutRequestBand = "blocked" ReputationOverridePutRequestBandNeutral ReputationOverridePutRequestBand = "neutral" ReputationOverridePutRequestBandTrusted ReputationOverridePutRequestBand = "trusted" )
Defines values for ReputationOverridePutRequestBand.
func (ReputationOverridePutRequestBand) Valid ¶
func (e ReputationOverridePutRequestBand) Valid() bool
Valid indicates whether the value is a known member of the ReputationOverridePutRequestBand enum.
type ReputationOverridePutRequestKind ¶
type ReputationOverridePutRequestKind string
ReputationOverridePutRequestKind defines model for ReputationOverridePutRequest.Kind.
const ( ReputationOverridePutRequestKindAccount ReputationOverridePutRequestKind = "account" ReputationOverridePutRequestKindAsn ReputationOverridePutRequestKind = "asn" ReputationOverridePutRequestKindDnsDomain ReputationOverridePutRequestKind = "dns_domain" ReputationOverridePutRequestKindIp ReputationOverridePutRequestKind = "ip" ReputationOverridePutRequestKindNetwork ReputationOverridePutRequestKind = "network" ReputationOverridePutRequestKindService ReputationOverridePutRequestKind = "service" )
Defines values for ReputationOverridePutRequestKind.
func (ReputationOverridePutRequestKind) Valid ¶
func (e ReputationOverridePutRequestKind) Valid() bool
Valid indicates whether the value is a known member of the ReputationOverridePutRequestKind enum.
type ReputationOverridePutRequestSlot ¶
type ReputationOverridePutRequestSlot string
ReputationOverridePutRequestSlot defines model for ReputationOverridePutRequest.Slot.
const ( ReputationOverridePutRequestSlotActive ReputationOverridePutRequestSlot = "active" ReputationOverridePutRequestSlotPrevious ReputationOverridePutRequestSlot = "previous" )
Defines values for ReputationOverridePutRequestSlot.
func (ReputationOverridePutRequestSlot) Valid ¶
func (e ReputationOverridePutRequestSlot) Valid() bool
Valid indicates whether the value is a known member of the ReputationOverridePutRequestSlot enum.
type ReputationProfile ¶
type ReputationProfile struct {
Band ReputationProfileBand `json:"band"`
Details *ReputationScores `json:"details,omitempty"`
Override ReputationProfileOverride `json:"override"`
State ReputationProfileState `json:"state"`
}
ReputationProfile defines model for ReputationProfile.
type ReputationProfileBand ¶
type ReputationProfileBand string
ReputationProfileBand defines model for ReputationProfile.Band.
const ( ReputationProfileBandBlocked ReputationProfileBand = "blocked" ReputationProfileBandNeutral ReputationProfileBand = "neutral" ReputationProfileBandPositive ReputationProfileBand = "positive" ReputationProfileBandSuspicious ReputationProfileBand = "suspicious" ReputationProfileBandTrusted ReputationProfileBand = "trusted" ReputationProfileBandUnknown ReputationProfileBand = "unknown" )
Defines values for ReputationProfileBand.
func (ReputationProfileBand) Valid ¶
func (e ReputationProfileBand) Valid() bool
Valid indicates whether the value is a known member of the ReputationProfileBand enum.
type ReputationProfileOverride ¶
type ReputationProfileOverride string
ReputationProfileOverride defines model for ReputationProfile.Override.
const ( ReputationProfileOverrideBlocked ReputationProfileOverride = "blocked" ReputationProfileOverrideNeutral ReputationProfileOverride = "neutral" ReputationProfileOverrideNone ReputationProfileOverride = "none" ReputationProfileOverrideTrusted ReputationProfileOverride = "trusted" )
Defines values for ReputationProfileOverride.
func (ReputationProfileOverride) Valid ¶
func (e ReputationProfileOverride) Valid() bool
Valid indicates whether the value is a known member of the ReputationProfileOverride enum.
type ReputationProfileState ¶
type ReputationProfileState string
ReputationProfileState defines model for ReputationProfile.State.
const ( ReputationProfileStateFresh ReputationProfileState = "fresh" ReputationProfileStateNotFound ReputationProfileState = "not_found" )
Defines values for ReputationProfileState.
func (ReputationProfileState) Valid ¶
func (e ReputationProfileState) Valid() bool
Valid indicates whether the value is a known member of the ReputationProfileState enum.
type ReputationScores ¶
type ReputationScores struct {
AgeSeconds int64 `json:"age_seconds"`
Confidence float32 `json:"confidence"`
RiskScore float32 `json:"risk_score"`
Samples float32 `json:"samples"`
SourceDiversity int `json:"source_diversity"`
TrustScore float32 `json:"trust_score"`
}
ReputationScores defines model for ReputationScores.
type ReputationSourceClasses ¶
type ReputationSourceClasses struct {
Baseline *[]string `json:"baseline,omitempty"`
Fast *[]string `json:"fast,omitempty"`
Operational *[]string `json:"operational,omitempty"`
}
ReputationSourceClasses defines model for ReputationSourceClasses.
type ReputationView ¶
type ReputationView struct {
ConfigRevision string `json:"config_revision"`
Evidence []ReputationEvidence `json:"evidence"`
Kind ReputationViewKind `json:"kind"`
ModelId string `json:"model_id"`
ModelRevision string `json:"model_revision"`
Profiles struct {
Baseline ReputationProfile `json:"baseline"`
Fast ReputationProfile `json:"fast"`
Operational ReputationProfile `json:"operational"`
} `json:"profiles"`
Schema ReputationViewSchema `json:"schema"`
VerifiedChange *ReputationAudit `json:"verified_change,omitempty"`
}
ReputationView defines model for ReputationView.
type ReputationViewKind ¶
type ReputationViewKind string
ReputationViewKind defines model for ReputationView.Kind.
const ( ReputationViewKindAccount ReputationViewKind = "account" ReputationViewKindAsn ReputationViewKind = "asn" ReputationViewKindDnsDomain ReputationViewKind = "dns_domain" ReputationViewKindIp ReputationViewKind = "ip" ReputationViewKindNetwork ReputationViewKind = "network" ReputationViewKindService ReputationViewKind = "service" )
Defines values for ReputationViewKind.
func (ReputationViewKind) Valid ¶
func (e ReputationViewKind) Valid() bool
Valid indicates whether the value is a known member of the ReputationViewKind enum.
type ReputationViewSchema ¶
type ReputationViewSchema string
ReputationViewSchema defines model for ReputationView.Schema.
const (
ReputationManagementV1 ReputationViewSchema = "reputation-management.v1"
)
Defines values for ReputationViewSchema.
func (ReputationViewSchema) Valid ¶
func (e ReputationViewSchema) Valid() bool
Valid indicates whether the value is a known member of the ReputationViewSchema enum.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ResultEnvelope ¶
type ResultEnvelope struct {
Object string `json:"object"`
Operation string `json:"operation"`
Result interface{} `json:"result"`
Session string `json:"session"`
}
ResultEnvelope defines model for ResultEnvelope.