Documentation ¶
Index ¶
Constants ¶
View Source
const ( StopAction = "stop" StartAction = "start" ScaleAction = "scale" ResetAction = "reset" )
View Source
const ( ResetToDateTime = "DATETIME" ResetToEarliest = "EARLIEST" ResetToLatest = "LATEST" )
Variables ¶
View Source
var ( ErrNetwork = worker.RetryableError{RetryAfter: networkErrorRetryDuration} ErrKubeAPI = worker.RetryableError{RetryAfter: kubeAPIRetryBackoffDuration} )
View Source
var Module = module.Descriptor{ Kind: "firehose", Dependencies: map[string]string{ // contains filtered or unexported fields }, Actions: []module.ActionDesc{ { Name: module.CreateAction, Description: "Creates firehose instance.", ParamSchema: completeConfigSchema, }, { Name: module.UpdateAction, Description: "Updates an existing firehose instance.", ParamSchema: completeConfigSchema, }, { Name: ScaleAction, Description: "Scale-up or scale-down an existing firehose instance.", ParamSchema: scaleActionSchema, }, { Name: StopAction, Description: "Stop firehose and all its components.", }, { Name: StartAction, Description: "Start firehose and all its components.", }, { Name: ResetAction, Description: "Reset firehose kafka consumer group to given timestamp", ParamSchema: resetActionSchema, }, }, DriverFactory: func(conf json.RawMessage) (module.Driver, error) { return &firehoseModule{}, nil }, }
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.