Documentation ¶
Index ¶
- type CloudProvider
- type ClusterArchitecture
- type ClusterConnection
- type Condition
- type DataGroup
- type InstanceType
- type PgType
- type PgVersion
- type PointInTime
- type Region
- type WitnessGroup
- type WitnessGroupParamsBody
- type WitnessGroupParamsBodyData
- type WitnessGroupParamsData
- type WitnessGroupParamsResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudProvider ¶
type CloudProvider struct {
CloudProviderId *string `json:"cloudProviderId" tfsdk:"cloud_provider_id"`
}
type ClusterArchitecture ¶
type ClusterArchitecture struct { ClusterArchitectureId string `json:"clusterArchitectureId" tfsdk:"cluster_architecture_id"` ClusterArchitectureName *string `json:"clusterArchitectureName,omitempty" tfsdk:"cluster_architecture_name"` Nodes float64 `json:"nodes" tfsdk:"nodes"` WitnessNodes *float64 `json:"witnessNodes,omitempty" tfsdk:"witness_nodes"` }
type ClusterConnection ¶
type ClusterConnection string
func (*ClusterConnection) UnmarshalJSON ¶
func (recv *ClusterConnection) UnmarshalJSON(d []byte) error
UnmarshalJSON to implement json.Unmarshaler for custom unmarshalling
type DataGroup ¶
type DataGroup struct { GroupId *string `json:"groupId,omitempty"` AllowedIpRanges *[]models.AllowedIpRange `json:"allowedIpRanges,omitempty"` BackupRetentionPeriod *string `json:"backupRetentionPeriod,omitempty"` ClusterArchitecture *ClusterArchitecture `json:"clusterArchitecture,omitempty"` ClusterName *string `json:"clusterName,omitempty"` ClusterType *string `json:"clusterType,omitempty"` Conditions *[]Condition `json:"conditions,omitempty"` Connection *ClusterConnection `json:"connection,omitempty"` CreatedAt *PointInTime `json:"createdAt,omitempty"` CspAuth *bool `json:"cspAuth,omitempty"` InstanceType *InstanceType `json:"instanceType,omitempty"` LogsUrl *string `json:"logsUrl,omitempty"` MetricsUrl *string `json:"metricsUrl,omitempty"` PgConfig *[]models.KeyValue `json:"pgConfig,omitempty"` PgType *PgType `json:"pgType,omitempty"` PgVersion *PgVersion `json:"pgVersion,omitempty"` Phase *string `json:"phase,omitempty"` PrivateNetworking *bool `json:"privateNetworking,omitempty"` Provider *CloudProvider `json:"provider,omitempty"` Region *Region `json:"region,omitempty"` ResizingPvc *[]string `json:"resizingPvc,omitempty"` Storage *models.Storage `json:"storage,omitempty"` MaintenanceWindow *models.MaintenanceWindow `json:"maintenanceWindow,omitempty"` ServiceAccountIds *[]string `json:"serviceAccountIds,omitempty"` PeAllowedPrincipalIds *[]string `json:"peAllowedPrincipalIds,omitempty"` }
type InstanceType ¶
type InstanceType struct {
InstanceTypeId string `json:"instanceTypeId" tfsdk:"instance_type_id"`
}
type PgVersion ¶
type PgVersion struct {
PgVersionId string `json:"pgVersionId" tfsdk:"pg_version_id"`
}
type PointInTime ¶
type PointInTime string
func (*PointInTime) UnmarshalJSON ¶
func (p *PointInTime) UnmarshalJSON(d []byte) error
UnmarshalJSON to implement json.Unmarshaler for custom unmarshalling
type WitnessGroup ¶
type WitnessGroup struct { GroupId *string `json:"groupId,omitempty" tfsdk:"group_id"` ClusterArchitecture *ClusterArchitecture `json:"clusterArchitecture,omitempty" tfsdk:"cluster_architecture"` ClusterType *string `json:"clusterType,omitempty" tfsdk:"cluster_type"` InstanceType *InstanceType `json:"instanceType,omitempty" tfsdk:"instance_type"` Provider *CloudProvider `json:"provider,omitempty" tfsdk:"cloud_provider"` Region *Region `json:"region,omitempty" tfsdk:"region"` Storage *models.Storage `json:"storage,omitempty" tfsdk:"storage"` Phase *string `json:"phase,omitempty" tfsdk:"phase"` MaintenanceWindow *commonApi.MaintenanceWindow `json:"maintenanceWindow,omitempty" tfsdk:"maintenanceWindow"` }
type WitnessGroupParamsBody ¶
type WitnessGroupParamsBody struct { Provider *CloudProvider `json:"provider,omitempty"` Region *Region `json:"region,omitempty"` }
type WitnessGroupParamsBodyData ¶
type WitnessGroupParamsBodyData struct { InstanceType *InstanceType `json:"instanceType,omitempty"` Provider *CloudProvider `json:"provider,omitempty"` Region *Region `json:"region,omitempty"` Storage *models.Storage `json:"storage,omitempty"` }
type WitnessGroupParamsData ¶
type WitnessGroupParamsData struct { InstanceType *InstanceType `json:"instanceType"` Storage *models.Storage `json:"storage"` }
type WitnessGroupParamsResponse ¶
type WitnessGroupParamsResponse struct {
Data WitnessGroupParamsData `json:"data"`
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.