Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateClusterImage ¶
func UpdateClusterImage( aerocluster *asdbv1.AerospikeCluster, image string, ) error
Types ¶
type AerospikeConfSpec ¶
type AerospikeConfSpec struct {
// contains filtered or unexported fields
}
func NewAerospikeConfSpec ¶
func NewAerospikeConfSpec(image string) (*AerospikeConfSpec, error)
type CloudProvider ¶
type CloudProvider int
const ( CloudProviderUnknown CloudProvider = iota CloudProviderAWS CloudProviderGCP )
type FromSecretPasswordProvider ¶
type FromSecretPasswordProvider struct {
// contains filtered or unexported fields
}
FromSecretPasswordProvider provides user password from the secret provided in AerospikeUserSpec. TODO duplicated from controller_helper
func (FromSecretPasswordProvider) Get ¶
func (pp FromSecretPasswordProvider) Get( _ string, userSpec *asdbv1.AerospikeUserSpec, ) (string, error)
Get returns the password for the username using userSpec.
func (FromSecretPasswordProvider) GetDefaultPassword ¶
func (pp FromSecretPasswordProvider) GetDefaultPassword(_ *asdbv1.AerospikeClusterSpec) string
This function is not used in the test code. This is just a dummy implementation. Tests do not make client call till cluster is up and reconciled. DefaultPassword only comes into play when the cluster is being created.
Click to show internal directories.
Click to hide internal directories.