v1

package
v0.0.0-...-ded4385 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

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

View Source
const (
	// BuildKind --
	BuildKind string = "Build"

	// BuildPhaseNone --
	BuildPhaseNone BuildPhase = ""
	// BuildPhaseInitialization --
	BuildPhaseInitialization BuildPhase = "Initialization"
	// BuildPhaseWaitingForPlatform --
	BuildPhaseWaitingForPlatform BuildPhase = "Waiting For Platform"
	// 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"

	// BuildConditionPlatformAvailable --
	BuildConditionPlatformAvailable BuildConditionType = "IntegrationPlatformAvailable"
	// BuildConditionPlatformAvailableReason --
	BuildConditionPlatformAvailableReason string = "IntegrationPlatformAvailable"
)
View Source
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"
)
View Source
const (
	// IntegrationKind --
	IntegrationKind string = "Integration"

	// IntegrationPhaseNone --
	IntegrationPhaseNone IntegrationPhase = ""
	// IntegrationPhaseInitialization --
	IntegrationPhaseInitialization IntegrationPhase = "Initialization"
	// IntegrationPhaseWaitingForPlatform --
	IntegrationPhaseWaitingForPlatform IntegrationPhase = "Waiting For Platform"
	// IntegrationPhaseBuildingKit --
	IntegrationPhaseBuildingKit IntegrationPhase = "Building Kit"
	// IntegrationPhaseResolvingKit --
	IntegrationPhaseResolvingKit IntegrationPhase = "Resolving Kit"
	// IntegrationPhaseWaitingForBindings e.g Service Bindings --
	IntegrationPhaseWaitingForBindings IntegrationPhase = "Waiting for Bindings"
	// IntegrationPhaseDeploying --
	IntegrationPhaseDeploying IntegrationPhase = "Deploying"
	// IntegrationPhaseRunning --
	IntegrationPhaseRunning IntegrationPhase = "Running"
	// IntegrationPhaseUpdating is a phase where the operator is not supposed to interact with the resource
	IntegrationPhaseUpdating IntegrationPhase = "Updating"
	// 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"
	// IntegrationConditionServiceBindingsCollectionReady --
	IntegrationConditionServiceBindingsCollectionReady IntegrationConditionType = "ServiceBindingsCollectionReady"
	// 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"
	// IntegrationConditionErrorReason --
	IntegrationConditionErrorReason string = "Error"
	// IntegrationConditionCronJobCreatedReason --
	IntegrationConditionCronJobCreatedReason string = "CronJobCreated"
	// IntegrationConditionReplicaSetReadyReason --
	IntegrationConditionReplicaSetReadyReason string = "ReplicaSetReady"
	// IntegrationConditionReplicaSetNotReadyReason --
	IntegrationConditionReplicaSetNotReadyReason string = "ReplicaSetNotReady"
)
View Source
const (
	// IntegrationKitKind --
	IntegrationKitKind string = "IntegrationKit"

	// IntegrationKitTypePlatform --
	IntegrationKitTypePlatform = "platform"

	// IntegrationKitTypeUser --
	IntegrationKitTypeUser = "user"

	// IntegrationKitTypeExternal --
	IntegrationKitTypeExternal = "external"

	// 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"
)
View Source
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"
)
View Source
const (
	// CamelCatalogKind --
	CamelCatalogKind string = "CamelCatalog"
)
View Source
const IntegrationLabel = "camel.apache.org/integration"

Variables

View Source
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
)

AllIntegrationPlatformClusters --

AllTraitProfiles contains all allowed profiles

IntegrationPlatformBuildPublishStrategies --

IntegrationPlatformBuildStrategies --

Languages is the list of all supported languages

Functions

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

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

func (in *Artifact) DeepCopy() *Artifact

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Artifact.

func (*Artifact) DeepCopyInto

func (in *Artifact) DeepCopyInto(out *Artifact)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Artifact) String

func (in *Artifact) String() string

type BaseTask

type BaseTask struct {
	Name string `json:"name,omitempty"`
}

BaseTask --

func (*BaseTask) DeepCopy

func (in *BaseTask) DeepCopy() *BaseTask

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BaseTask.

func (*BaseTask) DeepCopyInto

func (in *BaseTask) DeepCopyInto(out *BaseTask)

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 NewBuild

func NewBuild(namespace string, name string) Build

NewBuild --

func (*Build) DeepCopy

func (in *Build) DeepCopy() *Build

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Build.

func (*Build) DeepCopyInto

func (in *Build) DeepCopyInto(out *Build)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Build) DeepCopyObject

