Documentation
¶
Index ¶
- func NewClient(session *session.Session, db *gorm.DB, log *zap.Logger, accountID string, ...) resource.ClientInterface
- type Client
- type Cluster
- type ClusterDeferredMaintenanceWindow
- type ClusterIamRole
- type ClusterNode
- type ClusterParameterGroupStatus
- type ClusterParameterStatus
- type ClusterSecurityGroupMembership
- type ClusterTag
- type ClusterVpcSecurityGroupMembership
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CollectResource ¶
type Cluster ¶
type Cluster struct {
ID uint `gorm:"primarykey"`
AccountID string
Region string
AllowVersionUpgrade *bool
AutomatedSnapshotRetentionPeriod *int64
AvailabilityZone *string
ClusterAvailabilityStatus *string
ClusterCreateTime *time.Time
ClusterIdentifier *string
ClusterNodes []*ClusterNode `gorm:"constraint:OnDelete:CASCADE;"`
ClusterParameterGroups []*ClusterParameterGroupStatus `gorm:"constraint:OnDelete:CASCADE;"`
ClusterPublicKey *string
ClusterRevisionNumber *string
ClusterSecurityGroups []*ClusterSecurityGroupMembership `gorm:"constraint:OnDelete:CASCADE;"`
ClusterSnapshotCopyStatus *redshift.ClusterSnapshotCopyStatus `gorm:"embedded;embeddedPrefix:cluster_snapshot_copy_status_"`
ClusterStatus *string
ClusterSubnetGroupName *string
ClusterVersion *string
DBName *string
DataTransferProgress *redshift.DataTransferProgress `gorm:"embedded;embeddedPrefix:data_transfer_progress_"`
DeferredMaintenanceWindows []*ClusterDeferredMaintenanceWindow `gorm:"constraint:OnDelete:CASCADE;"`
ElasticIpStatus *redshift.ElasticIpStatus `gorm:"embedded;embeddedPrefix:elastic_ip_status_"`
ElasticResizeNumberOfNodeOptions *string
Encrypted *bool
Endpoint *redshift.Endpoint `gorm:"embedded;embeddedPrefix:endpoint_"`
EnhancedVpcRouting *bool
ExpectedNextSnapshotScheduleTime *time.Time
ExpectedNextSnapshotScheduleTimeStatus *string
HsmStatus *redshift.HsmStatus `gorm:"embedded;embeddedPrefix:hsm_status_"`
IamRoles []*ClusterIamRole `gorm:"constraint:OnDelete:CASCADE;"`
KmsKeyId *string
MaintenanceTrackName *string
ManualSnapshotRetentionPeriod *int64
MasterUsername *string
ModifyStatus *string
NextMaintenanceWindowStartTime *time.Time
NodeType *string
NumberOfNodes *int64
PendingActions *string
PendingModifiedValues *redshift.PendingModifiedValues `gorm:"embedded;embeddedPrefix:pending_modified_values_"`
PreferredMaintenanceWindow *string
PubliclyAccessible *bool
ResizeInfo *redshift.ResizeInfo `gorm:"embedded;embeddedPrefix:resize_info_"`
RestoreStatus *redshift.RestoreStatus `gorm:"embedded;embeddedPrefix:restore_status_"`
SnapshotScheduleIdentifier *string
SnapshotScheduleState *string
Tags []*ClusterTag `gorm:"constraint:OnDelete:CASCADE;"`
VpcId *string
VpcSecurityGroups []*ClusterVpcSecurityGroupMembership `gorm:"constraint:OnDelete:CASCADE;"`
}
type ClusterIamRole ¶
type ClusterNode ¶
type ClusterParameterGroupStatus ¶
type ClusterParameterGroupStatus struct {
ID uint `gorm:"primarykey"`
ClusterID uint
ClusterParameterStatusList []*ClusterParameterStatus `gorm:"constraint:OnDelete:CASCADE;"`
ParameterApplyStatus *string
ParameterGroupName *string
}
type ClusterParameterStatus ¶
type ClusterTag ¶
Click to show internal directories.
Click to hide internal directories.