Documentation ¶
Index ¶
Constants ¶
const (
// AlarmKey is the reference key for alarm object
AlarmKey = "ess-alarm"
)
const (
// LifecycleHookKey is the reference key for lifecycle hook object
LifecycleHookKey = "ess-lifecycle-hook"
)
const Provider = "aliyun"
Provider is reference key for this provider
const (
// ScalingConfigurationKey is the reference key for scaling configuration object
ScalingConfigurationKey = "ess-scaling-configuration"
)
const (
// ScalingGroupKey is the reference key for scaling group object
ScalingGroupKey = "ess-scaling-group"
)
const (
// ScalingRuleKey is the reference key for scaling rule object
ScalingRuleKey = "ess-scaling-rule"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alarm ¶
type Alarm struct { ess.Alarm ScalingRule ess.ScalingRule ScalingGroup ess.ScalingGroup Extras map[string]interface{} }
Alarm generator struct
func NewAlarm ¶
func NewAlarm(al ess.Alarm, sg ess.ScalingGroup, sr ess.ScalingRule, extras map[string]interface{}) *Alarm
NewAlarm return a generator for the alarm
type LifecycleHook ¶
type LifecycleHook struct { ess.LifecycleHook ScalingGroup ess.ScalingGroup Extras map[string]interface{} }
LifecycleHook generator struct
func NewLifecycleHook ¶
func NewLifecycleHook(lh ess.LifecycleHook, sg ess.ScalingGroup, extras map[string]interface{}) *LifecycleHook
NewLifecycleHook return a generator for the lifecycle hook
func (*LifecycleHook) Kind ¶
func (s *LifecycleHook) Kind() string
Kind returns the key reference to this provider and object
func (*LifecycleHook) Name ¶
func (s *LifecycleHook) Name() string
Name returns the name of this tfvars generator
func (*LifecycleHook) Template ¶
func (s *LifecycleHook) Template() string
Template returns the template
type ScalingConfiguration ¶
type ScalingConfiguration struct { ess.ScalingConfiguration ScalingGroup ess.ScalingGroup Extras map[string]interface{} }
ScalingConfiguration generator struct
func NewScalingConfiguration ¶
func NewScalingConfiguration(sc ess.ScalingConfiguration, sg ess.ScalingGroup, extras map[string]interface{}) *ScalingConfiguration
NewScalingConfiguration return a generator for the scaling configuration
func (*ScalingConfiguration) Kind ¶
func (s *ScalingConfiguration) Kind() string
Kind returns the key reference to this provider and object
func (*ScalingConfiguration) Name ¶
func (s *ScalingConfiguration) Name() string
Name returns the name of this tfvars generator
func (*ScalingConfiguration) Template ¶
func (s *ScalingConfiguration) Template() string
Template returns the template
type ScalingGroup ¶
type ScalingGroup struct { ess.ScalingGroup Extras map[string]interface{} }
ScalingGroup generator struct
func NewScalingGroup ¶
func NewScalingGroup(sg ess.ScalingGroup, extras map[string]interface{}) *ScalingGroup
NewScalingGroup return a generator for the scaling group
func (*ScalingGroup) Kind ¶
func (s *ScalingGroup) Kind() string
Kind returns the key reference to this provider and object
func (*ScalingGroup) Name ¶
func (s *ScalingGroup) Name() string
Name returns the name of this tfvars generator
func (*ScalingGroup) Template ¶
func (s *ScalingGroup) Template() string
Template returns the template
type ScalingRule ¶
type ScalingRule struct { ess.ScalingRule ScalingGroup ess.ScalingGroup Extras map[string]interface{} }
ScalingRule generator struct
func NewScalingRule ¶
func NewScalingRule(sr ess.ScalingRule, sg ess.ScalingGroup, extras map[string]interface{}) *ScalingRule
NewScalingRule return a generator for the scaling rule
func (*ScalingRule) Kind ¶
func (s *ScalingRule) Kind() string
Kind returns the key reference to this provider and object
func (*ScalingRule) Name ¶
func (s *ScalingRule) Name() string
Name returns the name of this tfvars generator
func (*ScalingRule) Template ¶
func (s *ScalingRule) Template() string
Template returns the template