rds

package
v0.2.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2021 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CertificateTables = []interface{}{
	&Certificate{},
}
View Source
var DBSubnetGroupTables = []interface{}{
	&DBSubnetGroup{},
	&DBSubnetGroupSubnet{},
}

Functions

func NewClient

func NewClient(awsConfig aws.Config, db *database.Database, log hclog.Logger,
	accountID string, region string) resource.ClientInterface

Types

type Certificate

type Certificate struct {
	ID                        uint `gorm:"primarykey"`
	AccountID                 string
	Region                    string
	CertificateArn            *string `neo:"unique"`
	CertificateIdentifier     *string
	CertificateType           *string
	CustomerOverride          *bool
	CustomerOverrideValidTill *time.Time
	Thumbprint                *string
	ValidFrom                 *time.Time
	ValidTill                 *time.Time
	// contains filtered or unexported fields
}

func (Certificate) TableName

func (Certificate) TableName() string

type Client

type Client struct {
	// contains filtered or unexported fields
}

func (*Client) CollectResource

func (c *Client) CollectResource(resource string, config interface{}) error

type Cluster

type Cluster struct {
	ID                               uint `gorm:"primarykey"`
	AccountID                        string
	Region                           string
	ActivityStreamKinesisStreamName  *string
	ActivityStreamKmsKeyId           *string
	ActivityStreamMode               *string
	ActivityStreamStatus             *string
	AllocatedStorage                 *int32
	AssociatedRoles                  []*ClusterRole `gorm:"constraint:OnDelete:CASCADE;"`
	AvailabilityZones                *string
	BacktrackConsumedChangeRecords   *int64
	BacktrackWindow                  *int64
	BackupRetentionPeriod            *int32
	Capacity                         *int32
	CharacterSetName                 *string
	CloneGroupId                     *string
	ClusterCreateTime                *time.Time
	CopyTagsToSnapshot               *bool
	CrossAccountClone                *bool
	CustomEndpoints                  *string
	ClusterArn                       *string `neo:"unique"`
	ClusterIdentifier                *string
	ClusterMembers                   []*ClusterMember            `gorm:"constraint:OnDelete:CASCADE;"`
	ClusterOptionGroupMemberships    []*ClusterOptionGroupStatus `gorm:"constraint:OnDelete:CASCADE;"`
	ClusterParameterGroup            *string
	SubnetGroup                      *string
	DatabaseName                     *string
	DbClusterResourceId              *string
	DeletionProtection               *bool
	DomainMemberships                []*ClusterDomainMembership `gorm:"constraint:OnDelete:CASCADE;"`
	EarliestBacktrackTime            *time.Time
	EarliestRestorableTime           *time.Time
	EnabledCloudwatchLogsExports     *string
	Endpoint                         *string
	Engine                           *string
	EngineMode                       *string
	EngineVersion                    *string
	GlobalWriteForwardingRequested   *bool
	GlobalWriteForwardingStatus      *string
	HostedZoneId                     *string
	HttpEndpointEnabled              *bool
	IAMDatabaseAuthenticationEnabled *bool
	KmsKeyId                         *string
	LatestRestorableTime             *time.Time
	MasterUsername                   *string
	MultiAZ                          *bool
	PercentProgress                  *string
	Port                             *int32
	PreferredBackupWindow            *string
	PreferredMaintenanceWindow       *string
	ReadReplicaIdentifiers           *string
	ReaderEndpoint                   *string
	ReplicationSourceIdentifier      *string

	ScalingConfigAutoPause             *bool
	ScalingConfigMaxCapacity           *int32
	ScalingConfigMinCapacity           *int32
	ScalingConfigSecondsUntilAutoPause *int32
	ScalingConfigTimeoutAction         *string

	Status            *string
	StorageEncrypted  *bool
	VpcSecurityGroups []*ClusterVpcSecurityGroupMembership `gorm:"constraint:OnDelete:CASCADE;"`
	// contains filtered or unexported fields
}

func (Cluster) TableName

func (Cluster) TableName() string

type ClusterDomainMembership

type ClusterDomainMembership struct {
	ID        uint   `gorm:"primarykey"`
	ClusterID uint   `neo:"ignore"`
	AccountID string `gorm:"-"`
	Region    string `gorm:"-"`

	Domain      *string
	FQDN        *string
	IAMRoleName *string
	Status      *string
}

func (ClusterDomainMembership) TableName

func (ClusterDomainMembership) TableName() string

type ClusterMember

type ClusterMember struct {
	ID        uint   `gorm:"primarykey"`
	ClusterID uint   `neo:"ignore"`
	AccountID string `gorm:"-"`
	Region    string `gorm:"-"`

	ClusterParameterGroupStatus *string
	InstanceIdentifier          *string
	IsClusterWriter             *bool
	PromotionTier               *int32
}

func (ClusterMember) TableName

func (ClusterMember) TableName() string

type ClusterOptionGroupStatus

type ClusterOptionGroupStatus struct {
	ID        uint   `gorm:"primarykey"`
	ClusterID uint   `neo:"ignore"`
	AccountID string `gorm:"-"`
	Region    string `gorm:"-"`

	ClusterOptionGroupName *string
	Status                 *string
}

func (ClusterOptionGroupStatus) TableName

func (ClusterOptionGroupStatus) TableName() string

type ClusterRole

type ClusterRole struct {
	ID        uint   `gorm:"primarykey"`
	ClusterID uint   `neo:"ignore"`
	AccountID string `gorm:"-"`
	Region    string `gorm:"-"`

	FeatureName *string
	RoleArn     *string
	Status      *string
}

func (ClusterRole) TableName

func (ClusterRole) TableName() string

type ClusterVpcSecurityGroupMembership

type ClusterVpcSecurityGroupMembership struct {
	ID        uint   `gorm:"primarykey"`
	ClusterID uint   `neo:"ignore"`
	AccountID string `gorm:"-"`
	Region    string `gorm:"-"`

	Status             *string
	VpcSecurityGroupId *string
}

func (ClusterVpcSecurityGroupMembership) TableName

type DBSubnetGroup

type DBSubnetGroup struct {
	ID                       uint `gorm:"primarykey"`
	AccountID                string
	Region                   string
	DBSubnetGroupArn         *string `neo:"unique"`
	DBSubnetGroupDescription *string
	DBSubnetGroupName        *string
	SubnetGroupStatus        *string
	Subnets                  []*DBSubnetGroupSubnet `gorm:"constraint:OnDelete:CASCADE;"`
	VpcId                    *string
}

func (DBSubnetGroup) TableName

func (DBSubnetGroup) TableName() string

type DBSubnetGroupSubnet

type DBSubnetGroupSubnet struct {
	ID              uint   `gorm:"primarykey"`
	DBSubnetGroupID uint   `neo:"ignore"`
	AccountID       string `gorm:"-"`
	Region          string `gorm:"-"`

	AvailabilityZoneName *string
	Identifier           *string
	OutpostArn           *string
	Status               *string
}

func (DBSubnetGroupSubnet) TableName

func (DBSubnetGroupSubnet) TableName() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL