v1alpha1

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the apps v1alpha1 API group +kubebuilder:object:generate=true +groupName=apps.3scale.net

Index

Constants

View Source
const (
	ThreescaleVersionAnnotation = "apps.3scale.net/apimanager-threescale-version"
	OperatorVersionAnnotation   = "apps.3scale.net/threescale-operator-version"
	Default3scaleAppLabel       = "3scale-api-management"
)
View Source
const (
	DefaultHTTPPort  int32 = 8080
	DefaultHTTPSPort int32 = 8443
)
View Source
const (
	APIManagerAvailableConditionType common.ConditionType = "Available"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "apps.3scale.net", Version: "v1alpha1"}

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

func BackendRedis added in v0.9.0

func BackendRedis(e *ExternalComponentsSpec) bool

func SystemDatabase added in v0.9.0

func SystemDatabase(e *ExternalComponentsSpec) bool

func SystemRedis added in v0.9.0

func SystemRedis(e *ExternalComponentsSpec) bool

func ZyncDatabase added in v0.9.0

func ZyncDatabase(e *ExternalComponentsSpec) bool

Types

type APIManager

type APIManager struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// +kubebuilder:validation:XPreserveUnknownFields
	Spec APIManagerSpec `json:"spec,omitempty"`

	// +kubebuilder:validation:XPreserveUnknownFields
	Status APIManagerStatus `json:"status,omitempty"`
}

APIManager is the Schema for the apimanagers API +kubebuilder:resource:path=apimanagers,scope=Namespaced +operator-sdk:csv:customresourcedefinitions:displayName="APIManager" +operator-sdk:csv:customresourcedefinitions:resources={{"DeploymentConfig","apps.openshift.io/v1"}} +operator-sdk:csv:customresourcedefinitions:resources={{"PersistentVolumeClaim","v1"}} +operator-sdk:csv:customresourcedefinitions:resources={{"Service","v1"}} +operator-sdk:csv:customresourcedefinitions:resources={{"Route","route.openshift.io/v1"}} +operator-sdk:csv:customresourcedefinitions:resources={{"ImageStream","image.openshift.io/v1"}}

func (*APIManager) DeepCopy

func (in *APIManager) DeepCopy() *APIManager

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

func (*APIManager) DeepCopyInto

func (in *APIManager) DeepCopyInto(out *APIManager)

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

func (*APIManager) DeepCopyObject

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

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

func (*APIManager) IsAPIcastProductionOpenTracingEnabled

func (apimanager *APIManager) IsAPIcastProductionOpenTracingEnabled() bool

func (*APIManager) IsAPIcastStagingOpenTracingEnabled

func (apimanager *APIManager) IsAPIcastStagingOpenTracingEnabled() bool

func (*APIManager) IsExternal added in v0.9.0

func (apimanager *APIManager) IsExternal(selector func(*ExternalComponentsSpec) bool) bool

func (*APIManager) IsMonitoringEnabled

func (apimanager *APIManager) IsMonitoringEnabled() bool

func (*APIManager) IsPDBEnabled

func (apimanager *APIManager) IsPDBEnabled() bool

func (*APIManager) IsPrometheusRulesEnabled

func (apimanager *APIManager) IsPrometheusRulesEnabled() bool

func (*APIManager) IsS3Enabled added in v0.11.0

func (apimanager *APIManager) IsS3Enabled() bool

func (*APIManager) IsS3IAMEnabled added in v0.11.0

func (apimanager *APIManager) IsS3IAMEnabled() bool

func (*APIManager) IsS3STSEnabled added in v0.11.0

func (apimanager *APIManager) IsS3STSEnabled() bool

func (*APIManager) IsSystemMysqlEnabled

func (apimanager *APIManager) IsSystemMysqlEnabled() bool

func (*APIManager) IsSystemPostgreSQLEnabled

func (apimanager *APIManager) IsSystemPostgreSQLEnabled() bool

func (*APIManager) SetDefaults

func (apimanager *APIManager) SetDefaults() (bool, error)

SetDefaults sets the default values for the APIManager spec and returns true if the spec was changed

func (*APIManager) UpdateExternalComponentsFromHighAvailability added in v0.9.0

func (apimanager *APIManager) UpdateExternalComponentsFromHighAvailability() bool

func (*APIManager) Validate

func (apimanager *APIManager) Validate() field.ErrorList

type APIManagerBackup

type APIManagerBackup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   APIManagerBackupSpec   `json:"spec,omitempty"`
	Status APIManagerBackupStatus `json:"status,omitempty"`
}

APIManagerBackup represents an APIManager backup +kubebuilder:resource:path=apimanagerbackups,scope=Namespaced +operator-sdk:csv:customresourcedefinitions:displayName="APIManagerBackup"

func (*APIManagerBackup) BackupCompleted

func (a *APIManagerBackup) BackupCompleted() bool

func (*APIManagerBackup) DeepCopy

func (in *APIManagerBackup) DeepCopy() *APIManagerBackup

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

func (*APIManagerBackup) DeepCopyInto

func (in *APIManagerBackup) DeepCopyInto(out *APIManagerBackup)

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

func (*APIManagerBackup) DeepCopyObject

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

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

func (*APIManagerBackup) MainStepsCompleted

func (a *APIManagerBackup) MainStepsCompleted() bool

func (*APIManagerBackup) SetDefaults

func (a *APIManagerBackup) SetDefaults() (bool, error)

type APIManagerBackupDestination

type APIManagerBackupDestination struct {
	// PersistentVolumeClaim as backup data destination configuration
	// +optional
	PersistentVolumeClaim *PersistentVolumeClaimBackupDestination `json:"persistentVolumeClaim,omitempty"`
}

APIManagerBackupDestination defines the backup data destination configurability. It is a union type. Only one of the fields can be set

func (*APIManagerBackupDestination) DeepCopy

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

func (*APIManagerBackupDestination) DeepCopyInto

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

type APIManagerBackupList

type APIManagerBackupList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []APIManagerBackup `json:"items"`
}

APIManagerBackupList contains a list of APIManagerBackup

func (*APIManagerBackupList) DeepCopy

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

func (*APIManagerBackupList) DeepCopyInto

func (in *APIManagerBackupList) DeepCopyInto(out *APIManagerBackupList)

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

func (*APIManagerBackupList) DeepCopyObject

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

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

type APIManagerBackupSpec

type APIManagerBackupSpec struct {

	// Backup data destination configuration
	BackupDestination APIManagerBackupDestination `json:"backupDestination"`
}

APIManagerBackupSpec defines the desired state of APIManagerBackup

func (*APIManagerBackupSpec) DeepCopy

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

func (*APIManagerBackupSpec) DeepCopyInto

func (in *APIManagerBackupSpec) DeepCopyInto(out *APIManagerBackupSpec)

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

type APIManagerBackupStatus

