Documentation
¶
Index ¶
- type AllowListItem
- type AvailabilityZone
- type CreateServiceRequest
- type Credentials
- type Endpoint
- type PatchServiceEndpointsRequest
- type PatchServiceEndpointsResponse
- type Port
- type PowerStateRequest
- type ReadAllowListResponse
- type Service
- type ServiceEndpoint
- type UpdateServiceNodesNumberRequest
- type UpdateServiceSizeRequest
- type UpdateStorageRequest
- type Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllowListItem ¶
type AvailabilityZone ¶ added in v1.2.0
type CreateServiceRequest ¶
type CreateServiceRequest struct { Name string `json:"name"` ProjectID string `json:"project_id"` ServiceType string `json:"service_type"` Provider string `json:"provider"` Region string `json:"region"` Version string `json:"version"` Nodes uint `json:"nodes"` Architecture string `json:"architecture"` Size string `json:"size"` Topology string `json:"topology"` Storage uint `json:"storage"` VolumeIOPS uint `json:"volume_iops"` SSLEnabled bool `json:"ssl_enabled"` NoSQLEnabled bool `json:"nosql_enabled"` VolumeType string `json:"volume_type,omitempty"` AllowedAccounts []string `json:"endpoint_allowed_accounts,omitempty"` Mechanism string `json:"endpoint_mechanism,omitempty"` ReplicationEnabled bool `json:"replication_enabled,omitempty"` PrimaryHost string `json:"primary_host,omitempty"` AllowList []AllowListItem `json:"allow_list,omitempty"` MaxscaleNodes uint `json:"maxscale_nodes,omitempty"` MaxscaleSize *string `json:"maxscale_size,omitempty"` AvailabilityZone string `json:"availability_zone,omitempty"` }
type Credentials ¶
type Endpoint ¶
type Endpoint struct { Name string `json:"name"` Ports []Port `json:"ports"` Mechanism string `json:"mechanism,omitempty"` AllowedAccounts []string `json:"allowed_accounts,omitempty"` EndpointService string `json:"endpoint_service,omitempty"` Visibility string `json:"visibility"` AllowList []AllowListItem `json:"allow_list,omitempty"` }
type PatchServiceEndpointsRequest ¶
type PatchServiceEndpointsRequest []ServiceEndpoint
PatchServiceEndpointsRequest godoc
type PatchServiceEndpointsResponse ¶
type PatchServiceEndpointsResponse []ServiceEndpoint
PatchServiceEndpointsResponse godoc
type PowerStateRequest ¶
type PowerStateRequest struct {
IsActive bool `json:"is_active"`
}
type ReadAllowListResponse ¶
type ReadAllowListResponse []struct { AllowList []AllowListItem `json:"allow_list"` }
type Service ¶
type Service struct { ID string `json:"id"` Name string `json:"name"` Region string `json:"region"` Provider string `json:"provider"` Tier string `json:"tier"` Topology string `json:"topology"` Version string `json:"version"` Architecture string `json:"architecture"` Size string `json:"size"` Nodes int `json:"nodes"` SSLEnabled bool `json:"ssl_enabled"` NosqlEnabled bool `json:"nosql_enabled"` FQDN string `json:"fqdn"` Status string `json:"status"` CreatedOn int `json:"created_on"` UpdatedOn int `json:"updated_on"` CreatedBy string `json:"created_by"` UpdatedBy string `json:"updated_by"` Endpoints []Endpoint `json:"endpoints"` StorageVolume struct { Size int `json:"size"` VolumeType string `json:"volume_type"` IOPS int `json:"iops"` } `json:"storage_volume"` OutboundIps []string `json:"outbound_ips"` IsActive bool `json:"is_active"` ServiceType string `json:"service_type"` ReplicationEnabled bool `json:"replication_enabled"` PrimaryHost string `json:"primary_host"` MaxscaleNodes uint `json:"maxscale_nodes,omitempty"` MaxscaleSize *string `json:"maxscale_size,omitempty"` AvailabilityZone string `json:"availability_zone,omitempty"` }
type ServiceEndpoint ¶
type ServiceEndpoint struct { Mechanism string `json:"mechanism,omitempty"` AllowedAccounts []string `json:"allowed_accounts,omitempty"` Visibility string `json:"visibility"` EndpointService string `json:"endpoint_service,omitempty"` }
ServiceEndpoint is service endpoint dto
type UpdateServiceNodesNumberRequest ¶
type UpdateServiceNodesNumberRequest struct {
Nodes int64 `json:"nodes,omitempty"`
}
type UpdateServiceSizeRequest ¶
type UpdateServiceSizeRequest struct {
Size string `json:"size,omitempty"`
}
type UpdateStorageRequest ¶
type Version ¶
type Version struct { Id string `json:"id"` Name string `json:"name"` Version string `json:"version"` Topology string `json:"topology"` Product string `json:"product"` DisplayName string `json:"display_name"` IsMajor bool `json:"is_major"` ReleaseDate time.Time `json:"release_date"` ReleaseNotesUrl string `json:"release_notes_url"` }
Click to show internal directories.
Click to hide internal directories.