Documentation
¶
Index ¶
Constants ¶
const CloudflowDeploymentName = "cloudflow-operator"
CloudflowDeploymentName is the name of the Cloudflow operator deployment
const ProtocolVersion = "4"
ProtocolVersion is the protocol version, which is shared between the cloudflow-operator and kubectl-cloudflow. The cloudflow-operator creates a configmap on bootstrap that kubectl-cloudflow reads to verify that it is compatible.
const ProtocolVersionConfigMapName = "cloudflow-protocol-version"
ProtocolVersionConfigMapName is the name of the configmap that contains the protocol-version
const ProtocolVersionKey = "protocol-version"
ProtocolVersionKey is the key of the protocol version in the configmap
const RequiredFlinkVersion = "v1beta1"
RequiredFlinkVersion is the Flink version required by Cloudflow
const RequiredSparkVersion = "v1beta2"
RequiredSparkVersion is the Spark version required by Cloudflow
const SupportedApplicationDescriptorVersion = 5
SupportedApplicationDescriptorVersion is the Application Descriptor Version that this version of kubectl-cloudflow supports. This version must match up with the version that is added by sbt-cloudflow, which is hardcoded in `cloudflow.blueprint.deployment.ApplicationDescriptor`.
Variables ¶
var BuildNumber = "local build"
BuildNumber describes the build number
var ReleaseTag = "SNAPSHOT"
ReleaseTag is the tag used for a release
Functions ¶
func FailOnProtocolVersionMismatch ¶
func FailOnProtocolVersionMismatch()
FailOnProtocolVersionMismatch fails and exits if the protocol version of kubectl-cloudflow does not match with the cloudflow operator protocol version.
func GetProtocolVersionConfigMap ¶
GetProtocolVersionConfigMap gets the protocol version config map set by the operator
Types ¶
This section is empty.