Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the syndesis v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=syndesis.io
Package v1alpha1 contains API Schema definitions for the syndesis v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=syndesis.io
Index ¶
- Variables
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- type AddonsSpec
- type ComponentsSpec
- type DbConfiguration
- type GrafanaConfiguration
- type IntegrationSpec
- type MetaConfiguration
- type OauthConfiguration
- type Parameters
- type PostgresExporterConfiguration
- type PrometheusConfiguration
- type Resources
- type ResourcesWithVolume
- type S2IConfiguration
- type ServerConfiguration
- type ServerFeatures
- type Syndesis
- type SyndesisList
- type SyndesisPhase
- type SyndesisSpec
- type SyndesisStatus
- type SyndesisStatusReason
- type UIConfiguration
- type UpgradeConfiguration
- type VolumeOnlyResources
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "syndesis.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
Types ¶
type AddonsSpec ¶
type AddonsSpec map[string]Parameters
func (AddonsSpec) DeepCopy ¶
func (in AddonsSpec) DeepCopy() AddonsSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddonsSpec.
func (AddonsSpec) DeepCopyInto ¶
func (in AddonsSpec) DeepCopyInto(out *AddonsSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComponentsSpec ¶
type ComponentsSpec struct { ImagePrefix string `json:"imagePrefix,omitempty"` Scheduled bool `json:"scheduled,omitempty"` Server ServerConfiguration `json:"server,omitempty"` Meta MetaConfiguration `json:"meta,omitempty"` UI UIConfiguration `json:"ui,omitempty"` S2I S2IConfiguration `json:"s2i,omitempty"` Db DbConfiguration `json:"db,omitempty"` Oauth OauthConfiguration `json:"oauth,omitempty"` PostgresExporter PostgresExporterConfiguration `json:"psql,omitempty"` Prometheus PrometheusConfiguration `json:"prometheus,omitempty"` Grafana GrafanaConfiguration `json:"grafana,omitempty"` Upgrade UpgradeConfiguration `json:"upgrade,omitempty"` }
func (*ComponentsSpec) DeepCopy ¶
func (in *ComponentsSpec) DeepCopy() *ComponentsSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentsSpec.
func (*ComponentsSpec) DeepCopyInto ¶
func (in *ComponentsSpec) DeepCopyInto(out *ComponentsSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DbConfiguration ¶
type DbConfiguration struct { Image string `json:"image,omitempty"` Tag string `json:"tag,omitempty"` Registry string `json:"registry,omitempty"` ImagePrefix string `json:"imagePrefix,omitempty"` Resources ResourcesWithVolume `json:"resources,omitempty"` User string `json:"user,omitempty"` Database string `json:"database,omitempty"` }
func (*DbConfiguration) DeepCopy ¶
func (in *DbConfiguration) DeepCopy() *DbConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DbConfiguration.
func (*DbConfiguration) DeepCopyInto ¶
func (in *DbConfiguration) DeepCopyInto(out *DbConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GrafanaConfiguration ¶
type GrafanaConfiguration struct {
Resources Resources `json:"resources,omitempty"`
}
func (*GrafanaConfiguration) DeepCopy ¶
func (in *GrafanaConfiguration) DeepCopy() *GrafanaConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfiguration.
func (*GrafanaConfiguration) DeepCopyInto ¶
func (in *GrafanaConfiguration) DeepCopyInto(out *GrafanaConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IntegrationSpec ¶
type IntegrationSpec struct { Limit *int `json:"limit,omitempty"` StateCheckInterval *int `json:"stateCheckInterval,omitempty"` }
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.
type MetaConfiguration ¶
type MetaConfiguration struct { Registry string `json:"registry,omitempty"` ImagePrefix string `json:"imagePrefix,omitempty"` Tag string `json:"tag,omitempty"` Resources ResourcesWithVolume `json:"resources,omitempty"` }
func (*MetaConfiguration) DeepCopy ¶
func (in *MetaConfiguration) DeepCopy() *MetaConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetaConfiguration.
func (*MetaConfiguration) DeepCopyInto ¶
func (in *MetaConfiguration) DeepCopyInto(out *MetaConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OauthConfiguration ¶
type OauthConfiguration struct { DisableSarCheck *bool `json:"disableSarCheck,omitempty"` Tag string `json:"tag,omitempty"` }
func (*OauthConfiguration) DeepCopy ¶
func (in *OauthConfiguration) DeepCopy() *OauthConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OauthConfiguration.
func (*OauthConfiguration) DeepCopyInto ¶
func (in *OauthConfiguration) DeepCopyInto(out *OauthConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Parameters ¶
func (Parameters) DeepCopy ¶
func (in Parameters) DeepCopy() Parameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Parameters.
func (Parameters) DeepCopyInto ¶
func (in Parameters) DeepCopyInto(out *Parameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresExporterConfiguration ¶
type PostgresExporterConfiguration struct { Tag string `json:"tag,omitempty"` Registry string `json:"registry,omitempty"` ImagePrefix string `json:"imagePrefix,omitempty"` }
func (*PostgresExporterConfiguration) DeepCopy ¶
func (in *PostgresExporterConfiguration) DeepCopy() *PostgresExporterConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresExporterConfiguration.
func (*PostgresExporterConfiguration) DeepCopyInto ¶
func (in *PostgresExporterConfiguration) DeepCopyInto(out *PostgresExporterConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrometheusConfiguration ¶
type PrometheusConfiguration struct { Tag string `json:"tag,omitempty"` Resources ResourcesWithVolume `json:"resources,omitempty"` }
func (*PrometheusConfiguration) DeepCopy ¶
func (in *PrometheusConfiguration) DeepCopy() *PrometheusConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrometheusConfiguration.
func (*PrometheusConfiguration) DeepCopyInto ¶
func (in *PrometheusConfiguration) DeepCopyInto(out *PrometheusConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Resources ¶
type Resources struct {
v1.ResourceRequirements `json:",inline,omitempty"`
}
func (*Resources) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resources.
func (*Resources) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourcesWithVolume ¶
type ResourcesWithVolume struct { Resources `json:",inline,omitempty"` VolumeCapacity string `json:"volumeCapacity,omitempty"` }
func (*ResourcesWithVolume) DeepCopy ¶
func (in *ResourcesWithVolume) DeepCopy() *ResourcesWithVolume
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourcesWithVolume.
func (*ResourcesWithVolume) DeepCopyInto ¶
func (in *ResourcesWithVolume) DeepCopyInto(out *ResourcesWithVolume)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type S2IConfiguration ¶
type S2IConfiguration struct { Registry string `json:"registry,omitempty"` ImagePrefix string `json:"imagePrefix,omitempty"` Tag string `json:"tag,omitempty"` }
func (*S2IConfiguration) DeepCopy ¶
func (in *S2IConfiguration) DeepCopy() *S2IConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S2IConfiguration.
func (*S2IConfiguration) DeepCopyInto ¶
func (in *S2IConfiguration) DeepCopyInto(out *S2IConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerConfiguration ¶
type ServerConfiguration struct { Registry string `json:"registry,omitempty"` ImagePrefix string `json:"imagePrefix,omitempty"` Tag string `json:"tag,omitempty"` Resources Resources `json:"resources,omitempty"` Features ServerFeatures `json:"features,omitempty"` }
func (*ServerConfiguration) DeepCopy ¶
func (in *ServerConfiguration) DeepCopy() *ServerConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerConfiguration.
func (*ServerConfiguration) DeepCopyInto ¶
func (in *ServerConfiguration) DeepCopyInto(out *ServerConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerFeatures ¶
type ServerFeatures struct {
ManagementUrlFor3scale string `json:"managementUrlFor3scale,omitempty"`
}
func (*ServerFeatures) DeepCopy ¶
func (in *ServerFeatures) DeepCopy() *ServerFeatures
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerFeatures.
func (*ServerFeatures) DeepCopyInto ¶
func (in *ServerFeatures) DeepCopyInto(out *ServerFeatures)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Syndesis ¶
type Syndesis struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SyndesisSpec `json:"spec,omitempty"` Status SyndesisStatus `json:"status,omitempty"` }
Syndesis is the Schema for the Syndeses API +kubebuilder:subresource:status +kubebuilder:object:root=true +kubebuilder:unservedversion +kubebuilder:resource:path=syndesises,scope=Namespaced +kubebuilder:printcolumn:name="Phase",description="The syndesis phase",type=string,JSONPath=`.status.phase` +kubebuilder:printcolumn:name="Version",description="The syndesis version",type=string,JSONPath=`.status.version` +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +operator-sdk:csv:customresourcedefinitions:displayName="Syndesis" +operator-sdk:csv:customresourcedefinitions:resources={{ServiceAccount,v1},{ClusterRole,rbac.authorization.k8s.io/v1},{Role,rbac.authorization.k8s.io/v1},{Deployment,apps/v1},{Secret,v1},{Subscription,operators.coreos.com/v1alpha1}}
func (*Syndesis) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Syndesis.
func (*Syndesis) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Syndesis) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SyndesisList ¶
type SyndesisList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Syndesis `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:object:root=true SyndesisList contains a list of Syndesis
func (*SyndesisList) DeepCopy ¶
func (in *SyndesisList) DeepCopy() *SyndesisList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyndesisList.
func (*SyndesisList) DeepCopyInto ¶
func (in *SyndesisList) DeepCopyInto(out *SyndesisList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SyndesisList) DeepCopyObject ¶
func (in *SyndesisList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SyndesisPhase ¶
type SyndesisPhase string
const ( SyndesisPhaseMissing SyndesisPhase = "" SyndesisPhaseInstalling SyndesisPhase = "Installing" SyndesisPhaseStarting SyndesisPhase = "Starting" SyndesisPhaseStartupFailed SyndesisPhase = "StartupFailed" SyndesisPhaseInstalled SyndesisPhase = "Installed" SyndesisPhaseMigrated SyndesisPhase = "Migrated" SyndesisPhaseNotInstalled SyndesisPhase = "NotInstalled" SyndesisPhaseUpgrading SyndesisPhase = "Upgrading" SyndesisPhasePostUpgradeRun SyndesisPhase = "PostUpgradeRun" SyndesisPhasePostUpgradeRunSucceed SyndesisPhase = "PostUpgradeRunSucceed" SyndesisPhaseUpgradeFailureBackoff SyndesisPhase = "UpgradeFailureBackoff" SyndesisPhaseUpgradeFailed SyndesisPhase = "UpgradeFailed" )
type SyndesisSpec ¶
type SyndesisSpec struct { RouteHostname string `json:"routeHostname,omitempty"` DemoData *bool `json:"demoData,omitempty"` DeployIntegrations *bool `json:"deployIntegrations,omitempty"` TestSupport *bool `json:"testSupport,omitempty"` ImageStreamNamespace string `json:"imageStreamNamespace,omitempty"` Integration IntegrationSpec `json:"integration,omitempty"` // The container registry to pull syndesis images from Registry string `json:"registry,omitempty"` Components ComponentsSpec `json:"components,omitempty"` OpenShiftMaster string `json:"openshiftMaster,omitempty"` OpenShiftConsoleUrl string `json:"openshiftConsoleUrl,omitempty"` SarNamespace string `json:"sarNamespace,omitempty"` Addons AddonsSpec `json:"addons,omitempty"` // if true, then the image streams are changed to used local development builds & JAVA_DEBUG is enabled DevSupport bool `json:"devSupport,omitempty"` MavenRepositories map[string]string `json:"mavenRepositories,omitempty"` }
SyndesisSpec defines the desired state of Syndesis +k8s:openapi-gen=false
func (*SyndesisSpec) DeepCopy ¶
func (in *SyndesisSpec) DeepCopy() *SyndesisSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyndesisSpec.
func (*SyndesisSpec) DeepCopyInto ¶
func (in *SyndesisSpec) DeepCopyInto(out *SyndesisSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SyndesisStatus ¶
type SyndesisStatus struct { Phase SyndesisPhase `json:"phase,omitempty"` UpgradeAttempts int32 `json:"upgradeAttempts,omitempty"` LastUpgradeFailure *metav1.Time `json:"lastUpgradeFailure,omitempty"` ForceUpgrade bool `json:"forceUpgrade,omitempty"` Reason SyndesisStatusReason `json:"reason,omitempty"` Description string `json:"description,omitempty"` Version string `json:"version,omitempty"` TargetVersion string `json:"targetVersion,omitempty"` }
func (*SyndesisStatus) DeepCopy ¶
func (in *SyndesisStatus) DeepCopy() *SyndesisStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyndesisStatus.
func (*SyndesisStatus) DeepCopyInto ¶
func (in *SyndesisStatus) DeepCopyInto(out *SyndesisStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SyndesisStatusReason ¶
type SyndesisStatusReason string
const ( SyndesisStatusReasonMissing SyndesisStatusReason = "" SyndesisStatusReasonMigrated SyndesisStatusReason = "MigratedToV1beta1" SyndesisStatusReasonDuplicate SyndesisStatusReason = "Duplicate" SyndesisStatusReasonDeploymentNotReady SyndesisStatusReason = "DeploymentNotReady" SyndesisStatusReasonUpgradeFailed SyndesisStatusReason = "UpgradeFailed" SyndesisStatusReasonTooManyUpgradeAttempts SyndesisStatusReason = "TooManyUpgradeAttempts" SyndesisStatusReasonPostUpgradeRun SyndesisStatusReason = "PostUpgradeRun" )
type UIConfiguration ¶
type UIConfiguration struct { Registry string `json:"registry,omitempty"` ImagePrefix string `json:"imagePrefix,omitempty"` Tag string `json:"tag,omitempty"` }
func (*UIConfiguration) DeepCopy ¶
func (in *UIConfiguration) DeepCopy() *UIConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UIConfiguration.
func (*UIConfiguration) DeepCopyInto ¶
func (in *UIConfiguration) DeepCopyInto(out *UIConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UpgradeConfiguration ¶
type UpgradeConfiguration struct { Tag string `json:"tag,omitempty"` Registry string `json:"registry,omitempty"` ImagePrefix string `json:"imagePrefix,omitempty"` Resources VolumeOnlyResources `json:"resources,omitempty"` }
func (*UpgradeConfiguration) DeepCopy ¶
func (in *UpgradeConfiguration) DeepCopy() *UpgradeConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeConfiguration.
func (*UpgradeConfiguration) DeepCopyInto ¶
func (in *UpgradeConfiguration) DeepCopyInto(out *UpgradeConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeOnlyResources ¶
type VolumeOnlyResources struct {
VolumeCapacity string `json:"volumeCapacity,omitempty"`
}
func (*VolumeOnlyResources) DeepCopy ¶
func (in *VolumeOnlyResources) DeepCopy() *VolumeOnlyResources
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeOnlyResources.
func (*VolumeOnlyResources) DeepCopyInto ¶
func (in *VolumeOnlyResources) DeepCopyInto(out *VolumeOnlyResources)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.