v1beta3

package
v0.0.0-...-be29cce Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package v1beta3 contains API Schema definitions for the syndesis v1beta3 API group +k8s:deepcopy-gen=package,register +groupName=syndesis.io

Package v1beta3 contains API Schema definitions for the syndesis v1beta3 API group +k8s:deepcopy-gen=package,register +groupName=syndesis.io

Index

Constants

View Source
const DefaultNamespace string = "syndesis"

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "syndesis.io", Version: "v1beta3"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}

	SchemaGroupVersionKind = schema.GroupVersionKind{Group: "syndesis.io", Version: "v1beta3", Kind: "Syndesis"}
)

Functions

Types

type AddonSpec

type AddonSpec struct {
	Enabled bool `json:"enabled,omitempty"`
}

func (*AddonSpec) DeepCopy

func (in *AddonSpec) DeepCopy() *AddonSpec

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

func (*AddonSpec) DeepCopyInto

func (in *AddonSpec) DeepCopyInto(out *AddonSpec)

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

type AddonsSpec

type AddonsSpec struct {
	// Should a jaeger implementation be installed for metric monitoring
	Jaeger JaegerConfiguration `json:"jaeger,omitempty"`
	// Should the Ops capability be installed
	Ops AddonSpec `json:"ops,omitempty"`
	// Should the example TODO integration be installed
	Todo AddonSpec `json:"todo,omitempty"`
	// Should the knative capability be installed
	Knative AddonSpec `json:"knative,omitempty"`
	// Should the Public API capability be installed
	PublicApi PublicApiConfiguration `json:"publicApi,omitempty"`
}

Parameters for enabling additional optional features

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 BackupConfig

type BackupConfig struct {
	// Set schedule for backup cronjob
	// +optional
	Schedule BackupSchedule `json:"schedule,omitempty"`
}

func (*BackupConfig) DeepCopy

func (in *BackupConfig) DeepCopy() *BackupConfig

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

func (*BackupConfig) DeepCopyInto

func (in *BackupConfig) DeepCopyInto(out *BackupConfig)

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

type BackupSchedule

type BackupSchedule string

+kubebuilder:validation:Enum=hourly;daily;midnight;weekly;monthly;yearly;every 3m

type BackupStatus

type BackupStatus struct {
	// When is the next backup planned
	Next string `json:"next,omitempty"`
	// When was the previous backup executed
	Previous string `json:"previous,omitempty"`
}

func (*BackupStatus) DeepCopy

func (in *BackupStatus) DeepCopy() *BackupStatus

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

func (*BackupStatus) DeepCopyInto

func (in *BackupStatus) DeepCopyInto(out *BackupStatus)

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

type ComponentsSpec

type ComponentsSpec struct {
	Oauth      OauthConfiguration      `json:"oauth,omitempty"`
	Server     ServerConfiguration     `json:"server,omitempty"`
	Meta       MetaConfiguration       `json:"meta,omitempty"`
	Database   DatabaseConfiguration   `json:"database,omitempty"`
	Prometheus PrometheusConfiguration `json:"prometheus,omitempty"`
	Grafana    GrafanaConfiguration    `json:"grafana,omitempty"`
	Upgrade    UpgradeConfiguration    `json:"upgrade,omitempty"`
}

+k8s:openapi-gen=true

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 ConnectionPool

type ConnectionPool struct {
	// maximum number of milliseconds that syndesis-server will wait for a connection from the pool
	ConnectionTimeout int `json:"connectionTimeout,omitempty"`
	// maximum amount of time that a connection is allowed to sit idle in the pool
	IdleTimeout int `json:"idleTimeout,omitempty"`
	// amount of time that a connection can be out of the pool before a message is logged indicating a possible connection leak
	LeakDetectionThreshold int `json:"leakDetectionThreshold,omitempty"`
	// maximum size that the pool is allowed to reach, including both idle and in-use connections
	MaximumPoolSize int `json:"maximumPoolSize,omitempty"`
	// maximum lifetime of a connection in the pool
	MaxLifetime int `json:"maxLifetime,omitempty"`
	// minimum number of idle connections maintained in the pool
	MinimumIdle int `json:"minimumIdle,omitempty"`
}

Connection Pool parameters used in syndesis-server to manage the connections to the database time values are in milliseconds

func (*ConnectionPool) DeepCopy

func (in *ConnectionPool) DeepCopy() *ConnectionPool

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

func (*ConnectionPool) DeepCopyInto

func (in *ConnectionPool) DeepCopyInto(out *ConnectionPool)

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

type DatabaseConfiguration

