Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct { ID string `json:"appid,omitempty"` Name string `json:"name"` Active bool `json:"active"` BrowserWaitMillis int `json:"browser_wait_millis"` JobsPerTransaction int `json:"jobs_per_transaction"` DefaultConfig DefaultConfig `json:"default_config"` }
Application wraps an NS1 /pulsar/apps/{appid} resource
func NewApplication ¶
func NewApplication(name string) *Application
NewApplication takes a application name and creates a *Application
type BlendMetricWeights ¶
type DefaultConfig ¶
type JobConfig ¶
type JobConfig struct { Host *string `json:"host"` URL_Path *string `json:"url_path"` Http *bool `json:"http,omitempty"` Https *bool `json:"https,omitempty"` RequestTimeoutMillis *int `json:"request_timeout_millis,omitempty"` JobTimeoutMillis *int `json:"job_timeout_millis,omitempty"` UseXHR *bool `json:"use_xhr,omitempty"` StaticValues *bool `json:"static_values,omitempty"` BlendMetricWeights *BlendMetricWeights `json:"blend_metric_weights,omitempty"` }
type PulsarJob ¶
type PulsarJob struct { Customer int `json:"customer,omitempty"` TypeID string `json:"typeid"` Name string `json:"name"` Community bool `json:"community,omitempty"` JobID string `json:"jobid,omitempty"` AppID string `json:"appid"` Active bool `json:"active"` Config *JobConfig `json:"config,omitempty"` }
PulsarJob wraps an NS1 pulsar/apps/{appid}/jobs/{jobid} resource
func NewBBPulsarJob ¶
NewBBPulsarJob takes a name and appid and creates a Bulk Beacon Pulsar job (type *PulsarJob)
Click to show internal directories.
Click to hide internal directories.