gen

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2026 License: AGPL-3.0 Imports: 16 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package gen 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSpec

func GetSpec() (swagger *openapi3.T, err error)

GetSpec returns the OpenAPI specification corresponding to the generated code in this file. External references in the spec are resolved through PathToRawSpec; externally-referenced files must be embedded in their corresponding Go packages (via the import-mapping feature). URL-based external refs are not supported.

func GetSpecJSON

func GetSpecJSON() ([]byte, error)

GetSpecJSON returns the raw JSON bytes of the embedded OpenAPI specification: decompressed but not unmarshaled. External references are not resolved here; the bytes are the spec exactly as embedded by codegen. The result is cached at package init time, so repeated calls are cheap.

func GetSwagger deprecated

func GetSwagger() (*openapi3.T, error)

GetSwagger returns the OpenAPI specification corresponding to the generated code in this file.

Deprecated: GetSwagger predates kin-openapi renaming openapi3.Swagger to openapi3.T. Use GetSpec instead. This wrapper is retained for backwards compatibility.

func Handler

func Handler(si ServerInterface) http.Handler

Handler creates http.Handler with routing matching OpenAPI spec.

func HandlerFromMux

func HandlerFromMux(si ServerInterface, m ServeMux) http.Handler

HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.

func HandlerFromMuxWithBaseURL

func HandlerFromMuxWithBaseURL(si ServerInterface, m ServeMux, baseURL string) http.Handler

func HandlerWithOptions

func HandlerWithOptions(si ServerInterface, options StdHTTPServerOptions) http.Handler

HandlerWithOptions creates http.Handler with additional options

func PathToRawSpec

func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)

Constructs a synthetic filesystem for resolving external references when loading openapi specifications.

Types

type ApiToken

type ApiToken struct {
	CreatedAt time.Time  `json:"createdAt"`
	CreatedBy AuditActor `json:"createdBy"`

	// Expired True once expiresAt has passed
	Expired   bool      `json:"expired"`
	ExpiresAt time.Time `json:"expiresAt"`
	Id        string    `json:"id"`
	Name      string    `json:"name"`

	// Role Role of an API token; never platform-admin (ADR 0031)
	Role ApiTokenRole `json:"role"`
}

ApiToken defines model for ApiToken.

type ApiTokenCreated

type ApiTokenCreated struct {
	CreatedAt time.Time  `json:"createdAt"`
	CreatedBy AuditActor `json:"createdBy"`

	// Expired True once expiresAt has passed
	Expired   bool      `json:"expired"`
	ExpiresAt time.Time `json:"expiresAt"`
	Id        string    `json:"id"`
	Name      string    `json:"name"`

	// Role Role of an API token; never platform-admin (ADR 0031)
	Role ApiTokenRole `json:"role"`

	// Token The secret (uct_…). Shown exactly once; it is not stored.
	Token string `json:"token"`
}

ApiTokenCreated defines model for ApiTokenCreated.

type ApiTokenInput

type ApiTokenInput struct {
	// ExpiresAt Between one hour and 366 days from now
	ExpiresAt time.Time `json:"expiresAt"`

	// Name Unique per tenant
	Name string `json:"name"`

	// Role Role of an API token; never platform-admin (ADR 0031)
	Role ApiTokenRole `json:"role"`
}

ApiTokenInput defines model for ApiTokenInput.

type ApiTokenRole

type ApiTokenRole string

ApiTokenRole Role of an API token; never platform-admin (ADR 0031)

const (
	ApiTokenAdmin  ApiTokenRole = "tenant-admin"
	ApiTokenEditor ApiTokenRole = "tenant-editor"
	ApiTokenViewer ApiTokenRole = "tenant-viewer"
)

Defines values for ApiTokenRole.

func (ApiTokenRole) Valid

func (e ApiTokenRole) Valid() bool

Valid indicates whether the value is a known member of the ApiTokenRole enum.

type AssignableNode added in v0.0.4

type AssignableNode struct {
	Capabilities []string           `json:"capabilities"`
	Healthy      bool               `json:"healthy"`
	Id           string             `json:"id"`
	Name         string             `json:"name"`
	Private      bool               `json:"private"`
	Region       *string            `json:"region,omitempty"`
	Role         AssignableNodeRole `json:"role"`
}

AssignableNode defines model for AssignableNode.

type AssignableNodeRole added in v0.0.4

type AssignableNodeRole string

AssignableNodeRole defines model for AssignableNode.Role.

const (
	AssignableNodeRoleProbe AssignableNodeRole = "probe"
	AssignableNodeRoleVoter AssignableNodeRole = "voter"
)

Defines values for AssignableNodeRole.

func (AssignableNodeRole) Valid added in v0.0.4

func (e AssignableNodeRole) Valid() bool

Valid indicates whether the value is a known member of the AssignableNodeRole enum.

type Assignment

type Assignment struct {
	// Count Required for mode `count`
	Count *int           `json:"count,omitempty"`
	Mode  AssignmentMode `json:"mode"`

	// Nodes Node IDs, required for mode `nodes`
	Nodes *[]string `json:"nodes,omitempty"`
}

Assignment Which nodes run the check (E1, ADR 0017). Only voters with the capability the monitor type requires are candidates; `nodes` lists node IDs from the node registry.

  • `all`: every candidate, healthy or not.
  • `count`: `count` healthy candidates chosen by rendezvous hashing over the monitor ID; if fewer are healthy, all healthy candidates run it.
  • `nodes`: the listed nodes, if they are candidates.

Without a node registry (a single voter before its first registration) every node runs the check.

type AssignmentMode

type AssignmentMode string

AssignmentMode defines model for Assignment.Mode.

const (
	AssignmentModeAll   AssignmentMode = "all"
	AssignmentModeCount AssignmentMode = "count"
	AssignmentModeNodes AssignmentMode = "nodes"
)

Defines values for AssignmentMode.

func (AssignmentMode) Valid

func (e AssignmentMode) Valid() bool

Valid indicates whether the value is a known member of the AssignmentMode enum.

type AuditActor

type AuditActor struct {
	Id   string         `json:"id"`
	Kind AuditActorKind `json:"kind"`
	Name string         `json:"name"`
}

AuditActor defines model for AuditActor.

type AuditActorKind

type AuditActorKind string

AuditActorKind defines model for AuditActorKind.

const (
	AuditAPIToken AuditActorKind = "api_token"
	AuditSystem   AuditActorKind = "system"
	AuditUnknown  AuditActorKind = "unknown"
	AuditUser     AuditActorKind = "user"
)

Defines values for AuditActorKind.

func (AuditActorKind) Valid

func (e AuditActorKind) Valid() bool

Valid indicates whether the value is a known member of the AuditActorKind enum.

type AuditEntry

type AuditEntry struct {
	// Action Example: monitor.update
	Action   string     `json:"action"`
	Actor    AuditActor `json:"actor"`
	At       time.Time  `json:"at"`
	ObjectId string     `json:"objectId"`

	// ObjectKind Example: monitor
	ObjectKind string `json:"objectKind"`

	// RequestId Shared by all entries of one request, e.g. of a bulk action
	RequestId string `json:"requestId"`

	// TenantId `_system` for platform actions
	TenantId string `json:"tenantId"`
}

AuditEntry defines model for AuditEntry.

type AuditLimit

type AuditLimit = int

AuditLimit defines model for AuditLimit.

type AuditPage

type AuditPage struct {
	Items      []AuditEntry `json:"items"`
	NextCursor *string      `json:"nextCursor,omitempty"`
}

AuditPage defines model for AuditPage.

type BadRequest

type BadRequest = Problem

BadRequest RFC 9457 problem details

type BadRequestApplicationProblemPlusJSONResponse

type BadRequestApplicationProblemPlusJSONResponse Problem

type BulkMonitorResult

type BulkMonitorResult struct {
	Id openapi_types.UUID `json:"id"`

	// Revision Revision of the monitor after the action; absent for deleted monitors
	Revision *int `json:"revision,omitempty"`
}

BulkMonitorResult defines model for BulkMonitorResult.

type BulkMonitors200JSONResponse

type BulkMonitors200JSONResponse BulkMonitorsResult

func (BulkMonitors200JSONResponse) VisitBulkMonitorsResponse

func (response BulkMonitors200JSONResponse) VisitBulkMonitorsResponse(w http.ResponseWriter) error

type BulkMonitors401ApplicationProblemPlusJSONResponse

type BulkMonitors401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (BulkMonitors401ApplicationProblemPlusJSONResponse) VisitBulkMonitorsResponse

func (response BulkMonitors401ApplicationProblemPlusJSONResponse) VisitBulkMonitorsResponse(w http.ResponseWriter) error

type BulkMonitors403ApplicationProblemPlusJSONResponse

type BulkMonitors403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (BulkMonitors403ApplicationProblemPlusJSONResponse) VisitBulkMonitorsResponse

func (response BulkMonitors403ApplicationProblemPlusJSONResponse) VisitBulkMonitorsResponse(w http.ResponseWriter) error

type BulkMonitors409ApplicationProblemPlusJSONResponse

type BulkMonitors409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (BulkMonitors409ApplicationProblemPlusJSONResponse) VisitBulkMonitorsResponse

func (response BulkMonitors409ApplicationProblemPlusJSONResponse) VisitBulkMonitorsResponse(w http.ResponseWriter) error

type BulkMonitors422ApplicationProblemPlusJSONResponse

type BulkMonitors422ApplicationProblemPlusJSONResponse struct {
	ValidationErrorApplicationProblemPlusJSONResponse
}

func (BulkMonitors422ApplicationProblemPlusJSONResponse) VisitBulkMonitorsResponse

func (response BulkMonitors422ApplicationProblemPlusJSONResponse) VisitBulkMonitorsResponse(w http.ResponseWriter) error

type BulkMonitors503ApplicationProblemPlusJSONResponse

type BulkMonitors503ApplicationProblemPlusJSONResponse struct {
	ServiceUnavailableApplicationProblemPlusJSONResponse
}

func (BulkMonitors503ApplicationProblemPlusJSONResponse) VisitBulkMonitorsResponse

func (response BulkMonitors503ApplicationProblemPlusJSONResponse) VisitBulkMonitorsResponse(w http.ResponseWriter) error

type BulkMonitorsInput

type BulkMonitorsInput struct {
	Action BulkMonitorsInputAction `json:"action"`
	Ids    []openapi_types.UUID    `json:"ids"`

	// Tags Required for addTags and removeTags; ignored otherwise
	Tags *[]string `json:"tags,omitempty"`
}

BulkMonitorsInput defines model for BulkMonitorsInput.

type BulkMonitorsInputAction

type BulkMonitorsInputAction string

BulkMonitorsInputAction defines model for BulkMonitorsInput.Action.

const (
	AddTags    BulkMonitorsInputAction = "addTags"
	Delete     BulkMonitorsInputAction = "delete"
	Pause      BulkMonitorsInputAction = "pause"
	RemoveTags BulkMonitorsInputAction = "removeTags"
	Resume     BulkMonitorsInputAction = "resume"
)

Defines values for BulkMonitorsInputAction.

func (BulkMonitorsInputAction) Valid

func (e BulkMonitorsInputAction) Valid() bool

Valid indicates whether the value is a known member of the BulkMonitorsInputAction enum.

type BulkMonitorsJSONRequestBody

type BulkMonitorsJSONRequestBody = BulkMonitorsInput

BulkMonitorsJSONRequestBody defines body for BulkMonitors for application/json ContentType.

type BulkMonitorsParams

type BulkMonitorsParams struct {
	// IdempotencyKey Client-generated request ID (UUID). Retrying with the same key never
	// creates a second object (FA-CLU-06).
	IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}

BulkMonitorsParams defines parameters for BulkMonitors.

type BulkMonitorsRequestObject

type BulkMonitorsRequestObject struct {
	Params BulkMonitorsParams
	Body   *BulkMonitorsJSONRequestBody
}

type BulkMonitorsResponseObject

type BulkMonitorsResponseObject interface {
	VisitBulkMonitorsResponse(w http.ResponseWriter) error
}

type BulkMonitorsResult

type BulkMonitorsResult struct {
	Results []BulkMonitorResult `json:"results"`
}

BulkMonitorsResult defines model for BulkMonitorsResult.

type ChangeMyPassword204Response

type ChangeMyPassword204Response struct {
}

func (ChangeMyPassword204Response) VisitChangeMyPasswordResponse

func (response ChangeMyPassword204Response) VisitChangeMyPasswordResponse(w http.ResponseWriter) error

type ChangeMyPassword401ApplicationProblemPlusJSONResponse

type ChangeMyPassword401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ChangeMyPassword401ApplicationProblemPlusJSONResponse) VisitChangeMyPasswordResponse

func (response ChangeMyPassword401ApplicationProblemPlusJSONResponse) VisitChangeMyPasswordResponse(w http.ResponseWriter) error

type ChangeMyPassword422ApplicationProblemPlusJSONResponse

type ChangeMyPassword422ApplicationProblemPlusJSONResponse struct {
	ValidationErrorApplicationProblemPlusJSONResponse
}

func (ChangeMyPassword422ApplicationProblemPlusJSONResponse) VisitChangeMyPasswordResponse

func (response ChangeMyPassword422ApplicationProblemPlusJSONResponse) VisitChangeMyPasswordResponse(w http.ResponseWriter) error

type ChangeMyPasswordJSONRequestBody

type ChangeMyPasswordJSONRequestBody = ChangePasswordRequest

ChangeMyPasswordJSONRequestBody defines body for ChangeMyPassword for application/json ContentType.

type ChangeMyPasswordRequestObject

type ChangeMyPasswordRequestObject struct {
	Body *ChangeMyPasswordJSONRequestBody
}

type ChangeMyPasswordResponseObject

type ChangeMyPasswordResponseObject interface {
	VisitChangeMyPasswordResponse(w http.ResponseWriter) error
}

type ChangePasswordRequest

type ChangePasswordRequest struct {
	CurrentPassword string `json:"currentPassword"`
	NewPassword     string `json:"newPassword"`
}

ChangePasswordRequest defines model for ChangePasswordRequest.

type ChannelId

type ChannelId = openapi_types.UUID

ChannelId defines model for ChannelId.

type CheckResult

type CheckResult struct {
	CheckedAt time.Time `json:"checkedAt"`

	// Details Type-specific details, e.g. statusCode, resolvedIp, tlsExpiresAt, phase timings
	Details    *map[string]interface{} `json:"details,omitempty"`
	ErrorClass *ErrorClass             `json:"errorClass,omitempty"`
	LatencyMs  int                     `json:"latencyMs"`
	Message    *string                 `json:"message,omitempty"`
	NodeId     string                  `json:"nodeId"`

	// Status Result of a single check on a single node
	Status CheckStatus `json:"status"`
}

CheckResult defines model for CheckResult.

type CheckStatus

type CheckStatus string

CheckStatus Result of a single check on a single node

const (
	CheckStatusDEGRADED CheckStatus = "DEGRADED"
	CheckStatusDOWN     CheckStatus = "DOWN"
	CheckStatusUP       CheckStatus = "UP"
)

Defines values for CheckStatus.

func (CheckStatus) Valid

func (e CheckStatus) Valid() bool

Valid indicates whether the value is a known member of the CheckStatus enum.

type CloneMonitor201JSONResponse

type CloneMonitor201JSONResponse Monitor

func (CloneMonitor201JSONResponse) VisitCloneMonitorResponse

func (response CloneMonitor201JSONResponse) VisitCloneMonitorResponse(w http.ResponseWriter) error

type CloneMonitor401ApplicationProblemPlusJSONResponse

type CloneMonitor401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (CloneMonitor401ApplicationProblemPlusJSONResponse) VisitCloneMonitorResponse

func (response CloneMonitor401ApplicationProblemPlusJSONResponse) VisitCloneMonitorResponse(w http.ResponseWriter) error

type CloneMonitor404ApplicationProblemPlusJSONResponse

type CloneMonitor404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (CloneMonitor404ApplicationProblemPlusJSONResponse) VisitCloneMonitorResponse

func (response CloneMonitor404ApplicationProblemPlusJSONResponse) VisitCloneMonitorResponse(w http.ResponseWriter) error

type CloneMonitorParams

type CloneMonitorParams struct {
	// IdempotencyKey Client-generated request ID (UUID). Retrying with the same key never
	// creates a second object (FA-CLU-06).
	IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}

CloneMonitorParams defines parameters for CloneMonitor.

type CloneMonitorRequestObject

type CloneMonitorRequestObject struct {
	MonitorId MonitorId `json:"monitorId"`
	Params    CloneMonitorParams
}

type CloneMonitorResponseObject

type CloneMonitorResponseObject interface {
	VisitCloneMonitorResponse(w http.ResponseWriter) error
}

type ClusterNode

type ClusterNode struct {
	Address string `json:"address"`

	// Capabilities Capabilities of the node, e.g. icmp (FA-CHK-31); absent until the node registered
	Capabilities *[]string `json:"capabilities,omitempty"`

	// ClockOffsetMs Offset of that node's wall clock relative to the answering node, in milliseconds; positive means the node is ahead (ADR 0020). Estimated from GetStatus round trips of at most one second; absent for the answering node itself and while no fresh sample of the last two minutes exists.
	ClockOffsetMs *int64 `json:"clockOffsetMs,omitempty"`

	// ConnectedVoterId ID of the voter the probe currently has a live session on (ADR 0034).
	ConnectedVoterId *string `json:"connectedVoterId,omitempty"`

	// ConnectivityImpaired Connectivity as the leader decided it (ADR 0022): true when the node's reference targets fail or its heartbeats deviate from the peers; absent until the node registered
	ConnectivityImpaired *bool `json:"connectivityImpaired,omitempty"`

	// ConnectivityReason Why the connectivity is impaired (ADR 0022); absent unless it is impaired
	ConnectivityReason *ClusterNodeConnectivityReason `json:"connectivityReason,omitempty"`

	// HealthChangedAt Time of the last health change, or of the registration; absent until the node registered
	HealthChangedAt *time.Time `json:"healthChangedAt,omitempty"`

	// Healthy Health as the leader decided it (ADR 0017); absent until the node registered
	Healthy *bool  `json:"healthy,omitempty"`
	Id      string `json:"id"`
	Leader  bool   `json:"leader"`

	// MaxCommandVersion Highest command version the node's binary supports, from the node registry (ADR 0018); absent until the node registered
	MaxCommandVersion *int32 `json:"maxCommandVersion,omitempty"`

	// Name Node name from the node registry; absent until the node registered
	Name *string `json:"name,omitempty"`

	// OwnerTenantId Owning tenant ID for private probes; absent for voters and public probes (ADR 0035).
	OwnerTenantId *string            `json:"ownerTenantId,omitempty"`
	ProbeBuffer   *ProbeBufferStatus `json:"probeBuffer,omitempty"`

	// Region Optional region label of the node.
	Region *string `json:"region,omitempty"`

	// ReplicationError Last replication error with this node as seen by the answering node
	ReplicationError *string `json:"replicationError,omitempty"`

	// ReplicationLagMs How far this node's copy of the heartbeats replicated from that node lags behind, in milliseconds: time since the last complete anti-entropy round with it. Absent for the answering node itself and for peers it has not caught up with yet.
	ReplicationLagMs *int64 `json:"replicationLagMs,omitempty"`

	// Role Role of the node in the cluster (ADR 0034); defaults to voter.
	Role *ClusterNodeRole `json:"role,omitempty"`

	// Self True for the node that answered the request
	Self bool `json:"self"`

	// SsrfProtection Whether SSRF protection is on for the node's checks and notifications (ADR 0030); absent while the node has not answered recently or is older than ADR 0030.
	SsrfProtection *bool `json:"ssrfProtection,omitempty"`

	// Version Version of the binary from the node registry; absent until the node registered
	Version *string `json:"version,omitempty"`
	Voter   bool    `json:"voter"`
}

ClusterNode defines model for ClusterNode.

type ClusterNodeConnectivityReason

type ClusterNodeConnectivityReason string

ClusterNodeConnectivityReason Why the connectivity is impaired (ADR 0022); absent unless it is impaired

const (
	Deviation ClusterNodeConnectivityReason = "deviation"
	Reference ClusterNodeConnectivityReason = "reference"
)

Defines values for ClusterNodeConnectivityReason.

func (ClusterNodeConnectivityReason) Valid

Valid indicates whether the value is a known member of the ClusterNodeConnectivityReason enum.

type ClusterNodeList

type ClusterNodeList struct {
	// CommandLevel Command version the cluster may use (ADR 0018); new features need all voters to support it
	CommandLevel *int32 `json:"commandLevel,omitempty"`

	// LeaderId Empty while no leader is known
	LeaderId string        `json:"leaderId"`
	Nodes    []ClusterNode `json:"nodes"`

	// UpgradePending True while at least one registered voter supports a lower command version than another, i.e. a rolling update is in progress
	UpgradePending *bool    `json:"upgradePending,omitempty"`
	Warnings       []string `json:"warnings"`
}

ClusterNodeList defines model for ClusterNodeList.

type ClusterNodeRole added in v0.0.4

type ClusterNodeRole string

ClusterNodeRole Role of the node in the cluster (ADR 0034); defaults to voter.

const (
	ClusterNodeRoleProbe ClusterNodeRole = "probe"
	ClusterNodeRoleVoter ClusterNodeRole = "voter"
)

Defines values for ClusterNodeRole.

func (ClusterNodeRole) Valid added in v0.0.4

func (e ClusterNodeRole) Valid() bool

Valid indicates whether the value is a known member of the ClusterNodeRole enum.

type Conflict

type Conflict = Problem

Conflict RFC 9457 problem details

type ConflictApplicationProblemPlusJSONResponse

type ConflictApplicationProblemPlusJSONResponse Problem

type ConsensusPolicy

type ConsensusPolicy string

ConsensusPolicy defines model for ConsensusPolicy.

const (
	ConsensusPolicyAll      ConsensusPolicy = "all"
	ConsensusPolicyAny      ConsensusPolicy = "any"
	ConsensusPolicyMajority ConsensusPolicy = "majority"
)

Defines values for ConsensusPolicy.

func (ConsensusPolicy) Valid

func (e ConsensusPolicy) Valid() bool

Valid indicates whether the value is a known member of the ConsensusPolicy enum.

type CreateApiToken201JSONResponse

type CreateApiToken201JSONResponse struct {
	Body    ApiTokenCreated
	Headers CreateApiToken201ResponseHeaders
}

func (CreateApiToken201JSONResponse) VisitCreateApiTokenResponse

func (response CreateApiToken201JSONResponse) VisitCreateApiTokenResponse(w http.ResponseWriter) error

type CreateApiToken201ResponseHeaders

type CreateApiToken201ResponseHeaders struct {
	CacheControl *string
}

type CreateApiToken401ApplicationProblemPlusJSONResponse

type CreateApiToken401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (CreateApiToken401ApplicationProblemPlusJSONResponse) VisitCreateApiTokenResponse

func (response CreateApiToken401ApplicationProblemPlusJSONResponse) VisitCreateApiTokenResponse(w http.ResponseWriter) error

type CreateApiToken403ApplicationProblemPlusJSONResponse

type CreateApiToken403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (CreateApiToken403ApplicationProblemPlusJSONResponse) VisitCreateApiTokenResponse

func (response CreateApiToken403ApplicationProblemPlusJSONResponse) VisitCreateApiTokenResponse(w http.ResponseWriter) error

type CreateApiToken409ApplicationProblemPlusJSONResponse

type CreateApiToken409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (CreateApiToken409ApplicationProblemPlusJSONResponse) VisitCreateApiTokenResponse

func (response CreateApiToken409ApplicationProblemPlusJSONResponse) VisitCreateApiTokenResponse(w http.ResponseWriter) error

type CreateApiToken422ApplicationProblemPlusJSONResponse

type CreateApiToken422ApplicationProblemPlusJSONResponse struct {
	ValidationErrorApplicationProblemPlusJSONResponse
}

func (CreateApiToken422ApplicationProblemPlusJSONResponse) VisitCreateApiTokenResponse

func (response CreateApiToken422ApplicationProblemPlusJSONResponse) VisitCreateApiTokenResponse(w http.ResponseWriter) error

type CreateApiToken503ApplicationProblemPlusJSONResponse

type CreateApiToken503ApplicationProblemPlusJSONResponse struct {
	ServiceUnavailableApplicationProblemPlusJSONResponse
}

func (CreateApiToken503ApplicationProblemPlusJSONResponse) VisitCreateApiTokenResponse

func (response CreateApiToken503ApplicationProblemPlusJSONResponse) VisitCreateApiTokenResponse(w http.ResponseWriter) error

type CreateApiTokenJSONRequestBody

type CreateApiTokenJSONRequestBody = ApiTokenInput

CreateApiTokenJSONRequestBody defines body for CreateApiToken for application/json ContentType.

type CreateApiTokenRequestObject

type CreateApiTokenRequestObject struct {
	Body *CreateApiTokenJSONRequestBody
}

type CreateApiTokenResponseObject

type CreateApiTokenResponseObject interface {
	VisitCreateApiTokenResponse(w http.ResponseWriter) error
}

type CreateJoinToken201JSONResponse

type CreateJoinToken201JSONResponse struct {
	Body    JoinToken
	Headers CreateJoinToken201ResponseHeaders
}

func (CreateJoinToken201JSONResponse) VisitCreateJoinTokenResponse

func (response CreateJoinToken201JSONResponse) VisitCreateJoinTokenResponse(w http.ResponseWriter) error

type CreateJoinToken201ResponseHeaders

type CreateJoinToken201ResponseHeaders struct {
	CacheControl *string
}

type CreateJoinToken401ApplicationProblemPlusJSONResponse

type CreateJoinToken401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (CreateJoinToken401ApplicationProblemPlusJSONResponse) VisitCreateJoinTokenResponse

func (response CreateJoinToken401ApplicationProblemPlusJSONResponse) VisitCreateJoinTokenResponse(w http.ResponseWriter) error

type CreateJoinToken403ApplicationProblemPlusJSONResponse

type CreateJoinToken403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (CreateJoinToken403ApplicationProblemPlusJSONResponse) VisitCreateJoinTokenResponse

func (response CreateJoinToken403ApplicationProblemPlusJSONResponse) VisitCreateJoinTokenResponse(w http.ResponseWriter) error

type CreateJoinToken422ApplicationProblemPlusJSONResponse

type CreateJoinToken422ApplicationProblemPlusJSONResponse struct {
	ValidationErrorApplicationProblemPlusJSONResponse
}

func (CreateJoinToken422ApplicationProblemPlusJSONResponse) VisitCreateJoinTokenResponse

func (response CreateJoinToken422ApplicationProblemPlusJSONResponse) VisitCreateJoinTokenResponse(w http.ResponseWriter) error

type CreateJoinToken503ApplicationProblemPlusJSONResponse

type CreateJoinToken503ApplicationProblemPlusJSONResponse struct {
	ServiceUnavailableApplicationProblemPlusJSONResponse
}

func (CreateJoinToken503ApplicationProblemPlusJSONResponse) VisitCreateJoinTokenResponse

func (response CreateJoinToken503ApplicationProblemPlusJSONResponse) VisitCreateJoinTokenResponse(w http.ResponseWriter) error

type CreateJoinTokenJSONRequestBody

type CreateJoinTokenJSONRequestBody = JoinTokenRequest

CreateJoinTokenJSONRequestBody defines body for CreateJoinToken for application/json ContentType.

type CreateJoinTokenRequestObject

type CreateJoinTokenRequestObject struct {
	Body *CreateJoinTokenJSONRequestBody
}

type CreateJoinTokenResponseObject

type CreateJoinTokenResponseObject interface {
	VisitCreateJoinTokenResponse(w http.ResponseWriter) error
}

type CreateMaintenanceWindow201JSONResponse

type CreateMaintenanceWindow201JSONResponse MaintenanceWindow

func (CreateMaintenanceWindow201JSONResponse) VisitCreateMaintenanceWindowResponse

func (response CreateMaintenanceWindow201JSONResponse) VisitCreateMaintenanceWindowResponse(w http.ResponseWriter) error

type CreateMaintenanceWindow401ApplicationProblemPlusJSONResponse