type APIManagerBackupStatus struct {

	// Set to true when backup has been completed
	// +optional
	Completed *bool `json:"completed,omitempty"`

	// Set to true when main steps have been completed. At this point
	// backup still cannot be considered  fully completed due to some remaining
	// post-backup tasks are pending (cleanup, ...)
	// +optional
	MainStepsCompleted *bool `json:"mainStepsCompleted,omitempty"`

	// Name of the APIManager from which the backup has been performed
	// +optional
	APIManagerSourceName *string `json:"apiManagerSourceName,omitempty"`

	// Backup start time. It is represented in RFC3339 form and is in UTC.
	// +optional
	StartTime *metav1.Time `json:"startTime,omitempty"`
	// Backup completion time. It is represented in RFC3339 form and is in UTC.
	// +optional
	CompletionTime *metav1.Time `json:"completionTime,omitempty"`

	// Name of the backup data PersistentVolumeClaim. Only set when
	// PersistentVolumeClaim is used as the backup data destination
	// +optional
	BackupPersistentVolumeClaimName *string `json:"backupPersistentVolumeClaimName,omitempty"`
}

APIManagerBackupStatus defines the observed state of APIManagerBackup

func (*APIManagerBackupStatus) DeepCopy

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

func (*APIManagerBackupStatus) DeepCopyInto

func (in *APIManagerBackupStatus) DeepCopyInto(out *APIManagerBackupStatus)

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

type APIManagerCommonSpec

type APIManagerCommonSpec struct {
	// Wildcard domain as configured in the API Manager object
	// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Wildcard Domain",xDescriptors="urn:alm:descriptor:com.tectonic.ui:label"
	WildcardDomain string `json:"wildcardDomain"`
	// +optional
	AppLabel *string `json:"appLabel,omitempty"`
	// +optional
	TenantName *string `json:"tenantName,omitempty"`
	// +optional
	ImageStreamTagImportInsecure *bool `json:"imageStreamTagImportInsecure,omitempty"`
	// +optional
	ResourceRequirementsEnabled *bool `json:"resourceRequirementsEnabled,omitempty"`
	// +optional
	ImagePullSecrets []v1.LocalObjectReference `json:"imagePullSecrets,omitempty"`
}

func (*APIManagerCommonSpec) DeepCopy

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

func (*APIManagerCommonSpec) DeepCopyInto

func (in *APIManagerCommonSpec) DeepCopyInto(out *APIManagerCommonSpec)

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

type APIManagerList

type APIManagerList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []APIManager `json:"items"`
}

APIManagerList contains a list of APIManager

func (*APIManagerList) DeepCopy

func (in *APIManagerList) DeepCopy() *APIManagerList

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

func (*APIManagerList) DeepCopyInto

func (in *APIManagerList) DeepCopyInto(out *APIManagerList)

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

func (*APIManagerList) DeepCopyObject

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

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

type APIManagerRestore

type APIManagerRestore struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   APIManagerRestoreSpec   `json:"spec,omitempty"`
	Status APIManagerRestoreStatus `json:"status,omitempty"`
}

APIManagerRestore represents an APIManager restore +kubebuilder:resource:path=apimanagerrestores,scope=Namespaced +operator-sdk:csv:customresourcedefinitions:displayName="APIManagerRestore"

func (*APIManagerRestore) DeepCopy

func (in *APIManagerRestore) DeepCopy() *APIManagerRestore

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

func (*APIManagerRestore) DeepCopyInto

func (in *APIManagerRestore) DeepCopyInto(out *APIManagerRestore)

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

func (*APIManagerRestore) DeepCopyObject

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

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

func (*APIManagerRestore) MainStepsCompleted

func (a *APIManagerRestore) MainStepsCompleted() bool

func (*APIManagerRestore) RestoreCompleted

func (a *APIManagerRestore) RestoreCompleted() bool

func (*APIManagerRestore) SetDefaults

func (a *APIManagerRestore) SetDefaults() (bool, error)

type APIManagerRestoreList

type APIManagerRestoreList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []APIManagerRestore `json:"items"`
}

APIManagerRestoreList contains a list of APIManagerRestore

func (*APIManagerRestoreList) DeepCopy

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

func (*APIManagerRestoreList) DeepCopyInto

func (in *APIManagerRestoreList) DeepCopyInto(out *APIManagerRestoreList)

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

func (*APIManagerRestoreList) DeepCopyObject

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

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

type APIManagerRestoreSource

type APIManagerRestoreSource struct {
	// +optional
	// Restore data soure configuration
	PersistentVolumeClaim *PersistentVolumeClaimRestoreSource `json:"persistentVolumeClaim,omitempty"`
}

APIManagerRestoreSource defines the backup data restore source configurability. It is a union type. Only one of the fields can be set

func (*APIManagerRestoreSource) DeepCopy

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

func (*APIManagerRestoreSource) DeepCopyInto

func (in *APIManagerRestoreSource) DeepCopyInto(out *APIManagerRestoreSource)

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

type APIManagerRestoreSpec

type APIManagerRestoreSpec struct {
	RestoreSource APIManagerRestoreSource `json:"restoreSource"`
}

APIManagerRestoreSpec defines the desired state of APIManagerRestore

func (*APIManagerRestoreSpec) DeepCopy

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

func (*APIManagerRestoreSpec) DeepCopyInto

func (in *APIManagerRestoreSpec) DeepCopyInto(out *APIManagerRestoreSpec)

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

type APIManagerRestoreStatus

type APIManagerRestoreStatus struct {

	// Name of the APIManager to be restored
	// +optional
	APIManagerToRestoreRef *v1.LocalObjectReference `json:"apiManagerToRestoreRef,omitempty"`

	// Set to true when backup has been completed
	// +optional
	Completed *bool `json:"completed,omitempty"`

	// Set to true when main steps have been completed. At this point
	// restore still cannot be considered fully completed due to some remaining
	// post-backup tasks are pending (cleanup, ...)
	// +optional
	MainStepsCompleted *bool `json:"mainStepsCompleted,omitempty"`

	// Restore start time. It is represented in RFC3339 form and is in UTC.
	// +optional
	StartTime *metav1.Time `json:"startTime,omitempty"`
	// Restore completion time. It is represented in RFC3339 form and is in UTC.
	// +optional
	CompletionTime *metav1.Time `json:"completionTime,omitempty"`
}

APIManagerRestoreStatus defines the observed state of APIManagerRestore

func (*APIManagerRestoreStatus) DeepCopy

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

func (*APIManagerRestoreStatus) DeepCopyInto

func (in *APIManagerRestoreStatus) DeepCopyInto(out *APIManagerRestoreStatus)

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

type APIManagerSpec

type APIManagerSpec struct {
	APIManagerCommonSpec `json:",inline"`
	// +optional
	Apicast *ApicastSpec `json:"apicast,omitempty"`
	// +optional
	Backend *BackendSpec `json:"backend,omitempty"`
	// +optional
	System *SystemSpec `json:"system,omitempty"`
	// +optional
	Zync *ZyncSpec `json:"zync,omitempty"`
	// +optional
	HighAvailability *HighAvailabilitySpec `json:"highAvailability,omitempty"`
	// +optional
	ExternalComponents *ExternalComponentsSpec `json:"externalComponents,omitempty"`

	// +optional
	PodDisruptionBudget *PodDisruptionBudgetSpec `json:"podDisruptionBudget,omitempty"`
	// +optional
	Monitoring *MonitoringSpec `json:"monitoring,omitempty"`
}

