Documentation
¶
Index ¶
- type AuthType
- type BindingsModel
- type Certificate
- type ClientAuth
- type CloudAccount
- type Cluster
- type ClusterCountByService
- type ClusterMetaData
- type ClusterMetadata
- type DataPlane
- type DataPlaneRegion
- type DataplneCounts
- type Dns
- type ExchangesModel
- 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 QueuesModel
- type ResourceByService
- type RoleMini
- type Roles
- type Servers
- type ServiceAccount
- type ServiceAccountAuthCredentials
- type ServiceAccountCreate
- type ServiceAccountCredentials
- type ServiceAccountOauthApp
- type ServiceRolePermissions
- type ServiceRoles
- type Smtp
- type SreCustomerInfo
- type TTLSpec
- type Task
- type TaskResponse
- type TshirtSize
- type UiParams
- type UpdateClusterVersionResponse
- type User
- type Vhosts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindingsModel ¶
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 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 []Vhosts `json:"vhosts,omitempty"` Queues []QueuesModel `json:"queues,omitempty"` Exchanges []ExchangesModel `json:"exchanges,omitempty"` Bindings []BindingsModel `json:"bindings,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 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 DataplneCounts ¶ added in v0.0.4
type ExchangesModel ¶
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"` ServiceType string `json:"serviceType"` ResourceIds []string `json:"resourceIds,omitempty"` PermissionsSpec []*PermissionsSpec `json:"permissionsSpec,omitempty"` NetworkSpec []*NetworkSpec `json:"networkSpecs,omitempty"` }
Policy base model for TDH Policy
type QueuesModel ¶
type ResourceByService ¶ added in v0.0.4
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 TaskResponse ¶
type TshirtSize ¶
type UpdateClusterVersionResponse ¶
type UpdateClusterVersionResponse struct {
Success bool `json:"success"`
}
UpdateClusterVersionResponse represents the response structure for updating the cluster version
Source Files
¶
- 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
- feelt_health.go
- instance_types.go
- local_user.go
- network_ports.go
- object_storage.go
- paged.go
- policy.go
- response_create_task.go
- response_upgrade_cluster.go
- roles.go
- service_account.go
- service_roles.go
- smtp.go
- task.go
- user.go
Click to show internal directories.
Click to hide internal directories.