type CreateMaintenanceWindow401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (CreateMaintenanceWindow401ApplicationProblemPlusJSONResponse) VisitCreateMaintenanceWindowResponse

func (response CreateMaintenanceWindow401ApplicationProblemPlusJSONResponse) VisitCreateMaintenanceWindowResponse(w http.ResponseWriter) error

type CreateMaintenanceWindow403ApplicationProblemPlusJSONResponse

type CreateMaintenanceWindow403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (CreateMaintenanceWindow403ApplicationProblemPlusJSONResponse) VisitCreateMaintenanceWindowResponse

func (response CreateMaintenanceWindow403ApplicationProblemPlusJSONResponse) VisitCreateMaintenanceWindowResponse(w http.ResponseWriter) error

type CreateMaintenanceWindow422ApplicationProblemPlusJSONResponse

type CreateMaintenanceWindow422ApplicationProblemPlusJSONResponse struct {
	ValidationErrorApplicationProblemPlusJSONResponse
}

func (CreateMaintenanceWindow422ApplicationProblemPlusJSONResponse) VisitCreateMaintenanceWindowResponse

func (response CreateMaintenanceWindow422ApplicationProblemPlusJSONResponse) VisitCreateMaintenanceWindowResponse(w http.ResponseWriter) error

type CreateMaintenanceWindowJSONRequestBody

type CreateMaintenanceWindowJSONRequestBody = MaintenanceWindowInput

CreateMaintenanceWindowJSONRequestBody defines body for CreateMaintenanceWindow for application/json ContentType.

type CreateMaintenanceWindowParams

type CreateMaintenanceWindowParams struct {
	// IdempotencyKey Client-generated request ID (UUID). Retrying with the same key never
	// creates a second object (FA-CLU-06).
	IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}

CreateMaintenanceWindowParams defines parameters for CreateMaintenanceWindow.

type CreateMaintenanceWindowRequestObject

type CreateMaintenanceWindowRequestObject struct {
	Params CreateMaintenanceWindowParams
	Body   *CreateMaintenanceWindowJSONRequestBody
}

type CreateMaintenanceWindowResponseObject

type CreateMaintenanceWindowResponseObject interface {
	VisitCreateMaintenanceWindowResponse(w http.ResponseWriter) error
}

type CreateMonitor201JSONResponse

type CreateMonitor201JSONResponse Monitor

func (CreateMonitor201JSONResponse) VisitCreateMonitorResponse

func (response CreateMonitor201JSONResponse) VisitCreateMonitorResponse(w http.ResponseWriter) error

type CreateMonitor401ApplicationProblemPlusJSONResponse

type CreateMonitor401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (CreateMonitor401ApplicationProblemPlusJSONResponse) VisitCreateMonitorResponse

func (response CreateMonitor401ApplicationProblemPlusJSONResponse) VisitCreateMonitorResponse(w http.ResponseWriter) error

type CreateMonitor403ApplicationProblemPlusJSONResponse

type CreateMonitor403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (CreateMonitor403ApplicationProblemPlusJSONResponse) VisitCreateMonitorResponse

func (response CreateMonitor403ApplicationProblemPlusJSONResponse) VisitCreateMonitorResponse(w http.ResponseWriter) error

type CreateMonitor422ApplicationProblemPlusJSONResponse

type CreateMonitor422ApplicationProblemPlusJSONResponse struct {
	ValidationErrorApplicationProblemPlusJSONResponse
}

func (CreateMonitor422ApplicationProblemPlusJSONResponse) VisitCreateMonitorResponse

func (response CreateMonitor422ApplicationProblemPlusJSONResponse) VisitCreateMonitorResponse(w http.ResponseWriter) error

type CreateMonitorJSONRequestBody

type CreateMonitorJSONRequestBody = MonitorInput

CreateMonitorJSONRequestBody defines body for CreateMonitor for application/json ContentType.

type CreateMonitorParams

type CreateMonitorParams struct {
	// IdempotencyKey Client-generated request ID (UUID). Retrying with the same key never
	// creates a second object (FA-CLU-06).
	IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}

CreateMonitorParams defines parameters for CreateMonitor.

type CreateMonitorRequestObject

type CreateMonitorRequestObject struct {
	Params CreateMonitorParams
	Body   *CreateMonitorJSONRequestBody
}

type CreateMonitorResponseObject

type CreateMonitorResponseObject interface {
	VisitCreateMonitorResponse(w http.ResponseWriter) error
}

type CreateNotificationChannel201JSONResponse

type CreateNotificationChannel201JSONResponse NotificationChannel

func (CreateNotificationChannel201JSONResponse) VisitCreateNotificationChannelResponse

func (response CreateNotificationChannel201JSONResponse) VisitCreateNotificationChannelResponse(w http.ResponseWriter) error

type CreateNotificationChannel400ApplicationProblemPlusJSONResponse

type CreateNotificationChannel400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (CreateNotificationChannel400ApplicationProblemPlusJSONResponse) VisitCreateNotificationChannelResponse

func (response CreateNotificationChannel400ApplicationProblemPlusJSONResponse) VisitCreateNotificationChannelResponse(w http.ResponseWriter) error

type CreateNotificationChannel401ApplicationProblemPlusJSONResponse

type CreateNotificationChannel401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (CreateNotificationChannel401ApplicationProblemPlusJSONResponse) VisitCreateNotificationChannelResponse

func (response CreateNotificationChannel401ApplicationProblemPlusJSONResponse) VisitCreateNotificationChannelResponse(w http.ResponseWriter) error

type CreateNotificationChannel403ApplicationProblemPlusJSONResponse

type CreateNotificationChannel403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (CreateNotificationChannel403ApplicationProblemPlusJSONResponse) VisitCreateNotificationChannelResponse

func (response CreateNotificationChannel403ApplicationProblemPlusJSONResponse) VisitCreateNotificationChannelResponse(w http.ResponseWriter) error

type CreateNotificationChannel422ApplicationProblemPlusJSONResponse

type CreateNotificationChannel422ApplicationProblemPlusJSONResponse struct {
	ValidationErrorApplicationProblemPlusJSONResponse
}

func (CreateNotificationChannel422ApplicationProblemPlusJSONResponse) VisitCreateNotificationChannelResponse

func (response CreateNotificationChannel422ApplicationProblemPlusJSONResponse) VisitCreateNotificationChannelResponse(w http.ResponseWriter) error

type CreateNotificationChannelJSONRequestBody

type CreateNotificationChannelJSONRequestBody = NotificationChannelInput

CreateNotificationChannelJSONRequestBody defines body for CreateNotificationChannel for application/json ContentType.

type CreateNotificationChannelParams

type CreateNotificationChannelParams struct {
	// IdempotencyKey Client-generated request ID (UUID). Retrying with the same key never
	// creates a second object (FA-CLU-06).
	IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}

CreateNotificationChannelParams defines parameters for CreateNotificationChannel.

type CreateNotificationChannelRequestObject

type CreateNotificationChannelRequestObject struct {
	Params CreateNotificationChannelParams
	Body   *CreateNotificationChannelJSONRequestBody
}

type CreateNotificationChannelResponseObject

type CreateNotificationChannelResponseObject interface {
	VisitCreateNotificationChannelResponse(w http.ResponseWriter) error
}

type CreatePrivateProbeJoinToken201JSONResponse added in v0.0.4

type CreatePrivateProbeJoinToken201JSONResponse struct {
	Body    JoinToken
	Headers CreatePrivateProbeJoinToken201ResponseHeaders
}

func (CreatePrivateProbeJoinToken201JSONResponse) VisitCreatePrivateProbeJoinTokenResponse added in v0.0.4

func (response CreatePrivateProbeJoinToken201JSONResponse) VisitCreatePrivateProbeJoinTokenResponse(w http.ResponseWriter) error

type CreatePrivateProbeJoinToken201ResponseHeaders added in v0.0.4

type CreatePrivateProbeJoinToken201ResponseHeaders struct {
	CacheControl *string
}

type CreatePrivateProbeJoinToken401ApplicationProblemPlusJSONResponse added in v0.0.4

type CreatePrivateProbeJoinToken401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (CreatePrivateProbeJoinToken401ApplicationProblemPlusJSONResponse) VisitCreatePrivateProbeJoinTokenResponse added in v0.0.4

func (response CreatePrivateProbeJoinToken401ApplicationProblemPlusJSONResponse) VisitCreatePrivateProbeJoinTokenResponse(w http.ResponseWriter) error

type CreatePrivateProbeJoinToken403ApplicationProblemPlusJSONResponse added in v0.0.4

type CreatePrivateProbeJoinToken403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (CreatePrivateProbeJoinToken403ApplicationProblemPlusJSONResponse) VisitCreatePrivateProbeJoinTokenResponse added in v0.0.4

func (response CreatePrivateProbeJoinToken403ApplicationProblemPlusJSONResponse) VisitCreatePrivateProbeJoinTokenResponse(w http.ResponseWriter) error

type CreatePrivateProbeJoinToken422ApplicationProblemPlusJSONResponse added in v0.0.4

type CreatePrivateProbeJoinToken422ApplicationProblemPlusJSONResponse struct {
	ValidationErrorApplicationProblemPlusJSONResponse
}

func (CreatePrivateProbeJoinToken422ApplicationProblemPlusJSONResponse) VisitCreatePrivateProbeJoinTokenResponse added in v0.0.4

func (response CreatePrivateProbeJoinToken422ApplicationProblemPlusJSONResponse) VisitCreatePrivateProbeJoinTokenResponse(w http.ResponseWriter) error

type CreatePrivateProbeJoinToken503ApplicationProblemPlusJSONResponse added in v0.0.4

type CreatePrivateProbeJoinToken503ApplicationProblemPlusJSONResponse struct {
	ServiceUnavailableApplicationProblemPlusJSONResponse
}

func (CreatePrivateProbeJoinToken503ApplicationProblemPlusJSONResponse) VisitCreatePrivateProbeJoinTokenResponse added in v0.0.4

func (response CreatePrivateProbeJoinToken503ApplicationProblemPlusJSONResponse) VisitCreatePrivateProbeJoinTokenResponse(w http.ResponseWriter) error

type CreatePrivateProbeJoinTokenJSONRequestBody added in v0.0.4

type CreatePrivateProbeJoinTokenJSONRequestBody = PrivateProbeJoinTokenRequest

CreatePrivateProbeJoinTokenJSONRequestBody defines body for CreatePrivateProbeJoinToken for application/json ContentType.

type CreatePrivateProbeJoinTokenRequestObject added in v0.0.4

type CreatePrivateProbeJoinTokenRequestObject struct {
	Body *CreatePrivateProbeJoinTokenJSONRequestBody
}

type CreatePrivateProbeJoinTokenResponseObject added in v0.0.4

type CreatePrivateProbeJoinTokenResponseObject interface {
	VisitCreatePrivateProbeJoinTokenResponse(w http.ResponseWriter) error
}

type CreateStreamTicket201JSONResponse

type CreateStreamTicket201JSONResponse StreamTicket

func (CreateStreamTicket201JSONResponse) VisitCreateStreamTicketResponse

func (response CreateStreamTicket201JSONResponse) VisitCreateStreamTicketResponse(w http.ResponseWriter) error

type CreateStreamTicket401ApplicationProblemPlusJSONResponse

type CreateStreamTicket401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (CreateStreamTicket401ApplicationProblemPlusJSONResponse) VisitCreateStreamTicketResponse

func (response CreateStreamTicket401ApplicationProblemPlusJSONResponse) VisitCreateStreamTicketResponse(w http.ResponseWriter) error

type CreateStreamTicketRequestObject

type CreateStreamTicketRequestObject struct {
}

type CreateStreamTicketResponseObject

type CreateStreamTicketResponseObject interface {
	VisitCreateStreamTicketResponse(w http.ResponseWriter) error
}

type CreateSystemChannel201JSONResponse

type CreateSystemChannel201JSONResponse NotificationChannel

func (CreateSystemChannel201JSONResponse) VisitCreateSystemChannelResponse

func (response CreateSystemChannel201JSONResponse) VisitCreateSystemChannelResponse(w http.ResponseWriter) error

type CreateSystemChannel400ApplicationProblemPlusJSONResponse

type CreateSystemChannel400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (CreateSystemChannel400ApplicationProblemPlusJSONResponse) VisitCreateSystemChannelResponse

func (response CreateSystemChannel400ApplicationProblemPlusJSONResponse) VisitCreateSystemChannelResponse(w http.ResponseWriter) error

type CreateSystemChannel401ApplicationProblemPlusJSONResponse

type CreateSystemChannel401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (CreateSystemChannel401ApplicationProblemPlusJSONResponse) VisitCreateSystemChannelResponse

func (response CreateSystemChannel401ApplicationProblemPlusJSONResponse) VisitCreateSystemChannelResponse(w http.ResponseWriter) error

type CreateSystemChannel403ApplicationProblemPlusJSONResponse

type CreateSystemChannel403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (CreateSystemChannel403ApplicationProblemPlusJSONResponse) VisitCreateSystemChannelResponse

func (response CreateSystemChannel403ApplicationProblemPlusJSONResponse) VisitCreateSystemChannelResponse(w http.ResponseWriter) error

type CreateSystemChannel422ApplicationProblemPlusJSONResponse

type CreateSystemChannel422ApplicationProblemPlusJSONResponse struct {
	ValidationErrorApplicationProblemPlusJSONResponse
}

func (CreateSystemChannel422ApplicationProblemPlusJSONResponse) VisitCreateSystemChannelResponse

func (response CreateSystemChannel422ApplicationProblemPlusJSONResponse) VisitCreateSystemChannelResponse(w http.ResponseWriter) error

type CreateSystemChannel503ApplicationProblemPlusJSONResponse

type CreateSystemChannel503ApplicationProblemPlusJSONResponse struct {
	ServiceUnavailableApplicationProblemPlusJSONResponse
}

func (CreateSystemChannel503ApplicationProblemPlusJSONResponse) VisitCreateSystemChannelResponse

func (response CreateSystemChannel503ApplicationProblemPlusJSONResponse) VisitCreateSystemChannelResponse(w http.ResponseWriter) error

type CreateSystemChannelJSONRequestBody

type CreateSystemChannelJSONRequestBody = NotificationChannelInput

CreateSystemChannelJSONRequestBody defines body for CreateSystemChannel for application/json ContentType.

type CreateSystemChannelParams

type CreateSystemChannelParams struct {
	// IdempotencyKey Client-generated request ID (UUID). Retrying with the same key never
	// creates a second object (FA-CLU-06).
	IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}

CreateSystemChannelParams defines parameters for CreateSystemChannel.

type CreateSystemChannelRequestObject

type CreateSystemChannelRequestObject struct {
	Params CreateSystemChannelParams
	Body   *CreateSystemChannelJSONRequestBody
}

type CreateSystemChannelResponseObject

type CreateSystemChannelResponseObject interface {
	VisitCreateSystemChannelResponse(w http.ResponseWriter) error
}

type CreateTenant201JSONResponse

type CreateTenant201JSONResponse Tenant

func (CreateTenant201JSONResponse) VisitCreateTenantResponse

func (response CreateTenant201JSONResponse) VisitCreateTenantResponse(w http.ResponseWriter) error

type CreateTenant400ApplicationProblemPlusJSONResponse

type CreateTenant400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (CreateTenant400ApplicationProblemPlusJSONResponse) VisitCreateTenantResponse

func (response CreateTenant400ApplicationProblemPlusJSONResponse) VisitCreateTenantResponse(w http.ResponseWriter) error

type CreateTenant401ApplicationProblemPlusJSONResponse

type CreateTenant401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (CreateTenant401ApplicationProblemPlusJSONResponse) VisitCreateTenantResponse

func (response CreateTenant401ApplicationProblemPlusJSONResponse) VisitCreateTenantResponse(w http.ResponseWriter) error

type CreateTenant403ApplicationProblemPlusJSONResponse

type CreateTenant403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (CreateTenant403ApplicationProblemPlusJSONResponse) VisitCreateTenantResponse

func (response CreateTenant403ApplicationProblemPlusJSONResponse) VisitCreateTenantResponse(w http.ResponseWriter) error

type CreateTenant409ApplicationProblemPlusJSONResponse

type CreateTenant409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (CreateTenant409ApplicationProblemPlusJSONResponse) VisitCreateTenantResponse

func (response CreateTenant409ApplicationProblemPlusJSONResponse) VisitCreateTenantResponse(w http.ResponseWriter) error

type CreateTenant422ApplicationProblemPlusJSONResponse

type CreateTenant422ApplicationProblemPlusJSONResponse struct {
	ValidationErrorApplicationProblemPlusJSONResponse
}

func (CreateTenant422ApplicationProblemPlusJSONResponse) VisitCreateTenantResponse

func (response CreateTenant422ApplicationProblemPlusJSONResponse) VisitCreateTenantResponse(w http.ResponseWriter) error

type CreateTenant503ApplicationProblemPlusJSONResponse

type CreateTenant503ApplicationProblemPlusJSONResponse struct {
	ServiceUnavailableApplicationProblemPlusJSONResponse
}

func (CreateTenant503ApplicationProblemPlusJSONResponse) VisitCreateTenantResponse

func (response CreateTenant503ApplicationProblemPlusJSONResponse) VisitCreateTenantResponse(w http.ResponseWriter) error

type CreateTenantJSONRequestBody

type CreateTenantJSONRequestBody = TenantCreate

CreateTenantJSONRequestBody defines body for CreateTenant for application/json ContentType.

type CreateTenantParams

type CreateTenantParams struct {
	// IdempotencyKey Client-generated request ID (UUID). Retrying with the same key never
	// creates a second object (FA-CLU-06).
	IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}

CreateTenantParams defines parameters for CreateTenant.

type CreateTenantRequestObject

type CreateTenantRequestObject struct {
	Params CreateTenantParams
	Body   *CreateTenantJSONRequestBody
}

type CreateTenantResponseObject

type CreateTenantResponseObject interface {
	VisitCreateTenantResponse(w http.ResponseWriter) error
}

type CreateUser201JSONResponse

type CreateUser201JSONResponse User

func (CreateUser201JSONResponse) VisitCreateUserResponse

func (response CreateUser201JSONResponse) VisitCreateUserResponse(w http.ResponseWriter) error

type CreateUser401ApplicationProblemPlusJSONResponse

type CreateUser401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (CreateUser401ApplicationProblemPlusJSONResponse) VisitCreateUserResponse

func (response CreateUser401ApplicationProblemPlusJSONResponse) VisitCreateUserResponse(w http.ResponseWriter) error

type CreateUser403ApplicationProblemPlusJSONResponse

type CreateUser403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (CreateUser403ApplicationProblemPlusJSONResponse) VisitCreateUserResponse

func (response CreateUser403ApplicationProblemPlusJSONResponse) VisitCreateUserResponse(w http.ResponseWriter) error

type CreateUser409ApplicationProblemPlusJSONResponse

type CreateUser409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (CreateUser409ApplicationProblemPlusJSONResponse) VisitCreateUserResponse

func (response CreateUser409ApplicationProblemPlusJSONResponse) VisitCreateUserResponse(w http.ResponseWriter) error

type CreateUser422ApplicationProblemPlusJSONResponse

type CreateUser422ApplicationProblemPlusJSONResponse struct {
	ValidationErrorApplicationProblemPlusJSONResponse
}

func (CreateUser422ApplicationProblemPlusJSONResponse) VisitCreateUserResponse

func (response CreateUser422ApplicationProblemPlusJSONResponse) VisitCreateUserResponse(w http.ResponseWriter) error

type CreateUserJSONRequestBody

type CreateUserJSONRequestBody = UserCreate

CreateUserJSONRequestBody defines body for CreateUser for application/json ContentType.

type CreateUserParams

type CreateUserParams struct {
	// IdempotencyKey Client-generated request ID (UUID). Retrying with the same key never
	// creates a second object (FA-CLU-06).
	IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}

CreateUserParams defines parameters for CreateUser.

type CreateUserRequestObject

type CreateUserRequestObject struct {
	Params CreateUserParams
	Body   *CreateUserJSONRequestBody
}

type CreateUserResponseObject

type CreateUserResponseObject interface {
	VisitCreateUserResponse(w http.ResponseWriter) error
}

type Cursor

type Cursor = string

Cursor defines model for Cursor.

type DeleteMaintenanceWindow204Response

type DeleteMaintenanceWindow204Response struct {
}

func (DeleteMaintenanceWindow204Response) VisitDeleteMaintenanceWindowResponse

func (response DeleteMaintenanceWindow204Response) VisitDeleteMaintenanceWindowResponse(w http.ResponseWriter) error

type DeleteMaintenanceWindow401ApplicationProblemPlusJSONResponse

type DeleteMaintenanceWindow401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (DeleteMaintenanceWindow401ApplicationProblemPlusJSONResponse) VisitDeleteMaintenanceWindowResponse

func (response DeleteMaintenanceWindow401ApplicationProblemPlusJSONResponse) VisitDeleteMaintenanceWindowResponse(w http.ResponseWriter) error

type DeleteMaintenanceWindow403ApplicationProblemPlusJSONResponse

type DeleteMaintenanceWindow403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (DeleteMaintenanceWindow403ApplicationProblemPlusJSONResponse) VisitDeleteMaintenanceWindowResponse

func (response DeleteMaintenanceWindow403ApplicationProblemPlusJSONResponse) VisitDeleteMaintenanceWindowResponse(w http.ResponseWriter) error

type DeleteMaintenanceWindow404ApplicationProblemPlusJSONResponse

type DeleteMaintenanceWindow404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (DeleteMaintenanceWindow404ApplicationProblemPlusJSONResponse) VisitDeleteMaintenanceWindowResponse

func (response DeleteMaintenanceWindow404ApplicationProblemPlusJSONResponse) VisitDeleteMaintenanceWindowResponse(w http.ResponseWriter) error

type DeleteMaintenanceWindowRequestObject

type DeleteMaintenanceWindowRequestObject struct {
	MaintenanceId MaintenanceId `json:"maintenanceId"`
}

type DeleteMaintenanceWindowResponseObject

type DeleteMaintenanceWindowResponseObject interface {
	VisitDeleteMaintenanceWindowResponse(w http.ResponseWriter) error
}

type DeleteMonitor204Response

type DeleteMonitor204Response struct {
}

func (DeleteMonitor204Response) VisitDeleteMonitorResponse

func (response DeleteMonitor204Response) VisitDeleteMonitorResponse(w http.ResponseWriter) error

type DeleteMonitor401ApplicationProblemPlusJSONResponse

type DeleteMonitor401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (DeleteMonitor401ApplicationProblemPlusJSONResponse) VisitDeleteMonitorResponse

func (response DeleteMonitor401ApplicationProblemPlusJSONResponse) VisitDeleteMonitorResponse(w http.ResponseWriter) error

type DeleteMonitor403ApplicationProblemPlusJSONResponse

type DeleteMonitor403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (DeleteMonitor403ApplicationProblemPlusJSONResponse) VisitDeleteMonitorResponse

func (response DeleteMonitor403ApplicationProblemPlusJSONResponse) VisitDeleteMonitorResponse(w http.ResponseWriter) error

type DeleteMonitor404ApplicationProblemPlusJSONResponse

type DeleteMonitor404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (DeleteMonitor404ApplicationProblemPlusJSONResponse) VisitDeleteMonitorResponse

func (response DeleteMonitor404ApplicationProblemPlusJSONResponse) VisitDeleteMonitorResponse(w http.ResponseWriter) error

type DeleteMonitorRequestObject

type DeleteMonitorRequestObject struct {
	MonitorId MonitorId `json:"monitorId"`
}

type DeleteMonitorResponseObject

type DeleteMonitorResponseObject interface {
	VisitDeleteMonitorResponse(w http.ResponseWriter) error
}

type DeleteNotificationChannel204Response

type DeleteNotificationChannel204Response struct {
}

func (DeleteNotificationChannel204Response) VisitDeleteNotificationChannelResponse

func (response DeleteNotificationChannel204Response) VisitDeleteNotificationChannelResponse(w http.ResponseWriter) error

type DeleteNotificationChannel401ApplicationProblemPlusJSONResponse

type DeleteNotificationChannel401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (DeleteNotificationChannel401ApplicationProblemPlusJSONResponse) VisitDeleteNotificationChannelResponse

func (response DeleteNotificationChannel401ApplicationProblemPlusJSONResponse) VisitDeleteNotificationChannelResponse(w http.ResponseWriter) error

type DeleteNotificationChannel403ApplicationProblemPlusJSONResponse

type DeleteNotificationChannel403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (DeleteNotificationChannel403ApplicationProblemPlusJSONResponse) VisitDeleteNotificationChannelResponse

func (response DeleteNotificationChannel403ApplicationProblemPlusJSONResponse) VisitDeleteNotificationChannelResponse(w http.ResponseWriter) error

type DeleteNotificationChannel404ApplicationProblemPlusJSONResponse

type DeleteNotificationChannel404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (DeleteNotificationChannel404ApplicationProblemPlusJSONResponse) VisitDeleteNotificationChannelResponse

func (response DeleteNotificationChannel404ApplicationProblemPlusJSONResponse) VisitDeleteNotificationChannelResponse(w http.ResponseWriter) error

type DeleteNotificationChannelRequestObject

type DeleteNotificationChannelRequestObject struct {
	ChannelId ChannelId `json:"channelId"`
}

type DeleteNotificationChannelResponseObject

type DeleteNotificationChannelResponseObject interface {
	VisitDeleteNotificationChannelResponse(w http.ResponseWriter) error
}

type DeletePlan204Response

type DeletePlan204Response struct {
}

func (DeletePlan204Response) VisitDeletePlanResponse

func (response DeletePlan204Response) VisitDeletePlanResponse(w http.ResponseWriter) error

type DeletePlan401ApplicationProblemPlusJSONResponse

type DeletePlan401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (DeletePlan401ApplicationProblemPlusJSONResponse) VisitDeletePlanResponse

func (response DeletePlan401ApplicationProblemPlusJSONResponse) VisitDeletePlanResponse(w http.ResponseWriter) error

type DeletePlan403ApplicationProblemPlusJSONResponse

type DeletePlan403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (DeletePlan403ApplicationProblemPlusJSONResponse) VisitDeletePlanResponse

func (response DeletePlan403ApplicationProblemPlusJSONResponse) VisitDeletePlanResponse(w http.ResponseWriter) error

type DeletePlan404ApplicationProblemPlusJSONResponse

type DeletePlan404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (DeletePlan404ApplicationProblemPlusJSONResponse) VisitDeletePlanResponse

func (response DeletePlan404ApplicationProblemPlusJSONResponse) VisitDeletePlanResponse(w http.ResponseWriter) error

type DeletePlan409ApplicationProblemPlusJSONResponse

type DeletePlan409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (DeletePlan409ApplicationProblemPlusJSONResponse) VisitDeletePlanResponse

func (response DeletePlan409ApplicationProblemPlusJSONResponse) VisitDeletePlanResponse(w http.ResponseWriter) error

type DeletePlan422ApplicationProblemPlusJSONResponse

type DeletePlan422ApplicationProblemPlusJSONResponse struct {
	ValidationErrorApplicationProblemPlusJSONResponse
}

func (DeletePlan422ApplicationProblemPlusJSONResponse) VisitDeletePlanResponse

func (response DeletePlan422ApplicationProblemPlusJSONResponse) VisitDeletePlanResponse(w http.ResponseWriter) error

type DeletePlan503ApplicationProblemPlusJSONResponse

type DeletePlan503ApplicationProblemPlusJSONResponse struct {
	ServiceUnavailableApplicationProblemPlusJSONResponse
}

func (DeletePlan503ApplicationProblemPlusJSONResponse) VisitDeletePlanResponse

func (response DeletePlan503ApplicationProblemPlusJSONResponse) VisitDeletePlanResponse(w http.ResponseWriter) error

type DeletePlanRequestObject

type DeletePlanRequestObject struct {
	PlanId PlanId `json:"planId"`
}

type DeletePlanResponseObject

type DeletePlanResponseObject interface {
	VisitDeletePlanResponse(w http.ResponseWriter) error
}

type DeleteSystemChannel204Response

type DeleteSystemChannel204Response struct {
}

func (DeleteSystemChannel204Response) VisitDeleteSystemChannelResponse

func (response DeleteSystemChannel204Response) VisitDeleteSystemChannelResponse(w http.ResponseWriter) error

type DeleteSystemChannel401ApplicationProblemPlusJSONResponse

type DeleteSystemChannel401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (DeleteSystemChannel401ApplicationProblemPlusJSONResponse) VisitDeleteSystemChannelResponse

func (response DeleteSystemChannel401ApplicationProblemPlusJSONResponse) VisitDeleteSystemChannelResponse(w http.ResponseWriter) error

type DeleteSystemChannel403ApplicationProblemPlusJSONResponse

type DeleteSystemChannel403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (DeleteSystemChannel403ApplicationProblemPlusJSONResponse) VisitDeleteSystemChannelResponse

func (response DeleteSystemChannel403ApplicationProblemPlusJSONResponse) VisitDeleteSystemChannelResponse(w http.ResponseWriter) error

type DeleteSystemChannel404ApplicationProblemPlusJSONResponse

type DeleteSystemChannel404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (DeleteSystemChannel404ApplicationProblemPlusJSONResponse) VisitDeleteSystemChannelResponse

func (response DeleteSystemChannel404ApplicationProblemPlusJSONResponse) VisitDeleteSystemChannelResponse(w http.ResponseWriter) error

type DeleteSystemChannelRequestObject

type DeleteSystemChannelRequestObject struct {
	ChannelId ChannelId `json:"channelId"`
}

type DeleteSystemChannelResponseObject

type DeleteSystemChannelResponseObject interface {
	VisitDeleteSystemChannelResponse(w http.ResponseWriter) error
}

type DeleteTenant204Response

type DeleteTenant204Response struct {
}

func (DeleteTenant204Response) VisitDeleteTenantResponse

func (response DeleteTenant204Response) VisitDeleteTenantResponse(w http.ResponseWriter) error

type DeleteTenant400ApplicationProblemPlusJSONResponse

type DeleteTenant400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (DeleteTenant400ApplicationProblemPlusJSONResponse) VisitDeleteTenantResponse

func (response DeleteTenant400ApplicationProblemPlusJSONResponse) VisitDeleteTenantResponse(w http.ResponseWriter) error

type DeleteTenant401ApplicationProblemPlusJSONResponse

type DeleteTenant401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (DeleteTenant401ApplicationProblemPlusJSONResponse) VisitDeleteTenantResponse

func (response DeleteTenant401ApplicationProblemPlusJSONResponse) VisitDeleteTenantResponse(w http.ResponseWriter) error

type DeleteTenant403ApplicationProblemPlusJSONResponse

type DeleteTenant403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (DeleteTenant403ApplicationProblemPlusJSONResponse) VisitDeleteTenantResponse

func (response DeleteTenant403ApplicationProblemPlusJSONResponse) VisitDeleteTenantResponse(w http.ResponseWriter) error

type DeleteTenant404ApplicationProblemPlusJSONResponse

type DeleteTenant404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (DeleteTenant404ApplicationProblemPlusJSONResponse) VisitDeleteTenantResponse

func (response DeleteTenant404ApplicationProblemPlusJSONResponse) VisitDeleteTenantResponse(w http.ResponseWriter) error

type DeleteTenant409ApplicationProblemPlusJSONResponse

type DeleteTenant409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (DeleteTenant409ApplicationProblemPlusJSONResponse) VisitDeleteTenantResponse

func (response DeleteTenant409ApplicationProblemPlusJSONResponse) VisitDeleteTenantResponse(w http.ResponseWriter) error

type DeleteTenant422ApplicationProblemPlusJSONResponse

type DeleteTenant422ApplicationProblemPlusJSONResponse struct {
	ValidationErrorApplicationProblemPlusJSONResponse
}

func (DeleteTenant422ApplicationProblemPlusJSONResponse) VisitDeleteTenantResponse

func (response DeleteTenant422ApplicationProblemPlusJSONResponse) VisitDeleteTenantResponse(w http.ResponseWriter) error

type DeleteTenant503ApplicationProblemPlusJSONResponse

type DeleteTenant503ApplicationProblemPlusJSONResponse struct {
	ServiceUnavailableApplicationProblemPlusJSONResponse
}

func (DeleteTenant503ApplicationProblemPlusJSONResponse) VisitDeleteTenantResponse

func (response DeleteTenant503ApplicationProblemPlusJSONResponse) VisitDeleteTenantResponse(w http.ResponseWriter) error

type DeleteTenantJSONRequestBody

type DeleteTenantJSONRequestBody = TenantDelete

DeleteTenantJSONRequestBody defines body for DeleteTenant for application/json ContentType.

type DeleteTenantRequestObject

type DeleteTenantRequestObject struct {
	TenantId TenantId `json:"tenantId"`
	Body     *DeleteTenantJSONRequestBody
}

type DeleteTenantResponseObject

type DeleteTenantResponseObject interface {
	VisitDeleteTenantResponse(w http.ResponseWriter) error
}

type DeleteUser204Response

type DeleteUser204Response struct {
}

func (DeleteUser204Response) VisitDeleteUserResponse

func (response DeleteUser204Response) VisitDeleteUserResponse(w http.ResponseWriter) error

type DeleteUser401ApplicationProblemPlusJSONResponse

type DeleteUser401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (DeleteUser401ApplicationProblemPlusJSONResponse) VisitDeleteUserResponse

func (response DeleteUser401ApplicationProblemPlusJSONResponse) VisitDeleteUserResponse(w http.ResponseWriter) error

type DeleteUser403ApplicationProblemPlusJSONResponse

type DeleteUser403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (DeleteUser403ApplicationProblemPlusJSONResponse) VisitDeleteUserResponse

func (response DeleteUser403ApplicationProblemPlusJSONResponse) VisitDeleteUserResponse(w http.ResponseWriter) error

type DeleteUser404ApplicationProblemPlusJSONResponse

type DeleteUser404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (DeleteUser404ApplicationProblemPlusJSONResponse) VisitDeleteUserResponse

func (response DeleteUser404ApplicationProblemPlusJSONResponse) VisitDeleteUserResponse(w http.ResponseWriter) error

type DeleteUserRequestObject

type DeleteUserRequestObject struct {
	UserId UserId `json:"userId"`
}

type DeleteUserResponseObject

type DeleteUserResponseObject interface {
	VisitDeleteUserResponse(w http.ResponseWriter) error
}

type DeliveryResult

type DeliveryResult struct {
	Delivered  bool    `json:"delivered"`
	DurationMs *int    `json:"durationMs,omitempty"`
	Error      *string `json:"error,omitempty"`
}

DeliveryResult defines model for DeliveryResult.

type ErrorClass

type ErrorClass string

ErrorClass defines model for ErrorClass.

const (
	Assertion   ErrorClass = "assertion"
	Connect     ErrorClass = "connect"
	Dns         ErrorClass = "dns"
	HttpStatus  ErrorClass = "http_status"
	Internal    ErrorClass = "internal"
	SsrfBlocked ErrorClass = "ssrf_blocked"
	Timeout     ErrorClass = "timeout"
	Tls         ErrorClass = "tls"
)

Defines values for ErrorClass.

func (ErrorClass) Valid

func (e ErrorClass) Valid() bool

Valid indicates whether the value is a known member of the ErrorClass enum.

type FieldError

type FieldError struct {
	// Field JSON pointer, e.g. /config/url
	Field   string `json:"field"`
	Message string `json:"message"`
}

FieldError defines model for FieldError.

type FilterAction

type FilterAction = string

FilterAction defines model for FilterAction.

type FilterActor

type FilterActor = string

FilterActor defines model for FilterActor.

type FilterObjectId

type FilterObjectId = string

FilterObjectId defines model for FilterObjectId.

type FilterObjectKind

type FilterObjectKind = string

FilterObjectKind defines model for FilterObjectKind.

type Forbidden

type Forbidden = Problem

Forbidden RFC 9457 problem details

type ForbiddenApplicationProblemPlusJSONResponse

type ForbiddenApplicationProblemPlusJSONResponse Problem

type From

type From = time.Time

From defines model for From.

type GetHealth200JSONResponse

type GetHealth200JSONResponse Health

func (GetHealth200JSONResponse) VisitGetHealthResponse

func (response GetHealth200JSONResponse) VisitGetHealthResponse(w http.ResponseWriter) error

type GetHealthRequestObject

type GetHealthRequestObject struct {
}

type GetHealthResponseObject

type GetHealthResponseObject interface {
	VisitGetHealthResponse(w http.ResponseWriter) error
}

type GetIncident200JSONResponse

type GetIncident200JSONResponse Incident

func (GetIncident200JSONResponse) VisitGetIncidentResponse

func (response GetIncident200JSONResponse) VisitGetIncidentResponse(w http.ResponseWriter) error

type GetIncident401ApplicationProblemPlusJSONResponse

type GetIncident401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (GetIncident401ApplicationProblemPlusJSONResponse) VisitGetIncidentResponse

func (response GetIncident401ApplicationProblemPlusJSONResponse) VisitGetIncidentResponse(w http.ResponseWriter) error

type GetIncident404ApplicationProblemPlusJSONResponse

type GetIncident404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (GetIncident404ApplicationProblemPlusJSONResponse) VisitGetIncidentResponse

func (response GetIncident404ApplicationProblemPlusJSONResponse) VisitGetIncidentResponse(w http.ResponseWriter) error

type GetIncidentRequestObject

type GetIncidentRequestObject struct {
	IncidentId openapi_types.UUID `json:"incidentId"`
}

type GetIncidentResponseObject

type GetIncidentResponseObject interface {
	VisitGetIncidentResponse(w http.ResponseWriter) error
}

type GetMaintenanceWindow200JSONResponse

type GetMaintenanceWindow200JSONResponse MaintenanceWindow

func (GetMaintenanceWindow200JSONResponse) VisitGetMaintenanceWindowResponse

func (response GetMaintenanceWindow200JSONResponse) VisitGetMaintenanceWindowResponse(w http.ResponseWriter) error

type GetMaintenanceWindow401ApplicationProblemPlusJSONResponse

type GetMaintenanceWindow401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (GetMaintenanceWindow401ApplicationProblemPlusJSONResponse) VisitGetMaintenanceWindowResponse

func (response GetMaintenanceWindow401ApplicationProblemPlusJSONResponse) VisitGetMaintenanceWindowResponse(w http.ResponseWriter) error

type GetMaintenanceWindow404ApplicationProblemPlusJSONResponse

type GetMaintenanceWindow404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (GetMaintenanceWindow404ApplicationProblemPlusJSONResponse) VisitGetMaintenanceWindowResponse

func (response GetMaintenanceWindow404ApplicationProblemPlusJSONResponse) VisitGetMaintenanceWindowResponse(w http.ResponseWriter) error

type GetMaintenanceWindowRequestObject

type GetMaintenanceWindowRequestObject struct {
	MaintenanceId MaintenanceId `json:"maintenanceId"`
}

type GetMaintenanceWindowResponseObject

type GetMaintenanceWindowResponseObject interface {
	VisitGetMaintenanceWindowResponse(w http.ResponseWriter) error
}

type GetMe200JSONResponse

type GetMe200JSONResponse Me

func (GetMe200JSONResponse) VisitGetMeResponse

func (response GetMe200JSONResponse) VisitGetMeResponse(w http.ResponseWriter) error

type GetMe401ApplicationProblemPlusJSONResponse

type GetMe401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (GetMe401ApplicationProblemPlusJSONResponse) VisitGetMeResponse

type GetMeRequestObject

type GetMeRequestObject struct {
}

type GetMeResponseObject

type GetMeResponseObject interface {
	VisitGetMeResponse(w http.ResponseWriter) error
}

type GetMonitor200JSONResponse

type GetMonitor200JSONResponse Monitor

func (GetMonitor200JSONResponse) VisitGetMonitorResponse

func (response GetMonitor200JSONResponse) VisitGetMonitorResponse(w http.ResponseWriter) error

type GetMonitor401ApplicationProblemPlusJSONResponse

type GetMonitor401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (GetMonitor401ApplicationProblemPlusJSONResponse) VisitGetMonitorResponse

func (response GetMonitor401ApplicationProblemPlusJSONResponse) VisitGetMonitorResponse(w http.ResponseWriter) error

type GetMonitor404ApplicationProblemPlusJSONResponse

type GetMonitor404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (GetMonitor404ApplicationProblemPlusJSONResponse) VisitGetMonitorResponse

func (response GetMonitor404ApplicationProblemPlusJSONResponse) VisitGetMonitorResponse(w http.ResponseWriter) error

type GetMonitorRequestObject

type GetMonitorRequestObject struct {
	MonitorId MonitorId `json:"monitorId"`
}

type GetMonitorResponseObject

type GetMonitorResponseObject interface {
	VisitGetMonitorResponse(w http.ResponseWriter) error
}

type GetNotificationChannel200JSONResponse

type GetNotificationChannel200JSONResponse NotificationChannel

func (GetNotificationChannel200JSONResponse) VisitGetNotificationChannelResponse

func (response GetNotificationChannel200JSONResponse) VisitGetNotificationChannelResponse(w http.ResponseWriter) error

type GetNotificationChannel401ApplicationProblemPlusJSONResponse

type GetNotificationChannel401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (GetNotificationChannel401ApplicationProblemPlusJSONResponse) VisitGetNotificationChannelResponse

func (response GetNotificationChannel401ApplicationProblemPlusJSONResponse) VisitGetNotificationChannelResponse(w http.ResponseWriter) error

type GetNotificationChannel404ApplicationProblemPlusJSONResponse

type GetNotificationChannel404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (GetNotificationChannel404ApplicationProblemPlusJSONResponse) VisitGetNotificationChannelResponse

func (response GetNotificationChannel404ApplicationProblemPlusJSONResponse) VisitGetNotificationChannelResponse(w http.ResponseWriter) error

type GetNotificationChannelRequestObject

type GetNotificationChannelRequestObject struct {
	ChannelId ChannelId `json:"channelId"`
}

type GetNotificationChannelResponseObject

type GetNotificationChannelResponseObject interface {
	VisitGetNotificationChannelResponse(w http.ResponseWriter) error
}

type GetOwnTenant200JSONResponse

type GetOwnTenant200JSONResponse OwnTenant

func (GetOwnTenant200JSONResponse) VisitGetOwnTenantResponse

func (response GetOwnTenant200JSONResponse) VisitGetOwnTenantResponse(w http.ResponseWriter) error

type GetOwnTenant401ApplicationProblemPlusJSONResponse

type GetOwnTenant401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (GetOwnTenant401ApplicationProblemPlusJSONResponse) VisitGetOwnTenantResponse

func (response GetOwnTenant401ApplicationProblemPlusJSONResponse) VisitGetOwnTenantResponse(w http.ResponseWriter) error

type GetOwnTenant403ApplicationProblemPlusJSONResponse

type GetOwnTenant403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (GetOwnTenant403ApplicationProblemPlusJSONResponse) VisitGetOwnTenantResponse

func (response GetOwnTenant403ApplicationProblemPlusJSONResponse) VisitGetOwnTenantResponse(w http.ResponseWriter) error

type GetOwnTenantRequestObject

type GetOwnTenantRequestObject struct {
}

type GetOwnTenantResponseObject

type GetOwnTenantResponseObject interface {
	VisitGetOwnTenantResponse(w http.ResponseWriter) error
}

type GetPlan200JSONResponse

type GetPlan200JSONResponse Plan

func (GetPlan200JSONResponse) VisitGetPlanResponse

func (response GetPlan200JSONResponse) VisitGetPlanResponse(w http.ResponseWriter) error

type GetPlan401ApplicationProblemPlusJSONResponse

type GetPlan401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (GetPlan401ApplicationProblemPlusJSONResponse) VisitGetPlanResponse

func (response GetPlan401ApplicationProblemPlusJSONResponse) VisitGetPlanResponse(w http.ResponseWriter) error

type GetPlan403ApplicationProblemPlusJSONResponse

type GetPlan403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (GetPlan403ApplicationProblemPlusJSONResponse) VisitGetPlanResponse

func (response GetPlan403ApplicationProblemPlusJSONResponse) VisitGetPlanResponse(w http.ResponseWriter) error

type GetPlan404ApplicationProblemPlusJSONResponse

type GetPlan404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (GetPlan404ApplicationProblemPlusJSONResponse) VisitGetPlanResponse

func (response GetPlan404ApplicationProblemPlusJSONResponse) VisitGetPlanResponse(w http.ResponseWriter) error

type GetPlanRequestObject

type GetPlanRequestObject struct {
	PlanId PlanId `json:"planId"`
}

type GetPlanResponseObject

type GetPlanResponseObject interface {
	VisitGetPlanResponse(w http.ResponseWriter) error
}

type GetSystemChannel200JSONResponse

type GetSystemChannel200JSONResponse NotificationChannel

func (GetSystemChannel200JSONResponse) VisitGetSystemChannelResponse

func (response GetSystemChannel200JSONResponse) VisitGetSystemChannelResponse(w http.ResponseWriter) error

type GetSystemChannel401ApplicationProblemPlusJSONResponse

type GetSystemChannel401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (GetSystemChannel401ApplicationProblemPlusJSONResponse) VisitGetSystemChannelResponse

func (response GetSystemChannel401ApplicationProblemPlusJSONResponse) VisitGetSystemChannelResponse(w http.ResponseWriter) error

type GetSystemChannel403ApplicationProblemPlusJSONResponse

type GetSystemChannel403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (GetSystemChannel403ApplicationProblemPlusJSONResponse) VisitGetSystemChannelResponse

func (response GetSystemChannel403ApplicationProblemPlusJSONResponse) VisitGetSystemChannelResponse(w http.ResponseWriter) error

type GetSystemChannel404ApplicationProblemPlusJSONResponse

type GetSystemChannel404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (GetSystemChannel404ApplicationProblemPlusJSONResponse) VisitGetSystemChannelResponse

func (response GetSystemChannel404ApplicationProblemPlusJSONResponse) VisitGetSystemChannelResponse(w http.ResponseWriter) error

type GetSystemChannelRequestObject

type GetSystemChannelRequestObject struct {
	ChannelId ChannelId `json:"channelId"`
}

type GetSystemChannelResponseObject

type GetSystemChannelResponseObject interface {
	VisitGetSystemChannelResponse(w http.ResponseWriter) error
}

type GetTenant200JSONResponse

type GetTenant200JSONResponse Tenant

func (GetTenant200JSONResponse) VisitGetTenantResponse

func (response GetTenant200JSONResponse) VisitGetTenantResponse(w http.ResponseWriter) error

type GetTenant401ApplicationProblemPlusJSONResponse

type GetTenant401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (GetTenant401ApplicationProblemPlusJSONResponse) VisitGetTenantResponse

func (response GetTenant401ApplicationProblemPlusJSONResponse) VisitGetTenantResponse(w http.ResponseWriter) error

type GetTenant403ApplicationProblemPlusJSONResponse

type GetTenant403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (GetTenant403ApplicationProblemPlusJSONResponse) VisitGetTenantResponse

func (response GetTenant403ApplicationProblemPlusJSONResponse) VisitGetTenantResponse(w http.ResponseWriter) error

type GetTenant404ApplicationProblemPlusJSONResponse

type GetTenant404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (GetTenant404ApplicationProblemPlusJSONResponse) VisitGetTenantResponse

func (response GetTenant404ApplicationProblemPlusJSONResponse) VisitGetTenantResponse(w http.ResponseWriter) error

type GetTenantRequestObject

type GetTenantRequestObject struct {
	TenantId TenantId `json:"tenantId"`
}

type GetTenantResponseObject

type GetTenantResponseObject interface {
	VisitGetTenantResponse(w http.ResponseWriter) error
}

type GetUptime200JSONResponse

type GetUptime200JSONResponse UptimeStats

func (GetUptime200JSONResponse) VisitGetUptimeResponse

func (response GetUptime200JSONResponse) VisitGetUptimeResponse(w http.ResponseWriter) error

type GetUptime401ApplicationProblemPlusJSONResponse

type GetUptime401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (GetUptime401ApplicationProblemPlusJSONResponse) VisitGetUptimeResponse

func (response GetUptime401ApplicationProblemPlusJSONResponse) VisitGetUptimeResponse(w http.ResponseWriter) error

type GetUptime404ApplicationProblemPlusJSONResponse

type GetUptime404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (GetUptime404ApplicationProblemPlusJSONResponse) VisitGetUptimeResponse

func (response GetUptime404ApplicationProblemPlusJSONResponse) VisitGetUptimeResponse(w http.ResponseWriter) error

type GetUptimeParams

type GetUptimeParams struct {
	Range GetUptimeParamsRange `form:"range" json:"range"`

	// Node Restrict to one node; omitted = consensus view
	Node *NodeFilter `form:"node,omitempty" json:"node,omitempty"`
}

GetUptimeParams defines parameters for GetUptime.

type GetUptimeParamsRange

type GetUptimeParamsRange string

GetUptimeParamsRange defines parameters for GetUptime.

const (
	GetUptimeParamsRangeN24h  GetUptimeParamsRange = "24h"
	GetUptimeParamsRangeN30d  GetUptimeParamsRange = "30d"
	GetUptimeParamsRangeN365d GetUptimeParamsRange = "365d"
	GetUptimeParamsRangeN7d   GetUptimeParamsRange = "7d"
)

Defines values for GetUptimeParamsRange.

func (GetUptimeParamsRange) Valid

func (e GetUptimeParamsRange) Valid() bool

Valid indicates whether the value is a known member of the GetUptimeParamsRange enum.

type GetUptimeRequestObject

type GetUptimeRequestObject struct {
	MonitorId MonitorId `json:"monitorId"`
	Params    GetUptimeParams
}

type GetUptimeResponseObject

type GetUptimeResponseObject interface {
	VisitGetUptimeResponse(w http.ResponseWriter) error
}

type Health

type Health struct {
	Commit string `json:"commit"`

	// Degraded True while this voter has known no leader for DEGRADED_AFTER (ADR 0024)
	Degraded bool `json:"degraded"`

	// DegradedSince Start of the leaderless period, set while degraded
	DegradedSince *time.Time `json:"degradedSince,omitempty"`
	NodeName      string     `json:"nodeName"`

	// Partition Sorted IDs of this voter and the reachable voters without a leader, set while degraded (ADR 0024)
	Partition *[]string    `json:"partition,omitempty"`
	Role      HealthRole   `json:"role"`
	Status    HealthStatus `json:"status"`
	Version   string       `json:"version"`
}

Health defines model for Health.

type HealthRole

type HealthRole string

HealthRole defines model for Health.Role.

const (
	HealthRoleProbe HealthRole = "probe"
	HealthRoleVoter HealthRole = "voter"
)

Defines values for HealthRole.

func (HealthRole) Valid

func (e HealthRole) Valid() bool

Valid indicates whether the value is a known member of the HealthRole enum.

type HealthStatus

type HealthStatus string

HealthStatus defines model for Health.Status.

const (
	HealthStatusOk HealthStatus = "ok"
)

Defines values for HealthStatus.

func (HealthStatus) Valid

func (e HealthStatus) Valid() bool

Valid indicates whether the value is a known member of the HealthStatus enum.

type Heartbeat

type Heartbeat struct {
	ErrorClass *ErrorClass `json:"errorClass,omitempty"`
	LatencyMs  int         `json:"latencyMs"`
	Message    *string     `json:"message,omitempty"`
	NodeId     string      `json:"nodeId"`

	// Status Result of a single check on a single node
	Status CheckStatus `json:"status"`
	Ts     time.Time   `json:"ts"`
}

Heartbeat defines model for Heartbeat.

type HeartbeatPage

type HeartbeatPage struct {
	Items      []Heartbeat `json:"items"`
	NextCursor *string     `json:"nextCursor,omitempty"`
}

HeartbeatPage defines model for HeartbeatPage.

type IdempotencyKey

type IdempotencyKey = openapi_types.UUID

IdempotencyKey defines model for IdempotencyKey.

type Incident

type Incident struct {
	AffectedNodes *[]string `json:"affectedNodes,omitempty"`

	// Cause Error message at the start of the incident
	Cause string `json:"cause"`

	// Confirmed false if raised in degraded mode without quorum (phase 3)
	Confirmed   *bool              `json:"confirmed,omitempty"`
	ErrorClass  *ErrorClass        `json:"errorClass,omitempty"`
	Id          openapi_types.UUID `json:"id"`
	MonitorId   openapi_types.UUID `json:"monitorId"`
	MonitorName string             `json:"monitorName"`

	// Reevaluated true if the incident was added to a gap in the history after the quorum returned (FA-UPT-07, ADR 0024)
	Reevaluated *bool      `json:"reevaluated,omitempty"`
	ResolvedAt  *time.Time `json:"resolvedAt,omitempty"`
	StartedAt   time.Time  `json:"startedAt"`
}

Incident defines model for Incident.

type IncidentPage

type IncidentPage struct {
	Items      []Incident `json:"items"`
	NextCursor *string    `json:"nextCursor,omitempty"`
}

IncidentPage defines model for IncidentPage.

type InvalidParamFormatError

type InvalidParamFormatError struct {
	ParamName string
	Err       error
}

func (*InvalidParamFormatError) Error

func (e *InvalidParamFormatError) Error() string

func (*InvalidParamFormatError) Unwrap

func (e *InvalidParamFormatError) Unwrap() error

type JoinToken

type JoinToken struct {
	ExpiresAt time.Time     `json:"expiresAt"`
	Role      JoinTokenRole `json:"role"`
	TenantId  *string       `json:"tenantId,omitempty"`

	// Token One-time secret, shown only in this response
	Token string `json:"token"`
}

JoinToken defines model for JoinToken.

type JoinTokenRequest

type JoinTokenRequest struct {
	Role JoinTokenRequestRole `json:"role"`

	// TenantId Only for probes; binds the probe to one tenant (FA-PRB-05)
	TenantId   *string `json:"tenantId,omitempty"`
	TtlMinutes *int    `json:"ttlMinutes,omitempty"`
}

JoinTokenRequest defines model for JoinTokenRequest.

type JoinTokenRequestRole

type JoinTokenRequestRole string

JoinTokenRequestRole defines model for JoinTokenRequest.Role.

const (
	JoinTokenRequestRoleProbe JoinTokenRequestRole = "probe"
	JoinTokenRequestRoleVoter JoinTokenRequestRole = "voter"
)

Defines values for JoinTokenRequestRole.

func (JoinTokenRequestRole) Valid

func (e JoinTokenRequestRole) Valid() bool

Valid indicates whether the value is a known member of the JoinTokenRequestRole enum.

type JoinTokenRole

type JoinTokenRole string

JoinTokenRole defines model for JoinToken.Role.

const (
	JoinTokenRoleProbe JoinTokenRole = "probe"
	JoinTokenRoleVoter JoinTokenRole = "voter"
)

Defines values for JoinTokenRole.

func (JoinTokenRole) Valid

func (e JoinTokenRole) Valid() bool

Valid indicates whether the value is a known member of the JoinTokenRole enum.

type Limit

type Limit = int

Limit defines model for Limit.

type LimitExcess

type LimitExcess struct {
	Actual  int              `json:"actual"`
	Allowed int              `json:"allowed"`
	Limit   LimitExcessLimit `json:"limit"`
}

LimitExcess A limit the current stock exceeds, e.g. after a smaller plan (ADR 0029).

type LimitExcessLimit

type LimitExcessLimit string

LimitExcessLimit defines model for LimitExcess.Limit.

const (
	MaxChannels        LimitExcessLimit = "maxChannels"
	MaxMonitors        LimitExcessLimit = "maxMonitors"
	MaxPrivateProbes   LimitExcessLimit = "maxPrivateProbes"
	MinIntervalSeconds LimitExcessLimit = "minIntervalSeconds"
)

Defines values for LimitExcessLimit.

func (LimitExcessLimit) Valid

func (e LimitExcessLimit) Valid() bool

Valid indicates whether the value is a known member of the LimitExcessLimit enum.

type Limits