APIManagerSpec defines the desired state of APIManager

func (*APIManagerSpec) DeepCopy

func (in *APIManagerSpec) DeepCopy() *APIManagerSpec

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

func (*APIManagerSpec) DeepCopyInto

func (in *APIManagerSpec) DeepCopyInto(out *APIManagerSpec)

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

type APIManagerStatus

type APIManagerStatus struct {

	// Current state of the APIManager resource.
	// Conditions represent the latest available observations of an object's state
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions common.Conditions `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,2,rep,name=conditions"`

	// APIManager Deployment Configs
	// +operator-sdk:csv:customresourcedefinitions:type=status,displayName="Deployments",xDescriptors="urn:alm:descriptor:com.tectonic.ui:podStatuses"
	Deployments olm.DeploymentStatus `json:"deployments"`
}

APIManagerStatus defines the observed state of APIManager

func (*APIManagerStatus) DeepCopy

func (in *APIManagerStatus) DeepCopy() *APIManagerStatus

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

func (*APIManagerStatus) DeepCopyInto

func (in *APIManagerStatus) DeepCopyInto(out *APIManagerStatus)

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

func (*APIManagerStatus) Equals

func (s *APIManagerStatus) Equals(other *APIManagerStatus, logger logr.Logger) bool

type APIcastOpenTracingSpec

type APIcastOpenTracingSpec struct {
	// Enabled controls whether OpenTracing integration with APIcast is enabled.
	// By default it is not enabled.
	// +optional
	Enabled *bool `json:"enabled,omitempty"`
	// +optional
	// TracingLibrary controls which OpenTracing library is loaded. At the moment
	// the only supported tracer is `jaeger`. If not set, `jaeger` will be used.
	TracingLibrary *string `json:"tracingLibrary,omitempty"`
	// TracingConfigSecretRef contains a secret reference the OpenTracing configuration.
	// Each supported tracing library provides a default configuration file
	// that is used if TracingConfig is not specified.
	// +optional
	TracingConfigSecretRef *v1.LocalObjectReference `json:"tracingConfigSecretRef,omitempty"`
}

func (*APIcastOpenTracingSpec) DeepCopy

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

func (*APIcastOpenTracingSpec) DeepCopyInto

func (in *APIcastOpenTracingSpec) DeepCopyInto(out *APIcastOpenTracingSpec)

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

type ApicastProductionSpec

type ApicastProductionSpec struct {
	// +optional
	Replicas *int64 `json:"replicas,omitempty"`
	// +optional
	Affinity *v1.Affinity `json:"affinity,omitempty"`
	// +optional
	Tolerations []v1.Toleration `json:"tolerations,omitempty"`
	// +optional
	Resources *v1.ResourceRequirements `json:"resources,omitempty"`
	// +optional
	// +kubebuilder:validation:Minimum=1
	Workers *int32 `json:"workers,omitempty"`
	// +optional
	// +kubebuilder:validation:Enum=debug;info;notice;warn;error;crit;alert;emerg
	LogLevel *string `json:"logLevel,omitempty"` // APICAST_LOG_LEVEL
	// CustomPolicies specifies an array of defined custome policies to be loaded
	// +optional
	CustomPolicies []CustomPolicySpec `json:"customPolicies,omitempty"`
	// OpenTracing contains the OpenTracing integration configuration
	// with APIcast in the production environment.
	// +optional
	OpenTracing *APIcastOpenTracingSpec `json:"openTracing,omitempty"`
	// CustomEnvironments specifies an array of defined custom environments to be loaded
	// +optional
	CustomEnvironments []CustomEnvironmentSpec `json:"customEnvironments,omitempty"` // APICAST_ENVIRONMENT
	// HttpsPort controls on which port APIcast should start listening for HTTPS connections.
	// If this clashes with HTTP port it will be used only for HTTPS.
	// Enable TLS at APIcast pod level setting either `httpsPort` or `httpsCertificateSecretRef` fields or both.
	// +optional
	HTTPSPort *int32 `json:"httpsPort,omitempty"` // APICAST_HTTPS_PORT
	// HTTPSVerifyDepth defines the maximum length of the client certificate chain.
	// +kubebuilder:validation:Minimum=0
	// +optional
	HTTPSVerifyDepth *int64 `json:"httpsVerifyDepth,omitempty"` // APICAST_HTTPS_VERIFY_DEPTH
	// HTTPSCertificateSecretRef references secret containing the X.509 certificate in the PEM format and the X.509 certificate secret key.
	// Enable TLS at APIcast pod level setting either `httpsPort` or `httpsCertificateSecretRef` fields or both.
	// +optional
	HTTPSCertificateSecretRef *v1.LocalObjectReference `json:"httpsCertificateSecretRef,omitempty"`
	// AllProxy specifies a HTTP(S) proxy to be used for connecting to services if
	// a protocol-specific proxy is not specified. Authentication is not supported.
	// Format is <scheme>://<host>:<port>
	// +optional
	AllProxy *string `json:"allProxy,omitempty"` // ALL_PROXY
	// HTTPProxy specifies a HTTP(S) Proxy to be used for connecting to HTTP services.
	// Authentication is not supported. Format is <scheme>://<host>:<port>
	// +optional
	HTTPProxy *string `json:"httpProxy,omitempty"` // HTTP_PROXY
	// HTTPSProxy specifies a HTTP(S) Proxy to be used for connecting to HTTPS services.
	// Authentication is not supported. Format is <scheme>://<host>:<port>
	// +optional
	HTTPSProxy *string `json:"httpsProxy,omitempty"` // HTTPS_PROXY
	// NoProxy specifies a comma-separated list of hostnames and domain
	// names for which the requests should not be proxied. Setting to a single
	// * character, which matches all hosts, effectively disables the proxy.
	// +optional
	NoProxy *string `json:"noProxy,omitempty"` // NO_PROXY
	// ServiceCacheSize specifies the number of services that APICast can store in the internal cache
	// +optional
	ServiceCacheSize *int32 `json:"serviceCacheSize,omitempty"` // APICAST_SERVICE_CACHE_SIZE
	// +optional
	PriorityClassName *string `json:"priorityClassName,omitempty"`
	// +optional
	TopologySpreadConstraints []v1.TopologySpreadConstraint `json:"topologySpreadConstraints,omitempty"`
	// +optional
	Labels map[string]string `json:"labels,omitempty"`
	// +optional
	Annotations map[string]string `json:"annotations,omitempty"`
}

func (*ApicastProductionSpec) DeepCopy

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

func (*ApicastProductionSpec) DeepCopyInto

