mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-04 02:18:42 +02:00
wip
This commit is contained in:
parent
dad954ae16
commit
5b717c9aa5
15 changed files with 746 additions and 9 deletions
|
@ -3,6 +3,10 @@
|
|||
// Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.3.0 DO NOT EDIT.
|
||||
package cluster
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
const (
|
||||
BearerAuthScopes = "bearerAuth.Scopes"
|
||||
)
|
||||
|
@ -18,8 +22,11 @@ const (
|
|||
|
||||
// BootstrapConfig defines model for BootstrapConfig.
|
||||
type BootstrapConfig struct {
|
||||
ClusterId string `json:"clusterId"`
|
||||
|
||||
// DatabrokerStorageConnection databroker storage connection string
|
||||
DatabrokerStorageConnection *string `json:"databrokerStorageConnection,omitempty"`
|
||||
OrganizationId string `json:"organizationId"`
|
||||
|
||||
// SharedSecret shared secret
|
||||
SharedSecret []byte `json:"sharedSecret"`
|
||||
|
@ -92,6 +99,18 @@ type GetBundlesResponse struct {
|
|||
Bundles []Bundle `json:"bundles"`
|
||||
}
|
||||
|
||||
// ReportUsageRequest defines model for ReportUsageRequest.
|
||||
type ReportUsageRequest struct {
|
||||
Users []ReportUsageUser `json:"users"`
|
||||
}
|
||||
|
||||
// ReportUsageUser defines model for ReportUsageUser.
|
||||
type ReportUsageUser struct {
|
||||
LastSignedInAt time.Time `json:"lastSignedInAt"`
|
||||
PseudonymousEmail string `json:"pseudonymousEmail"`
|
||||
PseudonymousId string `json:"pseudonymousId"`
|
||||
}
|
||||
|
||||
// BundleId defines model for bundleId.
|
||||
type BundleId = string
|
||||
|
||||
|
@ -100,3 +119,6 @@ type ReportClusterResourceBundleStatusJSONRequestBody = BundleStatus
|
|||
|
||||
// ExchangeClusterIdentityTokenJSONRequestBody defines body for ExchangeClusterIdentityToken for application/json ContentType.
|
||||
type ExchangeClusterIdentityTokenJSONRequestBody = ExchangeTokenRequest
|
||||
|
||||
// ReportUsageJSONRequestBody defines body for ReportUsage for application/json ContentType.
|
||||
type ReportUsageJSONRequestBody = ReportUsageRequest
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue