# Functions
AssembleChiaContainer assembles a chia container spec.
AssembleChiaExporterContainer assembles a chia-exporter container spec.
AssembleChiaHealthcheckContainer assembles a chia-healthcheck container spec.
No description provided by the author
AssembleCommonService accepts some values and outputs a kubernetes Service definition in a standard way.
CombineMaps takes an arbitrary number of maps and combines them to one map[string]string.
No description provided by the author
No description provided by the author
GetChiaHealthcheckServicePorts returns the Service ports for chia-healthcheck Services.
No description provided by the author
GetCommonChiaEnv retrieves the environment variables from the CommonSpecChia config struct.
GetCommonLabels gives some common labels for chia-operator related objects.
GetExistingChiaRootVolume returns a corev1 API Volume specification for CHIA_ROOT.
No description provided by the author
GetFullNodePort determines the correct full_node port to use.
MarshalFullNodePeers returns a byte slice of JSON marshalled data representing a full_node_peers list in the config.
ReconcileConfigMap uses the controller-runtime client to determine if the ConfigMap resource needs to be created or updated.
ReconcileDeployment uses the controller-runtime client to determine if the deployment resource needs to be created or updated.
ReconcilePersistentVolumeClaim uses the controller-runtime client to determine if the PVC resource needs to be created or updated.
ReconcileService uses the controller-runtime client to determine if the service resource needs to be created or updated.
ReconcileStatefulset uses the controller-runtime client to determine if the statefulset resource needs to be created or updated.
ShouldMakeService returns true if the related Service was configured to be made, otherwise returns the specified default value.
ShouldMakeVolumeClaim returns true if the related PersistentVolumeClaim was configured to be made.
ShouldRollIntoMainPeerService returns true if the related Service's ports were meant to be rolled into the main peer Service's ports.
# Constants
ObjectModifiedTryAgainError contains the error text for an error that can happen when multiple reconciliation loops are called for the same object at nearly the same time.
# Structs
AssembleChiaContainerInputs contains configuration inputs to the AssembleChiaContainer function.
AssembleChiaExporterContainerInputs contains configuration inputs to the AssembleChiaExporterContainer function.
AssembleChiaHealthcheckContainerInputs contains configuration inputs to the AssembleChiaHealthcheckContainer function.
AssembleChiaHealthcheckProbeInputs contains configuration inputs to the AssembleChiaHealthcheckProbe function.
AssembleCommonServiceInputs contains configuration inputs to the AssembleCommonService function.