type Limits struct {
	MaxChannels        *int `json:"maxChannels,omitempty"`
	MaxMonitors        *int `json:"maxMonitors,omitempty"`
	MaxPrivateProbes   *int `json:"maxPrivateProbes,omitempty"`
	MaxStatusPages     *int `json:"maxStatusPages,omitempty"`
	MinIntervalSeconds *int `json:"minIntervalSeconds,omitempty"`
}

Limits Tenant limits (FA-TEN-04). A missing or null field is unlimited. `maxStatusPages` is stored now and enforced once the feature exists.

type ListAdminAudit200JSONResponse

type ListAdminAudit200JSONResponse AuditPage

func (ListAdminAudit200JSONResponse) VisitListAdminAuditResponse

func (response ListAdminAudit200JSONResponse) VisitListAdminAuditResponse(w http.ResponseWriter) error

type ListAdminAudit400ApplicationProblemPlusJSONResponse

type ListAdminAudit400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (ListAdminAudit400ApplicationProblemPlusJSONResponse) VisitListAdminAuditResponse

func (response ListAdminAudit400ApplicationProblemPlusJSONResponse) VisitListAdminAuditResponse(w http.ResponseWriter) error

type ListAdminAudit401ApplicationProblemPlusJSONResponse

type ListAdminAudit401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListAdminAudit401ApplicationProblemPlusJSONResponse) VisitListAdminAuditResponse

func (response ListAdminAudit401ApplicationProblemPlusJSONResponse) VisitListAdminAuditResponse(w http.ResponseWriter) error

type ListAdminAudit403ApplicationProblemPlusJSONResponse

type ListAdminAudit403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ListAdminAudit403ApplicationProblemPlusJSONResponse) VisitListAdminAuditResponse

func (response ListAdminAudit403ApplicationProblemPlusJSONResponse) VisitListAdminAuditResponse(w http.ResponseWriter) error

type ListAdminAudit422ApplicationProblemPlusJSONResponse

type ListAdminAudit422ApplicationProblemPlusJSONResponse struct {
	ValidationErrorApplicationProblemPlusJSONResponse
}

func (ListAdminAudit422ApplicationProblemPlusJSONResponse) VisitListAdminAuditResponse

func (response ListAdminAudit422ApplicationProblemPlusJSONResponse) VisitListAdminAuditResponse(w http.ResponseWriter) error

type ListAdminAuditParams

type ListAdminAuditParams struct {
	// Tenant Only entries of this tenant; `_system` for platform actions
	Tenant *string `form:"tenant,omitempty" json:"tenant,omitempty"`

	// Cursor Opaque cursor from `nextCursor` of the previous page
	Cursor *Cursor     `form:"cursor,omitempty" json:"cursor,omitempty"`
	Limit  *AuditLimit `form:"limit,omitempty" json:"limit,omitempty"`
	From   *From       `form:"from,omitempty" json:"from,omitempty"`
	To     *To         `form:"to,omitempty" json:"to,omitempty"`

	// Action Exact action, e.g. `monitor.update`
	Action *FilterAction `form:"action,omitempty" json:"action,omitempty"`

	// ObjectKind Exact object kind, e.g. `monitor`
	ObjectKind *FilterObjectKind `form:"objectKind,omitempty" json:"objectKind,omitempty"`
	ObjectId   *FilterObjectId   `form:"objectId,omitempty" json:"objectId,omitempty"`

	// Actor ID of the actor (user ID or API token ID)
	Actor *FilterActor `form:"actor,omitempty" json:"actor,omitempty"`
}

ListAdminAuditParams defines parameters for ListAdminAudit.

type ListAdminAuditRequestObject

type ListAdminAuditRequestObject struct {
	Params ListAdminAuditParams
}

type ListAdminAuditResponseObject

type ListAdminAuditResponseObject interface {
	VisitListAdminAuditResponse(w http.ResponseWriter) error
}

type ListApiTokens200JSONResponse

type ListApiTokens200JSONResponse []ApiToken

func (ListApiTokens200JSONResponse) VisitListApiTokensResponse

func (response ListApiTokens200JSONResponse) VisitListApiTokensResponse(w http.ResponseWriter) error

type ListApiTokens401ApplicationProblemPlusJSONResponse

type ListApiTokens401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListApiTokens401ApplicationProblemPlusJSONResponse) VisitListApiTokensResponse

func (response ListApiTokens401ApplicationProblemPlusJSONResponse) VisitListApiTokensResponse(w http.ResponseWriter) error

type ListApiTokens403ApplicationProblemPlusJSONResponse

type ListApiTokens403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ListApiTokens403ApplicationProblemPlusJSONResponse) VisitListApiTokensResponse

func (response ListApiTokens403ApplicationProblemPlusJSONResponse) VisitListApiTokensResponse(w http.ResponseWriter) error

type ListApiTokensRequestObject

type ListApiTokensRequestObject struct {
}

type ListApiTokensResponseObject

type ListApiTokensResponseObject interface {
	VisitListApiTokensResponse(w http.ResponseWriter) error
}

type ListAssignableNodes200JSONResponse added in v0.0.4

type ListAssignableNodes200JSONResponse []AssignableNode

func (ListAssignableNodes200JSONResponse) VisitListAssignableNodesResponse added in v0.0.4

func (response ListAssignableNodes200JSONResponse) VisitListAssignableNodesResponse(w http.ResponseWriter) error

type ListAssignableNodes401ApplicationProblemPlusJSONResponse added in v0.0.4

type ListAssignableNodes401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListAssignableNodes401ApplicationProblemPlusJSONResponse) VisitListAssignableNodesResponse added in v0.0.4

func (response ListAssignableNodes401ApplicationProblemPlusJSONResponse) VisitListAssignableNodesResponse(w http.ResponseWriter) error

type ListAssignableNodes403ApplicationProblemPlusJSONResponse added in v0.0.4

type ListAssignableNodes403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ListAssignableNodes403ApplicationProblemPlusJSONResponse) VisitListAssignableNodesResponse added in v0.0.4

func (response ListAssignableNodes403ApplicationProblemPlusJSONResponse) VisitListAssignableNodesResponse(w http.ResponseWriter) error

type ListAssignableNodesRequestObject added in v0.0.4

type ListAssignableNodesRequestObject struct {
}

type ListAssignableNodesResponseObject added in v0.0.4

type ListAssignableNodesResponseObject interface {
	VisitListAssignableNodesResponse(w http.ResponseWriter) error
}

type ListAudit200JSONResponse

type ListAudit200JSONResponse AuditPage

func (ListAudit200JSONResponse) VisitListAuditResponse

func (response ListAudit200JSONResponse) VisitListAuditResponse(w http.ResponseWriter) error

type ListAudit400ApplicationProblemPlusJSONResponse

type ListAudit400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (ListAudit400ApplicationProblemPlusJSONResponse) VisitListAuditResponse

func (response ListAudit400ApplicationProblemPlusJSONResponse) VisitListAuditResponse(w http.ResponseWriter) error

type ListAudit401ApplicationProblemPlusJSONResponse

type ListAudit401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListAudit401ApplicationProblemPlusJSONResponse) VisitListAuditResponse

func (response ListAudit401ApplicationProblemPlusJSONResponse) VisitListAuditResponse(w http.ResponseWriter) error

type ListAudit403ApplicationProblemPlusJSONResponse

type ListAudit403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ListAudit403ApplicationProblemPlusJSONResponse) VisitListAuditResponse

func (response ListAudit403ApplicationProblemPlusJSONResponse) VisitListAuditResponse(w http.ResponseWriter) error

type ListAudit422ApplicationProblemPlusJSONResponse

type ListAudit422ApplicationProblemPlusJSONResponse struct {
	ValidationErrorApplicationProblemPlusJSONResponse
}

func (ListAudit422ApplicationProblemPlusJSONResponse) VisitListAuditResponse

func (response ListAudit422ApplicationProblemPlusJSONResponse) VisitListAuditResponse(w http.ResponseWriter) error

type ListAuditParams

type ListAuditParams struct {
	// Cursor Opaque cursor from `nextCursor` of the previous page
	Cursor *Cursor     `form:"cursor,omitempty" json:"cursor,omitempty"`
	Limit  *AuditLimit `form:"limit,omitempty" json:"limit,omitempty"`
	From   *From       `form:"from,omitempty" json:"from,omitempty"`
	To     *To         `form:"to,omitempty" json:"to,omitempty"`

	// Action Exact action, e.g. `monitor.update`
	Action *FilterAction `form:"action,omitempty" json:"action,omitempty"`

	// ObjectKind Exact object kind, e.g. `monitor`
	ObjectKind *FilterObjectKind `form:"objectKind,omitempty" json:"objectKind,omitempty"`
	ObjectId   *FilterObjectId   `form:"objectId,omitempty" json:"objectId,omitempty"`

	// Actor ID of the actor (user ID or API token ID)
	Actor *FilterActor `form:"actor,omitempty" json:"actor,omitempty"`
}

ListAuditParams defines parameters for ListAudit.

type ListAuditRequestObject

type ListAuditRequestObject struct {
	Params ListAuditParams
}

type ListAuditResponseObject

type ListAuditResponseObject interface {
	VisitListAuditResponse(w http.ResponseWriter) error
}

type ListClusterNodes200JSONResponse

type ListClusterNodes200JSONResponse ClusterNodeList

func (ListClusterNodes200JSONResponse) VisitListClusterNodesResponse

func (response ListClusterNodes200JSONResponse) VisitListClusterNodesResponse(w http.ResponseWriter) error

type ListClusterNodes401ApplicationProblemPlusJSONResponse

type ListClusterNodes401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListClusterNodes401ApplicationProblemPlusJSONResponse) VisitListClusterNodesResponse

func (response ListClusterNodes401ApplicationProblemPlusJSONResponse) VisitListClusterNodesResponse(w http.ResponseWriter) error

type ListClusterNodes403ApplicationProblemPlusJSONResponse

type ListClusterNodes403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ListClusterNodes403ApplicationProblemPlusJSONResponse) VisitListClusterNodesResponse

func (response ListClusterNodes403ApplicationProblemPlusJSONResponse) VisitListClusterNodesResponse(w http.ResponseWriter) error

type ListClusterNodesRequestObject

type ListClusterNodesRequestObject struct {
}

type ListClusterNodesResponseObject

type ListClusterNodesResponseObject interface {
	VisitListClusterNodesResponse(w http.ResponseWriter) error
}

type ListHeartbeats200JSONResponse

type ListHeartbeats200JSONResponse HeartbeatPage

func (ListHeartbeats200JSONResponse) VisitListHeartbeatsResponse

func (response ListHeartbeats200JSONResponse) VisitListHeartbeatsResponse(w http.ResponseWriter) error

type ListHeartbeats401ApplicationProblemPlusJSONResponse

type ListHeartbeats401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListHeartbeats401ApplicationProblemPlusJSONResponse) VisitListHeartbeatsResponse

func (response ListHeartbeats401ApplicationProblemPlusJSONResponse) VisitListHeartbeatsResponse(w http.ResponseWriter) error

type ListHeartbeats404ApplicationProblemPlusJSONResponse

type ListHeartbeats404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (ListHeartbeats404ApplicationProblemPlusJSONResponse) VisitListHeartbeatsResponse

func (response ListHeartbeats404ApplicationProblemPlusJSONResponse) VisitListHeartbeatsResponse(w http.ResponseWriter) error

type ListHeartbeatsParams

type ListHeartbeatsParams struct {
	From *From `form:"from,omitempty" json:"from,omitempty"`
	To   *To   `form:"to,omitempty" json:"to,omitempty"`

	// Node Restrict to one node; omitted = consensus view
	Node *NodeFilter `form:"node,omitempty" json:"node,omitempty"`

	// Cursor Opaque cursor from `nextCursor` of the previous page
	Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

ListHeartbeatsParams defines parameters for ListHeartbeats.

type ListHeartbeatsRequestObject

type ListHeartbeatsRequestObject struct {
	MonitorId MonitorId `json:"monitorId"`
	Params    ListHeartbeatsParams
}

type ListHeartbeatsResponseObject

type ListHeartbeatsResponseObject interface {
	VisitListHeartbeatsResponse(w http.ResponseWriter) error
}

type ListIncidents200JSONResponse

type ListIncidents200JSONResponse IncidentPage

func (ListIncidents200JSONResponse) VisitListIncidentsResponse

func (response ListIncidents200JSONResponse) VisitListIncidentsResponse(w http.ResponseWriter) error

type ListIncidents401ApplicationProblemPlusJSONResponse

type ListIncidents401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListIncidents401ApplicationProblemPlusJSONResponse) VisitListIncidentsResponse

func (response ListIncidents401ApplicationProblemPlusJSONResponse) VisitListIncidentsResponse(w http.ResponseWriter) error

type ListIncidentsParams

type ListIncidentsParams struct {
	// Cursor Opaque cursor from `nextCursor` of the previous page
	Cursor    *Cursor             `form:"cursor,omitempty" json:"cursor,omitempty"`
	Limit     *Limit              `form:"limit,omitempty" json:"limit,omitempty"`
	MonitorId *openapi_types.UUID `form:"monitorId,omitempty" json:"monitorId,omitempty"`
	From      *From               `form:"from,omitempty" json:"from,omitempty"`
	To        *To                 `form:"to,omitempty" json:"to,omitempty"`

	// Open Only unresolved incidents
	Open *bool `form:"open,omitempty" json:"open,omitempty"`
}

ListIncidentsParams defines parameters for ListIncidents.

type ListIncidentsRequestObject

type ListIncidentsRequestObject struct {
	Params ListIncidentsParams
}

type ListIncidentsResponseObject

type ListIncidentsResponseObject interface {
	VisitListIncidentsResponse(w http.ResponseWriter) error
}

type ListMaintenanceWindows200JSONResponse

type ListMaintenanceWindows200JSONResponse []MaintenanceWindow

func (ListMaintenanceWindows200JSONResponse) VisitListMaintenanceWindowsResponse

func (response ListMaintenanceWindows200JSONResponse) VisitListMaintenanceWindowsResponse(w http.ResponseWriter) error

type ListMaintenanceWindows401ApplicationProblemPlusJSONResponse

type ListMaintenanceWindows401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListMaintenanceWindows401ApplicationProblemPlusJSONResponse) VisitListMaintenanceWindowsResponse

func (response ListMaintenanceWindows401ApplicationProblemPlusJSONResponse) VisitListMaintenanceWindowsResponse(w http.ResponseWriter) error

type ListMaintenanceWindowsRequestObject

type ListMaintenanceWindowsRequestObject struct {
}

type ListMaintenanceWindowsResponseObject

type ListMaintenanceWindowsResponseObject interface {
	VisitListMaintenanceWindowsResponse(w http.ResponseWriter) error
}

type ListMonitorTypes200JSONResponse

type ListMonitorTypes200JSONResponse []MonitorType

func (ListMonitorTypes200JSONResponse) VisitListMonitorTypesResponse

func (response ListMonitorTypes200JSONResponse) VisitListMonitorTypesResponse(w http.ResponseWriter) error

type ListMonitorTypes401ApplicationProblemPlusJSONResponse

type ListMonitorTypes401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListMonitorTypes401ApplicationProblemPlusJSONResponse) VisitListMonitorTypesResponse

func (response ListMonitorTypes401ApplicationProblemPlusJSONResponse) VisitListMonitorTypesResponse(w http.ResponseWriter) error

type ListMonitorTypesRequestObject

type ListMonitorTypesRequestObject struct {
}

type ListMonitorTypesResponseObject

type ListMonitorTypesResponseObject interface {
	VisitListMonitorTypesResponse(w http.ResponseWriter) error
}

type ListMonitors200JSONResponse

type ListMonitors200JSONResponse MonitorPage

func (ListMonitors200JSONResponse) VisitListMonitorsResponse

func (response ListMonitors200JSONResponse) VisitListMonitorsResponse(w http.ResponseWriter) error

type ListMonitors401ApplicationProblemPlusJSONResponse

type ListMonitors401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListMonitors401ApplicationProblemPlusJSONResponse) VisitListMonitorsResponse

func (response ListMonitors401ApplicationProblemPlusJSONResponse) VisitListMonitorsResponse(w http.ResponseWriter) error

type ListMonitorsParams

type ListMonitorsParams struct {
	// Cursor Opaque cursor from `nextCursor` of the previous page
	Cursor *Cursor        `form:"cursor,omitempty" json:"cursor,omitempty"`
	Limit  *Limit         `form:"limit,omitempty" json:"limit,omitempty"`
	Tag    *string        `form:"tag,omitempty" json:"tag,omitempty"`
	Status *MonitorStatus `form:"status,omitempty" json:"status,omitempty"`

	// Q Case-insensitive search in name and target
	Q *string `form:"q,omitempty" json:"q,omitempty"`
}

ListMonitorsParams defines parameters for ListMonitors.

type ListMonitorsRequestObject

type ListMonitorsRequestObject struct {
	Params ListMonitorsParams
}

type ListMonitorsResponseObject

type ListMonitorsResponseObject interface {
	VisitListMonitorsResponse(w http.ResponseWriter) error
}

type ListNotificationChannels200JSONResponse

type ListNotificationChannels200JSONResponse []NotificationChannel

func (ListNotificationChannels200JSONResponse) VisitListNotificationChannelsResponse

func (response ListNotificationChannels200JSONResponse) VisitListNotificationChannelsResponse(w http.ResponseWriter) error

type ListNotificationChannels401ApplicationProblemPlusJSONResponse

type ListNotificationChannels401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListNotificationChannels401ApplicationProblemPlusJSONResponse) VisitListNotificationChannelsResponse

func (response ListNotificationChannels401ApplicationProblemPlusJSONResponse) VisitListNotificationChannelsResponse(w http.ResponseWriter) error

type ListNotificationChannelsRequestObject

type ListNotificationChannelsRequestObject struct {
}

type ListNotificationChannelsResponseObject

type ListNotificationChannelsResponseObject interface {
	VisitListNotificationChannelsResponse(w http.ResponseWriter) error
}

type ListPlans200JSONResponse

type ListPlans200JSONResponse []Plan

func (ListPlans200JSONResponse) VisitListPlansResponse

func (response ListPlans200JSONResponse) VisitListPlansResponse(w http.ResponseWriter) error

type ListPlans401ApplicationProblemPlusJSONResponse

type ListPlans401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListPlans401ApplicationProblemPlusJSONResponse) VisitListPlansResponse

func (response ListPlans401ApplicationProblemPlusJSONResponse) VisitListPlansResponse(w http.ResponseWriter) error

type ListPlans403ApplicationProblemPlusJSONResponse

type ListPlans403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ListPlans403ApplicationProblemPlusJSONResponse) VisitListPlansResponse

func (response ListPlans403ApplicationProblemPlusJSONResponse) VisitListPlansResponse(w http.ResponseWriter) error

type ListPlansRequestObject

type ListPlansRequestObject struct {
}

type ListPlansResponseObject

type ListPlansResponseObject interface {
	VisitListPlansResponse(w http.ResponseWriter) error
}

type ListPrivateProbes200JSONResponse added in v0.0.4

type ListPrivateProbes200JSONResponse []PrivateProbe

func (ListPrivateProbes200JSONResponse) VisitListPrivateProbesResponse added in v0.0.4

func (response ListPrivateProbes200JSONResponse) VisitListPrivateProbesResponse(w http.ResponseWriter) error

type ListPrivateProbes401ApplicationProblemPlusJSONResponse added in v0.0.4

type ListPrivateProbes401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListPrivateProbes401ApplicationProblemPlusJSONResponse) VisitListPrivateProbesResponse added in v0.0.4

func (response ListPrivateProbes401ApplicationProblemPlusJSONResponse) VisitListPrivateProbesResponse(w http.ResponseWriter) error

type ListPrivateProbes403ApplicationProblemPlusJSONResponse added in v0.0.4

type ListPrivateProbes403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ListPrivateProbes403ApplicationProblemPlusJSONResponse) VisitListPrivateProbesResponse added in v0.0.4

func (response ListPrivateProbes403ApplicationProblemPlusJSONResponse) VisitListPrivateProbesResponse(w http.ResponseWriter) error

type ListPrivateProbesRequestObject added in v0.0.4

type ListPrivateProbesRequestObject struct {
}

type ListPrivateProbesResponseObject added in v0.0.4

type ListPrivateProbesResponseObject interface {
	VisitListPrivateProbesResponse(w http.ResponseWriter) error
}

type ListSystemAlerts200JSONResponse

type ListSystemAlerts200JSONResponse []SystemAlert

func (ListSystemAlerts200JSONResponse) VisitListSystemAlertsResponse

func (response ListSystemAlerts200JSONResponse) VisitListSystemAlertsResponse(w http.ResponseWriter) error

type ListSystemAlerts401ApplicationProblemPlusJSONResponse

type ListSystemAlerts401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListSystemAlerts401ApplicationProblemPlusJSONResponse) VisitListSystemAlertsResponse

func (response ListSystemAlerts401ApplicationProblemPlusJSONResponse) VisitListSystemAlertsResponse(w http.ResponseWriter) error

type ListSystemAlerts403ApplicationProblemPlusJSONResponse

type ListSystemAlerts403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ListSystemAlerts403ApplicationProblemPlusJSONResponse) VisitListSystemAlertsResponse

func (response ListSystemAlerts403ApplicationProblemPlusJSONResponse) VisitListSystemAlertsResponse(w http.ResponseWriter) error

type ListSystemAlerts503ApplicationProblemPlusJSONResponse

type ListSystemAlerts503ApplicationProblemPlusJSONResponse struct {
	ServiceUnavailableApplicationProblemPlusJSONResponse
}

func (ListSystemAlerts503ApplicationProblemPlusJSONResponse) VisitListSystemAlertsResponse

func (response ListSystemAlerts503ApplicationProblemPlusJSONResponse) VisitListSystemAlertsResponse(w http.ResponseWriter) error

type ListSystemAlertsParams

type ListSystemAlertsParams struct {
	// Active Only active alerts (default) or all alerts including cleared ones
	Active *bool `form:"active,omitempty" json:"active,omitempty"`
}

ListSystemAlertsParams defines parameters for ListSystemAlerts.

type ListSystemAlertsRequestObject

type ListSystemAlertsRequestObject struct {
	Params ListSystemAlertsParams
}

type ListSystemAlertsResponseObject

type ListSystemAlertsResponseObject interface {
	VisitListSystemAlertsResponse(w http.ResponseWriter) error
}

type ListSystemChannels200JSONResponse

type ListSystemChannels200JSONResponse []NotificationChannel

func (ListSystemChannels200JSONResponse) VisitListSystemChannelsResponse

func (response ListSystemChannels200JSONResponse) VisitListSystemChannelsResponse(w http.ResponseWriter) error

type ListSystemChannels401ApplicationProblemPlusJSONResponse

type ListSystemChannels401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListSystemChannels401ApplicationProblemPlusJSONResponse) VisitListSystemChannelsResponse

func (response ListSystemChannels401ApplicationProblemPlusJSONResponse) VisitListSystemChannelsResponse(w http.ResponseWriter) error

type ListSystemChannels403ApplicationProblemPlusJSONResponse

type ListSystemChannels403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ListSystemChannels403ApplicationProblemPlusJSONResponse) VisitListSystemChannelsResponse

func (response ListSystemChannels403ApplicationProblemPlusJSONResponse) VisitListSystemChannelsResponse(w http.ResponseWriter) error

type ListSystemChannelsRequestObject

type ListSystemChannelsRequestObject struct {
}

type ListSystemChannelsResponseObject

type ListSystemChannelsResponseObject interface {
	VisitListSystemChannelsResponse(w http.ResponseWriter) error
}

type ListTenants200JSONResponse

type ListTenants200JSONResponse []Tenant

func (ListTenants200JSONResponse) VisitListTenantsResponse

func (response ListTenants200JSONResponse) VisitListTenantsResponse(w http.ResponseWriter) error

type ListTenants401ApplicationProblemPlusJSONResponse

type ListTenants401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListTenants401ApplicationProblemPlusJSONResponse) VisitListTenantsResponse

func (response ListTenants401ApplicationProblemPlusJSONResponse) VisitListTenantsResponse(w http.ResponseWriter) error

type ListTenants403ApplicationProblemPlusJSONResponse

type ListTenants403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ListTenants403ApplicationProblemPlusJSONResponse) VisitListTenantsResponse

func (response ListTenants403ApplicationProblemPlusJSONResponse) VisitListTenantsResponse(w http.ResponseWriter) error

type ListTenantsRequestObject

type ListTenantsRequestObject struct {
}

type ListTenantsResponseObject

type ListTenantsResponseObject interface {
	VisitListTenantsResponse(w http.ResponseWriter) error
}

type ListUsers200JSONResponse

type ListUsers200JSONResponse []User

func (ListUsers200JSONResponse) VisitListUsersResponse

func (response ListUsers200JSONResponse) VisitListUsersResponse(w http.ResponseWriter) error

type ListUsers401ApplicationProblemPlusJSONResponse

type ListUsers401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ListUsers401ApplicationProblemPlusJSONResponse) VisitListUsersResponse

func (response ListUsers401ApplicationProblemPlusJSONResponse) VisitListUsersResponse(w http.ResponseWriter) error

type ListUsers403ApplicationProblemPlusJSONResponse

type ListUsers403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ListUsers403ApplicationProblemPlusJSONResponse) VisitListUsersResponse

func (response ListUsers403ApplicationProblemPlusJSONResponse) VisitListUsersResponse(w http.ResponseWriter) error

type ListUsersRequestObject

type ListUsersRequestObject struct {
}

type ListUsersResponseObject

type ListUsersResponseObject interface {
	VisitListUsersResponse(w http.ResponseWriter) error
}

type Login200JSONResponse

type Login200JSONResponse struct {
	Body    TokenResponse
	Headers Login200ResponseHeaders
}

func (Login200JSONResponse) VisitLoginResponse

func (response Login200JSONResponse) VisitLoginResponse(w http.ResponseWriter) error

type Login200ResponseHeaders

type Login200ResponseHeaders struct {
	SetCookie *string
}

type Login401ApplicationProblemPlusJSONResponse

type Login401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (Login401ApplicationProblemPlusJSONResponse) VisitLoginResponse

type Login429ApplicationProblemPlusJSONResponse

type Login429ApplicationProblemPlusJSONResponse struct {
	TooManyRequestsApplicationProblemPlusJSONResponse
}

func (Login429ApplicationProblemPlusJSONResponse) VisitLoginResponse

type LoginJSONRequestBody

type LoginJSONRequestBody = LoginRequest

LoginJSONRequestBody defines body for Login for application/json ContentType.

type LoginRequest

type LoginRequest struct {
	Password string `json:"password"`
	Username string `json:"username"`
}

LoginRequest defines model for LoginRequest.

type LoginRequestObject

type LoginRequestObject struct {
	Body *LoginJSONRequestBody
}

type LoginResponseObject

type LoginResponseObject interface {
	VisitLoginResponse(w http.ResponseWriter) error
}

type Logout204Response

type Logout204Response struct {
}

func (Logout204Response) VisitLogoutResponse

func (response Logout204Response) VisitLogoutResponse(w http.ResponseWriter) error

type Logout400ApplicationProblemPlusJSONResponse

type Logout400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (Logout400ApplicationProblemPlusJSONResponse) VisitLogoutResponse

func (response Logout400ApplicationProblemPlusJSONResponse) VisitLogoutResponse(w http.ResponseWriter) error

type LogoutParams

type LogoutParams struct {
	XRequestedWith LogoutParamsXRequestedWith `json:"X-Requested-With"`
}

LogoutParams defines parameters for Logout.

type LogoutParamsXRequestedWith

type LogoutParamsXRequestedWith string

LogoutParamsXRequestedWith defines parameters for Logout.

const (
	LogoutParamsXRequestedWithPulsequorum LogoutParamsXRequestedWith = "pulsequorum"
)

Defines values for LogoutParamsXRequestedWith.

func (LogoutParamsXRequestedWith) Valid

func (e LogoutParamsXRequestedWith) Valid() bool

Valid indicates whether the value is a known member of the LogoutParamsXRequestedWith enum.

type LogoutRequestObject

