elasticbeanstalk

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2020 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(session *session.Session, awsConfig *aws.Config, db *gorm.DB, log *zap.Logger,
	accountID string, region string) resource.ClientInterface

Types

type Client

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

func (*Client) CollectResource

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

type Environment

type Environment struct {
	ID                           uint `gorm:"primarykey"`
	AccountID                    string
	Region                       string
	AbortableOperationInProgress *bool
	ApplicationName              *string
	CNAME                        *string
	DateCreated                  *time.Time
	DateUpdated                  *time.Time
	Description                  *string
	EndpointURL                  *string
	EnvironmentArn               *string
	EnvironmentId                *string
	EnvironmentLinks             []*EnvironmentLink `gorm:"constraint:OnDelete:CASCADE;"`
	EnvironmentName              *string
	Health                       *string
	HealthStatus                 *string
	OperationsRole               *string
	PlatformArn                  *string
	Resources                    *EnvironmentResource `gorm:"constraint:OnDelete:CASCADE;"`
	SolutionStackName            *string
	Status                       *string
	TemplateName                 *string
	Tier                         *elasticbeanstalk.EnvironmentTier `gorm:"embedded;embeddedPrefix:tier_"`
	VersionLabel                 *string
}

func (Environment) TableName added in v0.3.8

func (Environment) TableName() string
type EnvironmentLink struct {
	ID              uint `gorm:"primarykey"`
	EnvironmentID   uint
	EnvironmentName *string
	LinkName        *string
}

func (EnvironmentLink) TableName added in v0.3.8

func (EnvironmentLink) TableName() string

type EnvironmentListener

type EnvironmentListener struct {
	ID                        uint `gorm:"primarykey"`
	EnvironmentLoadBalancerID uint
	Port                      *int64
	Protocol                  *string
}

func (EnvironmentListener) TableName added in v0.3.8

func (EnvironmentListener) TableName() string

type EnvironmentLoadBalancer

type EnvironmentLoadBalancer struct {
	ID                    uint `gorm:"primarykey"`
	EnvironmentResourceID uint
	Domain                *string
	Listeners             []*EnvironmentListener `gorm:"constraint:OnDelete:CASCADE;"`
	LoadBalancerName      *string
}

func (EnvironmentLoadBalancer) TableName added in v0.3.8

func (EnvironmentLoadBalancer) TableName() string

type EnvironmentResource

type EnvironmentResource struct {
	ID            uint `gorm:"primarykey"`
	EnvironmentID uint
	LoadBalancer  *EnvironmentLoadBalancer `gorm:"constraint:OnDelete:CASCADE;"`
}

func (EnvironmentResource) TableName added in v0.3.8

func (EnvironmentResource) TableName() string

Jump to

Keyboard shortcuts

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