func (in *Build) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Build) SetIntegrationPlatform

func (in *Build) SetIntegrationPlatform(platform *IntegrationPlatform)

SetIntegrationPlatform --

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

GetLastTransitionTime --

func (BuildCondition) GetLastUpdateTime

func (c BuildCondition) GetLastUpdateTime() metav1.Time

GetLastUpdateTime --

func (BuildCondition) GetMessage

func (c BuildCondition) GetMessage() string

GetMessage --

func (BuildCondition) GetReason

func (c BuildCondition) GetReason() string

GetReason --

func (BuildCondition) GetStatus

func (c BuildCondition) GetStatus() corev1.ConditionStatus

GetStatus --

func (BuildCondition) GetType

func (c BuildCondition) GetType() string

GetType --

type BuildConditionType

type BuildConditionType string

BuildConditionType --

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

NewBuildList --

func (*BuildList) DeepCopy

func (in *BuildList) DeepCopy() *BuildList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildList.

func (*BuildList) DeepCopyInto

func (in *BuildList) DeepCopyInto(out *BuildList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BuildList) DeepCopyObject

func (in *BuildList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type BuildPhase

type BuildPhase string

BuildPhase --

func (*BuildPhase) String

func (buildPhase *BuildPhase) String() string

type BuildSpec

type BuildSpec struct {
	Tasks []Task `json:"tasks,omitempty"`
}

BuildSpec defines the desired state of Build

func (*BuildSpec) DeepCopy

func (in *BuildSpec) DeepCopy() *BuildSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildSpec.

func (*BuildSpec) DeepCopyInto

func (in *BuildSpec) DeepCopyInto(out *BuildSpec)

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"`
	Platform   string           `json:"platform,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

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

GetConditions --

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)

SetCondition --

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)

SetErrorCondition --

type BuildahTask

type BuildahTask struct {
	BaseTask        `json:",inline"`
	PublishTask     `json:",inline"`
	Verbose         *bool  `json:"verbose,omitempty"`
	HttpProxySecret string `json:"httpProxySecret,omitempty"`
}

BuildahTask --

func (*BuildahTask) DeepCopy

func (in *BuildahTask) DeepCopy() *BuildahTask

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildahTask.

func (*BuildahTask) DeepCopyInto

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        MavenSpec         `json:"maven,omitempty"`
	BuildDir     string            `json:"buildDir,omitempty"`
	Properties   map[string]string `json:"properties,omitempty"`
	Timeout      metav1.Duration   `json:"timeout,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

func (in *CamelArtifact) GetConsumerDependencies(schemeID string) []CamelArtifactDependency

func (*CamelArtifact) GetConsumerDependencyIDs

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

func (in *CamelArtifact) GetProducerDependencies(schemeID string) []CamelArtifactDependency

func (*CamelArtifact) GetProducerDependencyIDs

func (in *CamelArtifact) GetProducerDependencyIDs(schemeID string) (deps []string)

func (*CamelArtifact) GetScheme

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

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

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 NewCamelCatalogList

func NewCamelCatalogList() CamelCatalogList

NewCamelCatalogList --

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

type CamelSchemeScope struct {
	Dependencies []CamelArtifactDependency `json:"dependencies,omitempty" yaml:"dependencies,omitempty"`
}

CamelSchemeScope contains scoped information about a scheme

func (*CamelSchemeScope) DeepCopy

func (in *CamelSchemeScope) DeepCopy() *CamelSchemeScope

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CamelSchemeScope.

func (*CamelSchemeScope) DeepCopyInto

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
}

+kubebuilder:object:generate=false Configurable --

type ConfigurationSpec

type ConfigurationSpec struct {
	Type  string `json:"type"`
	Value string `json:"value"`
}

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"`
	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

func (in *DataSpec) DeepCopy() *DataSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataSpec.

func (*DataSpec) DeepCopyInto

func (in *DataSpec) DeepCopyInto(out *DataSpec)

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

func (in *Failure) DeepCopy() *Failure

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Failure.

func (*Failure) DeepCopyInto

func (in *Failure) DeepCopyInto(out *Failure)

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

func (in *Flow) DeepCopy() *Flow

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Flow.

func (*Flow) DeepCopyInto

func (in *Flow) DeepCopyInto(out *Flow)

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

NewIntegration --

func (*Integration) Configurations

func (in *Integration) Configurations() []ConfigurationSpec

Configurations --

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

func (in *Integration) GetIntegrationKitNamespace(p *IntegrationPlatform) string