type LogoutRequestObject struct {
	Params LogoutParams
}

type LogoutResponseObject

type LogoutResponseObject interface {
	VisitLogoutResponse(w http.ResponseWriter) error
}

type MaintenanceId

type MaintenanceId = openapi_types.UUID

MaintenanceId defines model for MaintenanceId.

type MaintenanceSchedule

type MaintenanceSchedule struct {
	// Cron Example: 0 3 * * 0
	Cron            *string                 `json:"cron,omitempty"`
	DurationMinutes *int                    `json:"durationMinutes,omitempty"`
	EndsAt          *time.Time              `json:"endsAt,omitempty"`
	Kind            MaintenanceScheduleKind `json:"kind"`
	StartsAt        *time.Time              `json:"startsAt,omitempty"`

	// Timezone Example: Europe/Berlin
	Timezone *string `json:"timezone,omitempty"`
}

MaintenanceSchedule `once`: startsAt/endsAt. `recurring`: cron expression (5 fields, local time in `timezone`) plus durationMinutes, optionally bounded by startsAt/endsAt.

type MaintenanceScheduleKind

type MaintenanceScheduleKind string

MaintenanceScheduleKind defines model for MaintenanceSchedule.Kind.

const (
	Once      MaintenanceScheduleKind = "once"
	Recurring MaintenanceScheduleKind = "recurring"
)

Defines values for MaintenanceScheduleKind.

func (MaintenanceScheduleKind) Valid

func (e MaintenanceScheduleKind) Valid() bool

Valid indicates whether the value is a known member of the MaintenanceScheduleKind enum.

type MaintenanceWindow

type MaintenanceWindow struct {
	Active      *bool              `json:"active,omitempty"`
	CreatedAt   time.Time          `json:"createdAt"`
	Description *string            `json:"description,omitempty"`
	Id          openapi_types.UUID `json:"id"`
	InProgress  *bool              `json:"inProgress,omitempty"`

	// MonitorIds Empty = all monitors of the tenant
	MonitorIds []openapi_types.UUID `json:"monitorIds"`
	Name       string               `json:"name"`
	NextStart  *time.Time           `json:"nextStart,omitempty"`

	// Schedule `once`: startsAt/endsAt. `recurring`: cron expression (5 fields, local time
	// in `timezone`) plus durationMinutes, optionally bounded by startsAt/endsAt.
	Schedule MaintenanceSchedule `json:"schedule"`
}

MaintenanceWindow defines model for MaintenanceWindow.

type MaintenanceWindowInput

type MaintenanceWindowInput struct {
	Active      *bool   `json:"active,omitempty"`
	Description *string `json:"description,omitempty"`

	// MonitorIds Empty = all monitors of the tenant
	MonitorIds []openapi_types.UUID `json:"monitorIds"`
	Name       string               `json:"name"`

	// Schedule `once`: startsAt/endsAt. `recurring`: cron expression (5 fields, local time
	// in `timezone`) plus durationMinutes, optionally bounded by startsAt/endsAt.
	Schedule MaintenanceSchedule `json:"schedule"`
}

MaintenanceWindowInput defines model for MaintenanceWindowInput.

type Me

type Me struct {
	AuthMode    MeAuthMode `json:"authMode"`
	DisplayName *string    `json:"displayName,omitempty"`
	Id          string     `json:"id"`
	Roles       []Role     `json:"roles"`
	TenantId    string     `json:"tenantId"`
	TenantName  *string    `json:"tenantName,omitempty"`
	Username    string     `json:"username"`
}

Me defines model for Me.

type MeAuthMode

type MeAuthMode string

MeAuthMode defines model for Me.AuthMode.

const (
	Local MeAuthMode = "local"
	Oidc  MeAuthMode = "oidc"
)

Defines values for MeAuthMode.

func (MeAuthMode) Valid

func (e MeAuthMode) Valid() bool

Valid indicates whether the value is a known member of the MeAuthMode enum.

type MiddlewareFunc

type MiddlewareFunc func(http.Handler) http.Handler

type Monitor

type Monitor struct {
	// Assignment Which nodes run the check (E1, ADR 0017). Only voters with the capability the
	// monitor type requires are candidates; `nodes` lists node IDs from the node registry.
	// - `all`: every candidate, healthy or not.
	// - `count`: `count` healthy candidates chosen by rendezvous hashing over the monitor ID;
	//   if fewer are healthy, all healthy candidates run it.
	// - `nodes`: the listed nodes, if they are candidates.
	// Without a node registry (a single voter before its first registration) every node runs the check.
	Assignment *Assignment `json:"assignment,omitempty"`

	// Config Type-specific configuration, validated against the type's JSON schema.
	// Fields marked `writeOnly` in that schema are secrets (ADR 0015): they are
	// stored encrypted and returned as `***`. On update, `***` or an omitted
	// field keeps the stored secret (same type only), a new value replaces it
	// and an empty string removes it. `***` without a stored secret is a 422.
	// Private keys of client certificates (`clientCertificate.privateKey`) are secrets too (ADR 0042).
	Config          map[string]interface{} `json:"config"`
	ConsensusPolicy *ConsensusPolicy       `json:"consensusPolicy,omitempty"`
	CreatedAt       time.Time              `json:"createdAt"`
	Description     *string                `json:"description,omitempty"`

	// Flapping True while the monitor flaps: six status changes within 30 min. Its
	// alerts are then summarized (FA-ALR-06).
	Flapping               *bool                 `json:"flapping,omitempty"`
	Id                     openapi_types.UUID    `json:"id"`
	IntervalSeconds        int                   `json:"intervalSeconds"`
	LastCheckAt            *time.Time            `json:"lastCheckAt,omitempty"`
	LastLatencyMs          *int                  `json:"lastLatencyMs,omitempty"`
	Name                   string                `json:"name"`
	NotificationChannelIds *[]openapi_types.UUID `json:"notificationChannelIds,omitempty"`
	Paused                 *bool                 `json:"paused,omitempty"`

	// RecoveryThreshold Consecutive successes needed to return to UP
	RecoveryThreshold *int `json:"recoveryThreshold,omitempty"`

	// ResendIntervalMinutes Repeat DOWN notifications every N minutes; 0 = never
	ResendIntervalMinutes *int `json:"resendIntervalMinutes,omitempty"`
	Retries               *int `json:"retries,omitempty"`

	// Status Consensus status. DEGRADED = check passed with a warning (e.g. TLS expiry);
	// PARTIAL = some nodes report DOWN but the DOWN rule is not met (phase 3).
	Status      MonitorStatus `json:"status"`
	StatusSince time.Time     `json:"statusSince"`
	Tags        *[]string     `json:"tags,omitempty"`

	// TimeoutSeconds Must not exceed 80 % of the interval (FA-MON-03). Default 0.8 × interval, max 48 s.
	TimeoutSeconds *int `json:"timeoutSeconds,omitempty"`

	// Type Monitor type key from /monitor-types
	//
	// Example: http
	Type      string    `json:"type"`
	UpdatedAt time.Time `json:"updatedAt"`

	// Uptime24h Percentage 0–100, null if no data
	Uptime24h *float64 `json:"uptime24h,omitempty"`
}

Monitor defines model for Monitor.

type MonitorId

type MonitorId = openapi_types.UUID

MonitorId defines model for MonitorId.

type MonitorInput

type MonitorInput struct {
	// Assignment Which nodes run the check (E1, ADR 0017). Only voters with the capability the
	// monitor type requires are candidates; `nodes` lists node IDs from the node registry.
	// - `all`: every candidate, healthy or not.
	// - `count`: `count` healthy candidates chosen by rendezvous hashing over the monitor ID;
	//   if fewer are healthy, all healthy candidates run it.
	// - `nodes`: the listed nodes, if they are candidates.
	// Without a node registry (a single voter before its first registration) every node runs the check.
	Assignment *Assignment `json:"assignment,omitempty"`

	// Config Type-specific configuration, validated against the type's JSON schema.
	// Fields marked `writeOnly` in that schema are secrets (ADR 0015): they are
	// stored encrypted and returned as `***`. On update, `***` or an omitted
	// field keeps the stored secret (same type only), a new value replaces it
	// and an empty string removes it. `***` without a stored secret is a 422.
	// Private keys of client certificates (`clientCertificate.privateKey`) are secrets too (ADR 0042).
	Config                 map[string]interface{} `json:"config"`
	ConsensusPolicy        *ConsensusPolicy       `json:"consensusPolicy,omitempty"`
	Description            *string                `json:"description,omitempty"`
	IntervalSeconds        int                    `json:"intervalSeconds"`
	Name                   string                 `json:"name"`
	NotificationChannelIds *[]openapi_types.UUID  `json:"notificationChannelIds,omitempty"`
	Paused                 *bool                  `json:"paused,omitempty"`

	// RecoveryThreshold Consecutive successes needed to return to UP
	RecoveryThreshold *int `json:"recoveryThreshold,omitempty"`

	// ResendIntervalMinutes Repeat DOWN notifications every N minutes; 0 = never
	ResendIntervalMinutes *int      `json:"resendIntervalMinutes,omitempty"`
	Retries               *int      `json:"retries,omitempty"`
	Tags                  *[]string `json:"tags,omitempty"`

	// TimeoutSeconds Must not exceed 80 % of the interval (FA-MON-03). Default 0.8 × interval, max 48 s.
	TimeoutSeconds *int `json:"timeoutSeconds,omitempty"`

	// Type Monitor type key from /monitor-types
	//
	// Example: http
	Type string `json:"type"`
}

MonitorInput defines model for MonitorInput.

type MonitorPage

type MonitorPage struct {
	Items      []Monitor `json:"items"`
	NextCursor *string   `json:"nextCursor,omitempty"`
}

MonitorPage defines model for MonitorPage.

type MonitorStatus

type MonitorStatus string

MonitorStatus Consensus status. DEGRADED = check passed with a warning (e.g. TLS expiry); PARTIAL = some nodes report DOWN but the DOWN rule is not met (phase 3).

const (
	MonitorStatusDEGRADED    MonitorStatus = "DEGRADED"
	MonitorStatusDOWN        MonitorStatus = "DOWN"
	MonitorStatusMAINTENANCE MonitorStatus = "MAINTENANCE"
	MonitorStatusPARTIAL     MonitorStatus = "PARTIAL"
	MonitorStatusPAUSED      MonitorStatus = "PAUSED"
	MonitorStatusPENDING     MonitorStatus = "PENDING"
	MonitorStatusUNKNOWN     MonitorStatus = "UNKNOWN"
	MonitorStatusUP          MonitorStatus = "UP"
)

Defines values for MonitorStatus.

func (MonitorStatus) Valid

func (e MonitorStatus) Valid() bool

Valid indicates whether the value is a known member of the MonitorStatus enum.

type MonitorType

type MonitorType struct {
	// ConfigSchema JSON Schema (draft 2020-12) of `MonitorInput.config`. Every object schema with `properties` carries an `x-order` array with the property names in display order.
	ConfigSchema map[string]interface{} `json:"configSchema"`
	Description  *string                `json:"description,omitempty"`

	// Name Example: HTTP(S)
	Name string `json:"name"`

	// RequiresCapability Node capability needed to run this type (e.g. icmp)
	RequiresCapability *string `json:"requiresCapability,omitempty"`

	// Type Example: http
	Type string `json:"type"`
}

MonitorType defines model for MonitorType.

type NodeFilter

type NodeFilter = string

NodeFilter defines model for NodeFilter.

type NodeRemoval

type NodeRemoval struct {
	VotersLeft int     `json:"votersLeft"`
	Warning    *string `json:"warning,omitempty"`
}

NodeRemoval defines model for NodeRemoval.

type NotFound

type NotFound = Problem

NotFound RFC 9457 problem details

type NotFoundApplicationProblemPlusJSONResponse

type NotFoundApplicationProblemPlusJSONResponse Problem

type NotificationChannel

type NotificationChannel struct {
	CreatedAt time.Time           `json:"createdAt"`
	Events    []NotificationEvent `json:"events"`
	Id        openapi_types.UUID  `json:"id"`
	IsDefault bool                `json:"isDefault"`
	Kind      NotificationKind    `json:"kind"`
	LastError *string             `json:"lastError,omitempty"`

	// MaskedUrl Example: telegram://***@telegram?chats=@ops
	MaskedUrl *string `json:"maskedUrl,omitempty"`
	Name      string  `json:"name"`

	// State `disabled` after permanent errors such as HTTP 401/403/404 (FA-ALR-05)
	State   NotificationChannelState `json:"state"`
	Webhook *WebhookConfig           `json:"webhook,omitempty"`
}

NotificationChannel defines model for NotificationChannel.

type NotificationChannelInput

type NotificationChannelInput struct {
	// Events Omitted on create: `down` and `up`, plus `flapping` and `channel_failed`
	// once the cluster command level is 4 or higher (ADR 0023). System channels
	// always get `system`; without `events` they get only `system`.
	Events *[]NotificationEvent `json:"events,omitempty"`

	// IsDefault Attach to new monitors automatically
	IsDefault *bool            `json:"isDefault,omitempty"`
	Kind      NotificationKind `json:"kind"`
	Name      string           `json:"name"`

	// Url Shoutrrr URL (kind=shoutrrr). Write-only; omit on update to keep the stored value.
	Url     *string        `json:"url,omitempty"`
	Webhook *WebhookConfig `json:"webhook,omitempty"`
}

NotificationChannelInput defines model for NotificationChannelInput.

type NotificationChannelState

type NotificationChannelState string

NotificationChannelState `disabled` after permanent errors such as HTTP 401/403/404 (FA-ALR-05)

const (
	NotificationChannelStateDisabled NotificationChannelState = "disabled"
	NotificationChannelStateFailing  NotificationChannelState = "failing"
	NotificationChannelStateOk       NotificationChannelState = "ok"
)

Defines values for NotificationChannelState.

func (NotificationChannelState) Valid

func (e NotificationChannelState) Valid() bool

Valid indicates whether the value is a known member of the NotificationChannelState enum.

type NotificationEvent

type NotificationEvent string

NotificationEvent `system` is reserved for the system channels (ADR 0025); tenant channels answer 400 when they request it. `probe_offline` is for tenant channels only (ADR 0035).

const (
	ChannelFailed NotificationEvent = "channel_failed"
	Degraded      NotificationEvent = "degraded"
	Down          NotificationEvent = "down"
	Flapping      NotificationEvent = "flapping"
	Partial       NotificationEvent = "partial"
	ProbeOffline  NotificationEvent = "probe_offline"
	System        NotificationEvent = "system"
	Up            NotificationEvent = "up"
)

Defines values for NotificationEvent.

func (NotificationEvent) Valid

func (e NotificationEvent) Valid() bool

Valid indicates whether the value is a known member of the NotificationEvent enum.

type NotificationKind

type NotificationKind string

NotificationKind defines model for NotificationKind.

const (
	Shoutrrr NotificationKind = "shoutrrr"
	Webhook  NotificationKind = "webhook"
)

Defines values for NotificationKind.

func (NotificationKind) Valid

func (e NotificationKind) Valid() bool

Valid indicates whether the value is a known member of the NotificationKind enum.

type OwnTenant

type OwnTenant struct {
	// EffectiveLimits Tenant limits (FA-TEN-04). A missing or null field is unlimited.
	// `maxStatusPages` is stored now and enforced once the feature exists.
	EffectiveLimits Limits        `json:"effectiveLimits"`
	Exceeded        []LimitExcess `json:"exceeded"`
	Id              string        `json:"id"`
	Name            string        `json:"name"`
	Plan            string        `json:"plan"`
	Usage           TenantUsage   `json:"usage"`
}

OwnTenant defines model for OwnTenant.

type PauseMonitor200JSONResponse

type PauseMonitor200JSONResponse Monitor

func (PauseMonitor200JSONResponse) VisitPauseMonitorResponse

func (response PauseMonitor200JSONResponse) VisitPauseMonitorResponse(w http.ResponseWriter) error

type PauseMonitor401ApplicationProblemPlusJSONResponse

type PauseMonitor401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (PauseMonitor401ApplicationProblemPlusJSONResponse) VisitPauseMonitorResponse

func (response PauseMonitor401ApplicationProblemPlusJSONResponse) VisitPauseMonitorResponse(w http.ResponseWriter) error

type PauseMonitor404ApplicationProblemPlusJSONResponse

type PauseMonitor404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (PauseMonitor404ApplicationProblemPlusJSONResponse) VisitPauseMonitorResponse

func (response PauseMonitor404ApplicationProblemPlusJSONResponse) VisitPauseMonitorResponse(w http.ResponseWriter) error

type PauseMonitorRequestObject

type PauseMonitorRequestObject struct {
	MonitorId MonitorId `json:"monitorId"`
}

type PauseMonitorResponseObject

type PauseMonitorResponseObject interface {
	VisitPauseMonitorResponse(w http.ResponseWriter) error
}

type Plan

type Plan struct {
	CreatedAt time.Time `json:"createdAt"`
	Id        string    `json:"id"`

	// Limits Tenant limits (FA-TEN-04). A missing or null field is unlimited.
	// `maxStatusPages` is stored now and enforced once the feature exists.
	Limits      Limits    `json:"limits"`
	Name        string    `json:"name"`
	TenantCount int       `json:"tenantCount"`
	UpdatedAt   time.Time `json:"updatedAt"`
}

Plan defines model for Plan.

type PlanId

type PlanId = string

PlanId defines model for PlanId.

type PlanInput

type PlanInput struct {
	// Limits Same fields as `Limits`. Unknown fields are rejected with 422, so a
	// typo never means "unlimited" (ADR 0029).
	Limits map[string]*int `json:"limits"`
	Name   string          `json:"name"`
}

PlanInput defines model for PlanInput.

type PrivateProbe added in v0.0.4

type PrivateProbe struct {
	Capabilities    []string           `json:"capabilities"`
	HealthChangedAt time.Time          `json:"healthChangedAt"`
	Healthy         bool               `json:"healthy"`
	Id              string             `json:"id"`
	LastContactAt   *time.Time         `json:"lastContactAt,omitempty"`
	Name            string             `json:"name"`
	OfflineAlert    *bool              `json:"offlineAlert,omitempty"`
	ProbeBuffer     *ProbeBufferStatus `json:"probeBuffer,omitempty"`
	Region          *string            `json:"region,omitempty"`
	Version         string             `json:"version"`
}

PrivateProbe defines model for PrivateProbe.

type PrivateProbeJoinTokenRequest added in v0.0.4

type PrivateProbeJoinTokenRequest struct {
	TtlMinutes *int `json:"ttlMinutes,omitempty"`
}

PrivateProbeJoinTokenRequest defines model for PrivateProbeJoinTokenRequest.

type ProbeBufferStatus added in v0.0.4

type ProbeBufferStatus struct {
	Bytes           int64  `json:"bytes"`
	DroppedTotal    int64  `json:"droppedTotal"`
	OldestUnackedMs *int64 `json:"oldestUnackedMs,omitempty"`
	Unacked         int64  `json:"unacked"`
}

ProbeBufferStatus defines model for ProbeBufferStatus.

type Problem

type Problem struct {
	Detail *string `json:"detail,omitempty"`

	// Errors Field errors for validation problems
	Errors   *[]FieldError `json:"errors,omitempty"`
	Instance *string       `json:"instance,omitempty"`
	Status   int           `json:"status"`
	Title    string        `json:"title"`

	// Type Example: about:blank
	Type string `json:"type"`
}

Problem RFC 9457 problem details

type PutPlan200JSONResponse

type PutPlan200JSONResponse Plan

func (PutPlan200JSONResponse) VisitPutPlanResponse

func (response PutPlan200JSONResponse) VisitPutPlanResponse(w http.ResponseWriter) error

type PutPlan400ApplicationProblemPlusJSONResponse

type PutPlan400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (PutPlan400ApplicationProblemPlusJSONResponse) VisitPutPlanResponse

func (response PutPlan400ApplicationProblemPlusJSONResponse) VisitPutPlanResponse(w http.ResponseWriter) error

type PutPlan401ApplicationProblemPlusJSONResponse

type PutPlan401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (PutPlan401ApplicationProblemPlusJSONResponse) VisitPutPlanResponse

func (response PutPlan401ApplicationProblemPlusJSONResponse) VisitPutPlanResponse(w http.ResponseWriter) error

type PutPlan403ApplicationProblemPlusJSONResponse

type PutPlan403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (PutPlan403ApplicationProblemPlusJSONResponse) VisitPutPlanResponse

func (response PutPlan403ApplicationProblemPlusJSONResponse) VisitPutPlanResponse(w http.ResponseWriter) error

type PutPlan422ApplicationProblemPlusJSONResponse

type PutPlan422ApplicationProblemPlusJSONResponse struct {
	ValidationErrorApplicationProblemPlusJSONResponse
}

func (PutPlan422ApplicationProblemPlusJSONResponse) VisitPutPlanResponse

func (response PutPlan422ApplicationProblemPlusJSONResponse) VisitPutPlanResponse(w http.ResponseWriter) error

type PutPlan503ApplicationProblemPlusJSONResponse

type PutPlan503ApplicationProblemPlusJSONResponse struct {
	ServiceUnavailableApplicationProblemPlusJSONResponse
}

func (PutPlan503ApplicationProblemPlusJSONResponse) VisitPutPlanResponse

func (response PutPlan503ApplicationProblemPlusJSONResponse) VisitPutPlanResponse(w http.ResponseWriter) error

type PutPlanJSONRequestBody

type PutPlanJSONRequestBody = PlanInput

PutPlanJSONRequestBody defines body for PutPlan for application/json ContentType.

type PutPlanRequestObject

type PutPlanRequestObject struct {
	PlanId PlanId `json:"planId"`
	Body   *PutPlanJSONRequestBody
}

type PutPlanResponseObject

type PutPlanResponseObject interface {
	VisitPutPlanResponse(w http.ResponseWriter) error
}

type Refresh200JSONResponse

type Refresh200JSONResponse struct {
	Body    TokenResponse
	Headers Refresh200ResponseHeaders
}

func (Refresh200JSONResponse) VisitRefreshResponse

func (response Refresh200JSONResponse) VisitRefreshResponse(w http.ResponseWriter) error

type Refresh200ResponseHeaders

type Refresh200ResponseHeaders struct {
	SetCookie *string
}

type Refresh401ApplicationProblemPlusJSONResponse

type Refresh401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (Refresh401ApplicationProblemPlusJSONResponse) VisitRefreshResponse

func (response Refresh401ApplicationProblemPlusJSONResponse) VisitRefreshResponse(w http.ResponseWriter) error

type RefreshParams

type RefreshParams struct {
	XRequestedWith RefreshParamsXRequestedWith `json:"X-Requested-With"`
}

RefreshParams defines parameters for Refresh.

type RefreshParamsXRequestedWith

type RefreshParamsXRequestedWith string

RefreshParamsXRequestedWith defines parameters for Refresh.

const (
	RefreshParamsXRequestedWithPulsequorum RefreshParamsXRequestedWith = "pulsequorum"
)

Defines values for RefreshParamsXRequestedWith.

func (RefreshParamsXRequestedWith) Valid

Valid indicates whether the value is a known member of the RefreshParamsXRequestedWith enum.

type RefreshRequestObject

type RefreshRequestObject struct {
	Params RefreshParams
}

type RefreshResponseObject

type RefreshResponseObject interface {
	VisitRefreshResponse(w http.ResponseWriter) error
}

type RemoveClusterNode200JSONResponse

type RemoveClusterNode200JSONResponse NodeRemoval

func (RemoveClusterNode200JSONResponse) VisitRemoveClusterNodeResponse

func (response RemoveClusterNode200JSONResponse) VisitRemoveClusterNodeResponse(w http.ResponseWriter) error

type RemoveClusterNode401ApplicationProblemPlusJSONResponse

type RemoveClusterNode401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (RemoveClusterNode401ApplicationProblemPlusJSONResponse) VisitRemoveClusterNodeResponse

func (response RemoveClusterNode401ApplicationProblemPlusJSONResponse) VisitRemoveClusterNodeResponse(w http.ResponseWriter) error

type RemoveClusterNode403ApplicationProblemPlusJSONResponse

type RemoveClusterNode403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (RemoveClusterNode403ApplicationProblemPlusJSONResponse) VisitRemoveClusterNodeResponse

func (response RemoveClusterNode403ApplicationProblemPlusJSONResponse) VisitRemoveClusterNodeResponse(w http.ResponseWriter) error

type RemoveClusterNode404ApplicationProblemPlusJSONResponse

type RemoveClusterNode404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (RemoveClusterNode404ApplicationProblemPlusJSONResponse) VisitRemoveClusterNodeResponse

func (response RemoveClusterNode404ApplicationProblemPlusJSONResponse) VisitRemoveClusterNodeResponse(w http.ResponseWriter) error

type RemoveClusterNode409ApplicationProblemPlusJSONResponse

type RemoveClusterNode409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (RemoveClusterNode409ApplicationProblemPlusJSONResponse) VisitRemoveClusterNodeResponse

func (response RemoveClusterNode409ApplicationProblemPlusJSONResponse) VisitRemoveClusterNodeResponse(w http.ResponseWriter) error

type RemoveClusterNode503ApplicationProblemPlusJSONResponse

type RemoveClusterNode503ApplicationProblemPlusJSONResponse struct {
	ServiceUnavailableApplicationProblemPlusJSONResponse
}

func (RemoveClusterNode503ApplicationProblemPlusJSONResponse) VisitRemoveClusterNodeResponse

func (response RemoveClusterNode503ApplicationProblemPlusJSONResponse) VisitRemoveClusterNodeResponse(w http.ResponseWriter) error

type RemoveClusterNodeRequestObject

type RemoveClusterNodeRequestObject struct {
	NodeId string `json:"nodeId"`
}

type RemoveClusterNodeResponseObject

type RemoveClusterNodeResponseObject interface {
	VisitRemoveClusterNodeResponse(w http.ResponseWriter) error
}

type RemovePrivateProbe204Response added in v0.0.4

type RemovePrivateProbe204Response struct {
}

func (RemovePrivateProbe204Response) VisitRemovePrivateProbeResponse added in v0.0.4

func (response RemovePrivateProbe204Response) VisitRemovePrivateProbeResponse(w http.ResponseWriter) error

type RemovePrivateProbe401ApplicationProblemPlusJSONResponse added in v0.0.4

type RemovePrivateProbe401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (RemovePrivateProbe401ApplicationProblemPlusJSONResponse) VisitRemovePrivateProbeResponse added in v0.0.4

func (response RemovePrivateProbe401ApplicationProblemPlusJSONResponse) VisitRemovePrivateProbeResponse(w http.ResponseWriter) error

type RemovePrivateProbe403ApplicationProblemPlusJSONResponse added in v0.0.4

type RemovePrivateProbe403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (RemovePrivateProbe403ApplicationProblemPlusJSONResponse) VisitRemovePrivateProbeResponse added in v0.0.4

func (response RemovePrivateProbe403ApplicationProblemPlusJSONResponse) VisitRemovePrivateProbeResponse(w http.ResponseWriter) error

type RemovePrivateProbe404ApplicationProblemPlusJSONResponse added in v0.0.4

type RemovePrivateProbe404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (RemovePrivateProbe404ApplicationProblemPlusJSONResponse) VisitRemovePrivateProbeResponse added in v0.0.4

func (response RemovePrivateProbe404ApplicationProblemPlusJSONResponse) VisitRemovePrivateProbeResponse(w http.ResponseWriter) error

type RemovePrivateProbe503ApplicationProblemPlusJSONResponse added in v0.0.4

type RemovePrivateProbe503ApplicationProblemPlusJSONResponse struct {
	ServiceUnavailableApplicationProblemPlusJSONResponse
}

func (RemovePrivateProbe503ApplicationProblemPlusJSONResponse) VisitRemovePrivateProbeResponse added in v0.0.4

func (response RemovePrivateProbe503ApplicationProblemPlusJSONResponse) VisitRemovePrivateProbeResponse(w http.ResponseWriter) error

type RemovePrivateProbeRequestObject added in v0.0.4

type RemovePrivateProbeRequestObject struct {
	ProbeId string `json:"probeId"`
}

