Documentation
¶
Index ¶
Constants ¶
View Source
const ( HTTP executor = executors.HTTP SHELL executor = executors.SHELL )
View Source
const ( PUT method = http.MethodPut GET method = http.MethodGet POST method = http.MethodPost DELETE method = http.MethodDelete )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClockwerkClient ¶
type ClockwerkClient interface { Add(scheduler SchedulerHTTP) (SchedulerHTTP, error) Del(schedulerSelect SchedulerSelect) error Toggle(schedulerToggle SchedulerToggle) error }
func NewClockwerk ¶
func NewClockwerk(host, port, username, password string) (ClockwerkClient, error)
type HTTPHeader ¶
type HTTPHeader struct {
K, V string
}
HTTPHeader simple http header representation of request
func (*HTTPHeader) String ¶
func (hh *HTTPHeader) String() string
String convert HTTPHeader to string version split by bar sign '|'
type SchedulerHTTP ¶
type SchedulerHTTP struct { Id, ReferenceId, Name, URL, Spec, Body string Executor executor Method method EntryId int32 Retry int32 RetryThreshold int32 Disabled, Persist bool HTTPHeader []HTTPHeader }
SchedulerHTTP simple version of protoc stub for add scheduler
type SchedulerSelect ¶
SchedulerSelect simple version of protoc stub for delete scheduler
type SchedulerToggle ¶
SchedulerToggle simple version of protoc stub for toggle scheduler
Click to show internal directories.
Click to hide internal directories.