func (in *ApicastProductionSpec) DeepCopyInto(out *ApicastProductionSpec)

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

type ApicastSpec

type ApicastSpec struct {
	// +optional
	ApicastManagementAPI *string `json:"managementAPI,omitempty"`
	// +optional
	OpenSSLVerify *bool `json:"openSSLVerify,omitempty"`
	// +optional
	IncludeResponseCodes *bool `json:"responseCodes,omitempty"`
	// +optional
	RegistryURL *string `json:"registryURL,omitempty"`
	// +optional
	Image *string `json:"image,omitempty"`
	// +optional
	ProductionSpec *ApicastProductionSpec `json:"productionSpec,omitempty"`
	// +optional
	StagingSpec *ApicastStagingSpec `json:"stagingSpec,omitempty"`
}

func (*ApicastSpec) DeepCopy

func (in *ApicastSpec) DeepCopy() *ApicastSpec

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

func (*ApicastSpec) DeepCopyInto

func (in *ApicastSpec) DeepCopyInto(out *ApicastSpec)

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

type ApicastStagingSpec

type ApicastStagingSpec struct {
	// +optional
	Replicas *int64 `json:"replicas,omitempty"`
	// +optional
	Affinity *v1.Affinity `json:"affinity,omitempty"`
	// +optional
	Tolerations []v1.Toleration `json:"tolerations,omitempty"`
	// +optional
	Resources *v1.ResourceRequirements `json:"resources,omitempty"`
	// +optional
	// +kubebuilder:validation:Enum=debug;info;notice;warn;error;crit;alert;emerg
	LogLevel *string `json:"logLevel,omitempty"` // APICAST_LOG_LEVEL
	// CustomPolicies specifies an array of defined custome policies to be loaded
	// +optional
	CustomPolicies []CustomPolicySpec `json:"customPolicies,omitempty"`
	// OpenTracing contains the OpenTracing integration configuration
	// with APIcast in the staging environment.
	// +optional
	OpenTracing *APIcastOpenTracingSpec `json:"openTracing,omitempty"`
	// CustomEnvironments specifies an array of defined custom environments to be loaded
	// +optional
	CustomEnvironments []CustomEnvironmentSpec `json:"customEnvironments,omitempty"` // APICAST_ENVIRONMENT
	// HttpsPort controls on which port APIcast should start listening for HTTPS connections.
	// If this clashes with HTTP port it will be used only for HTTPS.
	// Enable TLS at APIcast pod level setting either `httpsPort` or `httpsCertificateSecretRef` fields or both.
	// +optional
	HTTPSPort *int32 `json:"httpsPort,omitempty"` // APICAST_HTTPS_PORT
	// HTTPSVerifyDepth defines the maximum length of the client certificate chain.
	// +kubebuilder:validation:Minimum=0
	// +optional
	HTTPSVerifyDepth *int64 `json:"httpsVerifyDepth,omitempty"` // APICAST_HTTPS_VERIFY_DEPTH
	// HTTPSCertificateSecretRef references secret containing the X.509 certificate in the PEM format and the X.509 certificate secret key.
	// Enable TLS at APIcast pod level setting either `httpsPort` or `httpsCertificateSecretRef` fields or both.
	// +optional
	HTTPSCertificateSecretRef *v1.LocalObjectReference `json:"httpsCertificateSecretRef,omitempty"`
	// AllProxy specifies a HTTP(S) proxy to be used for connecting to services if
	// a protocol-specific proxy is not specified. Authentication is not supported.
	// Format is <scheme>://<host>:<port>
	// +optional
	AllProxy *string `json:"allProxy,omitempty"` // ALL_PROXY
	// HTTPProxy specifies a HTTP(S) Proxy to be used for connecting to HTTP services.
	// Authentication is not supported. Format is <scheme>://<host>:<port>
	// +optional
	HTTPProxy *string `json:"httpProxy,omitempty"` // HTTP_PROXY
	// HTTPSProxy specifies a HTTP(S) Proxy to be used for connecting to HTTPS services.
	// Authentication is not supported. Format is <scheme>://<host>:<port>
	// +optional
	HTTPSProxy *string `json:"httpsProxy,omitempty"` // HTTPS_PROXY
	// NoProxy specifies a comma-separated list of hostnames and domain
	// names for which the requests should not be proxied. Setting to a single
	// * character, which matches all hosts, effectively disables the proxy.
	// +optional
	NoProxy *string `json:"noProxy,omitempty"` // NO_PROXY
	// ServiceCacheSize specifies the number of services that APICast can store in the internal cache
	// +optional
	ServiceCacheSize *int32 `json:"serviceCacheSize,omitempty"` // APICAST_SERVICE_CACHE_SIZE
	// +optional
	PriorityClassName *string `json:"priorityClassName,omitempty"`
	// +optional
	TopologySpreadConstraints []v1.TopologySpreadConstraint `json:"topologySpreadConstraints,omitempty"`
	// +optional
	Labels map[string]string `json:"labels,omitempty"`
	// +optional
	Annotations map[string]string `json:"annotations,omitempty"`
}

func (*ApicastStagingSpec) DeepCopy

func (in *ApicastStagingSpec) DeepCopy() *ApicastStagingSpec

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

func (*ApicastStagingSpec) DeepCopyInto

func (in *ApicastStagingSpec) DeepCopyInto(out *ApicastStagingSpec)

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

type BackendCronSpec

type BackendCronSpec struct {
	// +optional
	Replicas *int64 `json:"replicas,omitempty"`
	// +optional
	Affinity *v1.Affinity `json:"affinity,omitempty"`
	// +optional
	Tolerations []v1.Toleration `json:"tolerations,omitempty"`
	// +optional
	Resources *v1.ResourceRequirements `json:"resources,omitempty"`
	// +optional
	PriorityClassName *string `json:"priorityClassName,omitempty"`
	// +optional
	TopologySpreadConstraints []v1.TopologySpreadConstraint `json:"topologySpreadConstraints,omitempty"`
	// +optional
	Labels map[string]string `json:"labels,omitempty"`
	// +optional
	Annotations map[string]string `json:"annotations,omitempty"`
}

func (*BackendCronSpec) DeepCopy

func (in *BackendCronSpec) DeepCopy() *BackendCronSpec

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

func (*BackendCronSpec) DeepCopyInto

func (in *BackendCronSpec) DeepCopyInto(out *BackendCronSpec)

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

type BackendListenerSpec

type BackendListenerSpec struct {
	// +optional
	Replicas *int64 `json:"replicas,omitempty"`
	// +optional
	Affinity *v1.Affinity `json:"affinity,omitempty"`
	// +optional
	Tolerations []v1.Toleration `json:"tolerations,omitempty"`
	// +optional
	Resources *v1.ResourceRequirements `json:"resources,omitempty"`
	// +optional
	PriorityClassName *string `json:"priorityClassName,omitempty"`
	// +optional
	TopologySpreadConstraints []v1.TopologySpreadConstraint `json:"topologySpreadConstraints,omitempty"`
	// +optional
	Labels map[string]string `json:"labels,omitempty"`
	// +optional
	Annotations map[string]string `json:"annotations,omitempty"`
}