type RemovePrivateProbeResponseObject added in v0.0.4

type RemovePrivateProbeResponseObject interface {
	VisitRemovePrivateProbeResponse(w http.ResponseWriter) error
}

type RequiredHeaderError

type RequiredHeaderError struct {
	ParamName string
	Err       error
}

func (*RequiredHeaderError) Error

func (e *RequiredHeaderError) Error() string

func (*RequiredHeaderError) Unwrap

func (e *RequiredHeaderError) Unwrap() error

type RequiredParamError

type RequiredParamError struct {
	ParamName string
}

func (*RequiredParamError) Error

func (e *RequiredParamError) Error() string

type ResumeMonitor200JSONResponse

type ResumeMonitor200JSONResponse Monitor

func (ResumeMonitor200JSONResponse) VisitResumeMonitorResponse

func (response ResumeMonitor200JSONResponse) VisitResumeMonitorResponse(w http.ResponseWriter) error

type ResumeMonitor401ApplicationProblemPlusJSONResponse

type ResumeMonitor401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ResumeMonitor401ApplicationProblemPlusJSONResponse) VisitResumeMonitorResponse

func (response ResumeMonitor401ApplicationProblemPlusJSONResponse) VisitResumeMonitorResponse(w http.ResponseWriter) error

type ResumeMonitor404ApplicationProblemPlusJSONResponse

type ResumeMonitor404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (ResumeMonitor404ApplicationProblemPlusJSONResponse) VisitResumeMonitorResponse

func (response ResumeMonitor404ApplicationProblemPlusJSONResponse) VisitResumeMonitorResponse(w http.ResponseWriter) error

type ResumeMonitorRequestObject

type ResumeMonitorRequestObject struct {
	MonitorId MonitorId `json:"monitorId"`
}

type ResumeMonitorResponseObject

type ResumeMonitorResponseObject interface {
	VisitResumeMonitorResponse(w http.ResponseWriter) error
}

type ResumeTenant200JSONResponse

type ResumeTenant200JSONResponse Tenant

func (ResumeTenant200JSONResponse) VisitResumeTenantResponse

func (response ResumeTenant200JSONResponse) VisitResumeTenantResponse(w http.ResponseWriter) error

type ResumeTenant401ApplicationProblemPlusJSONResponse

type ResumeTenant401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (ResumeTenant401ApplicationProblemPlusJSONResponse) VisitResumeTenantResponse

func (response ResumeTenant401ApplicationProblemPlusJSONResponse) VisitResumeTenantResponse(w http.ResponseWriter) error

type ResumeTenant403ApplicationProblemPlusJSONResponse

type ResumeTenant403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (ResumeTenant403ApplicationProblemPlusJSONResponse) VisitResumeTenantResponse

func (response ResumeTenant403ApplicationProblemPlusJSONResponse) VisitResumeTenantResponse(w http.ResponseWriter) error

type ResumeTenant404ApplicationProblemPlusJSONResponse

type ResumeTenant404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (ResumeTenant404ApplicationProblemPlusJSONResponse) VisitResumeTenantResponse

func (response ResumeTenant404ApplicationProblemPlusJSONResponse) VisitResumeTenantResponse(w http.ResponseWriter) error

type ResumeTenant422ApplicationProblemPlusJSONResponse

type ResumeTenant422ApplicationProblemPlusJSONResponse struct {
	ValidationErrorApplicationProblemPlusJSONResponse
}

func (ResumeTenant422ApplicationProblemPlusJSONResponse) VisitResumeTenantResponse

func (response ResumeTenant422ApplicationProblemPlusJSONResponse) VisitResumeTenantResponse(w http.ResponseWriter) error

type ResumeTenant503ApplicationProblemPlusJSONResponse

type ResumeTenant503ApplicationProblemPlusJSONResponse struct {
	ServiceUnavailableApplicationProblemPlusJSONResponse
}

func (ResumeTenant503ApplicationProblemPlusJSONResponse) VisitResumeTenantResponse

func (response ResumeTenant503ApplicationProblemPlusJSONResponse) VisitResumeTenantResponse(w http.ResponseWriter) error

type ResumeTenantRequestObject

type ResumeTenantRequestObject struct {
	TenantId TenantId `json:"tenantId"`
}

type ResumeTenantResponseObject

type ResumeTenantResponseObject interface {
	VisitResumeTenantResponse(w http.ResponseWriter) error
}

type RevokeApiToken204Response

type RevokeApiToken204Response struct {
}

func (RevokeApiToken204Response) VisitRevokeApiTokenResponse

func (response RevokeApiToken204Response) VisitRevokeApiTokenResponse(w http.ResponseWriter) error

type RevokeApiToken401ApplicationProblemPlusJSONResponse

type RevokeApiToken401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (RevokeApiToken401ApplicationProblemPlusJSONResponse) VisitRevokeApiTokenResponse

func (response RevokeApiToken401ApplicationProblemPlusJSONResponse) VisitRevokeApiTokenResponse(w http.ResponseWriter) error

type RevokeApiToken403ApplicationProblemPlusJSONResponse

type RevokeApiToken403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (RevokeApiToken403ApplicationProblemPlusJSONResponse) VisitRevokeApiTokenResponse

func (response RevokeApiToken403ApplicationProblemPlusJSONResponse) VisitRevokeApiTokenResponse(w http.ResponseWriter) error

type RevokeApiToken404ApplicationProblemPlusJSONResponse

type RevokeApiToken404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (RevokeApiToken404ApplicationProblemPlusJSONResponse) VisitRevokeApiTokenResponse

func (response RevokeApiToken404ApplicationProblemPlusJSONResponse) VisitRevokeApiTokenResponse(w http.ResponseWriter) error

type RevokeApiToken503ApplicationProblemPlusJSONResponse

type RevokeApiToken503ApplicationProblemPlusJSONResponse struct {
	ServiceUnavailableApplicationProblemPlusJSONResponse
}

func (RevokeApiToken503ApplicationProblemPlusJSONResponse) VisitRevokeApiTokenResponse

func (response RevokeApiToken503ApplicationProblemPlusJSONResponse) VisitRevokeApiTokenResponse(w http.ResponseWriter) error

type RevokeApiTokenRequestObject

type RevokeApiTokenRequestObject struct {
	TokenId string `json:"tokenId"`
}

type RevokeApiTokenResponseObject

type RevokeApiTokenResponseObject interface {
	VisitRevokeApiTokenResponse(w http.ResponseWriter) error
}

type Role

type Role string

Role defines model for Role.

const (
	PlatformAdmin Role = "platform-admin"
	TenantAdmin   Role = "tenant-admin"
	TenantEditor  Role = "tenant-editor"
	TenantViewer  Role = "tenant-viewer"
)

Defines values for Role.

func (Role) Valid

func (e Role) Valid() bool

Valid indicates whether the value is a known member of the Role enum.

type ServeMux

type ServeMux interface {
	HandleFunc(pattern string, handler func(http.ResponseWriter, *http.Request))
	http.Handler
}

ServeMux is an abstraction of http.ServeMux.

type ServerInterface

type ServerInterface interface {
	// ListAdminAudit List the audit log of all tenants
	// (GET /admin/audit)
	ListAdminAudit(w http.ResponseWriter, r *http.Request, params ListAdminAuditParams)
	// CreateJoinToken Create a one-time join token for a new voter or probe
	// (POST /admin/join-tokens)
	CreateJoinToken(w http.ResponseWriter, r *http.Request)
	// ListClusterNodes List the cluster members
	// (GET /admin/nodes)
	ListClusterNodes(w http.ResponseWriter, r *http.Request)
	// RemoveClusterNode Remove a node from the cluster and revoke its certificates
	// (DELETE /admin/nodes/{nodeId})
	RemoveClusterNode(w http.ResponseWriter, r *http.Request, nodeId string)
	// ListPlans List the plans
	// (GET /admin/plans)
	ListPlans(w http.ResponseWriter, r *http.Request)
	// DeletePlan Delete a plan that no tenant uses
	// (DELETE /admin/plans/{planId})
	DeletePlan(w http.ResponseWriter, r *http.Request, planId PlanId)
	// GetPlan Get a plan
	// (GET /admin/plans/{planId})
	GetPlan(w http.ResponseWriter, r *http.Request, planId PlanId)
	// PutPlan Create or replace a plan
	// (PUT /admin/plans/{planId})
	PutPlan(w http.ResponseWriter, r *http.Request, planId PlanId)
	// ListSystemAlerts List the system alerts
	// (GET /admin/system-alerts)
	ListSystemAlerts(w http.ResponseWriter, r *http.Request, params ListSystemAlertsParams)
	// ListSystemChannels List the system notification channels
	// (GET /admin/system-channels)
	ListSystemChannels(w http.ResponseWriter, r *http.Request)
	// CreateSystemChannel Create a system notification channel
	// (POST /admin/system-channels)
	CreateSystemChannel(w http.ResponseWriter, r *http.Request, params CreateSystemChannelParams)
	// DeleteSystemChannel Delete a system notification channel
	// (DELETE /admin/system-channels/{channelId})
	DeleteSystemChannel(w http.ResponseWriter, r *http.Request, channelId ChannelId)
	// GetSystemChannel Get a system notification channel
	// (GET /admin/system-channels/{channelId})
	GetSystemChannel(w http.ResponseWriter, r *http.Request, channelId ChannelId)
	// UpdateSystemChannel Update a system notification channel
	// (PUT /admin/system-channels/{channelId})
	UpdateSystemChannel(w http.ResponseWriter, r *http.Request, channelId ChannelId)
	// TestSystemChannel Send a test message to a system channel synchronously
	// (POST /admin/system-channels/{channelId}/test)
	TestSystemChannel(w http.ResponseWriter, r *http.Request, channelId ChannelId)
	// ListTenants List the tenants with plan, limits and usage
	// (GET /admin/tenants)
	ListTenants(w http.ResponseWriter, r *http.Request)
	// CreateTenant Create a tenant
	// (POST /admin/tenants)
	CreateTenant(w http.ResponseWriter, r *http.Request, params CreateTenantParams)
	// DeleteTenant Delete a suspended tenant with all its data
	// (DELETE /admin/tenants/{tenantId})
	DeleteTenant(w http.ResponseWriter, r *http.Request, tenantId TenantId)
	// GetTenant Get a tenant with plan, limits and usage
	// (GET /admin/tenants/{tenantId})
	GetTenant(w http.ResponseWriter, r *http.Request, tenantId TenantId)
	// UpdateTenant Change name, plan, limit overrides or organization of a tenant
	// (PATCH /admin/tenants/{tenantId})
	UpdateTenant(w http.ResponseWriter, r *http.Request, tenantId TenantId)
	// ResumeTenant Resume a suspended tenant
	// (POST /admin/tenants/{tenantId}/resume)
	ResumeTenant(w http.ResponseWriter, r *http.Request, tenantId TenantId)
	// SuspendTenant Suspend a tenant
	// (POST /admin/tenants/{tenantId}/suspend)
	SuspendTenant(w http.ResponseWriter, r *http.Request, tenantId TenantId)
	// ListApiTokens List the API tokens of the tenant
	// (GET /api-tokens)
	ListApiTokens(w http.ResponseWriter, r *http.Request)
	// CreateApiToken Create an API token
	// (POST /api-tokens)
	CreateApiToken(w http.ResponseWriter, r *http.Request)
	// RevokeApiToken Revoke an API token
	// (DELETE /api-tokens/{tokenId})
	RevokeApiToken(w http.ResponseWriter, r *http.Request, tokenId string)
	// ListAudit List the audit log of the caller's tenant
	// (GET /audit)
	ListAudit(w http.ResponseWriter, r *http.Request, params ListAuditParams)
	// Login Login
	// (POST /auth/login)
	Login(w http.ResponseWriter, r *http.Request)
	// Logout Revoke the refresh token family and clear the cookie
	// (POST /auth/logout)
	Logout(w http.ResponseWriter, r *http.Request, params LogoutParams)
	// Refresh Rotate the refresh cookie and issue a new access token
	// (POST /auth/refresh)
	Refresh(w http.ResponseWriter, r *http.Request, params RefreshParams)
	// Setup Create the first platform admin using the one-time setup token
	// (POST /auth/setup)
	Setup(w http.ResponseWriter, r *http.Request)
	// GetHealth Public node status
	// (GET /health)
	GetHealth(w http.ResponseWriter, r *http.Request)
	// ListIncidents List incidents
	// (GET /incidents)
	ListIncidents(w http.ResponseWriter, r *http.Request, params ListIncidentsParams)
	// GetIncident Get incident
	// (GET /incidents/{incidentId})
	GetIncident(w http.ResponseWriter, r *http.Request, incidentId openapi_types.UUID)
	// ListMaintenanceWindows List maintenance windows
	// (GET /maintenance)
	ListMaintenanceWindows(w http.ResponseWriter, r *http.Request)
	// CreateMaintenanceWindow Create maintenance window
	// (POST /maintenance)
	CreateMaintenanceWindow(w http.ResponseWriter, r *http.Request, params CreateMaintenanceWindowParams)
	// DeleteMaintenanceWindow Delete maintenance window
	// (DELETE /maintenance/{maintenanceId})
	DeleteMaintenanceWindow(w http.ResponseWriter, r *http.Request, maintenanceId MaintenanceId)
	// GetMaintenanceWindow Get maintenance window
	// (GET /maintenance/{maintenanceId})
	GetMaintenanceWindow(w http.ResponseWriter, r *http.Request, maintenanceId MaintenanceId)
	// UpdateMaintenanceWindow Update maintenance window
	// (PUT /maintenance/{maintenanceId})
	UpdateMaintenanceWindow(w http.ResponseWriter, r *http.Request, maintenanceId MaintenanceId)
	// GetMe Get the current user
	// (GET /me)
	GetMe(w http.ResponseWriter, r *http.Request)
	// ChangeMyPassword Change my password
	// (PUT /me/password)
	ChangeMyPassword(w http.ResponseWriter, r *http.Request)
	// ListMonitorTypes Available checker plugins with their JSON schema
	// (GET /monitor-types)
	ListMonitorTypes(w http.ResponseWriter, r *http.Request)
	// ListMonitors List monitors
	// (GET /monitors)
	ListMonitors(w http.ResponseWriter, r *http.Request, params ListMonitorsParams)
	// CreateMonitor Create monitor
	// (POST /monitors)
	CreateMonitor(w http.ResponseWriter, r *http.Request, params CreateMonitorParams)
	// BulkMonitors Apply one action to several monitors
	// (POST /monitors/bulk)
	BulkMonitors(w http.ResponseWriter, r *http.Request, params BulkMonitorsParams)
	// DeleteMonitor Delete monitor
	// (DELETE /monitors/{monitorId})
	DeleteMonitor(w http.ResponseWriter, r *http.Request, monitorId MonitorId)
	// GetMonitor Get monitor
	// (GET /monitors/{monitorId})
	GetMonitor(w http.ResponseWriter, r *http.Request, monitorId MonitorId)
	// UpdateMonitor Update monitor
	// (PUT /monitors/{monitorId})
	UpdateMonitor(w http.ResponseWriter, r *http.Request, monitorId MonitorId)
	// CloneMonitor Clone monitor
	// (POST /monitors/{monitorId}/clone)
	CloneMonitor(w http.ResponseWriter, r *http.Request, monitorId MonitorId, params CloneMonitorParams)
	// ListHeartbeats List heartbeats
	// (GET /monitors/{monitorId}/heartbeats)
	ListHeartbeats(w http.ResponseWriter, r *http.Request, monitorId MonitorId, params ListHeartbeatsParams)
	// PauseMonitor Pause monitor
	// (POST /monitors/{monitorId}/pause)
	PauseMonitor(w http.ResponseWriter, r *http.Request, monitorId MonitorId)
	// ResumeMonitor Resume monitor
	// (POST /monitors/{monitorId}/resume)
	ResumeMonitor(w http.ResponseWriter, r *http.Request, monitorId MonitorId)
	// TestMonitor Run the check once now without storing the result
	// (POST /monitors/{monitorId}/test)
	TestMonitor(w http.ResponseWriter, r *http.Request, monitorId MonitorId)
	// GetUptime Get uptime
	// (GET /monitors/{monitorId}/uptime)
	GetUptime(w http.ResponseWriter, r *http.Request, monitorId MonitorId, params GetUptimeParams)
	// ListAssignableNodes List nodes available for monitor assignment
	// (GET /nodes)
	ListAssignableNodes(w http.ResponseWriter, r *http.Request)
	// ListNotificationChannels List notification channels
	// (GET /notifications)
	ListNotificationChannels(w http.ResponseWriter, r *http.Request)
	// CreateNotificationChannel Create notification channel
	// (POST /notifications)
	CreateNotificationChannel(w http.ResponseWriter, r *http.Request, params CreateNotificationChannelParams)
	// DeleteNotificationChannel Delete notification channel
	// (DELETE /notifications/{channelId})
	DeleteNotificationChannel(w http.ResponseWriter, r *http.Request, channelId ChannelId)
	// GetNotificationChannel Get notification channel
	// (GET /notifications/{channelId})
	GetNotificationChannel(w http.ResponseWriter, r *http.Request, channelId ChannelId)
	// UpdateNotificationChannel Update notification channel
	// (PUT /notifications/{channelId})
	UpdateNotificationChannel(w http.ResponseWriter, r *http.Request, channelId ChannelId)
	// TestNotificationChannel Send a test message synchronously
	// (POST /notifications/{channelId}/test)
	TestNotificationChannel(w http.ResponseWriter, r *http.Request, channelId ChannelId)
	// ListPrivateProbes List private probes of the caller's tenant
	// (GET /probes)
	ListPrivateProbes(w http.ResponseWriter, r *http.Request)
	// CreatePrivateProbeJoinToken Create a one-time join token for a private probe
	// (POST /probes/join-tokens)
	CreatePrivateProbeJoinToken(w http.ResponseWriter, r *http.Request)
	// RemovePrivateProbe Remove a private probe of the caller's tenant and revoke its certificates
	// (DELETE /probes/{probeId})
	RemovePrivateProbe(w http.ResponseWriter, r *http.Request, probeId string)
	// CreateStreamTicket One-time ticket (30 s) for opening the WebSocket `/api/v1/stream?ticket=…`
	// (POST /stream/ticket)
	CreateStreamTicket(w http.ResponseWriter, r *http.Request)
	// GetOwnTenant Get the caller's tenant with its effective limits and usage
	// (GET /tenant)
	GetOwnTenant(w http.ResponseWriter, r *http.Request)
	// ListUsers List users
	// (GET /users)
	ListUsers(w http.ResponseWriter, r *http.Request)
	// CreateUser Create user
	// (POST /users)
	CreateUser(w http.ResponseWriter, r *http.Request, params CreateUserParams)
	// DeleteUser Delete user
	// (DELETE /users/{userId})
	DeleteUser(w http.ResponseWriter, r *http.Request, userId UserId)
	// UpdateUser Update user
	// (PUT /users/{userId})
	UpdateUser(w http.ResponseWriter, r *http.Request, userId UserId)
}

ServerInterface represents all server handlers.

func NewStrictHandler

func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface

func NewStrictHandlerWithOptions

func NewStrictHandlerWithOptions(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc, options StrictHTTPServerOptions) ServerInterface

type ServerInterfaceWrapper

type ServerInterfaceWrapper struct {
	Handler            ServerInterface
	HandlerMiddlewares []MiddlewareFunc
	ErrorHandlerFunc   func(w http.ResponseWriter, r *http.Request, err error)
}

ServerInterfaceWrapper converts contexts to parameters.

func (*ServerInterfaceWrapper) BulkMonitors

func (siw *ServerInterfaceWrapper) BulkMonitors(w http.ResponseWriter, r *http.Request)

BulkMonitors operation middleware

func (*ServerInterfaceWrapper) ChangeMyPassword

func (siw *ServerInterfaceWrapper) ChangeMyPassword(w http.ResponseWriter, r *http.Request)

ChangeMyPassword operation middleware

func (*ServerInterfaceWrapper) CloneMonitor

func (siw *ServerInterfaceWrapper) CloneMonitor(w http.ResponseWriter, r *http.Request)

CloneMonitor operation middleware

func (*ServerInterfaceWrapper) CreateApiToken

func (siw *ServerInterfaceWrapper) CreateApiToken(w http.ResponseWriter, r *http.Request)

CreateApiToken operation middleware

func (*ServerInterfaceWrapper) CreateJoinToken

func (siw *ServerInterfaceWrapper) CreateJoinToken(w http.ResponseWriter, r *http.Request)

CreateJoinToken operation middleware

func (*ServerInterfaceWrapper) CreateMaintenanceWindow

func (siw *ServerInterfaceWrapper) CreateMaintenanceWindow(w http.ResponseWriter, r *http.Request)

CreateMaintenanceWindow operation middleware

func (*ServerInterfaceWrapper) CreateMonitor

func (siw *ServerInterfaceWrapper) CreateMonitor(w http.ResponseWriter, r *http.Request)

CreateMonitor operation middleware

func (*ServerInterfaceWrapper) CreateNotificationChannel

func (siw *ServerInterfaceWrapper) CreateNotificationChannel(w http.ResponseWriter, r *http.Request)

CreateNotificationChannel operation middleware

func (*ServerInterfaceWrapper) CreatePrivateProbeJoinToken added in v0.0.4

func (siw *ServerInterfaceWrapper) CreatePrivateProbeJoinToken(w http.ResponseWriter, r *http.Request)

CreatePrivateProbeJoinToken operation middleware

func (*ServerInterfaceWrapper) CreateStreamTicket

func (siw *ServerInterfaceWrapper) CreateStreamTicket(w http.ResponseWriter, r *http.Request)

CreateStreamTicket operation middleware

func (*ServerInterfaceWrapper) CreateSystemChannel

func (siw *ServerInterfaceWrapper) CreateSystemChannel(w http.ResponseWriter, r *http.Request)

CreateSystemChannel operation middleware

func (*ServerInterfaceWrapper) CreateTenant

func (siw *ServerInterfaceWrapper) CreateTenant(w http.ResponseWriter, r *http.Request)

CreateTenant operation middleware

func (*ServerInterfaceWrapper) CreateUser

func (siw *ServerInterfaceWrapper) CreateUser(w http.ResponseWriter, r *http.Request)

CreateUser operation middleware

func (*ServerInterfaceWrapper) DeleteMaintenanceWindow

func (siw *ServerInterfaceWrapper) DeleteMaintenanceWindow(w http.ResponseWriter, r *http.Request)

DeleteMaintenanceWindow operation middleware

func (*ServerInterfaceWrapper) DeleteMonitor

func (siw *ServerInterfaceWrapper) DeleteMonitor(w http.ResponseWriter, r *http.Request)

DeleteMonitor operation middleware

func (*ServerInterfaceWrapper) DeleteNotificationChannel

func (siw *ServerInterfaceWrapper) DeleteNotificationChannel(w http.ResponseWriter, r *http.Request)

DeleteNotificationChannel operation middleware

func (*ServerInterfaceWrapper) DeletePlan

func (siw *ServerInterfaceWrapper) DeletePlan(w http.ResponseWriter, r *http.Request)

DeletePlan operation middleware

func (*ServerInterfaceWrapper) DeleteSystemChannel

func (siw *ServerInterfaceWrapper) DeleteSystemChannel(w http.ResponseWriter, r *http.Request)

DeleteSystemChannel operation middleware

func (*ServerInterfaceWrapper) DeleteTenant

func (siw *ServerInterfaceWrapper) DeleteTenant(w http.ResponseWriter, r *http.Request)

DeleteTenant operation middleware

func (*ServerInterfaceWrapper) DeleteUser

func (siw *ServerInterfaceWrapper) DeleteUser(w http.ResponseWriter, r *http.Request)

DeleteUser operation middleware

func (*ServerInterfaceWrapper) GetHealth

func (siw *ServerInterfaceWrapper) GetHealth(w http.ResponseWriter, r *http.Request)

GetHealth operation middleware

func (*ServerInterfaceWrapper) GetIncident

func (siw *ServerInterfaceWrapper) GetIncident(w http.ResponseWriter, r *http.Request)

GetIncident operation middleware

func (*ServerInterfaceWrapper) GetMaintenanceWindow

func (siw *ServerInterfaceWrapper) GetMaintenanceWindow(w http.ResponseWriter, r *http.Request)

GetMaintenanceWindow operation middleware

func (*ServerInterfaceWrapper) GetMe

GetMe operation middleware

func (*ServerInterfaceWrapper) GetMonitor

func (siw *ServerInterfaceWrapper) GetMonitor(w http.ResponseWriter, r *http.Request)

GetMonitor operation middleware

func (*ServerInterfaceWrapper) GetNotificationChannel

func (siw *ServerInterfaceWrapper) GetNotificationChannel(w http.ResponseWriter, r *http.Request)

GetNotificationChannel operation middleware

func (*ServerInterfaceWrapper) GetOwnTenant

func (siw *ServerInterfaceWrapper) GetOwnTenant(w http.ResponseWriter, r *http.Request)

GetOwnTenant operation middleware

func (*ServerInterfaceWrapper) GetPlan

GetPlan operation middleware

func (*ServerInterfaceWrapper) GetSystemChannel

func (siw *ServerInterfaceWrapper) GetSystemChannel(w http.ResponseWriter, r *http.Request)

GetSystemChannel operation middleware

func (*ServerInterfaceWrapper) GetTenant

func (siw *ServerInterfaceWrapper) GetTenant(w http.ResponseWriter, r *http.Request)

GetTenant operation middleware

func (*ServerInterfaceWrapper) GetUptime

func (siw *ServerInterfaceWrapper) GetUptime(w http.ResponseWriter, r *http.Request)

GetUptime operation middleware

func (*ServerInterfaceWrapper) ListAdminAudit

func (siw *ServerInterfaceWrapper) ListAdminAudit(w http.ResponseWriter, r *http.Request)

ListAdminAudit operation middleware

func (*ServerInterfaceWrapper) ListApiTokens

func (siw *ServerInterfaceWrapper) ListApiTokens(w http.ResponseWriter, r *http.Request)

ListApiTokens operation middleware

func (*ServerInterfaceWrapper) ListAssignableNodes added in v0.0.4

func (siw *ServerInterfaceWrapper) ListAssignableNodes(w http.ResponseWriter, r *http.Request)

ListAssignableNodes operation middleware

func (*ServerInterfaceWrapper) ListAudit

func (siw *ServerInterfaceWrapper) ListAudit(w http.ResponseWriter, r *http.Request)

ListAudit operation middleware

func (*ServerInterfaceWrapper) ListClusterNodes

func (siw *ServerInterfaceWrapper) ListClusterNodes(w http.ResponseWriter, r *http.Request)

ListClusterNodes operation middleware

func (*ServerInterfaceWrapper) ListHeartbeats

func (siw *ServerInterfaceWrapper) ListHeartbeats(w http.ResponseWriter, r *http.Request)

ListHeartbeats operation middleware

func (*ServerInterfaceWrapper) ListIncidents

func (siw *ServerInterfaceWrapper) ListIncidents(w http.ResponseWriter, r *http.Request)

ListIncidents operation middleware

func (*ServerInterfaceWrapper) ListMaintenanceWindows

func (siw *ServerInterfaceWrapper) ListMaintenanceWindows(w http.ResponseWriter, r *http.Request)

ListMaintenanceWindows operation middleware

func (*ServerInterfaceWrapper) ListMonitorTypes

func (siw *ServerInterfaceWrapper) ListMonitorTypes(w http.ResponseWriter, r *http.Request)

ListMonitorTypes operation middleware

func (*ServerInterfaceWrapper) ListMonitors

func (siw *ServerInterfaceWrapper) ListMonitors(w http.ResponseWriter, r *http.Request)

ListMonitors operation middleware

func (*ServerInterfaceWrapper) ListNotificationChannels

func (siw *ServerInterfaceWrapper) ListNotificationChannels(w http.ResponseWriter, r *http.Request)

ListNotificationChannels operation middleware

func (*ServerInterfaceWrapper) ListPlans

func (siw *ServerInterfaceWrapper) ListPlans(w http.ResponseWriter, r *http.Request)

ListPlans operation middleware

func (*ServerInterfaceWrapper) ListPrivateProbes added in v0.0.4

func (siw *ServerInterfaceWrapper) ListPrivateProbes(w http.ResponseWriter, r *http.Request)

ListPrivateProbes operation middleware

func (*ServerInterfaceWrapper) ListSystemAlerts

func (siw *ServerInterfaceWrapper) ListSystemAlerts(w http.ResponseWriter, r *http.Request)

ListSystemAlerts operation middleware

func (*ServerInterfaceWrapper) ListSystemChannels

func (siw *ServerInterfaceWrapper) ListSystemChannels(w http.ResponseWriter, r *http.Request)

ListSystemChannels operation middleware

func (*ServerInterfaceWrapper) ListTenants

func (siw *ServerInterfaceWrapper) ListTenants(w http.ResponseWriter, r *http.Request)

ListTenants operation middleware

func (*ServerInterfaceWrapper) ListUsers

func (siw *ServerInterfaceWrapper) ListUsers(w http.ResponseWriter, r *http.Request)

ListUsers operation middleware

func (*ServerInterfaceWrapper) Login

Login operation middleware

func (*ServerInterfaceWrapper) Logout

Logout operation middleware

func (*ServerInterfaceWrapper) PauseMonitor

func (siw *ServerInterfaceWrapper) PauseMonitor(w http.ResponseWriter, r *http.Request)

PauseMonitor operation middleware

func (*ServerInterfaceWrapper) PutPlan

PutPlan operation middleware

func (*ServerInterfaceWrapper) Refresh

Refresh operation middleware

func (*ServerInterfaceWrapper) RemoveClusterNode

func (siw *ServerInterfaceWrapper) RemoveClusterNode(w http.ResponseWriter, r *http.Request)

RemoveClusterNode operation middleware

func (*ServerInterfaceWrapper) RemovePrivateProbe added in v0.0.4

func (siw *ServerInterfaceWrapper) RemovePrivateProbe(w http.ResponseWriter, r *http.Request)

RemovePrivateProbe operation middleware

func (*ServerInterfaceWrapper) ResumeMonitor

func (siw *ServerInterfaceWrapper) ResumeMonitor(w http.ResponseWriter, r *http.Request)

ResumeMonitor operation middleware

func (*ServerInterfaceWrapper) ResumeTenant

func (siw *ServerInterfaceWrapper) ResumeTenant(w http.ResponseWriter, r *http.Request)

ResumeTenant operation middleware

func (*ServerInterfaceWrapper) RevokeApiToken

func (siw *ServerInterfaceWrapper) RevokeApiToken(w http.ResponseWriter, r *http.Request)

RevokeApiToken operation middleware

func (*ServerInterfaceWrapper) Setup

Setup operation middleware

func (*ServerInterfaceWrapper) SuspendTenant

func (siw *ServerInterfaceWrapper) SuspendTenant(w http.ResponseWriter, r *http.Request)

SuspendTenant operation middleware

func (*ServerInterfaceWrapper) TestMonitor

func (siw *ServerInterfaceWrapper) TestMonitor(w http.ResponseWriter, r *http.Request)

TestMonitor operation middleware

func (*ServerInterfaceWrapper) TestNotificationChannel

func (siw *ServerInterfaceWrapper) TestNotificationChannel(w http.ResponseWriter, r *http.Request)

TestNotificationChannel operation middleware

func (*ServerInterfaceWrapper) TestSystemChannel

func (siw *ServerInterfaceWrapper) TestSystemChannel(w http.ResponseWriter, r *http.Request)

TestSystemChannel operation middleware

func (*ServerInterfaceWrapper) UpdateMaintenanceWindow

func (siw *ServerInterfaceWrapper) UpdateMaintenanceWindow(w http.ResponseWriter, r *http.Request)

UpdateMaintenanceWindow operation middleware

func (*ServerInterfaceWrapper) UpdateMonitor

func (siw *ServerInterfaceWrapper) UpdateMonitor(w http.ResponseWriter, r *http.Request)

UpdateMonitor operation middleware

func (*ServerInterfaceWrapper) UpdateNotificationChannel

func (siw *ServerInterfaceWrapper) UpdateNotificationChannel(w http.ResponseWriter, r *http.Request)

UpdateNotificationChannel operation middleware

func (*ServerInterfaceWrapper) UpdateSystemChannel

func (siw *ServerInterfaceWrapper) UpdateSystemChannel(w http.ResponseWriter, r *http.Request)

UpdateSystemChannel operation middleware

func (*ServerInterfaceWrapper) UpdateTenant

func (siw *ServerInterfaceWrapper) UpdateTenant(w http.ResponseWriter, r *http.Request)

UpdateTenant operation middleware

func (*ServerInterfaceWrapper) UpdateUser

func (siw *ServerInterfaceWrapper) UpdateUser(w http.ResponseWriter, r *http.Request)

UpdateUser operation middleware

type ServiceUnavailable

type ServiceUnavailable = Problem

ServiceUnavailable RFC 9457 problem details

type ServiceUnavailableApplicationProblemPlusJSONResponse

type ServiceUnavailableApplicationProblemPlusJSONResponse struct {
	Body Problem

	Headers ServiceUnavailableResponseHeaders
}

type ServiceUnavailableResponseHeaders

type ServiceUnavailableResponseHeaders struct {
	RetryAfter *int
}

type Setup201JSONResponse

type Setup201JSONResponse struct {
	Body    TokenResponse
	Headers Setup201ResponseHeaders
}

func (Setup201JSONResponse) VisitSetupResponse

func (response Setup201JSONResponse) VisitSetupResponse(w http.ResponseWriter) error

type Setup201ResponseHeaders

type Setup201ResponseHeaders struct {
	SetCookie *string
}

type Setup403ApplicationProblemPlusJSONResponse

type Setup403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (Setup403ApplicationProblemPlusJSONResponse) VisitSetupResponse

type Setup409ApplicationProblemPlusJSONResponse

type Setup409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (Setup409ApplicationProblemPlusJSONResponse) VisitSetupResponse

type Setup422ApplicationProblemPlusJSONResponse

type Setup422ApplicationProblemPlusJSONResponse struct {
	ValidationErrorApplicationProblemPlusJSONResponse
}

func (Setup422ApplicationProblemPlusJSONResponse) VisitSetupResponse

type SetupJSONRequestBody

type SetupJSONRequestBody = SetupRequest

SetupJSONRequestBody defines body for Setup for application/json ContentType.

type SetupRequest

type SetupRequest struct {
	DisplayName *string `json:"displayName,omitempty"`
	Password    string  `json:"password"`
	SetupToken  string  `json:"setupToken"`
	Username    string  `json:"username"`
}

SetupRequest defines model for SetupRequest.

type SetupRequestObject

type SetupRequestObject struct {
	Body *SetupJSONRequestBody
}

type SetupResponseObject

type SetupResponseObject interface {
	VisitSetupResponse(w http.ResponseWriter) error
}

type StdHTTPServerOptions

