Versions in this module Expand all Collapse all v2 v2.0.0 Jun 9, 2022 Changes in this version + const False + const TraitOrderBeforeControllerCreation + const TraitOrderControllerSelection + const TraitOrderPostProcessResources + const True + var FactoryList []Factory + func AddSourceDependencies(source v1.SourceSpec, catalog *camel.RuntimeCatalog) *strset.Set + func AddToTraits(factory Factory) + func BoolP(b bool) *bool + func IsFalse(b *bool) bool + func IsNilOrFalse(b *bool) bool + func IsNilOrTrue(b *bool) bool + func IsTrue(b *bool) bool + type BaseTrait struct + Client client.Client + Enabled *bool + ExecutionOrder int + L log.Logger + TraitID ID + func NewBaseTrait(id string, order int) BaseTrait + func (trait *BaseTrait) ID() ID + func (trait *BaseTrait) InfluencesKit() bool + func (trait *BaseTrait) InjectClient(c client.Client) + func (trait *BaseTrait) IsAllowedInProfile(v1.TraitProfile) bool + func (trait *BaseTrait) IsPlatformTrait() bool + func (trait *BaseTrait) Order() int + func (trait *BaseTrait) RequiresIntegrationPlatform() bool + type Catalog struct + L log.Logger + func NewCatalog(c client.Client) *Catalog + func (c *Catalog) AllTraits() []Trait + func (c *Catalog) ComputeTraitsProperties() []string + func (c *Catalog) GetTrait(id string) Trait + func (c *Catalog) TraitsForProfile(profile v1.TraitProfile) []Trait + type Comparable interface + Matches func(Trait) bool + type ComparableTrait interface + type ControllerStrategy string + const ControllerStrategyCronJob + const ControllerStrategyDeployment + const ControllerStrategyKnativeService + const DefaultControllerStrategy + type ControllerStrategySelector interface + ControllerStrategySelectorOrder func() int + SelectControllerStrategy func(*Environment) (*ControllerStrategy, error) + type Environment struct + ApplicationProperties map[string]string + BuildTasks []v1.Task + CamelCatalog *camel.RuntimeCatalog + Catalog *Catalog + Client client.Client + ConfiguredTraits []Trait + Ctx context.Context + EnvVars []corev1.EnvVar + ExecutedTraits []Trait + Integration *v1.Integration + IntegrationKit *v1.IntegrationKit + IntegrationKits []v1.IntegrationKit + Interceptors []string + Platform *v1.IntegrationPlatform + PostActions []func(*Environment) error + PostProcessors []func(*Environment) error + PostStepProcessors []func(*Environment) error + Resources *kubernetes.Collection + RuntimeVersion string + ServiceBindingSecret string + func Apply(ctx context.Context, c client.Client, integration *v1.Integration, ...) (*Environment, error) + func (e *Environment) DetermineCatalogNamespace() string + func (e *Environment) DetermineControllerStrategy() (ControllerStrategy, error) + func (e *Environment) DetermineProfile() v1.TraitProfile + func (e *Environment) GetIntegrationContainer() *corev1.Container + func (e *Environment) GetIntegrationContainerName() string + func (e *Environment) GetIntegrationPodSpec() *corev1.PodSpec + func (e *Environment) GetTrait(id ID) Trait + func (e *Environment) InPhase(c v1.IntegrationKitPhase, i v1.IntegrationPhase) bool + func (e *Environment) IntegrationInPhase(phases ...v1.IntegrationPhase) bool + func (e *Environment) IntegrationInRunningPhases() bool + func (e *Environment) IntegrationKitInPhase(phases ...v1.IntegrationKitPhase) bool + type Factory = func() Trait + type Finder interface + GetTrait func(id string) Trait + type ID string + type Identifiable interface + ID func() ID + type Trait interface + Apply func(environment *Environment) error + Configure func(environment *Environment) (bool, error) + InfluencesKit func() bool + IsAllowedInProfile func(v1.TraitProfile) bool + IsPlatformTrait func() bool + Order func() int + RequiresIntegrationPlatform func() bool + func NewInitTrait() Trait Other modules containing this package github.com/lendi-au/camel-k