func (*BackendListenerSpec) DeepCopy

func (in *BackendListenerSpec) DeepCopy() *BackendListenerSpec

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

func (*BackendListenerSpec) DeepCopyInto

func (in *BackendListenerSpec) DeepCopyInto(out *BackendListenerSpec)

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

type BackendRedisPersistentVolumeClaimSpec

type BackendRedisPersistentVolumeClaimSpec struct {
	// +optional
	StorageClassName *string `json:"storageClassName,omitempty"`
}

func (*BackendRedisPersistentVolumeClaimSpec) DeepCopy

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

func (*BackendRedisPersistentVolumeClaimSpec) DeepCopyInto

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

type BackendSpec

type BackendSpec struct {
	// +optional
	Image *string `json:"image,omitempty"`
	// +optional
	RedisImage *string `json:"redisImage,omitempty"`
	// +optional
	RedisPersistentVolumeClaimSpec *BackendRedisPersistentVolumeClaimSpec `json:"redisPersistentVolumeClaim,omitempty"`
	// +optional
	RedisAffinity *v1.Affinity `json:"redisAffinity,omitempty"`
	// +optional
	RedisTolerations []v1.Toleration `json:"redisTolerations,omitempty"`
	// +optional
	RedisResources *v1.ResourceRequirements `json:"redisResources,omitempty"`
	// +optional
	RedisPriorityClassName *string `json:"redisPriorityClassName,omitempty"`
	// +optional
	RedisTopologySpreadConstraints []v1.TopologySpreadConstraint `json:"redisTopologySpreadConstraints,omitempty"`
	// +optional
	RedisLabels map[string]string `json:"redisLabels,omitempty"`
	// +optional
	RedisAnnotations map[string]string `json:"redisAnnotations,omitempty"`

	// +optional
	ListenerSpec *BackendListenerSpec `json:"listenerSpec,omitempty"`
	// +optional
	WorkerSpec *BackendWorkerSpec `json:"workerSpec,omitempty"`
	// +optional
	CronSpec *BackendCronSpec `json:"cronSpec,omitempty"`
}

func (*BackendSpec) DeepCopy

func (in *BackendSpec) DeepCopy() *BackendSpec

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

func (*BackendSpec) DeepCopyInto

func (in *BackendSpec) DeepCopyInto(out *BackendSpec)

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

type BackendWorkerSpec

type BackendWorkerSpec struct {
	// +optional
	Replicas *int64 `json:"replicas,omitempty"`
	// +optional
	Affinity *v1.Affinity `json:"affinity,omitempty"`
	// +optional
	Tolerations []v1.Toleration `json:"tolerations,omitempty"`
	// +optional
	Resources *v1.ResourceRequirements `json:"resources,omitempty"`
	// +optional
	PriorityClassName *string `json:"priorityClassName,omitempty"`
	// +optional
	TopologySpreadConstraints []v1.TopologySpreadConstraint `json:"topologySpreadConstraints,omitempty"`
	// +optional
	Labels map[string]string `json:"labels,omitempty"`
	// +optional
	Annotations map[string]string `json:"annotations,omitempty"`
}

func (*BackendWorkerSpec) DeepCopy

func (in *BackendWorkerSpec) DeepCopy() *BackendWorkerSpec

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

func (*BackendWorkerSpec) DeepCopyInto

func (in *BackendWorkerSpec) DeepCopyInto(out *BackendWorkerSpec)

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

type CustomEnvironmentSpec

type CustomEnvironmentSpec struct {
	SecretRef *v1.LocalObjectReference `json:"secretRef"`
}

CustomEnvironmentSpec contains or has reference to an APIcast custom environment

func (*CustomEnvironmentSpec) DeepCopy

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

func (*CustomEnvironmentSpec) DeepCopyInto

func (in *CustomEnvironmentSpec) DeepCopyInto(out *CustomEnvironmentSpec)

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

type CustomPolicySpec

type CustomPolicySpec struct {
	// Name specifies the name of the custom policy
	Name string `json:"name"`
	// Version specifies the name of the custom policy
	Version string `json:"version"`
	// SecretRef specifies the secret holding the custom policy metadata and lua code
	SecretRef *v1.LocalObjectReference `json:"secretRef"`
}

CustomPolicySpec contains or has reference to an APIcast custom policy

func (*CustomPolicySpec) DeepCopy

func (in *CustomPolicySpec) DeepCopy() *CustomPolicySpec

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

func (*CustomPolicySpec) DeepCopyInto

func (in *CustomPolicySpec) DeepCopyInto(out *CustomPolicySpec)

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

func (*CustomPolicySpec) VersionName

func (c *CustomPolicySpec) VersionName() string

type DeprecatedSystemS3Spec

type DeprecatedSystemS3Spec struct {
	// Deprecated
	AWSBucket string `json:"awsBucket"`
	// Deprecated
	AWSRegion string `json:"awsRegion"`
	// Deprecated
	AWSCredentials v1.LocalObjectReference `json:"awsCredentialsSecret"`
}

func (*DeprecatedSystemS3Spec) DeepCopy

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

func (*DeprecatedSystemS3Spec) DeepCopyInto

func (in *DeprecatedSystemS3Spec) DeepCopyInto(out *DeprecatedSystemS3Spec)

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

type ExternalBackendComponents added in v0.9.0

type ExternalBackendComponents struct {
	// +optional
	Redis *bool `json:"redis,omitempty"`
}

func (*ExternalBackendComponents) DeepCopy added in v0.9.0

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

func (*ExternalBackendComponents) DeepCopyInto added in v0.9.0

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

type ExternalComponentsSpec added in v0.9.0

type ExternalComponentsSpec struct {
	// +optional
	System *ExternalSystemComponents `json:"system,omitempty"`
	// +optional
	Backend *ExternalBackendComponents `json:"backend,omitempty"`
	// +optional
	Zync *ExternalZyncComponents `json:"zync,omitempty"`
}

func AllComponentsExternal added in v0.9.0

func AllComponentsExternal() *ExternalComponentsSpec

func (*ExternalComponentsSpec) DeepCopy added in v0.9.0

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

func (*ExternalComponentsSpec) DeepCopyInto added in v0.9.0

func (in *ExternalComponentsSpec) DeepCopyInto(out *ExternalComponentsSpec)

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

type ExternalSystemComponents added in v0.9.0

type ExternalSystemComponents struct {
	// +optional
	Redis *bool `json:"redis,omitempty"`
	// +optional
	Database *bool `json:"database,omitempty"`
}

func (*ExternalSystemComponents) DeepCopy added in v0.9.0

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

func (*ExternalSystemComponents) DeepCopyInto added in v0.9.0

func (in *ExternalSystemComponents) DeepCopyInto(out *ExternalSystemComponents)

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