type StdHTTPServerOptions struct {
	BaseURL          string
	BaseRouter       ServeMux
	Middlewares      []MiddlewareFunc
	ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

type StreamEvent

type StreamEvent struct {
	Heartbeat *Heartbeat          `json:"heartbeat,omitempty"`
	Incident  *Incident           `json:"incident,omitempty"`
	MonitorId *openapi_types.UUID `json:"monitorId,omitempty"`

	// Status Consensus status. DEGRADED = check passed with a warning (e.g. TLS expiry);
	// PARTIAL = some nodes report DOWN but the DOWN rule is not met (phase 3).
	Status *MonitorStatus  `json:"status,omitempty"`
	Ts     time.Time       `json:"ts"`
	Type   StreamEventType `json:"type"`
}

StreamEvent Message on the WebSocket `/api/v1/stream`, filtered by the tenant of the ticket.

type StreamEventType

type StreamEventType string

StreamEventType defines model for StreamEvent.Type.

const (
	StreamEventTypeHeartbeat StreamEventType = "heartbeat"
	StreamEventTypeIncident  StreamEventType = "incident"
	StreamEventTypeNode      StreamEventType = "node"
	StreamEventTypeState     StreamEventType = "state"
)

Defines values for StreamEventType.

func (StreamEventType) Valid

func (e StreamEventType) Valid() bool

Valid indicates whether the value is a known member of the StreamEventType enum.

type StreamTicket

type StreamTicket struct {
	ExpiresAt time.Time `json:"expiresAt"`
	Ticket    string    `json:"ticket"`
}

StreamTicket defines model for StreamTicket.

type StrictHTTPServerOptions

type StrictHTTPServerOptions struct {
	RequestErrorHandlerFunc  func(w http.ResponseWriter, r *http.Request, err error)
	ResponseErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

type StrictHandlerFunc

type StrictHandlerFunc func(ctx context.Context, w http.ResponseWriter, r *http.Request, request any) (any, error)

type StrictMiddlewareFunc

type StrictMiddlewareFunc func(f StrictHandlerFunc, operationID string) StrictHandlerFunc

type StrictServerInterface

type StrictServerInterface interface {
	// ListAdminAudit List the audit log of all tenants
	// (GET /admin/audit)
	ListAdminAudit(ctx context.Context, request ListAdminAuditRequestObject) (ListAdminAuditResponseObject, error)
	// CreateJoinToken Create a one-time join token for a new voter or probe
	// (POST /admin/join-tokens)
	CreateJoinToken(ctx context.Context, request CreateJoinTokenRequestObject) (CreateJoinTokenResponseObject, error)
	// ListClusterNodes List the cluster members
	// (GET /admin/nodes)
	ListClusterNodes(ctx context.Context, request ListClusterNodesRequestObject) (ListClusterNodesResponseObject, error)
	// RemoveClusterNode Remove a node from the cluster and revoke its certificates
	// (DELETE /admin/nodes/{nodeId})
	RemoveClusterNode(ctx context.Context, request RemoveClusterNodeRequestObject) (RemoveClusterNodeResponseObject, error)
	// ListPlans List the plans
	// (GET /admin/plans)
	ListPlans(ctx context.Context, request ListPlansRequestObject) (ListPlansResponseObject, error)
	// DeletePlan Delete a plan that no tenant uses
	// (DELETE /admin/plans/{planId})
	DeletePlan(ctx context.Context, request DeletePlanRequestObject) (DeletePlanResponseObject, error)
	// GetPlan Get a plan
	// (GET /admin/plans/{planId})
	GetPlan(ctx context.Context, request GetPlanRequestObject) (GetPlanResponseObject, error)
	// PutPlan Create or replace a plan
	// (PUT /admin/plans/{planId})
	PutPlan(ctx context.Context, request PutPlanRequestObject) (PutPlanResponseObject, error)
	// ListSystemAlerts List the system alerts
	// (GET /admin/system-alerts)
	ListSystemAlerts(ctx context.Context, request ListSystemAlertsRequestObject) (ListSystemAlertsResponseObject, error)
	// ListSystemChannels List the system notification channels
	// (GET /admin/system-channels)
	ListSystemChannels(ctx context.Context, request ListSystemChannelsRequestObject) (ListSystemChannelsResponseObject, error)
	// CreateSystemChannel Create a system notification channel
	// (POST /admin/system-channels)
	CreateSystemChannel(ctx context.Context, request CreateSystemChannelRequestObject) (CreateSystemChannelResponseObject, error)
	// DeleteSystemChannel Delete a system notification channel
	// (DELETE /admin/system-channels/{channelId})
	DeleteSystemChannel(ctx context.Context, request DeleteSystemChannelRequestObject) (DeleteSystemChannelResponseObject, error)
	// GetSystemChannel Get a system notification channel
	// (GET /admin/system-channels/{channelId})
	GetSystemChannel(ctx context.Context, request GetSystemChannelRequestObject) (GetSystemChannelResponseObject, error)
	// UpdateSystemChannel Update a system notification channel
	// (PUT /admin/system-channels/{channelId})
	UpdateSystemChannel(ctx context.Context, request UpdateSystemChannelRequestObject) (UpdateSystemChannelResponseObject, error)
	// TestSystemChannel Send a test message to a system channel synchronously
	// (POST /admin/system-channels/{channelId}/test)
	TestSystemChannel(ctx context.Context, request TestSystemChannelRequestObject) (TestSystemChannelResponseObject, error)
	// ListTenants List the tenants with plan, limits and usage
	// (GET /admin/tenants)
	ListTenants(ctx context.Context, request ListTenantsRequestObject) (ListTenantsResponseObject, error)
	// CreateTenant Create a tenant
	// (POST /admin/tenants)
	CreateTenant(ctx context.Context, request CreateTenantRequestObject) (CreateTenantResponseObject, error)
	// DeleteTenant Delete a suspended tenant with all its data
	// (DELETE /admin/tenants/{tenantId})
	DeleteTenant(ctx context.Context, request DeleteTenantRequestObject) (DeleteTenantResponseObject, error)
	// GetTenant Get a tenant with plan, limits and usage
	// (GET /admin/tenants/{tenantId})
	GetTenant(ctx context.Context, request GetTenantRequestObject) (GetTenantResponseObject, error)
	// UpdateTenant Change name, plan, limit overrides or organization of a tenant
	// (PATCH /admin/tenants/{tenantId})
	UpdateTenant(ctx context.Context, request UpdateTenantRequestObject) (UpdateTenantResponseObject, error)
	// ResumeTenant Resume a suspended tenant
	// (POST /admin/tenants/{tenantId}/resume)
	ResumeTenant(ctx context.Context, request ResumeTenantRequestObject) (ResumeTenantResponseObject, error)
	// SuspendTenant Suspend a tenant
	// (POST /admin/tenants/{tenantId}/suspend)
	SuspendTenant(ctx context.Context, request SuspendTenantRequestObject) (SuspendTenantResponseObject, error)
	// ListApiTokens List the API tokens of the tenant
	// (GET /api-tokens)
	ListApiTokens(ctx context.Context, request ListApiTokensRequestObject) (ListApiTokensResponseObject, error)
	// CreateApiToken Create an API token
	// (POST /api-tokens)
	CreateApiToken(ctx context.Context, request CreateApiTokenRequestObject) (CreateApiTokenResponseObject, error)
	// RevokeApiToken Revoke an API token
	// (DELETE /api-tokens/{tokenId})
	RevokeApiToken(ctx context.Context, request RevokeApiTokenRequestObject) (RevokeApiTokenResponseObject, error)
	// ListAudit List the audit log of the caller's tenant
	// (GET /audit)
	ListAudit(ctx context.Context, request ListAuditRequestObject) (ListAuditResponseObject, error)
	// Login Login
	// (POST /auth/login)
	Login(ctx context.Context, request LoginRequestObject) (LoginResponseObject, error)
	// Logout Revoke the refresh token family and clear the cookie
	// (POST /auth/logout)
	Logout(ctx context.Context, request LogoutRequestObject) (LogoutResponseObject, error)
	// Refresh Rotate the refresh cookie and issue a new access token
	// (POST /auth/refresh)
	Refresh(ctx context.Context, request RefreshRequestObject) (RefreshResponseObject, error)
	// Setup Create the first platform admin using the one-time setup token
	// (POST /auth/setup)
	Setup(ctx context.Context, request SetupRequestObject) (SetupResponseObject, error)
	// GetHealth Public node status
	// (GET /health)
	GetHealth(ctx context.Context, request GetHealthRequestObject) (GetHealthResponseObject, error)
	// ListIncidents List incidents
	// (GET /incidents)
	ListIncidents(ctx context.Context, request ListIncidentsRequestObject) (ListIncidentsResponseObject, error)
	// GetIncident Get incident
	// (GET /incidents/{incidentId})
	GetIncident(ctx context.Context, request GetIncidentRequestObject) (GetIncidentResponseObject, error)
	// ListMaintenanceWindows List maintenance windows
	// (GET /maintenance)
	ListMaintenanceWindows(ctx context.Context, request ListMaintenanceWindowsRequestObject) (ListMaintenanceWindowsResponseObject, error)
	// CreateMaintenanceWindow Create maintenance window
	// (POST /maintenance)
	CreateMaintenanceWindow(ctx context.Context, request CreateMaintenanceWindowRequestObject) (CreateMaintenanceWindowResponseObject, error)
	// DeleteMaintenanceWindow Delete maintenance window
	// (DELETE /maintenance/{maintenanceId})
	DeleteMaintenanceWindow(ctx context.Context, request DeleteMaintenanceWindowRequestObject) (DeleteMaintenanceWindowResponseObject, error)
	// GetMaintenanceWindow Get maintenance window
	// (GET /maintenance/{maintenanceId})
	GetMaintenanceWindow(ctx context.Context, request GetMaintenanceWindowRequestObject) (GetMaintenanceWindowResponseObject, error)
	// UpdateMaintenanceWindow Update maintenance window
	// (PUT /maintenance/{maintenanceId})
	UpdateMaintenanceWindow(ctx context.Context, request UpdateMaintenanceWindowRequestObject) (UpdateMaintenanceWindowResponseObject, error)
	// GetMe Get the current user
	// (GET /me)
	GetMe(ctx context.Context, request GetMeRequestObject) (GetMeResponseObject, error)
	// ChangeMyPassword Change my password
	// (PUT /me/password)
	ChangeMyPassword(ctx context.Context, request ChangeMyPasswordRequestObject) (ChangeMyPasswordResponseObject, error)
	// ListMonitorTypes Available checker plugins with their JSON schema
	// (GET /monitor-types)
	ListMonitorTypes(ctx context.Context, request ListMonitorTypesRequestObject) (ListMonitorTypesResponseObject, error)
	// ListMonitors List monitors
	// (GET /monitors)
	ListMonitors(ctx context.Context, request ListMonitorsRequestObject) (ListMonitorsResponseObject, error)
	// CreateMonitor Create monitor
	// (POST /monitors)
	CreateMonitor(ctx context.Context, request CreateMonitorRequestObject) (CreateMonitorResponseObject, error)
	// BulkMonitors Apply one action to several monitors
	// (POST /monitors/bulk)
	BulkMonitors(ctx context.Context, request BulkMonitorsRequestObject) (BulkMonitorsResponseObject, error)
	// DeleteMonitor Delete monitor
	// (DELETE /monitors/{monitorId})
	DeleteMonitor(ctx context.Context, request DeleteMonitorRequestObject) (DeleteMonitorResponseObject, error)
	// GetMonitor Get monitor
	// (GET /monitors/{monitorId})
	GetMonitor(ctx context.Context, request GetMonitorRequestObject) (GetMonitorResponseObject, error)
	// UpdateMonitor Update monitor
	// (PUT /monitors/{monitorId})
	UpdateMonitor(ctx context.Context, request UpdateMonitorRequestObject) (UpdateMonitorResponseObject, error)
	// CloneMonitor Clone monitor
	// (POST /monitors/{monitorId}/clone)
	CloneMonitor(ctx context.Context, request CloneMonitorRequestObject) (CloneMonitorResponseObject, error)
	// ListHeartbeats List heartbeats
	// (GET /monitors/{monitorId}/heartbeats)
	ListHeartbeats(ctx context.Context, request ListHeartbeatsRequestObject) (ListHeartbeatsResponseObject, error)
	// PauseMonitor Pause monitor
	// (POST /monitors/{monitorId}/pause)
	PauseMonitor(ctx context.Context, request PauseMonitorRequestObject) (PauseMonitorResponseObject, error)
	// ResumeMonitor Resume monitor
	// (POST /monitors/{monitorId}/resume)
	ResumeMonitor(ctx context.Context, request ResumeMonitorRequestObject) (ResumeMonitorResponseObject, error)
	// TestMonitor Run the check once now without storing the result
	// (POST /monitors/{monitorId}/test)
	TestMonitor(ctx context.Context, request TestMonitorRequestObject) (TestMonitorResponseObject, error)
	// GetUptime Get uptime
	// (GET /monitors/{monitorId}/uptime)
	GetUptime(ctx context.Context, request GetUptimeRequestObject) (GetUptimeResponseObject, error)
	// ListAssignableNodes List nodes available for monitor assignment
	// (GET /nodes)
	ListAssignableNodes(ctx context.Context, request ListAssignableNodesRequestObject) (ListAssignableNodesResponseObject, error)
	// ListNotificationChannels List notification channels
	// (GET /notifications)
	ListNotificationChannels(ctx context.Context, request ListNotificationChannelsRequestObject) (ListNotificationChannelsResponseObject, error)
	// CreateNotificationChannel Create notification channel
	// (POST /notifications)
	CreateNotificationChannel(ctx context.Context, request CreateNotificationChannelRequestObject) (CreateNotificationChannelResponseObject, error)
	// DeleteNotificationChannel Delete notification channel
	// (DELETE /notifications/{channelId})
	DeleteNotificationChannel(ctx context.Context, request DeleteNotificationChannelRequestObject) (DeleteNotificationChannelResponseObject, error)
	// GetNotificationChannel Get notification channel
	// (GET /notifications/{channelId})
	GetNotificationChannel(ctx context.Context, request GetNotificationChannelRequestObject) (GetNotificationChannelResponseObject, error)
	// UpdateNotificationChannel Update notification channel
	// (PUT /notifications/{channelId})
	UpdateNotificationChannel(ctx context.Context, request UpdateNotificationChannelRequestObject) (UpdateNotificationChannelResponseObject, error)
	// TestNotificationChannel Send a test message synchronously
	// (POST /notifications/{channelId}/test)
	TestNotificationChannel(ctx context.Context, request TestNotificationChannelRequestObject) (TestNotificationChannelResponseObject, error)
	// ListPrivateProbes List private probes of the caller's tenant
	// (GET /probes)
	ListPrivateProbes(ctx context.Context, request ListPrivateProbesRequestObject) (ListPrivateProbesResponseObject, error)
	// CreatePrivateProbeJoinToken Create a one-time join token for a private probe
	// (POST /probes/join-tokens)
	CreatePrivateProbeJoinToken(ctx context.Context, request CreatePrivateProbeJoinTokenRequestObject) (CreatePrivateProbeJoinTokenResponseObject, error)
	// RemovePrivateProbe Remove a private probe of the caller's tenant and revoke its certificates
	// (DELETE /probes/{probeId})
	RemovePrivateProbe(ctx context.Context, request RemovePrivateProbeRequestObject) (RemovePrivateProbeResponseObject, error)
	// CreateStreamTicket One-time ticket (30 s) for opening the WebSocket `/api/v1/stream?ticket=…`
	// (POST /stream/ticket)
	CreateStreamTicket(ctx context.Context, request CreateStreamTicketRequestObject) (CreateStreamTicketResponseObject, error)
	// GetOwnTenant Get the caller's tenant with its effective limits and usage
	// (GET /tenant)
	GetOwnTenant(ctx context.Context, request GetOwnTenantRequestObject) (GetOwnTenantResponseObject, error)
	// ListUsers List users
	// (GET /users)
	ListUsers(ctx context.Context, request ListUsersRequestObject) (ListUsersResponseObject, error)
	// CreateUser Create user
	// (POST /users)
	CreateUser(ctx context.Context, request CreateUserRequestObject) (CreateUserResponseObject, error)
	// DeleteUser Delete user
	// (DELETE /users/{userId})
	DeleteUser(ctx context.Context, request DeleteUserRequestObject) (DeleteUserResponseObject, error)
	// UpdateUser Update user
	// (PUT /users/{userId})
	UpdateUser(ctx context.Context, request UpdateUserRequestObject) (UpdateUserResponseObject, error)
}

StrictServerInterface represents all server handlers.

type SuspendTenant200JSONResponse

type SuspendTenant200JSONResponse Tenant

func (SuspendTenant200JSONResponse) VisitSuspendTenantResponse

func (response SuspendTenant200JSONResponse) VisitSuspendTenantResponse(w http.ResponseWriter) error

type SuspendTenant401ApplicationProblemPlusJSONResponse

type SuspendTenant401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (SuspendTenant401ApplicationProblemPlusJSONResponse) VisitSuspendTenantResponse

func (response SuspendTenant401ApplicationProblemPlusJSONResponse) VisitSuspendTenantResponse(w http.ResponseWriter) error

type SuspendTenant403ApplicationProblemPlusJSONResponse

type SuspendTenant403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (SuspendTenant403ApplicationProblemPlusJSONResponse) VisitSuspendTenantResponse

func (response SuspendTenant403ApplicationProblemPlusJSONResponse) VisitSuspendTenantResponse(w http.ResponseWriter) error

type SuspendTenant404ApplicationProblemPlusJSONResponse

type SuspendTenant404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (SuspendTenant404ApplicationProblemPlusJSONResponse) VisitSuspendTenantResponse

func (response SuspendTenant404ApplicationProblemPlusJSONResponse) VisitSuspendTenantResponse(w http.ResponseWriter) error

type SuspendTenant422ApplicationProblemPlusJSONResponse

type SuspendTenant422ApplicationProblemPlusJSONResponse struct {
	ValidationErrorApplicationProblemPlusJSONResponse
}

func (SuspendTenant422ApplicationProblemPlusJSONResponse) VisitSuspendTenantResponse

func (response SuspendTenant422ApplicationProblemPlusJSONResponse) VisitSuspendTenantResponse(w http.ResponseWriter) error

type SuspendTenant503ApplicationProblemPlusJSONResponse

type SuspendTenant503ApplicationProblemPlusJSONResponse struct {
	ServiceUnavailableApplicationProblemPlusJSONResponse
}

func (SuspendTenant503ApplicationProblemPlusJSONResponse) VisitSuspendTenantResponse

func (response SuspendTenant503ApplicationProblemPlusJSONResponse) VisitSuspendTenantResponse(w http.ResponseWriter) error

type SuspendTenantRequestObject

type SuspendTenantRequestObject struct {
	TenantId TenantId `json:"tenantId"`
}

type SuspendTenantResponseObject

type SuspendTenantResponseObject interface {
	VisitSuspendTenantResponse(w http.ResponseWriter) error
}

type SystemAlert

type SystemAlert struct {
	Active bool `json:"active"`

	// Details Measured values and node IDs; never secrets or target error texts
	Details map[string]interface{} `json:"details"`

	// Kind Kind of the alert, e.g. voter_offline, replication_lag, clock_skew, quorum (ADR 0025)
	Kind string `json:"kind"`

	// Level Expiry stage (certificates) or counter; 0 for plain alerts
	Level int32 `json:"level"`

	// Since When the alert became active or cleared
	Since time.Time `json:"since"`

	// Subject What the alert is about: a node ID, a certificate or the cluster
	Subject string `json:"subject"`

	// Updated When the alert last changed
	Updated time.Time `json:"updated"`
}

SystemAlert defines model for SystemAlert.

type Tenant

type Tenant struct {
	CreatedAt time.Time `json:"createdAt"`

	// EffectiveLimits Tenant limits (FA-TEN-04). A missing or null field is unlimited.
	// `maxStatusPages` is stored now and enforced once the feature exists.
	EffectiveLimits Limits        `json:"effectiveLimits"`
	Exceeded        []LimitExcess `json:"exceeded"`
	Id              string        `json:"id"`

	// Limits Per-tenant overrides; a null field lifts the plan limit
	Limits map[string]*int `json:"limits"`
	Name   string          `json:"name"`

	// OrgId Bound identity-provider organization; absent if unbound
	OrgId     *string      `json:"orgId,omitempty"`
	Plan      string       `json:"plan"`
	Source    TenantSource `json:"source"`
	Suspended bool         `json:"suspended"`
	UpdatedAt time.Time    `json:"updatedAt"`
	Usage     TenantUsage  `json:"usage"`
}

Tenant defines model for Tenant.

type TenantCreate

type TenantCreate struct {
	Id     *string          `json:"id,omitempty"`
	Limits *map[string]*int `json:"limits,omitempty"`
	Name   string           `json:"name"`
	OrgId  *string          `json:"orgId,omitempty"`
	Plan   *string          `json:"plan,omitempty"`
}

TenantCreate defines model for TenantCreate.

type TenantDelete

type TenantDelete struct {
	ConfirmName string `json:"confirmName"`
}

TenantDelete defines model for TenantDelete.

type TenantId

type TenantId = string

TenantId defines model for TenantId.

type TenantSource

type TenantSource string

TenantSource defines model for Tenant.Source.

const (
	Admin     TenantSource = "admin"
	Auto      TenantSource = "auto"
	Bootstrap TenantSource = "bootstrap"
)

Defines values for TenantSource.

func (TenantSource) Valid

func (e TenantSource) Valid() bool

Valid indicates whether the value is a known member of the TenantSource enum.

type TenantUpdate

type TenantUpdate struct {
	Limits *map[string]*int `json:"limits,omitempty"`
	Name   *string          `json:"name,omitempty"`
	OrgId  *string          `json:"orgId,omitempty"`
	Plan   *string          `json:"plan,omitempty"`
}

TenantUpdate defines model for TenantUpdate.

type TenantUsage

type TenantUsage struct {
	Channels int `json:"channels"`

	// MinIntervalSeconds Shortest monitor interval; absent without monitors
	MinIntervalSeconds *int `json:"minIntervalSeconds,omitempty"`
	Monitors           int  `json:"monitors"`
	PrivateProbes      *int `json:"privateProbes,omitempty"`
}

TenantUsage defines model for TenantUsage.

type TestMonitor200JSONResponse

type TestMonitor200JSONResponse CheckResult

func (TestMonitor200JSONResponse) VisitTestMonitorResponse

func (response TestMonitor200JSONResponse) VisitTestMonitorResponse(w http.ResponseWriter) error

type TestMonitor401ApplicationProblemPlusJSONResponse

type TestMonitor401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (TestMonitor401ApplicationProblemPlusJSONResponse) VisitTestMonitorResponse

func (response TestMonitor401ApplicationProblemPlusJSONResponse) VisitTestMonitorResponse(w http.ResponseWriter) error

type TestMonitor404ApplicationProblemPlusJSONResponse

type TestMonitor404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (TestMonitor404ApplicationProblemPlusJSONResponse) VisitTestMonitorResponse

func (response TestMonitor404ApplicationProblemPlusJSONResponse) VisitTestMonitorResponse(w http.ResponseWriter) error

type TestMonitorRequestObject

type TestMonitorRequestObject struct {
	MonitorId MonitorId `json:"monitorId"`
}

type TestMonitorResponseObject

type TestMonitorResponseObject interface {
	VisitTestMonitorResponse(w http.ResponseWriter) error
}

type TestNotificationChannel200JSONResponse

type TestNotificationChannel200JSONResponse DeliveryResult

func (TestNotificationChannel200JSONResponse) VisitTestNotificationChannelResponse

func (response TestNotificationChannel200JSONResponse) VisitTestNotificationChannelResponse(w http.ResponseWriter) error

type TestNotificationChannel401ApplicationProblemPlusJSONResponse

type TestNotificationChannel401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (TestNotificationChannel401ApplicationProblemPlusJSONResponse) VisitTestNotificationChannelResponse

func (response TestNotificationChannel401ApplicationProblemPlusJSONResponse) VisitTestNotificationChannelResponse(w http.ResponseWriter) error

type TestNotificationChannel404ApplicationProblemPlusJSONResponse

type TestNotificationChannel404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (TestNotificationChannel404ApplicationProblemPlusJSONResponse) VisitTestNotificationChannelResponse

func (response TestNotificationChannel404ApplicationProblemPlusJSONResponse) VisitTestNotificationChannelResponse(w http.ResponseWriter) error

type TestNotificationChannelRequestObject

type TestNotificationChannelRequestObject struct {
	ChannelId ChannelId `json:"channelId"`
}

type TestNotificationChannelResponseObject

type TestNotificationChannelResponseObject interface {
	VisitTestNotificationChannelResponse(w http.ResponseWriter) error
}

type TestSystemChannel200JSONResponse

type TestSystemChannel200JSONResponse DeliveryResult

func (TestSystemChannel200JSONResponse) VisitTestSystemChannelResponse

func (response TestSystemChannel200JSONResponse) VisitTestSystemChannelResponse(w http.ResponseWriter) error

type TestSystemChannel401ApplicationProblemPlusJSONResponse

type TestSystemChannel401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (TestSystemChannel401ApplicationProblemPlusJSONResponse) VisitTestSystemChannelResponse

func (response TestSystemChannel401ApplicationProblemPlusJSONResponse) VisitTestSystemChannelResponse(w http.ResponseWriter) error

type TestSystemChannel403ApplicationProblemPlusJSONResponse

type TestSystemChannel403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (TestSystemChannel403ApplicationProblemPlusJSONResponse) VisitTestSystemChannelResponse

func (response TestSystemChannel403ApplicationProblemPlusJSONResponse) VisitTestSystemChannelResponse(w http.ResponseWriter) error

type TestSystemChannel404ApplicationProblemPlusJSONResponse

type TestSystemChannel404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (TestSystemChannel404ApplicationProblemPlusJSONResponse) VisitTestSystemChannelResponse

func (response TestSystemChannel404ApplicationProblemPlusJSONResponse) VisitTestSystemChannelResponse(w http.ResponseWriter) error

type TestSystemChannelRequestObject

type TestSystemChannelRequestObject struct {
	ChannelId ChannelId `json:"channelId"`
}

type TestSystemChannelResponseObject

type TestSystemChannelResponseObject interface {
	VisitTestSystemChannelResponse(w http.ResponseWriter) error
}

type To

type To = time.Time

To defines model for To.

type TokenResponse

type TokenResponse struct {
	AccessToken string    `json:"accessToken"`
	ExpiresAt   time.Time `json:"expiresAt"`
}

TokenResponse defines model for TokenResponse.

type TooManyRequests

type TooManyRequests = Problem

TooManyRequests RFC 9457 problem details

type TooManyRequestsApplicationProblemPlusJSONResponse

type TooManyRequestsApplicationProblemPlusJSONResponse struct {
	Body Problem

	Headers TooManyRequestsResponseHeaders
}

type TooManyRequestsResponseHeaders

type TooManyRequestsResponseHeaders struct {
	RetryAfter *int
}

type TooManyValuesForParamError

type TooManyValuesForParamError struct {
	ParamName string
	Count     int
}

func (*TooManyValuesForParamError) Error

type Unauthorized

type Unauthorized = Problem

Unauthorized RFC 9457 problem details

type UnauthorizedApplicationProblemPlusJSONResponse

type UnauthorizedApplicationProblemPlusJSONResponse Problem

type UnescapedCookieParamError

type UnescapedCookieParamError struct {
	ParamName string
	Err       error
}

func (*UnescapedCookieParamError) Error

func (e *UnescapedCookieParamError) Error() string

func (*UnescapedCookieParamError) Unwrap

func (e *UnescapedCookieParamError) Unwrap() error

type UnmarshalingParamError

type UnmarshalingParamError struct {
	ParamName string
	Err       error
}

func (*UnmarshalingParamError) Error

func (e *UnmarshalingParamError) Error() string

func (*UnmarshalingParamError) Unwrap

func (e *UnmarshalingParamError) Unwrap() error

type UpdateMaintenanceWindow200JSONResponse

type UpdateMaintenanceWindow200JSONResponse MaintenanceWindow

func (UpdateMaintenanceWindow200JSONResponse) VisitUpdateMaintenanceWindowResponse

func (response UpdateMaintenanceWindow200JSONResponse) VisitUpdateMaintenanceWindowResponse(w http.ResponseWriter) error

type UpdateMaintenanceWindow401ApplicationProblemPlusJSONResponse

type UpdateMaintenanceWindow401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (UpdateMaintenanceWindow401ApplicationProblemPlusJSONResponse) VisitUpdateMaintenanceWindowResponse

func (response UpdateMaintenanceWindow401ApplicationProblemPlusJSONResponse) VisitUpdateMaintenanceWindowResponse(w http.ResponseWriter) error

type UpdateMaintenanceWindow403ApplicationProblemPlusJSONResponse

type UpdateMaintenanceWindow403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (UpdateMaintenanceWindow403ApplicationProblemPlusJSONResponse) VisitUpdateMaintenanceWindowResponse

func (response UpdateMaintenanceWindow403ApplicationProblemPlusJSONResponse) VisitUpdateMaintenanceWindowResponse(w http.ResponseWriter) error

type UpdateMaintenanceWindow404ApplicationProblemPlusJSONResponse

type UpdateMaintenanceWindow404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (UpdateMaintenanceWindow404ApplicationProblemPlusJSONResponse) VisitUpdateMaintenanceWindowResponse

func (response UpdateMaintenanceWindow404ApplicationProblemPlusJSONResponse) VisitUpdateMaintenanceWindowResponse(w http.ResponseWriter) error

type UpdateMaintenanceWindow422ApplicationProblemPlusJSONResponse

type UpdateMaintenanceWindow422ApplicationProblemPlusJSONResponse struct {
	ValidationErrorApplicationProblemPlusJSONResponse
}

func (UpdateMaintenanceWindow422ApplicationProblemPlusJSONResponse) VisitUpdateMaintenanceWindowResponse

func (response UpdateMaintenanceWindow422ApplicationProblemPlusJSONResponse) VisitUpdateMaintenanceWindowResponse(w http.ResponseWriter) error

type UpdateMaintenanceWindowJSONRequestBody

type UpdateMaintenanceWindowJSONRequestBody = MaintenanceWindowInput

UpdateMaintenanceWindowJSONRequestBody defines body for UpdateMaintenanceWindow for application/json ContentType.

type UpdateMaintenanceWindowRequestObject

type UpdateMaintenanceWindowRequestObject struct {
	MaintenanceId MaintenanceId `json:"maintenanceId"`
	Body          *UpdateMaintenanceWindowJSONRequestBody
}

type UpdateMaintenanceWindowResponseObject

type UpdateMaintenanceWindowResponseObject interface {
	VisitUpdateMaintenanceWindowResponse(w http.ResponseWriter) error
}

type UpdateMonitor200JSONResponse

type UpdateMonitor200JSONResponse Monitor

func (UpdateMonitor200JSONResponse) VisitUpdateMonitorResponse

func (response UpdateMonitor200JSONResponse) VisitUpdateMonitorResponse(w http.ResponseWriter) error

type UpdateMonitor401ApplicationProblemPlusJSONResponse

type UpdateMonitor401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (UpdateMonitor401ApplicationProblemPlusJSONResponse) VisitUpdateMonitorResponse

func (response UpdateMonitor401ApplicationProblemPlusJSONResponse) VisitUpdateMonitorResponse(w http.ResponseWriter) error

type UpdateMonitor403ApplicationProblemPlusJSONResponse

type UpdateMonitor403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (UpdateMonitor403ApplicationProblemPlusJSONResponse) VisitUpdateMonitorResponse

func (response UpdateMonitor403ApplicationProblemPlusJSONResponse) VisitUpdateMonitorResponse(w http.ResponseWriter) error

type UpdateMonitor404ApplicationProblemPlusJSONResponse

type UpdateMonitor404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (UpdateMonitor404ApplicationProblemPlusJSONResponse) VisitUpdateMonitorResponse

func (response UpdateMonitor404ApplicationProblemPlusJSONResponse) VisitUpdateMonitorResponse(w http.ResponseWriter) error

type UpdateMonitor422ApplicationProblemPlusJSONResponse

type UpdateMonitor422ApplicationProblemPlusJSONResponse struct {
	ValidationErrorApplicationProblemPlusJSONResponse
}

func (UpdateMonitor422ApplicationProblemPlusJSONResponse) VisitUpdateMonitorResponse

func (response UpdateMonitor422ApplicationProblemPlusJSONResponse) VisitUpdateMonitorResponse(w http.ResponseWriter) error

type UpdateMonitorJSONRequestBody

type UpdateMonitorJSONRequestBody = MonitorInput

UpdateMonitorJSONRequestBody defines body for UpdateMonitor for application/json ContentType.

type UpdateMonitorRequestObject

type UpdateMonitorRequestObject struct {
	MonitorId MonitorId `json:"monitorId"`
	Body      *UpdateMonitorJSONRequestBody
}

type UpdateMonitorResponseObject

type UpdateMonitorResponseObject interface {
	VisitUpdateMonitorResponse(w http.ResponseWriter) error
}

type UpdateNotificationChannel200JSONResponse

type UpdateNotificationChannel200JSONResponse NotificationChannel

func (UpdateNotificationChannel200JSONResponse) VisitUpdateNotificationChannelResponse

func (response UpdateNotificationChannel200JSONResponse) VisitUpdateNotificationChannelResponse(w http.ResponseWriter) error

type UpdateNotificationChannel400ApplicationProblemPlusJSONResponse

type UpdateNotificationChannel400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (UpdateNotificationChannel400ApplicationProblemPlusJSONResponse) VisitUpdateNotificationChannelResponse

func (response UpdateNotificationChannel400ApplicationProblemPlusJSONResponse) VisitUpdateNotificationChannelResponse(w http.ResponseWriter) error

type UpdateNotificationChannel401ApplicationProblemPlusJSONResponse

type UpdateNotificationChannel401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (UpdateNotificationChannel401ApplicationProblemPlusJSONResponse) VisitUpdateNotificationChannelResponse

func (response UpdateNotificationChannel401ApplicationProblemPlusJSONResponse) VisitUpdateNotificationChannelResponse(w http.ResponseWriter) error

type UpdateNotificationChannel403ApplicationProblemPlusJSONResponse

type UpdateNotificationChannel403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (UpdateNotificationChannel403ApplicationProblemPlusJSONResponse) VisitUpdateNotificationChannelResponse

func (response UpdateNotificationChannel403ApplicationProblemPlusJSONResponse) VisitUpdateNotificationChannelResponse(w http.ResponseWriter) error

type UpdateNotificationChannel404ApplicationProblemPlusJSONResponse

type UpdateNotificationChannel404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (UpdateNotificationChannel404ApplicationProblemPlusJSONResponse) VisitUpdateNotificationChannelResponse

func (response UpdateNotificationChannel404ApplicationProblemPlusJSONResponse) VisitUpdateNotificationChannelResponse(w http.ResponseWriter) error

type UpdateNotificationChannel422ApplicationProblemPlusJSONResponse

type UpdateNotificationChannel422ApplicationProblemPlusJSONResponse struct {
	ValidationErrorApplicationProblemPlusJSONResponse
}

func (UpdateNotificationChannel422ApplicationProblemPlusJSONResponse) VisitUpdateNotificationChannelResponse

func (response UpdateNotificationChannel422ApplicationProblemPlusJSONResponse) VisitUpdateNotificationChannelResponse(w http.ResponseWriter) error

type UpdateNotificationChannelJSONRequestBody

type UpdateNotificationChannelJSONRequestBody = NotificationChannelInput

UpdateNotificationChannelJSONRequestBody defines body for UpdateNotificationChannel for application/json ContentType.

type UpdateNotificationChannelRequestObject

type UpdateNotificationChannelRequestObject struct {
	ChannelId ChannelId `json:"channelId"`
	Body      *UpdateNotificationChannelJSONRequestBody
}

type UpdateNotificationChannelResponseObject

type UpdateNotificationChannelResponseObject interface {
	VisitUpdateNotificationChannelResponse(w http.ResponseWriter) error
}

type UpdateSystemChannel200JSONResponse

type UpdateSystemChannel200JSONResponse NotificationChannel

func (UpdateSystemChannel200JSONResponse) VisitUpdateSystemChannelResponse

func (response UpdateSystemChannel200JSONResponse) VisitUpdateSystemChannelResponse(w http.ResponseWriter) error

type UpdateSystemChannel400ApplicationProblemPlusJSONResponse

type UpdateSystemChannel400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (UpdateSystemChannel400ApplicationProblemPlusJSONResponse) VisitUpdateSystemChannelResponse

func (response UpdateSystemChannel400ApplicationProblemPlusJSONResponse) VisitUpdateSystemChannelResponse(w http.ResponseWriter) error

type UpdateSystemChannel401ApplicationProblemPlusJSONResponse

type UpdateSystemChannel401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (UpdateSystemChannel401ApplicationProblemPlusJSONResponse) VisitUpdateSystemChannelResponse

func (response UpdateSystemChannel401ApplicationProblemPlusJSONResponse) VisitUpdateSystemChannelResponse(w http.ResponseWriter) error

type UpdateSystemChannel403ApplicationProblemPlusJSONResponse

type UpdateSystemChannel403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (UpdateSystemChannel403ApplicationProblemPlusJSONResponse) VisitUpdateSystemChannelResponse

func (response UpdateSystemChannel403ApplicationProblemPlusJSONResponse) VisitUpdateSystemChannelResponse(w http.ResponseWriter) error

type UpdateSystemChannel404ApplicationProblemPlusJSONResponse

type UpdateSystemChannel404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (UpdateSystemChannel404ApplicationProblemPlusJSONResponse) VisitUpdateSystemChannelResponse

func (response UpdateSystemChannel404ApplicationProblemPlusJSONResponse) VisitUpdateSystemChannelResponse(w http.ResponseWriter) error

type UpdateSystemChannel422ApplicationProblemPlusJSONResponse

type UpdateSystemChannel422ApplicationProblemPlusJSONResponse struct {
	ValidationErrorApplicationProblemPlusJSONResponse
}

func (UpdateSystemChannel422ApplicationProblemPlusJSONResponse) VisitUpdateSystemChannelResponse

func (response UpdateSystemChannel422ApplicationProblemPlusJSONResponse) VisitUpdateSystemChannelResponse(w http.ResponseWriter) error

type UpdateSystemChannelJSONRequestBody

type UpdateSystemChannelJSONRequestBody = NotificationChannelInput

UpdateSystemChannelJSONRequestBody defines body for UpdateSystemChannel for application/json ContentType.

type UpdateSystemChannelRequestObject

type UpdateSystemChannelRequestObject struct {
	ChannelId ChannelId `json:"channelId"`
	Body      *UpdateSystemChannelJSONRequestBody
}

type UpdateSystemChannelResponseObject

type UpdateSystemChannelResponseObject interface {
	VisitUpdateSystemChannelResponse(w http.ResponseWriter) error
}

type UpdateTenant200JSONResponse

type UpdateTenant200JSONResponse Tenant

func (UpdateTenant200JSONResponse) VisitUpdateTenantResponse

func (response UpdateTenant200JSONResponse) VisitUpdateTenantResponse(w http.ResponseWriter) error

type UpdateTenant400ApplicationProblemPlusJSONResponse

type UpdateTenant400ApplicationProblemPlusJSONResponse struct {
	BadRequestApplicationProblemPlusJSONResponse
}

func (UpdateTenant400ApplicationProblemPlusJSONResponse) VisitUpdateTenantResponse

func (response UpdateTenant400ApplicationProblemPlusJSONResponse) VisitUpdateTenantResponse(w http.ResponseWriter) error

type UpdateTenant401ApplicationProblemPlusJSONResponse

type UpdateTenant401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (UpdateTenant401ApplicationProblemPlusJSONResponse) VisitUpdateTenantResponse

func (response UpdateTenant401ApplicationProblemPlusJSONResponse) VisitUpdateTenantResponse(w http.ResponseWriter) error

type UpdateTenant403ApplicationProblemPlusJSONResponse

type UpdateTenant403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (UpdateTenant403ApplicationProblemPlusJSONResponse) VisitUpdateTenantResponse

func (response UpdateTenant403ApplicationProblemPlusJSONResponse) VisitUpdateTenantResponse(w http.ResponseWriter) error

type UpdateTenant404ApplicationProblemPlusJSONResponse

type UpdateTenant404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (UpdateTenant404ApplicationProblemPlusJSONResponse) VisitUpdateTenantResponse

func (response UpdateTenant404ApplicationProblemPlusJSONResponse) VisitUpdateTenantResponse(w http.ResponseWriter) error

type UpdateTenant409ApplicationProblemPlusJSONResponse

type UpdateTenant409ApplicationProblemPlusJSONResponse struct {
	ConflictApplicationProblemPlusJSONResponse
}

func (UpdateTenant409ApplicationProblemPlusJSONResponse) VisitUpdateTenantResponse

func (response UpdateTenant409ApplicationProblemPlusJSONResponse) VisitUpdateTenantResponse(w http.ResponseWriter) error

type UpdateTenant422ApplicationProblemPlusJSONResponse

type UpdateTenant422ApplicationProblemPlusJSONResponse struct {
	ValidationErrorApplicationProblemPlusJSONResponse
}

func (UpdateTenant422ApplicationProblemPlusJSONResponse) VisitUpdateTenantResponse

func (response UpdateTenant422ApplicationProblemPlusJSONResponse) VisitUpdateTenantResponse(w http.ResponseWriter) error

type UpdateTenant503ApplicationProblemPlusJSONResponse

type UpdateTenant503ApplicationProblemPlusJSONResponse struct {
	ServiceUnavailableApplicationProblemPlusJSONResponse
}

func (UpdateTenant503ApplicationProblemPlusJSONResponse) VisitUpdateTenantResponse

func (response UpdateTenant503ApplicationProblemPlusJSONResponse) VisitUpdateTenantResponse(w http.ResponseWriter) error

type UpdateTenantJSONRequestBody

type UpdateTenantJSONRequestBody = TenantUpdate

UpdateTenantJSONRequestBody defines body for UpdateTenant for application/json ContentType.

type UpdateTenantRequestObject

type UpdateTenantRequestObject struct {
	TenantId TenantId `json:"tenantId"`
	Body     *UpdateTenantJSONRequestBody
}

type UpdateTenantResponseObject

type UpdateTenantResponseObject interface {
	VisitUpdateTenantResponse(w http.ResponseWriter) error
}

type UpdateUser200JSONResponse

type UpdateUser200JSONResponse User

func (UpdateUser200JSONResponse) VisitUpdateUserResponse

func (response UpdateUser200JSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error

type UpdateUser401ApplicationProblemPlusJSONResponse

type UpdateUser401ApplicationProblemPlusJSONResponse struct {
	UnauthorizedApplicationProblemPlusJSONResponse
}

func (UpdateUser401ApplicationProblemPlusJSONResponse) VisitUpdateUserResponse

func (response UpdateUser401ApplicationProblemPlusJSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error

type UpdateUser403ApplicationProblemPlusJSONResponse

type UpdateUser403ApplicationProblemPlusJSONResponse struct {
	ForbiddenApplicationProblemPlusJSONResponse
}

func (UpdateUser403ApplicationProblemPlusJSONResponse) VisitUpdateUserResponse

func (response UpdateUser403ApplicationProblemPlusJSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error

type UpdateUser404ApplicationProblemPlusJSONResponse

type UpdateUser404ApplicationProblemPlusJSONResponse struct {
	NotFoundApplicationProblemPlusJSONResponse
}

func (UpdateUser404ApplicationProblemPlusJSONResponse) VisitUpdateUserResponse

func (response UpdateUser404ApplicationProblemPlusJSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error

type UpdateUser422ApplicationProblemPlusJSONResponse

type UpdateUser422ApplicationProblemPlusJSONResponse struct {
	ValidationErrorApplicationProblemPlusJSONResponse
}

func (UpdateUser422ApplicationProblemPlusJSONResponse) VisitUpdateUserResponse

func (response UpdateUser422ApplicationProblemPlusJSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error

type UpdateUserJSONRequestBody

type UpdateUserJSONRequestBody = UserUpdate

UpdateUserJSONRequestBody defines body for UpdateUser for application/json ContentType.

type UpdateUserRequestObject

type UpdateUserRequestObject struct {
	UserId UserId `json:"userId"`
	Body   *UpdateUserJSONRequestBody
}

type UpdateUserResponseObject

type UpdateUserResponseObject interface {
	VisitUpdateUserResponse(w http.ResponseWriter) error
}

type UptimeBucket

type UptimeBucket struct {
	DownSeconds        int64     `json:"downSeconds"`
	LatencyAvgMs       *float64  `json:"latencyAvgMs,omitempty"`
	MaintenanceSeconds int64     `json:"maintenanceSeconds"`
	Start              time.Time `json:"start"`
	UnknownSeconds     int64     `json:"unknownSeconds"`
	UpSeconds          int64     `json:"upSeconds"`
}

UptimeBucket defines model for UptimeBucket.

type UptimeStats

type UptimeStats struct {
	// Buckets Hourly buckets for 24h/7d, daily buckets for 30d/365d
	Buckets            []UptimeBucket   `json:"buckets"`
	DownSeconds        int64            `json:"downSeconds"`
	LatencyAvgMs       *float64         `json:"latencyAvgMs,omitempty"`
	LatencyP95Ms       *float64         `json:"latencyP95Ms,omitempty"`
	MaintenanceSeconds int64            `json:"maintenanceSeconds"`
	NodeId             *string          `json:"nodeId,omitempty"`
	Range              UptimeStatsRange `json:"range"`
	UnknownSeconds     int64            `json:"unknownSeconds"`
	UpSeconds          int64            `json:"upSeconds"`

	// UptimePercent null if the whole range is unknown/maintenance
	UptimePercent *float64 `json:"uptimePercent"`
}

UptimeStats defines model for UptimeStats.

type UptimeStatsRange

type UptimeStatsRange string

UptimeStatsRange defines model for UptimeStats.Range.

const (
	UptimeStatsRangeN24h  UptimeStatsRange = "24h"
	UptimeStatsRangeN30d  UptimeStatsRange = "30d"
	UptimeStatsRangeN365d UptimeStatsRange = "365d"
	UptimeStatsRangeN7d   UptimeStatsRange = "7d"
)

Defines values for UptimeStatsRange.

func (UptimeStatsRange) Valid

func (e UptimeStatsRange) Valid() bool

Valid indicates whether the value is a known member of the UptimeStatsRange enum.

type User

type User struct {
	CreatedAt   time.Time          `json:"createdAt"`
	Disabled    bool               `json:"disabled"`
	DisplayName *string            `json:"displayName,omitempty"`
	Id          openapi_types.UUID `json:"id"`
	LastLoginAt *time.Time         `json:"lastLoginAt,omitempty"`
	Role        Role               `json:"role"`
	Username    string             `json:"username"`
}

User defines model for User.

type UserCreate

type UserCreate struct {
	DisplayName *string `json:"displayName,omitempty"`
	Password    string  `json:"password"`
	Role        Role    `json:"role"`
	Username    string  `json:"username"`
}

UserCreate defines model for UserCreate.

type UserId

type UserId = openapi_types.UUID

UserId defines model for UserId.

type UserUpdate

type UserUpdate struct {
	Disabled    *bool   `json:"disabled,omitempty"`
	DisplayName *string `json:"displayName,omitempty"`

	// Password Admin password reset; revokes the user's sessions
	Password *string `json:"password,omitempty"`
	Role     *Role   `json:"role,omitempty"`
}

UserUpdate defines model for UserUpdate.

type ValidationError

type ValidationError = Problem

ValidationError RFC 9457 problem details

type ValidationErrorApplicationProblemPlusJSONResponse

type ValidationErrorApplicationProblemPlusJSONResponse Problem

type WebhookConfig

type WebhookConfig struct {
	// BodyTemplate JSON template with placeholders such as {{monitor.name}}, {{status}},
	// {{confirmed}}. Values are JSON-encoded on insertion (FA-ALR-07).
	BodyTemplate *string `json:"bodyTemplate,omitempty"`

	// Headers Stored encrypted; values are masked on read
	Headers *map[string]string   `json:"headers,omitempty"`
	Method  *WebhookConfigMethod `json:"method,omitempty"`
	Url     string               `json:"url"`
}

WebhookConfig defines model for WebhookConfig.

type WebhookConfigMethod

type WebhookConfigMethod string

WebhookConfigMethod defines model for WebhookConfig.Method.

const (
	POST WebhookConfigMethod = "POST"
	PUT  WebhookConfigMethod = "PUT"
)

Defines values for WebhookConfigMethod.

func (WebhookConfigMethod) Valid

func (e WebhookConfigMethod) Valid() bool

Valid indicates whether the value is a known member of the WebhookConfigMethod enum.

type XRequestedWith

type XRequestedWith string

XRequestedWith defines model for XRequestedWith.

const (
	XRequestedWithPulsequorum XRequestedWith = "pulsequorum"
)

Defines values for XRequestedWith.

func (XRequestedWith) Valid

func (e XRequestedWith) Valid() bool

Valid indicates whether the value is a known member of the XRequestedWith enum.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL