fix: add involves edge from task to agent:nomos at creation
Plus sync vendor directory for Docker build compatibility.
This commit is contained in:
66
vendor/github.com/infisical/go-sdk/packages/models/auth.go
generated
vendored
Normal file
66
vendor/github.com/infisical/go-sdk/packages/models/auth.go
generated
vendored
Normal 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
|
||||
}
|
||||
44
vendor/github.com/infisical/go-sdk/packages/models/dynamic_secrets.go
generated
vendored
Normal file
44
vendor/github.com/infisical/go-sdk/packages/models/dynamic_secrets.go
generated
vendored
Normal 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"`
|
||||
}
|
||||
14
vendor/github.com/infisical/go-sdk/packages/models/folders.go
generated
vendored
Normal file
14
vendor/github.com/infisical/go-sdk/packages/models/folders.go
generated
vendored
Normal 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"`
|
||||
}
|
||||
34
vendor/github.com/infisical/go-sdk/packages/models/secrets.go
generated
vendored
Normal file
34
vendor/github.com/infisical/go-sdk/packages/models/secrets.go
generated
vendored
Normal 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"`
|
||||
}
|
||||
Reference in New Issue
Block a user