Introduce a commercial license option alongside AGPL-3.0-only, require a CLA for contributors, and document the terms in COMMERCIAL.md and NOTICE. Add a script to stamp SPDX headers on Go files and apply it across the tree.
60 lines
2.0 KiB
Go
60 lines
2.0 KiB
Go
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial
|
|
// SPDX-FileCopyrightText: 2025-2026 Christian Galo
|
|
|
|
// Code generated by sqlc. DO NOT EDIT.
|
|
// versions:
|
|
// sqlc v1.29.0
|
|
|
|
package domains
|
|
|
|
import (
|
|
"database/sql"
|
|
"time"
|
|
|
|
"github.com/google/uuid"
|
|
)
|
|
|
|
type Claim struct {
|
|
ClaimID string `json:"claim_id"`
|
|
WorkspaceID string `json:"workspace_id"`
|
|
RootFqdn string `json:"root_fqdn"`
|
|
ReversedLabels string `json:"reversed_labels"`
|
|
Kind string `json:"kind"`
|
|
ParentClaimID uuid.NullUUID `json:"parent_claim_id"`
|
|
Status string `json:"status"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
Token string `json:"token"`
|
|
ExpiresAt sql.NullTime `json:"expires_at"`
|
|
VerifiedAt sql.NullTime `json:"verified_at"`
|
|
TxtState string `json:"txt_state"`
|
|
TxtObserved string `json:"txt_observed"`
|
|
ConnectState string `json:"connect_state"`
|
|
ConnectObserved string `json:"connect_observed"`
|
|
LastCheckedAt sql.NullTime `json:"last_checked_at"`
|
|
EvidenceAt sql.NullTime `json:"evidence_at"`
|
|
AbandonedAt sql.NullTime `json:"abandoned_at"`
|
|
SystemCanceledAt sql.NullTime `json:"system_canceled_at"`
|
|
}
|
|
|
|
type NameRule struct {
|
|
RuleID string `json:"rule_id"`
|
|
RootClaimID uuid.NullUUID `json:"root_claim_id"`
|
|
Label string `json:"label"`
|
|
Kind string `json:"kind"`
|
|
Note string `json:"note"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
}
|
|
|
|
type Placement struct {
|
|
PlacementID string `json:"placement_id"`
|
|
ClaimID string `json:"claim_id"`
|
|
Fqdn string `json:"fqdn"`
|
|
ReversedLabels string `json:"reversed_labels"`
|
|
Provider string `json:"provider"`
|
|
ResourceRef string `json:"resource_ref"`
|
|
Servable bool `json:"servable"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
}
|