fix: add involves edge from task to agent:nomos at creation
Some checks failed
ci / build-test (push) Has been cancelled
ci / docker-build (push) Has been cancelled
ci / web (push) Has been cancelled
Desktop App / Build Linux (amd64) (push) Has been cancelled
Desktop App / Attach to Release (push) Has been cancelled

Plus sync vendor directory for Docker build compatibility.
This commit is contained in:
2026-08-11 22:03:12 +02:00
parent 7d6a3320d4
commit febc153b7f
3384 changed files with 945212 additions and 2 deletions

View File

@@ -0,0 +1,66 @@
package models
type TokenType string
const (
BEARER_TOKEN_TYPE TokenType = "Bearer"
)
type UniversalAuthCredential struct {
ClientID string
ClientSecret string
}
type AccessTokenCredential struct {
AccessToken string
}
type GCPIDTokenCredential struct {
IdentityID string
}
type GCPIAMCredential struct {
IdentityID string
ServiceAccountKeyFilePath string
}
type AWSIAMCredential struct {
IdentityID string
}
type KubernetesCredential struct {
IdentityID string
ServiceAccountToken string
}
type AzureCredential struct {
IdentityID string
Resource string
ClientID string
}
type OIDCCredential struct {
IdentityID string
JWT string
}
type JWTCredential struct {
IdentityID string
JWT string
}
type LDAPCredential struct {
IdentityID string
Username string
Password string
}
type OCICredential struct {
IdentityID string
PrivateKey string
Fingerprint string
UserID string
TenancyID string
Region string
Passphrase *string
}

View File

@@ -0,0 +1,44 @@
package models
import "time"
type DynamicSecret struct {
Id string `json:"id"`
Name string `json:"name"`
Type string `json:"type"`
Version int `json:"number"`
DefaultTTL string `json:"defaultTTL"`
MaxTTL string `json:"maxTTL"`
FolderID string `json:"folderId"`
Status string `json:"status"`
StatusDetails string `json:"statusDetails"`
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
}
type DynamicSecretLease struct {
Id string `json:"id"`
Type string `json:"type"`
Version int `json:"number"`
ExternalEntityId string `json:"externalEntityId"`
ExpireAt time.Time `json:"expireAt"`
Status string `json:"status"`
DynamicSecretId string `json:"dynamicSecretId"`
StatusDetails string `json:"statusDetails"`
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
}
type DynamicSecretLeaseWithDynamicSecret struct {
Id string `json:"id"`
Type string `json:"type"`
Version int `json:"number"`
ExternalEntityId string `json:"externalEntityId"`
ExpireAt time.Time `json:"expireAt"`
Status string `json:"status"`
DynamicSecretId string `json:"dynamicSecretId"`
StatusDetails string `json:"statusDetails"`
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
DynamicSecret DynamicSecret `json:"dynamicSecret"`
}

View File

@@ -0,0 +1,14 @@
package models
import "time"
type Folder struct {
ID string `json:"id"`
Name string `json:"name"`
Version int `json:"version"`
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
EnvironmentID string `json:"envId"`
ParentID string `json:"parentId"`
IsReserved bool `json:"isReserved"`
}

View File

@@ -0,0 +1,34 @@
package models
type SecretMetadata struct {
Key string `json:"key"`
Value string `json:"value"`
}
type SecretTag struct {
ID string `json:"id"`
Slug string `json:"slug"`
Name string `json:"name"`
Color string `json:"color"`
}
type Secret struct {
ID string `json:"id"`
Workspace string `json:"workspace"`
Environment string `json:"environment"`
Version int `json:"version"`
Type string `json:"type"`
SecretKey string `json:"secretKey"`
SecretValue string `json:"secretValue"`
SecretComment string `json:"secretComment"`
SecretPath string `json:"secretPath,omitempty"`
SecretMetadata []SecretMetadata `json:"secretMetadata"`
Tags []SecretTag `json:"tags"`
}
type SecretImport struct {
SecretPath string `json:"secretPath"`
Environment string `json:"environment"`
FolderID string `json:"folderId"`
Secrets []Secret `json:"secrets"`
}