Documentation
¶
Index ¶
- Variables
- func GenerateEnvVarKeyValue(key string) (k string, v string)
- func GenerateImagePlaceholder(unit string) string
- func GenerateRoleArnPlaceholder(unit string) string
- func GenerateTargetGroupBindingPlaceholder(unit string) string
- type DeploymentManifestData
- type HelmExecUnit
- type KlothoHelmChart
- type Kubernetes
- type PersistEnvVars
- type ProviderValueTypes
- type ServiceAccountManifestData
- type ServiceExportManifestData
- type ServiceManifestData
- type TargetGroupBindingManifestData
- type Value
Constants ¶
This section is empty.
Variables ¶
View Source
var (
EKS_ANNOTATION_KEY = "eks.amazonaws.com/role-arn"
)
View Source
var HelmChartKind = "helm_chart"
Functions ¶
func GenerateEnvVarKeyValue ¶
Types ¶
type DeploymentManifestData ¶
type HelmExecUnit ¶
type HelmExecUnit struct { Name string Namespace string Service *core.SourceFile Deployment *core.SourceFile Pod *core.SourceFile ServiceAccount *core.SourceFile TargetGroupBinding *core.SourceFile ServiceExport *core.SourceFile }
type KlothoHelmChart ¶
type KlothoHelmChart struct { Name string ValuesFiles []string ExecutionUnits []*HelmExecUnit Directory string Files []core.File Values []Value }
func (*KlothoHelmChart) AssignFilesToUnits ¶
func (t *KlothoHelmChart) AssignFilesToUnits() error
func (*KlothoHelmChart) Key ¶
func (t *KlothoHelmChart) Key() core.ResourceKey
func (*KlothoHelmChart) OutputTo ¶
func (t *KlothoHelmChart) OutputTo(dest string) error
func (*KlothoHelmChart) Type ¶
func (*KlothoHelmChart) Type() string
type Kubernetes ¶
type Kubernetes struct { Config *config.Application // contains filtered or unexported fields }
func (Kubernetes) Name ¶
func (p Kubernetes) Name() string
func (Kubernetes) Transform ¶
func (p Kubernetes) Transform(result *core.CompilationResult, deps *core.Dependencies) error
type PersistEnvVars ¶
type PersistEnvVars string
type ProviderValueTypes ¶
type ProviderValueTypes string
const ( TargetGroupTransformation ProviderValueTypes = "target_group" ImageTransformation ProviderValueTypes = "image" EnvironmentVariableTransformation ProviderValueTypes = "env_var" ServiceAccountAnnotationTransformation ProviderValueTypes = "service_account_annotation" )
type ServiceManifestData ¶
type TargetGroupBindingManifestData ¶
type TargetGroupBindingManifestData struct {
ServiceName string
}
type Value ¶
type Value struct { ExecUnitName string // ExecUnitName signifies the exec unit that this value is for Kind string // Kind is the kind of the kubernetes object this value is applied to Type string // Type is the type of value expected Key string // Key is the key to be used in helms values.yaml file or cli EnvironmentVariable core.EnvironmentVariable //EnvironmentVariable provides information around what environment variable is needed for substitution }
Values specifies the values that exist in the generated helm chart, which are necessary to provide during installation to run on the provider
Source Files
¶
Click to show internal directories.
Click to hide internal directories.