type ExternalZyncComponents added in v0.9.0

type ExternalZyncComponents struct {
	// +optional
	Database *bool `json:"database,omitempty"`
}

func (*ExternalZyncComponents) DeepCopy added in v0.9.0

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

func (*ExternalZyncComponents) DeepCopyInto added in v0.9.0

func (in *ExternalZyncComponents) DeepCopyInto(out *ExternalZyncComponents)

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

type HighAvailabilitySpec

type HighAvailabilitySpec struct {
	Enabled bool `json:"enabled,omitempty"`
	// +optional
	ExternalZyncDatabaseEnabled *bool `json:"externalZyncDatabaseEnabled,omitempty"`
}

func (*HighAvailabilitySpec) DeepCopy

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

func (*HighAvailabilitySpec) DeepCopyInto

func (in *HighAvailabilitySpec) DeepCopyInto(out *HighAvailabilitySpec)

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

type MonitoringSpec

type MonitoringSpec struct {
	Enabled bool `json:"enabled,omitempty"`
	// +optional
	EnablePrometheusRules *bool `json:"enablePrometheusRules,omitempty"`
}

func (*MonitoringSpec) DeepCopy

func (in *MonitoringSpec) DeepCopy() *MonitoringSpec

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

func (*MonitoringSpec) DeepCopyInto

func (in *MonitoringSpec) DeepCopyInto(out *MonitoringSpec)

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

type PVCGenericSpec added in v0.11.0

type PVCGenericSpec struct {
	// +optional
	StorageClassName *string `json:"storageClassName,omitempty"`
	// Resources represents the minimum resources the volume should have.
	// Ignored when VolumeName field is set
	// +optional
	Resources *PersistentVolumeClaimResources `json:"resources,omitempty"`
	// VolumeName is the binding reference to the PersistentVolume backing this claim.
	// +optional
	VolumeName *string `json:"volumeName,omitempty"`
}

func (*PVCGenericSpec) DeepCopy added in v0.11.0

func (in *PVCGenericSpec) DeepCopy() *PVCGenericSpec

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

func (*PVCGenericSpec) DeepCopyInto added in v0.11.0

func (in *PVCGenericSpec) DeepCopyInto(out *PVCGenericSpec)

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

type PersistentVolumeClaimBackupDestination

type PersistentVolumeClaimBackupDestination struct {
	// Resources configuration for the backup data PersistentVolumeClaim.
	// Ignored when VolumeName field is set
	// +optional
	Resources *PersistentVolumeClaimResources `json:"resources,omitempty"`
	// Name of an existing PersistentVolume to be bound to the
	// backup data PersistentVolumeClaim
	// +optional
	VolumeName *string `json:"volumeName,omitempty"`
	// Storage class to be used by the PersistentVolumeClaim. Ignored
	// when VolumeName field is set
	// +optional
	StorageClass *string `json:"storageClass,omitempty"`
}

PersistentVolumeClaimBackupDestination defines the configuration of the PersistentVolumeClaim to be used as the backup data destination Ways to define a PVC creation: Define VolumeName OR Define Resources. When VolumeName is specified resources is not needed: Detailed information: https://docs.okd.io/3.11/dev_guide/persistent_volumes.html#persistent-volumes-volumes-and-claim-prebinding

func (*PersistentVolumeClaimBackupDestination) DeepCopy

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

func (*PersistentVolumeClaimBackupDestination) DeepCopyInto

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

type PersistentVolumeClaimResources

type PersistentVolumeClaimResources struct {
	// Storage Resource requests to be used on the PersistentVolumeClaim.
	// To learn more about resource requests see:
	// https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
	Requests resource.Quantity `json:"requests"` // Should this be a string or a resoure.Quantity? it seems it is serialized as a string
}

PersistentVolumeClaimResources defines the resources configuration of the backup data destination PersistentVolumeClaim

func (*PersistentVolumeClaimResources) DeepCopy

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

func (*PersistentVolumeClaimResources) DeepCopyInto

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

type PersistentVolumeClaimRestoreSource

type PersistentVolumeClaimRestoreSource struct {
	// PersistentVolumeClaim source of an existing PersistentVolumeClaim.
	// See
	ClaimSource v1.PersistentVolumeClaimVolumeSource `json:"claimSource"`
}

PersistentVolumeClaimRestoreSource defines the configuration of the PersistentVolumeClaim to be used as the restore data source for an APIManager restore

func (*PersistentVolumeClaimRestoreSource) DeepCopy

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

func (*PersistentVolumeClaimRestoreSource) DeepCopyInto

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

type PodDisruptionBudgetSpec

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

func (*PodDisruptionBudgetSpec) DeepCopy

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

func (*PodDisruptionBudgetSpec) DeepCopyInto

func (in *PodDisruptionBudgetSpec) DeepCopyInto(out *PodDisruptionBudgetSpec)

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

type STSSpec added in v0.11.0

type STSSpec struct {
	// Enable Secure Token Service for  short-term, limited-privilege security credentials
	// +optional
	Enabled *bool `json:"enabled,omitempty"`
	// The ID the token is intended for
	// +optional
	Audience *string `json:"audience,omitempty"`
}

func (*STSSpec) DeepCopy added in v0.11.0

func (in *STSSpec) DeepCopy() *STSSpec

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

func (*STSSpec) DeepCopyInto added in v0.11.0

func (in *STSSpec) DeepCopyInto(out *STSSpec)

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

type SystemAppSpec

type SystemAppSpec struct {
	// +optional
	Replicas *int64 `json:"replicas,omitempty"`
	// +optional
	Affinity *v1.Affinity `json:"affinity,omitempty"`
	// +optional
	Tolerations []v1.Toleration `json:"tolerations,omitempty"`
	// +optional
	MasterContainerResources *v1.ResourceRequirements `json:"masterContainerResources,omitempty"`
	// +optional
	ProviderContainerResources *v1.ResourceRequirements `json:"providerContainerResources,omitempty"`
	// +optional
	DeveloperContainerResources *v1.ResourceRequirements `json:"developerContainerResources,omitempty"`
	// +optional
	PriorityClassName *string `json:"priorityClassName,omitempty"`
	// +optional
	TopologySpreadConstraints []v1.TopologySpreadConstraint `json:"topologySpreadConstraints,omitempty"`
	// +optional
	Labels map[string]string `json:"labels,omitempty"`
	// +optional
	Annotations map[string]string `json:"annotations,omitempty"`
}

func (*SystemAppSpec) DeepCopy

func (in *SystemAppSpec) DeepCopy() *SystemAppSpec

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

func (*SystemAppSpec) DeepCopyInto

func (in *SystemAppSpec) DeepCopyInto(out *SystemAppSpec)

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

type SystemDatabaseSpec

type SystemDatabaseSpec struct {
	// Union type. Only one of the fields can be set
	// +optional
	MySQL *SystemMySQLSpec `json:"mysql,omitempty"`
	// +optional
	PostgreSQL *SystemPostgreSQLSpec `json:"postgresql,omitempty"`
}

