Documentation ¶
Index ¶
- func GenerateCloudantDatabaseParameters(in *cv1.DatabaseInformation) (*v1alpha1.CloudantDatabaseParameters, error)
- func GenerateCreateCloudantDatabaseOptions(in v1alpha1.CloudantDatabaseParameters, o *cv1.PutDatabaseOptions) error
- func GenerateObservation(in *cv1.DatabaseInformation) (v1alpha1.CloudantDatabaseObservation, error)
- func Generatev1alpha1ContentInformationSizes(in *cv1.ContentInformationSizes) *v1alpha1.ContentInformationSizes
- func Generatev1alpha1DatabaseInformationCluster(in *cv1.DatabaseInformationCluster) *v1alpha1.DatabaseInformationCluster
- func IsUpToDate(in *v1alpha1.CloudantDatabaseParameters, observed *cv1.DatabaseInformation, ...) (bool, error)
- func LateInitializeSpec(spec *v1alpha1.CloudantDatabaseParameters, in *cv1.DatabaseInformation) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCloudantDatabaseParameters ¶
func GenerateCloudantDatabaseParameters(in *cv1.DatabaseInformation) (*v1alpha1.CloudantDatabaseParameters, error)
GenerateCloudantDatabaseParameters generates *v1alpha1.CloudantDatabaseParameters from *cv1.DatabaseInformation
func GenerateCreateCloudantDatabaseOptions ¶
func GenerateCreateCloudantDatabaseOptions(in v1alpha1.CloudantDatabaseParameters, o *cv1.PutDatabaseOptions) error
GenerateCreateCloudantDatabaseOptions produces PutDatabaseOptions object from CloudantDatabaseParameters object.
func GenerateObservation ¶
func GenerateObservation(in *cv1.DatabaseInformation) (v1alpha1.CloudantDatabaseObservation, error)
GenerateObservation produces CloudantDatabaseObservation object from *cv1.DatabaseInformation object.
func Generatev1alpha1ContentInformationSizes ¶
func Generatev1alpha1ContentInformationSizes(in *cv1.ContentInformationSizes) *v1alpha1.ContentInformationSizes
Generatev1alpha1ContentInformationSizes generates *v1alpha1.ContentInformationSizes from *cv1.ContentInformationSizes
func Generatev1alpha1DatabaseInformationCluster ¶
func Generatev1alpha1DatabaseInformationCluster(in *cv1.DatabaseInformationCluster) *v1alpha1.DatabaseInformationCluster
Generatev1alpha1DatabaseInformationCluster generates *v1alpha1.DatabaseinformationCluster from *cv1.DatabaseInformationCluster
func IsUpToDate ¶
func IsUpToDate(in *v1alpha1.CloudantDatabaseParameters, observed *cv1.DatabaseInformation, l logging.Logger) (bool, error)
IsUpToDate checks whether current state is up-to-date compared to the given set of parameters. The testing needs more investigation
func LateInitializeSpec ¶
func LateInitializeSpec(spec *v1alpha1.CloudantDatabaseParameters, in *cv1.DatabaseInformation) error
LateInitializeSpec fills optional and unassigned fields with the values in *cv1.Databaseinformation object.
Types ¶
This section is empty.