Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the camel v1 API group +kubebuilder:object:generate=true +groupName=camel.apache.org
Package v1 contains API Schema definitions for the camel v1 API group +kubebuilder:object:generate=true +groupName=camel.apache.org
Index ¶
- Constants
- Variables
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type Artifact
- type BaseTask
- type Build
- type BuildCondition
- func (in *BuildCondition) DeepCopy() *BuildCondition
- func (in *BuildCondition) DeepCopyInto(out *BuildCondition)
- func (c BuildCondition) GetLastTransitionTime() metav1.Time
- func (c BuildCondition) GetLastUpdateTime() metav1.Time
- func (c BuildCondition) GetMessage() string
- func (c BuildCondition) GetReason() string
- func (c BuildCondition) GetStatus() corev1.ConditionStatus
- func (c BuildCondition) GetType() string
- type BuildConditionType
- type BuildList
- type BuildPhase
- type BuildSpec
- type BuildStatus
- func (in *BuildStatus) DeepCopy() *BuildStatus
- func (in *BuildStatus) DeepCopyInto(out *BuildStatus)
- func (in *BuildStatus) Failed(err error) BuildStatus
- func (in *BuildStatus) GetCondition(condType BuildConditionType) *BuildCondition
- func (in *BuildStatus) GetConditions() []ResourceCondition
- func (in *BuildStatus) RemoveCondition(condType BuildConditionType)
- func (in *BuildStatus) SetCondition(condType BuildConditionType, status corev1.ConditionStatus, reason string, ...)
- func (in *BuildStatus) SetConditions(conditions ...BuildCondition)
- func (in *BuildStatus) SetErrorCondition(condType BuildConditionType, reason string, err error)
- type BuildStrategy
- type BuildahTask
- type BuilderTask
- type CamelArtifact
- func (in *CamelArtifact) DeepCopy() *CamelArtifact
- func (in *CamelArtifact) DeepCopyInto(out *CamelArtifact)
- func (in *CamelArtifact) GetConsumerDependencies(schemeID string) []CamelArtifactDependency
- func (in *CamelArtifact) GetConsumerDependencyIDs(schemeID string) (deps []string)
- func (in *CamelArtifact) GetDependencyID() string
- func (in *CamelArtifact) GetProducerDependencies(schemeID string) []CamelArtifactDependency
- func (in *CamelArtifact) GetProducerDependencyIDs(schemeID string) (deps []string)
- func (in *CamelArtifact) GetScheme(schemeID string) *CamelScheme
- type CamelArtifactDependency
- type CamelArtifactExclusion
- type CamelCatalog
- type CamelCatalogList
- type CamelCatalogSpec
- type CamelCatalogStatus
- type CamelLoader
- type CamelScheme
- type CamelSchemeScope
- type Capability
- type Configurable
- type ConfigurationSpec
- type DataSpec
- type Failure
- type FailureRecovery
- type Flow
- type Integration
- func (in *Integration) Configurations() []ConfigurationSpec
- func (in *Integration) DeepCopy() *Integration
- func (in *Integration) DeepCopyInto(out *Integration)
- func (in *Integration) DeepCopyObject() runtime.Object
- func (in *Integration) GetIntegrationKitNamespace(p *IntegrationPlatform) string
- func (in *Integration) Initialize()
- func (in *Integration) Resources() []ResourceSpec
- func (in *Integration) SetIntegrationKit(kit *IntegrationKit)
- func (in *Integration) SetIntegrationPlatform(platform *IntegrationPlatform)
- func (in *Integration) Sources() []SourceSpec
- type IntegrationCondition
- func (in *IntegrationCondition) DeepCopy() *IntegrationCondition
- func (in *IntegrationCondition) DeepCopyInto(out *IntegrationCondition)
- func (c IntegrationCondition) GetLastTransitionTime() metav1.Time
- func (c IntegrationCondition) GetLastUpdateTime() metav1.Time
- func (c IntegrationCondition) GetMessage() string
- func (c IntegrationCondition) GetReason() string
- func (c IntegrationCondition) GetStatus() corev1.ConditionStatus
- func (c IntegrationCondition) GetType() string
- type IntegrationConditionType
- type IntegrationKit
- func (in *IntegrationKit) Configurations() []ConfigurationSpec
- func (in *IntegrationKit) DeepCopy() *IntegrationKit
- func (in *IntegrationKit) DeepCopyInto(out *IntegrationKit)
- func (in *IntegrationKit) DeepCopyObject() runtime.Object
- func (in *IntegrationKit) HasHigherPriorityThan(kit *IntegrationKit) bool
- func (in *IntegrationKit) SetIntegrationPlatform(platform *IntegrationPlatform)
- type IntegrationKitCondition
- func (in *IntegrationKitCondition) DeepCopy() *IntegrationKitCondition
- func (in *IntegrationKitCondition) DeepCopyInto(out *IntegrationKitCondition)
- func (c IntegrationKitCondition) GetLastTransitionTime() metav1.Time
- func (c IntegrationKitCondition) GetLastUpdateTime() metav1.Time
- func (c IntegrationKitCondition) GetMessage() string
- func (c IntegrationKitCondition) GetReason() string
- func (c IntegrationKitCondition) GetStatus() corev1.ConditionStatus
- func (c IntegrationKitCondition) GetType() string
- type IntegrationKitConditionType
- type IntegrationKitList
- type IntegrationKitPhase
- type IntegrationKitSpec
- type IntegrationKitStatus
- func (in *IntegrationKitStatus) DeepCopy() *IntegrationKitStatus
- func (in *IntegrationKitStatus) DeepCopyInto(out *IntegrationKitStatus)
- func (in *IntegrationKitStatus) GetCondition(condType IntegrationKitConditionType) *IntegrationKitCondition
- func (in *IntegrationKitStatus) GetConditions() []ResourceCondition
- func (in *IntegrationKitStatus) RemoveCondition(condType IntegrationKitConditionType)
- func (in *IntegrationKitStatus) SetCondition(condType IntegrationKitConditionType, status corev1.ConditionStatus, ...)
- func (in *IntegrationKitStatus) SetConditions(conditions ...IntegrationKitCondition)
- func (in *IntegrationKitStatus) SetErrorCondition(condType IntegrationKitConditionType, reason string, err error)
- type IntegrationList
- type IntegrationPhase
- type IntegrationPlatform
- func (in *IntegrationPlatform) AddConfiguration(confType string, confValue string)
- func (in *IntegrationPlatform) Configurations() []ConfigurationSpec
- func (in *IntegrationPlatform) DeepCopy() *IntegrationPlatform
- func (in *IntegrationPlatform) DeepCopyInto(out *IntegrationPlatform)
- func (in *IntegrationPlatform) DeepCopyObject() runtime.Object
- func (in *IntegrationPlatform) GetActualValue(extractor func(spec IntegrationPlatformSpec) string) string
- func (in *IntegrationPlatform) ResyncStatusFullConfig()
- type IntegrationPlatformBuildPublishStrategy
- type IntegrationPlatformBuildSpec
- func (in *IntegrationPlatformBuildSpec) DeepCopy() *IntegrationPlatformBuildSpec
- func (in *IntegrationPlatformBuildSpec) DeepCopyInto(out *IntegrationPlatformBuildSpec)
- func (b IntegrationPlatformBuildSpec) GetTimeout() metav1.Duration
- func (b IntegrationPlatformBuildSpec) IsKanikoCacheEnabled() bool
- type IntegrationPlatformCluster
- type IntegrationPlatformCondition
- func (in *IntegrationPlatformCondition) DeepCopy() *IntegrationPlatformCondition
- func (in *IntegrationPlatformCondition) DeepCopyInto(out *IntegrationPlatformCondition)
- func (c IntegrationPlatformCondition) GetLastTransitionTime() metav1.Time
- func (c IntegrationPlatformCondition) GetLastUpdateTime() metav1.Time
- func (c IntegrationPlatformCondition) GetMessage() string
- func (c IntegrationPlatformCondition) GetReason() string
- func (c IntegrationPlatformCondition) GetStatus() corev1.ConditionStatus
- func (c IntegrationPlatformCondition) GetType() string
- type IntegrationPlatformConditionType
- type IntegrationPlatformKameletRepositorySpec
- type IntegrationPlatformKameletSpec
- type IntegrationPlatformList
- type IntegrationPlatformPhase
- type IntegrationPlatformResourcesSpec
- type IntegrationPlatformSpec
- type IntegrationPlatformStatus
- func (in *IntegrationPlatformStatus) DeepCopy() *IntegrationPlatformStatus
- func (in *IntegrationPlatformStatus) DeepCopyInto(out *IntegrationPlatformStatus)
- func (in *IntegrationPlatformStatus) GetCondition(condType IntegrationPlatformConditionType) *IntegrationPlatformCondition
- func (in *IntegrationPlatformStatus) GetConditions() []ResourceCondition
- func (in *IntegrationPlatformStatus) RemoveCondition(condType IntegrationPlatformConditionType)
- func (in *IntegrationPlatformStatus) SetCondition(condType IntegrationPlatformConditionType, status corev1.ConditionStatus, ...)
- func (in *IntegrationPlatformStatus) SetConditions(conditions ...IntegrationPlatformCondition)
- func (in *IntegrationPlatformStatus) SetErrorCondition(condType IntegrationPlatformConditionType, reason string, err error)
- type IntegrationSpec
- func (in *IntegrationSpec) AddConfiguration(confType string, confValue string)
- func (in *IntegrationSpec) AddConfigurationAsResource(confType string, confValue string, resourceType string, ...)
- func (in *IntegrationSpec) AddDependency(dependency string)
- func (in *IntegrationSpec) AddFlows(flows ...Flow)
- func (in *IntegrationSpec) AddResources(resources ...ResourceSpec)
- func (in *IntegrationSpec) AddSource(name string, content string, language Language)
- func (in *IntegrationSpec) AddSources(sources ...SourceSpec)
- func (in *IntegrationSpec) Configurations() []ConfigurationSpec
- func (in *IntegrationSpec) DeepCopy() *IntegrationSpec
- func (in *IntegrationSpec) DeepCopyInto(out *IntegrationSpec)
- func (in *IntegrationSpec) GetConfigurationProperty(property string) string
- type IntegrationStatus
- func (in *IntegrationStatus) AddConfigurationsIfMissing(configurations ...ConfigurationSpec)
- func (in *IntegrationStatus) AddOrReplaceGeneratedResources(resources ...ResourceSpec)
- func (in *IntegrationStatus) AddOrReplaceGeneratedSources(sources ...SourceSpec)
- func (in *IntegrationStatus) Configurations() []ConfigurationSpec
- func (in *IntegrationStatus) DeepCopy() *IntegrationStatus
- func (in *IntegrationStatus) DeepCopyInto(out *IntegrationStatus)
- func (in *IntegrationStatus) GetCondition(condType IntegrationConditionType) *IntegrationCondition
- func (in *IntegrationStatus) GetConditions() []ResourceCondition
- func (in *IntegrationStatus) RemoveCondition(condType IntegrationConditionType)
- func (in *IntegrationStatus) SetCondition(condType IntegrationConditionType, status corev1.ConditionStatus, ...)
- func (in *IntegrationStatus) SetConditions(conditions ...IntegrationCondition)
- func (in *IntegrationStatus) SetErrorCondition(condType IntegrationConditionType, reason string, err error)
- type KanikoTask
- type KanikoTaskCache
- type Language
- type MavenArtifact
- type MavenBuildSpec
- type MavenSpec
- type PodSpec
- type PodSpecTemplate
- type PublishTask
- type RawMessage
- type RegistrySpec
- type Repository
- type RepositoryPolicy
- type ResourceCondition
- type ResourceSpec
- type ResourceType
- type RuntimeProvider
- type RuntimeSpec
- type S2iTask
- type SourceSpec
- type SourceType
- type SpectrumTask
- type Task
- type Template
- type TraitConfiguration
- type TraitProfile
- type TraitSpec
- type ValueSource
Constants ¶
const ( // BuildKind -- BuildKind string = "Build" // BuildPhaseNone -- BuildPhaseNone BuildPhase = "" // BuildPhaseInitialization -- BuildPhaseInitialization BuildPhase = "Initialization" // BuildPhaseScheduling -- BuildPhaseScheduling BuildPhase = "Scheduling" // BuildPhasePending -- BuildPhasePending BuildPhase = "Pending" // BuildPhaseRunning -- BuildPhaseRunning BuildPhase = "Running" // BuildPhaseSucceeded -- BuildPhaseSucceeded BuildPhase = "Succeeded" // BuildPhaseFailed -- BuildPhaseFailed BuildPhase = "Failed" // BuildPhaseInterrupted -- BuildPhaseInterrupted = "Interrupted" // BuildPhaseError -- BuildPhaseError BuildPhase = "Error" )
const ( TraitAnnotationPrefix = "trait.camel.apache.org/" OperatorIDAnnotation = "camel.apache.org/operator.id" SecondaryPlatformAnnotation = "camel.apache.org/secondary.platform" PlatformSelectorAnnotation = "camel.apache.org/platform.id" )
const ( // ServiceTypeUser -- ServiceTypeUser = "user" // CapabilityRest -- CapabilityRest = "rest" // CapabilityHealth -- CapabilityHealth = "health" // CapabilityCron -- CapabilityCron = "cron" // CapabilityPlatformHTTP -- CapabilityPlatformHTTP = "platform-http" // CapabilityCircuitBreaker -- CapabilityCircuitBreaker = "circuit-breaker" // CapabilityTracing -- CapabilityTracing = "tracing" // CapabilityMaster -- CapabilityMaster = "master" )
const ( // IntegrationKind -- IntegrationKind string = "Integration" // IntegrationPhaseNone -- IntegrationPhaseNone IntegrationPhase = "" // IntegrationPhaseInitialization -- IntegrationPhaseInitialization IntegrationPhase = "Initialization" // IntegrationPhaseWaitingForPlatform -- IntegrationPhaseWaitingForPlatform IntegrationPhase = "Waiting For Platform" // IntegrationPhaseBuildingKit -- IntegrationPhaseBuildingKit IntegrationPhase = "Building Kit" // IntegrationPhaseDeploying -- IntegrationPhaseDeploying IntegrationPhase = "Deploying" // IntegrationPhaseRunning -- IntegrationPhaseRunning IntegrationPhase = "Running" // IntegrationPhaseError -- IntegrationPhaseError IntegrationPhase = "Error" // IntegrationConditionKitAvailable -- IntegrationConditionKitAvailable IntegrationConditionType = "IntegrationKitAvailable" // IntegrationConditionPlatformAvailable -- IntegrationConditionPlatformAvailable IntegrationConditionType = "IntegrationPlatformAvailable" // IntegrationConditionDeploymentAvailable -- IntegrationConditionDeploymentAvailable IntegrationConditionType = "DeploymentAvailable" // IntegrationConditionServiceAvailable -- IntegrationConditionServiceAvailable IntegrationConditionType = "ServiceAvailable" // IntegrationConditionKnativeServiceAvailable -- IntegrationConditionKnativeServiceAvailable IntegrationConditionType = "KnativeServiceAvailable" // IntegrationConditionCronJobAvailable -- IntegrationConditionCronJobAvailable IntegrationConditionType = "CronJobAvailable" // IntegrationConditionExposureAvailable -- IntegrationConditionExposureAvailable IntegrationConditionType = "ExposureAvailable" // IntegrationConditionPrometheusAvailable -- IntegrationConditionPrometheusAvailable IntegrationConditionType = "PrometheusAvailable" // IntegrationConditionJolokiaAvailable -- IntegrationConditionJolokiaAvailable IntegrationConditionType = "JolokiaAvailable" // IntegrationConditionProbesAvailable -- IntegrationConditionProbesAvailable IntegrationConditionType = "ProbesAvailable" // IntegrationConditionReady -- IntegrationConditionReady IntegrationConditionType = "Ready" // IntegrationConditionKitAvailableReason -- IntegrationConditionKitAvailableReason string = "IntegrationKitAvailable" // IntegrationConditionPlatformAvailableReason -- IntegrationConditionPlatformAvailableReason string = "IntegrationPlatformAvailable" // IntegrationConditionDeploymentAvailableReason -- IntegrationConditionDeploymentAvailableReason string = "DeploymentAvailable" // IntegrationConditionDeploymentNotAvailableReason -- IntegrationConditionDeploymentNotAvailableReason string = "DeploymentNotAvailable" // IntegrationConditionServiceAvailableReason -- IntegrationConditionServiceAvailableReason string = "ServiceAvailable" // IntegrationConditionServiceNotAvailableReason -- IntegrationConditionServiceNotAvailableReason string = "ServiceNotAvailable" // IntegrationConditionContainerNotAvailableReason -- IntegrationConditionContainerNotAvailableReason string = "ContainerNotAvailable" // IntegrationConditionRouteAvailableReason -- IntegrationConditionRouteAvailableReason string = "RouteAvailable" // IntegrationConditionRouteNotAvailableReason -- IntegrationConditionRouteNotAvailableReason string = "RouteNotAvailable" // IntegrationConditionIngressAvailableReason -- IntegrationConditionIngressAvailableReason string = "IngressAvailable" // IntegrationConditionIngressNotAvailableReason -- IntegrationConditionIngressNotAvailableReason string = "IngressNotAvailable" // IntegrationConditionKnativeServiceAvailableReason -- IntegrationConditionKnativeServiceAvailableReason string = "KnativeServiceAvailable" // IntegrationConditionKnativeServiceNotAvailableReason -- IntegrationConditionKnativeServiceNotAvailableReason string = "KnativeServiceNotAvailable" // IntegrationConditionCronJobAvailableReason -- IntegrationConditionCronJobAvailableReason string = "CronJobAvailableReason" // IntegrationConditionCronJobNotAvailableReason -- IntegrationConditionCronJobNotAvailableReason string = "CronJobNotAvailableReason" // IntegrationConditionPrometheusAvailableReason -- IntegrationConditionPrometheusAvailableReason string = "PrometheusAvailable" // IntegrationConditionJolokiaAvailableReason -- IntegrationConditionJolokiaAvailableReason string = "JolokiaAvailable" // IntegrationConditionProbesAvailableReason -- IntegrationConditionProbesAvailableReason string = "ProbesAvailable" // IntegrationConditionKnativeServiceReadyReason -- IntegrationConditionKnativeServiceReadyReason string = "KnativeServiceReady" // IntegrationConditionDeploymentReadyReason -- IntegrationConditionDeploymentReadyReason string = "DeploymentReady" // IntegrationConditionDeploymentProgressingReason -- IntegrationConditionDeploymentProgressingReason string = "DeploymentProgressing" // IntegrationConditionCronJobCreatedReason -- IntegrationConditionCronJobCreatedReason string = "CronJobCreated" // IntegrationConditionCronJobActiveReason -- IntegrationConditionCronJobActiveReason string = "CronJobActive" // IntegrationConditionLastJobSucceededReason -- IntegrationConditionLastJobSucceededReason string = "LastJobSucceeded" // IntegrationConditionLastJobFailedReason -- IntegrationConditionLastJobFailedReason string = "LastJobFailed" // IntegrationConditionRuntimeNotReadyReason -- IntegrationConditionRuntimeNotReadyReason string = "RuntimeNotReady" // IntegrationConditionErrorReason -- IntegrationConditionErrorReason string = "Error" // IntegrationConditionUnsupportedLanguageReason -- IntegrationConditionUnsupportedLanguageReason string = "UnsupportedLanguage" // IntegrationConditionKameletsAvailable -- IntegrationConditionKameletsAvailable IntegrationConditionType = "KameletsAvailable" // IntegrationConditionKameletsAvailableReason -- IntegrationConditionKameletsAvailableReason string = "KameletsAvailable" // IntegrationConditionKameletsNotAvailableReason -- IntegrationConditionKameletsNotAvailableReason string = "KameletsNotAvailable" )
const ( // IntegrationKitKind -- IntegrationKitKind string = "IntegrationKit" // IntegrationKitTypeLabel labels the kit type IntegrationKitTypeLabel = "camel.apache.org/kit.type" // IntegrationKitTypePlatform -- IntegrationKitTypePlatform = "platform" // IntegrationKitTypeUser -- IntegrationKitTypeUser = "user" // IntegrationKitTypeExternal -- IntegrationKitTypeExternal = "external" // IntegrationKitLayoutLabel labels the kit layout IntegrationKitLayoutLabel = "camel.apache.org/kit.layout" // IntegrationKitLayoutFastJar labels a kit using the Quarkus fast-jar packaging IntegrationKitLayoutFastJar = "fast-jar" // IntegrationKitLayoutNative labels a kit using the Quarkus native packaging IntegrationKitLayoutNative = "native" // IntegrationKitPriorityLabel labels the kit priority IntegrationKitPriorityLabel = "camel.apache.org/kit.priority" // IntegrationKitPhaseNone -- IntegrationKitPhaseNone IntegrationKitPhase = "" // IntegrationKitPhaseInitialization -- IntegrationKitPhaseInitialization IntegrationKitPhase = "Initialization" // IntegrationKitPhaseWaitingForPlatform -- IntegrationKitPhaseWaitingForPlatform IntegrationKitPhase = "Waiting For Platform" // IntegrationKitPhaseBuildSubmitted -- IntegrationKitPhaseBuildSubmitted IntegrationKitPhase = "Build Submitted" // IntegrationKitPhaseBuildRunning -- IntegrationKitPhaseBuildRunning IntegrationKitPhase = "Build Running" // IntegrationKitPhaseReady -- IntegrationKitPhaseReady IntegrationKitPhase = "Ready" // IntegrationKitPhaseError -- IntegrationKitPhaseError IntegrationKitPhase = "Error" // IntegrationKitConditionPlatformAvailable -- IntegrationKitConditionPlatformAvailable IntegrationKitConditionType = "IntegrationPlatformAvailable" // IntegrationKitConditionPlatformAvailableReason -- IntegrationKitConditionPlatformAvailableReason string = "IntegrationPlatformAvailable" )
const ( // IntegrationPlatformKind -- IntegrationPlatformKind string = "IntegrationPlatform" // IntegrationPlatformPhaseNone -- IntegrationPlatformPhaseNone IntegrationPlatformPhase = "" // IntegrationPlatformPhaseCreating -- IntegrationPlatformPhaseCreating IntegrationPlatformPhase = "Creating" // IntegrationPlatformPhaseWarming -- IntegrationPlatformPhaseWarming IntegrationPlatformPhase = "Warming" // IntegrationPlatformPhaseReady -- IntegrationPlatformPhaseReady IntegrationPlatformPhase = "Ready" // IntegrationPlatformPhaseError -- IntegrationPlatformPhaseError IntegrationPlatformPhase = "Error" // IntegrationPlatformPhaseDuplicate -- IntegrationPlatformPhaseDuplicate IntegrationPlatformPhase = "Duplicate" )
const ( // CamelCatalogKind -- CamelCatalogKind string = "CamelCatalog" )
const IntegrationLabel = "camel.apache.org/integration"
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "camel.apache.org", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is a shortcut to SchemeBuilder.AddToScheme AddToScheme = SchemeBuilder.AddToScheme )
var AllIntegrationPlatformClusters = []IntegrationPlatformCluster{IntegrationPlatformClusterOpenShift, IntegrationPlatformClusterKubernetes}
AllIntegrationPlatformClusters --
var AllTraitProfiles = []TraitProfile{TraitProfileKubernetes, TraitProfileKnative, TraitProfileOpenShift}
AllTraitProfiles contains all allowed profiles
var BuildStrategies = []BuildStrategy{ BuildStrategyRoutine, BuildStrategyPod, }
var IntegrationPlatformBuildPublishStrategies = []IntegrationPlatformBuildPublishStrategy{ IntegrationPlatformBuildPublishStrategyBuildah, IntegrationPlatformBuildPublishStrategyKaniko, IntegrationPlatformBuildPublishStrategyS2I, IntegrationPlatformBuildPublishStrategySpectrum, }
IntegrationPlatformBuildPublishStrategies --
var Languages = []Language{ LanguageJavaSource, LanguageGroovy, LanguageJavaScript, LanguageXML, LanguageKotlin, LanguageYaml, LanguageKamelet, }
Languages is the list of all supported languages
Functions ¶
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Artifact ¶
type Artifact struct { ID string `json:"id" yaml:"id"` Location string `json:"location,omitempty" yaml:"location,omitempty"` Target string `json:"target,omitempty" yaml:"target,omitempty"` Checksum string `json:"checksum,omitempty" yaml:"checksum,omitempty"` }
Artifact --
func (*Artifact) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Artifact.
func (*Artifact) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BaseTask ¶
type BaseTask struct {
Name string `json:"name,omitempty"`
}
BaseTask --
func (*BaseTask) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BaseTask.
func (*BaseTask) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Build ¶
type Build struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BuildSpec `json:"spec,omitempty"` Status BuildStatus `json:"status,omitempty"` }
Build is the Schema for the builds API
func (*Build) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Build.
func (*Build) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Build) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BuildCondition ¶
type BuildCondition struct { // Type of integration condition. Type BuildConditionType `json:"type"` // Status of the condition, one of True, False, Unknown. Status corev1.ConditionStatus `json:"status"` // The last time this condition was updated. LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty"` // Last time the condition transitioned from one status to another. LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"` // The reason for the condition's last transition. Reason string `json:"reason,omitempty"` // A human-readable message indicating details about the transition. Message string `json:"message,omitempty"` }
BuildCondition describes the state of a resource at a certain point.
func (*BuildCondition) DeepCopy ¶
func (in *BuildCondition) DeepCopy() *BuildCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildCondition.
func (*BuildCondition) DeepCopyInto ¶
func (in *BuildCondition) DeepCopyInto(out *BuildCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (BuildCondition) GetLastTransitionTime ¶
func (c BuildCondition) GetLastTransitionTime() metav1.Time
func (BuildCondition) GetLastUpdateTime ¶
func (c BuildCondition) GetLastUpdateTime() metav1.Time
func (BuildCondition) GetMessage ¶
func (c BuildCondition) GetMessage() string
func (BuildCondition) GetReason ¶
func (c BuildCondition) GetReason() string
func (BuildCondition) GetStatus ¶
func (c BuildCondition) GetStatus() corev1.ConditionStatus
func (BuildCondition) GetType ¶
func (c BuildCondition) GetType() string
type BuildList ¶
type BuildList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Build `json:"items"` }
BuildList contains a list of Build
func NewBuildList ¶
func NewBuildList() BuildList
func (*BuildList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildList.
func (*BuildList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BuildList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BuildPhase ¶
type BuildPhase string
BuildPhase --
func (*BuildPhase) String ¶ added in v1.3.0
func (buildPhase *BuildPhase) String() string
type BuildSpec ¶
type BuildSpec struct { // The sequence of Build tasks to be performed as part of the Build execution. Tasks []Task `json:"tasks,omitempty"` // The strategy that should be used to perform the Build. Strategy BuildStrategy `json:"strategy,omitempty"` // Timeout defines the Build maximum execution duration. // The Build deadline is set to the Build start time plus the Timeout duration. // If the Build deadline is exceeded, the Build context is canceled, // and its phase set to BuildPhaseFailed. // +kubebuilder:validation:Format=duration Timeout metav1.Duration `json:"timeout,omitempty"` }
BuildSpec defines the Build to be executed
func (*BuildSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildSpec.
func (*BuildSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BuildStatus ¶
type BuildStatus struct { Phase BuildPhase `json:"phase,omitempty"` Image string `json:"image,omitempty"` Digest string `json:"digest,omitempty"` BaseImage string `json:"baseImage,omitempty"` Artifacts []Artifact `json:"artifacts,omitempty"` Error string `json:"error,omitempty"` Failure *Failure `json:"failure,omitempty"` StartedAt *metav1.Time `json:"startedAt,omitempty"` Conditions []BuildCondition `json:"conditions,omitempty"` // Change to Duration / ISO 8601 when CRD uses OpenAPI spec v3 // https://github.com/OAI/OpenAPI-Specification/issues/845 Duration string `json:"duration,omitempty"` }
BuildStatus defines the observed state of Build
func (*BuildStatus) DeepCopy ¶
func (in *BuildStatus) DeepCopy() *BuildStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildStatus.
func (*BuildStatus) DeepCopyInto ¶
func (in *BuildStatus) DeepCopyInto(out *BuildStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BuildStatus) Failed ¶ added in v1.4.0
func (in *BuildStatus) Failed(err error) BuildStatus
func (*BuildStatus) GetCondition ¶
func (in *BuildStatus) GetCondition(condType BuildConditionType) *BuildCondition
GetCondition returns the condition with the provided type.
func (*BuildStatus) GetConditions ¶
func (in *BuildStatus) GetConditions() []ResourceCondition
func (*BuildStatus) RemoveCondition ¶
func (in *BuildStatus) RemoveCondition(condType BuildConditionType)
RemoveCondition removes the resource condition with the provided type.
func (*BuildStatus) SetCondition ¶
func (in *BuildStatus) SetCondition(condType BuildConditionType, status corev1.ConditionStatus, reason string, message string)
func (*BuildStatus) SetConditions ¶
func (in *BuildStatus) SetConditions(conditions ...BuildCondition)
SetConditions updates the resource to include the provided conditions.
If a condition that we are about to add already exists and has the same status and reason then we are not going to update.
func (*BuildStatus) SetErrorCondition ¶
func (in *BuildStatus) SetErrorCondition(condType BuildConditionType, reason string, err error)
type BuildStrategy ¶ added in v1.6.1
type BuildStrategy string
BuildStrategy specifies how the Build should be executed +kubebuilder:validation:Enum=routine;pod
const ( // BuildStrategyRoutine performs the build in a routine BuildStrategyRoutine BuildStrategy = "routine" // BuildStrategyPod performs the build in a pod BuildStrategyPod BuildStrategy = "pod" )
type BuildahTask ¶ added in v1.4.0
type BuildahTask struct { BaseTask `json:",inline"` PublishTask `json:",inline"` Verbose *bool `json:"verbose,omitempty"` }
BuildahTask --
func (*BuildahTask) DeepCopy ¶ added in v1.4.0
func (in *BuildahTask) DeepCopy() *BuildahTask
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildahTask.
func (*BuildahTask) DeepCopyInto ¶ added in v1.4.0
func (in *BuildahTask) DeepCopyInto(out *BuildahTask)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BuilderTask ¶
type BuilderTask struct { BaseTask `json:",inline"` BaseImage string `json:"baseImage,omitempty"` Runtime RuntimeSpec `json:"runtime,omitempty"` Sources []SourceSpec `json:"sources,omitempty"` Resources []ResourceSpec `json:"resources,omitempty"` Dependencies []string `json:"dependencies,omitempty"` Steps []string `json:"steps,omitempty"` Maven MavenBuildSpec `json:"maven,omitempty"` BuildDir string `json:"buildDir,omitempty"` }
BuilderTask --
func (*BuilderTask) DeepCopy ¶
func (in *BuilderTask) DeepCopy() *BuilderTask
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuilderTask.
func (*BuilderTask) DeepCopyInto ¶
func (in *BuilderTask) DeepCopyInto(out *BuilderTask)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CamelArtifact ¶
type CamelArtifact struct { CamelArtifactDependency `json:",inline" yaml:",inline"` Schemes []CamelScheme `json:"schemes,omitempty" yaml:"schemes,omitempty"` Languages []string `json:"languages,omitempty" yaml:"languages,omitempty"` DataFormats []string `json:"dataformats,omitempty" yaml:"dataformats,omitempty"` Dependencies []CamelArtifactDependency `json:"dependencies,omitempty" yaml:"dependencies,omitempty"` JavaTypes []string `json:"javaTypes,omitempty" yaml:"javaTypes,omitempty"` }
CamelArtifact --
func (*CamelArtifact) DeepCopy ¶
func (in *CamelArtifact) DeepCopy() *CamelArtifact
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CamelArtifact.
func (*CamelArtifact) DeepCopyInto ¶
func (in *CamelArtifact) DeepCopyInto(out *CamelArtifact)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CamelArtifact) GetConsumerDependencies ¶ added in v1.3.0
func (in *CamelArtifact) GetConsumerDependencies(schemeID string) []CamelArtifactDependency
func (*CamelArtifact) GetConsumerDependencyIDs ¶ added in v1.3.0
func (in *CamelArtifact) GetConsumerDependencyIDs(schemeID string) (deps []string)
func (*CamelArtifact) GetDependencyID ¶
func (in *CamelArtifact) GetDependencyID() string
GetDependencyID returns a Camel K recognizable maven dependency for the artifact
func (*CamelArtifact) GetProducerDependencies ¶ added in v1.3.0
func (in *CamelArtifact) GetProducerDependencies(schemeID string) []CamelArtifactDependency
func (*CamelArtifact) GetProducerDependencyIDs ¶ added in v1.3.0
func (in *CamelArtifact) GetProducerDependencyIDs(schemeID string) (deps []string)
func (*CamelArtifact) GetScheme ¶ added in v1.3.0
func (in *CamelArtifact) GetScheme(schemeID string) *CamelScheme
type CamelArtifactDependency ¶
type CamelArtifactDependency struct { MavenArtifact `json:",inline" yaml:",inline"` Exclusions []CamelArtifactExclusion `json:"exclusions,omitempty" yaml:"exclusions,omitempty"` }
CamelArtifactDependency represent a maven's dependency
func (*CamelArtifactDependency) DeepCopy ¶
func (in *CamelArtifactDependency) DeepCopy() *CamelArtifactDependency
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CamelArtifactDependency.
func (*CamelArtifactDependency) DeepCopyInto ¶
func (in *CamelArtifactDependency) DeepCopyInto(out *CamelArtifactDependency)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CamelArtifactExclusion ¶
type CamelArtifactExclusion struct { GroupID string `json:"groupId" yaml:"groupId"` ArtifactID string `json:"artifactId" yaml:"artifactId"` }
CamelArtifactExclusion --
func (*CamelArtifactExclusion) DeepCopy ¶
func (in *CamelArtifactExclusion) DeepCopy() *CamelArtifactExclusion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CamelArtifactExclusion.
func (*CamelArtifactExclusion) DeepCopyInto ¶
func (in *CamelArtifactExclusion) DeepCopyInto(out *CamelArtifactExclusion)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CamelCatalog ¶
type CamelCatalog struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"` Status CamelCatalogStatus `json:"status,omitempty" yaml:"status,omitempty"` Spec CamelCatalogSpec `json:"spec,omitempty" yaml:"spec,omitempty"` }
CamelCatalog is the Schema for the camelcatalogs API
func NewCamelCatalog ¶
func NewCamelCatalog(namespace string, name string) CamelCatalog
NewCamelCatalog --
func NewCamelCatalogWithSpecs ¶
func NewCamelCatalogWithSpecs(namespace string, name string, spec CamelCatalogSpec) CamelCatalog
NewCamelCatalogWithSpecs --
func (*CamelCatalog) DeepCopy ¶
func (in *CamelCatalog) DeepCopy() *CamelCatalog
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CamelCatalog.
func (*CamelCatalog) DeepCopyInto ¶
func (in *CamelCatalog) DeepCopyInto(out *CamelCatalog)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CamelCatalog) DeepCopyObject ¶
func (in *CamelCatalog) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CamelCatalogList ¶
type CamelCatalogList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []CamelCatalog `json:"items"` }
CamelCatalogList contains a list of CamelCatalog
func (*CamelCatalogList) DeepCopy ¶
func (in *CamelCatalogList) DeepCopy() *CamelCatalogList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CamelCatalogList.
func (*CamelCatalogList) DeepCopyInto ¶
func (in *CamelCatalogList) DeepCopyInto(out *CamelCatalogList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CamelCatalogList) DeepCopyObject ¶
func (in *CamelCatalogList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CamelCatalogSpec ¶
type CamelCatalogSpec struct { Runtime RuntimeSpec `json:"runtime" yaml:"runtime"` Artifacts map[string]CamelArtifact `json:"artifacts" yaml:"artifacts"` Loaders map[string]CamelLoader `json:"loaders" yaml:"loaders"` }
CamelCatalogSpec defines the desired state of CamelCatalog
func (*CamelCatalogSpec) DeepCopy ¶
func (in *CamelCatalogSpec) DeepCopy() *CamelCatalogSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CamelCatalogSpec.
func (*CamelCatalogSpec) DeepCopyInto ¶
func (in *CamelCatalogSpec) DeepCopyInto(out *CamelCatalogSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CamelCatalogStatus ¶
type CamelCatalogStatus struct { }
CamelCatalogStatus defines the observed state of CamelCatalog
func (*CamelCatalogStatus) DeepCopy ¶
func (in *CamelCatalogStatus) DeepCopy() *CamelCatalogStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CamelCatalogStatus.
func (*CamelCatalogStatus) DeepCopyInto ¶
func (in *CamelCatalogStatus) DeepCopyInto(out *CamelCatalogStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CamelLoader ¶
type CamelLoader struct { MavenArtifact `json:",inline" yaml:",inline"` Languages []string `json:"languages,omitempty" yaml:"languages,omitempty"` Dependencies []MavenArtifact `json:"dependencies,omitempty" yaml:"dependencies,omitempty"` }
CamelLoader --
func (*CamelLoader) DeepCopy ¶
func (in *CamelLoader) DeepCopy() *CamelLoader
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CamelLoader.
func (*CamelLoader) DeepCopyInto ¶
func (in *CamelLoader) DeepCopyInto(out *CamelLoader)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CamelScheme ¶
type CamelScheme struct { ID string `json:"id" yaml:"id"` Passive bool `json:"passive" yaml:"passive"` HTTP bool `json:"http" yaml:"http"` Consumer CamelSchemeScope `json:"consumer,omitempty" yaml:"consumer,omitempty"` Producer CamelSchemeScope `json:"producer,omitempty" yaml:"producer,omitempty"` }
CamelScheme --
func (*CamelScheme) DeepCopy ¶
func (in *CamelScheme) DeepCopy() *CamelScheme
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CamelScheme.
func (*CamelScheme) DeepCopyInto ¶
func (in *CamelScheme) DeepCopyInto(out *CamelScheme)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CamelSchemeScope ¶ added in v1.3.0
type CamelSchemeScope struct {
Dependencies []CamelArtifactDependency `json:"dependencies,omitempty" yaml:"dependencies,omitempty"`
}
CamelSchemeScope contains scoped information about a scheme
func (*CamelSchemeScope) DeepCopy ¶ added in v1.3.0
func (in *CamelSchemeScope) DeepCopy() *CamelSchemeScope
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CamelSchemeScope.
func (*CamelSchemeScope) DeepCopyInto ¶ added in v1.3.0
func (in *CamelSchemeScope) DeepCopyInto(out *CamelSchemeScope)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Capability ¶
type Capability struct { Dependencies []MavenArtifact `json:"dependencies" yaml:"dependencies"` Metadata map[string]string `json:"metadata,omitempty" yaml:"metadata,omitempty"` }
Capability --
func (*Capability) DeepCopy ¶
func (in *Capability) DeepCopy() *Capability
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Capability.
func (*Capability) DeepCopyInto ¶
func (in *Capability) DeepCopyInto(out *Capability)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Configurable ¶
type Configurable interface {
Configurations() []ConfigurationSpec
}
Configurable --
type ConfigurationSpec ¶
type ConfigurationSpec struct { Type string `json:"type"` Value string `json:"value"` ResourceType string `json:"resourceType,omitempty"` ResourceMountPoint string `json:"resourceMountPoint,omitempty"` ResourceKey string `json:"resourceKey,omitempty"` }
ConfigurationSpec --
func (*ConfigurationSpec) DeepCopy ¶
func (in *ConfigurationSpec) DeepCopy() *ConfigurationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationSpec.
func (*ConfigurationSpec) DeepCopyInto ¶
func (in *ConfigurationSpec) DeepCopyInto(out *ConfigurationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigurationSpec) String ¶
func (in *ConfigurationSpec) String() string
type DataSpec ¶
type DataSpec struct { Name string `json:"name,omitempty"` Path string `json:"path,omitempty"` Content string `json:"content,omitempty"` RawContent []byte `json:"rawContent,omitempty"` ContentRef string `json:"contentRef,omitempty"` ContentKey string `json:"contentKey,omitempty"` ContentType string `json:"contentType,omitempty"` Compression bool `json:"compression,omitempty"` }
DataSpec --
func (*DataSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataSpec.
func (*DataSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Failure ¶
type Failure struct { Reason string `json:"reason"` Time metav1.Time `json:"time"` Recovery FailureRecovery `json:"recovery"` }
Failure --
func (*Failure) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Failure.
func (*Failure) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FailureRecovery ¶
type FailureRecovery struct { Attempt int `json:"attempt"` AttemptMax int `json:"attemptMax"` // +optional AttemptTime metav1.Time `json:"attemptTime"` }
FailureRecovery --
func (*FailureRecovery) DeepCopy ¶
func (in *FailureRecovery) DeepCopy() *FailureRecovery
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FailureRecovery.
func (*FailureRecovery) DeepCopyInto ¶
func (in *FailureRecovery) DeepCopyInto(out *FailureRecovery)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Flow ¶
type Flow struct {
RawMessage `json:",inline"`
}
Flow is an unstructured object representing a Camel Flow in YAML/JSON DSL
func (*Flow) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Flow.
func (*Flow) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Integration ¶
type Integration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec IntegrationSpec `json:"spec,omitempty"` Status IntegrationStatus `json:"status,omitempty"` }
Integration is the Schema for the integrations API
func NewIntegration ¶
func NewIntegration(namespace string, name string) Integration
func (*Integration) Configurations ¶
func (in *Integration) Configurations() []ConfigurationSpec
func (*Integration) DeepCopy ¶
func (in *Integration) DeepCopy() *Integration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Integration.
func (*Integration) DeepCopyInto ¶
func (in *Integration) DeepCopyInto(out *Integration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Integration) DeepCopyObject ¶
func (in *Integration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Integration) GetIntegrationKitNamespace ¶ added in v1.4.0
func (in *Integration) GetIntegrationKitNamespace(p *IntegrationPlatform) string
func (*Integration) Initialize ¶ added in v1.3.0
func (in *Integration) Initialize()
func (*Integration) Resources ¶
func (in *Integration) Resources() []ResourceSpec
Resources return a new slice containing all the resources associated to the integration
func (*Integration) SetIntegrationKit ¶
func (in *Integration) SetIntegrationKit(kit *IntegrationKit)
func (*Integration) SetIntegrationPlatform ¶
func (in *Integration) SetIntegrationPlatform(platform *IntegrationPlatform)
func (*Integration) Sources ¶
func (in *Integration) Sources() []SourceSpec
Sources return a new slice containing all the sources associated to the integration
type IntegrationCondition ¶
type IntegrationCondition struct { // Type of integration condition. Type IntegrationConditionType `json:"type"` // Status of the condition, one of True, False, Unknown. Status corev1.ConditionStatus `json:"status"` // The last time this condition was updated. LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty"` // Last time the condition transitioned from one status to another. LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"` // First time the condition status transitioned to True. FirstTruthyTime *metav1.Time `json:"firstTruthyTime,omitempty"` // The reason for the condition's last transition. Reason string `json:"reason,omitempty"` // A human-readable message indicating details about the transition. Message string `json:"message,omitempty"` }
IntegrationCondition describes the state of a resource at a certain point.
func (*IntegrationCondition) DeepCopy ¶
func (in *IntegrationCondition) DeepCopy() *IntegrationCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationCondition.
func (*IntegrationCondition) DeepCopyInto ¶
func (in *IntegrationCondition) DeepCopyInto(out *IntegrationCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (IntegrationCondition) GetLastTransitionTime ¶
func (c IntegrationCondition) GetLastTransitionTime() metav1.Time
func (IntegrationCondition) GetLastUpdateTime ¶
func (c IntegrationCondition) GetLastUpdateTime() metav1.Time
func (IntegrationCondition) GetMessage ¶
func (c IntegrationCondition) GetMessage() string
func (IntegrationCondition) GetReason ¶
func (c IntegrationCondition) GetReason() string
func (IntegrationCondition) GetStatus ¶
func (c IntegrationCondition) GetStatus() corev1.ConditionStatus
func (IntegrationCondition) GetType ¶
func (c IntegrationCondition) GetType() string
type IntegrationKit ¶
type IntegrationKit struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec IntegrationKitSpec `json:"spec,omitempty"` Status IntegrationKitStatus `json:"status,omitempty"` }
IntegrationKit is the Schema for the integrationkits API
func NewIntegrationKit ¶
func NewIntegrationKit(namespace string, name string) *IntegrationKit
func (*IntegrationKit) Configurations ¶
func (in *IntegrationKit) Configurations() []ConfigurationSpec
func (*IntegrationKit) DeepCopy ¶
func (in *IntegrationKit) DeepCopy() *IntegrationKit
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationKit.
func (*IntegrationKit) DeepCopyInto ¶
func (in *IntegrationKit) DeepCopyInto(out *IntegrationKit)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IntegrationKit) DeepCopyObject ¶
func (in *IntegrationKit) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*IntegrationKit) HasHigherPriorityThan ¶ added in v1.7.0
func (in *IntegrationKit) HasHigherPriorityThan(kit *IntegrationKit) bool
func (*IntegrationKit) SetIntegrationPlatform ¶
func (in *IntegrationKit) SetIntegrationPlatform(platform *IntegrationPlatform)
type IntegrationKitCondition ¶
type IntegrationKitCondition struct { // Type of integration condition. Type IntegrationKitConditionType `json:"type"` // Status of the condition, one of True, False, Unknown. Status corev1.ConditionStatus `json:"status"` // The last time this condition was updated. LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty"` // Last time the condition transitioned from one status to another. LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"` // The reason for the condition's last transition. Reason string `json:"reason,omitempty"` // A human-readable message indicating details about the transition. Message string `json:"message,omitempty"` }
IntegrationKitCondition describes the state of a resource at a certain point.
func (*IntegrationKitCondition) DeepCopy ¶
func (in *IntegrationKitCondition) DeepCopy() *IntegrationKitCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationKitCondition.
func (*IntegrationKitCondition) DeepCopyInto ¶
func (in *IntegrationKitCondition) DeepCopyInto(out *IntegrationKitCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (IntegrationKitCondition) GetLastTransitionTime ¶
func (c IntegrationKitCondition) GetLastTransitionTime() metav1.Time
func (IntegrationKitCondition) GetLastUpdateTime ¶
func (c IntegrationKitCondition) GetLastUpdateTime() metav1.Time
func (IntegrationKitCondition) GetMessage ¶
func (c IntegrationKitCondition) GetMessage() string
func (IntegrationKitCondition) GetReason ¶
func (c IntegrationKitCondition) GetReason() string
func (IntegrationKitCondition) GetStatus ¶
func (c IntegrationKitCondition) GetStatus() corev1.ConditionStatus
func (IntegrationKitCondition) GetType ¶
func (c IntegrationKitCondition) GetType() string
type IntegrationKitConditionType ¶
type IntegrationKitConditionType string
IntegrationKitConditionType --
type IntegrationKitList ¶
type IntegrationKitList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []IntegrationKit `json:"items"` }
IntegrationKitList contains a list of IntegrationKit
func NewIntegrationKitList ¶
func NewIntegrationKitList() IntegrationKitList
func (*IntegrationKitList) DeepCopy ¶
func (in *IntegrationKitList) DeepCopy() *IntegrationKitList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationKitList.
func (*IntegrationKitList) DeepCopyInto ¶
func (in *IntegrationKitList) DeepCopyInto(out *IntegrationKitList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IntegrationKitList) DeepCopyObject ¶
func (in *IntegrationKitList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IntegrationKitSpec ¶
type IntegrationKitSpec struct { Image string `json:"image,omitempty"` Dependencies []string `json:"dependencies,omitempty"` Profile TraitProfile `json:"profile,omitempty"` Traits map[string]TraitSpec `json:"traits,omitempty"` Configuration []ConfigurationSpec `json:"configuration,omitempty"` Repositories []string `json:"repositories,omitempty"` }
IntegrationKitSpec defines the desired state of IntegrationKit
func (*IntegrationKitSpec) Configurations ¶
func (in *IntegrationKitSpec) Configurations() []ConfigurationSpec
func (*IntegrationKitSpec) DeepCopy ¶
func (in *IntegrationKitSpec) DeepCopy() *IntegrationKitSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationKitSpec.
func (*IntegrationKitSpec) DeepCopyInto ¶
func (in *IntegrationKitSpec) DeepCopyInto(out *IntegrationKitSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IntegrationKitStatus ¶
type IntegrationKitStatus struct { Phase IntegrationKitPhase `json:"phase,omitempty"` BaseImage string `json:"baseImage,omitempty"` Image string `json:"image,omitempty"` Digest string `json:"digest,omitempty"` Artifacts []Artifact `json:"artifacts,omitempty"` Failure *Failure `json:"failure,omitempty"` RuntimeVersion string `json:"runtimeVersion,omitempty"` RuntimeProvider RuntimeProvider `json:"runtimeProvider,omitempty"` Platform string `json:"platform,omitempty"` Conditions []IntegrationKitCondition `json:"conditions,omitempty"` Version string `json:"version,omitempty"` }
IntegrationKitStatus defines the observed state of IntegrationKit
func (*IntegrationKitStatus) DeepCopy ¶
func (in *IntegrationKitStatus) DeepCopy() *IntegrationKitStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationKitStatus.
func (*IntegrationKitStatus) DeepCopyInto ¶
func (in *IntegrationKitStatus) DeepCopyInto(out *IntegrationKitStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IntegrationKitStatus) GetCondition ¶
func (in *IntegrationKitStatus) GetCondition(condType IntegrationKitConditionType) *IntegrationKitCondition
GetCondition returns the condition with the provided type.
func (*IntegrationKitStatus) GetConditions ¶
func (in *IntegrationKitStatus) GetConditions() []ResourceCondition
func (*IntegrationKitStatus) RemoveCondition ¶
func (in *IntegrationKitStatus) RemoveCondition(condType IntegrationKitConditionType)
RemoveCondition removes the resource condition with the provided type.
func (*IntegrationKitStatus) SetCondition ¶
func (in *IntegrationKitStatus) SetCondition(condType IntegrationKitConditionType, status corev1.ConditionStatus, reason string, message string)
func (*IntegrationKitStatus) SetConditions ¶
func (in *IntegrationKitStatus) SetConditions(conditions ...IntegrationKitCondition)
SetConditions updates the resource to include the provided conditions.
If a condition that we are about to add already exists and has the same status and reason then we are not going to update.
func (*IntegrationKitStatus) SetErrorCondition ¶
func (in *IntegrationKitStatus) SetErrorCondition(condType IntegrationKitConditionType, reason string, err error)
type IntegrationList ¶
type IntegrationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Integration `json:"items"` }
IntegrationList contains a list of Integration
func NewIntegrationList ¶
func NewIntegrationList() IntegrationList
func (*IntegrationList) DeepCopy ¶
func (in *IntegrationList) DeepCopy() *IntegrationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationList.
func (*IntegrationList) DeepCopyInto ¶
func (in *IntegrationList) DeepCopyInto(out *IntegrationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IntegrationList) DeepCopyObject ¶
func (in *IntegrationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IntegrationPlatform ¶
type IntegrationPlatform struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec IntegrationPlatformSpec `json:"spec,omitempty"` Status IntegrationPlatformStatus `json:"status,omitempty"` }
IntegrationPlatform is the Schema for the integrationplatforms API
func NewIntegrationPlatform ¶
func NewIntegrationPlatform(namespace string, name string) IntegrationPlatform
NewIntegrationPlatform --
func (*IntegrationPlatform) AddConfiguration ¶
func (in *IntegrationPlatform) AddConfiguration(confType string, confValue string)
AddConfiguration --
func (*IntegrationPlatform) Configurations ¶
func (in *IntegrationPlatform) Configurations() []ConfigurationSpec
Configurations --
func (*IntegrationPlatform) DeepCopy ¶
func (in *IntegrationPlatform) DeepCopy() *IntegrationPlatform
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationPlatform.
func (*IntegrationPlatform) DeepCopyInto ¶
func (in *IntegrationPlatform) DeepCopyInto(out *IntegrationPlatform)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IntegrationPlatform) DeepCopyObject ¶
func (in *IntegrationPlatform) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*IntegrationPlatform) GetActualValue ¶
func (in *IntegrationPlatform) GetActualValue(extractor func(spec IntegrationPlatformSpec) string) string
GetActualValue can be used to extract information the platform spec or its derived config in the status
func (*IntegrationPlatform) ResyncStatusFullConfig ¶
func (in *IntegrationPlatform) ResyncStatusFullConfig()
ResyncStatusFullConfig copies the spec configuration into the status field.
type IntegrationPlatformBuildPublishStrategy ¶
type IntegrationPlatformBuildPublishStrategy string
IntegrationPlatformBuildPublishStrategy enumerates all implemented publish strategies
const ( // IntegrationPlatformBuildPublishStrategyBuildah -- IntegrationPlatformBuildPublishStrategyBuildah IntegrationPlatformBuildPublishStrategy = "Buildah" // IntegrationPlatformBuildPublishStrategyKaniko -- IntegrationPlatformBuildPublishStrategyKaniko IntegrationPlatformBuildPublishStrategy = "Kaniko" // IntegrationPlatformBuildPublishStrategyS2I -- IntegrationPlatformBuildPublishStrategyS2I IntegrationPlatformBuildPublishStrategy = "S2I" // IntegrationPlatformBuildPublishStrategySpectrum -- IntegrationPlatformBuildPublishStrategySpectrum IntegrationPlatformBuildPublishStrategy = "Spectrum" )
type IntegrationPlatformBuildSpec ¶
type IntegrationPlatformBuildSpec struct { BuildStrategy BuildStrategy `json:"buildStrategy,omitempty"` PublishStrategy IntegrationPlatformBuildPublishStrategy `json:"publishStrategy,omitempty"` RuntimeVersion string `json:"runtimeVersion,omitempty"` RuntimeProvider RuntimeProvider `json:"runtimeProvider,omitempty"` BaseImage string `json:"baseImage,omitempty"` Registry RegistrySpec `json:"registry,omitempty"` Timeout *metav1.Duration `json:"timeout,omitempty"` PersistentVolumeClaim string `json:"persistentVolumeClaim,omitempty"` Maven MavenSpec `json:"maven,omitempty"` KanikoBuildCache *bool `json:"kanikoBuildCache,omitempty"` }
IntegrationPlatformBuildSpec contains platform related build information
func (*IntegrationPlatformBuildSpec) DeepCopy ¶
func (in *IntegrationPlatformBuildSpec) DeepCopy() *IntegrationPlatformBuildSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationPlatformBuildSpec.
func (*IntegrationPlatformBuildSpec) DeepCopyInto ¶
func (in *IntegrationPlatformBuildSpec) DeepCopyInto(out *IntegrationPlatformBuildSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (IntegrationPlatformBuildSpec) GetTimeout ¶
func (b IntegrationPlatformBuildSpec) GetTimeout() metav1.Duration
GetTimeout returns the specified duration or a default one
func (IntegrationPlatformBuildSpec) IsKanikoCacheEnabled ¶
func (b IntegrationPlatformBuildSpec) IsKanikoCacheEnabled() bool
IsKanikoCacheEnabled tells if the KanikoCache is enabled on the integration platform build spec
type IntegrationPlatformCluster ¶
type IntegrationPlatformCluster string
IntegrationPlatformCluster is the kind of orchestration cluster the platform is installed into
const ( // IntegrationPlatformClusterOpenShift is used when targeting a OpenShift cluster IntegrationPlatformClusterOpenShift IntegrationPlatformCluster = "OpenShift" // IntegrationPlatformClusterKubernetes is used when targeting a Kubernetes cluster IntegrationPlatformClusterKubernetes IntegrationPlatformCluster = "Kubernetes" )
type IntegrationPlatformCondition ¶
type IntegrationPlatformCondition struct { // Type of integration condition. Type IntegrationPlatformConditionType `json:"type"` // Status of the condition, one of True, False, Unknown. Status corev1.ConditionStatus `json:"status"` // The last time this condition was updated. LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty"` // Last time the condition transitioned from one status to another. LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"` // The reason for the condition's last transition. Reason string `json:"reason,omitempty"` // A human-readable message indicating details about the transition. Message string `json:"message,omitempty"` }
IntegrationPlatformCondition describes the state of a resource at a certain point.
func (*IntegrationPlatformCondition) DeepCopy ¶
func (in *IntegrationPlatformCondition) DeepCopy() *IntegrationPlatformCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationPlatformCondition.
func (*IntegrationPlatformCondition) DeepCopyInto ¶
func (in *IntegrationPlatformCondition) DeepCopyInto(out *IntegrationPlatformCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (IntegrationPlatformCondition) GetLastTransitionTime ¶
func (c IntegrationPlatformCondition) GetLastTransitionTime() metav1.Time
GetLastTransitionTime --
func (IntegrationPlatformCondition) GetLastUpdateTime ¶
func (c IntegrationPlatformCondition) GetLastUpdateTime() metav1.Time
GetLastUpdateTime --
func (IntegrationPlatformCondition) GetMessage ¶
func (c IntegrationPlatformCondition) GetMessage() string
GetMessage --
func (IntegrationPlatformCondition) GetReason ¶
func (c IntegrationPlatformCondition) GetReason() string
GetReason --
func (IntegrationPlatformCondition) GetStatus ¶
func (c IntegrationPlatformCondition) GetStatus() corev1.ConditionStatus
GetStatus --
func (IntegrationPlatformCondition) GetType ¶
func (c IntegrationPlatformCondition) GetType() string
GetType --
type IntegrationPlatformConditionType ¶
type IntegrationPlatformConditionType string
IntegrationPlatformConditionType --
type IntegrationPlatformKameletRepositorySpec ¶ added in v1.3.0
type IntegrationPlatformKameletRepositorySpec struct {
URI string `json:"uri,omitempty"`
}
IntegrationPlatformKameletRepositorySpec --
func (*IntegrationPlatformKameletRepositorySpec) DeepCopy ¶ added in v1.3.0
func (in *IntegrationPlatformKameletRepositorySpec) DeepCopy() *IntegrationPlatformKameletRepositorySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationPlatformKameletRepositorySpec.
func (*IntegrationPlatformKameletRepositorySpec) DeepCopyInto ¶ added in v1.3.0
func (in *IntegrationPlatformKameletRepositorySpec) DeepCopyInto(out *IntegrationPlatformKameletRepositorySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IntegrationPlatformKameletSpec ¶ added in v1.3.0
type IntegrationPlatformKameletSpec struct {
Repositories []IntegrationPlatformKameletRepositorySpec `json:"repositories,omitempty"`
}
IntegrationPlatformKameletSpec --
func (*IntegrationPlatformKameletSpec) DeepCopy ¶ added in v1.3.0
func (in *IntegrationPlatformKameletSpec) DeepCopy() *IntegrationPlatformKameletSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationPlatformKameletSpec.
func (*IntegrationPlatformKameletSpec) DeepCopyInto ¶ added in v1.3.0
func (in *IntegrationPlatformKameletSpec) DeepCopyInto(out *IntegrationPlatformKameletSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IntegrationPlatformList ¶
type IntegrationPlatformList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []IntegrationPlatform `json:"items"` }
IntegrationPlatformList contains a list of IntegrationPlatform
func NewIntegrationPlatformList ¶
func NewIntegrationPlatformList() IntegrationPlatformList
NewIntegrationPlatformList --
func (*IntegrationPlatformList) DeepCopy ¶
func (in *IntegrationPlatformList) DeepCopy() *IntegrationPlatformList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationPlatformList.
func (*IntegrationPlatformList) DeepCopyInto ¶
func (in *IntegrationPlatformList) DeepCopyInto(out *IntegrationPlatformList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IntegrationPlatformList) DeepCopyObject ¶
func (in *IntegrationPlatformList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IntegrationPlatformResourcesSpec ¶
type IntegrationPlatformResourcesSpec struct { }
IntegrationPlatformResourcesSpec contains platform related resources
func (*IntegrationPlatformResourcesSpec) DeepCopy ¶
func (in *IntegrationPlatformResourcesSpec) DeepCopy() *IntegrationPlatformResourcesSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationPlatformResourcesSpec.
func (*IntegrationPlatformResourcesSpec) DeepCopyInto ¶
func (in *IntegrationPlatformResourcesSpec) DeepCopyInto(out *IntegrationPlatformResourcesSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IntegrationPlatformSpec ¶
type IntegrationPlatformSpec struct { Cluster IntegrationPlatformCluster `json:"cluster,omitempty"` Profile TraitProfile `json:"profile,omitempty"` Build IntegrationPlatformBuildSpec `json:"build,omitempty"` Resources IntegrationPlatformResourcesSpec `json:"resources,omitempty"` Traits map[string]TraitSpec `json:"traits,omitempty"` Configuration []ConfigurationSpec `json:"configuration,omitempty"` Kamelet IntegrationPlatformKameletSpec `json:"kamelet,omitempty"` }
IntegrationPlatformSpec defines the desired state of IntegrationPlatform
func (*IntegrationPlatformSpec) Configurations ¶
func (in *IntegrationPlatformSpec) Configurations() []ConfigurationSpec
Configurations --
func (*IntegrationPlatformSpec) DeepCopy ¶
func (in *IntegrationPlatformSpec) DeepCopy() *IntegrationPlatformSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationPlatformSpec.
func (*IntegrationPlatformSpec) DeepCopyInto ¶
func (in *IntegrationPlatformSpec) DeepCopyInto(out *IntegrationPlatformSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IntegrationPlatformStatus ¶
type IntegrationPlatformStatus struct { IntegrationPlatformSpec `json:",inline"` Phase IntegrationPlatformPhase `json:"phase,omitempty"` Conditions []IntegrationPlatformCondition `json:"conditions,omitempty"` Version string `json:"version,omitempty"` Info map[string]string `json:"info,omitempty"` }
IntegrationPlatformStatus defines the observed state of IntegrationPlatform
func (*IntegrationPlatformStatus) DeepCopy ¶
func (in *IntegrationPlatformStatus) DeepCopy() *IntegrationPlatformStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationPlatformStatus.
func (*IntegrationPlatformStatus) DeepCopyInto ¶
func (in *IntegrationPlatformStatus) DeepCopyInto(out *IntegrationPlatformStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IntegrationPlatformStatus) GetCondition ¶
func (in *IntegrationPlatformStatus) GetCondition(condType IntegrationPlatformConditionType) *IntegrationPlatformCondition
GetCondition returns the condition with the provided type.
func (*IntegrationPlatformStatus) GetConditions ¶
func (in *IntegrationPlatformStatus) GetConditions() []ResourceCondition
GetConditions --
func (*IntegrationPlatformStatus) RemoveCondition ¶
func (in *IntegrationPlatformStatus) RemoveCondition(condType IntegrationPlatformConditionType)
RemoveCondition removes the resource condition with the provided type.
func (*IntegrationPlatformStatus) SetCondition ¶
func (in *IntegrationPlatformStatus) SetCondition(condType IntegrationPlatformConditionType, status corev1.ConditionStatus, reason string, message string)
SetCondition --
func (*IntegrationPlatformStatus) SetConditions ¶
func (in *IntegrationPlatformStatus) SetConditions(conditions ...IntegrationPlatformCondition)
SetConditions updates the resource to include the provided conditions.
If a condition that we are about to add already exists and has the same status and reason then we are not going to update.
func (*IntegrationPlatformStatus) SetErrorCondition ¶
func (in *IntegrationPlatformStatus) SetErrorCondition(condType IntegrationPlatformConditionType, reason string, err error)
SetErrorCondition --
type IntegrationSpec ¶
type IntegrationSpec struct { Replicas *int32 `json:"replicas,omitempty"` Sources []SourceSpec `json:"sources,omitempty"` Flows []Flow `json:"flows,omitempty"` // Deprecated: // Use container trait (container.resources) to manage resources // Use openapi trait (openapi.configmaps) to manage OpenAPIs specifications Resources []ResourceSpec `json:"resources,omitempty"` // Deprecated: use the IntegrationKit field Kit string `json:"kit,omitempty"` IntegrationKit *corev1.ObjectReference `json:"integrationKit,omitempty"` Dependencies []string `json:"dependencies,omitempty"` Profile TraitProfile `json:"profile,omitempty"` Traits map[string]TraitSpec `json:"traits,omitempty"` PodTemplate *PodSpecTemplate `json:"template,omitempty"` // Deprecated: // Use camel trait (camel.properties) to manage properties // Use container trait (mount.configs) to manage configs // Use container trait (mount.resources) to manage resources // Use container trait (mount.volumes) to manage volumes Configuration []ConfigurationSpec `json:"configuration,omitempty"` Repositories []string `json:"repositories,omitempty"` ServiceAccountName string `json:"serviceAccountName,omitempty"` }
IntegrationSpec defines the desired state of Integration
func (*IntegrationSpec) AddConfiguration ¶
func (in *IntegrationSpec) AddConfiguration(confType string, confValue string)
func (*IntegrationSpec) AddConfigurationAsResource ¶ added in v1.5.0
func (in *IntegrationSpec) AddConfigurationAsResource( confType string, confValue string, resourceType string, resourceMountPoint string, resourceKey string)
AddConfigurationAsResource will set a configuration specified with a resource type
func (*IntegrationSpec) AddDependency ¶
func (in *IntegrationSpec) AddDependency(dependency string)
func (*IntegrationSpec) AddFlows ¶
func (in *IntegrationSpec) AddFlows(flows ...Flow)
func (*IntegrationSpec) AddResources ¶
func (in *IntegrationSpec) AddResources(resources ...ResourceSpec)
func (*IntegrationSpec) AddSource ¶
func (in *IntegrationSpec) AddSource(name string, content string, language Language)
func (*IntegrationSpec) AddSources ¶
func (in *IntegrationSpec) AddSources(sources ...SourceSpec)
func (*IntegrationSpec) Configurations ¶
func (in *IntegrationSpec) Configurations() []ConfigurationSpec
func (*IntegrationSpec) DeepCopy ¶
func (in *IntegrationSpec) DeepCopy() *IntegrationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationSpec.
func (*IntegrationSpec) DeepCopyInto ¶
func (in *IntegrationSpec) DeepCopyInto(out *IntegrationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IntegrationSpec) GetConfigurationProperty ¶ added in v1.4.1
func (in *IntegrationSpec) GetConfigurationProperty(property string) string
GetConfigurationProperty returns a configuration property
type IntegrationStatus ¶
type IntegrationStatus struct { Phase IntegrationPhase `json:"phase,omitempty"` Digest string `json:"digest,omitempty"` Image string `json:"image,omitempty"` Dependencies []string `json:"dependencies,omitempty"` Profile TraitProfile `json:"profile,omitempty"` // Deprecated: use the IntegrationKit field Kit string `json:"kit,omitempty"` IntegrationKit *corev1.ObjectReference `json:"integrationKit,omitempty"` Platform string `json:"platform,omitempty"` GeneratedSources []SourceSpec `json:"generatedSources,omitempty"` GeneratedResources []ResourceSpec `json:"generatedResources,omitempty"` RuntimeVersion string `json:"runtimeVersion,omitempty"` RuntimeProvider RuntimeProvider `json:"runtimeProvider,omitempty"` Configuration []ConfigurationSpec `json:"configuration,omitempty"` Conditions []IntegrationCondition `json:"conditions,omitempty"` Version string `json:"version,omitempty"` Replicas *int32 `json:"replicas,omitempty"` Selector string `json:"selector,omitempty"` Capabilities []string `json:"capabilities,omitempty"` // The timestamp representing the last time when this integration was initialized. InitializationTimestamp *metav1.Time `json:"lastInitTimestamp,omitempty"` }
IntegrationStatus defines the observed state of Integration
func (*IntegrationStatus) AddConfigurationsIfMissing ¶ added in v1.2.0
func (in *IntegrationStatus) AddConfigurationsIfMissing(configurations ...ConfigurationSpec)
func (*IntegrationStatus) AddOrReplaceGeneratedResources ¶
func (in *IntegrationStatus) AddOrReplaceGeneratedResources(resources ...ResourceSpec)
func (*IntegrationStatus) AddOrReplaceGeneratedSources ¶
func (in *IntegrationStatus) AddOrReplaceGeneratedSources(sources ...SourceSpec)
func (*IntegrationStatus) Configurations ¶
func (in *IntegrationStatus) Configurations() []ConfigurationSpec
func (*IntegrationStatus) DeepCopy ¶
func (in *IntegrationStatus) DeepCopy() *IntegrationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationStatus.
func (*IntegrationStatus) DeepCopyInto ¶
func (in *IntegrationStatus) DeepCopyInto(out *IntegrationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IntegrationStatus) GetCondition ¶
func (in *IntegrationStatus) GetCondition(condType IntegrationConditionType) *IntegrationCondition
GetCondition returns the condition with the provided type.
func (*IntegrationStatus) GetConditions ¶
func (in *IntegrationStatus) GetConditions() []ResourceCondition
func (*IntegrationStatus) RemoveCondition ¶
func (in *IntegrationStatus) RemoveCondition(condType IntegrationConditionType)
RemoveCondition removes the resource condition with the provided type.
func (*IntegrationStatus) SetCondition ¶
func (in *IntegrationStatus) SetCondition(condType IntegrationConditionType, status corev1.ConditionStatus, reason string, message string)
func (*IntegrationStatus) SetConditions ¶
func (in *IntegrationStatus) SetConditions(conditions ...IntegrationCondition)
SetConditions updates the resource to include the provided conditions.
If a condition that we are about to add already exists and has the same status and reason then we are not going to update.
func (*IntegrationStatus) SetErrorCondition ¶
func (in *IntegrationStatus) SetErrorCondition(condType IntegrationConditionType, reason string, err error)
type KanikoTask ¶ added in v1.4.0
type KanikoTask struct { BaseTask `json:",inline"` PublishTask `json:",inline"` Verbose *bool `json:"verbose,omitempty"` Cache KanikoTaskCache `json:"cache,omitempty"` }
KanikoTask --
func (*KanikoTask) DeepCopy ¶ added in v1.4.0
func (in *KanikoTask) DeepCopy() *KanikoTask
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KanikoTask.
func (*KanikoTask) DeepCopyInto ¶ added in v1.4.0
func (in *KanikoTask) DeepCopyInto(out *KanikoTask)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KanikoTaskCache ¶ added in v1.4.0
type KanikoTaskCache struct { Enabled *bool `json:"enabled,omitempty"` PersistentVolumeClaim string `json:"persistentVolumeClaim,omitempty"` }
KanikoTaskCache --
func (*KanikoTaskCache) DeepCopy ¶ added in v1.4.0
func (in *KanikoTaskCache) DeepCopy() *KanikoTaskCache
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KanikoTaskCache.
func (*KanikoTaskCache) DeepCopyInto ¶ added in v1.4.0
func (in *KanikoTaskCache) DeepCopyInto(out *KanikoTaskCache)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Language ¶
type Language string
Language --
const ( // LanguageJavaSource -- LanguageJavaSource Language = "java" // LanguageGroovy -- LanguageGroovy Language = "groovy" // LanguageJavaScript -- LanguageJavaScript Language = "js" // LanguageXML -- LanguageXML Language = "xml" // LanguageKotlin -- LanguageKotlin Language = "kts" // LanguageYaml -- LanguageYaml Language = "yaml" // LanguageKamelet -- LanguageKamelet Language = "kamelet" )
type MavenArtifact ¶
type MavenArtifact struct { GroupID string `json:"groupId" yaml:"groupId" xml:"groupId"` ArtifactID string `json:"artifactId" yaml:"artifactId" xml:"artifactId"` Version string `json:"version,omitempty" yaml:"version,omitempty" xml:"version,omitempty"` }
MavenArtifact defines a Maven artifact
func (*MavenArtifact) DeepCopy ¶
func (in *MavenArtifact) DeepCopy() *MavenArtifact
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MavenArtifact.
func (*MavenArtifact) DeepCopyInto ¶
func (in *MavenArtifact) DeepCopyInto(out *MavenArtifact)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MavenArtifact) GetDependencyID ¶ added in v1.4.0
func (in *MavenArtifact) GetDependencyID() string
type MavenBuildSpec ¶ added in v1.8.0
type MavenBuildSpec struct { MavenSpec `json:",inline"` // The Maven repositories. Repositories []Repository `json:"repositories,omitempty"` }
MavenBuildSpec --
func (*MavenBuildSpec) DeepCopy ¶ added in v1.8.0
func (in *MavenBuildSpec) DeepCopy() *MavenBuildSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MavenBuildSpec.
func (*MavenBuildSpec) DeepCopyInto ¶ added in v1.8.0
func (in *MavenBuildSpec) DeepCopyInto(out *MavenBuildSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MavenSpec ¶
type MavenSpec struct { // The path of the local Maven repository. LocalRepository string `json:"localRepository,omitempty"` // The Maven properties. Properties map[string]string `json:"properties,omitempty"` // A reference to the ConfigMap or Secret key that contains // the Maven settings. Settings ValueSource `json:"settings,omitempty"` // The Secret name and key, containing the CA certificate(s) used to connect // to remote Maven repositories. // It can contain X.509 certificates, and PKCS#7 formatted certificate chains. // A JKS formatted keystore is automatically created to store the CA certificate(s), // and configured to be used as a trusted certificate(s) by the Maven commands. // Note that the root CA certificates are also imported into the created keystore. CASecret *corev1.SecretKeySelector `json:"caSecret,omitempty"` // Deprecated: use IntegrationPlatform.Spec.Build.Timeout instead Timeout *metav1.Duration `json:"timeout,omitempty"` // The Maven build extensions. // See https://maven.apache.org/guides/mini/guide-using-extensions.html. Extension []MavenArtifact `json:"extension,omitempty"` // The CLI options that are appended to the list of arguments for Maven commands, // e.g., `-V,--no-transfer-progress,-Dstyle.color=never`. // See https://maven.apache.org/ref/3.8.4/maven-embedder/cli.html. CLIOptions []string `json:"cliOptions,omitempty"` }
MavenSpec --
func (*MavenSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MavenSpec.
func (*MavenSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PodSpec ¶ added in v1.5.0
type PodSpec struct { Volumes []corev1.Volume `json:"volumes,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"name" protobuf:"bytes,1,rep,name=volumes"` InitContainers []corev1.Container `json:"initContainers,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,20,rep,name=initContainers"` Containers []corev1.Container `json:"containers" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,2,rep,name=containers"` EphemeralContainers []corev1.EphemeralContainer `` /* 128-byte string literal not displayed */ RestartPolicy corev1.RestartPolicy `json:"restartPolicy,omitempty" protobuf:"bytes,3,opt,name=restartPolicy,casttype=RestartPolicy"` TerminationGracePeriodSeconds *int64 `json:"terminationGracePeriodSeconds,omitempty" protobuf:"varint,4,opt,name=terminationGracePeriodSeconds"` ActiveDeadlineSeconds *int64 `json:"activeDeadlineSeconds,omitempty" protobuf:"varint,5,opt,name=activeDeadlineSeconds"` DNSPolicy corev1.DNSPolicy `json:"dnsPolicy,omitempty" protobuf:"bytes,6,opt,name=dnsPolicy,casttype=DNSPolicy"` NodeSelector map[string]string `json:"nodeSelector,omitempty" protobuf:"bytes,7,rep,name=nodeSelector"` TopologySpreadConstraints []corev1.TopologySpreadConstraint `` /* 147-byte string literal not displayed */ }
func (*PodSpec) DeepCopy ¶ added in v1.5.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSpec.
func (*PodSpec) DeepCopyInto ¶ added in v1.5.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PodSpecTemplate ¶ added in v1.5.0
type PodSpecTemplate struct {
Spec PodSpec `json:"spec,omitempty"`
}
func (*PodSpecTemplate) DeepCopy ¶ added in v1.5.0
func (in *PodSpecTemplate) DeepCopy() *PodSpecTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSpecTemplate.
func (*PodSpecTemplate) DeepCopyInto ¶ added in v1.5.0
func (in *PodSpecTemplate) DeepCopyInto(out *PodSpecTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PublishTask ¶ added in v1.4.0
type PublishTask struct { ContextDir string `json:"contextDir,omitempty"` BaseImage string `json:"baseImage,omitempty"` Image string `json:"image,omitempty"` Registry RegistrySpec `json:"registry,omitempty"` }
PublishTask --
func (*PublishTask) DeepCopy ¶ added in v1.4.0
func (in *PublishTask) DeepCopy() *PublishTask
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublishTask.
func (*PublishTask) DeepCopyInto ¶ added in v1.4.0
func (in *PublishTask) DeepCopyInto(out *PublishTask)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RawMessage ¶ added in v1.3.0
type RawMessage []byte
RawMessage is a raw encoded JSON value. It implements Marshaler and Unmarshaler and can be used to delay JSON decoding or precompute a JSON encoding.
func (RawMessage) DeepCopy ¶ added in v1.3.0
func (in RawMessage) DeepCopy() RawMessage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RawMessage.
func (RawMessage) DeepCopyInto ¶ added in v1.3.0
func (in RawMessage) DeepCopyInto(out *RawMessage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (RawMessage) MarshalJSON ¶ added in v1.3.0
func (m RawMessage) MarshalJSON() ([]byte, error)
MarshalJSON returns m as the JSON encoding of m.
func (*RawMessage) UnmarshalJSON ¶ added in v1.3.0
func (m *RawMessage) UnmarshalJSON(data []byte) error
UnmarshalJSON sets *m to a copy of data.
type RegistrySpec ¶ added in v1.6.1
type RegistrySpec struct { Insecure bool `json:"insecure,omitempty"` Address string `json:"address,omitempty"` Secret string `json:"secret,omitempty"` CA string `json:"ca,omitempty"` Organization string `json:"organization,omitempty"` }
RegistrySpec provides the configuration for the container registry
func (*RegistrySpec) DeepCopy ¶ added in v1.6.1
func (in *RegistrySpec) DeepCopy() *RegistrySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistrySpec.
func (*RegistrySpec) DeepCopyInto ¶ added in v1.6.1
func (in *RegistrySpec) DeepCopyInto(out *RegistrySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Repository ¶ added in v1.5.0
type Repository struct { ID string `xml:"id" json:"id"` Name string `xml:"name,omitempty" json:"name,omitempty"` URL string `xml:"url" json:"url"` Snapshots RepositoryPolicy `xml:"snapshots,omitempty" json:"snapshots,omitempty"` Releases RepositoryPolicy `xml:"releases,omitempty" json:"releases,omitempty"` }
Repository defines a Maven repository
func (*Repository) DeepCopy ¶ added in v1.5.0
func (in *Repository) DeepCopy() *Repository
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository.
func (*Repository) DeepCopyInto ¶ added in v1.5.0
func (in *Repository) DeepCopyInto(out *Repository)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositoryPolicy ¶ added in v1.5.0
type RepositoryPolicy struct { Enabled bool `xml:"enabled" json:"enabled"` UpdatePolicy string `xml:"updatePolicy,omitempty" json:"updatePolicy,omitempty"` ChecksumPolicy string `xml:"checksumPolicy,omitempty" json:"checksumPolicy,omitempty"` }
RepositoryPolicy defines the policy associated to a Maven repository
func (*RepositoryPolicy) DeepCopy ¶ added in v1.5.0
func (in *RepositoryPolicy) DeepCopy() *RepositoryPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryPolicy.
func (*RepositoryPolicy) DeepCopyInto ¶ added in v1.5.0
func (in *RepositoryPolicy) DeepCopyInto(out *RepositoryPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceCondition ¶
type ResourceCondition interface { GetType() string GetStatus() corev1.ConditionStatus GetLastUpdateTime() metav1.Time GetLastTransitionTime() metav1.Time GetReason() string GetMessage() string }
ResourceCondition is a common type for all conditions
type ResourceSpec ¶
type ResourceSpec struct { DataSpec `json:",inline"` Type ResourceType `json:"type,omitempty"` MountPath string `json:"mountPath,omitempty"` }
ResourceSpec --
func NewResourceSpec ¶
func NewResourceSpec(name string, content string, destination string, resourceType ResourceType) ResourceSpec
func (*ResourceSpec) DeepCopy ¶
func (in *ResourceSpec) DeepCopy() *ResourceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSpec.
func (*ResourceSpec) DeepCopyInto ¶
func (in *ResourceSpec) DeepCopyInto(out *ResourceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceType ¶
type ResourceType string
ResourceType --
const ( // ResourceTypeData represents a generic data resource ResourceTypeData ResourceType = "data" // ResourceTypeConfig represents a config resource known to runtime ResourceTypeConfig ResourceType = "config" // ResourceTypeOpenAPI represents an OpenAPI config resource ResourceTypeOpenAPI ResourceType = "openapi" )
type RuntimeProvider ¶
type RuntimeProvider string
RuntimeProvider --
const ( // RuntimeProviderQuarkus -- RuntimeProviderQuarkus RuntimeProvider = "quarkus" )
type RuntimeSpec ¶
type RuntimeSpec struct { Version string `json:"version" yaml:"version"` Provider RuntimeProvider `json:"provider" yaml:"provider"` ApplicationClass string `json:"applicationClass" yaml:"applicationClass"` Dependencies []MavenArtifact `json:"dependencies" yaml:"dependencies"` Metadata map[string]string `json:"metadata,omitempty" yaml:"metadata,omitempty"` Capabilities map[string]Capability `json:"capabilities,omitempty" yaml:"capabilities,omitempty"` }
RuntimeSpec --
func (*RuntimeSpec) CapabilityDependencies ¶
func (in *RuntimeSpec) CapabilityDependencies(capability string) []MavenArtifact
func (*RuntimeSpec) DeepCopy ¶
func (in *RuntimeSpec) DeepCopy() *RuntimeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeSpec.
func (*RuntimeSpec) DeepCopyInto ¶
func (in *RuntimeSpec) DeepCopyInto(out *RuntimeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type S2iTask ¶ added in v1.4.0
type S2iTask struct { BaseTask `json:",inline"` ContextDir string `json:"contextDir,omitempty"` Tag string `json:"tag,omitempty"` }
S2iTask --
func (*S2iTask) DeepCopy ¶ added in v1.4.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S2iTask.
func (*S2iTask) DeepCopyInto ¶ added in v1.4.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SourceSpec ¶
type SourceSpec struct { DataSpec `json:",inline"` Language Language `json:"language,omitempty"` // Loader is an optional id of the org.apache.camel.k.RoutesLoader that will // interpret this source at runtime Loader string `json:"loader,omitempty"` // Interceptors are optional identifiers the org.apache.camel.k.RoutesLoader // uses to pre/post process sources Interceptors []string `json:"interceptors,omitempty"` // Type defines the kind of source described by this object Type SourceType `json:"type,omitempty"` // List of property names defined in the source (e.g. if type is "template") PropertyNames []string `json:"property-names,omitempty"` }
SourceSpec --
func NewSourceSpec ¶
func NewSourceSpec(name string, content string, language Language) SourceSpec
func (*SourceSpec) DeepCopy ¶
func (in *SourceSpec) DeepCopy() *SourceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceSpec.
func (*SourceSpec) DeepCopyInto ¶
func (in *SourceSpec) DeepCopyInto(out *SourceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SourceSpec) InferLanguage ¶
func (in *SourceSpec) InferLanguage() Language
InferLanguage returns the language of the source or discovers it from file extension if not set
type SourceType ¶ added in v1.2.0
type SourceType string
const ( SourceTypeDefault SourceType = "" SourceTypeTemplate SourceType = "template" SourceTypeErrorHandler SourceType = "errorHandler" )
type SpectrumTask ¶ added in v1.4.0
type SpectrumTask struct { BaseTask `json:",inline"` PublishTask `json:",inline"` }
SpectrumTask --
func (*SpectrumTask) DeepCopy ¶ added in v1.4.0
func (in *SpectrumTask) DeepCopy() *SpectrumTask
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpectrumTask.
func (*SpectrumTask) DeepCopyInto ¶ added in v1.4.0
func (in *SpectrumTask) DeepCopyInto(out *SpectrumTask)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Task ¶
type Task struct { Builder *BuilderTask `json:"builder,omitempty"` Buildah *BuildahTask `json:"buildah,omitempty"` Kaniko *KanikoTask `json:"kaniko,omitempty"` Spectrum *SpectrumTask `json:"spectrum,omitempty"` S2i *S2iTask `json:"s2i,omitempty"` }
Task --
func (*Task) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Task.
func (*Task) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Template ¶ added in v1.5.0
type Template struct {
RawMessage `json:",inline"`
}
Template is an unstructured object representing a Kamelet template in YAML/JSON DSL
func (*Template) DeepCopy ¶ added in v1.5.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Template.
func (*Template) DeepCopyInto ¶ added in v1.5.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TraitConfiguration ¶
type TraitConfiguration struct {
RawMessage `json:",inline"`
}
func (*TraitConfiguration) DeepCopy ¶
func (in *TraitConfiguration) DeepCopy() *TraitConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TraitConfiguration.
func (*TraitConfiguration) DeepCopyInto ¶
func (in *TraitConfiguration) DeepCopyInto(out *TraitConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TraitProfile ¶
type TraitProfile string
TraitProfile represents lists of traits that are enabled for the specific installation/integration
const ( // TraitProfileOpenShift is used by default on OpenShift clusters TraitProfileOpenShift TraitProfile = "OpenShift" // TraitProfileKubernetes is used by default on Kubernetes clusters TraitProfileKubernetes TraitProfile = "Kubernetes" // TraitProfileKnative is used by default on OpenShift/Kubernetes clusters powered by Knative TraitProfileKnative TraitProfile = "Knative" // DefaultTraitProfile is the trait profile used as default when no other profile is set DefaultTraitProfile = TraitProfileKubernetes )
func TraitProfileByName ¶
func TraitProfileByName(name string) TraitProfile
TraitProfileByName returns the trait profile corresponding to the given name (case insensitive)
type TraitSpec ¶
type TraitSpec struct { // TraitConfiguration -- Configuration TraitConfiguration `json:"configuration"` }
A TraitSpec contains the configuration of a trait
func (*TraitSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TraitSpec.
func (*TraitSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ValueSource ¶
type ValueSource struct { // Selects a key of a ConfigMap. ConfigMapKeyRef *corev1.ConfigMapKeySelector `json:"configMapKeyRef,omitempty"` // Selects a key of a secret. SecretKeyRef *corev1.SecretKeySelector `json:"secretKeyRef,omitempty"` }
ValueSource --
func (*ValueSource) DeepCopy ¶
func (in *ValueSource) DeepCopy() *ValueSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValueSource.
func (*ValueSource) DeepCopyInto ¶
func (in *ValueSource) DeepCopyInto(out *ValueSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files ¶
- build_types.go
- build_types_support.go
- camelcatalog_types.go
- camelcatalog_types_support.go
- common_types.go
- common_types_support.go
- doc.go
- integration_types.go
- integration_types_support.go
- integrationkit_types.go
- integrationkit_types_support.go
- integrationplatform_types.go
- integrationplatform_types_support.go
- maven_types.go
- register.go
- zz_generated.deepcopy.go
- zz_generated.defaults.go