Documentation ¶
Overview ¶
Copyright 2018 StreamSets Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2018 StreamSets Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Constants
- Variables
- func Edited(pipelineId string, isRemote bool) error
- func GetHistory(pipelineId string) ([]*common.PipelineState, error)
- func GetOffset(pipelineId string) (common.SourceOffset, error)
- func GetState(pipelineId string) (*common.PipelineState, error)
- func ResetOffset(pipelineId string) error
- func SaveOffset(pipelineId string, sourceOffset common.SourceOffset) error
- func SaveState(pipelineId string, pipelineState *common.PipelineState) error
Constants ¶
const ( OFFSET_FILE = "offset.json" PIPELINES_RUN_INFO_FOLDER = "/data/runInfo/" )
const ( PIPELINE_STATE_FILE = "pipelineState.json" PIPELINE_STATE_HISTORY_FILE = "pipelineStateHistory.json" IS_REMOTE_PIPELINE = "IS_REMOTE_PIPELINE" ISSUES = "issues" )
Variables ¶
var BaseDir = "."
Functions ¶
func GetHistory ¶
func GetHistory(pipelineId string) ([]*common.PipelineState, error)
func ResetOffset ¶
func SaveOffset ¶
func SaveOffset(pipelineId string, sourceOffset common.SourceOffset) error
Types ¶
This section is empty.