Documentation
¶
Index ¶
- Variables
- func NewClient(session *session.Session, awsConfig *aws.Config, db *database.Database, ...) resource.ClientInterface
- type Client
- type Cluster
- type ClusterCapacityProviderStrategyItem
- type ClusterKeyValuePair
- type ClusterSetting
- type ClusterTag
- type Service
- type ServiceCapProviderStrategy
- type ServiceLoadBalancer
- type ServicePlacementConstraint
- type ServicePlacementStrategy
- type ServiceRegistry
- type ServiceSecurityGroups
- type ServiceSubnets
- type ServiceTag
Constants ¶
This section is empty.
Variables ¶
View Source
var ClusterTables = []interface{}{ &Cluster{}, &ClusterKeyValuePair{}, &ClusterCapacityProviderStrategyItem{}, &ClusterSetting{}, &ClusterTag{}, &Service{}, &ServiceSecurityGroups{}, &ServiceSubnets{}, &ServiceCapProviderStrategy{}, &ServiceLoadBalancer{}, &ServicePlacementConstraint{}, &ServicePlacementStrategy{}, &ServiceRegistry{}, &ServiceTag{}, }
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
ActiveServicesCount *int64
AttachmentsStatus *string
CapacityProviders *string
ClusterArn *string `neo:"unique"`
ClusterName *string
DefaultCapacityProviderStrategy []*ClusterCapacityProviderStrategyItem `gorm:"constraint:OnDelete:CASCADE;"`
PendingTasksCount *int64
RegisteredContainerInstancesCount *int64
RunningTasksCount *int64
Settings []*ClusterSetting `gorm:"constraint:OnDelete:CASCADE;"`
Statistics []*ClusterKeyValuePair `gorm:"constraint:OnDelete:CASCADE;"`
Status *string
Tags []*ClusterTag `gorm:"constraint:OnDelete:CASCADE;"`
// contains filtered or unexported fields
}
type ClusterCapacityProviderStrategyItem ¶
type ClusterCapacityProviderStrategyItem struct {
ID uint `gorm:"primarykey"`
ClusterID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
Base *int64
CapacityProvider *string
Weight *int64
}
func (ClusterCapacityProviderStrategyItem) TableName ¶ added in v0.3.8
func (ClusterCapacityProviderStrategyItem) TableName() string
type ClusterKeyValuePair ¶
type ClusterKeyValuePair struct {
ID uint `gorm:"primarykey"`
ClusterID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
Name *string
Value *string
}
func (ClusterKeyValuePair) TableName ¶ added in v0.3.8
func (ClusterKeyValuePair) TableName() string
type ClusterSetting ¶
type ClusterSetting struct {
ID uint `gorm:"primarykey"`
ClusterID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
Name *string
Value *string
}
func (ClusterSetting) TableName ¶ added in v0.3.8
func (ClusterSetting) TableName() string
type ClusterTag ¶
type ClusterTag struct {
ID uint `gorm:"primarykey"`
ClusterID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
Key *string
Value *string
}
func (ClusterTag) TableName ¶ added in v0.3.8
func (ClusterTag) TableName() string
type Service ¶ added in v0.6.7
type Service struct {
ID uint `gorm:"primarykey"`
AccountID string
Region string
CapProviderStrategy []*ServiceCapProviderStrategy `gorm:"constraint:OnDelete:CASCADE;"`
ClusterArn *string
CreatedAt *time.Time
CreatedBy *string
DeploymentConfigurationMaximumPercent *int64
DeploymentConfigurationMinimumHealthyPercent *int64
DeploymentControllerType *string
DesiredCount *int64
EnableECSManagedTags *bool
HealthCheckGracePeriodSeconds *int64
LaunchType *string
LoadBalancers []*ServiceLoadBalancer `gorm:"constraint:OnDelete:CASCADE;"`
AssignPublicIp *string
SecurityGroups []*ServiceSecurityGroups `gorm:"constraint:OnDelete:CASCADE;"`
Subnets []*ServiceSubnets `gorm:"constraint:OnDelete:CASCADE;"`
PendingCount *int64
PlacementConstraints []*ServicePlacementConstraint `gorm:"constraint:OnDelete:CASCADE;"`
PlacementStrategy []*ServicePlacementStrategy `gorm:"constraint:OnDelete:CASCADE;"`
PlatformVersion *string
PropagateTags *string
RoleArn *string
RunningCount *int64
SchedulingStrategy *string
ServiceArn *string `neo:"unique"`
ServiceName *string
ServiceRegistries []*ServiceRegistry `gorm:"constraint:OnDelete:CASCADE;"`
Status *string
Tags []*ServiceTag `gorm:"constraint:OnDelete:CASCADE;"`
TaskDefinition *string
// contains filtered or unexported fields
}
type ServiceCapProviderStrategy ¶ added in v0.6.7
type ServiceCapProviderStrategy struct {
ID uint `gorm:"primarykey"`
ServiceID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
Base *int64
CapacityProvider *string
Weight *int64
}
func (ServiceCapProviderStrategy) TableName ¶ added in v0.6.7
func (ServiceCapProviderStrategy) TableName() string
type ServiceLoadBalancer ¶ added in v0.6.7
type ServiceLoadBalancer struct {
ID uint `gorm:"primarykey"`
ServiceID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
ContainerName *string
ContainerPort *int64
LoadBalancerName *string
TargetGroupArn *string
}
func (ServiceLoadBalancer) TableName ¶ added in v0.6.7
func (ServiceLoadBalancer) TableName() string
type ServicePlacementConstraint ¶ added in v0.6.7
type ServicePlacementConstraint struct {
ID uint `gorm:"primarykey"`
ServiceID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
Expression *string
Type *string
}
func (ServicePlacementConstraint) TableName ¶ added in v0.6.7
func (ServicePlacementConstraint) TableName() string
type ServicePlacementStrategy ¶ added in v0.6.7
type ServicePlacementStrategy struct {
ID uint `gorm:"primarykey"`
ServiceID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
Field *string
Type *string
}
func (ServicePlacementStrategy) TableName ¶ added in v0.6.7
func (ServicePlacementStrategy) TableName() string
type ServiceRegistry ¶ added in v0.6.7
type ServiceRegistry struct {
ID uint `gorm:"primarykey"`
ServiceID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
ContainerName *string
ContainerPort *int64
Port *int64
RegistryArn *string
}
func (ServiceRegistry) TableName ¶ added in v0.6.7
func (ServiceRegistry) TableName() string
type ServiceSecurityGroups ¶ added in v0.6.7
type ServiceSecurityGroups struct {
ID uint `gorm:"primarykey"`
ServiceID uint `neo:"ignore"`
AccountID string `gorm:"-"`
Region string `gorm:"-"`
Value *string
}
func (ServiceSecurityGroups) TableName ¶ added in v0.6.7
func (ServiceSecurityGroups) TableName() string
Click to show internal directories.
Click to hide internal directories.