func (*SystemDatabaseSpec) DeepCopy

func (in *SystemDatabaseSpec) DeepCopy() *SystemDatabaseSpec

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

func (*SystemDatabaseSpec) DeepCopyInto

func (in *SystemDatabaseSpec) DeepCopyInto(out *SystemDatabaseSpec)

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

type SystemFileStorageSpec

type SystemFileStorageSpec struct {
	// Union type. Only one of the fields can be set.
	// +optional
	PVC *PVCGenericSpec `json:"persistentVolumeClaim,omitempty"`
	// +optional
	// Deprecated
	DeprecatedS3 *DeprecatedSystemS3Spec `json:"amazonSimpleStorageService,omitempty"`
	// +optional
	S3 *SystemS3Spec `json:"simpleStorageService,omitempty"`
}

func (*SystemFileStorageSpec) DeepCopy

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

func (*SystemFileStorageSpec) DeepCopyInto

func (in *SystemFileStorageSpec) DeepCopyInto(out *SystemFileStorageSpec)

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

type SystemMySQLSpec

type SystemMySQLSpec struct {
	// +optional
	Image *string `json:"image,omitempty"`

	// +optional
	PersistentVolumeClaimSpec *PVCGenericSpec `json:"persistentVolumeClaim,omitempty"`
	// +optional
	Affinity *v1.Affinity `json:"affinity,omitempty"`
	// +optional
	Tolerations []v1.Toleration `json:"tolerations,omitempty"`
	// +optional
	Resources *v1.ResourceRequirements `json:"resources,omitempty"`
	// +optional
	PriorityClassName *string `json:"priorityClassName,omitempty"`
	// +optional
	TopologySpreadConstraints []v1.TopologySpreadConstraint `json:"topologySpreadConstraints,omitempty"`
	// +optional
	Labels map[string]string `json:"labels,omitempty"`
	// +optional
	Annotations map[string]string `json:"annotations,omitempty"`
}

func (*SystemMySQLSpec) DeepCopy

func (in *SystemMySQLSpec) DeepCopy() *SystemMySQLSpec

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

func (*SystemMySQLSpec) DeepCopyInto

func (in *SystemMySQLSpec) DeepCopyInto(out *SystemMySQLSpec)

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

type SystemPostgreSQLSpec

type SystemPostgreSQLSpec struct {
	// +optional
	Image *string `json:"image,omitempty"`

	// +optional
	PersistentVolumeClaimSpec *PVCGenericSpec `json:"persistentVolumeClaim,omitempty"`
	// +optional
	Affinity *v1.Affinity `json:"affinity,omitempty"`
	// +optional
	Tolerations []v1.Toleration `json:"tolerations,omitempty"`
	// +optional
	Resources *v1.ResourceRequirements `json:"resources,omitempty"`
	// +optional
	PriorityClassName *string `json:"priorityClassName,omitempty"`
	// +optional
	TopologySpreadConstraints []v1.TopologySpreadConstraint `json:"topologySpreadConstraints,omitempty"`
	// +optional
	Labels map[string]string `json:"labels,omitempty"`
	// +optional
	Annotations map[string]string `json:"annotations,omitempty"`
}

func (*SystemPostgreSQLSpec) DeepCopy

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

func (*SystemPostgreSQLSpec) DeepCopyInto

func (in *SystemPostgreSQLSpec) DeepCopyInto(out *SystemPostgreSQLSpec)

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

type SystemRedisPersistentVolumeClaimSpec

type SystemRedisPersistentVolumeClaimSpec struct {
	// +optional
	StorageClassName *string `json:"storageClassName,omitempty"`
}

func (*SystemRedisPersistentVolumeClaimSpec) DeepCopy

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

func (*SystemRedisPersistentVolumeClaimSpec) DeepCopyInto

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

type SystemS3Spec

type SystemS3Spec struct {
	ConfigurationSecretRef v1.LocalObjectReference `json:"configurationSecretRef"`
	// STS authentication spec
	// +optional
	STS *STSSpec `json:"sts,omitempty"`
}

func (*SystemS3Spec) DeepCopy

func (in *SystemS3Spec) DeepCopy() *SystemS3Spec

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

func (*SystemS3Spec) DeepCopyInto

func (in *SystemS3Spec) DeepCopyInto(out *SystemS3Spec)

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

type SystemSearchdSpec added in v0.11.0

type SystemSearchdSpec struct {
	// +optional
	Image *string `json:"image,omitempty"`
	// +optional
	Affinity *v1.Affinity `json:"affinity,omitempty"`
	// +optional
	Tolerations []v1.Toleration `json:"tolerations,omitempty"`
	// +optional
	Resources *v1.ResourceRequirements `json:"resources,omitempty"`
	// +optional
	PVC *PVCGenericSpec `json:"persistentVolumeClaim,omitempty"`
	// +optional
	PriorityClassName *string `json:"priorityClassName,omitempty"`
	// +optional
	TopologySpreadConstraints []v1.TopologySpreadConstraint `json:"topologySpreadConstraints,omitempty"`
	// +optional
	Labels map[string]string `json:"labels,omitempty"`
	// +optional
	Annotations map[string]string `json:"annotations,omitempty"`
}

func (*SystemSearchdSpec) DeepCopy added in v0.11.0

func (in *SystemSearchdSpec) DeepCopy() *SystemSearchdSpec

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

func (*SystemSearchdSpec) DeepCopyInto added in v0.11.0

func (in *SystemSearchdSpec) DeepCopyInto(out *SystemSearchdSpec)

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

type SystemSidekiqSpec

type SystemSidekiqSpec struct {
	// +optional
	Replicas *int64 `json:"replicas,omitempty"`
	// +optional
	Affinity *v1.Affinity `json:"affinity,omitempty"`
	// +optional
	Tolerations []v1.Toleration `json:"tolerations,omitempty"`
	// +optional
	Resources *v1.ResourceRequirements `json:"resources,omitempty"`
	// +optional
	PriorityClassName *string `json:"priorityClassName,omitempty"`
	// +optional
	TopologySpreadConstraints []v1.TopologySpreadConstraint `json:"topologySpreadConstraints,omitempty"`
	// +optional
	Labels map[string]string `json:"labels,omitempty"`
	// +optional
	Annotations map[string]string `json:"annotations,omitempty"`
}

func (*SystemSidekiqSpec) DeepCopy

func (in *SystemSidekiqSpec) DeepCopy() *SystemSidekiqSpec

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

func (*SystemSidekiqSpec) DeepCopyInto

func (in *SystemSidekiqSpec) DeepCopyInto(out *SystemSidekiqSpec)

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

type SystemSpec

