Documentation
¶
Index ¶
- type Client
- type Config
- type HealthResp
- type InfoResp
- type JobGroupPolicy
- type Policies
- func (p *Policies) DeleteJobGroupPolicy(job, group string) error
- func (p *Policies) DeleteJobPolicy(job string) error
- func (p *Policies) List() (*map[string]map[string]*JobGroupPolicy, error)
- func (p *Policies) ReadJobGroupPolicy(job, group string) (*JobGroupPolicy, error)
- func (p *Policies) ReadJobPolicy(job string) (*map[string]*JobGroupPolicy, error)
- func (p *Policies) WriteJobGroupPolicy(job, group string, policy []byte) error
- func (p *Policies) WriteJobPolicy(job string, policy []byte) error
- type QueryOptions
- type Scale
- type ScaleReq
- type ScaleResp
- type System
- type TLSConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Address string TLSConfig *TLSConfig // contains filtered or unexported fields }
func DefaultConfig ¶
func (*Config) ConfigureTLS ¶
type HealthResp ¶
type HealthResp struct {
Status string
}
type JobGroupPolicy ¶
type Policies ¶
type Policies struct {
// contains filtered or unexported fields
}
func (*Policies) DeleteJobGroupPolicy ¶
func (*Policies) DeleteJobPolicy ¶
func (*Policies) ReadJobGroupPolicy ¶
func (p *Policies) ReadJobGroupPolicy(job, group string) (*JobGroupPolicy, error)
func (*Policies) ReadJobPolicy ¶
func (p *Policies) ReadJobPolicy(job string) (*map[string]*JobGroupPolicy, error)
func (*Policies) WriteJobGroupPolicy ¶
type QueryOptions ¶
type QueryOptions struct { // Params are HTTP parameters on the query URL. Params map[string]string }
QueryOptions are used to create a query which includes query params. This is used for GET, POST and PUT calls.
type Scale ¶
type Scale struct {
// contains filtered or unexported fields
}
func (*Scale) JobGroupIn ¶
Click to show internal directories.
Click to hide internal directories.