Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultGlobalPath ¶
func DefaultGlobalPath() string
func DefaultRepoPath ¶
func FindRepoRoot ¶
Types ¶
type BuildConfig ¶
type BuildConfig struct {
Profile string `yaml:"profile,omitempty"`
CacheDir string `yaml:"cacheDir,omitempty"`
AttestDir string `yaml:"attestDir,omitempty"`
Policy string `yaml:"policy,omitempty"`
PolicyMode string `yaml:"policyMode,omitempty"`
SecretsMode string `yaml:"secretsMode,omitempty"`
SecretsConfig string `yaml:"secretsConfig,omitempty"`
Hermetic *bool `yaml:"hermetic,omitempty"`
Sandbox *bool `yaml:"sandbox,omitempty"`
SandboxConfig string `yaml:"sandboxConfig,omitempty"`
Push *bool `yaml:"push,omitempty"`
Load *bool `yaml:"load,omitempty"`
RemoteBuild string `yaml:"remoteBuild,omitempty"`
}
type Config ¶
type Config struct {
Build BuildConfig `yaml:"build,omitempty"`
Secrets SecretsConfig `yaml:"secrets,omitempty"`
}
type SecretProvider ¶
type SecretProvider struct {
Type string `yaml:"type,omitempty"`
Path string `yaml:"path,omitempty"`
Address string `yaml:"address,omitempty"`
Token string `yaml:"token,omitempty"`
Namespace string `yaml:"namespace,omitempty"`
Mount string `yaml:"mount,omitempty"`
KVVersion int `yaml:"kvVersion,omitempty"`
Key string `yaml:"key,omitempty"`
AuthMethod string `yaml:"authMethod,omitempty"`
AuthMount string `yaml:"authMount,omitempty"`
RoleID string `yaml:"roleId,omitempty"`
SecretID string `yaml:"secretId,omitempty"`
KubernetesRole string `yaml:"kubernetesRole,omitempty"`
KubernetesToken string `yaml:"kubernetesToken,omitempty"`
KubernetesTokenPath string `yaml:"kubernetesTokenPath,omitempty"`
AWSRole string `yaml:"awsRole,omitempty"`
AWSRegion string `yaml:"awsRegion,omitempty"`
AWSHeaderValue string `yaml:"awsHeaderValue,omitempty"`
}
SecretProvider defines a single secret provider.
type SecretsConfig ¶
type SecretsConfig struct {
DefaultProvider string `yaml:"defaultProvider,omitempty"`
Providers map[string]SecretProvider `yaml:"providers,omitempty"`
}
SecretsConfig defines named secret providers for deploy-time resolution.
Click to show internal directories.
Click to hide internal directories.