type DatabaseConfiguration struct {
	// Username for PostgreSQL user that will be used for accessing the database
	User string `json:"user,omitempty"`

	// Name of the PostgreSQL database accessed
	Name string `json:"name,omitempty"`

	// Host and port of the PostgreSQL database to access
	URL string `json:"url,omitempty"`

	// If specified, use an external database instead of the installed by syndesis
	ExternalDbURL string `json:"externalDbURL,omitempty"`

	// Resource provision requirements of the database
	Resources ResourcesWithPersistentVolume `json:"resources,omitempty"`
}

func (*DatabaseConfiguration) DeepCopy

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

func (*DatabaseConfiguration) DeepCopyInto

func (in *DatabaseConfiguration) DeepCopyInto(out *DatabaseConfiguration)

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

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 JaegerConfiguration

type JaegerConfiguration struct {
	Enabled       bool   `json:"enabled,omitempty"`
	ClientOnly    bool   `json:"clientOnly,omitempty"`
	ImageAgent    string `json:"imageAgent,omitempty"`
	ImageAllInOne string `json:"imageAllInOne,omitempty"`
	ImageOperator string `json:"imageOperator,omitempty"`
	OperatorOnly  bool   `json:"operatorOnly,omitempty"`
	QueryURI      string `json:"queryUri,omitempty"`
	CollectorURI  string `json:"collectorUri,omitempty"`
	SamplerType   string `json:"samplerType,omitempty"`
	SamplerParam  string `json:"samplerParam,omitempty"`
}

func (*JaegerConfiguration) DeepCopy

func (in *JaegerConfiguration) DeepCopy() *JaegerConfiguration

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

func (*JaegerConfiguration) DeepCopyInto

func (in *JaegerConfiguration) DeepCopyInto(out *JaegerConfiguration)

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

type MavenConfiguration

type MavenConfiguration struct {
	// Should we append new repositories
	Append bool `json:"append,omitempty"`
	// additional maven options to be used in integration builds
	AdditionalArguments string `json:"additionalArguments,omitempty"`
	// Set repositories for maven
	Repositories map[string]string `json:"repositories,omitempty"`
	// Set Maven mirror used solely for dependency download
	Mirror string `json:"mirror,omitempty"`
}

func (*MavenConfiguration) DeepCopy

func (in *MavenConfiguration) DeepCopy() *MavenConfiguration

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

func (*MavenConfiguration) DeepCopyInto

func (in *MavenConfiguration) DeepCopyInto(out *MavenConfiguration)

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

type MetaConfiguration

type MetaConfiguration struct {
	Resources ResourcesWithPersistentVolume `json:"resources,omitempty"`
	// JAVA_OPTIONS environment variable
	JavaOptions string `json:"javaOptions,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 {
	// Enable or disable SAR checks all together
	DisableSarCheck bool `json:"disableSarCheck,omitempty"`

	// The user needs to have permissions to at least get a list of pods in the given project in order to be granted access to the Syndesis installation
	SarNamespace string `json:"sarNamespace,omitempty"`

	// Using an external auth provider, specify the name of the secret
	// that stores the credentials, ie. provider type, client id, cookie & client secrets
	CredentialsSecret string `json:"credentialsSecret,omitempty"`

	// The name of the secret used to store the TLS certificate for secure HTTPS communication
	CryptoCommsSecret string `json:"cryptoCommsSecret,omitempty"`

	// Environment variables to be applied to dc/syndesis-oauthproxy
	Environment map[string]string `json:"environment,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 PrometheusConfiguration

type PrometheusConfiguration struct {
	Resources ResourcesWithPersistentVolume `json:"resources,omitempty"`
}

func (*PrometheusConfiguration) DeepCopy

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 PublicApiConfiguration

type PublicApiConfiguration struct {
	Enabled bool `json:"enabled,omitempty"`
	// Set RouteHostname to the hostname of the exposed syndesis Public API.
	RouteHostname string `json:"routeHostname,omitempty"`
	// if set to true, then any authenticated user can access the API. otherwise the user
	// needs access to get pods against the SarNamespace
	DisableSarCheck bool `json:"disable-sar-check,omitempty"`
}

func (*PublicApiConfiguration) DeepCopy

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

func (*PublicApiConfiguration) DeepCopyInto

func (in *PublicApiConfiguration) DeepCopyInto(out *PublicApiConfiguration)

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

type ResourceParams

type ResourceParams struct {
	Memory string `json:"memory,omitempty"`
	CPU    string `json:"cpu,omitempty"`
}

func (*ResourceParams) DeepCopy

func (in *ResourceParams) DeepCopy() *ResourceParams

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

func (*ResourceParams) DeepCopyInto

func (in *ResourceParams) DeepCopyInto(out *ResourceParams)

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

type Resources

type Resources struct {
	Limit   ResourceParams `json:"limit,omitempty"`
	Request ResourceParams `json:"request,omitempty"`
}

func (*Resources) DeepCopy

func (in *Resources) DeepCopy() *Resources

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

func (*Resources) DeepCopyInto

func (in *Resources) DeepCopyInto(out *Resources)

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

type ResourcesWithPersistentVolume

type ResourcesWithPersistentVolume struct {
	Limit              ResourceParams    `json:"limit,omitempty"`
	Request            ResourceParams    `json:"request,omitempty"`
	VolumeCapacity     string            `json:"volumeCapacity,omitempty"`
	VolumeName         string            `json:"volumeName,omitempty"`
	VolumeAccessMode   VolumeAccessMode  `json:"volumeAccessMode,omitempty"`
	VolumeStorageClass string            `json:"volumeStorageClass,omitempty"`
	VolumeLabels       map[string]string `json:"volumeLabels,omitempty"`
}

func (*ResourcesWithPersistentVolume) DeepCopy

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

func (*ResourcesWithPersistentVolume) DeepCopyInto

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

type ResourcesWithVolume

type ResourcesWithVolume struct {
	Limit          ResourceParams `json:"limit,omitempty"`
	Request        ResourceParams `json:"request,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 SchedulingSpec

type SchedulingSpec struct {
	Affinity    *v1.Affinity    `json:"affinity,omitempty"`
	Tolerations []v1.Toleration `json:"tolerations,omitempty"`
}

func (*SchedulingSpec) DeepCopy

func (in *SchedulingSpec) DeepCopy() *SchedulingSpec

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

func (*SchedulingSpec) DeepCopyInto

func (in *SchedulingSpec) DeepCopyInto(out *SchedulingSpec)

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

func (*SchedulingSpec) Marshall

func (s *SchedulingSpec) Marshall(indent int) string

type ServerConfiguration

type ServerConfiguration struct {
	Resources      Resources      `json:"resources,omitempty"`
	Features       ServerFeatures `json:"features,omitempty"`
	ConnectionPool ConnectionPool `json:"connectionPool,omitempty"`
	// JAVA_OPTIONS environment variable
	JavaOptions string `json:"javaOptions,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 {
	// Enable or disable auditing, by default disabled, set to true to enable
	Auditing bool `json:"auditing,omitempty"`
	// Maximum number of integrations single user can create
	IntegrationLimit int `json:"integrationLimit,omitempty"`

	// Interval for checking the state of the integrations
	IntegrationStateCheckInterval int `json:"integrationStateCheckInterval,omitempty"`

	// Maven settings
	Maven MavenConfiguration `json:"maven,omitempty"`

	// 3scale management URL
	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 +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:object:root=true +kubebuilder:storageversion +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 InstalledSyndesis

func InstalledSyndesis(ctx context.Context, c client.Client, namespace string) (*Syndesis, error)

* Look at the existing namespace and return the installed syndesis CR

func NewSyndesis

func NewSyndesis(namespace string) (*Syndesis, error)

func (*Syndesis) DeepCopy

func (in *Syndesis) DeepCopy() *Syndesis

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

func (*Syndesis) DeepCopyInto

func (in *Syndesis) DeepCopyInto(out *Syndesis)

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

func (*Syndesis) DeepCopyObject

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

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"
	SyndesisPhaseNotInstalled          SyndesisPhase = "NotInstalled"
	SyndesisPhaseUpgrading             SyndesisPhase = "Upgrading"
	SyndesisPhasePostUpgradeRun        SyndesisPhase = "PostUpgradeRun"
	SyndesisPhasePostUpgradeRunSucceed SyndesisPhase = "PostUpgradeRunSucceed"
	SyndesisPhaseUpgradeFailureBackoff SyndesisPhase = "UpgradeFailureBackoff"
	SyndesisPhaseUpgradeFailed         SyndesisPhase = "UpgradeFailed"
)

type SyndesisSpec

type SyndesisSpec struct {
	// Schedule backup
	// +optional
	Backup BackupConfig `json:"backup,omitempty"`

	// The external hostname to access Syndesis
	RouteHostname string `json:"routeHostname,omitempty"`

	// Components is used to configure all the core components of Syndesis
	Components ComponentsSpec `json:"components,omitempty"`

	// Optional add on features that can be enabled.
	// +optional
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Addons"
	Addons AddonsSpec `json:"addons,omitempty"`

	// Force migration of CR to new version
	ForceMigration bool `json:"forceMigration,omitempty"`

	// Configuration of Affinity and Toleration for infrastructure component pods
	InfraScheduling SchedulingSpec `json:"infraScheduling,omitempty"`

	// Configuration of Affinity and Toleration for integrations pods
	IntegrationScheduling SchedulingSpec `json:"integrationScheduling,omitempty"`
}

SyndesisSpec defines the desired state of Syndesis +k8s:openapi-gen=true

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 {
	// The phase the operator has reached, eg. INSTALLED, STARTING
	// +optional
	// +operator-sdk:csv:customresourcedefinitions:type=status
	// +operator-sdk:csv:customresourcedefinitions:type=status,displayName="Phase"
	// +operator-sdk:csv:customresourcedefinitions:type=status,xDescriptors="urn:alm:descriptor:io.kubernetes.phase"
	Phase SyndesisPhase `json:"phase,omitempty"`
	// A record of the number of times and upgrade has been attempted
	// +optional
	// +operator-sdk:csv:customresourcedefinitions:type=status
	// +operator-sdk:csv:customresourcedefinitions:type=status,displayName="Upgrade Attempts"
	// +operator-sdk:csv:customresourcedefinitions:type=status,xDescriptors="urn:alm:descriptor:text"
	UpgradeAttempts int `json:"upgradeAttempts,omitempty"`
	// A record of the time of the last upgrade failure
	// +optional
	// +operator-sdk:csv:customresourcedefinitions:type=status
	// +operator-sdk:csv:customresourcedefinitions:type=status,displayName="Upgrade Failure Time"
	// +operator-sdk:csv:customresourcedefinitions:type=status,xDescriptors="urn:alm:descriptor:text"
	LastUpgradeFailure *metav1.Time `json:"lastUpgradeFailure,omitempty"`
	ForceUpgrade       bool         `json:"forceUpgrade,omitempty"`
	// Reason if the installation or upgrade failed
	// +optional
	// +operator-sdk:csv:customresourcedefinitions:type=status
	// +operator-sdk:csv:customresourcedefinitions:type=status,displayName="Reason"
	// +operator-sdk:csv:customresourcedefinitions:type=status,xDescriptors="urn:alm:descriptor:io.kubernetes.phase:reason"
	Reason SyndesisStatusReason `json:"reason,omitempty"`
	// Current description of where the installation or upgrade has reached
	// +optional
	// +operator-sdk:csv:customresourcedefinitions:type=status
	// +operator-sdk:csv:customresourcedefinitions:type=status,displayName="Description"
	// +operator-sdk:csv:customresourcedefinitions:type=status,xDescriptors="urn:alm:descriptor:io.kubernetes.phase:reason"
	Description string `json:"description,omitempty"`
	// The currently installed version of Syndesis
	// +optional
	// +operator-sdk:csv:customresourcedefinitions:type=status
	// +operator-sdk:csv:customresourcedefinitions:type=status,displayName="Version"
	// +operator-sdk:csv:customresourcedefinitions:type=status,xDescriptors="urn:alm:descriptor:text"
	Version       string       `json:"version,omitempty"`
	TargetVersion string       `json:"targetVersion,omitempty"`
	Backup        BackupStatus `json:"backup,omitempty"`
}

SyndesisStatus defines the observed state of Syndesis +k8s:openapi-gen=true

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 = ""
	SyndesisStatusReasonDuplicate              SyndesisStatusReason = "Duplicate"
	SyndesisStatusReasonDeploymentNotReady     SyndesisStatusReason = "DeploymentNotReady"
	SyndesisStatusReasonUpgradeFailed          SyndesisStatusReason = "UpgradeFailed"
	SyndesisStatusReasonTooManyUpgradeAttempts SyndesisStatusReason = "TooManyUpgradeAttempts"
	SyndesisStatusReasonPostUpgradeRun         SyndesisStatusReason = "PostUpgradeRun"
	SyndesisStatusReasonMigrated               SyndesisStatusReason = "Migrated"
)

type UpgradeConfiguration

type UpgradeConfiguration struct {
	Resources VolumeOnlyResources `json:"resources,omitempty"`
}

func (*UpgradeConfiguration) DeepCopy

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 VolumeAccessMode

type VolumeAccessMode string

+kubebuilder:validation:Enum=ReadWriteOnce;ReadOnlyMany;ReadWriteMany

const (
	ReadWriteOnce VolumeAccessMode = "ReadWriteOnce"
	ReadOnlyMany  VolumeAccessMode = "ReadOnlyMany"
)

Possible VAM can be found here https://docs.openshift.com/container-platform/4.2/storage/understanding-persistent-storage.html

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.

Jump to

Keyboard shortcuts

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