Versions in this module Expand all Collapse all v0 v0.0.1 Dec 17, 2019 Changes in this version + type Check struct + Action string + ComparisonOperator string + ComparisonPercentage float64 + Enabled bool + Resource string + type Client struct + func NewClient(config *Config) (*Client, error) + func (c *Client) Policy() *Policy + func (c *Client) Scale() *Scale + func (c *Client) System() *System + type Config struct + Address string + TLSConfig *TLSConfig + func DefaultConfig(cfg *clientCfg.Config) *Config + func (c *Config) ConfigureTLS() error + type HealthResp struct + Status string + type Policy struct + func (p *Policy) Delete(class string) error + func (p *Policy) Info(class string) (*ScalingPolicy, error) + func (p *Policy) List() (*map[string]ScalingPolicy, error) + func (p *Policy) Write(class string, policy *ScalingPolicy) error + type QueryOptions struct + Params map[string]string + type Scale struct + func (s *Scale) In(class string) (*ScaleResp, error) + func (s *Scale) Out(class string) (*ScaleResp, error) + func (s *Scale) StatusInfo(id string) (*state.ScalingActivity, error) + func (s *Scale) StatusList() (*map[uuid.UUID]state.ScalingActivity, error) + type ScaleResp struct + ID string + type ScalingPolicy struct + Checks map[string]Check + Class string + Enabled bool + MaxCount int + MinCount int + Provider string + ProviderConfig map[string]string + ScaleInCount int + ScaleOutCount int + type System struct + func (s *System) Health() (*HealthResp, error) + type TLSConfig struct + CACert string + ClientCert string + ClientCertKey string