GetIntegrationKitNamespace --

func (*Integration) Initialize

func (in *Integration) Initialize()

Sources return a new slice containing all the sources associated to the integration

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)

SetIntegrationKit --

func (*Integration) SetIntegrationPlatform

func (in *Integration) SetIntegrationPlatform(platform *IntegrationPlatform)

SetIntegrationPlatform --

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

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

GetLastTransitionTime --

func (IntegrationCondition) GetLastUpdateTime

func (c IntegrationCondition) GetLastUpdateTime() metav1.Time

GetLastUpdateTime --

func (IntegrationCondition) GetMessage

func (c IntegrationCondition) GetMessage() string

GetMessage --

func (IntegrationCondition) GetReason

func (c IntegrationCondition) GetReason() string

GetReason --

func (IntegrationCondition) GetStatus

GetStatus --

func (IntegrationCondition) GetType

func (c IntegrationCondition) GetType() string

GetType --

type IntegrationConditionType

type IntegrationConditionType string

IntegrationConditionType --

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

NewIntegrationKit --

func (*IntegrationKit) Configurations

func (in *IntegrationKit) Configurations() []ConfigurationSpec

Configurations --

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) SetIntegrationPlatform

func (in *IntegrationKit) SetIntegrationPlatform(platform *IntegrationPlatform)

SetIntegrationPlatform --

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

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

GetLastTransitionTime --

func (IntegrationKitCondition) GetLastUpdateTime

func (c IntegrationKitCondition) GetLastUpdateTime() metav1.Time

GetLastUpdateTime --

func (IntegrationKitCondition) GetMessage

func (c IntegrationKitCondition) GetMessage() string

GetMessage --

func (IntegrationKitCondition) GetReason

func (c IntegrationKitCondition) GetReason() string

GetReason --

func (IntegrationKitCondition) GetStatus

GetStatus --

func (IntegrationKitCondition) GetType

func (c IntegrationKitCondition) GetType() string

GetType --

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

NewIntegrationKitList --

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 IntegrationKitPhase

type IntegrationKitPhase string

IntegrationKitPhase --

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

Configurations --

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

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

GetCondition returns the condition with the provided type.

func (*IntegrationKitStatus) GetConditions

func (in *IntegrationKitStatus) GetConditions() []ResourceCondition

GetConditions --

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)

SetCondition --

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)

SetErrorCondition --

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

NewIntegrationList --

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 IntegrationPhase

type IntegrationPhase string

IntegrationPhase --

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         IntegrationPlatformBuildStrategy        `json:"buildStrategy,omitempty"`
	PublishStrategy       IntegrationPlatformBuildPublishStrategy `json:"publishStrategy,omitempty"`
	RuntimeVersion        string                                  `json:"runtimeVersion,omitempty"`
	RuntimeProvider       RuntimeProvider                         `json:"runtimeProvider,omitempty"`
	BaseImage             string                                  `json:"baseImage,omitempty"`
	Properties            map[string]string                       `json:"properties,omitempty"`
	Registry              IntegrationPlatformRegistrySpec         `json:"registry,omitempty"`
	Timeout               *metav1.Duration                        `json:"timeout,omitempty"`
	PersistentVolumeClaim string                                  `json:"persistentVolumeClaim,omitempty"`
	Maven                 MavenSpec                               `json:"maven,omitempty"`
	HTTPProxySecret       string                                  `json:"httpProxySecret,omitempty"`
	KanikoBuildCache      *bool                                   `json:"kanikoBuildCache,omitempty"`
}

IntegrationPlatformBuildSpec contains platform related build information

func (*IntegrationPlatformBuildSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationPlatformBuildSpec.

func (*IntegrationPlatformBuildSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (IntegrationPlatformBuildSpec) GetTimeout

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 IntegrationPlatformBuildStrategy

type IntegrationPlatformBuildStrategy string

IntegrationPlatformBuildStrategy enumerates all implemented build strategies

const (
	// IntegrationPlatformBuildStrategyRoutine performs the build in a routine
	IntegrationPlatformBuildStrategyRoutine IntegrationPlatformBuildStrategy = "routine"
	// IntegrationPlatformBuildStrategyPod performs the build in a pod
	IntegrationPlatformBuildStrategyPod IntegrationPlatformBuildStrategy = "pod"
)

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationPlatformCondition.

func (*IntegrationPlatformCondition) DeepCopyInto

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

GetStatus --

func (IntegrationPlatformCondition) GetType

GetType --

type IntegrationPlatformConditionType

type IntegrationPlatformConditionType string

IntegrationPlatformConditionType --

type IntegrationPlatformKameletRepositorySpec

type IntegrationPlatformKameletRepositorySpec struct {
	URI string `json:"uri,omitempty"`
}

IntegrationPlatformKameletRepositorySpec --

func (*IntegrationPlatformKameletRepositorySpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationPlatformKameletRepositorySpec.

func (*IntegrationPlatformKameletRepositorySpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type IntegrationPlatformKameletSpec

type IntegrationPlatformKameletSpec struct {
	Repositories []IntegrationPlatformKameletRepositorySpec `json:"repositories,omitempty"`
}

IntegrationPlatformKameletSpec --

func (*IntegrationPlatformKameletSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationPlatformKameletSpec.

func (*IntegrationPlatformKameletSpec) DeepCopyInto

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

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 IntegrationPlatformPhase

type IntegrationPlatformPhase string

IntegrationPlatformPhase --

type IntegrationPlatformRegistrySpec

type IntegrationPlatformRegistrySpec 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"`
}

IntegrationPlatformRegistrySpec --

func (*IntegrationPlatformRegistrySpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationPlatformRegistrySpec.

func (*IntegrationPlatformRegistrySpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type IntegrationPlatformResourcesSpec

type IntegrationPlatformResourcesSpec struct {
}

IntegrationPlatformResourcesSpec contains platform related resources

func (*IntegrationPlatformResourcesSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationPlatformResourcesSpec.

func (*IntegrationPlatformResourcesSpec) DeepCopyInto

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

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"`
}

IntegrationPlatformStatus defines the observed state of IntegrationPlatform

func (*IntegrationPlatformStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationPlatformStatus.

func (*IntegrationPlatformStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*IntegrationPlatformStatus) GetCondition

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"`
	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"`
	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)

AddConfiguration --

func (*IntegrationSpec) AddDependency

func (in *IntegrationSpec) AddDependency(dependency string)

AddDependency --

func (*IntegrationSpec) AddFlows

func (in *IntegrationSpec) AddFlows(flows ...Flow)

AddFlows --

func (*IntegrationSpec) AddResources

func (in *IntegrationSpec) AddResources(resources ...ResourceSpec)

AddResources --

func (*IntegrationSpec) AddSource

func (in *IntegrationSpec) AddSource(name string, content string, language Language)

AddSource --

func (*IntegrationSpec) AddSources

func (in *IntegrationSpec) AddSources(sources ...SourceSpec)

AddSources --

func (*IntegrationSpec) Configurations

func (in *IntegrationSpec) Configurations() []ConfigurationSpec

Configurations --

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

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"`
	Failure            *Failure                `json:"failure,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

func (in *IntegrationStatus) AddConfigurationsIfMissing(configurations ...ConfigurationSpec)

AddConfigurationsIfMissing --

func (*IntegrationStatus) AddOrReplaceGeneratedResources

func (in *IntegrationStatus) AddOrReplaceGeneratedResources(resources ...ResourceSpec)

AddOrReplaceGeneratedResources --

func (*IntegrationStatus) AddOrReplaceGeneratedSources

func (in *IntegrationStatus) AddOrReplaceGeneratedSources(sources ...SourceSpec)

AddOrReplaceGeneratedSources --

func (*IntegrationStatus) Configurations

func (in *IntegrationStatus) Configurations() []ConfigurationSpec

Configurations --

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

GetCondition returns the condition with the provided type.

func (*IntegrationStatus) GetConditions

func (in *IntegrationStatus) GetConditions() []ResourceCondition

GetConditions --

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)

SetCondition --

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)

SetErrorCondition --

type KanikoTask

type KanikoTask struct {
	BaseTask        `json:",inline"`
	PublishTask     `json:",inline"`
	Verbose         *bool           `json:"verbose,omitempty"`
	HttpProxySecret string          `json:"httpProxySecret,omitempty"`
	Cache           KanikoTaskCache `json:"cache,omitempty"`
}

KanikoTask --

func (*KanikoTask) DeepCopy

func (in *KanikoTask) DeepCopy() *KanikoTask

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KanikoTask.

func (*KanikoTask) DeepCopyInto

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

type KanikoTaskCache struct {
	Enabled               *bool  `json:"enabled,omitempty"`
	PersistentVolumeClaim string `json:"persistentVolumeClaim,omitempty"`
}

KanikoTaskCache

func (*KanikoTaskCache) DeepCopy

func (in *KanikoTaskCache) DeepCopy() *KanikoTaskCache

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KanikoTaskCache.

func (*KanikoTaskCache) DeepCopyInto

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"`
	ArtifactID string `json:"artifactId" yaml:"artifactId"`
	Version    string `json:"version,omitempty" yaml:"version,omitempty"`
}

MavenArtifact --

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

func (in *MavenArtifact) GetDependencyID() string

type MavenSpec

type MavenSpec struct {
	LocalRepository string      `json:"localRepository,omitempty"`
	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"`
	Timeout  *metav1.Duration          `json:"timeout,omitempty"`
}

MavenSpec --

func (*MavenSpec) DeepCopy

func (in *MavenSpec) DeepCopy() *MavenSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MavenSpec.

func (*MavenSpec) DeepCopyInto

func (in *MavenSpec) DeepCopyInto(out *MavenSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (MavenSpec) GetTimeout

func (m MavenSpec) GetTimeout() metav1.Duration

GetTimeout returns the specified duration or a default one

type PlatformInjectable

type PlatformInjectable interface {
	SetIntegrationPlatform(platform *IntegrationPlatform)
}

+kubebuilder:object:generate=false PlatformInjectable --

type PodSpec

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

func (in *PodSpec) DeepCopy() *PodSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSpec.

func (*PodSpec) DeepCopyInto

func (in *PodSpec) DeepCopyInto(out *PodSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PodSpecTemplate

type PodSpecTemplate struct {
	Spec PodSpec `json:"spec,omitempty"`
}

func (*PodSpecTemplate) DeepCopy

func (in *PodSpecTemplate) DeepCopy() *PodSpecTemplate

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSpecTemplate.

func (*PodSpecTemplate) DeepCopyInto

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

type PublishTask struct {
	ContextDir string                          `json:"contextDir,omitempty"`
	BaseImage  string                          `json:"baseImage,omitempty"`
	Image      string                          `json:"image,omitempty"`
	Registry   IntegrationPlatformRegistrySpec `json:"registry,omitempty"`
}

PublishTask --

func (*PublishTask) DeepCopy

func (in *PublishTask) DeepCopy() *PublishTask

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublishTask.

func (*PublishTask) DeepCopyInto

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

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. +kubebuilder:validation:Type=object +kubebuilder:validation:Format="" +kubebuilder:pruning:PreserveUnknownFields

func (RawMessage) DeepCopy

func (in RawMessage) DeepCopy() RawMessage

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RawMessage.

func (RawMessage) DeepCopyInto

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

func (m RawMessage) MarshalJSON() ([]byte, error)

MarshalJSON returns m as the JSON encoding of m.

func (*RawMessage) UnmarshalJSON

func (m *RawMessage) UnmarshalJSON(data []byte) error

UnmarshalJSON sets *m to a copy of data.

type ResourceCondition

type ResourceCondition interface {
	GetType() string
	GetStatus() corev1.ConditionStatus
	GetLastUpdateTime() metav1.Time
	GetLastTransitionTime() metav1.Time
	GetReason() string
	GetMessage() string
}

+kubebuilder:object:generate=false 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

NewResourceSpec --

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 --
	ResourceTypeData ResourceType = "data"
	// ResourceTypeOpenAPI --
	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

type S2iTask struct {
	BaseTask   `json:",inline"`
	ContextDir string `json:"contextDir,omitempty"`
	Tag        string `json:"tag,omitempty"`
}

S2iTask --

func (*S2iTask) DeepCopy

func (in *S2iTask) DeepCopy() *S2iTask

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S2iTask.

func (*S2iTask) DeepCopyInto

func (in *S2iTask) DeepCopyInto(out *S2iTask)

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

NewSourceSpec --

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

type SourceType string
const (
	SourceTypeDefault      SourceType = ""
	SourceTypeTemplate     SourceType = "template"
	SourceTypeErrorHandler SourceType = "errorHandler"
)

type SpectrumTask

type SpectrumTask struct {
	BaseTask    `json:",inline"`
	PublishTask `json:",inline"`
}

SpectrumTask --

func (*SpectrumTask) DeepCopy

func (in *SpectrumTask) DeepCopy() *SpectrumTask

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpectrumTask.

func (*SpectrumTask) DeepCopyInto

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

func (in *Task) DeepCopy() *Task

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Task.

func (*Task) DeepCopyInto

func (in *Task) DeepCopyInto(out *Task)

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

func (in *TraitSpec) DeepCopy() *TraitSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TraitSpec.

func (*TraitSpec) DeepCopyInto

func (in *TraitSpec) DeepCopyInto(out *TraitSpec)

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL