Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type V9Cockroach ¶
type V9Cockroach struct {
Enable *bool `yaml:"enable"`
Certificates *struct {
Production *string `yaml:"production"`
Staging *string `yaml:"staging"`
} `yaml:"certificates"`
}
V9Cockroach represents the configuration for cockroach in a values file.
type V9ExtraJobs ¶
type V9ExtraJobs struct {
Name *string `yaml:"name"`
Command []string `yaml:"command"`
EnvVars map[string]string `yaml:"envVars"`
Schedule *string `yaml:"schedule"`
Image *struct {
Repository string `yaml:"repository"`
Tag string `yaml:"tag"`
} `yaml:"certificates"`
EnableDB *bool `yaml:"enableDB"`
RestartPolicy *string `yaml:"restartPolicy"`
}
V9ExtraJobs represents extra jobs for the chart.
type V9File ¶
type V9File struct {
ChartVersion *string `yaml:"chartVersion"`
ServiceLocation *string `yaml:"serviceLocation"`
ServiceNamespace *string `yaml:"serviceNamespace"`
ServiceImage *string `yaml:"serviceImage"`
ServiceImageTag *string `yaml:"serviceImageTag"`
ServiceName *string `yaml:"serviceName"`
ServiceType *string `yaml:"serviceType"`
ServiceScope *string `yaml:"serviceScope"`
ServiceVersion *string `yaml:"serviceVersion"`
CIEnvironmentSlug *string `yaml:"ciEnvironmentSlug"`
CIPipelineID *string `yaml:"ciPipelineId"`
CIBuildID *string `yaml:"ciBuildId"`
CIEnvironmentHostname *string `yaml:"ciEnvironmentHostname"`
LocalRedis *int `yaml:"localRedis"`
MemoryStore *string `yaml:"memoryStore"`
PrivateRegistryKey *string `yaml:"privateRegistryKey"`
Replicas *int `yaml:"replicas"`
ProjectID *string `yaml:"projectId"`
PullPolicy *string `yaml:"pullPolicy"`
ProjectZone *string `yaml:"projectZone"`
DevelopmentVolumeMapping *int `yaml:"developmentVolumeMapping"`
ServiceIngress *int `yaml:"serviceIngress"`
ServiceGrpcIngress *int `yaml:"serviceGrpcIngress"`
ServiceEnvironment *string `yaml:"serviceEnvironment"`
ClusterEnvironment *string `yaml:"clusterEnvironment"`
ServiceBranch *string `yaml:"serviceBranch"`
TLSKey *string `yaml:"tlsKey"`
TLSCert *string `yaml:"tlsCert"`
EnvVars map[string]string `yaml:"envVars"`
SecretEnvVars map[string]V9SecretEnvVar `yaml:"secretEnvVars"`
SetupJob *int `yaml:"setupJob"`
SetupJobTimeout *int `yaml:"setupJobTimeout"`
JWTPublicURL *string `yaml:"jwtPublicURL"`
ExtraJobs []V9ExtraJobs `yaml:"extraJobs"`
CockroachDB *V9Cockroach `yaml:"cockroachdb"`
}
V9File represents the file structure of a standard chart values file.
func ReadV9File ¶
ReadV9File loads a version file from disk.
type V9SecretEnvVar ¶
type V9SecretEnvVar struct {
Name *string `yaml:"name"`
SecretName *string `yaml:"secretName"`
Key *string `yaml:"key"`
}
V9SecretEnvVar represents the key for environment variables derived from secrets.
type VersionFile ¶
type VersionFile struct {
ChartVersion string `yaml:"chartVersion"`
}
VersionFile represents the file structure of a chart file only with version.
func ReadVersionFile ¶
func ReadVersionFile(filename string) (VersionFile, error)
ReadVersionFile loads a version file from disk.
func (VersionFile) Version ¶
func (f VersionFile) Version() Version
Version returns the correct version to be using.
Click to show internal directories.
Click to hide internal directories.