Documentation
¶
Index ¶
- type ActivatePipelineRequest
- type AdditionalProperties
- type ArgumentModel
- type CollectJobPatchRequest
- type CollectJobRequest
- type CollectJobResponse
- type CollectJobSchedule
- type CollectJobStartStopResponse
- type ConnectionPatchRequest
- type ConnectionPutRequest
- type ConnectionRequest
- type ConnectionResponse
- type ConnectionSaveResponse
- type ConnectionVersionResponse
- type ConnectorResponse
- type DataStream
- type DataStreamProperties
- type DataStreamRequest
- type DataStreamResponse
- type DeactivatePipelineRequest
- type DecompileRequest
- type DecompileResponse
- type EntitlementRequest
- type EntitlementResponse
- type ErrorResponse
- type FilesMetaDataResponse
- type FunctionModel
- type GetCollectJobQueryParams
- type GetInputSchemaRequest
- type GetLookupTableQueryParams
- type GetOutputSchemaRequest
- type GetPipelineQueryParams
- type GetPipelinesStatusQueryParams
- func (q GetPipelinesStatusQueryParams) SetActivated(v bool) GetPipelinesStatusQueryParams
- func (q GetPipelinesStatusQueryParams) SetCreateUserId(v string) GetPipelinesStatusQueryParams
- func (q GetPipelinesStatusQueryParams) SetName(v string) GetPipelinesStatusQueryParams
- func (q GetPipelinesStatusQueryParams) SetOffset(v int32) GetPipelinesStatusQueryParams
- func (q GetPipelinesStatusQueryParams) SetPageSize(v int32) GetPipelinesStatusQueryParams
- func (q GetPipelinesStatusQueryParams) SetSortDir(v string) GetPipelinesStatusQueryParams
- func (q GetPipelinesStatusQueryParams) SetSortField(v string) GetPipelinesStatusQueryParams
- type GetPluginsQueryParams
- type GetRegistryQueryParams
- type GetTemplateQueryParams
- type ListConnectionsQueryParams
- func (q ListConnectionsQueryParams) SetConnectorId(v []string) ListConnectionsQueryParams
- func (q ListConnectionsQueryParams) SetCreateUserId(v string) ListConnectionsQueryParams
- func (q ListConnectionsQueryParams) SetFunctionId(v string) ListConnectionsQueryParams
- func (q ListConnectionsQueryParams) SetFunctionOp(v string) ListConnectionsQueryParams
- func (q ListConnectionsQueryParams) SetName(v string) ListConnectionsQueryParams
- func (q ListConnectionsQueryParams) SetOffset(v int32) ListConnectionsQueryParams
- func (q ListConnectionsQueryParams) SetPageSize(v int32) ListConnectionsQueryParams
- func (q ListConnectionsQueryParams) SetShowSecretNames(v string) ListConnectionsQueryParams
- func (q ListConnectionsQueryParams) SetSortDir(v string) ListConnectionsQueryParams
- func (q ListConnectionsQueryParams) SetSortField(v string) ListConnectionsQueryParams
- type ListDataStreamsQueryParams
- func (q ListDataStreamsQueryParams) SetOffset(v int32) ListDataStreamsQueryParams
- func (q ListDataStreamsQueryParams) SetPageSize(v int32) ListDataStreamsQueryParams
- func (q ListDataStreamsQueryParams) SetSortDir(v string) ListDataStreamsQueryParams
- func (q ListDataStreamsQueryParams) SetSortField(v string) ListDataStreamsQueryParams
- type ListPipelinesQueryParams
- func (q ListPipelinesQueryParams) SetActivated(v bool) ListPipelinesQueryParams
- func (q ListPipelinesQueryParams) SetCreateUserId(v string) ListPipelinesQueryParams
- func (q ListPipelinesQueryParams) SetIncludeData(v bool) ListPipelinesQueryParams
- func (q ListPipelinesQueryParams) SetName(v string) ListPipelinesQueryParams
- func (q ListPipelinesQueryParams) SetOffset(v int32) ListPipelinesQueryParams
- func (q ListPipelinesQueryParams) SetPageSize(v int32) ListPipelinesQueryParams
- func (q ListPipelinesQueryParams) SetSortDir(v string) ListPipelinesQueryParams
- func (q ListPipelinesQueryParams) SetSortField(v string) ListPipelinesQueryParams
- type ListRulesPackagesQueryParams
- type ListTemplatesQueryParams
- func (q ListTemplatesQueryParams) SetOffset(v int32) ListTemplatesQueryParams
- func (q ListTemplatesQueryParams) SetPageSize(v int32) ListTemplatesQueryParams
- func (q ListTemplatesQueryParams) SetSortDir(v string) ListTemplatesQueryParams
- func (q ListTemplatesQueryParams) SetSortField(v string) ListTemplatesQueryParams
- type LookupTableResponse
- type MapOfstringAndRulesPackageSourcetypes
- type MapOfstringAndobject
- type MapOfstringAndstring
- type MetricsResponse
- type NodeMetrics
- type PaginatedResponseOfCollectJobResponse
- type PaginatedResponseOfConnectionResponse
- type PaginatedResponseOfConnectorResponse
- type PaginatedResponseOfPipelineJobStatus
- type PaginatedResponseOfPipelineResponse
- type PaginatedResponseOfPlugin
- type PaginatedResponseOfRulesKind
- type PaginatedResponseOfRulesResponse
- type PaginatedResponseOfTemplateResponse
- type PartialTemplateRequest
- type Pipeline
- type PipelineEdge
- type PipelineJobStatus
- type PipelineMigrationInfo
- type PipelineNode
- type PipelinePatchRequest
- type PipelineQueryParams
- type PipelineReactivateResponse
- type PipelineReactivateResponsePipelineReactivationStatus
- type PipelineRequest
- type PipelineResponse
- type PipelineResponseStatus
- type PipelineStatusQueryParams
- type Plugin
- type PluginPatchRequest
- type PluginRequest
- type PluginResponse
- type PreviewData
- type PreviewNode
- type PreviewSessionStartRequest
- type PreviewStartResponse
- type PreviewState
- type ReactivatePipelineRequest
- type RegistryModel
- type Response
- type RuleMetrics
- type RulesKind
- type RulesPackageActions
- type RulesPackageSourcetypes
- type RulesRequest
- type RulesResponse
- type Service
- func (s *Service) ActivatePipeline(id string, activatePipelineRequest ActivatePipelineRequest, ...) (*Response, error)
- func (s *Service) Compile(splCompileRequest SplCompileRequest, resp ...*http.Response) (*Pipeline, error)
- func (s *Service) CreateCollectJob(collectJobRequest CollectJobRequest, resp ...*http.Response) (*CollectJobResponse, error)
- func (s *Service) CreateConnection(connectionRequest ConnectionRequest, resp ...*http.Response) (*ConnectionSaveResponse, error)
- func (s *Service) CreateDataStream(dataStreamRequest DataStreamRequest, resp ...*http.Response) (*DataStreamResponse, error)
- func (s *Service) CreatePipeline(pipelineRequest PipelineRequest, resp ...*http.Response) (*PipelineResponse, error)
- func (s *Service) CreateRulesPackage(rulesRequest RulesRequest, resp ...*http.Response) (*RulesResponse, error)
- func (s *Service) CreateTemplate(templateRequest TemplateRequest, resp ...*http.Response) (*TemplateResponse, error)
- func (s *Service) DeactivatePipeline(id string, deactivatePipelineRequest DeactivatePipelineRequest, ...) (*Response, error)
- func (s *Service) Decompile(decompileRequest DecompileRequest, resp ...*http.Response) (*DecompileResponse, error)
- func (s *Service) DeleteCollectJob(id string, resp ...*http.Response) error
- func (s *Service) DeleteCollectJobs(resp ...*http.Response) error
- func (s *Service) DeleteConnection(connectionId string, resp ...*http.Response) error
- func (s *Service) DeleteDataStream(id string, resp ...*http.Response) error
- func (s *Service) DeleteEntitlements(appClientId string, requestBody []string, resp ...*http.Response) error
- func (s *Service) DeleteFile(fileId string, resp ...*http.Response) error
- func (s *Service) DeletePipeline(id string, resp ...*http.Response) error
- func (s *Service) DeletePlugin(pluginId string, resp ...*http.Response) (*string, error)
- func (s *Service) DeleteRulesPackage(externalId string, resp ...*http.Response) error
- func (s *Service) DeleteTemplate(templateId string, resp ...*http.Response) error
- func (s *Service) DescribeDataStream(id string, resp ...*http.Response) (*DataStreamResponse, error)
- func (s *Service) GetCollectJob(id string, query *GetCollectJobQueryParams, resp ...*http.Response) (*CollectJobResponse, error)
- func (s *Service) GetEntitlements(appClientId string, resp ...*http.Response) ([]EntitlementResponse, error)
- func (s *Service) GetFileMetadata(fileId string, resp ...*http.Response) (*UploadFile, error)
- func (s *Service) GetFilesMetadata(resp ...*http.Response) (*FilesMetaDataResponse, error)
- func (s *Service) GetInputSchema(getInputSchemaRequest GetInputSchemaRequest, resp ...*http.Response) (*UplType, error)
- func (s *Service) GetLookupTable(connectionId string, query *GetLookupTableQueryParams, resp ...*http.Response) (*LookupTableResponse, error)
- func (s *Service) GetOutputSchema(getOutputSchemaRequest GetOutputSchemaRequest, resp ...*http.Response) (map[string]UplType, error)
- func (s *Service) GetPipeline(id string, query *GetPipelineQueryParams, resp ...*http.Response) (*PipelineResponse, error)
- func (s *Service) GetPipelineLatestMetrics(id string, resp ...*http.Response) (*MetricsResponse, error)
- func (s *Service) GetPipelinesStatus(query *GetPipelinesStatusQueryParams, resp ...*http.Response) (*PaginatedResponseOfPipelineJobStatus, error)
- func (s *Service) GetPlugins(query *GetPluginsQueryParams, resp ...*http.Response) (*PaginatedResponseOfPlugin, error)
- func (s *Service) GetPreviewData(previewSessionId int64, resp ...*http.Response) (*PreviewData, error)
- func (s *Service) GetPreviewSession(previewSessionId int64, resp ...*http.Response) (*PreviewState, error)
- func (s *Service) GetPreviewSessionLatestMetrics(previewSessionId int64, resp ...*http.Response) (*MetricsResponse, error)
- func (s *Service) GetRegistry(query *GetRegistryQueryParams, resp ...*http.Response) (*RegistryModel, error)
- func (s *Service) GetRulesPackageById(externalId string, resp ...*http.Response) (*RulesResponse, error)
- func (s *Service) GetTemplate(templateId string, query *GetTemplateQueryParams, resp ...*http.Response) (*TemplateResponse, error)
- func (s *Service) ListCollectJobs(resp ...*http.Response) (*PaginatedResponseOfCollectJobResponse, error)
- func (s *Service) ListConnections(query *ListConnectionsQueryParams, resp ...*http.Response) (*PaginatedResponseOfConnectionResponse, error)
- func (s *Service) ListConnectors(resp ...*http.Response) (*PaginatedResponseOfConnectorResponse, error)
- func (s *Service) ListDataStreams(query *ListDataStreamsQueryParams, resp ...*http.Response) ([]DataStreamResponse, error)
- func (s *Service) ListPipelines(query *ListPipelinesQueryParams, resp ...*http.Response) (*PaginatedResponseOfPipelineResponse, error)
- func (s *Service) ListRulesKinds(resp ...*http.Response) (*PaginatedResponseOfRulesKind, error)
- func (s *Service) ListRulesPackages(query *ListRulesPackagesQueryParams, resp ...*http.Response) (*PaginatedResponseOfRulesResponse, error)
- func (s *Service) ListTemplates(query *ListTemplatesQueryParams, resp ...*http.Response) (*PaginatedResponseOfTemplateResponse, error)
- func (s *Service) PatchPipeline(id string, pipelinePatchRequest PipelinePatchRequest, resp ...*http.Response) (*PipelineResponse, error)
- func (s *Service) PatchPlugin(pluginId string, pluginPatchRequest PluginPatchRequest, resp ...*http.Response) (*Plugin, error)
- func (s *Service) PutConnection(connectionId string, connectionPutRequest ConnectionPutRequest, ...) (*ConnectionSaveResponse, error)
- func (s *Service) PutTemplate(templateId string, templatePutRequest TemplatePutRequest, ...) (*TemplateResponse, error)
- func (s *Service) ReactivatePipeline(id string, reactivatePipelineRequest ReactivatePipelineRequest, ...) (*PipelineReactivateResponse, error)
- func (s *Service) RegisterPlugin(pluginRequest PluginRequest, resp ...*http.Response) (*Plugin, error)
- func (s *Service) ReleaseInfo(resp ...*http.Response) (map[string]string, error)
- func (s *Service) SetEntitlements(appClientId string, entitlementRequest []EntitlementRequest, ...) ([]EntitlementResponse, error)
- func (s *Service) StartCollectJob(id string, resp ...*http.Response) (*CollectJobStartStopResponse, error)
- func (s *Service) StartPreview(previewSessionStartRequest PreviewSessionStartRequest, resp ...*http.Response) (*PreviewStartResponse, error)
- func (s *Service) StopCollectJob(id string, resp ...*http.Response) (*CollectJobStartStopResponse, error)
- func (s *Service) StopPreview(previewSessionId int64, resp ...*http.Response) error
- func (s *Service) UpdateCollectJob(id string, collectJobPatchRequest CollectJobPatchRequest, ...) (*CollectJobResponse, error)
- func (s *Service) UpdateConnection(connectionId string, connectionPatchRequest ConnectionPatchRequest, ...) (*ConnectionSaveResponse, error)
- func (s *Service) UpdateDataStream(id string, dataStreamRequest DataStreamRequest, resp ...*http.Response) (*DataStream, error)
- func (s *Service) UpdatePipeline(id string, pipelineRequest PipelineRequest, resp ...*http.Response) (*PipelineResponse, error)
- func (s *Service) UpdatePlugin(pluginId string, pluginRequest PluginRequest, resp ...*http.Response) (*Plugin, error)
- func (s *Service) UpdateRulesPackageById(externalId string, rulesRequest RulesRequest, resp ...*http.Response) (*RulesResponse, error)
- func (s *Service) UpdateTemplate(templateId string, templatePatchRequest TemplatePatchRequest, ...) (*TemplateResponse, error)
- func (s *Service) UploadFile(file **os.File, resp ...*http.Response) (*UploadFile, error)
- func (s *Service) UploadFiles(filename string, resp ...*http.Response) error
- func (s *Service) UploadFilesStream(stream io.Reader, resp ...*http.Response) error
- func (s *Service) UploadPlugin(pluginId string, pluginJar **os.File, resp ...*http.Response) (*PluginResponse, error)
- func (s *Service) ValidatePipeline(validateRequest ValidateRequest, resp ...*http.Response) (*ValidateResponse, error)
- type Servicer
- type ServicerGenerated
- type SplCompileRequest
- type TemplatePatchRequest
- type TemplatePutRequest
- type TemplateRequest
- type TemplateResponse
- type UplType
- type UploadFile
- type ValidateRequest
- type ValidateResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivatePipelineRequest ¶
type ActivatePipelineRequest struct {
// Set to true to activate the latest version of the pipeline. Set to false to use the previously activated version of the pipeline. Defaults to true.
ActivateLatestVersion *bool `json:"activateLatestVersion,omitempty"`
// Set to true to allow the pipeline to ignore any unused progress states. In some cases, when a data pipeline is changed, the progress state will be stored for functions that no longer exist, so this must be set to activate a pipeline in this state. Defaults to false.
AllowNonRestoredState *bool `json:"allowNonRestoredState,omitempty"`
// Set to true to start reading from the latest input rather than from where the pipeline's previous run left off, which can cause data loss. Defaults to false.
SkipRestoreState *bool `json:"skipRestoreState,omitempty"`
}
type AdditionalProperties ¶
AdditionalProperties contain the properties in an activate/deactivate response
type ArgumentModel ¶ added in v1.6.0
type CollectJobPatchRequest ¶ added in v1.10.0
type CollectJobPatchRequest struct {
// The description of the collect job.
Description *string `json:"description,omitempty"`
// The name of the collect job.
Name *string `json:"name,omitempty"`
// The key-value pairs of configurations for this collect job.
Parameters map[string]interface{} `json:"parameters,omitempty"`
Schedule *CollectJobSchedule `json:"schedule,omitempty"`
// The number of workers for collecting data.
Workers *int32 `json:"workers,omitempty"`
}
type CollectJobRequest ¶ added in v1.8.0
type CollectJobRequest struct {
// The ID of the connection that is assigned to this collect job.
ConnectionId string `json:"connectionId"`
// The ID of the connector this collect job uses.
ConnectorId string `json:"connectorId"`
// The description of the collect job.
Description string `json:"description"`
// The name of the collect job.
Name string `json:"name"`
// The key-value pairs of parameters for this collect job. Collect jobs may have some configurations that are required, which all collect jobs must provide values for. For configuration values of type BYTES, the provided values must be Base64 encoded.
Parameters map[string]interface{} `json:"parameters"`
Schedule CollectJobSchedule `json:"schedule"`
// The number of workers for collecting data.
Workers int32 `json:"workers"`
}
type CollectJobResponse ¶ added in v1.8.0
type CollectJobResponse struct {
ActivePipelinesUsing []map[string]interface{} `json:"activePipelinesUsing,omitempty"`
ConnectionId *string `json:"connectionId,omitempty"`
ConnectorId *string `json:"connectorId,omitempty"`
CreateDate *int64 `json:"createDate,omitempty"`
CreateUserId *string `json:"createUserId,omitempty"`
Description *string `json:"description,omitempty"`
Id *string `json:"id,omitempty"`
LastUpdateDate *int64 `json:"lastUpdateDate,omitempty"`
LastUpdateUserId *string `json:"lastUpdateUserId,omitempty"`
Name *string `json:"name,omitempty"`
Parameters map[string]interface{} `json:"parameters,omitempty"`
Schedule *CollectJobSchedule `json:"schedule,omitempty"`
Status *string `json:"status,omitempty"`
Version *int64 `json:"version,omitempty"`
Workers *int32 `json:"workers,omitempty"`
}
type CollectJobSchedule ¶ added in v1.10.0
type CollectJobSchedule struct {
// The CRON expression.
Cron string `json:"cron"`
}
type CollectJobStartStopResponse ¶ added in v1.8.0
type ConnectionPatchRequest ¶
type ConnectionPatchRequest struct {
// The key-value pairs of configurations for this connection. Connectors may have some configurations that are required, which all connections must provide values for. For configuration values of type BYTES, the provided values must be Base64 encoded.
Data map[string]interface{} `json:"data,omitempty"`
// The description of the connection.
Description *string `json:"description,omitempty"`
// The name of the connection.
Name *string `json:"name,omitempty"`
}
type ConnectionPutRequest ¶
type ConnectionPutRequest struct {
// The key-value pairs of configurations for this connection. Connectors may have some configurations that are required, which all connections must provide values for. For configuration values of type BYTES, the provided values must be Base64 encoded.
Data map[string]interface{} `json:"data"`
// The description of the connection.
Description string `json:"description"`
// The name of the connection.
Name string `json:"name"`
}
type ConnectionRequest ¶
type ConnectionRequest struct {
// The ID of the parent connector.
ConnectorId string `json:"connectorId"`
// The key-value pairs of configurations for this connection. Connectors may have some configurations that are required, which all connections must provide values for. For configuration values of type BYTES, the provided values must be Base64 encoded.
Data map[string]interface{} `json:"data"`
// The description of the connection.
Description string `json:"description"`
// The name of the connection.
Name string `json:"name"`
}
type ConnectionResponse ¶
type ConnectionResponse struct {
ActivePipelinesUsing []map[string]interface{} `json:"activePipelinesUsing,omitempty"`
ConnectorId *string `json:"connectorId,omitempty"`
ConnectorName *string `json:"connectorName,omitempty"`
CreateDate *int64 `json:"createDate,omitempty"`
CreateUserId *string `json:"createUserId,omitempty"`
Id *string `json:"id,omitempty"`
LastUpdateDate *int64 `json:"lastUpdateDate,omitempty"`
LastUpdateUserId *string `json:"lastUpdateUserId,omitempty"`
Versions []ConnectionVersionResponse `json:"versions,omitempty"`
}
type ConnectionSaveResponse ¶
type ConnectionSaveResponse struct {
ConnectorId *string `json:"connectorId,omitempty"`
CreateDate *int64 `json:"createDate,omitempty"`
CreateUserId *string `json:"createUserId,omitempty"`
Data map[string]interface{} `json:"data,omitempty"`
Description *string `json:"description,omitempty"`
Id *string `json:"id,omitempty"`
Messages []string `json:"messages,omitempty"`
Name *string `json:"name,omitempty"`
Version *int64 `json:"version,omitempty"`
}
type ConnectionVersionResponse ¶
type ConnectionVersionResponse struct {
CreateDate *int64 `json:"createDate,omitempty"`
CreateUserId *string `json:"createUserId,omitempty"`
Data map[string]interface{} `json:"data,omitempty"`
Description *string `json:"description,omitempty"`
Name *string `json:"name,omitempty"`
Version *int64 `json:"version,omitempty"`
}
type ConnectorResponse ¶
type ConnectorResponse struct {
Config map[string]interface{} `json:"config,omitempty"`
ConnectorType *string `json:"connectorType,omitempty"`
Description *string `json:"description,omitempty"`
Functions []map[string]interface{} `json:"functions,omitempty"`
Hidden *bool `json:"hidden,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
PanelUrl *string `json:"panelUrl,omitempty"`
Tag *string `json:"tag,omitempty"`
}
type DataStream ¶ added in v1.10.0
type DataStream struct {
CreateDate *string `json:"createDate,omitempty"`
CreateUserId *string `json:"createUserId,omitempty"`
CurrentVersion *int32 `json:"currentVersion,omitempty"`
Description *string `json:"description,omitempty"`
Id *string `json:"id,omitempty"`
LastUpdateDate *string `json:"lastUpdateDate,omitempty"`
Name *string `json:"name,omitempty"`
Partitions *int32 `json:"partitions,omitempty"`
TenantId *string `json:"tenantId,omitempty"`
TopicName *string `json:"topicName,omitempty"`
}
type DataStreamProperties ¶ added in v1.10.0
type DataStreamProperties struct {
// Partitions, up to the partition count of the firehose
Partitions *int32 `json:"partitions,omitempty"`
}
type DataStreamRequest ¶ added in v1.10.0
type DataStreamRequest struct {
// The name of the data stream.
Name string `json:"name"`
Properties DataStreamProperties `json:"properties"`
// The description of the data stream. Defaults to null.
Description *string `json:"description,omitempty"`
}
type DataStreamResponse ¶ added in v1.10.0
type DataStreamResponse struct {
ActivePipelinesUsing []string `json:"activePipelinesUsing,omitempty"`
Description *string `json:"description,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Properties *DataStreamProperties `json:"properties,omitempty"`
}
type DeactivatePipelineRequest ¶
type DeactivatePipelineRequest struct {
// Set to true to skip saving the state of a deactivated pipeline. When the pipeline is later activated, it will start with the newest data and skip any data that arrived after this deactivation, which can cause data loss. Defaults to false.
SkipSavepoint *bool `json:"skipSavepoint,omitempty"`
}
type DecompileRequest ¶ added in v1.6.0
type DecompileRequest struct {
Upl Pipeline `json:"upl"`
}
type DecompileResponse ¶ added in v1.6.0
type DecompileResponse struct {
Spl *string `json:"spl,omitempty"`
}
type EntitlementRequest ¶ added in v1.10.0
type EntitlementResponse ¶ added in v1.10.0
type ErrorResponse ¶ added in v1.6.0
type ErrorResponse struct {
Code *string `json:"code,omitempty"`
Details []MapOfstringAndstring `json:"details,omitempty"`
Message *string `json:"message,omitempty"`
MoreInfo *string `json:"moreInfo,omitempty"`
}
type FilesMetaDataResponse ¶ added in v1.6.0
type FilesMetaDataResponse struct {
Files []UploadFile `json:"files,omitempty"`
}
type FunctionModel ¶ added in v1.6.0
type FunctionModel struct {
Arguments []ArgumentModel `json:"arguments,omitempty"`
Attributes map[string]interface{} `json:"attributes,omitempty"`
Op *string `json:"op,omitempty"`
Outputs []ArgumentModel `json:"outputs,omitempty"`
ResolvedId *string `json:"resolvedId,omitempty"`
}
type GetCollectJobQueryParams ¶ added in v1.8.0
type GetCollectJobQueryParams struct {
// Version : version
Version string `key:"version"`
}
GetCollectJobQueryParams represents valid query parameters for the GetCollectJob operation For convenience GetCollectJobQueryParams can be formed in a single statement, for example:
`v := GetCollectJobQueryParams{}.SetVersion(...)`
func (GetCollectJobQueryParams) SetVersion ¶ added in v1.8.0
func (q GetCollectJobQueryParams) SetVersion(v string) GetCollectJobQueryParams
type GetInputSchemaRequest ¶
type GetLookupTableQueryParams ¶ added in v1.6.0
type GetLookupTableQueryParams struct {
// Offset : offset
Offset *int32 `key:"offset"`
// Size : size
Size *int32 `key:"size"`
}
GetLookupTableQueryParams represents valid query parameters for the GetLookupTable operation For convenience GetLookupTableQueryParams can be formed in a single statement, for example:
`v := GetLookupTableQueryParams{}.SetOffset(...).SetSize(...)`
func (GetLookupTableQueryParams) SetOffset ¶ added in v1.6.0
func (q GetLookupTableQueryParams) SetOffset(v int32) GetLookupTableQueryParams
func (GetLookupTableQueryParams) SetSize ¶ added in v1.6.0
func (q GetLookupTableQueryParams) SetSize(v int32) GetLookupTableQueryParams
type GetOutputSchemaRequest ¶
type GetPipelineQueryParams ¶
type GetPipelineQueryParams struct {
// Version : version
Version string `key:"version"`
}
GetPipelineQueryParams represents valid query parameters for the GetPipeline operation For convenience GetPipelineQueryParams can be formed in a single statement, for example:
`v := GetPipelineQueryParams{}.SetVersion(...)`
func (GetPipelineQueryParams) SetVersion ¶
func (q GetPipelineQueryParams) SetVersion(v string) GetPipelineQueryParams
type GetPipelinesStatusQueryParams ¶
type GetPipelinesStatusQueryParams struct {
// Activated : activated
Activated *bool `key:"activated"`
// CreateUserId : createUserId
CreateUserId string `key:"createUserId"`
// Name : name
Name string `key:"name"`
// Offset : offset
Offset *int32 `key:"offset"`
// PageSize : pageSize
PageSize *int32 `key:"pageSize"`
// SortDir : sortDir
SortDir string `key:"sortDir"`
// SortField : sortField
SortField string `key:"sortField"`
}
GetPipelinesStatusQueryParams represents valid query parameters for the GetPipelinesStatus operation For convenience GetPipelinesStatusQueryParams can be formed in a single statement, for example:
`v := GetPipelinesStatusQueryParams{}.SetActivated(...).SetCreateUserId(...).SetName(...).SetOffset(...).SetPageSize(...).SetSortDir(...).SetSortField(...)`
func (GetPipelinesStatusQueryParams) SetActivated ¶
func (q GetPipelinesStatusQueryParams) SetActivated(v bool) GetPipelinesStatusQueryParams
func (GetPipelinesStatusQueryParams) SetCreateUserId ¶
func (q GetPipelinesStatusQueryParams) SetCreateUserId(v string) GetPipelinesStatusQueryParams
func (GetPipelinesStatusQueryParams) SetName ¶
func (q GetPipelinesStatusQueryParams) SetName(v string) GetPipelinesStatusQueryParams
func (GetPipelinesStatusQueryParams) SetOffset ¶
func (q GetPipelinesStatusQueryParams) SetOffset(v int32) GetPipelinesStatusQueryParams
func (GetPipelinesStatusQueryParams) SetPageSize ¶
func (q GetPipelinesStatusQueryParams) SetPageSize(v int32) GetPipelinesStatusQueryParams
func (GetPipelinesStatusQueryParams) SetSortDir ¶
func (q GetPipelinesStatusQueryParams) SetSortDir(v string) GetPipelinesStatusQueryParams
func (GetPipelinesStatusQueryParams) SetSortField ¶
func (q GetPipelinesStatusQueryParams) SetSortField(v string) GetPipelinesStatusQueryParams
type GetPluginsQueryParams ¶ added in v1.8.0
type GetPluginsQueryParams struct {
// Offset : offset
Offset *int32 `key:"offset"`
// PageSize : pageSize
PageSize *int32 `key:"pageSize"`
// SortDir : sortDir
SortDir string `key:"sortDir"`
// SortField : sortField
SortField string `key:"sortField"`
}
GetPluginsQueryParams represents valid query parameters for the GetPlugins operation For convenience GetPluginsQueryParams can be formed in a single statement, for example:
`v := GetPluginsQueryParams{}.SetOffset(...).SetPageSize(...).SetSortDir(...).SetSortField(...)`
func (GetPluginsQueryParams) SetOffset ¶ added in v1.8.0
func (q GetPluginsQueryParams) SetOffset(v int32) GetPluginsQueryParams
func (GetPluginsQueryParams) SetPageSize ¶ added in v1.8.0
func (q GetPluginsQueryParams) SetPageSize(v int32) GetPluginsQueryParams
func (GetPluginsQueryParams) SetSortDir ¶ added in v1.8.0
func (q GetPluginsQueryParams) SetSortDir(v string) GetPluginsQueryParams
func (GetPluginsQueryParams) SetSortField ¶ added in v1.8.0
func (q GetPluginsQueryParams) SetSortField(v string) GetPluginsQueryParams
type GetRegistryQueryParams ¶
type GetRegistryQueryParams struct {
// Local : local
Local *bool `key:"local"`
}
GetRegistryQueryParams represents valid query parameters for the GetRegistry operation For convenience GetRegistryQueryParams can be formed in a single statement, for example:
`v := GetRegistryQueryParams{}.SetLocal(...)`
func (GetRegistryQueryParams) SetLocal ¶
func (q GetRegistryQueryParams) SetLocal(v bool) GetRegistryQueryParams
type GetTemplateQueryParams ¶
type GetTemplateQueryParams struct {
// Version : Template version
Version *int64 `key:"version"`
}
GetTemplateQueryParams represents valid query parameters for the GetTemplate operation For convenience GetTemplateQueryParams can be formed in a single statement, for example:
`v := GetTemplateQueryParams{}.SetVersion(...)`
func (GetTemplateQueryParams) SetVersion ¶
func (q GetTemplateQueryParams) SetVersion(v int64) GetTemplateQueryParams
type ListConnectionsQueryParams ¶
type ListConnectionsQueryParams struct {
ConnectorId []string `key:"connectorId"`
CreateUserId string `key:"createUserId"`
FunctionId string `key:"functionId"`
FunctionOp string `key:"functionOp"`
Name string `key:"name"`
Offset *int32 `key:"offset"`
PageSize *int32 `key:"pageSize"`
ShowSecretNames string `key:"showSecretNames"`
// SortDir : Specify either ascending ('asc') or descending ('desc') sort order for a given field (sortField), which must be set for sortDir to apply. Defaults to 'asc'.
SortDir string `key:"sortDir"`
SortField string `key:"sortField"`
}
ListConnectionsQueryParams represents valid query parameters for the ListConnections operation For convenience ListConnectionsQueryParams can be formed in a single statement, for example:
`v := ListConnectionsQueryParams{}.SetConnectorId(...).SetCreateUserId(...).SetFunctionId(...).SetFunctionOp(...).SetName(...).SetOffset(...).SetPageSize(...).SetShowSecretNames(...).SetSortDir(...).SetSortField(...)`
func (ListConnectionsQueryParams) SetConnectorId ¶
func (q ListConnectionsQueryParams) SetConnectorId(v []string) ListConnectionsQueryParams
func (ListConnectionsQueryParams) SetCreateUserId ¶
func (q ListConnectionsQueryParams) SetCreateUserId(v string) ListConnectionsQueryParams
func (ListConnectionsQueryParams) SetFunctionId ¶
func (q ListConnectionsQueryParams) SetFunctionId(v string) ListConnectionsQueryParams
func (ListConnectionsQueryParams) SetFunctionOp ¶ added in v1.11.0
func (q ListConnectionsQueryParams) SetFunctionOp(v string) ListConnectionsQueryParams
func (ListConnectionsQueryParams) SetName ¶
func (q ListConnectionsQueryParams) SetName(v string) ListConnectionsQueryParams
func (ListConnectionsQueryParams) SetOffset ¶
func (q ListConnectionsQueryParams) SetOffset(v int32) ListConnectionsQueryParams
func (ListConnectionsQueryParams) SetPageSize ¶
func (q ListConnectionsQueryParams) SetPageSize(v int32) ListConnectionsQueryParams
func (ListConnectionsQueryParams) SetShowSecretNames ¶
func (q ListConnectionsQueryParams) SetShowSecretNames(v string) ListConnectionsQueryParams
func (ListConnectionsQueryParams) SetSortDir ¶
func (q ListConnectionsQueryParams) SetSortDir(v string) ListConnectionsQueryParams
func (ListConnectionsQueryParams) SetSortField ¶
func (q ListConnectionsQueryParams) SetSortField(v string) ListConnectionsQueryParams
type ListDataStreamsQueryParams ¶ added in v1.10.0
type ListDataStreamsQueryParams struct {
// Offset : offset
Offset *int32 `key:"offset"`
// PageSize : pageSize
PageSize *int32 `key:"pageSize"`
// SortDir : sortDir
SortDir string `key:"sortDir"`
// SortField : sortField
SortField string `key:"sortField"`
}
ListDataStreamsQueryParams represents valid query parameters for the ListDataStreams operation For convenience ListDataStreamsQueryParams can be formed in a single statement, for example:
`v := ListDataStreamsQueryParams{}.SetOffset(...).SetPageSize(...).SetSortDir(...).SetSortField(...)`
func (ListDataStreamsQueryParams) SetOffset ¶ added in v1.10.0
func (q ListDataStreamsQueryParams) SetOffset(v int32) ListDataStreamsQueryParams
func (ListDataStreamsQueryParams) SetPageSize ¶ added in v1.10.0
func (q ListDataStreamsQueryParams) SetPageSize(v int32) ListDataStreamsQueryParams
func (ListDataStreamsQueryParams) SetSortDir ¶ added in v1.10.0
func (q ListDataStreamsQueryParams) SetSortDir(v string) ListDataStreamsQueryParams
func (ListDataStreamsQueryParams) SetSortField ¶ added in v1.10.0
func (q ListDataStreamsQueryParams) SetSortField(v string) ListDataStreamsQueryParams
type ListPipelinesQueryParams ¶
type ListPipelinesQueryParams struct {
// Activated : activated
Activated *bool `key:"activated"`
// CreateUserId : createUserId
CreateUserId string `key:"createUserId"`
// IncludeData : includeData
IncludeData *bool `key:"includeData"`
// Name : name
Name string `key:"name"`
// Offset : offset
Offset *int32 `key:"offset"`
// PageSize : pageSize
PageSize *int32 `key:"pageSize"`
// SortDir : sortDir
SortDir string `key:"sortDir"`
// SortField : sortField
SortField string `key:"sortField"`
}
ListPipelinesQueryParams represents valid query parameters for the ListPipelines operation For convenience ListPipelinesQueryParams can be formed in a single statement, for example:
`v := ListPipelinesQueryParams{}.SetActivated(...).SetCreateUserId(...).SetIncludeData(...).SetName(...).SetOffset(...).SetPageSize(...).SetSortDir(...).SetSortField(...)`
func (ListPipelinesQueryParams) SetActivated ¶
func (q ListPipelinesQueryParams) SetActivated(v bool) ListPipelinesQueryParams
func (ListPipelinesQueryParams) SetCreateUserId ¶
func (q ListPipelinesQueryParams) SetCreateUserId(v string) ListPipelinesQueryParams
func (ListPipelinesQueryParams) SetIncludeData ¶
func (q ListPipelinesQueryParams) SetIncludeData(v bool) ListPipelinesQueryParams
func (ListPipelinesQueryParams) SetName ¶
func (q ListPipelinesQueryParams) SetName(v string) ListPipelinesQueryParams
func (ListPipelinesQueryParams) SetOffset ¶
func (q ListPipelinesQueryParams) SetOffset(v int32) ListPipelinesQueryParams
func (ListPipelinesQueryParams) SetPageSize ¶
func (q ListPipelinesQueryParams) SetPageSize(v int32) ListPipelinesQueryParams
func (ListPipelinesQueryParams) SetSortDir ¶
func (q ListPipelinesQueryParams) SetSortDir(v string) ListPipelinesQueryParams
func (ListPipelinesQueryParams) SetSortField ¶
func (q ListPipelinesQueryParams) SetSortField(v string) ListPipelinesQueryParams
type ListRulesPackagesQueryParams ¶ added in v1.9.0
type ListRulesPackagesQueryParams struct {
// SortDir : sortDir
SortDir string `key:"sortDir"`
// SortField : sortField
SortField string `key:"sortField"`
}
ListRulesPackagesQueryParams represents valid query parameters for the ListRulesPackages operation For convenience ListRulesPackagesQueryParams can be formed in a single statement, for example:
`v := ListRulesPackagesQueryParams{}.SetSortDir(...).SetSortField(...)`
func (ListRulesPackagesQueryParams) SetSortDir ¶ added in v1.9.0
func (q ListRulesPackagesQueryParams) SetSortDir(v string) ListRulesPackagesQueryParams
func (ListRulesPackagesQueryParams) SetSortField ¶ added in v1.9.0
func (q ListRulesPackagesQueryParams) SetSortField(v string) ListRulesPackagesQueryParams
type ListTemplatesQueryParams ¶
type ListTemplatesQueryParams struct {
// Offset : offset
Offset *int32 `key:"offset"`
// PageSize : pageSize
PageSize *int32 `key:"pageSize"`
// SortDir : sortDir
SortDir string `key:"sortDir"`
// SortField : sortField
SortField string `key:"sortField"`
}
ListTemplatesQueryParams represents valid query parameters for the ListTemplates operation For convenience ListTemplatesQueryParams can be formed in a single statement, for example:
`v := ListTemplatesQueryParams{}.SetOffset(...).SetPageSize(...).SetSortDir(...).SetSortField(...)`
func (ListTemplatesQueryParams) SetOffset ¶
func (q ListTemplatesQueryParams) SetOffset(v int32) ListTemplatesQueryParams
func (ListTemplatesQueryParams) SetPageSize ¶
func (q ListTemplatesQueryParams) SetPageSize(v int32) ListTemplatesQueryParams
func (ListTemplatesQueryParams) SetSortDir ¶
func (q ListTemplatesQueryParams) SetSortDir(v string) ListTemplatesQueryParams
func (ListTemplatesQueryParams) SetSortField ¶
func (q ListTemplatesQueryParams) SetSortField(v string) ListTemplatesQueryParams
type LookupTableResponse ¶ added in v1.6.0
type MapOfstringAndRulesPackageSourcetypes ¶
type MapOfstringAndRulesPackageSourcetypes map[string]interface{}
type MapOfstringAndobject ¶
type MapOfstringAndobject map[string]interface{}
type MapOfstringAndstring ¶ added in v1.6.0
type MapOfstringAndstring map[string]interface{}
type MetricsResponse ¶
type MetricsResponse struct {
Nodes map[string]NodeMetrics `json:"nodes,omitempty"`
}
type NodeMetrics ¶
type NodeMetrics struct {
Metrics map[string]interface{} `json:"metrics,omitempty"`
}
type PaginatedResponseOfCollectJobResponse ¶ added in v1.9.0
type PaginatedResponseOfCollectJobResponse struct {
Items []CollectJobResponse `json:"items,omitempty"`
Total *int64 `json:"total,omitempty"`
}
type PaginatedResponseOfConnectionResponse ¶
type PaginatedResponseOfConnectionResponse struct {
Items []ConnectionResponse `json:"items,omitempty"`
Total *int64 `json:"total,omitempty"`
}
type PaginatedResponseOfConnectorResponse ¶
type PaginatedResponseOfConnectorResponse struct {
Items []ConnectorResponse `json:"items,omitempty"`
Total *int64 `json:"total,omitempty"`
}
type PaginatedResponseOfPipelineJobStatus ¶
type PaginatedResponseOfPipelineJobStatus struct {
Items []PipelineJobStatus `json:"items,omitempty"`
Total *int64 `json:"total,omitempty"`
}
type PaginatedResponseOfPipelineResponse ¶
type PaginatedResponseOfPipelineResponse struct {
Items []PipelineResponse `json:"items,omitempty"`
Total *int64 `json:"total,omitempty"`
}
type PaginatedResponseOfPlugin ¶ added in v1.8.0
type PaginatedResponseOfRulesKind ¶ added in v1.10.0
type PaginatedResponseOfRulesResponse ¶ added in v1.9.0
type PaginatedResponseOfRulesResponse struct {
Items []RulesResponse `json:"items,omitempty"`
Total *int64 `json:"total,omitempty"`
}
type PaginatedResponseOfTemplateResponse ¶
type PaginatedResponseOfTemplateResponse struct {
Items []TemplateResponse `json:"items,omitempty"`
Total *int64 `json:"total,omitempty"`
}
type PartialTemplateRequest ¶
type PartialTemplateRequest struct {
Data *Pipeline `json:"data,omitempty"`
Description *string `json:"description,omitempty"`
Name *string `json:"name,omitempty"`
}
PartialTemplateRequest contains the template request data for partial update operation
type Pipeline ¶ added in v1.6.0
type Pipeline struct {
// A list of links between the output of one pipeline function and the input of another pipeline function.
Edges []PipelineEdge `json:"edges"`
// The functions in your entire pipeline, including each function's operations, attributes, and properties.
Nodes []PipelineNode `json:"nodes"`
// Optional metadata specified by client. Not to be interpreted by the platform
Attributes map[string]interface{} `json:"attributes,omitempty"`
MigrationInfo *PipelineMigrationInfo `json:"migrationInfo,omitempty"`
}
type PipelineEdge ¶ added in v1.6.0
type PipelineJobStatus ¶
type PipelineMigrationInfo ¶ added in v1.6.0
type PipelineNode ¶ added in v1.6.0
type PipelineNode struct {
// A unique identifier for the function.
Id string `json:"id"`
// The operation name.
Op string `json:"op"`
// Function arguments keyed by argument name.
Arguments map[string]interface{} `json:"arguments,omitempty"`
// For internal use only. This field is ignored.
Attributes map[string]interface{} `json:"attributes,omitempty"`
// The identifier describing the operation name and required argument types. This field is ignored.
ResolvedId *string `json:"resolvedId,omitempty"`
// If present, creates a named statement when decompiling to SPL2. For example, \"$events = | from splunk_firehose();\".
StatementName *string `json:"statementName,omitempty"`
}
type PipelinePatchRequest ¶
type PipelinePatchRequest struct {
// Set to true to bypass initial pipeline validation upon creation. The pipeline still needs to be validated before activation. Defaults to false.
BypassValidation *bool `json:"bypassValidation,omitempty"`
// The user that created the pipeline. Deprecated.
CreateUserId *string `json:"createUserId,omitempty"`
Data *Pipeline `json:"data,omitempty"`
// The description of the pipeline. Defaults to null.
Description *string `json:"description,omitempty"`
// The name of the pipeline.
Name *string `json:"name,omitempty"`
}
type PipelineQueryParams ¶
type PipelineQueryParams struct {
Offset *int32 `json:"offset,omitempty"`
PageSize *int32 `json:"pageSize,omitempty"`
SortField *string `json:"sortField,omitempty"`
SortDir *string `json:"sortDir,omitempty"`
Activated *bool `json:"activated,omitempty"`
CreateUserID *string `json:"createUserId,omitempty"`
Name *string `json:"name,omitempty"`
IncludeData *bool `json:"includeData,omitempty"`
}
PipelineQueryParams contains the query parameters that can be provided by the user to fetch specific pipelines
type PipelineReactivateResponse ¶
type PipelineReactivateResponse struct {
CurrentlyActiveVersion *int64 `json:"currentlyActiveVersion,omitempty"`
PipelineId *string `json:"pipelineId,omitempty"`
PipelineReactivationStatus *PipelineReactivateResponsePipelineReactivationStatus `json:"pipelineReactivationStatus,omitempty"`
StatusDescription map[string]string `json:"statusDescription,omitempty"`
}
type PipelineReactivateResponsePipelineReactivationStatus ¶
type PipelineReactivateResponsePipelineReactivationStatus string
const ( PipelineReactivateResponsePipelineReactivationStatusActivated PipelineReactivateResponsePipelineReactivationStatus = "activated" PipelineReactivateResponsePipelineReactivationStatusCurrentVersionInvalid PipelineReactivateResponsePipelineReactivationStatus = "currentVersionInvalid" PipelineReactivateResponsePipelineReactivationStatusFailedToDeactivateCurrentVersion PipelineReactivateResponsePipelineReactivationStatus = "failedToDeactivateCurrentVersion" PipelineReactivateResponsePipelineReactivationStatusNotActivated PipelineReactivateResponsePipelineReactivationStatus = "notActivated" PipelineReactivateResponsePipelineReactivationStatusRolledBack PipelineReactivateResponsePipelineReactivationStatus = "rolledBack" PipelineReactivateResponsePipelineReactivationStatusRolledBackError PipelineReactivateResponsePipelineReactivationStatus = "rolledBackError" )
List of PipelineReactivateResponsePipelineReactivationStatus
type PipelineRequest ¶
type PipelineRequest struct {
Data Pipeline `json:"data"`
// The name of the pipeline.
Name string `json:"name"`
// Set to true to bypass initial pipeline validation upon creation. The pipeline still needs to be validated before activation. Defaults to false.
BypassValidation *bool `json:"bypassValidation,omitempty"`
// The description of the pipeline. Defaults to null.
Description *string `json:"description,omitempty"`
}
type PipelineResponse ¶
type PipelineResponse struct {
ActivatedDate *int64 `json:"activatedDate,omitempty"`
ActivatedUserId *string `json:"activatedUserId,omitempty"`
ActivatedVersion *int64 `json:"activatedVersion,omitempty"`
Complexity *float32 `json:"complexity,omitempty"`
CreateDate *int64 `json:"createDate,omitempty"`
CreateUserId *string `json:"createUserId,omitempty"`
CurrentVersion *int64 `json:"currentVersion,omitempty"`
Data *Pipeline `json:"data,omitempty"`
Description *string `json:"description,omitempty"`
Id *string `json:"id,omitempty"`
LastUpdateDate *int64 `json:"lastUpdateDate,omitempty"`
LastUpdateUserId *string `json:"lastUpdateUserId,omitempty"`
Name *string `json:"name,omitempty"`
Status *PipelineResponseStatus `json:"status,omitempty"`
StatusMessage *string `json:"statusMessage,omitempty"`
StreamingConfigurationId *int64 `json:"streamingConfigurationId,omitempty"`
TenantId *string `json:"tenantId,omitempty"`
ValidationMessages []string `json:"validationMessages,omitempty"`
Version *int64 `json:"version,omitempty"`
}
type PipelineResponseStatus ¶
type PipelineResponseStatus string
const ( PipelineResponseStatusCreated PipelineResponseStatus = "CREATED" PipelineResponseStatusActivated PipelineResponseStatus = "ACTIVATED" PipelineResponseStatusFailed PipelineResponseStatus = "FAILED" PipelineResponseStatusRestarting PipelineResponseStatus = "RESTARTING" PipelineResponseStatusFinished PipelineResponseStatus = "FINISHED" )
List of PipelineResponseStatus
type PipelineStatusQueryParams ¶
type PipelineStatusQueryParams struct {
Offset *int32 `json:"offset,omitempty"`
PageSize *int32 `json:"pageSize,omitempty"`
SortField *string `json:"sortField,omitempty"`
SortDir *string `json:"sortDir,omitempty"`
Activated *bool `json:"activated,omitempty"`
CreateUserID *string `json:"createUserId,omitempty"`
Name *string `json:"name,omitempty"`
}
PipelineStatusQueryParams contains the query parameters that can be provided by the user to fetch specific pipeline job statuses
type Plugin ¶ added in v1.8.0
type Plugin struct {
Description *string `json:"description,omitempty"`
IsDeleted *bool `json:"isDeleted,omitempty"`
LastUpdateDate *int64 `json:"lastUpdateDate,omitempty"`
LastUpdateUserId *string `json:"lastUpdateUserId,omitempty"`
Name *string `json:"name,omitempty"`
PluginId *string `json:"pluginId,omitempty"`
TenantId *string `json:"tenantId,omitempty"`
}
type PluginPatchRequest ¶ added in v1.8.0
type PluginRequest ¶ added in v1.8.0
type PluginResponse ¶ added in v1.10.0
type PluginResponse struct {
CreateDate *int64 `json:"createDate,omitempty"`
CreateUserId *string `json:"createUserId,omitempty"`
Description *string `json:"description,omitempty"`
JarLocation *string `json:"jarLocation,omitempty"`
Name *string `json:"name,omitempty"`
PluginId *string `json:"pluginId,omitempty"`
Version *int64 `json:"version,omitempty"`
}
type PreviewData ¶
type PreviewData struct {
CurrentNumberOfRecords *int32 `json:"currentNumberOfRecords,omitempty"`
Nodes map[string]PreviewNode `json:"nodes,omitempty"`
PreviewId *string `json:"previewId,omitempty"`
RecordsPerPipeline *int32 `json:"recordsPerPipeline,omitempty"`
RuleMetrics []RuleMetrics `json:"ruleMetrics,omitempty"`
TenantId *string `json:"tenantId,omitempty"`
}
type PreviewNode ¶
type PreviewSessionStartRequest ¶
type PreviewSessionStartRequest struct {
Upl Pipeline `json:"upl"`
// The maximum number of events per function. Defaults to 100.
RecordsLimit *int32 `json:"recordsLimit,omitempty"`
// The maximum number of events per pipeline. Defaults to 10000.
RecordsPerPipeline *int32 `json:"recordsPerPipeline,omitempty"`
// The maximum lifetime of a session, in milliseconds. Defaults to 300,000.
SessionLifetimeMs *int64 `json:"sessionLifetimeMs,omitempty"`
}
type PreviewStartResponse ¶
type PreviewStartResponse struct {
PreviewId *int64 `json:"previewId,omitempty"`
}
type PreviewState ¶
type PreviewState struct {
ActivatedDate *int64 `json:"activatedDate,omitempty"`
CreatedDate *int64 `json:"createdDate,omitempty"`
CurrentNumberOfRecords *int32 `json:"currentNumberOfRecords,omitempty"`
JobId *string `json:"jobId,omitempty"`
PreviewId *int64 `json:"previewId,omitempty"`
RecordsPerPipeline *int32 `json:"recordsPerPipeline,omitempty"`
}
type ReactivatePipelineRequest ¶ added in v1.8.0
type ReactivatePipelineRequest struct {
// Set to true to activate the latest version of the pipeline. Set to false to use the previously activated version of the pipeline. Defaults to true.
ActivateLatestVersion *bool `json:"activateLatestVersion,omitempty"`
// Set to true to allow the pipeline to ignore any unused progress states. In some cases, when a data pipeline is changed, the progress state will be stored for functions that no longer exist, so this must be set to reactivate a pipeline in this state. Defaults to false.
AllowNonRestoredState *bool `json:"allowNonRestoredState,omitempty"`
// Set to true to start reading from the latest input rather than from where the pipeline's previous run left off, which can cause data loss. Defaults to false.
SkipRestoreState *bool `json:"skipRestoreState,omitempty"`
}
type RegistryModel ¶ added in v1.6.0
type RegistryModel struct {
Categories []string `json:"categories,omitempty"`
Functions []FunctionModel `json:"functions,omitempty"`
}
type RuleMetrics ¶ added in v1.6.0
type RuleMetrics struct {
MatchCount *int64 `json:"matchCount,omitempty"`
MatchPercentage *int64 `json:"matchPercentage,omitempty"`
Name *string `json:"name,omitempty"`
}
Represents the metrics for a particular rule.
type RulesPackageActions ¶ added in v1.10.0
type RulesPackageSourcetypes ¶ added in v1.10.0
type RulesPackageSourcetypes struct {
// List of actions for the sourcetype
Actions []RulesPackageActions `json:"actions"`
// Sourcetype definition
Definition string `json:"definition"`
// Sourcetype description
Description *string `json:"description,omitempty"`
}
type RulesRequest ¶ added in v1.9.0
type RulesRequest struct {
// Unique id of the rules package
ExternalId string `json:"externalId"`
// The name of the rules
Name string `json:"name"`
// The sourcetype that the rules has to be applied
Sourcetypes []MapOfstringAndRulesPackageSourcetypes `json:"sourcetypes"`
// The version of the rules
Version string `json:"version"`
// The description of the rules. Defaults to null.
RulesDescription *string `json:"rulesDescription,omitempty"`
}
type RulesResponse ¶ added in v1.9.0
type RulesResponse struct {
// Unique id of the rules package
ExternalId string `json:"externalId"`
// The name of the rules
Name string `json:"name"`
// The sourcetype that the rules has to be applied
Sourcetypes []MapOfstringAndRulesPackageSourcetypes `json:"sourcetypes"`
// The version of the rules
Version string `json:"version"`
CreateDate *int64 `json:"createDate,omitempty"`
CreateUserId *string `json:"createUserId,omitempty"`
LastUpdateDate *int64 `json:"lastUpdateDate,omitempty"`
LastUpdateUserId *string `json:"lastUpdateUserId,omitempty"`
// The description of the rules. Defaults to null.
RulesDescription *string `json:"rulesDescription,omitempty"`
TenantId *string `json:"tenantId,omitempty"`
}
type Service ¶
type Service services.BaseService
func NewService ¶
NewService creates a new streams service client from the given Config
func (*Service) ActivatePipeline ¶
func (s *Service) ActivatePipeline(id string, activatePipelineRequest ActivatePipelineRequest, resp ...*http.Response) (*Response, error)
ActivatePipeline - Activates an existing pipeline. Parameters:
id: Pipeline ID activatePipelineRequest: Request JSON resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) Compile ¶ added in v1.6.0
func (s *Service) Compile(splCompileRequest SplCompileRequest, resp ...*http.Response) (*Pipeline, error)
Compile - Compiles SPL2 and returns streams JSON. Parameters:
splCompileRequest: Request JSON resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) CreateCollectJob ¶ added in v1.8.0
func (s *Service) CreateCollectJob(collectJobRequest CollectJobRequest, resp ...*http.Response) (*CollectJobResponse, error)
CreateCollectJob - Create a new collect job. Parameters:
collectJobRequest: Request JSON resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) CreateConnection ¶
func (s *Service) CreateConnection(connectionRequest ConnectionRequest, resp ...*http.Response) (*ConnectionSaveResponse, error)
CreateConnection - Create a new DSP connection. Parameters:
connectionRequest: Request JSON resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) CreateDataStream ¶ added in v1.10.0
func (s *Service) CreateDataStream(dataStreamRequest DataStreamRequest, resp ...*http.Response) (*DataStreamResponse, error)
CreateDataStream - Creates a data stream for a tenant. Parameters:
dataStreamRequest: Request JSON resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) CreatePipeline ¶
func (s *Service) CreatePipeline(pipelineRequest PipelineRequest, resp ...*http.Response) (*PipelineResponse, error)
CreatePipeline - Creates a pipeline. Parameters:
pipelineRequest: Request JSON resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) CreateRulesPackage ¶ added in v1.9.0
func (s *Service) CreateRulesPackage(rulesRequest RulesRequest, resp ...*http.Response) (*RulesResponse, error)
CreateRulesPackage - Creates a new RulesPackage Parameters:
rulesRequest: Request JSON resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) CreateTemplate ¶
func (s *Service) CreateTemplate(templateRequest TemplateRequest, resp ...*http.Response) (*TemplateResponse, error)
CreateTemplate - Creates a template for a tenant. Parameters:
templateRequest: Request JSON resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) DeactivatePipeline ¶
func (s *Service) DeactivatePipeline(id string, deactivatePipelineRequest DeactivatePipelineRequest, resp ...*http.Response) (*Response, error)
DeactivatePipeline - Deactivates an existing pipeline. Parameters:
id: Pipeline ID deactivatePipelineRequest: Request JSON resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) Decompile ¶ added in v1.6.0
func (s *Service) Decompile(decompileRequest DecompileRequest, resp ...*http.Response) (*DecompileResponse, error)
Decompile - Decompiles UPL and returns SPL. Parameters:
decompileRequest: Request JSON resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) DeleteCollectJob ¶ added in v1.8.0
DeleteCollectJob_0 - Delete a collect job. Parameters:
id: Collect Job ID resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) DeleteCollectJobs ¶ added in v1.10.0
DeleteCollectJob - Delete all collect jobs. Parameters:
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) DeleteConnection ¶
DeleteConnection - Delete all versions of a connection by its id. Parameters:
connectionId: Connection ID resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) DeleteDataStream ¶ added in v1.10.0
DeleteDataStream - Deletes a data stream for a tenant. Parameters:
id: ID resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) DeleteEntitlements ¶ added in v1.10.0
func (s *Service) DeleteEntitlements(appClientId string, requestBody []string, resp ...*http.Response) error
DeleteEntitlements - Delete known entitlements Parameters:
appClientId: App Client ID requestBody: Request JSON resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) DeleteFile ¶ added in v1.6.0
DeleteFile - Delete file. Parameters:
fileId: File ID resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) DeletePipeline ¶
DeletePipeline - Removes a pipeline. Parameters:
id: Pipeline ID resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) DeletePlugin ¶ added in v1.8.0
DeletePlugin - Delete an admin plugin Parameters:
pluginId: Plugin ID resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) DeleteRulesPackage ¶ added in v1.10.0
DeleteRulesPackage - Delete a rules package with a specific id Parameters:
externalId: Rules Package ID resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) DeleteTemplate ¶
DeleteTemplate - Removes a template with a specific ID. Parameters:
templateId: Template ID resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) DescribeDataStream ¶ added in v1.10.0
func (s *Service) DescribeDataStream(id string, resp ...*http.Response) (*DataStreamResponse, error)
DescribeDataStream - Describes a data stream for a tenant. Parameters:
id: ID resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) GetCollectJob ¶ added in v1.8.0
func (s *Service) GetCollectJob(id string, query *GetCollectJobQueryParams, resp ...*http.Response) (*CollectJobResponse, error)
GetCollectJob - Get a collect job. Parameters:
id: Collect Job ID query: a struct pointer of valid query parameters for the endpoint, nil to send no query parameters resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) GetEntitlements ¶ added in v1.10.0
func (s *Service) GetEntitlements(appClientId string, resp ...*http.Response) ([]EntitlementResponse, error)
GetEntitlements - Get known entitlements Parameters:
appClientId: App Client ID resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) GetFileMetadata ¶ added in v1.7.0
GetFileMetadata - Get file metadata. Parameters:
fileId: File ID resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) GetFilesMetadata ¶ added in v1.6.0
func (s *Service) GetFilesMetadata(resp ...*http.Response) (*FilesMetaDataResponse, error)
GetFilesMetadata - Returns files metadata. Parameters:
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) GetInputSchema ¶
func (s *Service) GetInputSchema(getInputSchemaRequest GetInputSchemaRequest, resp ...*http.Response) (*UplType, error)
GetInputSchema - Returns the input schema for a function in a pipeline. Parameters:
getInputSchemaRequest: Request JSON resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) GetLookupTable ¶ added in v1.6.0
func (s *Service) GetLookupTable(connectionId string, query *GetLookupTableQueryParams, resp ...*http.Response) (*LookupTableResponse, error)
GetLookupTable - Returns lookup table results. Parameters:
connectionId: Connection ID query: a struct pointer of valid query parameters for the endpoint, nil to send no query parameters resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) GetOutputSchema ¶
func (s *Service) GetOutputSchema(getOutputSchemaRequest GetOutputSchemaRequest, resp ...*http.Response) (map[string]UplType, error)
GetOutputSchema - Returns the output schema for a specified function in a pipeline. Parameters:
getOutputSchemaRequest: Request JSON resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) GetPipeline ¶
func (s *Service) GetPipeline(id string, query *GetPipelineQueryParams, resp ...*http.Response) (*PipelineResponse, error)
GetPipeline - Returns an individual pipeline by version. Parameters:
id: Pipeline ID query: a struct pointer of valid query parameters for the endpoint, nil to send no query parameters resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) GetPipelineLatestMetrics ¶
func (s *Service) GetPipelineLatestMetrics(id string, resp ...*http.Response) (*MetricsResponse, error)
GetPipelineLatestMetrics - Returns the latest metrics for a single pipeline. Parameters:
id: Pipeline ID resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) GetPipelinesStatus ¶
func (s *Service) GetPipelinesStatus(query *GetPipelinesStatusQueryParams, resp ...*http.Response) (*PaginatedResponseOfPipelineJobStatus, error)
GetPipelinesStatus - Returns the status of pipelines from the underlying streaming system. Parameters:
query: a struct pointer of valid query parameters for the endpoint, nil to send no query parameters resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) GetPlugins ¶ added in v1.8.0
func (s *Service) GetPlugins(query *GetPluginsQueryParams, resp ...*http.Response) (*PaginatedResponseOfPlugin, error)
GetPlugins - Returns all the plugins that are available for all tenants. Parameters:
query: a struct pointer of valid query parameters for the endpoint, nil to send no query parameters resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) GetPreviewData ¶
func (s *Service) GetPreviewData(previewSessionId int64, resp ...*http.Response) (*PreviewData, error)
GetPreviewData - Returns the preview data for a session. Parameters:
previewSessionId: Preview Session ID resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) GetPreviewSession ¶
func (s *Service) GetPreviewSession(previewSessionId int64, resp ...*http.Response) (*PreviewState, error)
GetPreviewSession - Returns information from a preview session. Parameters:
previewSessionId: Preview Session ID resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) GetPreviewSessionLatestMetrics ¶
func (s *Service) GetPreviewSessionLatestMetrics(previewSessionId int64, resp ...*http.Response) (*MetricsResponse, error)
GetPreviewSessionLatestMetrics - Returns the latest metrics for a preview session. Parameters:
previewSessionId: Preview Session ID resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) GetRegistry ¶
func (s *Service) GetRegistry(query *GetRegistryQueryParams, resp ...*http.Response) (*RegistryModel, error)
GetRegistry - Returns all functions in JSON format. Parameters:
query: a struct pointer of valid query parameters for the endpoint, nil to send no query parameters resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) GetRulesPackageById ¶ added in v1.10.0
func (s *Service) GetRulesPackageById(externalId string, resp ...*http.Response) (*RulesResponse, error)
GetRulesPackageById - Returns the rules package with specific id Parameters:
externalId: RulesPackage ID resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) GetTemplate ¶
func (s *Service) GetTemplate(templateId string, query *GetTemplateQueryParams, resp ...*http.Response) (*TemplateResponse, error)
GetTemplate - Returns an individual template by version. Parameters:
templateId: Template ID query: a struct pointer of valid query parameters for the endpoint, nil to send no query parameters resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) ListCollectJobs ¶ added in v1.9.0
func (s *Service) ListCollectJobs(resp ...*http.Response) (*PaginatedResponseOfCollectJobResponse, error)
ListCollectJobs - Get all collect jobs. Parameters:
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) ListConnections ¶
func (s *Service) ListConnections(query *ListConnectionsQueryParams, resp ...*http.Response) (*PaginatedResponseOfConnectionResponse, error)
ListConnections - Returns a list of connections (latest versions only) by tenant ID. Parameters:
query: a struct pointer of valid query parameters for the endpoint, nil to send no query parameters resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) ListConnectors ¶
func (s *Service) ListConnectors(resp ...*http.Response) (*PaginatedResponseOfConnectorResponse, error)
ListConnectors - Returns a list of the available connectors. Parameters:
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) ListDataStreams ¶ added in v1.10.0
func (s *Service) ListDataStreams(query *ListDataStreamsQueryParams, resp ...*http.Response) ([]DataStreamResponse, error)
ListDataStreams - Returns a list of datastreams for a tenant. Parameters:
query: a struct pointer of valid query parameters for the endpoint, nil to send no query parameters resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) ListPipelines ¶
func (s *Service) ListPipelines(query *ListPipelinesQueryParams, resp ...*http.Response) (*PaginatedResponseOfPipelineResponse, error)
ListPipelines - Returns all pipelines. Parameters:
query: a struct pointer of valid query parameters for the endpoint, nil to send no query parameters resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) ListRulesKinds ¶ added in v1.10.0
func (s *Service) ListRulesKinds(resp ...*http.Response) (*PaginatedResponseOfRulesKind, error)
ListRulesKinds - Returns all rules kinds. Parameters:
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) ListRulesPackages ¶ added in v1.9.0
func (s *Service) ListRulesPackages(query *ListRulesPackagesQueryParams, resp ...*http.Response) (*PaginatedResponseOfRulesResponse, error)
ListRulesPackages - Returns all rules packages. Parameters:
query: a struct pointer of valid query parameters for the endpoint, nil to send no query parameters resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) ListTemplates ¶
func (s *Service) ListTemplates(query *ListTemplatesQueryParams, resp ...*http.Response) (*PaginatedResponseOfTemplateResponse, error)
ListTemplates - Returns a list of all templates. Parameters:
query: a struct pointer of valid query parameters for the endpoint, nil to send no query parameters resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) PatchPipeline ¶ added in v1.6.0
func (s *Service) PatchPipeline(id string, pipelinePatchRequest PipelinePatchRequest, resp ...*http.Response) (*PipelineResponse, error)
PatchPipeline - Patches an existing pipeline. Parameters:
id: Pipeline ID pipelinePatchRequest: Request JSON resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) PatchPlugin ¶ added in v1.8.0
func (s *Service) PatchPlugin(pluginId string, pluginPatchRequest PluginPatchRequest, resp ...*http.Response) (*Plugin, error)
PatchPlugin - Patch an existing admin plugin. Parameters:
pluginId: Plugin ID pluginPatchRequest: PluginRequest JSON resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) PutConnection ¶
func (s *Service) PutConnection(connectionId string, connectionPutRequest ConnectionPutRequest, resp ...*http.Response) (*ConnectionSaveResponse, error)
PutConnection - Updates an existing DSP connection. Parameters:
connectionId: Connection ID connectionPutRequest: Request JSON resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) PutTemplate ¶
func (s *Service) PutTemplate(templateId string, templatePutRequest TemplatePutRequest, resp ...*http.Response) (*TemplateResponse, error)
PutTemplate - Updates an existing template. Parameters:
templateId: Template ID templatePutRequest: Request JSON resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) ReactivatePipeline ¶
func (s *Service) ReactivatePipeline(id string, reactivatePipelineRequest ReactivatePipelineRequest, resp ...*http.Response) (*PipelineReactivateResponse, error)
ReactivatePipeline - Reactivate a pipeline Parameters:
id: Pipeline ID reactivatePipelineRequest: Request JSON resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) RegisterPlugin ¶ added in v1.8.0
func (s *Service) RegisterPlugin(pluginRequest PluginRequest, resp ...*http.Response) (*Plugin, error)
RegisterPlugin - Register a new plugin that's available for all tenants. Parameters:
pluginRequest: Request JSON resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) ReleaseInfo ¶ added in v1.10.0
ReleaseInfo - Provides commit sha for release Parameters:
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) SetEntitlements ¶ added in v1.10.0
func (s *Service) SetEntitlements(appClientId string, entitlementRequest []EntitlementRequest, resp ...*http.Response) ([]EntitlementResponse, error)
SetEntitlements - Create or update entitlements Parameters:
appClientId: App Client ID entitlementRequest: Request JSON resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) StartCollectJob ¶ added in v1.8.0
func (s *Service) StartCollectJob(id string, resp ...*http.Response) (*CollectJobStartStopResponse, error)
StartCollectJob - Start a collect job. Parameters:
id: Collect Job ID resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) StartPreview ¶
func (s *Service) StartPreview(previewSessionStartRequest PreviewSessionStartRequest, resp ...*http.Response) (*PreviewStartResponse, error)
StartPreview - Creates a preview session for a pipeline. Parameters:
previewSessionStartRequest: Parameters to start a new Preview session resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) StopCollectJob ¶ added in v1.8.0
func (s *Service) StopCollectJob(id string, resp ...*http.Response) (*CollectJobStartStopResponse, error)
StopCollectJob - Stop a collect job. Parameters:
id: Collect Job ID resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) StopPreview ¶
StopPreview - Stops a preview session. Parameters:
previewSessionId: Preview Session ID resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) UpdateCollectJob ¶ added in v1.10.0
func (s *Service) UpdateCollectJob(id string, collectJobPatchRequest CollectJobPatchRequest, resp ...*http.Response) (*CollectJobResponse, error)
UpdateCollectJob - Patches an existing collect job. Parameters:
id: Collect Job ID collectJobPatchRequest: Request JSON resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) UpdateConnection ¶
func (s *Service) UpdateConnection(connectionId string, connectionPatchRequest ConnectionPatchRequest, resp ...*http.Response) (*ConnectionSaveResponse, error)
UpdateConnection - Patches an existing DSP connection. Parameters:
connectionId: Connection ID connectionPatchRequest: Request JSON resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) UpdateDataStream ¶ added in v1.10.0
func (s *Service) UpdateDataStream(id string, dataStreamRequest DataStreamRequest, resp ...*http.Response) (*DataStream, error)
UpdateDataStream - Patches an existing data stream for a tenant. Parameters:
id: ID dataStreamRequest: Request JSON resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) UpdatePipeline ¶
func (s *Service) UpdatePipeline(id string, pipelineRequest PipelineRequest, resp ...*http.Response) (*PipelineResponse, error)
UpdatePipeline - Updates an existing pipeline. Parameters:
id: Pipeline ID pipelineRequest: Request JSON resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) UpdatePlugin ¶ added in v1.8.0
func (s *Service) UpdatePlugin(pluginId string, pluginRequest PluginRequest, resp ...*http.Response) (*Plugin, error)
UpdatePlugin - Update admin plugin info. Parameters:
pluginId: Plugin ID pluginRequest: PluginRequest JSON resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) UpdateRulesPackageById ¶ added in v1.10.0
func (s *Service) UpdateRulesPackageById(externalId string, rulesRequest RulesRequest, resp ...*http.Response) (*RulesResponse, error)
UpdateRulesPackageById - Updates the rules package with specific id Parameters:
externalId: RulesPackage ID rulesRequest: Request JSON resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) UpdateTemplate ¶
func (s *Service) UpdateTemplate(templateId string, templatePatchRequest TemplatePatchRequest, resp ...*http.Response) (*TemplateResponse, error)
UpdateTemplate - Patches an existing template. Parameters:
templateId: Template ID templatePatchRequest: Request JSON resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) UploadFile ¶ added in v1.10.0
UploadFile - Upload new file. Parameters:
file: Upload file resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) UploadFiles ¶ added in v1.6.0
UploadFiles - Upload a CSV or text file that contains events. Parameters:
filename resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) UploadFilesStream ¶ added in v1.6.0
UploadFilesStream - Upload stream of io.Reader. Parameters:
stream resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) UploadPlugin ¶ added in v1.10.0
func (s *Service) UploadPlugin(pluginId string, pluginJar **os.File, resp ...*http.Response) (*PluginResponse, error)
UploadPlugin - Upload a new plugin that's available for all tenants. Parameters:
pluginId: Plugin ID pluginJar: Plugin JAR resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
func (*Service) ValidatePipeline ¶
func (s *Service) ValidatePipeline(validateRequest ValidateRequest, resp ...*http.Response) (*ValidateResponse, error)
ValidatePipeline - Verifies whether the Streams JSON is valid. Parameters:
validateRequest: Request JSON resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
type Servicer ¶
type Servicer interface {
//interfaces that are auto-generated in interface_generated.go
ServicerGenerated
}
Servicer represents the interface for implementing all endpoints for this service
type ServicerGenerated ¶ added in v1.10.0
type ServicerGenerated interface {
/*
ActivatePipeline - Activates an existing pipeline.
Parameters:
id: Pipeline ID
activatePipelineRequest: Request JSON
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
ActivatePipeline(id string, activatePipelineRequest ActivatePipelineRequest, resp ...*http.Response) (*Response, error)
/*
Compile - Compiles SPL2 and returns streams JSON.
Parameters:
splCompileRequest: Request JSON
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
Compile(splCompileRequest SplCompileRequest, resp ...*http.Response) (*Pipeline, error)
/*
CreateCollectJob - Create a new collect job.
Parameters:
collectJobRequest: Request JSON
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
CreateCollectJob(collectJobRequest CollectJobRequest, resp ...*http.Response) (*CollectJobResponse, error)
/*
CreateConnection - Create a new DSP connection.
Parameters:
connectionRequest: Request JSON
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
CreateConnection(connectionRequest ConnectionRequest, resp ...*http.Response) (*ConnectionSaveResponse, error)
/*
CreateDataStream - Creates a data stream for a tenant.
Parameters:
dataStreamRequest: Request JSON
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
CreateDataStream(dataStreamRequest DataStreamRequest, resp ...*http.Response) (*DataStreamResponse, error)
/*
CreatePipeline - Creates a pipeline.
Parameters:
pipelineRequest: Request JSON
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
CreatePipeline(pipelineRequest PipelineRequest, resp ...*http.Response) (*PipelineResponse, error)
/*
CreateRulesPackage - Creates a new RulesPackage
Parameters:
rulesRequest: Request JSON
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
CreateRulesPackage(rulesRequest RulesRequest, resp ...*http.Response) (*RulesResponse, error)
/*
CreateTemplate - Creates a template for a tenant.
Parameters:
templateRequest: Request JSON
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
CreateTemplate(templateRequest TemplateRequest, resp ...*http.Response) (*TemplateResponse, error)
/*
DeactivatePipeline - Deactivates an existing pipeline.
Parameters:
id: Pipeline ID
deactivatePipelineRequest: Request JSON
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
DeactivatePipeline(id string, deactivatePipelineRequest DeactivatePipelineRequest, resp ...*http.Response) (*Response, error)
/*
Decompile - Decompiles UPL and returns SPL.
Parameters:
decompileRequest: Request JSON
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
Decompile(decompileRequest DecompileRequest, resp ...*http.Response) (*DecompileResponse, error)
/*
DeleteCollectJob - Delete all collect jobs.
Parameters:
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
DeleteCollectJobs(resp ...*http.Response) error
/*
DeleteCollectJob_0 - Delete a collect job.
Parameters:
id: Collect Job ID
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
DeleteCollectJob(id string, resp ...*http.Response) error
/*
DeleteConnection - Delete all versions of a connection by its id.
Parameters:
connectionId: Connection ID
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
DeleteConnection(connectionId string, resp ...*http.Response) error
/*
DeleteDataStream - Deletes a data stream for a tenant.
Parameters:
id: ID
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
DeleteDataStream(id string, resp ...*http.Response) error
/*
DeleteEntitlements - Delete known entitlements
Parameters:
appClientId: App Client ID
requestBody: Request JSON
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
DeleteEntitlements(appClientId string, requestBody []string, resp ...*http.Response) error
/*
DeleteFile - Delete file.
Parameters:
fileId: File ID
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
DeleteFile(fileId string, resp ...*http.Response) error
/*
DeletePipeline - Removes a pipeline.
Parameters:
id: Pipeline ID
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
DeletePipeline(id string, resp ...*http.Response) error
/*
DeletePlugin - Delete an admin plugin
Parameters:
pluginId: Plugin ID
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
DeletePlugin(pluginId string, resp ...*http.Response) (*string, error)
/*
DeleteRulesPackage - Delete a rules package with a specific id
Parameters:
externalId: Rules Package ID
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
DeleteRulesPackage(externalId string, resp ...*http.Response) error
/*
DeleteTemplate - Removes a template with a specific ID.
Parameters:
templateId: Template ID
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
DeleteTemplate(templateId string, resp ...*http.Response) error
/*
DescribeDataStream - Describes a data stream for a tenant.
Parameters:
id: ID
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
DescribeDataStream(id string, resp ...*http.Response) (*DataStreamResponse, error)
/*
GetCollectJob - Get a collect job.
Parameters:
id: Collect Job ID
query: a struct pointer of valid query parameters for the endpoint, nil to send no query parameters
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
GetCollectJob(id string, query *GetCollectJobQueryParams, resp ...*http.Response) (*CollectJobResponse, error)
/*
GetEntitlements - Get known entitlements
Parameters:
appClientId: App Client ID
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
GetEntitlements(appClientId string, resp ...*http.Response) ([]EntitlementResponse, error)
/*
GetFileMetadata - Get file metadata.
Parameters:
fileId: File ID
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
GetFileMetadata(fileId string, resp ...*http.Response) (*UploadFile, error)
/*
GetFilesMetadata - Returns files metadata.
Parameters:
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
GetFilesMetadata(resp ...*http.Response) (*FilesMetaDataResponse, error)
/*
GetInputSchema - Returns the input schema for a function in a pipeline.
Parameters:
getInputSchemaRequest: Request JSON
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
GetInputSchema(getInputSchemaRequest GetInputSchemaRequest, resp ...*http.Response) (*UplType, error)
/*
GetLookupTable - Returns lookup table results.
Parameters:
connectionId: Connection ID
query: a struct pointer of valid query parameters for the endpoint, nil to send no query parameters
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
GetLookupTable(connectionId string, query *GetLookupTableQueryParams, resp ...*http.Response) (*LookupTableResponse, error)
/*
GetOutputSchema - Returns the output schema for a specified function in a pipeline.
Parameters:
getOutputSchemaRequest: Request JSON
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
GetOutputSchema(getOutputSchemaRequest GetOutputSchemaRequest, resp ...*http.Response) (map[string]UplType, error)
/*
GetPipeline - Returns an individual pipeline by version.
Parameters:
id: Pipeline ID
query: a struct pointer of valid query parameters for the endpoint, nil to send no query parameters
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
GetPipeline(id string, query *GetPipelineQueryParams, resp ...*http.Response) (*PipelineResponse, error)
/*
GetPipelineLatestMetrics - Returns the latest metrics for a single pipeline.
Parameters:
id: Pipeline ID
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
GetPipelineLatestMetrics(id string, resp ...*http.Response) (*MetricsResponse, error)
/*
GetPipelinesStatus - Returns the status of pipelines from the underlying streaming system.
Parameters:
query: a struct pointer of valid query parameters for the endpoint, nil to send no query parameters
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
GetPipelinesStatus(query *GetPipelinesStatusQueryParams, resp ...*http.Response) (*PaginatedResponseOfPipelineJobStatus, error)
/*
GetPlugins - Returns all the plugins that are available for all tenants.
Parameters:
query: a struct pointer of valid query parameters for the endpoint, nil to send no query parameters
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
GetPlugins(query *GetPluginsQueryParams, resp ...*http.Response) (*PaginatedResponseOfPlugin, error)
/*
GetPreviewData - Returns the preview data for a session.
Parameters:
previewSessionId: Preview Session ID
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
GetPreviewData(previewSessionId int64, resp ...*http.Response) (*PreviewData, error)
/*
GetPreviewSession - Returns information from a preview session.
Parameters:
previewSessionId: Preview Session ID
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
GetPreviewSession(previewSessionId int64, resp ...*http.Response) (*PreviewState, error)
/*
GetPreviewSessionLatestMetrics - Returns the latest metrics for a preview session.
Parameters:
previewSessionId: Preview Session ID
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
GetPreviewSessionLatestMetrics(previewSessionId int64, resp ...*http.Response) (*MetricsResponse, error)
/*
GetRegistry - Returns all functions in JSON format.
Parameters:
query: a struct pointer of valid query parameters for the endpoint, nil to send no query parameters
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
GetRegistry(query *GetRegistryQueryParams, resp ...*http.Response) (*RegistryModel, error)
/*
GetRulesPackageById - Returns the rules package with specific id
Parameters:
externalId: RulesPackage ID
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
GetRulesPackageById(externalId string, resp ...*http.Response) (*RulesResponse, error)
/*
GetTemplate - Returns an individual template by version.
Parameters:
templateId: Template ID
query: a struct pointer of valid query parameters for the endpoint, nil to send no query parameters
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
GetTemplate(templateId string, query *GetTemplateQueryParams, resp ...*http.Response) (*TemplateResponse, error)
/*
ListCollectJobs - Get all collect jobs.
Parameters:
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
ListCollectJobs(resp ...*http.Response) (*PaginatedResponseOfCollectJobResponse, error)
/*
ListConnections - Returns a list of connections (latest versions only) by tenant ID.
Parameters:
query: a struct pointer of valid query parameters for the endpoint, nil to send no query parameters
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
ListConnections(query *ListConnectionsQueryParams, resp ...*http.Response) (*PaginatedResponseOfConnectionResponse, error)
/*
ListConnectors - Returns a list of the available connectors.
Parameters:
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
ListConnectors(resp ...*http.Response) (*PaginatedResponseOfConnectorResponse, error)
/*
ListDataStreams - Returns a list of datastreams for a tenant.
Parameters:
query: a struct pointer of valid query parameters for the endpoint, nil to send no query parameters
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
ListDataStreams(query *ListDataStreamsQueryParams, resp ...*http.Response) ([]DataStreamResponse, error)
/*
ListPipelines - Returns all pipelines.
Parameters:
query: a struct pointer of valid query parameters for the endpoint, nil to send no query parameters
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
ListPipelines(query *ListPipelinesQueryParams, resp ...*http.Response) (*PaginatedResponseOfPipelineResponse, error)
/*
ListRulesKinds - Returns all rules kinds.
Parameters:
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
ListRulesKinds(resp ...*http.Response) (*PaginatedResponseOfRulesKind, error)
/*
ListRulesPackages - Returns all rules packages.
Parameters:
query: a struct pointer of valid query parameters for the endpoint, nil to send no query parameters
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
ListRulesPackages(query *ListRulesPackagesQueryParams, resp ...*http.Response) (*PaginatedResponseOfRulesResponse, error)
/*
ListTemplates - Returns a list of all templates.
Parameters:
query: a struct pointer of valid query parameters for the endpoint, nil to send no query parameters
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
ListTemplates(query *ListTemplatesQueryParams, resp ...*http.Response) (*PaginatedResponseOfTemplateResponse, error)
/*
PatchPipeline - Patches an existing pipeline.
Parameters:
id: Pipeline ID
pipelinePatchRequest: Request JSON
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
PatchPipeline(id string, pipelinePatchRequest PipelinePatchRequest, resp ...*http.Response) (*PipelineResponse, error)
/*
PatchPlugin - Patch an existing admin plugin.
Parameters:
pluginId: Plugin ID
pluginPatchRequest: PluginRequest JSON
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
PatchPlugin(pluginId string, pluginPatchRequest PluginPatchRequest, resp ...*http.Response) (*Plugin, error)
/*
PutConnection - Updates an existing DSP connection.
Parameters:
connectionId: Connection ID
connectionPutRequest: Request JSON
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
PutConnection(connectionId string, connectionPutRequest ConnectionPutRequest, resp ...*http.Response) (*ConnectionSaveResponse, error)
/*
PutTemplate - Updates an existing template.
Parameters:
templateId: Template ID
templatePutRequest: Request JSON
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
PutTemplate(templateId string, templatePutRequest TemplatePutRequest, resp ...*http.Response) (*TemplateResponse, error)
/*
ReactivatePipeline - Reactivate a pipeline
Parameters:
id: Pipeline ID
reactivatePipelineRequest: Request JSON
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
ReactivatePipeline(id string, reactivatePipelineRequest ReactivatePipelineRequest, resp ...*http.Response) (*PipelineReactivateResponse, error)
/*
RegisterPlugin - Register a new plugin that's available for all tenants.
Parameters:
pluginRequest: Request JSON
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
RegisterPlugin(pluginRequest PluginRequest, resp ...*http.Response) (*Plugin, error)
/*
ReleaseInfo - Provides commit sha for release
Parameters:
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
ReleaseInfo(resp ...*http.Response) (map[string]string, error)
/*
SetEntitlements - Create or update entitlements
Parameters:
appClientId: App Client ID
entitlementRequest: Request JSON
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
SetEntitlements(appClientId string, entitlementRequest []EntitlementRequest, resp ...*http.Response) ([]EntitlementResponse, error)
/*
StartCollectJob - Start a collect job.
Parameters:
id: Collect Job ID
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
StartCollectJob(id string, resp ...*http.Response) (*CollectJobStartStopResponse, error)
/*
StartPreview - Creates a preview session for a pipeline.
Parameters:
previewSessionStartRequest: Parameters to start a new Preview session
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
StartPreview(previewSessionStartRequest PreviewSessionStartRequest, resp ...*http.Response) (*PreviewStartResponse, error)
/*
StopCollectJob - Stop a collect job.
Parameters:
id: Collect Job ID
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
StopCollectJob(id string, resp ...*http.Response) (*CollectJobStartStopResponse, error)
/*
StopPreview - Stops a preview session.
Parameters:
previewSessionId: Preview Session ID
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
StopPreview(previewSessionId int64, resp ...*http.Response) error
/*
UpdateCollectJob - Patches an existing collect job.
Parameters:
id: Collect Job ID
collectJobPatchRequest: Request JSON
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
UpdateCollectJob(id string, collectJobPatchRequest CollectJobPatchRequest, resp ...*http.Response) (*CollectJobResponse, error)
/*
UpdateConnection - Patches an existing DSP connection.
Parameters:
connectionId: Connection ID
connectionPatchRequest: Request JSON
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
UpdateConnection(connectionId string, connectionPatchRequest ConnectionPatchRequest, resp ...*http.Response) (*ConnectionSaveResponse, error)
/*
UpdateDataStream - Patches an existing data stream for a tenant.
Parameters:
id: ID
dataStreamRequest: Request JSON
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
UpdateDataStream(id string, dataStreamRequest DataStreamRequest, resp ...*http.Response) (*DataStream, error)
/*
UpdatePipeline - Updates an existing pipeline.
Parameters:
id: Pipeline ID
pipelineRequest: Request JSON
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
UpdatePipeline(id string, pipelineRequest PipelineRequest, resp ...*http.Response) (*PipelineResponse, error)
/*
UpdatePlugin - Update admin plugin info.
Parameters:
pluginId: Plugin ID
pluginRequest: PluginRequest JSON
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
UpdatePlugin(pluginId string, pluginRequest PluginRequest, resp ...*http.Response) (*Plugin, error)
/*
UpdateRulesPackageById - Updates the rules package with specific id
Parameters:
externalId: RulesPackage ID
rulesRequest: Request JSON
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
UpdateRulesPackageById(externalId string, rulesRequest RulesRequest, resp ...*http.Response) (*RulesResponse, error)
/*
UpdateTemplate - Patches an existing template.
Parameters:
templateId: Template ID
templatePatchRequest: Request JSON
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
UpdateTemplate(templateId string, templatePatchRequest TemplatePatchRequest, resp ...*http.Response) (*TemplateResponse, error)
/*
UploadFile - Upload new file.
Parameters:
file: Upload file
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
UploadFile(file **os.File, resp ...*http.Response) (*UploadFile, error)
/*
UploadPlugin - Upload a new plugin that's available for all tenants.
Parameters:
pluginId: Plugin ID
pluginJar: Plugin JAR
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
UploadPlugin(pluginId string, pluginJar **os.File, resp ...*http.Response) (*PluginResponse, error)
/*
ValidatePipeline - Verifies whether the Streams JSON is valid.
Parameters:
validateRequest: Request JSON
resp: an optional pointer to a http.Response to be populated by this method. NOTE: only the first resp pointer will be used if multiple are provided
*/
ValidatePipeline(validateRequest ValidateRequest, resp ...*http.Response) (*ValidateResponse, error)
}
ServicerGenerated represents the interface for implementing all endpoints for this service
type SplCompileRequest ¶
type TemplatePatchRequest ¶
type TemplatePutRequest ¶
type TemplateRequest ¶
type TemplateResponse ¶
type TemplateResponse struct {
CreateDate *int64 `json:"createDate,omitempty"`
CreateUserId *string `json:"createUserId,omitempty"`
Data *Pipeline `json:"data,omitempty"`
Description *string `json:"description,omitempty"`
Name *string `json:"name,omitempty"`
OwnerTenantId *string `json:"ownerTenantId,omitempty"`
TemplateId *string `json:"templateId,omitempty"`
Version *int64 `json:"version,omitempty"`
}
type UploadFile ¶ added in v1.6.0
type ValidateRequest ¶
type ValidateRequest struct {
Upl Pipeline `json:"upl"`
}