type SystemSpec struct {
	// +optional
	Image *string `json:"image,omitempty"`

	// +optional
	MemcachedImage *string `json:"memcachedImage,omitempty"`

	// +optional
	MemcachedAffinity *v1.Affinity `json:"memcachedAffinity,omitempty"`
	// +optional
	MemcachedTolerations []v1.Toleration `json:"memcachedTolerations,omitempty"`
	// +optional
	MemcachedResources *v1.ResourceRequirements `json:"memcachedResources,omitempty"`
	// +optional
	MemcachedPriorityClassName *string `json:"memcachedPriorityClassName,omitempty"`
	// +optional
	MemcachedTopologySpreadConstraints []v1.TopologySpreadConstraint `json:"memcachedTopologySpreadConstraints,omitempty"`
	// +optional
	MemcachedLabels map[string]string `json:"memcachedLabels,omitempty"`
	// +optional
	MemcachedAnnotations map[string]string `json:"memcachedAnnotations,omitempty"`

	// +optional
	RedisImage *string `json:"redisImage,omitempty"`
	// +optional
	RedisPersistentVolumeClaimSpec *SystemRedisPersistentVolumeClaimSpec `json:"redisPersistentVolumeClaim,omitempty"`
	// +optional
	RedisAffinity *v1.Affinity `json:"redisAffinity,omitempty"`
	// +optional
	RedisTolerations []v1.Toleration `json:"redisTolerations,omitempty"`
	// +optional
	RedisResources *v1.ResourceRequirements `json:"redisResources,omitempty"`
	// +optional
	RedisPriorityClassName *string `json:"redisPriorityClassName,omitempty"`
	// +optional
	RedisTopologySpreadConstraints []v1.TopologySpreadConstraint `json:"redisTopologySpreadConstraints,omitempty"`
	// +optional
	RedisLabels map[string]string `json:"redisLabels,omitempty"`
	// +optional
	RedisAnnotations map[string]string `json:"redisAnnotations,omitempty"`

	// +optional
	FileStorageSpec *SystemFileStorageSpec `json:"fileStorage,omitempty"`

	// +optional
	DatabaseSpec *SystemDatabaseSpec `json:"database,omitempty"`

	// +optional
	AppSpec *SystemAppSpec `json:"appSpec,omitempty"`
	// +optional
	SidekiqSpec *SystemSidekiqSpec `json:"sidekiqSpec,omitempty"`

	// +optional
	// Deprecated
	SphinxSpec *SystemSphinxSpec `json:"sphinxSpec,omitempty"`

	// +optional
	SearchdSpec *SystemSearchdSpec `json:"searchdSpec,omitempty"`
}

func (*SystemSpec) DeepCopy

func (in *SystemSpec) DeepCopy() *SystemSpec

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

func (*SystemSpec) DeepCopyInto

func (in *SystemSpec) DeepCopyInto(out *SystemSpec)

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

type SystemSphinxSpec

type SystemSphinxSpec struct {
	// +optional
	Affinity *v1.Affinity `json:"affinity,omitempty"`
	// +optional
	Tolerations []v1.Toleration `json:"tolerations,omitempty"`
	// +optional
	Resources *v1.ResourceRequirements `json:"resources,omitempty"`
	// +optional
	PriorityClassName *string `json:"priorityClassName,omitempty"`
	// +optional
	TopologySpreadConstraints []v1.TopologySpreadConstraint `json:"topologySpreadConstraints,omitempty"`
}

func (*SystemSphinxSpec) DeepCopy

func (in *SystemSphinxSpec) DeepCopy() *SystemSphinxSpec

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

func (*SystemSphinxSpec) DeepCopyInto

func (in *SystemSphinxSpec) DeepCopyInto(out *SystemSphinxSpec)

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

type ZyncAppSpec

type ZyncAppSpec struct {
	// +optional
	Replicas *int64 `json:"replicas,omitempty"`
	// +optional
	Affinity *v1.Affinity `json:"affinity,omitempty"`
	// +optional
	Tolerations []v1.Toleration `json:"tolerations,omitempty"`
	// +optional
	Resources *v1.ResourceRequirements `json:"resources,omitempty"`
	// +optional
	PriorityClassName *string `json:"priorityClassName,omitempty"`
	// +optional
	TopologySpreadConstraints []v1.TopologySpreadConstraint `json:"topologySpreadConstraints,omitempty"`
	// +optional
	Labels map[string]string `json:"labels,omitempty"`
	// +optional
	Annotations map[string]string `json:"annotations,omitempty"`
}

func (*ZyncAppSpec) DeepCopy

func (in *ZyncAppSpec) DeepCopy() *ZyncAppSpec

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

func (*ZyncAppSpec) DeepCopyInto

func (in *ZyncAppSpec) DeepCopyInto(out *ZyncAppSpec)

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

type ZyncQueSpec

type ZyncQueSpec struct {
	// +optional
	Replicas *int64 `json:"replicas,omitempty"`
	// +optional
	Affinity *v1.Affinity `json:"affinity,omitempty"`
	// +optional
	Tolerations []v1.Toleration `json:"tolerations,omitempty"`
	// +optional
	Resources *v1.ResourceRequirements `json:"resources,omitempty"`
	// +optional
	PriorityClassName *string `json:"priorityClassName,omitempty"`
	// +optional
	TopologySpreadConstraints []v1.TopologySpreadConstraint `json:"topologySpreadConstraints,omitempty"`
	// +optional
	Labels map[string]string `json:"labels,omitempty"`
	// +optional
	Annotations map[string]string `json:"annotations,omitempty"`
}

func (*ZyncQueSpec) DeepCopy

func (in *ZyncQueSpec) DeepCopy() *ZyncQueSpec

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

func (*ZyncQueSpec) DeepCopyInto

func (in *ZyncQueSpec) DeepCopyInto(out *ZyncQueSpec)

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

type ZyncSpec

type ZyncSpec struct {
	// +optional
	Image *string `json:"image,omitempty"`
	// +optional
	PostgreSQLImage *string `json:"postgreSQLImage,omitempty"`

	// +optional
	DatabaseAffinity *v1.Affinity `json:"databaseAffinity,omitempty"`
	// +optional
	DatabaseTolerations []v1.Toleration `json:"databaseTolerations,omitempty"`
	// +optional
	DatabaseResources *v1.ResourceRequirements `json:"databaseResources,omitempty"`

	// +optional
	AppSpec *ZyncAppSpec `json:"appSpec,omitempty"`

	// +optional
	QueSpec *ZyncQueSpec `json:"queSpec,omitempty"`

	// +optional
	DatabasePriorityClassName *string `json:"databasePriorityClassName,omitempty"`
	// +optional
	DatabaseTopologySpreadConstraints []v1.TopologySpreadConstraint `json:"databaseTopologySpreadConstraints,omitempty"`
	// +optional
	DatabaseLabels map[string]string `json:"databaseLabels,omitempty"`
	// +optional
	DatabaseAnnotations map[string]string `json:"databaseAnnotations,omitempty"`
}

func (*ZyncSpec) DeepCopy

func (in *ZyncSpec) DeepCopy() *ZyncSpec

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

func (*ZyncSpec) DeepCopyInto

func (in *ZyncSpec) DeepCopyInto(out *ZyncSpec)

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