Documentation
¶
Index ¶
- type AuthType
- type BindingModel
- type Certificate
- type ClientAuth
- type CloudAccount
- type Cluster
- type ClusterBackup
- type ClusterCountByService
- type ClusterMetaData
- type ClusterMetadata
- type ClusterRestore
- type ClusterTargetVersionsResponse
- type DataPlane
- type DataPlaneRegion
- type DatabaseModel
- type DataplneCounts
- type Dns
- type EligibleDataPlane
- type ExchangeModel
- type Extension
- type ExtensionMetadata
- type HelmVersions
- type InstanceType
- type InstanceTypeList
- type InstanceTypeMetadata
- type LocalUser
- type NetworkPorts
- type NetworkSpec
- type ObjectStorage
- type OrgHealthDetails
- type PageInfo
- type PageQuery
- type Paged
- type Permissions
- type PermissionsSpec
- type Policy
- type PostgresExtensionDataModel
- type QueueModel
- type ResourceByService
- type RoleMini
- type Roles
- type SchemaModel
- type Servers
- type ServiceAccount
- type ServiceAccountAuthCredentials
- type ServiceAccountCreate
- type ServiceAccountCredentials
- type ServiceAccountOauthApp
- type ServiceRolePermissions
- type ServiceRoles
- type Smtp
- type SreCustomerInfo
- type StorageClass
- type TKC
- type TTLSpec
- type TableModel
- type Task
- type TaskResponse
- type TshirtSize
- type UiParams
- type User
- type VhostModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindingModel ¶ added in v0.0.5
type Certificate ¶
type Certificate struct { Id string `json:"id"` DomainName string `json:"domainName"` Name string `json:"name"` Provider string `json:"provider"` ExpiryTime string `json:"expirationTime"` CreatedBy string `json:"createdBy,omitempty"` OrgId string `json:"orgId"` Status string `json:"status"` Deployemnts interface{} `json:"resources,omitempty"` }
type ClientAuth ¶
type ClientAuth struct { ApiToken string `json:"apiKey"` ClientId string `json:"clientId"` ClientSecret string `json:"clientSecret"` AccessToken string `json:"accessToken"` OrgId string `json:"orgId"` OAuthAppType string `json:"oAuthAppType"` Username string `json:"username"` Password string `json:"password"` }
ClientAuth -
type CloudAccount ¶
type CloudAccount struct { Id string `json:"id"` Email string `json:"userEmail"` Name string `json:"name"` AccountType string `json:"accountType"` OrgId string `json:"orgId"` Tags []string `json:"tags"` DataPlaneCount int64 `json:"dataplanesCount"` Created string `json:"created"` CreatedBy string `json:"createdBy"` Modified string `json:"modified"` ModifiedBy string `json:"modifiedBy"` ManagementIp string `json:"managementIp"` }
type Cluster ¶
type Cluster struct { ID string `json:"id,omitempty"` OrgId string `json:"orgId"` Name string `json:"name"` ServiceType string `json:"serviceType"` Provider string `json:"provider"` InstanceSize string `json:"instanceSize"` Region string `json:"region"` Tags []string `json:"tags"` Version string `json:"version"` Status string `json:"status"` DataPlaneId string `json:"dataPlaneId"` Metadata *ClusterMetadata `json:"metadata"` Created string `json:"created"` LastUpdated string `json:"lastUpdated"` IsAuthorized bool `json:"isAuthorized,omitempty"` MaintenanceStartTime int64 `json:"maintenanceStartTime,omitempty"` MaintenanceEndTime int64 `json:"maintenanceEndTime,omitempty"` UpgradeInProgress bool `json:"isUpgradeInProgress"` PauseUpdates bool `json:"pauseUpdates"` }
Cluster -
type ClusterBackup ¶ added in v0.0.5
type ClusterBackup struct { Id string `json:"id"` OrgId string `json:"orgId"` Name string `json:"name"` GeneratedName string `json:"generatedName"` ClusterId string `json:"clusterId"` ClusterName string `json:"clusterName"` Provider string `json:"provider"` TimeStarted string `json:"timeStarted"` TimeCompleted string `json:"timeCompleted"` Region string `json:"region"` Status string `json:"status"` ClusterVersion string `json:"clusterVersion"` ServiceType string `json:"serviceType"` DataPlaneId string `json:"dataPlaneId"` Size string `json:"size"` BackupRequestId string `json:"backupRequestId"` BackupTriggerType string `json:"backupTriggerType"` Metadata struct { ClusterName string `json:"clusterName"` ClusterSize string `json:"clusterSize"` BackupLocation string `json:"backupLocation"` Databases []string `json:"databases"` PostgresExtensions []struct { Name string `json:"name"` Version string `json:"version"` } `json:"postgresExtensions"` } `json:"metadata"` }
type ClusterCountByService ¶ added in v0.0.4
type ClusterMetaData ¶
type ClusterMetaData struct { Id string `json:"id"` Name string `json:"name"` Provider string `json:"provider"` ServiceType string `json:"serviceType"` Status string `json:"status"` VHosts []VhostModel `json:"vhosts,omitempty"` Queues []QueueModel `json:"queues,omitempty"` Exchanges []ExchangeModel `json:"exchanges,omitempty"` Bindings []BindingModel `json:"bindings,omitempty"` Databases []DatabaseModel `json:"databases,omitempty"` PostgresExtensionData []PostgresExtensionDataModel `json:"postgresExtensionData,omitempty"` }
type ClusterMetadata ¶
type ClusterMetadata struct { ClusterName string `json:"clusterName,omitempty" tfsdk:"cluster_name"` ManagerUri string `json:"managerUri,omitempty" tfsdk:"manager_uri"` ConnectionUri string `json:"connectionUri,omitempty" tfsdk:"connection_uri"` ObjectStoreId string `json:"objectStoreId,omitempty" tfsdk:"object_storage_id"` MetricsEndpoints []string `json:"metricsEnpoints" tfsdk:"metrics_endpoints"` }
type ClusterRestore ¶ added in v0.0.5
type ClusterRestore struct { Id string `json:"id"` Name string `json:"name"` DataPlaneId string `json:"dataPlaneId"` ServiceType string `json:"serviceType"` BackupId string `json:"backupId"` BackupName string `json:"backupName"` TargetInstance string `json:"targetInstance"` TargetInstanceName string `json:"targetInstanceName"` }
type ClusterTargetVersionsResponse ¶ added in v0.0.7
type DataPlane ¶
type DataPlane struct { Id string `json:"id"` Provider string `json:"provider"` Region string `json:"region,omitempty"` Name string `json:"name"` DataplaneName string `json:"dataplaneName"` Version string `json:"version"` Tags []string `json:"tags"` Status string `json:"status"` NodePoolType string `json:"nodePoolType"` Account struct { Id string `json:"id"` Name string `json:"name"` } `json:"account"` Upgradeable bool `json:"upgradeable"` AutoUpgrade bool `json:"autoUpgrade"` DataPlaneReleaseID string `json:"dataPlaneReleaseID"` DataPlaneReleaseName string `json:"dataPlaneReleaseName"` Created string `json:"created"` Modified string `json:"modified"` Certificate struct { Id string `json:"id"` Name string `json:"name"` } `json:"certificate"` ManagedDns bool `json:"managedDns"` DefaultPolicyName string `json:"defaultPolicyName"` StoragePolicies []string `json:"storagePolicies"` BackupStoragePolicy string `json:"backupStoragePolicy"` Services []string `json:"services"` LoggingUri string `json:"logging_uri"` InfraResourceType string `json:"infraResourceType"` DataPlaneOnControlPlane bool `json:"dataPlaneOnControlPlane"` OrgId string `json:"orgId,omitempty"` }
type DataPlaneRegion ¶
type DatabaseModel ¶ added in v0.0.5
type DatabaseModel struct { Name string `json:"name"` Owner string `json:"owner"` Schemas []SchemaModel `json:"schemas,omitempty"` Tables []TableModel `json:"tables,omitempty"` Routines []string `json:"routines,omitempty"` }
type DataplneCounts ¶ added in v0.0.4
type EligibleDataPlane ¶ added in v0.0.5
type ExchangeModel ¶ added in v0.0.5
type ExtensionMetadata ¶ added in v0.0.7
type ExtensionMetadata struct {
Port string `json:"port"`
}
type HelmVersions ¶ added in v0.0.5
type InstanceType ¶
type InstanceType struct { ID string `json:"id,omitempty"` ServiceType string `json:"serviceType"` InstanceSize string `json:"instanceSize"` SizeDescription string `json:"instanceSizeDescription"` CPU string `json:"cpu"` Memory string `json:"memory"` Storage string `json:"storage"` Metadata InstanceTypeMetadata `json:"metadata,omitempty"` }
InstanceType -
type InstanceTypeList ¶
type InstanceTypeList struct {
InstanceTypes []InstanceType `json:"instanceTypes"`
}
type InstanceTypeMetadata ¶
type NetworkPorts ¶
type NetworkSpec ¶
type ObjectStorage ¶
type ObjectStorage struct { Id string `json:"id"` Name string `json:"name"` BucketName string `json:"bucketName"` Endpoint string `json:"endpoint"` Region string `json:"region"` AccessKeyId string `json:"accessKeyId"` SecretAccessKey string `json:"secretAccessKey"` OrgId string `json:"orgId"` CreatedBy string `json:"createdBy"` ModifiedBy string `json:"modifiedBy"` ExpirationTime string `json:"expirationTime"` }
type OrgHealthDetails ¶ added in v0.0.4
type Permissions ¶
type PermissionsSpec ¶
type PermissionsSpec struct { Resource string `json:"resource"` Permissions []*Permissions `json:"permissions"` Role string `json:"role"` }
type Policy ¶
type Policy struct { ID string `json:"id"` Name string `json:"name"` Description string `json:"description"` ServiceType string `json:"serviceType"` Updating bool `json:"updating"` ResourceIds []string `json:"resourceIds,omitempty"` PermissionsSpec []PermissionsSpec `json:"permissionsSpec,omitempty"` NetworkSpec []*NetworkSpec `json:"networkSpecs,omitempty"` }
Policy base model for TDH Policy
type PostgresExtensionDataModel ¶ added in v0.0.5
type QueueModel ¶ added in v0.0.5
type ResourceByService ¶ added in v0.0.4
type SchemaModel ¶ added in v0.0.5
type SchemaModel struct { Name string `json:"name"` Owner string `json:"owner"` Tables []TableModel `json:"tables,omitempty"` }
type ServiceAccount ¶
type ServiceAccountAuthCredentials ¶
type ServiceAccountAuthCredentials struct { UserName string `json:"username,omitempty"` Credential *ServiceAccountCredentials `json:"credential,omitempty"` }
type ServiceAccountCreate ¶
type ServiceAccountCreate struct {
OAuthCredentials []*ServiceAccountAuthCredentials `json:"oauthCredentials,omitempty"`
}
type ServiceAccountOauthApp ¶
type ServiceAccountOauthApp struct { AppId string `json:"appId"` AppType string `json:"appType"` Created string `json:"created"` CreatedBy string `json:"createdBy"` Description string `json:"description"` Modified string `json:"modified"` ModifiedBy string `json:"modifiedBy"` TTLSpec *TTLSpec `json:"ttlSpec"` }
type ServiceRolePermissions ¶
type ServiceRoles ¶
type ServiceRoles struct { Embedded struct { ServiceRoleDTO []struct { Roles []struct { RoleID string `json:"roleId"` Name string `json:"name"` Type string `json:"type"` Permissions []ServiceRolePermissions `json:"permissions"` Description string `json:"description"` } `json:"roles"` } `json:"mdsServiceRoleDTOes"` } `json:"_embedded"` }
type SreCustomerInfo ¶ added in v0.0.4
type SreCustomerInfo struct { Name string `json:"name"` OrgName string `json:"orgName"` ClusterStatus struct { Critical int64 `json:"critical"` Warning int64 `json:"warning"` Healthy int64 `json:"healthy"` } `json:"clusterStatus"` ClusterCounts int64 `json:"clusterCounts"` CustomerClusterInfo []struct { ClusterId string `json:"clusterId"` ClusterName string `json:"clusterName"` InstanceSize string `json:"instanceSize"` Status string `json:"status"` ServiceType string `json:"serviceType"` } `json:"mdsCustomerClusterInfo,omitempty"` CustomerCumulativeStatus string `json:"mdsCustomerCumulativeStatus"` Services []string `json:"services"` SreOrg bool `json:"sreOrg"` }
type StorageClass ¶ added in v0.0.5
type TableModel ¶ added in v0.0.5
type TaskResponse ¶
type TshirtSize ¶
type VhostModel ¶ added in v0.0.5
type VhostModel struct {
Name string `json:"name"`
}
Source Files
¶
- backup.go
- byoc_cloud_provider_region.go
- byoc_tshirt_size.go
- certificate.go
- client_auth_info.go
- cloud_account.go
- cluster.go
- cluster_metadata.go
- dataplane.go
- dns.go
- extension.go
- feelt_health.go
- instance_types.go
- local_user.go
- network_ports.go
- object_storage.go
- paged.go
- policy.go
- response_cluster_target_versions.go
- response_create_task.go
- restore.go
- roles.go
- service_account.go
- service_roles.go
- smtp.go
- storage_class.go
- task.go
- user.go
Click to show internal directories.
Click to hide internal directories.