Documentation
¶
Index ¶
- type Action
- func MakeActionFromAliasAction(f AliasAction) Action
- func MakeActionFromAutoKvAction(f AutoKvAction) Action
- func MakeActionFromEvalAction(f EvalAction) Action
- func MakeActionFromLookupAction(f LookupAction) Action
- func MakeActionFromRawInterface(f interface{}) Action
- func MakeActionFromRegexAction(f RegexAction) Action
- func (m Action) AliasAction() *AliasAction
- func (m Action) AutoKvAction() *AutoKvAction
- func (m Action) EvalAction() *EvalAction
- func (m Action) IsAliasAction() bool
- func (m Action) IsAutoKvAction() bool
- func (m Action) IsEvalAction() bool
- func (m Action) IsLookupAction() bool
- func (m Action) IsRawInterface() bool
- func (m Action) IsRegexAction() bool
- func (m Action) LookupAction() *LookupAction
- func (m Action) MarshalJSON() ([]byte, error)
- func (m Action) RawInterface() interface{}
- func (m Action) RegexAction() *RegexAction
- func (m *Action) UnmarshalJSON(b []byte) (err error)
- type ActionCommon
- type ActionPatch
- func MakeActionPatchFromAliasActionPatch(f AliasActionPatch) ActionPatch
- func MakeActionPatchFromAutoKvActionPatch(f AutoKvActionPatch) ActionPatch
- func MakeActionPatchFromEvalActionPatch(f EvalActionPatch) ActionPatch
- func MakeActionPatchFromLookupActionPatch(f LookupActionPatch) ActionPatch
- func MakeActionPatchFromRawInterface(f interface{}) ActionPatch
- func MakeActionPatchFromRegexActionPatch(f RegexActionPatch) ActionPatch
- func (m ActionPatch) AliasActionPatch() *AliasActionPatch
- func (m ActionPatch) AutoKvActionPatch() *AutoKvActionPatch
- func (m ActionPatch) EvalActionPatch() *EvalActionPatch
- func (m ActionPatch) IsAliasActionPatch() bool
- func (m ActionPatch) IsAutoKvActionPatch() bool
- func (m ActionPatch) IsEvalActionPatch() bool
- func (m ActionPatch) IsLookupActionPatch() bool
- func (m ActionPatch) IsRawInterface() bool
- func (m ActionPatch) IsRegexActionPatch() bool
- func (m ActionPatch) LookupActionPatch() *LookupActionPatch
- func (m ActionPatch) MarshalJSON() ([]byte, error)
- func (m ActionPatch) RawInterface() interface{}
- func (m ActionPatch) RegexActionPatch() *RegexActionPatch
- func (m *ActionPatch) UnmarshalJSON(b []byte) (err error)
- type ActionPatchCommon
- type ActionPost
- func MakeActionPostFromAliasActionPost(f AliasActionPost) ActionPost
- func MakeActionPostFromAutoKvActionPost(f AutoKvActionPost) ActionPost
- func MakeActionPostFromEvalActionPost(f EvalActionPost) ActionPost
- func MakeActionPostFromLookupActionPost(f LookupActionPost) ActionPost
- func MakeActionPostFromRawInterface(f interface{}) ActionPost
- func MakeActionPostFromRegexActionPost(f RegexActionPost) ActionPost
- func (m ActionPost) AliasActionPost() *AliasActionPost
- func (m ActionPost) AutoKvActionPost() *AutoKvActionPost
- func (m ActionPost) EvalActionPost() *EvalActionPost
- func (m ActionPost) IsAliasActionPost() bool
- func (m ActionPost) IsAutoKvActionPost() bool
- func (m ActionPost) IsEvalActionPost() bool
- func (m ActionPost) IsLookupActionPost() bool
- func (m ActionPost) IsRawInterface() bool
- func (m ActionPost) IsRegexActionPost() bool
- func (m ActionPost) LookupActionPost() *LookupActionPost
- func (m ActionPost) MarshalJSON() ([]byte, error)
- func (m ActionPost) RawInterface() interface{}
- func (m ActionPost) RegexActionPost() *RegexActionPost
- func (m *ActionPost) UnmarshalJSON(b []byte) (err error)
- type AliasAction
- type AliasActionKind
- type AliasActionPatch
- type AliasActionPost
- type AliasActionProperties
- type Annotation
- type AnnotationPost
- type AnnotationTypeResourceName
- type AnnotationsProperties
- type AutoKvAction
- type AutoKvActionKind
- type AutoKvActionPatch
- type AutoKvActionPost
- type AutoKvActionProperties
- type Dashboard
- type DashboardMutable
- type DashboardPatch
- type DashboardPost
- type Dataset
- func MakeDatasetFromImportDataset(f ImportDataset) Dataset
- func MakeDatasetFromIndexDataset(f IndexDataset) Dataset
- func MakeDatasetFromJobDataset(f JobDataset) Dataset
- func MakeDatasetFromKvCollectionDataset(f KvCollectionDataset) Dataset
- func MakeDatasetFromLookupDataset(f LookupDataset) Dataset
- func MakeDatasetFromMetricDataset(f MetricDataset) Dataset
- func MakeDatasetFromRawInterface(f interface{}) Dataset
- func MakeDatasetFromViewDataset(f ViewDataset) Dataset
- func (m Dataset) ImportDataset() *ImportDataset
- func (m Dataset) IndexDataset() *IndexDataset
- func (m Dataset) IsImportDataset() bool
- func (m Dataset) IsIndexDataset() bool
- func (m Dataset) IsJobDataset() bool
- func (m Dataset) IsKvCollectionDataset() bool
- func (m Dataset) IsLookupDataset() bool
- func (m Dataset) IsMetricDataset() bool
- func (m Dataset) IsRawInterface() bool
- func (m Dataset) IsViewDataset() bool
- func (m Dataset) JobDataset() *JobDataset
- func (m Dataset) KvCollectionDataset() *KvCollectionDataset
- func (m Dataset) LookupDataset() *LookupDataset
- func (m Dataset) MarshalJSON() ([]byte, error)
- func (m Dataset) MetricDataset() *MetricDataset
- func (m Dataset) RawInterface() interface{}
- func (m *Dataset) UnmarshalJSON(b []byte) (err error)
- func (m Dataset) ViewDataset() *ViewDataset
- type DatasetCommon
- type DatasetImportedBy
- type DatasetPatch
- func MakeDatasetPatchFromImportDatasetPatch(f ImportDatasetPatch) DatasetPatch
- func MakeDatasetPatchFromIndexDatasetPatch(f IndexDatasetPatch) DatasetPatch
- func MakeDatasetPatchFromJobDatasetPatch(f JobDatasetPatch) DatasetPatch
- func MakeDatasetPatchFromKvCollectionDatasetPatch(f KvCollectionDatasetPatch) DatasetPatch
- func MakeDatasetPatchFromLookupDatasetPatch(f LookupDatasetPatch) DatasetPatch
- func MakeDatasetPatchFromMetricDatasetPatch(f MetricDatasetPatch) DatasetPatch
- func MakeDatasetPatchFromRawInterface(f interface{}) DatasetPatch
- func MakeDatasetPatchFromViewDatasetPatch(f ViewDatasetPatch) DatasetPatch
- func (m DatasetPatch) ImportDatasetPatch() *ImportDatasetPatch
- func (m DatasetPatch) IndexDatasetPatch() *IndexDatasetPatch
- func (m DatasetPatch) IsImportDatasetPatch() bool
- func (m DatasetPatch) IsIndexDatasetPatch() bool
- func (m DatasetPatch) IsJobDatasetPatch() bool
- func (m DatasetPatch) IsKvCollectionDatasetPatch() bool
- func (m DatasetPatch) IsLookupDatasetPatch() bool
- func (m DatasetPatch) IsMetricDatasetPatch() bool
- func (m DatasetPatch) IsRawInterface() bool
- func (m DatasetPatch) IsViewDatasetPatch() bool
- func (m DatasetPatch) JobDatasetPatch() *JobDatasetPatch
- func (m DatasetPatch) KvCollectionDatasetPatch() *KvCollectionDatasetPatch
- func (m DatasetPatch) LookupDatasetPatch() *LookupDatasetPatch
- func (m DatasetPatch) MarshalJSON() ([]byte, error)
- func (m DatasetPatch) MetricDatasetPatch() *MetricDatasetPatch
- func (m DatasetPatch) RawInterface() interface{}
- func (m *DatasetPatch) UnmarshalJSON(b []byte) (err error)
- func (m DatasetPatch) ViewDatasetPatch() *ViewDatasetPatch
- type DatasetPatchCommon
- type DatasetPost
- func MakeDatasetPostFromImportDatasetPost(f ImportDatasetPost) DatasetPost
- func MakeDatasetPostFromIndexDatasetPost(f IndexDatasetPost) DatasetPost
- func MakeDatasetPostFromJobDatasetPost(f JobDatasetPost) DatasetPost
- func MakeDatasetPostFromKvCollectionDatasetPost(f KvCollectionDatasetPost) DatasetPost
- func MakeDatasetPostFromLookupDatasetPost(f LookupDatasetPost) DatasetPost
- func MakeDatasetPostFromMetricDatasetPost(f MetricDatasetPost) DatasetPost
- func MakeDatasetPostFromRawInterface(f interface{}) DatasetPost
- func MakeDatasetPostFromViewDatasetPost(f ViewDatasetPost) DatasetPost
- func (m DatasetPost) ImportDatasetPost() *ImportDatasetPost
- func (m DatasetPost) IndexDatasetPost() *IndexDatasetPost
- func (m DatasetPost) IsImportDatasetPost() bool
- func (m DatasetPost) IsIndexDatasetPost() bool
- func (m DatasetPost) IsJobDatasetPost() bool
- func (m DatasetPost) IsKvCollectionDatasetPost() bool
- func (m DatasetPost) IsLookupDatasetPost() bool
- func (m DatasetPost) IsMetricDatasetPost() bool
- func (m DatasetPost) IsRawInterface() bool
- func (m DatasetPost) IsViewDatasetPost() bool
- func (m DatasetPost) JobDatasetPost() *JobDatasetPost
- func (m DatasetPost) KvCollectionDatasetPost() *KvCollectionDatasetPost
- func (m DatasetPost) LookupDatasetPost() *LookupDatasetPost
- func (m DatasetPost) MarshalJSON() ([]byte, error)
- func (m DatasetPost) MetricDatasetPost() *MetricDatasetPost
- func (m DatasetPost) RawInterface() interface{}
- func (m *DatasetPost) UnmarshalJSON(b []byte) (err error)
- func (m DatasetPost) ViewDatasetPost() *ViewDatasetPost
- type DatasetPostCommon
- type DateMetadataProperties
- type EvalAction
- type EvalActionKind
- type EvalActionPatch
- type EvalActionPost
- type EvalActionProperties
- type Field
- type FieldDataType
- type FieldPatch
- type FieldPost
- type FieldPrevalence
- type FieldProperties
- type FieldType
- type ImportDataset
- type ImportDatasetByIdPost
- type ImportDatasetByIdProperties
- type ImportDatasetByNamePost
- type ImportDatasetByNameProperties
- type ImportDatasetKind
- type ImportDatasetPatch
- type ImportDatasetPost
- func (m ImportDatasetPost) ImportDatasetByIdPost() *ImportDatasetByIdPost
- func (m ImportDatasetPost) ImportDatasetByNamePost() *ImportDatasetByNamePost
- func (m ImportDatasetPost) IsImportDatasetByIdPost() bool
- func (m ImportDatasetPost) IsImportDatasetByNamePost() bool
- func (m ImportDatasetPost) IsRawInterface() bool
- func (m ImportDatasetPost) MarshalJSON() ([]byte, error)
- func (m ImportDatasetPost) RawInterface() interface{}
- func (m *ImportDatasetPost) UnmarshalJSON(b []byte) (err error)
- type IndexDataset
- type IndexDatasetKind
- type IndexDatasetPatch
- type IndexDatasetPost
- type IndexDatasetProperties
- type JobDataset
- type JobDatasetEventSummaryAvailableStatus
- type JobDatasetFieldSummaryAvailableStatus
- type JobDatasetKind
- type JobDatasetPatch
- type JobDatasetPost
- type JobDatasetProperties
- type JobDatasetPropertiesTimelineMetadata
- type JobDatasetPropertiesTimelineMetadataAuto
- type JobDatasetTimeBucketsAvailableStatus
- type KvCollectionDataset
- type KvCollectionDatasetKind
- type KvCollectionDatasetPatch
- type KvCollectionDatasetPost
- type KvCollectionDatasetProperties
- type ListActionsForRuleByIdQueryParams
- func (q ListActionsForRuleByIdQueryParams) SetCount(v int32) ListActionsForRuleByIdQueryParams
- func (q ListActionsForRuleByIdQueryParams) SetFilter(v string) ListActionsForRuleByIdQueryParams
- func (q ListActionsForRuleByIdQueryParams) SetOffset(v int32) ListActionsForRuleByIdQueryParams
- func (q ListActionsForRuleByIdQueryParams) SetOrderby(v []string) ListActionsForRuleByIdQueryParams
- type ListActionsForRuleQueryParams
- func (q ListActionsForRuleQueryParams) SetCount(v int32) ListActionsForRuleQueryParams
- func (q ListActionsForRuleQueryParams) SetFilter(v string) ListActionsForRuleQueryParams
- func (q ListActionsForRuleQueryParams) SetOffset(v int32) ListActionsForRuleQueryParams
- func (q ListActionsForRuleQueryParams) SetOrderby(v []string) ListActionsForRuleQueryParams
- type ListAnnotationsForDashboardByIdQueryParams
- type ListAnnotationsForDashboardByResourceNameQueryParams
- type ListAnnotationsForDatasetByIdQueryParams
- func (q ListAnnotationsForDatasetByIdQueryParams) SetCount(v int32) ListAnnotationsForDatasetByIdQueryParams
- func (q ListAnnotationsForDatasetByIdQueryParams) SetFilter(v string) ListAnnotationsForDatasetByIdQueryParams
- func (q ListAnnotationsForDatasetByIdQueryParams) SetOffset(v int32) ListAnnotationsForDatasetByIdQueryParams
- func (q ListAnnotationsForDatasetByIdQueryParams) SetOrderby(v []string) ListAnnotationsForDatasetByIdQueryParams
- type ListAnnotationsForDatasetByResourceNameQueryParams
- func (q ListAnnotationsForDatasetByResourceNameQueryParams) SetCount(v int32) ListAnnotationsForDatasetByResourceNameQueryParams
- func (q ListAnnotationsForDatasetByResourceNameQueryParams) SetFilter(v string) ListAnnotationsForDatasetByResourceNameQueryParams
- func (q ListAnnotationsForDatasetByResourceNameQueryParams) SetOffset(v int32) ListAnnotationsForDatasetByResourceNameQueryParams
- func (q ListAnnotationsForDatasetByResourceNameQueryParams) SetOrderby(v []string) ListAnnotationsForDatasetByResourceNameQueryParams
- type ListDashboardsQueryParams
- func (q ListDashboardsQueryParams) SetCount(v int32) ListDashboardsQueryParams
- func (q ListDashboardsQueryParams) SetFilter(v string) ListDashboardsQueryParams
- func (q ListDashboardsQueryParams) SetOffset(v int32) ListDashboardsQueryParams
- func (q ListDashboardsQueryParams) SetOrderby(v []string) ListDashboardsQueryParams
- type ListDatasetsQueryParams
- func (q ListDatasetsQueryParams) SetCount(v int32) ListDatasetsQueryParams
- func (q ListDatasetsQueryParams) SetFilter(v string) ListDatasetsQueryParams
- func (q ListDatasetsQueryParams) SetOffset(v int32) ListDatasetsQueryParams
- func (q ListDatasetsQueryParams) SetOrderby(v []string) ListDatasetsQueryParams
- type ListFieldsForDatasetByIdQueryParams
- func (q ListFieldsForDatasetByIdQueryParams) SetCount(v int32) ListFieldsForDatasetByIdQueryParams
- func (q ListFieldsForDatasetByIdQueryParams) SetFilter(v string) ListFieldsForDatasetByIdQueryParams
- func (q ListFieldsForDatasetByIdQueryParams) SetOffset(v int32) ListFieldsForDatasetByIdQueryParams
- func (q ListFieldsForDatasetByIdQueryParams) SetOrderby(v []string) ListFieldsForDatasetByIdQueryParams
- type ListFieldsForDatasetQueryParams
- func (q ListFieldsForDatasetQueryParams) SetCount(v int32) ListFieldsForDatasetQueryParams
- func (q ListFieldsForDatasetQueryParams) SetFilter(v string) ListFieldsForDatasetQueryParams
- func (q ListFieldsForDatasetQueryParams) SetOffset(v int32) ListFieldsForDatasetQueryParams
- func (q ListFieldsForDatasetQueryParams) SetOrderby(v []string) ListFieldsForDatasetQueryParams
- type ListFieldsQueryParams
- type ListModulesQueryParams
- type ListRelationshipsQueryParams
- func (q ListRelationshipsQueryParams) SetCount(v int32) ListRelationshipsQueryParams
- func (q ListRelationshipsQueryParams) SetFilter(v string) ListRelationshipsQueryParams
- func (q ListRelationshipsQueryParams) SetOffset(v int32) ListRelationshipsQueryParams
- func (q ListRelationshipsQueryParams) SetOrderby(v []string) ListRelationshipsQueryParams
- type ListRulesQueryParams
- type ListWorkflowBuildsQueryParams
- func (q ListWorkflowBuildsQueryParams) SetCount(v int32) ListWorkflowBuildsQueryParams
- func (q ListWorkflowBuildsQueryParams) SetFilter(v string) ListWorkflowBuildsQueryParams
- func (q ListWorkflowBuildsQueryParams) SetOffset(v int32) ListWorkflowBuildsQueryParams
- func (q ListWorkflowBuildsQueryParams) SetOrderby(v []string) ListWorkflowBuildsQueryParams
- type ListWorkflowRunsQueryParams
- func (q ListWorkflowRunsQueryParams) SetCount(v int32) ListWorkflowRunsQueryParams
- func (q ListWorkflowRunsQueryParams) SetFilter(v string) ListWorkflowRunsQueryParams
- func (q ListWorkflowRunsQueryParams) SetOffset(v int32) ListWorkflowRunsQueryParams
- func (q ListWorkflowRunsQueryParams) SetOrderby(v []string) ListWorkflowRunsQueryParams
- type ListWorkflowsQueryParams
- func (q ListWorkflowsQueryParams) SetCount(v int32) ListWorkflowsQueryParams
- func (q ListWorkflowsQueryParams) SetFilter(v string) ListWorkflowsQueryParams
- func (q ListWorkflowsQueryParams) SetOffset(v int32) ListWorkflowsQueryParams
- func (q ListWorkflowsQueryParams) SetOrderby(v []string) ListWorkflowsQueryParams
- type LookupAction
- type LookupActionKind
- type LookupActionPatch
- type LookupActionPost
- type LookupActionProperties
- type LookupDataset
- type LookupDatasetExternalKind
- type LookupDatasetKind
- type LookupDatasetPatch
- type LookupDatasetPost
- type LookupDatasetProperties
- type MetadataProperties
- type MetricDataset
- type MetricDatasetKind
- type MetricDatasetPatch
- type MetricDatasetPost
- type MetricDatasetProperties
- type Module
- type RegexAction
- type RegexActionKind
- type RegexActionPatch
- type RegexActionPost
- type RegexActionProperties
- type Relationship
- type RelationshipField
- type RelationshipFieldKind
- type RelationshipFieldPost
- type RelationshipFieldProperties
- type RelationshipKind
- type RelationshipPatch
- type RelationshipPost
- type RelationshipProperties
- type Rule
- type RulePatch
- type RulePost
- type RuleProperties
- type Service
- func (s *Service) CreateActionForRule(ruleresourcename string, actionPost ActionPost, resp ...*http.Response) (*Action, error)
- func (s *Service) CreateActionForRuleById(ruleid string, actionPost ActionPost, resp ...*http.Response) (*Action, error)
- func (s *Service) CreateAnnotationForDashboardbyId(dashboardid string, annotationPost AnnotationPost, resp ...*http.Response) (*Annotation, error)
- func (s *Service) CreateAnnotationForDashboardsByResourceName(dashboardresourcename string, annotationPost AnnotationPost, ...) (*Annotation, error)
- func (s *Service) CreateAnnotationForDatasetById(datasetid string, annotationPost AnnotationPost, resp ...*http.Response) (*Annotation, error)
- func (s *Service) CreateAnnotationForDatasetByResourceName(datasetresourcename string, annotationPost AnnotationPost, ...) (*Annotation, error)
- func (s *Service) CreateDashboard(dashboardPost DashboardPost, resp ...*http.Response) (*Dashboard, error)
- func (s *Service) CreateDataset(datasetPost DatasetPost, resp ...*http.Response) (*Dataset, error)
- func (s *Service) CreateDatasetImport(datasetresourcename string, datasetImportedBy DatasetImportedBy, ...) (*ImportDataset, error)
- func (s *Service) CreateDatasetImportById(datasetid string, datasetImportedBy DatasetImportedBy, resp ...*http.Response) (*ImportDataset, error)
- func (s *Service) CreateDatasetImportByIdv1(datasetid string, datasetImportedBy DatasetImportedBy, resp ...*http.Response) (*DatasetImportedBy, error)
- func (s *Service) CreateDatasetImportv1(datasetresourcename string, datasetImportedBy DatasetImportedBy, ...) (*Dataset, error)
- func (s *Service) CreateFieldForDataset(datasetresourcename string, fieldPost FieldPost, resp ...*http.Response) (*Field, error)
- func (s *Service) CreateFieldForDatasetById(datasetid string, fieldPost FieldPost, resp ...*http.Response) (*Field, error)
- func (s *Service) CreateRelationship(relationshipPost RelationshipPost, resp ...*http.Response) (*Relationship, error)
- func (s *Service) CreateRule(rulePost RulePost, resp ...*http.Response) (*Rule, error)
- func (s *Service) CreateWorkflow(workflowPost WorkflowPost, resp ...*http.Response) (*Workflow, error)
- func (s *Service) CreateWorkflowBuild(workflowid string, workflowBuildPost WorkflowBuildPost, resp ...*http.Response) (*WorkflowBuild, error)
- func (s *Service) CreateWorkflowRun(workflowid string, workflowbuildid string, workflowRunPost WorkflowRunPost, ...) (*WorkflowRun, error)
- func (s *Service) DeleteActionByIdForRule(ruleresourcename string, actionid string, resp ...*http.Response) error
- func (s *Service) DeleteActionByIdForRuleById(ruleid string, actionid string, resp ...*http.Response) error
- func (s *Service) DeleteAnnotationOfDashboardById(dashboardid string, annotationid string, resp ...*http.Response) error
- func (s *Service) DeleteAnnotationOfDashboardByResourceName(dashboardresourcename string, annotationid string, resp ...*http.Response) error
- func (s *Service) DeleteAnnotationOfDatasetById(datasetid string, annotationid string, resp ...*http.Response) error
- func (s *Service) DeleteAnnotationOfDatasetByResourceName(datasetresourcename string, annotationid string, resp ...*http.Response) error
- func (s *Service) DeleteDashboardById(dashboardid string, resp ...*http.Response) error
- func (s *Service) DeleteDashboardByResourceName(dashboardresourcename string, resp ...*http.Response) error
- func (s *Service) DeleteDataset(datasetresourcename string, resp ...*http.Response) error
- func (s *Service) DeleteDatasetById(datasetid string, resp ...*http.Response) error
- func (s *Service) DeleteFieldByIdForDataset(datasetresourcename string, fieldid string, resp ...*http.Response) error
- func (s *Service) DeleteFieldByIdForDatasetById(datasetid string, fieldid string, resp ...*http.Response) error
- func (s *Service) DeleteRelationshipById(relationshipid string, resp ...*http.Response) error
- func (s *Service) DeleteRule(ruleresourcename string, resp ...*http.Response) error
- func (s *Service) DeleteRuleById(ruleid string, resp ...*http.Response) error
- func (s *Service) DeleteWorkflowBuildById(workflowid string, workflowbuildid string, resp ...*http.Response) error
- func (s *Service) DeleteWorkflowById(workflowid string, resp ...*http.Response) error
- func (s *Service) DeleteWorkflowRunById(workflowid string, workflowbuildid string, workflowrunid string, ...) error
- func (s *Service) GetActionByIdForRule(ruleresourcename string, actionid string, resp ...*http.Response) (*Action, error)
- func (s *Service) GetActionByIdForRuleById(ruleid string, actionid string, resp ...*http.Response) (*Action, error)
- func (s *Service) GetDashboardById(dashboardid string, resp ...*http.Response) (*Dashboard, error)
- func (s *Service) GetDashboardByResourceName(dashboardresourcename string, resp ...*http.Response) (*Dashboard, error)
- func (s *Service) GetDataset(datasetresourcename string, resp ...*http.Response) (*Dataset, error)
- func (s *Service) GetDatasetById(datasetid string, resp ...*http.Response) (*Dataset, error)
- func (s *Service) GetFieldById(fieldid string, resp ...*http.Response) (*Field, error)
- func (s *Service) GetFieldByIdForDataset(datasetresourcename string, fieldid string, resp ...*http.Response) (*Field, error)
- func (s *Service) GetFieldByIdForDatasetById(datasetid string, fieldid string, resp ...*http.Response) (*Field, error)
- func (s *Service) GetRelationshipById(relationshipid string, resp ...*http.Response) (*Relationship, error)
- func (s *Service) GetRule(ruleresourcename string, resp ...*http.Response) (*Rule, error)
- func (s *Service) GetRuleById(ruleid string, resp ...*http.Response) (*Rule, error)
- func (s *Service) GetWorkflowBuildById(workflowid string, workflowbuildid string, resp ...*http.Response) (*WorkflowBuild, error)
- func (s *Service) GetWorkflowById(workflowid string, resp ...*http.Response) (*Workflow, error)
- func (s *Service) GetWorkflowRunById(workflowid string, workflowbuildid string, workflowrunid string, ...) (*WorkflowRun, error)
- func (s *Service) ListActionsForRule(ruleresourcename string, query *ListActionsForRuleQueryParams, ...) ([]Action, error)
- func (s *Service) ListActionsForRuleById(ruleid string, query *ListActionsForRuleByIdQueryParams, ...) ([]Action, error)
- func (s *Service) ListAnnotationsForDashboardById(dashboardid string, query *ListAnnotationsForDashboardByIdQueryParams, ...) ([]Annotation, error)
- func (s *Service) ListAnnotationsForDashboardByResourceName(dashboardresourcename string, ...) ([]Annotation, error)
- func (s *Service) ListAnnotationsForDatasetById(datasetid string, query *ListAnnotationsForDatasetByIdQueryParams, ...) ([]Annotation, error)
- func (s *Service) ListAnnotationsForDatasetByResourceName(datasetresourcename string, ...) ([]Annotation, error)
- func (s *Service) ListDashboards(query *ListDashboardsQueryParams, resp ...*http.Response) ([]Dashboard, error)
- func (s *Service) ListDatasets(query *ListDatasetsQueryParams, resp ...*http.Response) ([]Dataset, error)
- func (s *Service) ListFields(query *ListFieldsQueryParams, resp ...*http.Response) ([]Field, error)
- func (s *Service) ListFieldsForDataset(datasetresourcename string, query *ListFieldsForDatasetQueryParams, ...) ([]Field, error)
- func (s *Service) ListFieldsForDatasetById(datasetid string, query *ListFieldsForDatasetByIdQueryParams, ...) ([]Field, error)
- func (s *Service) ListModules(query *ListModulesQueryParams, resp ...*http.Response) ([]Module, error)
- func (s *Service) ListRelationships(query *ListRelationshipsQueryParams, resp ...*http.Response) ([]Relationship, error)
- func (s *Service) ListRules(query *ListRulesQueryParams, resp ...*http.Response) ([]Rule, error)
- func (s *Service) ListWorkflowBuilds(workflowid string, query *ListWorkflowBuildsQueryParams, ...) ([]WorkflowBuild, error)
- func (s *Service) ListWorkflowRuns(workflowid string, workflowbuildid string, query *ListWorkflowRunsQueryParams, ...) ([]WorkflowRun, error)
- func (s *Service) ListWorkflows(query *ListWorkflowsQueryParams, resp ...*http.Response) ([]Workflow, error)
- func (s *Service) UpdateActionByIdForRule(ruleresourcename string, actionid string, actionPatch ActionPatch, ...) (*Action, error)
- func (s *Service) UpdateActionByIdForRuleById(ruleid string, actionid string, actionPatch ActionPatch, ...) (*Action, error)
- func (s *Service) UpdateDashboardById(dashboardid string, dashboardPatch DashboardPatch, resp ...*http.Response) (*Dashboard, error)
- func (s *Service) UpdateDashboardByResourceName(dashboardresourcename string, dashboardPatch DashboardPatch, ...) error
- func (s *Service) UpdateDataset(datasetresourcename string, datasetPatch DatasetPatch, resp ...*http.Response) (*Dataset, error)
- func (s *Service) UpdateDatasetById(datasetid string, datasetPatch DatasetPatch, resp ...*http.Response) (*Dataset, error)
- func (s *Service) UpdateFieldByIdForDataset(datasetresourcename string, fieldid string, fieldPatch FieldPatch, ...) (*Field, error)
- func (s *Service) UpdateFieldByIdForDatasetById(datasetid string, fieldid string, fieldPatch FieldPatch, ...) (*Field, error)
- func (s *Service) UpdateRelationshipById(relationshipid string, relationshipPatch RelationshipPatch, ...) (*Relationship, error)
- func (s *Service) UpdateRule(ruleresourcename string, rulePatch RulePatch, resp ...*http.Response) (*Rule, error)
- func (s *Service) UpdateRuleById(ruleid string, rulePatch RulePatch, resp ...*http.Response) (*Rule, error)
- func (s *Service) UpdateWorkflowBuildById(workflowid string, workflowbuildid string, ...) error
- func (s *Service) UpdateWorkflowById(workflowid string, workflowPatch WorkflowPatch, resp ...*http.Response) error
- func (s *Service) UpdateWorkflowRunById(workflowid string, workflowbuildid string, workflowrunid string, ...) error
- type Servicer
- type Task
- type TaskPost
- type UserMetadataProperties
- type ViewDataset
- type ViewDatasetKind
- type ViewDatasetPatch
- type ViewDatasetPost
- type ViewDatasetProperties
- type Workflow
- type WorkflowBuild
- type WorkflowBuildPatch
- type WorkflowBuildPost
- type WorkflowBuildValidationkind
- type WorkflowPatch
- type WorkflowPost
- type WorkflowRun
- type WorkflowRunPatch
- type WorkflowRunPost
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct {
// contains filtered or unexported fields
}
Action : A complete action as rendered in POST, PATCH, and GET responses.
func MakeActionFromAliasAction ¶
func MakeActionFromAliasAction(f AliasAction) Action
MakeActionFromAliasAction creates a new Action from an instance of AliasAction
func MakeActionFromAutoKvAction ¶
func MakeActionFromAutoKvAction(f AutoKvAction) Action
MakeActionFromAutoKvAction creates a new Action from an instance of AutoKvAction
func MakeActionFromEvalAction ¶
func MakeActionFromEvalAction(f EvalAction) Action
MakeActionFromEvalAction creates a new Action from an instance of EvalAction
func MakeActionFromLookupAction ¶
func MakeActionFromLookupAction(f LookupAction) Action
MakeActionFromLookupAction creates a new Action from an instance of LookupAction
func MakeActionFromRawInterface ¶
func MakeActionFromRawInterface(f interface{}) Action
MakeActionFromRawInterface creates a new Action from a raw interface{}
func MakeActionFromRegexAction ¶
func MakeActionFromRegexAction(f RegexAction) Action
MakeActionFromRegexAction creates a new Action from an instance of RegexAction
func (Action) AliasAction ¶
func (m Action) AliasAction() *AliasAction
AliasAction returns AliasAction if IsAliasAction() is true, nil otherwise
func (Action) AutoKvAction ¶
func (m Action) AutoKvAction() *AutoKvAction
AutoKvAction returns AutoKvAction if IsAutoKvAction() is true, nil otherwise
func (Action) EvalAction ¶
func (m Action) EvalAction() *EvalAction
EvalAction returns EvalAction if IsEvalAction() is true, nil otherwise
func (Action) IsAliasAction ¶
IsAliasAction checks if the Action is a AliasAction
func (Action) IsAutoKvAction ¶
IsAutoKvAction checks if the Action is a AutoKvAction
func (Action) IsEvalAction ¶
IsEvalAction checks if the Action is a EvalAction
func (Action) IsLookupAction ¶
IsLookupAction checks if the Action is a LookupAction
func (Action) IsRawInterface ¶
IsRawInterface checks if the Action is an interface{} (unknown type)
func (Action) IsRegexAction ¶
IsRegexAction checks if the Action is a RegexAction
func (Action) LookupAction ¶
func (m Action) LookupAction() *LookupAction
LookupAction returns LookupAction if IsLookupAction() is true, nil otherwise
func (Action) MarshalJSON ¶
MarshalJSON marshals Action using the appropriate struct field
func (Action) RawInterface ¶
func (m Action) RawInterface() interface{}
RawInterface returns interface{} if IsRawInterface() is true (unknown type), nil otherwise
func (Action) RegexAction ¶
func (m Action) RegexAction() *RegexAction
RegexAction returns RegexAction if IsRegexAction() is true, nil otherwise
func (*Action) UnmarshalJSON ¶
UnmarshalJSON unmarshals Action using the "kind" property
type ActionCommon ¶
type ActionCommon struct {
// A unique action ID.
Id *string `json:"id,omitempty"`
// The rule that this action is part of.
Ruleid *string `json:"ruleid,omitempty"`
// The catalog version.
Version *int32 `json:"version,omitempty"`
}
Properties common across all action kinds as rendered in POST, PATCH, and GET responses and alos for creating a new action using a POST request.
type ActionPatch ¶
type ActionPatch struct {
// contains filtered or unexported fields
}
ActionPatch : Property values to be set in an existing action using a PATCH request. ActionPatch is AliasActionPatch, AutoKvActionPatch, EvalActionPatch, LookupActionPatch, RegexActionPatch, (or interface{} if no matches are found)
func MakeActionPatchFromAliasActionPatch ¶
func MakeActionPatchFromAliasActionPatch(f AliasActionPatch) ActionPatch
MakeActionPatchFromAliasActionPatch creates a new ActionPatch from an instance of AliasActionPatch
func MakeActionPatchFromAutoKvActionPatch ¶
func MakeActionPatchFromAutoKvActionPatch(f AutoKvActionPatch) ActionPatch
MakeActionPatchFromAutoKvActionPatch creates a new ActionPatch from an instance of AutoKvActionPatch
func MakeActionPatchFromEvalActionPatch ¶
func MakeActionPatchFromEvalActionPatch(f EvalActionPatch) ActionPatch
MakeActionPatchFromEvalActionPatch creates a new ActionPatch from an instance of EvalActionPatch
func MakeActionPatchFromLookupActionPatch ¶
func MakeActionPatchFromLookupActionPatch(f LookupActionPatch) ActionPatch
MakeActionPatchFromLookupActionPatch creates a new ActionPatch from an instance of LookupActionPatch
func MakeActionPatchFromRawInterface ¶
func MakeActionPatchFromRawInterface(f interface{}) ActionPatch
MakeActionPatchFromRawInterface creates a new ActionPatch from a raw interface{}
func MakeActionPatchFromRegexActionPatch ¶
func MakeActionPatchFromRegexActionPatch(f RegexActionPatch) ActionPatch
MakeActionPatchFromRegexActionPatch creates a new ActionPatch from an instance of RegexActionPatch
func (ActionPatch) AliasActionPatch ¶
func (m ActionPatch) AliasActionPatch() *AliasActionPatch
AliasActionPatch returns AliasActionPatch if IsAliasActionPatch() is true, nil otherwise
func (ActionPatch) AutoKvActionPatch ¶
func (m ActionPatch) AutoKvActionPatch() *AutoKvActionPatch
AutoKvActionPatch returns AutoKvActionPatch if IsAutoKvActionPatch() is true, nil otherwise
func (ActionPatch) EvalActionPatch ¶
func (m ActionPatch) EvalActionPatch() *EvalActionPatch
EvalActionPatch returns EvalActionPatch if IsEvalActionPatch() is true, nil otherwise
func (ActionPatch) IsAliasActionPatch ¶
func (m ActionPatch) IsAliasActionPatch() bool
IsAliasActionPatch checks if the ActionPatch is a AliasActionPatch
func (ActionPatch) IsAutoKvActionPatch ¶
func (m ActionPatch) IsAutoKvActionPatch() bool
IsAutoKvActionPatch checks if the ActionPatch is a AutoKvActionPatch
func (ActionPatch) IsEvalActionPatch ¶
func (m ActionPatch) IsEvalActionPatch() bool
IsEvalActionPatch checks if the ActionPatch is a EvalActionPatch
func (ActionPatch) IsLookupActionPatch ¶
func (m ActionPatch) IsLookupActionPatch() bool
IsLookupActionPatch checks if the ActionPatch is a LookupActionPatch
func (ActionPatch) IsRawInterface ¶
func (m ActionPatch) IsRawInterface() bool
IsRawInterface checks if the ActionPatch is an interface{} (unknown type)
func (ActionPatch) IsRegexActionPatch ¶
func (m ActionPatch) IsRegexActionPatch() bool
IsRegexActionPatch checks if the ActionPatch is a RegexActionPatch
func (ActionPatch) LookupActionPatch ¶
func (m ActionPatch) LookupActionPatch() *LookupActionPatch
LookupActionPatch returns LookupActionPatch if IsLookupActionPatch() is true, nil otherwise
func (ActionPatch) MarshalJSON ¶
func (m ActionPatch) MarshalJSON() ([]byte, error)
MarshalJSON marshals ActionPatch using ActionPatch.ActionPatch
func (ActionPatch) RawInterface ¶
func (m ActionPatch) RawInterface() interface{}
RawInterface returns interface{} if IsRawInterface() is true (unknown type), nil otherwise
func (ActionPatch) RegexActionPatch ¶
func (m ActionPatch) RegexActionPatch() *RegexActionPatch
RegexActionPatch returns RegexActionPatch if IsRegexActionPatch() is true, nil otherwise
func (*ActionPatch) UnmarshalJSON ¶
func (m *ActionPatch) UnmarshalJSON(b []byte) (err error)
UnmarshalJSON unmarshals ActionPatch into AliasActionPatch, AutoKvActionPatch, EvalActionPatch, LookupActionPatch, RegexActionPatch, or interface{} if no matches are found
type ActionPatchCommon ¶
type ActionPatchCommon struct {
// The name of the user who owns this action. This value is obtained from the bearer token if not present.
Owner *string `json:"owner,omitempty"`
// The catalog version.
Version *int32 `json:"version,omitempty"`
}
Property values common across action kinds for setting existing actions using a PATCH request.
type ActionPost ¶
type ActionPost struct {
// contains filtered or unexported fields
}
ActionPost : Initial property values for creating a new action using a POST request.
func MakeActionPostFromAliasActionPost ¶
func MakeActionPostFromAliasActionPost(f AliasActionPost) ActionPost
MakeActionPostFromAliasActionPost creates a new ActionPost from an instance of AliasActionPost
func MakeActionPostFromAutoKvActionPost ¶
func MakeActionPostFromAutoKvActionPost(f AutoKvActionPost) ActionPost
MakeActionPostFromAutoKvActionPost creates a new ActionPost from an instance of AutoKvActionPost
func MakeActionPostFromEvalActionPost ¶
func MakeActionPostFromEvalActionPost(f EvalActionPost) ActionPost
MakeActionPostFromEvalActionPost creates a new ActionPost from an instance of EvalActionPost
func MakeActionPostFromLookupActionPost ¶
func MakeActionPostFromLookupActionPost(f LookupActionPost) ActionPost
MakeActionPostFromLookupActionPost creates a new ActionPost from an instance of LookupActionPost
func MakeActionPostFromRawInterface ¶
func MakeActionPostFromRawInterface(f interface{}) ActionPost
MakeActionPostFromRawInterface creates a new ActionPost from a raw interface{}
func MakeActionPostFromRegexActionPost ¶
func MakeActionPostFromRegexActionPost(f RegexActionPost) ActionPost
MakeActionPostFromRegexActionPost creates a new ActionPost from an instance of RegexActionPost
func (ActionPost) AliasActionPost ¶
func (m ActionPost) AliasActionPost() *AliasActionPost
AliasActionPost returns AliasActionPost if IsAliasActionPost() is true, nil otherwise
func (ActionPost) AutoKvActionPost ¶
func (m ActionPost) AutoKvActionPost() *AutoKvActionPost
AutoKvActionPost returns AutoKvActionPost if IsAutoKvActionPost() is true, nil otherwise
func (ActionPost) EvalActionPost ¶
func (m ActionPost) EvalActionPost() *EvalActionPost
EvalActionPost returns EvalActionPost if IsEvalActionPost() is true, nil otherwise
func (ActionPost) IsAliasActionPost ¶
func (m ActionPost) IsAliasActionPost() bool
IsAliasActionPost checks if the ActionPost is a AliasActionPost
func (ActionPost) IsAutoKvActionPost ¶
func (m ActionPost) IsAutoKvActionPost() bool
IsAutoKvActionPost checks if the ActionPost is a AutoKvActionPost
func (ActionPost) IsEvalActionPost ¶
func (m ActionPost) IsEvalActionPost() bool
IsEvalActionPost checks if the ActionPost is a EvalActionPost
func (ActionPost) IsLookupActionPost ¶
func (m ActionPost) IsLookupActionPost() bool
IsLookupActionPost checks if the ActionPost is a LookupActionPost
func (ActionPost) IsRawInterface ¶
func (m ActionPost) IsRawInterface() bool
IsRawInterface checks if the ActionPost is an interface{} (unknown type)
func (ActionPost) IsRegexActionPost ¶
func (m ActionPost) IsRegexActionPost() bool
IsRegexActionPost checks if the ActionPost is a RegexActionPost
func (ActionPost) LookupActionPost ¶
func (m ActionPost) LookupActionPost() *LookupActionPost
LookupActionPost returns LookupActionPost if IsLookupActionPost() is true, nil otherwise
func (ActionPost) MarshalJSON ¶
func (m ActionPost) MarshalJSON() ([]byte, error)
MarshalJSON marshals ActionPost using the appropriate struct field
func (ActionPost) RawInterface ¶
func (m ActionPost) RawInterface() interface{}
RawInterface returns interface{} if IsRawInterface() is true (unknown type), nil otherwise
func (ActionPost) RegexActionPost ¶
func (m ActionPost) RegexActionPost() *RegexActionPost
RegexActionPost returns RegexActionPost if IsRegexActionPost() is true, nil otherwise
func (*ActionPost) UnmarshalJSON ¶
func (m *ActionPost) UnmarshalJSON(b []byte) (err error)
UnmarshalJSON unmarshals ActionPost using the "kind" property
type AliasAction ¶
type AliasAction struct {
// The alias name.
Alias string `json:"alias"`
// The date and time object was created.
Created string `json:"created"`
// The name of the user who created the object. This value is obtained from the bearer token and may not be changed.
Createdby string `json:"createdby"`
// The name of the field to be aliased.
Field string `json:"field"`
// A unique action ID.
Id string `json:"id"`
Kind AliasActionKind `json:"kind"`
// The date and time object was modified.
Modified string `json:"modified"`
// The name of the user who most recently modified the object.
Modifiedby string `json:"modifiedby"`
// The name of the object's owner.
Owner string `json:"owner"`
// The rule that this action is part of.
Ruleid string `json:"ruleid"`
// The catalog version.
Version *int32 `json:"version,omitempty"`
}
A complete alias action as rendered in POST, PATCH, and GET responses.
type AliasActionKind ¶
type AliasActionKind string
AliasActionKind : The alias action kind.
const (
AliasActionKindAlias AliasActionKind = "ALIAS"
)
List of AliasActionKind
type AliasActionPatch ¶
type AliasActionPatch struct {
// The alias name.
Alias *string `json:"alias,omitempty"`
// The name of the field to be aliased.
Field *string `json:"field,omitempty"`
Kind *AliasActionKind `json:"kind,omitempty"`
// The name of the user who owns this action. This value is obtained from the bearer token if not present.
Owner *string `json:"owner,omitempty"`
// The catalog version.
Version *int32 `json:"version,omitempty"`
}
Property values for setting existing alias actions using a PATCH request.
type AliasActionPost ¶
type AliasActionPost struct {
// The alias name.
Alias string `json:"alias"`
// The name of the field to be aliased.
Field string `json:"field"`
Kind AliasActionKind `json:"kind"`
// A unique action ID.
Id *string `json:"id,omitempty"`
// The rule that this action is part of.
Ruleid *string `json:"ruleid,omitempty"`
// The catalog version.
Version *int32 `json:"version,omitempty"`
}
Initial property values for creating a new alias action using a POST request.
type AliasActionProperties ¶
type AliasActionProperties struct {
// The alias name.
Alias *string `json:"alias,omitempty"`
// The name of the field to be aliased.
Field *string `json:"field,omitempty"`
Kind *AliasActionKind `json:"kind,omitempty"`
}
Properties of alias actions which may be read, set, and changed through the API. Implementation detail of ActionPOST, ActionPOST, and Action, do not use directly.
type Annotation ¶
type Annotation struct {
// The annotation type ID.
Annotationtypeid string `json:"annotationtypeid"`
// The date and time object was created.
Created string `json:"created"`
// The name of the user who created the object. This value is obtained from the bearer token and may not be changed.
Createdby string `json:"createdby"`
// A unique annotation ID.
Id string `json:"id"`
// The date and time object was modified.
Modified string `json:"modified"`
// The name of the user who most recently modified the object.
Modifiedby string `json:"modifiedby"`
// The name of the object's owner.
Owner string `json:"owner"`
// The dashboard ID.
Dashboardid *string `json:"dashboardid,omitempty"`
// The dataset ID. Null if not annotating a dataset.
Datasetid *string `json:"datasetid,omitempty"`
// The field ID. Null if not annotating a field.
Fieldid *string `json:"fieldid,omitempty"`
// The relationship ID. Null if not annotating a relationship.
Relationshipid *string `json:"relationshipid,omitempty"`
}
A complete annotation as rendered in POST, PATCH, and GET responses. Key:Value pairs in addition to the defined properties will become annotation tags
type AnnotationPost ¶
type AnnotationPost struct {
// The annotation type ID.
Annotationtypeid string `json:"annotationtypeid"`
// Resource name of the annotation type
Annotationtyperesourcename *string `json:"annotationtyperesourcename,omitempty"`
// The dashboard ID.
Dashboardid *string `json:"dashboardid,omitempty"`
// The dataset ID. Null if not annotating a dataset.
Datasetid *string `json:"datasetid,omitempty"`
// The field ID. Null if not annotating a field.
Fieldid *string `json:"fieldid,omitempty"`
// A unique annotation ID. If not specified, an auto generated ID is created.
Id *string `json:"id,omitempty"`
// The relationship ID. Null if not annotating a relationship.
Relationshipid *string `json:"relationshipid,omitempty"`
}
The properties required to create a new annotation using a POST request. Key:Value pairs in addition to the defined properties will become annotation tags
type AnnotationTypeResourceName ¶
type AnnotationTypeResourceName string
The resource name of an AnnotationType. For the default module, the resource name format is annotationTypeName. Otherwise, the resource name format is module.annotationTypeName.
type AnnotationsProperties ¶
type AnnotationsProperties struct {
// The annotation type ID.
Annotationtypeid *string `json:"annotationtypeid,omitempty"`
// The dashboard ID.
Dashboardid *string `json:"dashboardid,omitempty"`
// The dataset ID. Null if not annotating a dataset.
Datasetid *string `json:"datasetid,omitempty"`
// The field ID. Null if not annotating a field.
Fieldid *string `json:"fieldid,omitempty"`
// The relationship ID. Null if not annotating a relationship.
Relationshipid *string `json:"relationshipid,omitempty"`
}
Properties of annotations which are read through the API.
type AutoKvAction ¶
type AutoKvAction struct {
// The date and time object was created.
Created string `json:"created"`
// The name of the user who created the object. This value is obtained from the bearer token and may not be changed.
Createdby string `json:"createdby"`
// A unique action ID.
Id string `json:"id"`
Kind AutoKvActionKind `json:"kind"`
// The autokv action mode.
Mode string `json:"mode"`
// The date and time object was modified.
Modified string `json:"modified"`
// The name of the user who most recently modified the object.
Modifiedby string `json:"modifiedby"`
// The name of the object's owner.
Owner string `json:"owner"`
// The rule that this action is part of.
Ruleid string `json:"ruleid"`
// The catalog version.
Version *int32 `json:"version,omitempty"`
}
A complete autokv action as rendered in POST, PATCH, and GET responses.
type AutoKvActionKind ¶
type AutoKvActionKind string
AutoKvActionKind : The autokv action kind.
const (
AutoKvActionKindAutokv AutoKvActionKind = "AUTOKV"
)
List of AutoKVActionKind
type AutoKvActionPatch ¶
type AutoKvActionPatch struct {
Kind *AutoKvActionKind `json:"kind,omitempty"`
// The autokv action mode.
Mode *string `json:"mode,omitempty"`
// The name of the user who owns this action. This value is obtained from the bearer token if not present.
Owner *string `json:"owner,omitempty"`
// The catalog version.
Version *int32 `json:"version,omitempty"`
}
Property values for setting existing autokv actions using a PATCH request.
type AutoKvActionPost ¶
type AutoKvActionPost struct {
Kind AutoKvActionKind `json:"kind"`
// The autokv action mode.
Mode string `json:"mode"`
// A unique action ID.
Id *string `json:"id,omitempty"`
// The rule that this action is part of.
Ruleid *string `json:"ruleid,omitempty"`
// The catalog version.
Version *int32 `json:"version,omitempty"`
}
Initial property values for creating a new autokv action using a POST request.
type AutoKvActionProperties ¶
type AutoKvActionProperties struct {
Kind *AutoKvActionKind `json:"kind,omitempty"`
// The autokv action mode.
Mode *string `json:"mode,omitempty"`
}
Properties of auto kv actions which may be read, set, and changed through the API. Implementation detail of ActionPOST, ActionPOST, and Action, do not use directly.
type Dashboard ¶
type Dashboard struct {
// The date and time object was created.
Created string `json:"created"`
// The name of the user who created the object. This value is obtained from the bearer token and may not be changed.
Createdby string `json:"createdby"`
// The JSON dashboard definition.
Definition string `json:"definition"`
// A unique dashboard ID. Random ID used if not provided.
Id string `json:"id"`
// The date and time object was modified.
Modified string `json:"modified"`
// The name of the user who most recently modified the object.
Modifiedby string `json:"modifiedby"`
// The module that contains the dashboard.
Module string `json:"module"`
// The dashboard name. Dashboard names must be unique within each tenant.
Name string `json:"name"`
// The name of the object's owner.
Owner string `json:"owner"`
// Whether the dashboard is active or not.
Isactive *bool `json:"isactive,omitempty"`
// The version of the dashboard.
Version *int32 `json:"version,omitempty"`
}
A complete dashboard as rendered in POST, PATCH, and GET responses.
type DashboardMutable ¶
type DashboardMutable struct {
// The JSON dashboard definition.
Definition *string `json:"definition,omitempty"`
// Whether the dashboard is active or not.
Isactive *bool `json:"isactive,omitempty"`
// The module that contains the dashboard.
Module *string `json:"module,omitempty"`
// The dashboard name. Dashboard names must be unique within each tenant.
Name *string `json:"name,omitempty"`
// The version of the dashboard.
Version *int32 `json:"version,omitempty"`
}
A list of the mutable dashboard fields.
type DashboardPatch ¶
type DashboardPatch struct {
// The JSON dashboard definition.
Definition *string `json:"definition,omitempty"`
// Whether the dashboard is active or not.
Isactive *bool `json:"isactive,omitempty"`
// The module that contains the dashboard.
Module *string `json:"module,omitempty"`
// The dashboard name. Dashboard names must be unique within each tenant.
Name *string `json:"name,omitempty"`
// The version of the dashboard.
Version *int32 `json:"version,omitempty"`
}
Values for updating a dashboard using a PATCH request.
type DashboardPost ¶
type DashboardPost struct {
// The JSON dashboard definition.
Definition string `json:"definition"`
// The module that contains the dashboard.
Module string `json:"module"`
// The dashboard name. Dashboard names must be unique within each tenant.
Name string `json:"name"`
// A unique dashboard ID. Random ID used if not provided.
Id *string `json:"id,omitempty"`
// Whether the dashboard is active or not.
Isactive *bool `json:"isactive,omitempty"`
// The version of the dashboard.
Version *int32 `json:"version,omitempty"`
}
Initial values for creating a new dashboard using a POST request.
type Dataset ¶
type Dataset struct {
// contains filtered or unexported fields
}
Dataset : A complete dataset as rendered in POST, PATCH, and GET responses.
func MakeDatasetFromImportDataset ¶
func MakeDatasetFromImportDataset(f ImportDataset) Dataset
MakeDatasetFromImportDataset creates a new Dataset from an instance of ImportDataset
func MakeDatasetFromIndexDataset ¶
func MakeDatasetFromIndexDataset(f IndexDataset) Dataset
MakeDatasetFromIndexDataset creates a new Dataset from an instance of IndexDataset
func MakeDatasetFromJobDataset ¶
func MakeDatasetFromJobDataset(f JobDataset) Dataset
MakeDatasetFromJobDataset creates a new Dataset from an instance of JobDataset
func MakeDatasetFromKvCollectionDataset ¶
func MakeDatasetFromKvCollectionDataset(f KvCollectionDataset) Dataset
MakeDatasetFromKvCollectionDataset creates a new Dataset from an instance of KvCollectionDataset
func MakeDatasetFromLookupDataset ¶
func MakeDatasetFromLookupDataset(f LookupDataset) Dataset
MakeDatasetFromLookupDataset creates a new Dataset from an instance of LookupDataset
func MakeDatasetFromMetricDataset ¶
func MakeDatasetFromMetricDataset(f MetricDataset) Dataset
MakeDatasetFromMetricDataset creates a new Dataset from an instance of MetricDataset
func MakeDatasetFromRawInterface ¶
func MakeDatasetFromRawInterface(f interface{}) Dataset
MakeDatasetFromRawInterface creates a new Dataset from a raw interface{}
func MakeDatasetFromViewDataset ¶
func MakeDatasetFromViewDataset(f ViewDataset) Dataset
MakeDatasetFromViewDataset creates a new Dataset from an instance of ViewDataset
func (Dataset) ImportDataset ¶
func (m Dataset) ImportDataset() *ImportDataset
ImportDataset returns ImportDataset if IsImportDataset() is true, nil otherwise
func (Dataset) IndexDataset ¶
func (m Dataset) IndexDataset() *IndexDataset
IndexDataset returns IndexDataset if IsIndexDataset() is true, nil otherwise
func (Dataset) IsImportDataset ¶
IsImportDataset checks if the Dataset is a ImportDataset
func (Dataset) IsIndexDataset ¶
IsIndexDataset checks if the Dataset is a IndexDataset
func (Dataset) IsJobDataset ¶
IsJobDataset checks if the Dataset is a JobDataset
func (Dataset) IsKvCollectionDataset ¶
IsKvCollectionDataset checks if the Dataset is a KvCollectionDataset
func (Dataset) IsLookupDataset ¶
IsLookupDataset checks if the Dataset is a LookupDataset
func (Dataset) IsMetricDataset ¶
IsMetricDataset checks if the Dataset is a MetricDataset
func (Dataset) IsRawInterface ¶
IsRawInterface checks if the Dataset is an interface{} (unknown type)
func (Dataset) IsViewDataset ¶
IsViewDataset checks if the Dataset is a ViewDataset
func (Dataset) JobDataset ¶
func (m Dataset) JobDataset() *JobDataset
JobDataset returns JobDataset if IsJobDataset() is true, nil otherwise
func (Dataset) KvCollectionDataset ¶
func (m Dataset) KvCollectionDataset() *KvCollectionDataset
KvCollectionDataset returns KvCollectionDataset if IsKvCollectionDataset() is true, nil otherwise
func (Dataset) LookupDataset ¶
func (m Dataset) LookupDataset() *LookupDataset
LookupDataset returns LookupDataset if IsLookupDataset() is true, nil otherwise
func (Dataset) MarshalJSON ¶
MarshalJSON marshals Dataset using the appropriate struct field
func (Dataset) MetricDataset ¶
func (m Dataset) MetricDataset() *MetricDataset
MetricDataset returns MetricDataset if IsMetricDataset() is true, nil otherwise
func (Dataset) RawInterface ¶
func (m Dataset) RawInterface() interface{}
RawInterface returns interface{} if IsRawInterface() is true (unknown type), nil otherwise
func (*Dataset) UnmarshalJSON ¶
UnmarshalJSON unmarshals Dataset using the "kind" property
func (Dataset) ViewDataset ¶
func (m Dataset) ViewDataset() *ViewDataset
ViewDataset returns ViewDataset if IsViewDataset() is true, nil otherwise
type DatasetCommon ¶
type DatasetCommon struct {
// A unique dataset ID.
Id string `json:"id"`
// The name of the module that contains the dataset.
Module string `json:"module"`
// The dataset name. Dataset names must be unique within each module.
Name string `json:"name"`
// The dataset name qualified by the module name.
Resourcename string `json:"resourcename"`
// Detailed description of the dataset.
Description *string `json:"description,omitempty"`
// Summary of the dataset's purpose.
Summary *string `json:"summary,omitempty"`
// The title of the dataset. Does not have to be unique.
Title *string `json:"title,omitempty"`
// The catalog version.
Version *int32 `json:"version,omitempty"`
}
Properties that are common across all Dataset kinds rendered in POST, PATCH, and GET responses.
type DatasetImportedBy ¶
type DatasetPatch ¶
type DatasetPatch struct {
// contains filtered or unexported fields
}
DatasetPatch : Property values to be set in an existing dataset using a PATCH request. DatasetPatch is ImportDatasetPatch, IndexDatasetPatch, JobDatasetPatch, KvCollectionDatasetPatch, LookupDatasetPatch, MetricDatasetPatch, ViewDatasetPatch, (or interface{} if no matches are found)
func MakeDatasetPatchFromImportDatasetPatch ¶
func MakeDatasetPatchFromImportDatasetPatch(f ImportDatasetPatch) DatasetPatch
MakeDatasetPatchFromImportDatasetPatch creates a new DatasetPatch from an instance of ImportDatasetPatch
func MakeDatasetPatchFromIndexDatasetPatch ¶
func MakeDatasetPatchFromIndexDatasetPatch(f IndexDatasetPatch) DatasetPatch
MakeDatasetPatchFromIndexDatasetPatch creates a new DatasetPatch from an instance of IndexDatasetPatch
func MakeDatasetPatchFromJobDatasetPatch ¶
func MakeDatasetPatchFromJobDatasetPatch(f JobDatasetPatch) DatasetPatch
MakeDatasetPatchFromJobDatasetPatch creates a new DatasetPatch from an instance of JobDatasetPatch
func MakeDatasetPatchFromKvCollectionDatasetPatch ¶
func MakeDatasetPatchFromKvCollectionDatasetPatch(f KvCollectionDatasetPatch) DatasetPatch
MakeDatasetPatchFromKvCollectionDatasetPatch creates a new DatasetPatch from an instance of KvCollectionDatasetPatch
func MakeDatasetPatchFromLookupDatasetPatch ¶
func MakeDatasetPatchFromLookupDatasetPatch(f LookupDatasetPatch) DatasetPatch
MakeDatasetPatchFromLookupDatasetPatch creates a new DatasetPatch from an instance of LookupDatasetPatch
func MakeDatasetPatchFromMetricDatasetPatch ¶
func MakeDatasetPatchFromMetricDatasetPatch(f MetricDatasetPatch) DatasetPatch
MakeDatasetPatchFromMetricDatasetPatch creates a new DatasetPatch from an instance of MetricDatasetPatch
func MakeDatasetPatchFromRawInterface ¶
func MakeDatasetPatchFromRawInterface(f interface{}) DatasetPatch
MakeDatasetPatchFromRawInterface creates a new DatasetPatch from a raw interface{}
func MakeDatasetPatchFromViewDatasetPatch ¶
func MakeDatasetPatchFromViewDatasetPatch(f ViewDatasetPatch) DatasetPatch
MakeDatasetPatchFromViewDatasetPatch creates a new DatasetPatch from an instance of ViewDatasetPatch
func (DatasetPatch) ImportDatasetPatch ¶
func (m DatasetPatch) ImportDatasetPatch() *ImportDatasetPatch
ImportDatasetPatch returns ImportDatasetPatch if IsImportDatasetPatch() is true, nil otherwise
func (DatasetPatch) IndexDatasetPatch ¶
func (m DatasetPatch) IndexDatasetPatch() *IndexDatasetPatch
IndexDatasetPatch returns IndexDatasetPatch if IsIndexDatasetPatch() is true, nil otherwise
func (DatasetPatch) IsImportDatasetPatch ¶
func (m DatasetPatch) IsImportDatasetPatch() bool
IsImportDatasetPatch checks if the DatasetPatch is a ImportDatasetPatch
func (DatasetPatch) IsIndexDatasetPatch ¶
func (m DatasetPatch) IsIndexDatasetPatch() bool
IsIndexDatasetPatch checks if the DatasetPatch is a IndexDatasetPatch
func (DatasetPatch) IsJobDatasetPatch ¶
func (m DatasetPatch) IsJobDatasetPatch() bool
IsJobDatasetPatch checks if the DatasetPatch is a JobDatasetPatch
func (DatasetPatch) IsKvCollectionDatasetPatch ¶
func (m DatasetPatch) IsKvCollectionDatasetPatch() bool
IsKvCollectionDatasetPatch checks if the DatasetPatch is a KvCollectionDatasetPatch
func (DatasetPatch) IsLookupDatasetPatch ¶
func (m DatasetPatch) IsLookupDatasetPatch() bool
IsLookupDatasetPatch checks if the DatasetPatch is a LookupDatasetPatch
func (DatasetPatch) IsMetricDatasetPatch ¶
func (m DatasetPatch) IsMetricDatasetPatch() bool
IsMetricDatasetPatch checks if the DatasetPatch is a MetricDatasetPatch
func (DatasetPatch) IsRawInterface ¶
func (m DatasetPatch) IsRawInterface() bool
IsRawInterface checks if the DatasetPatch is an interface{} (unknown type)
func (DatasetPatch) IsViewDatasetPatch ¶
func (m DatasetPatch) IsViewDatasetPatch() bool
IsViewDatasetPatch checks if the DatasetPatch is a ViewDatasetPatch
func (DatasetPatch) JobDatasetPatch ¶
func (m DatasetPatch) JobDatasetPatch() *JobDatasetPatch
JobDatasetPatch returns JobDatasetPatch if IsJobDatasetPatch() is true, nil otherwise
func (DatasetPatch) KvCollectionDatasetPatch ¶
func (m DatasetPatch) KvCollectionDatasetPatch() *KvCollectionDatasetPatch
KvCollectionDatasetPatch returns KvCollectionDatasetPatch if IsKvCollectionDatasetPatch() is true, nil otherwise
func (DatasetPatch) LookupDatasetPatch ¶
func (m DatasetPatch) LookupDatasetPatch() *LookupDatasetPatch
LookupDatasetPatch returns LookupDatasetPatch if IsLookupDatasetPatch() is true, nil otherwise
func (DatasetPatch) MarshalJSON ¶
func (m DatasetPatch) MarshalJSON() ([]byte, error)
MarshalJSON marshals DatasetPatch using DatasetPatch.DatasetPatch
func (DatasetPatch) MetricDatasetPatch ¶
func (m DatasetPatch) MetricDatasetPatch() *MetricDatasetPatch
MetricDatasetPatch returns MetricDatasetPatch if IsMetricDatasetPatch() is true, nil otherwise
func (DatasetPatch) RawInterface ¶
func (m DatasetPatch) RawInterface() interface{}
RawInterface returns interface{} if IsRawInterface() is true (unknown type), nil otherwise
func (*DatasetPatch) UnmarshalJSON ¶
func (m *DatasetPatch) UnmarshalJSON(b []byte) (err error)
UnmarshalJSON unmarshals DatasetPatch into ImportDatasetPatch, IndexDatasetPatch, JobDatasetPatch, KvCollectionDatasetPatch, LookupDatasetPatch, MetricDatasetPatch, ViewDatasetPatch, or interface{} if no matches are found
func (DatasetPatch) ViewDatasetPatch ¶
func (m DatasetPatch) ViewDatasetPatch() *ViewDatasetPatch
ViewDatasetPatch returns ViewDatasetPatch if IsViewDatasetPatch() is true, nil otherwise
type DatasetPatchCommon ¶
type DatasetPatchCommon struct {
// The name of module to reassign dataset into.
Module *string `json:"module,omitempty"`
// The dataset name. Dataset names must be unique within each module.
Name *string `json:"name,omitempty"`
// The name of the dataset owner. This value is obtained from the bearer token.
Owner *string `json:"owner,omitempty"`
}
Properties that are common across all Dataset kinds to be set in an existing dataset using a PATCH request.
type DatasetPost ¶
type DatasetPost struct {
// contains filtered or unexported fields
}
DatasetPost : Initial property values for creating a new action using a POST request.
func MakeDatasetPostFromImportDatasetPost ¶
func MakeDatasetPostFromImportDatasetPost(f ImportDatasetPost) DatasetPost
MakeDatasetPostFromImportDatasetPost creates a new DatasetPost from an instance of ImportDatasetPost
func MakeDatasetPostFromIndexDatasetPost ¶
func MakeDatasetPostFromIndexDatasetPost(f IndexDatasetPost) DatasetPost
MakeDatasetPostFromIndexDatasetPost creates a new DatasetPost from an instance of IndexDatasetPost
func MakeDatasetPostFromJobDatasetPost ¶
func MakeDatasetPostFromJobDatasetPost(f JobDatasetPost) DatasetPost
MakeDatasetPostFromJobDatasetPost creates a new DatasetPost from an instance of JobDatasetPost
func MakeDatasetPostFromKvCollectionDatasetPost ¶
func MakeDatasetPostFromKvCollectionDatasetPost(f KvCollectionDatasetPost) DatasetPost
MakeDatasetPostFromKvCollectionDatasetPost creates a new DatasetPost from an instance of KvCollectionDatasetPost
func MakeDatasetPostFromLookupDatasetPost ¶
func MakeDatasetPostFromLookupDatasetPost(f LookupDatasetPost) DatasetPost
MakeDatasetPostFromLookupDatasetPost creates a new DatasetPost from an instance of LookupDatasetPost
func MakeDatasetPostFromMetricDatasetPost ¶
func MakeDatasetPostFromMetricDatasetPost(f MetricDatasetPost) DatasetPost
MakeDatasetPostFromMetricDatasetPost creates a new DatasetPost from an instance of MetricDatasetPost
func MakeDatasetPostFromRawInterface ¶
func MakeDatasetPostFromRawInterface(f interface{}) DatasetPost
MakeDatasetPostFromRawInterface creates a new DatasetPost from a raw interface{}
func MakeDatasetPostFromViewDatasetPost ¶
func MakeDatasetPostFromViewDatasetPost(f ViewDatasetPost) DatasetPost
MakeDatasetPostFromViewDatasetPost creates a new DatasetPost from an instance of ViewDatasetPost
func (DatasetPost) ImportDatasetPost ¶
func (m DatasetPost) ImportDatasetPost() *ImportDatasetPost
ImportDatasetPost returns ImportDatasetPost if IsImportDatasetPost() is true, nil otherwise
func (DatasetPost) IndexDatasetPost ¶
func (m DatasetPost) IndexDatasetPost() *IndexDatasetPost
IndexDatasetPost returns IndexDatasetPost if IsIndexDatasetPost() is true, nil otherwise
func (DatasetPost) IsImportDatasetPost ¶
func (m DatasetPost) IsImportDatasetPost() bool
IsImportDatasetPost checks if the DatasetPost is a ImportDatasetPost
func (DatasetPost) IsIndexDatasetPost ¶
func (m DatasetPost) IsIndexDatasetPost() bool
IsIndexDatasetPost checks if the DatasetPost is a IndexDatasetPost
func (DatasetPost) IsJobDatasetPost ¶
func (m DatasetPost) IsJobDatasetPost() bool
IsJobDatasetPost checks if the DatasetPost is a JobDatasetPost
func (DatasetPost) IsKvCollectionDatasetPost ¶
func (m DatasetPost) IsKvCollectionDatasetPost() bool
IsKvCollectionDatasetPost checks if the DatasetPost is a KvCollectionDatasetPost
func (DatasetPost) IsLookupDatasetPost ¶
func (m DatasetPost) IsLookupDatasetPost() bool
IsLookupDatasetPost checks if the DatasetPost is a LookupDatasetPost
func (DatasetPost) IsMetricDatasetPost ¶
func (m DatasetPost) IsMetricDatasetPost() bool
IsMetricDatasetPost checks if the DatasetPost is a MetricDatasetPost
func (DatasetPost) IsRawInterface ¶
func (m DatasetPost) IsRawInterface() bool
IsRawInterface checks if the DatasetPost is an interface{} (unknown type)
func (DatasetPost) IsViewDatasetPost ¶
func (m DatasetPost) IsViewDatasetPost() bool
IsViewDatasetPost checks if the DatasetPost is a ViewDatasetPost
func (DatasetPost) JobDatasetPost ¶
func (m DatasetPost) JobDatasetPost() *JobDatasetPost
JobDatasetPost returns JobDatasetPost if IsJobDatasetPost() is true, nil otherwise
func (DatasetPost) KvCollectionDatasetPost ¶
func (m DatasetPost) KvCollectionDatasetPost() *KvCollectionDatasetPost
KvCollectionDatasetPost returns KvCollectionDatasetPost if IsKvCollectionDatasetPost() is true, nil otherwise
func (DatasetPost) LookupDatasetPost ¶
func (m DatasetPost) LookupDatasetPost() *LookupDatasetPost
LookupDatasetPost returns LookupDatasetPost if IsLookupDatasetPost() is true, nil otherwise
func (DatasetPost) MarshalJSON ¶
func (m DatasetPost) MarshalJSON() ([]byte, error)
MarshalJSON marshals DatasetPost using the appropriate struct field
func (DatasetPost) MetricDatasetPost ¶
func (m DatasetPost) MetricDatasetPost() *MetricDatasetPost
MetricDatasetPost returns MetricDatasetPost if IsMetricDatasetPost() is true, nil otherwise
func (DatasetPost) RawInterface ¶
func (m DatasetPost) RawInterface() interface{}
RawInterface returns interface{} if IsRawInterface() is true (unknown type), nil otherwise
func (*DatasetPost) UnmarshalJSON ¶
func (m *DatasetPost) UnmarshalJSON(b []byte) (err error)
UnmarshalJSON unmarshals DatasetPost using the "kind" property
func (DatasetPost) ViewDatasetPost ¶
func (m DatasetPost) ViewDatasetPost() *ViewDatasetPost
ViewDatasetPost returns ViewDatasetPost if IsViewDatasetPost() is true, nil otherwise
type DatasetPostCommon ¶
type DatasetPostCommon struct {
// The dataset name. Dataset names must be unique within each module.
Name string `json:"name"`
// The fields to be associated with this dataset.
Fields []FieldPost `json:"fields,omitempty"`
// A unique dataset ID. Random ID used if not provided.
Id *string `json:"id,omitempty"`
// The name of the module to create the new dataset in.
Module *string `json:"module,omitempty"`
}
Properties that are common across all Dataset kinds for creating a new dataset using a POST request.
type DateMetadataProperties ¶
type DateMetadataProperties struct {
// The date and time object was created.
Created string `json:"created"`
// The date and time object was modified.
Modified string `json:"modified"`
}
Created and Modified date-time properties for inclusion in other objects.
type EvalAction ¶
type EvalAction struct {
// The date and time object was created.
Created string `json:"created"`
// The name of the user who created the object. This value is obtained from the bearer token and may not be changed.
Createdby string `json:"createdby"`
// The EVAL expression that calculates the field.
Expression string `json:"expression"`
// The name of the field that is added or modified by the EVAL expression.
Field string `json:"field"`
// A unique action ID.
Id string `json:"id"`
Kind EvalActionKind `json:"kind"`
// The date and time object was modified.
Modified string `json:"modified"`
// The name of the user who most recently modified the object.
Modifiedby string `json:"modifiedby"`
// The name of the object's owner.
Owner string `json:"owner"`
// The rule that this action is part of.
Ruleid string `json:"ruleid"`
// The catalog version.
Version *int32 `json:"version,omitempty"`
}
A complete eval action as rendered in POST, PATCH, and GET responses.
type EvalActionKind ¶
type EvalActionKind string
EvalActionKind : The eval action kind.
const (
EvalActionKindEval EvalActionKind = "EVAL"
)
List of EvalActionKind
type EvalActionPatch ¶
type EvalActionPatch struct {
// The EVAL expression that calculates the field.
Expression *string `json:"expression,omitempty"`
// The name of the field that is added or modified by the EVAL expression.
Field *string `json:"field,omitempty"`
Kind *EvalActionKind `json:"kind,omitempty"`
// The name of the user who owns this action. This value is obtained from the bearer token if not present.
Owner *string `json:"owner,omitempty"`
// The catalog version.
Version *int32 `json:"version,omitempty"`
}
Property values for setting existing eval actions using a PATCH request.
type EvalActionPost ¶
type EvalActionPost struct {
// The EVAL expression that calculates the field.
Expression string `json:"expression"`
// The name of the field that is added or modified by the EVAL expression.
Field string `json:"field"`
Kind EvalActionKind `json:"kind"`
// A unique action ID.
Id *string `json:"id,omitempty"`
// The rule that this action is part of.
Ruleid *string `json:"ruleid,omitempty"`
// The catalog version.
Version *int32 `json:"version,omitempty"`
}
Initial property values for creating a new eval action using a POST request.
type EvalActionProperties ¶
type EvalActionProperties struct {
// The EVAL expression that calculates the field.
Expression *string `json:"expression,omitempty"`
// The name of the field that is added or modified by the EVAL expression.
Field *string `json:"field,omitempty"`
Kind *EvalActionKind `json:"kind,omitempty"`
}
Properties of eval actions which may be read, set, and changed through the API. Implementation detail of ActionPOST, ActionPOST, and Action, do not use directly.
type Field ¶
type Field struct {
// The date and time object was created.
Created string `json:"created"`
// The dataset that the field is part of.
Datasetid string `json:"datasetid"`
Datatype FieldDataType `json:"datatype"`
Fieldtype FieldType `json:"fieldtype"`
// The unique ID of this field.
Id string `json:"id"`
// The date and time object was modified.
Modified string `json:"modified"`
// The field name.
Name string `json:"name"`
Prevalence FieldPrevalence `json:"prevalence"`
// The field description.
Description *string `json:"description,omitempty"`
// Whether or not the field has been indexed.
Indexed *bool `json:"indexed,omitempty"`
// The field summary.
Summary *string `json:"summary,omitempty"`
// The field title.
Title *string `json:"title,omitempty"`
}
A complete field as rendered in POST, PATCH, and GET responses.
type FieldDataType ¶
type FieldDataType string
FieldDataType : The type of data in the field. Must be one of the valid values.
const ( FieldDataTypeDate FieldDataType = "DATE" FieldDataTypeNumber FieldDataType = "NUMBER" FieldDataTypeObjectId FieldDataType = "OBJECT_ID" FieldDataTypeString FieldDataType = "STRING" FieldDataTypeUnknown FieldDataType = "UNKNOWN" )
List of FieldDataType
type FieldPatch ¶
type FieldPatch struct {
Datatype *FieldDataType `json:"datatype,omitempty"`
// The field description.
Description *string `json:"description,omitempty"`
Fieldtype *FieldType `json:"fieldtype,omitempty"`
// Whether or not the field has been indexed.
Indexed *bool `json:"indexed,omitempty"`
// The field name.
Name *string `json:"name,omitempty"`
Prevalence *FieldPrevalence `json:"prevalence,omitempty"`
// The field summary.
Summary *string `json:"summary,omitempty"`
// The field title.
Title *string `json:"title,omitempty"`
}
Property values to be set in an existing field using a PATCH request.
type FieldPost ¶
type FieldPost struct {
// The field name.
Name string `json:"name"`
Datatype *FieldDataType `json:"datatype,omitempty"`
// The field description.
Description *string `json:"description,omitempty"`
Fieldtype *FieldType `json:"fieldtype,omitempty"`
// Whether or not the field has been indexed.
Indexed *bool `json:"indexed,omitempty"`
Prevalence *FieldPrevalence `json:"prevalence,omitempty"`
// The field summary.
Summary *string `json:"summary,omitempty"`
// The field title.
Title *string `json:"title,omitempty"`
}
Initial property values for creating a new field using a POST request.
type FieldPrevalence ¶
type FieldPrevalence string
FieldPrevalence : How frequent the field appears in the dataset. Must be one of the valid values.
const ( FieldPrevalenceAll FieldPrevalence = "ALL" FieldPrevalenceSome FieldPrevalence = "SOME" FieldPrevalenceUnknown FieldPrevalence = "UNKNOWN" )
List of FieldPrevalence
type FieldProperties ¶
type FieldProperties struct {
Datatype *FieldDataType `json:"datatype,omitempty"`
// The field description.
Description *string `json:"description,omitempty"`
Fieldtype *FieldType `json:"fieldtype,omitempty"`
// Whether or not the field has been indexed.
Indexed *bool `json:"indexed,omitempty"`
// The field name.
Name *string `json:"name,omitempty"`
Prevalence *FieldPrevalence `json:"prevalence,omitempty"`
// The field summary.
Summary *string `json:"summary,omitempty"`
// The field title.
Title *string `json:"title,omitempty"`
}
Properties of fields which can be read, set, and changed through the API. Implementation detail of FieldPOST, FieldPATCH, and Field, do not use directly.
type FieldType ¶
type FieldType string
FieldType : The type of field. Must be one of the valid values.
type ImportDataset ¶
type ImportDataset struct {
// The date and time object was created.
Created string `json:"created"`
// The name of the user who created the object. This value is obtained from the bearer token and may not be changed.
Createdby string `json:"createdby"`
// A unique dataset ID.
Id string `json:"id"`
Kind ImportDatasetKind `json:"kind"`
// The date and time object was modified.
Modified string `json:"modified"`
// The name of the user who most recently modified the object.
Modifiedby string `json:"modifiedby"`
// The name of the module that contains the dataset.
Module string `json:"module"`
// The dataset name. Dataset names must be unique within each module.
Name string `json:"name"`
// The name of the object's owner.
Owner string `json:"owner"`
// The dataset name qualified by the module name.
Resourcename string `json:"resourcename"`
// The dataset module being imported.
SourceModule string `json:"sourceModule"`
// The dataset name being imported.
SourceName string `json:"sourceName"`
// Detailed description of the dataset.
Description *string `json:"description,omitempty"`
// Summary of the dataset's purpose.
Summary *string `json:"summary,omitempty"`
// The title of the dataset. Does not have to be unique.
Title *string `json:"title,omitempty"`
// The catalog version.
Version *int32 `json:"version,omitempty"`
}
A complete import dataset as rendered in POST, PATCH, and GET responses.
type ImportDatasetByIdPost ¶
type ImportDatasetByIdPost struct {
Kind ImportDatasetKind `json:"kind"`
// The dataset name. Dataset names must be unique within each module.
Name string `json:"name"`
// The dataset ID being imported.
SourceId string `json:"sourceId"`
// The fields to be associated with this dataset.
Fields []FieldPost `json:"fields,omitempty"`
// A unique dataset ID. Random ID used if not provided.
Id *string `json:"id,omitempty"`
// The name of the module to create the new dataset in.
Module *string `json:"module,omitempty"`
}
Initial property values for creating a new import dataset by sourceId using a POST request.
type ImportDatasetByIdProperties ¶
type ImportDatasetByIdProperties struct {
Kind *ImportDatasetKind `json:"kind,omitempty"`
// The dataset ID being imported.
SourceId *string `json:"sourceId,omitempty"`
}
Initial property values for creating a new import dataset by sourceId using a POST request.
type ImportDatasetByNamePost ¶
type ImportDatasetByNamePost struct {
Kind ImportDatasetKind `json:"kind"`
// The dataset name. Dataset names must be unique within each module.
Name string `json:"name"`
// The dataset module being imported.
SourceModule string `json:"sourceModule"`
// The dataset name being imported.
SourceName string `json:"sourceName"`
// The fields to be associated with this dataset.
Fields []FieldPost `json:"fields,omitempty"`
// A unique dataset ID. Random ID used if not provided.
Id *string `json:"id,omitempty"`
// The name of the module to create the new dataset in.
Module *string `json:"module,omitempty"`
}
Initial property values for creating a new import dataset by sourceName and sourceModule using a POST request.
type ImportDatasetByNameProperties ¶
type ImportDatasetByNameProperties struct {
Kind *ImportDatasetKind `json:"kind,omitempty"`
// The dataset module being imported.
SourceModule *string `json:"sourceModule,omitempty"`
// The dataset name being imported.
SourceName *string `json:"sourceName,omitempty"`
}
Properties of import datasets which may be read, set, and changed through the API. Implementation detail of DatasetPOST, DatasetPATCH, and Dataset, do not use directly.
type ImportDatasetKind ¶
type ImportDatasetKind string
ImportDatasetKind : The dataset kind.
const (
ImportDatasetKindModelImport ImportDatasetKind = "import"
)
List of ImportDatasetKind
type ImportDatasetPatch ¶
type ImportDatasetPatch struct {
// The name of module to reassign dataset into.
Module *string `json:"module,omitempty"`
// The dataset name. Dataset names must be unique within each module.
Name *string `json:"name,omitempty"`
// The name of the dataset owner. This value is obtained from the bearer token.
Owner *string `json:"owner,omitempty"`
}
Property values to be set in an existing import dataset using a PATCH request.
type ImportDatasetPost ¶
type ImportDatasetPost struct {
// contains filtered or unexported fields
}
ImportDatasetPost : Initial property values for creating a new import dataset using a POST request. ImportDatasetPost is ImportDatasetByIdPost, ImportDatasetByNamePost, (or interface{} if no matches are found)
func MakeImportDatasetPostFromImportDatasetByIdPost ¶
func MakeImportDatasetPostFromImportDatasetByIdPost(f ImportDatasetByIdPost) ImportDatasetPost
MakeImportDatasetPostFromImportDatasetByIdPost creates a new ImportDatasetPost from an instance of ImportDatasetByIdPost
func MakeImportDatasetPostFromImportDatasetByNamePost ¶
func MakeImportDatasetPostFromImportDatasetByNamePost(f ImportDatasetByNamePost) ImportDatasetPost
MakeImportDatasetPostFromImportDatasetByNamePost creates a new ImportDatasetPost from an instance of ImportDatasetByNamePost
func MakeImportDatasetPostFromRawInterface ¶
func MakeImportDatasetPostFromRawInterface(f interface{}) ImportDatasetPost
MakeImportDatasetPostFromRawInterface creates a new ImportDatasetPost from a raw interface{}
func (ImportDatasetPost) ImportDatasetByIdPost ¶
func (m ImportDatasetPost) ImportDatasetByIdPost() *ImportDatasetByIdPost
ImportDatasetByIdPost returns ImportDatasetByIdPost if IsImportDatasetByIdPost() is true, nil otherwise
func (ImportDatasetPost) ImportDatasetByNamePost ¶
func (m ImportDatasetPost) ImportDatasetByNamePost() *ImportDatasetByNamePost
ImportDatasetByNamePost returns ImportDatasetByNamePost if IsImportDatasetByNamePost() is true, nil otherwise
func (ImportDatasetPost) IsImportDatasetByIdPost ¶
func (m ImportDatasetPost) IsImportDatasetByIdPost() bool
IsImportDatasetByIdPost checks if the ImportDatasetPost is a ImportDatasetByIdPost
func (ImportDatasetPost) IsImportDatasetByNamePost ¶
func (m ImportDatasetPost) IsImportDatasetByNamePost() bool
IsImportDatasetByNamePost checks if the ImportDatasetPost is a ImportDatasetByNamePost
func (ImportDatasetPost) IsRawInterface ¶
func (m ImportDatasetPost) IsRawInterface() bool
IsRawInterface checks if the ImportDatasetPost is an interface{} (unknown type)
func (ImportDatasetPost) MarshalJSON ¶
func (m ImportDatasetPost) MarshalJSON() ([]byte, error)
MarshalJSON marshals ImportDatasetPost using ImportDatasetPost.ImportDatasetPost
func (ImportDatasetPost) RawInterface ¶
func (m ImportDatasetPost) RawInterface() interface{}
RawInterface returns interface{} if IsRawInterface() is true (unknown type), nil otherwise
func (*ImportDatasetPost) UnmarshalJSON ¶
func (m *ImportDatasetPost) UnmarshalJSON(b []byte) (err error)
UnmarshalJSON unmarshals ImportDatasetPost into ImportDatasetByIdPost, ImportDatasetByNamePost, or interface{} if no matches are found
type IndexDataset ¶
type IndexDataset struct {
// The date and time object was created.
Created string `json:"created"`
// The name of the user who created the object. This value is obtained from the bearer token and may not be changed.
Createdby string `json:"createdby"`
// Specifies whether or not the Splunk index is disabled.
Disabled bool `json:"disabled"`
// A unique dataset ID.
Id string `json:"id"`
Kind IndexDatasetKind `json:"kind"`
// The date and time object was modified.
Modified string `json:"modified"`
// The name of the user who most recently modified the object.
Modifiedby string `json:"modifiedby"`
// The name of the module that contains the dataset.
Module string `json:"module"`
// The dataset name. Dataset names must be unique within each module.
Name string `json:"name"`
// The name of the object's owner.
Owner string `json:"owner"`
// The dataset name qualified by the module name.
Resourcename string `json:"resourcename"`
// Detailed description of the dataset.
Description *string `json:"description,omitempty"`
// The frozenTimePeriodInSecs to use for the index
FrozenTimePeriodInSecs *int32 `json:"frozenTimePeriodInSecs,omitempty"`
// Summary of the dataset's purpose.
Summary *string `json:"summary,omitempty"`
// The title of the dataset. Does not have to be unique.
Title *string `json:"title,omitempty"`
// The catalog version.
Version *int32 `json:"version,omitempty"`
}
A complete index dataset as rendered in POST, PATCH, and GET responses.
type IndexDatasetKind ¶
type IndexDatasetKind string
IndexDatasetKind : The dataset kind.
const (
IndexDatasetKindIndex IndexDatasetKind = "index"
)
List of IndexDatasetKind
type IndexDatasetPatch ¶
type IndexDatasetPatch struct {
// Specifies whether or not the Splunk index is disabled.
Disabled *bool `json:"disabled,omitempty"`
// The frozenTimePeriodInSecs to use for the index
FrozenTimePeriodInSecs *int32 `json:"frozenTimePeriodInSecs,omitempty"`
Kind *IndexDatasetKind `json:"kind,omitempty"`
// The name of module to reassign dataset into.
Module *string `json:"module,omitempty"`
// The dataset name. Dataset names must be unique within each module.
Name *string `json:"name,omitempty"`
// The name of the dataset owner. This value is obtained from the bearer token.
Owner *string `json:"owner,omitempty"`
}
Property values to be set in an existing index dataset using a PATCH request.
type IndexDatasetPost ¶
type IndexDatasetPost struct {
// Specifies whether or not the Splunk index is disabled.
Disabled bool `json:"disabled"`
Kind IndexDatasetKind `json:"kind"`
// The dataset name. Dataset names must be unique within each module.
Name string `json:"name"`
// The fields to be associated with this dataset.
Fields []FieldPost `json:"fields,omitempty"`
// The frozenTimePeriodInSecs to use for the index
FrozenTimePeriodInSecs *int32 `json:"frozenTimePeriodInSecs,omitempty"`
// A unique dataset ID. Random ID used if not provided.
Id *string `json:"id,omitempty"`
// The name of the module to create the new dataset in.
Module *string `json:"module,omitempty"`
}
Initial property values for creating a new index dataset using a POST request.
type IndexDatasetProperties ¶
type IndexDatasetProperties struct {
// Specifies whether or not the Splunk index is disabled.
Disabled *bool `json:"disabled,omitempty"`
// The frozenTimePeriodInSecs to use for the index
FrozenTimePeriodInSecs *int32 `json:"frozenTimePeriodInSecs,omitempty"`
Kind *IndexDatasetKind `json:"kind,omitempty"`
}
Properties of job datasets which may be read, set, and changed through the API. Implementation detail of DatasetPOST, DatasetPATCH, and Dataset, do not use directly.
type JobDataset ¶
type JobDataset struct {
// Time that the job was completed
CompletionTime string `json:"completionTime"`
// The date and time object was created.
Created string `json:"created"`
// The name of the user who created the object. This value is obtained from the bearer token and may not be changed.
Createdby string `json:"createdby"`
// The time the dataset will be available in S3.
DeleteTime string `json:"deleteTime"`
// Time that the job was dispatched
DispatchTime string `json:"dispatchTime"`
// A unique dataset ID.
Id string `json:"id"`
Kind JobDatasetKind `json:"kind"`
// The date and time object was modified.
Modified string `json:"modified"`
// The name of the user who most recently modified the object.
Modifiedby string `json:"modifiedby"`
// The name of the module that contains the dataset.
Module string `json:"module"`
// The dataset name. Dataset names must be unique within each module.
Name string `json:"name"`
// The name of the object's owner.
Owner string `json:"owner"`
// Parameters for the search job, mainly earliest, latest, timezone, and relativeTimeAnchor.
Parameters map[string]interface{} `json:"parameters"`
// The SPL query string for the search job.
Query string `json:"query"`
// Resolved earliest time for the job
ResolvedEarliest string `json:"resolvedEarliest"`
// Resolved latest time for the job
ResolvedLatest string `json:"resolvedLatest"`
// The dataset name qualified by the module name.
Resourcename string `json:"resourcename"`
// The ID assigned to the search job.
Sid string `json:"sid"`
// Was the event summary requested for this searhc job?
CollectEventSummary *bool `json:"collectEventSummary,omitempty"`
// Was the field summary requested for this searhc job?
CollectFieldSummary *bool `json:"collectFieldSummary,omitempty"`
// Were the time bucketes requested for this searhc job?
CollectTimeBuckets *bool `json:"collectTimeBuckets,omitempty"`
// Detailed description of the dataset.
Description *string `json:"description,omitempty"`
// The runtime of the search in seconds.
ExecutionTime *float32 `json:"executionTime,omitempty"`
// Should the search produce all fields (including those not explicity mentioned in the SPL)?
ExtractAllFields *bool `json:"extractAllFields,omitempty"`
// Did the SPL query cause any side effects on a dataset?
HasSideEffects *bool `json:"hasSideEffects,omitempty"`
// The maximum number of seconds to run this search before finishing.
MaxTime *int32 `json:"maxTime,omitempty"`
// An estimate of how complete the search job is.
PercentComplete *int32 `json:"percentComplete,omitempty"`
// The instantaneous number of results produced by the search job.
ResultsAvailable *int32 `json:"resultsAvailable,omitempty"`
// The search head that started this search job.
SearchHead *string `json:"searchHead,omitempty"`
// The SPLv2 version of the search job query string.
Spl *string `json:"spl,omitempty"`
// The current status of the search job.
Status *string `json:"status,omitempty"`
// Summary of the dataset's purpose.
Summary *string `json:"summary,omitempty"`
TimelineMetadata *JobDatasetPropertiesTimelineMetadata `json:"timelineMetadata,omitempty"`
// The title of the dataset. Does not have to be unique.
Title *string `json:"title,omitempty"`
// The catalog version.
Version *int32 `json:"version,omitempty"`
}
A complete job dataset as rendered in POST, PATCH, and GET responses.
type JobDatasetEventSummaryAvailableStatus ¶
type JobDatasetEventSummaryAvailableStatus string
JobDatasetEventSummaryAvailableStatus : Availability of event summary.
const ( JobDatasetEventSummaryAvailableStatusTrue JobDatasetEventSummaryAvailableStatus = "true" JobDatasetEventSummaryAvailableStatusFalse JobDatasetEventSummaryAvailableStatus = "false" JobDatasetEventSummaryAvailableStatusUnknown JobDatasetEventSummaryAvailableStatus = "UNKNOWN" )
List of JobDatasetEventSummaryAvailableStatus
type JobDatasetFieldSummaryAvailableStatus ¶
type JobDatasetFieldSummaryAvailableStatus string
JobDatasetFieldSummaryAvailableStatus : Availability of field summary.
const ( JobDatasetFieldSummaryAvailableStatusTrue JobDatasetFieldSummaryAvailableStatus = "true" JobDatasetFieldSummaryAvailableStatusFalse JobDatasetFieldSummaryAvailableStatus = "false" JobDatasetFieldSummaryAvailableStatusUnknown JobDatasetFieldSummaryAvailableStatus = "UNKNOWN" )
List of JobDatasetFieldSummaryAvailableStatus
type JobDatasetKind ¶
type JobDatasetKind string
JobDatasetKind : The dataset kind.
const (
JobDatasetKindJob JobDatasetKind = "job"
)
List of JobDatasetKind
type JobDatasetPatch ¶
type JobDatasetPatch struct {
// Was the event summary requested for this searhc job?
CollectEventSummary *bool `json:"collectEventSummary,omitempty"`
// Was the field summary requested for this searhc job?
CollectFieldSummary *bool `json:"collectFieldSummary,omitempty"`
// Were the time bucketes requested for this searhc job?
CollectTimeBuckets *bool `json:"collectTimeBuckets,omitempty"`
// Time that the job was completed
CompletionTime *string `json:"completionTime,omitempty"`
// The time the dataset will be available in S3.
DeleteTime *string `json:"deleteTime,omitempty"`
// Time that the job was dispatched
DispatchTime *string `json:"dispatchTime,omitempty"`
// The runtime of the search in seconds.
ExecutionTime *float32 `json:"executionTime,omitempty"`
// Should the search produce all fields (including those not explicity mentioned in the SPL)?
ExtractAllFields *bool `json:"extractAllFields,omitempty"`
// Did the SPL query cause any side effects on a dataset?
HasSideEffects *bool `json:"hasSideEffects,omitempty"`
Kind *JobDatasetKind `json:"kind,omitempty"`
// The maximum number of seconds to run this search before finishing.
MaxTime *int32 `json:"maxTime,omitempty"`
// The name of module to reassign dataset into.
Module *string `json:"module,omitempty"`
// The dataset name. Dataset names must be unique within each module.
Name *string `json:"name,omitempty"`
// The name of the dataset owner. This value is obtained from the bearer token.
Owner *string `json:"owner,omitempty"`
// Parameters for the search job, mainly earliest, latest, timezone, and relativeTimeAnchor.
Parameters map[string]interface{} `json:"parameters,omitempty"`
// An estimate of how complete the search job is.
PercentComplete *int32 `json:"percentComplete,omitempty"`
// The SPL query string for the search job.
Query *string `json:"query,omitempty"`
// Resolved earliest time for the job
ResolvedEarliest *string `json:"resolvedEarliest,omitempty"`
// Resolved latest time for the job
ResolvedLatest *string `json:"resolvedLatest,omitempty"`
// The instantaneous number of results produced by the search job.
ResultsAvailable *int32 `json:"resultsAvailable,omitempty"`
// The search head that started this search job.
SearchHead *string `json:"searchHead,omitempty"`
// The ID assigned to the search job.
Sid *string `json:"sid,omitempty"`
// The SPLv2 version of the search job query string.
Spl *string `json:"spl,omitempty"`
// The current status of the search job.
Status *string `json:"status,omitempty"`
TimelineMetadata *JobDatasetPropertiesTimelineMetadata `json:"timelineMetadata,omitempty"`
}
Property values to be set in an existing job dataset using a PATCH request.
type JobDatasetPost ¶
type JobDatasetPost struct {
// Time that the job was completed
CompletionTime string `json:"completionTime"`
// The time the dataset will be available in S3.
DeleteTime string `json:"deleteTime"`
// Time that the job was dispatched
DispatchTime string `json:"dispatchTime"`
Kind JobDatasetKind `json:"kind"`
// The dataset name. Dataset names must be unique within each module.
Name string `json:"name"`
// Parameters for the search job, mainly earliest, latest, timezone, and relativeTimeAnchor.
Parameters map[string]interface{} `json:"parameters"`
// The SPL query string for the search job.
Query string `json:"query"`
// Resolved earliest time for the job
ResolvedEarliest string `json:"resolvedEarliest"`
// Resolved latest time for the job
ResolvedLatest string `json:"resolvedLatest"`
// The ID assigned to the search job.
Sid string `json:"sid"`
// Was the event summary requested for this searhc job?
CollectEventSummary *bool `json:"collectEventSummary,omitempty"`
// Was the field summary requested for this searhc job?
CollectFieldSummary *bool `json:"collectFieldSummary,omitempty"`
// Were the time bucketes requested for this searhc job?
CollectTimeBuckets *bool `json:"collectTimeBuckets,omitempty"`
// The runtime of the search in seconds.
ExecutionTime *float32 `json:"executionTime,omitempty"`
// Should the search produce all fields (including those not explicity mentioned in the SPL)?
ExtractAllFields *bool `json:"extractAllFields,omitempty"`
// The fields to be associated with this dataset.
Fields []FieldPost `json:"fields,omitempty"`
// Did the SPL query cause any side effects on a dataset?
HasSideEffects *bool `json:"hasSideEffects,omitempty"`
// A unique dataset ID. Random ID used if not provided.
Id *string `json:"id,omitempty"`
// The maximum number of seconds to run this search before finishing.
MaxTime *int32 `json:"maxTime,omitempty"`
// The name of the module to create the new dataset in.
Module *string `json:"module,omitempty"`
// An estimate of how complete the search job is.
PercentComplete *int32 `json:"percentComplete,omitempty"`
// The instantaneous number of results produced by the search job.
ResultsAvailable *int32 `json:"resultsAvailable,omitempty"`
// The search head that started this search job.
SearchHead *string `json:"searchHead,omitempty"`
// The SPLv2 version of the search job query string.
Spl *string `json:"spl,omitempty"`
// The current status of the search job.
Status *string `json:"status,omitempty"`
TimelineMetadata *JobDatasetPropertiesTimelineMetadata `json:"timelineMetadata,omitempty"`
}
Initial property values for creating a new job dataset using a POST request.
type JobDatasetProperties ¶
type JobDatasetProperties struct {
// Was the event summary requested for this searhc job?
CollectEventSummary *bool `json:"collectEventSummary,omitempty"`
// Was the field summary requested for this searhc job?
CollectFieldSummary *bool `json:"collectFieldSummary,omitempty"`
// Were the time bucketes requested for this searhc job?
CollectTimeBuckets *bool `json:"collectTimeBuckets,omitempty"`
// Time that the job was completed
CompletionTime *string `json:"completionTime,omitempty"`
// The time the dataset will be available in S3.
DeleteTime *string `json:"deleteTime,omitempty"`
// Time that the job was dispatched
DispatchTime *string `json:"dispatchTime,omitempty"`
// The runtime of the search in seconds.
ExecutionTime *float32 `json:"executionTime,omitempty"`
// Should the search produce all fields (including those not explicity mentioned in the SPL)?
ExtractAllFields *bool `json:"extractAllFields,omitempty"`
// Did the SPL query cause any side effects on a dataset?
HasSideEffects *bool `json:"hasSideEffects,omitempty"`
Kind *JobDatasetKind `json:"kind,omitempty"`
// The maximum number of seconds to run this search before finishing.
MaxTime *int32 `json:"maxTime,omitempty"`
// Parameters for the search job, mainly earliest, latest, timezone, and relativeTimeAnchor.
Parameters map[string]interface{} `json:"parameters,omitempty"`
// An estimate of how complete the search job is.
PercentComplete *int32 `json:"percentComplete,omitempty"`
// The SPL query string for the search job.
Query *string `json:"query,omitempty"`
// Resolved earliest time for the job
ResolvedEarliest *string `json:"resolvedEarliest,omitempty"`
// Resolved latest time for the job
ResolvedLatest *string `json:"resolvedLatest,omitempty"`
// The instantaneous number of results produced by the search job.
ResultsAvailable *int32 `json:"resultsAvailable,omitempty"`
// The search head that started this search job.
SearchHead *string `json:"searchHead,omitempty"`
// The ID assigned to the search job.
Sid *string `json:"sid,omitempty"`
// The SPLv2 version of the search job query string.
Spl *string `json:"spl,omitempty"`
// The current status of the search job.
Status *string `json:"status,omitempty"`
TimelineMetadata *JobDatasetPropertiesTimelineMetadata `json:"timelineMetadata,omitempty"`
}
Properties of job datasets which may be read, set, and changed through the API. Implementation detail of DatasetPOST, DatasetPATCH, and Dataset, do not use directly.
type JobDatasetPropertiesTimelineMetadata ¶
type JobDatasetPropertiesTimelineMetadata struct {
Auto *JobDatasetPropertiesTimelineMetadataAuto `json:"auto,omitempty"`
}
Availability of timeline metadata artifacts.
type JobDatasetPropertiesTimelineMetadataAuto ¶
type JobDatasetPropertiesTimelineMetadataAuto struct {
EventSummaryAvailable *JobDatasetEventSummaryAvailableStatus `json:"eventSummaryAvailable,omitempty"`
FieldSummaryAvailable *JobDatasetFieldSummaryAvailableStatus `json:"fieldSummaryAvailable,omitempty"`
TimeBucketsAvailable *JobDatasetTimeBucketsAvailableStatus `json:"timeBucketsAvailable,omitempty"`
}
Availability of automatic timeline metadata artifacts.
type JobDatasetTimeBucketsAvailableStatus ¶
type JobDatasetTimeBucketsAvailableStatus string
JobDatasetTimeBucketsAvailableStatus : Availability of time buckets (histogram of events).
const ( JobDatasetTimeBucketsAvailableStatusTrue JobDatasetTimeBucketsAvailableStatus = "true" JobDatasetTimeBucketsAvailableStatusFalse JobDatasetTimeBucketsAvailableStatus = "false" JobDatasetTimeBucketsAvailableStatusUnknown JobDatasetTimeBucketsAvailableStatus = "UNKNOWN" )
List of JobDatasetTimeBucketsAvailableStatus
type KvCollectionDataset ¶
type KvCollectionDataset struct {
// The date and time object was created.
Created string `json:"created"`
// The name of the user who created the object. This value is obtained from the bearer token and may not be changed.
Createdby string `json:"createdby"`
// A unique dataset ID.
Id string `json:"id"`
Kind KvCollectionDatasetKind `json:"kind"`
// The date and time object was modified.
Modified string `json:"modified"`
// The name of the user who most recently modified the object.
Modifiedby string `json:"modifiedby"`
// The name of the module that contains the dataset.
Module string `json:"module"`
// The dataset name. Dataset names must be unique within each module.
Name string `json:"name"`
// The name of the object's owner.
Owner string `json:"owner"`
// The dataset name qualified by the module name.
Resourcename string `json:"resourcename"`
// Detailed description of the dataset.
Description *string `json:"description,omitempty"`
// Summary of the dataset's purpose.
Summary *string `json:"summary,omitempty"`
// The title of the dataset. Does not have to be unique.
Title *string `json:"title,omitempty"`
// The catalog version.
Version *int32 `json:"version,omitempty"`
}
A complete kvcollection dataset as rendered in POST, PATCH, and GET responses.
type KvCollectionDatasetKind ¶
type KvCollectionDatasetKind string
KvCollectionDatasetKind : The dataset kind.
const (
KvCollectionDatasetKindKvcollection KvCollectionDatasetKind = "kvcollection"
)
List of KVCollectionDatasetKind
type KvCollectionDatasetPatch ¶
type KvCollectionDatasetPatch struct {
Kind *KvCollectionDatasetKind `json:"kind,omitempty"`
// The name of module to reassign dataset into.
Module *string `json:"module,omitempty"`
// The dataset name. Dataset names must be unique within each module.
Name *string `json:"name,omitempty"`
// The name of the dataset owner. This value is obtained from the bearer token.
Owner *string `json:"owner,omitempty"`
}
Property values to be set in an existing kvcollection dataset using a PATCH request.
type KvCollectionDatasetPost ¶
type KvCollectionDatasetPost struct {
Kind KvCollectionDatasetKind `json:"kind"`
// The dataset name. Dataset names must be unique within each module.
Name string `json:"name"`
// The fields to be associated with this dataset.
Fields []FieldPost `json:"fields,omitempty"`
// A unique dataset ID. Random ID used if not provided.
Id *string `json:"id,omitempty"`
// The name of the module to create the new dataset in.
Module *string `json:"module,omitempty"`
}
Initial property values for creating a new kvcollection dataset using a POST request.
type KvCollectionDatasetProperties ¶
type KvCollectionDatasetProperties struct {
Kind *KvCollectionDatasetKind `json:"kind,omitempty"`
}
Properties of kvcollection datasets which may be read, set, and changed through the API. Implementation detail of DatasetPOST, DatasetPATCH, and Dataset, do not use directly.
type ListActionsForRuleByIdQueryParams ¶
type ListActionsForRuleByIdQueryParams struct {
// Count : The maximum number of results to return.
Count *int32 `key:"count"`
// Filter : A filter to apply to the results list. The filter must be a SPL predicate expression.
Filter string `key:"filter"`
// Offset : The number of results to skip before the first one returned.
Offset *int32 `key:"offset"`
// Orderby : A list of fields to order the results by. You can specify either ascending or descending order using \"<field> asc\" or \"<field> desc. Ascending order is the default.
Orderby []string `key:"orderby"`
}
ListActionsForRuleByIdQueryParams represents valid query parameters for the ListActionsForRuleById operation For convenience ListActionsForRuleByIdQueryParams can be formed in a single statement, for example:
`v := ListActionsForRuleByIdQueryParams{}.SetCount(...).SetFilter(...).SetOffset(...).SetOrderby(...)`
func (ListActionsForRuleByIdQueryParams) SetCount ¶
func (q ListActionsForRuleByIdQueryParams) SetCount(v int32) ListActionsForRuleByIdQueryParams
func (ListActionsForRuleByIdQueryParams) SetFilter ¶
func (q ListActionsForRuleByIdQueryParams) SetFilter(v string) ListActionsForRuleByIdQueryParams
func (ListActionsForRuleByIdQueryParams) SetOffset ¶
func (q ListActionsForRuleByIdQueryParams) SetOffset(v int32) ListActionsForRuleByIdQueryParams
func (ListActionsForRuleByIdQueryParams) SetOrderby ¶
func (q ListActionsForRuleByIdQueryParams) SetOrderby(v []string) ListActionsForRuleByIdQueryParams
type ListActionsForRuleQueryParams ¶
type ListActionsForRuleQueryParams struct {
// Count : The maximum number of results to return.
Count *int32 `key:"count"`
// Filter : A filter to apply to the results list. The filter must be a SPL predicate expression.
Filter string `key:"filter"`
// Offset : The number of results to skip before the first one returned.
Offset *int32 `key:"offset"`
// Orderby : A list of fields to order the results by. You can specify either ascending or descending order using \"<field> asc\" or \"<field> desc. Ascending order is the default.
Orderby []string `key:"orderby"`
}
ListActionsForRuleQueryParams represents valid query parameters for the ListActionsForRule operation For convenience ListActionsForRuleQueryParams can be formed in a single statement, for example:
`v := ListActionsForRuleQueryParams{}.SetCount(...).SetFilter(...).SetOffset(...).SetOrderby(...)`
func (ListActionsForRuleQueryParams) SetCount ¶
func (q ListActionsForRuleQueryParams) SetCount(v int32) ListActionsForRuleQueryParams
func (ListActionsForRuleQueryParams) SetFilter ¶
func (q ListActionsForRuleQueryParams) SetFilter(v string) ListActionsForRuleQueryParams
func (ListActionsForRuleQueryParams) SetOffset ¶
func (q ListActionsForRuleQueryParams) SetOffset(v int32) ListActionsForRuleQueryParams
func (ListActionsForRuleQueryParams) SetOrderby ¶
func (q ListActionsForRuleQueryParams) SetOrderby(v []string) ListActionsForRuleQueryParams
type ListAnnotationsForDashboardByIdQueryParams ¶
type ListAnnotationsForDashboardByIdQueryParams struct {
// Filter : A filter query to apply to the annotations.
Filter string `key:"filter"`
}
ListAnnotationsForDashboardByIdQueryParams represents valid query parameters for the ListAnnotationsForDashboardById operation For convenience ListAnnotationsForDashboardByIdQueryParams can be formed in a single statement, for example:
`v := ListAnnotationsForDashboardByIdQueryParams{}.SetFilter(...)`
func (ListAnnotationsForDashboardByIdQueryParams) SetFilter ¶
func (q ListAnnotationsForDashboardByIdQueryParams) SetFilter(v string) ListAnnotationsForDashboardByIdQueryParams
type ListAnnotationsForDashboardByResourceNameQueryParams ¶
type ListAnnotationsForDashboardByResourceNameQueryParams struct {
// Filter : A filter query to apply to the annotations.
Filter string `key:"filter"`
}
ListAnnotationsForDashboardByResourceNameQueryParams represents valid query parameters for the ListAnnotationsForDashboardByResourceName operation For convenience ListAnnotationsForDashboardByResourceNameQueryParams can be formed in a single statement, for example:
`v := ListAnnotationsForDashboardByResourceNameQueryParams{}.SetFilter(...)`
type ListAnnotationsForDatasetByIdQueryParams ¶
type ListAnnotationsForDatasetByIdQueryParams struct {
// Count : The maximum number of results to return.
Count *int32 `key:"count"`
// Filter : A filter to apply to the results list. The filter must be a SPL predicate expression.
Filter string `key:"filter"`
// Offset : The number of results to skip before the first one returned.
Offset *int32 `key:"offset"`
// Orderby : A list of fields to order the results by. You can specify either ascending or descending order using \"<field> asc\" or \"<field> desc. Ascending order is the default.
Orderby []string `key:"orderby"`
}
ListAnnotationsForDatasetByIdQueryParams represents valid query parameters for the ListAnnotationsForDatasetById operation For convenience ListAnnotationsForDatasetByIdQueryParams can be formed in a single statement, for example:
`v := ListAnnotationsForDatasetByIdQueryParams{}.SetCount(...).SetFilter(...).SetOffset(...).SetOrderby(...)`
func (ListAnnotationsForDatasetByIdQueryParams) SetCount ¶
func (q ListAnnotationsForDatasetByIdQueryParams) SetCount(v int32) ListAnnotationsForDatasetByIdQueryParams
func (ListAnnotationsForDatasetByIdQueryParams) SetFilter ¶
func (q ListAnnotationsForDatasetByIdQueryParams) SetFilter(v string) ListAnnotationsForDatasetByIdQueryParams
func (ListAnnotationsForDatasetByIdQueryParams) SetOffset ¶
func (q ListAnnotationsForDatasetByIdQueryParams) SetOffset(v int32) ListAnnotationsForDatasetByIdQueryParams
func (ListAnnotationsForDatasetByIdQueryParams) SetOrderby ¶
func (q ListAnnotationsForDatasetByIdQueryParams) SetOrderby(v []string) ListAnnotationsForDatasetByIdQueryParams
type ListAnnotationsForDatasetByResourceNameQueryParams ¶
type ListAnnotationsForDatasetByResourceNameQueryParams struct {
// Count : The maximum number of results to return.
Count *int32 `key:"count"`
// Filter : A filter to apply to the results list. The filter must be a SPL predicate expression.
Filter string `key:"filter"`
// Offset : The number of results to skip before the first one returned.
Offset *int32 `key:"offset"`
// Orderby : A list of fields to order the results by. You can specify either ascending or descending order using \"<field> asc\" or \"<field> desc. Ascending order is the default.
Orderby []string `key:"orderby"`
}
ListAnnotationsForDatasetByResourceNameQueryParams represents valid query parameters for the ListAnnotationsForDatasetByResourceName operation For convenience ListAnnotationsForDatasetByResourceNameQueryParams can be formed in a single statement, for example:
`v := ListAnnotationsForDatasetByResourceNameQueryParams{}.SetCount(...).SetFilter(...).SetOffset(...).SetOrderby(...)`
func (ListAnnotationsForDatasetByResourceNameQueryParams) SetOrderby ¶
func (q ListAnnotationsForDatasetByResourceNameQueryParams) SetOrderby(v []string) ListAnnotationsForDatasetByResourceNameQueryParams
type ListDashboardsQueryParams ¶
type ListDashboardsQueryParams struct {
// Count : The maximum number of results to return.
Count *int32 `key:"count"`
// Filter : A filter to apply to the results list. The filter must be a SPL predicate expression.
Filter string `key:"filter"`
// Offset : The number of results to skip before the first one returned.
Offset *int32 `key:"offset"`
// Orderby : A list of fields to order the results by. You can specify either ascending or descending order using \"<field> asc\" or \"<field> desc. Ascending order is the default.
Orderby []string `key:"orderby"`
}
ListDashboardsQueryParams represents valid query parameters for the ListDashboards operation For convenience ListDashboardsQueryParams can be formed in a single statement, for example:
`v := ListDashboardsQueryParams{}.SetCount(...).SetFilter(...).SetOffset(...).SetOrderby(...)`
func (ListDashboardsQueryParams) SetCount ¶
func (q ListDashboardsQueryParams) SetCount(v int32) ListDashboardsQueryParams
func (ListDashboardsQueryParams) SetFilter ¶
func (q ListDashboardsQueryParams) SetFilter(v string) ListDashboardsQueryParams
func (ListDashboardsQueryParams) SetOffset ¶
func (q ListDashboardsQueryParams) SetOffset(v int32) ListDashboardsQueryParams
func (ListDashboardsQueryParams) SetOrderby ¶
func (q ListDashboardsQueryParams) SetOrderby(v []string) ListDashboardsQueryParams
type ListDatasetsQueryParams ¶
type ListDatasetsQueryParams struct {
// Count : The maximum number of results to return.
Count *int32 `key:"count"`
// Filter : A filter to apply to the results list. The filter must be a SPL predicate expression.
Filter string `key:"filter"`
// Offset : The number of results to skip before the first one returned.
Offset *int32 `key:"offset"`
// Orderby : A list of fields to order the results by. You can specify either ascending or descending order using \"<field> asc\" or \"<field> desc. Ascending order is the default.
Orderby []string `key:"orderby"`
}
ListDatasetsQueryParams represents valid query parameters for the ListDatasets operation For convenience ListDatasetsQueryParams can be formed in a single statement, for example:
`v := ListDatasetsQueryParams{}.SetCount(...).SetFilter(...).SetOffset(...).SetOrderby(...)`
func (ListDatasetsQueryParams) SetCount ¶
func (q ListDatasetsQueryParams) SetCount(v int32) ListDatasetsQueryParams
func (ListDatasetsQueryParams) SetFilter ¶
func (q ListDatasetsQueryParams) SetFilter(v string) ListDatasetsQueryParams
func (ListDatasetsQueryParams) SetOffset ¶
func (q ListDatasetsQueryParams) SetOffset(v int32) ListDatasetsQueryParams
func (ListDatasetsQueryParams) SetOrderby ¶
func (q ListDatasetsQueryParams) SetOrderby(v []string) ListDatasetsQueryParams
type ListFieldsForDatasetByIdQueryParams ¶
type ListFieldsForDatasetByIdQueryParams struct {
// Count : The maximum number of results to return.
Count *int32 `key:"count"`
// Filter : A filter to apply to the results list. The filter must be a SPL predicate expression.
Filter string `key:"filter"`
// Offset : The number of results to skip before the first one returned.
Offset *int32 `key:"offset"`
// Orderby : A list of fields to order the results by. You can specify either ascending or descending order using \"<field> asc\" or \"<field> desc. Ascending order is the default.
Orderby []string `key:"orderby"`
}
ListFieldsForDatasetByIdQueryParams represents valid query parameters for the ListFieldsForDatasetById operation For convenience ListFieldsForDatasetByIdQueryParams can be formed in a single statement, for example:
`v := ListFieldsForDatasetByIdQueryParams{}.SetCount(...).SetFilter(...).SetOffset(...).SetOrderby(...)`
func (ListFieldsForDatasetByIdQueryParams) SetCount ¶
func (q ListFieldsForDatasetByIdQueryParams) SetCount(v int32) ListFieldsForDatasetByIdQueryParams
func (ListFieldsForDatasetByIdQueryParams) SetFilter ¶
func (q ListFieldsForDatasetByIdQueryParams) SetFilter(v string) ListFieldsForDatasetByIdQueryParams
func (ListFieldsForDatasetByIdQueryParams) SetOffset ¶
func (q ListFieldsForDatasetByIdQueryParams) SetOffset(v int32) ListFieldsForDatasetByIdQueryParams
func (ListFieldsForDatasetByIdQueryParams) SetOrderby ¶
func (q ListFieldsForDatasetByIdQueryParams) SetOrderby(v []string) ListFieldsForDatasetByIdQueryParams
type ListFieldsForDatasetQueryParams ¶
type ListFieldsForDatasetQueryParams struct {
// Count : The maximum number of results to return.
Count *int32 `key:"count"`
// Filter : A filter to apply to the results list. The filter must be a SPL predicate expression.
Filter string `key:"filter"`
// Offset : The number of results to skip before the first one returned.
Offset *int32 `key:"offset"`
// Orderby : A list of fields to order the results by. You can specify either ascending or descending order using \"<field> asc\" or \"<field> desc. Ascending order is the default.
Orderby []string `key:"orderby"`
}
ListFieldsForDatasetQueryParams represents valid query parameters for the ListFieldsForDataset operation For convenience ListFieldsForDatasetQueryParams can be formed in a single statement, for example:
`v := ListFieldsForDatasetQueryParams{}.SetCount(...).SetFilter(...).SetOffset(...).SetOrderby(...)`
func (ListFieldsForDatasetQueryParams) SetCount ¶
func (q ListFieldsForDatasetQueryParams) SetCount(v int32) ListFieldsForDatasetQueryParams
func (ListFieldsForDatasetQueryParams) SetFilter ¶
func (q ListFieldsForDatasetQueryParams) SetFilter(v string) ListFieldsForDatasetQueryParams
func (ListFieldsForDatasetQueryParams) SetOffset ¶
func (q ListFieldsForDatasetQueryParams) SetOffset(v int32) ListFieldsForDatasetQueryParams
func (ListFieldsForDatasetQueryParams) SetOrderby ¶
func (q ListFieldsForDatasetQueryParams) SetOrderby(v []string) ListFieldsForDatasetQueryParams
type ListFieldsQueryParams ¶
type ListFieldsQueryParams struct {
// Count : The maximum number of results to return.
Count *int32 `key:"count"`
// Filter : A filter to apply to the results list. The filter must be a SPL predicate expression.
Filter string `key:"filter"`
// Offset : The number of results to skip before the first one returned.
Offset *int32 `key:"offset"`
// Orderby : A list of fields to order the results by. You can specify either ascending or descending order using \"<field> asc\" or \"<field> desc. Ascending order is the default.
Orderby []string `key:"orderby"`
}
ListFieldsQueryParams represents valid query parameters for the ListFields operation For convenience ListFieldsQueryParams can be formed in a single statement, for example:
`v := ListFieldsQueryParams{}.SetCount(...).SetFilter(...).SetOffset(...).SetOrderby(...)`
func (ListFieldsQueryParams) SetCount ¶
func (q ListFieldsQueryParams) SetCount(v int32) ListFieldsQueryParams
func (ListFieldsQueryParams) SetFilter ¶
func (q ListFieldsQueryParams) SetFilter(v string) ListFieldsQueryParams
func (ListFieldsQueryParams) SetOffset ¶
func (q ListFieldsQueryParams) SetOffset(v int32) ListFieldsQueryParams
func (ListFieldsQueryParams) SetOrderby ¶
func (q ListFieldsQueryParams) SetOrderby(v []string) ListFieldsQueryParams
type ListModulesQueryParams ¶
type ListModulesQueryParams struct {
// Filter : A filter to apply to the modules.
Filter string `key:"filter"`
}
ListModulesQueryParams represents valid query parameters for the ListModules operation For convenience ListModulesQueryParams can be formed in a single statement, for example:
`v := ListModulesQueryParams{}.SetFilter(...)`
func (ListModulesQueryParams) SetFilter ¶
func (q ListModulesQueryParams) SetFilter(v string) ListModulesQueryParams
type ListRelationshipsQueryParams ¶
type ListRelationshipsQueryParams struct {
// Count : The maximum number of results to return.
Count *int32 `key:"count"`
// Filter : A filter to apply to the results list. The filter must be a SPL predicate expression.
Filter string `key:"filter"`
// Offset : The number of results to skip before the first one returned.
Offset *int32 `key:"offset"`
// Orderby : A list of fields to order the results by. You can specify either ascending or descending order using \"<field> asc\" or \"<field> desc. Ascending order is the default.
Orderby []string `key:"orderby"`
}
ListRelationshipsQueryParams represents valid query parameters for the ListRelationships operation For convenience ListRelationshipsQueryParams can be formed in a single statement, for example:
`v := ListRelationshipsQueryParams{}.SetCount(...).SetFilter(...).SetOffset(...).SetOrderby(...)`
func (ListRelationshipsQueryParams) SetCount ¶
func (q ListRelationshipsQueryParams) SetCount(v int32) ListRelationshipsQueryParams
func (ListRelationshipsQueryParams) SetFilter ¶
func (q ListRelationshipsQueryParams) SetFilter(v string) ListRelationshipsQueryParams
func (ListRelationshipsQueryParams) SetOffset ¶
func (q ListRelationshipsQueryParams) SetOffset(v int32) ListRelationshipsQueryParams
func (ListRelationshipsQueryParams) SetOrderby ¶
func (q ListRelationshipsQueryParams) SetOrderby(v []string) ListRelationshipsQueryParams
type ListRulesQueryParams ¶
type ListRulesQueryParams struct {
// Count : The maximum number of results to return.
Count *int32 `key:"count"`
// Filter : A filter to apply to the results list. The filter must be a SPL predicate expression.
Filter string `key:"filter"`
// Offset : The number of results to skip before the first one returned.
Offset *int32 `key:"offset"`
// Orderby : A list of fields to order the results by. You can specify either ascending or descending order using \"<field> asc\" or \"<field> desc. Ascending order is the default.
Orderby []string `key:"orderby"`
}
ListRulesQueryParams represents valid query parameters for the ListRules operation For convenience ListRulesQueryParams can be formed in a single statement, for example:
`v := ListRulesQueryParams{}.SetCount(...).SetFilter(...).SetOffset(...).SetOrderby(...)`
func (ListRulesQueryParams) SetCount ¶
func (q ListRulesQueryParams) SetCount(v int32) ListRulesQueryParams
func (ListRulesQueryParams) SetFilter ¶
func (q ListRulesQueryParams) SetFilter(v string) ListRulesQueryParams
func (ListRulesQueryParams) SetOffset ¶
func (q ListRulesQueryParams) SetOffset(v int32) ListRulesQueryParams
func (ListRulesQueryParams) SetOrderby ¶
func (q ListRulesQueryParams) SetOrderby(v []string) ListRulesQueryParams
type ListWorkflowBuildsQueryParams ¶
type ListWorkflowBuildsQueryParams struct {
// Count : The maximum number of results to return.
Count *int32 `key:"count"`
// Filter : A filter to apply to the results list. The filter must be a SPL predicate expression.
Filter string `key:"filter"`
// Offset : The number of results to skip before the first one returned.
Offset *int32 `key:"offset"`
// Orderby : A list of fields to order the results by. You can specify either ascending or descending order using \"<field> asc\" or \"<field> desc. Ascending order is the default.
Orderby []string `key:"orderby"`
}
ListWorkflowBuildsQueryParams represents valid query parameters for the ListWorkflowBuilds operation For convenience ListWorkflowBuildsQueryParams can be formed in a single statement, for example:
`v := ListWorkflowBuildsQueryParams{}.SetCount(...).SetFilter(...).SetOffset(...).SetOrderby(...)`
func (ListWorkflowBuildsQueryParams) SetCount ¶
func (q ListWorkflowBuildsQueryParams) SetCount(v int32) ListWorkflowBuildsQueryParams
func (ListWorkflowBuildsQueryParams) SetFilter ¶
func (q ListWorkflowBuildsQueryParams) SetFilter(v string) ListWorkflowBuildsQueryParams
func (ListWorkflowBuildsQueryParams) SetOffset ¶
func (q ListWorkflowBuildsQueryParams) SetOffset(v int32) ListWorkflowBuildsQueryParams
func (ListWorkflowBuildsQueryParams) SetOrderby ¶
func (q ListWorkflowBuildsQueryParams) SetOrderby(v []string) ListWorkflowBuildsQueryParams
type ListWorkflowRunsQueryParams ¶
type ListWorkflowRunsQueryParams struct {
// Count : The maximum number of results to return.
Count *int32 `key:"count"`
// Filter : A filter to apply to the results list. The filter must be a SPL predicate expression.
Filter string `key:"filter"`
// Offset : The number of results to skip before the first one returned.
Offset *int32 `key:"offset"`
// Orderby : A list of fields to order the results by. You can specify either ascending or descending order using \"<field> asc\" or \"<field> desc. Ascending order is the default.
Orderby []string `key:"orderby"`
}
ListWorkflowRunsQueryParams represents valid query parameters for the ListWorkflowRuns operation For convenience ListWorkflowRunsQueryParams can be formed in a single statement, for example:
`v := ListWorkflowRunsQueryParams{}.SetCount(...).SetFilter(...).SetOffset(...).SetOrderby(...)`
func (ListWorkflowRunsQueryParams) SetCount ¶
func (q ListWorkflowRunsQueryParams) SetCount(v int32) ListWorkflowRunsQueryParams
func (ListWorkflowRunsQueryParams) SetFilter ¶
func (q ListWorkflowRunsQueryParams) SetFilter(v string) ListWorkflowRunsQueryParams
func (ListWorkflowRunsQueryParams) SetOffset ¶
func (q ListWorkflowRunsQueryParams) SetOffset(v int32) ListWorkflowRunsQueryParams
func (ListWorkflowRunsQueryParams) SetOrderby ¶
func (q ListWorkflowRunsQueryParams) SetOrderby(v []string) ListWorkflowRunsQueryParams
type ListWorkflowsQueryParams ¶
type ListWorkflowsQueryParams struct {
// Count : The maximum number of results to return.
Count *int32 `key:"count"`
// Filter : A filter to apply to the results list. The filter must be a SPL predicate expression.
Filter string `key:"filter"`
// Offset : The number of results to skip before the first one returned.
Offset *int32 `key:"offset"`
// Orderby : A list of fields to order the results by. You can specify either ascending or descending order using \"<field> asc\" or \"<field> desc. Ascending order is the default.
Orderby []string `key:"orderby"`
}
ListWorkflowsQueryParams represents valid query parameters for the ListWorkflows operation For convenience ListWorkflowsQueryParams can be formed in a single statement, for example:
`v := ListWorkflowsQueryParams{}.SetCount(...).SetFilter(...).SetOffset(...).SetOrderby(...)`
func (ListWorkflowsQueryParams) SetCount ¶
func (q ListWorkflowsQueryParams) SetCount(v int32) ListWorkflowsQueryParams
func (ListWorkflowsQueryParams) SetFilter ¶
func (q ListWorkflowsQueryParams) SetFilter(v string) ListWorkflowsQueryParams
func (ListWorkflowsQueryParams) SetOffset ¶
func (q ListWorkflowsQueryParams) SetOffset(v int32) ListWorkflowsQueryParams
func (ListWorkflowsQueryParams) SetOrderby ¶
func (q ListWorkflowsQueryParams) SetOrderby(v []string) ListWorkflowsQueryParams
type LookupAction ¶
type LookupAction struct {
// The date and time object was created.
Created string `json:"created"`
// The name of the user who created the object. This value is obtained from the bearer token and may not be changed.
Createdby string `json:"createdby"`
// The lookup body.
Expression string `json:"expression"`
// A unique action ID.
Id string `json:"id"`
Kind LookupActionKind `json:"kind"`
// The date and time object was modified.
Modified string `json:"modified"`
// The name of the user who most recently modified the object.
Modifiedby string `json:"modifiedby"`
// The name of the object's owner.
Owner string `json:"owner"`
// The rule that this action is part of.
Ruleid string `json:"ruleid"`
// The catalog version.
Version *int32 `json:"version,omitempty"`
}
A complete lookup action as rendered in POST, PATCH, and GET responses.
type LookupActionKind ¶
type LookupActionKind string
LookupActionKind : The lookup action kind.
const (
LookupActionKindLookup LookupActionKind = "LOOKUP"
)
List of LookupActionKind
type LookupActionPatch ¶
type LookupActionPatch struct {
// The lookup body.
Expression *string `json:"expression,omitempty"`
Kind *LookupActionKind `json:"kind,omitempty"`
// The name of the user who owns this action. This value is obtained from the bearer token if not present.
Owner *string `json:"owner,omitempty"`
// The catalog version.
Version *int32 `json:"version,omitempty"`
}
Property values for setting existing lookup actions using a PATCH request.
type LookupActionPost ¶
type LookupActionPost struct {
// The lookup body.
Expression string `json:"expression"`
Kind LookupActionKind `json:"kind"`
// A unique action ID.
Id *string `json:"id,omitempty"`
// The rule that this action is part of.
Ruleid *string `json:"ruleid,omitempty"`
// The catalog version.
Version *int32 `json:"version,omitempty"`
}
Initial property values for creating a new lookup action using a POST request.
type LookupActionProperties ¶
type LookupActionProperties struct {
// The lookup body.
Expression *string `json:"expression,omitempty"`
Kind *LookupActionKind `json:"kind,omitempty"`
}
Properties of lookup actions which may be read, set, and changed through the API. Implementation detail of ActionPOST, ActionPOST, and Action, do not use directly.
type LookupDataset ¶
type LookupDataset struct {
// The date and time object was created.
Created string `json:"created"`
// The name of the user who created the object. This value is obtained from the bearer token and may not be changed.
Createdby string `json:"createdby"`
ExternalKind LookupDatasetExternalKind `json:"externalKind"`
// The name of the external lookup.
ExternalName string `json:"externalName"`
// A unique dataset ID.
Id string `json:"id"`
Kind LookupDatasetKind `json:"kind"`
// The date and time object was modified.
Modified string `json:"modified"`
// The name of the user who most recently modified the object.
Modifiedby string `json:"modifiedby"`
// The name of the module that contains the dataset.
Module string `json:"module"`
// The dataset name. Dataset names must be unique within each module.
Name string `json:"name"`
// The name of the object's owner.
Owner string `json:"owner"`
// The dataset name qualified by the module name.
Resourcename string `json:"resourcename"`
// Match case-sensitively against the lookup.
CaseSensitiveMatch *bool `json:"caseSensitiveMatch,omitempty"`
// Detailed description of the dataset.
Description *string `json:"description,omitempty"`
// A query that filters results out of the lookup before those results are returned.
Filter *string `json:"filter,omitempty"`
// Summary of the dataset's purpose.
Summary *string `json:"summary,omitempty"`
// The title of the dataset. Does not have to be unique.
Title *string `json:"title,omitempty"`
// The catalog version.
Version *int32 `json:"version,omitempty"`
}
A complete lookup dataset as rendered in POST, PATCH, and GET responses.
type LookupDatasetExternalKind ¶
type LookupDatasetExternalKind string
LookupDatasetExternalKind : The type of the external lookup.
const (
LookupDatasetExternalKindKvcollection LookupDatasetExternalKind = "kvcollection"
)
List of LookupDatasetExternalKind
type LookupDatasetKind ¶
type LookupDatasetKind string
LookupDatasetKind : The dataset kind.
const (
LookupDatasetKindLookup LookupDatasetKind = "lookup"
)
List of LookupDatasetKind
type LookupDatasetPatch ¶
type LookupDatasetPatch struct {
// Match case-sensitively against the lookup.
CaseSensitiveMatch *bool `json:"caseSensitiveMatch,omitempty"`
ExternalKind *LookupDatasetExternalKind `json:"externalKind,omitempty"`
// The name of the external lookup.
ExternalName *string `json:"externalName,omitempty"`
// A query that filters results out of the lookup before those results are returned.
Filter *string `json:"filter,omitempty"`
Kind *LookupDatasetKind `json:"kind,omitempty"`
// The name of module to reassign dataset into.
Module *string `json:"module,omitempty"`
// The dataset name. Dataset names must be unique within each module.
Name *string `json:"name,omitempty"`
// The name of the dataset owner. This value is obtained from the bearer token.
Owner *string `json:"owner,omitempty"`
}
Property values to be set in an existing lookup dataset using a PATCH request.
type LookupDatasetPost ¶
type LookupDatasetPost struct {
ExternalKind LookupDatasetExternalKind `json:"externalKind"`
// The name of the external lookup.
ExternalName string `json:"externalName"`
Kind LookupDatasetKind `json:"kind"`
// The dataset name. Dataset names must be unique within each module.
Name string `json:"name"`
// Match case-sensitively against the lookup.
CaseSensitiveMatch *bool `json:"caseSensitiveMatch,omitempty"`
// The fields to be associated with this dataset.
Fields []FieldPost `json:"fields,omitempty"`
// A query that filters results out of the lookup before those results are returned.
Filter *string `json:"filter,omitempty"`
// A unique dataset ID. Random ID used if not provided.
Id *string `json:"id,omitempty"`
// The name of the module to create the new dataset in.
Module *string `json:"module,omitempty"`
}
Initial property values for creating a new lookup dataset using a POST request.
type LookupDatasetProperties ¶
type LookupDatasetProperties struct {
// Match case-sensitively against the lookup.
CaseSensitiveMatch *bool `json:"caseSensitiveMatch,omitempty"`
ExternalKind *LookupDatasetExternalKind `json:"externalKind,omitempty"`
// The name of the external lookup.
ExternalName *string `json:"externalName,omitempty"`
// A query that filters results out of the lookup before those results are returned.
Filter *string `json:"filter,omitempty"`
Kind *LookupDatasetKind `json:"kind,omitempty"`
}
Properties of lookup datasets which may be read, set, and changed through the API. Implementation detail of DatasetPOST, DatasetPATCH, and Dataset, do not use directly.
type MetadataProperties ¶
type MetadataProperties struct {
// The date and time object was created.
Created string `json:"created"`
// The name of the user who created the object. This value is obtained from the bearer token and may not be changed.
Createdby string `json:"createdby"`
// The date and time object was modified.
Modified string `json:"modified"`
// The name of the user who most recently modified the object.
Modifiedby string `json:"modifiedby"`
// The name of the object's owner.
Owner string `json:"owner"`
}
Created, createdby, modified, modifiedby, and owner properties for inclusion in other objects.
type MetricDataset ¶
type MetricDataset struct {
// The date and time object was created.
Created string `json:"created"`
// The name of the user who created the object. This value is obtained from the bearer token and may not be changed.
Createdby string `json:"createdby"`
// Specifies whether or not the Splunk index is disabled.
Disabled bool `json:"disabled"`
// A unique dataset ID.
Id string `json:"id"`
Kind MetricDatasetKind `json:"kind"`
// The date and time object was modified.
Modified string `json:"modified"`
// The name of the user who most recently modified the object.
Modifiedby string `json:"modifiedby"`
// The name of the module that contains the dataset.
Module string `json:"module"`
// The dataset name. Dataset names must be unique within each module.
Name string `json:"name"`
// The name of the object's owner.
Owner string `json:"owner"`
// The dataset name qualified by the module name.
Resourcename string `json:"resourcename"`
// Detailed description of the dataset.
Description *string `json:"description,omitempty"`
// The frozenTimePeriodInSecs to use for the index
FrozenTimePeriodInSecs *int32 `json:"frozenTimePeriodInSecs,omitempty"`
// Summary of the dataset's purpose.
Summary *string `json:"summary,omitempty"`
// The title of the dataset. Does not have to be unique.
Title *string `json:"title,omitempty"`
// The catalog version.
Version *int32 `json:"version,omitempty"`
}
A complete metric dataset as rendered in POST, PATCH, and GET responses.
type MetricDatasetKind ¶
type MetricDatasetKind string
MetricDatasetKind : The dataset kind.
const (
MetricDatasetKindMetric MetricDatasetKind = "metric"
)
List of MetricDatasetKind
type MetricDatasetPatch ¶
type MetricDatasetPatch struct {
// Specifies whether or not the Splunk index is disabled.
Disabled *bool `json:"disabled,omitempty"`
// The frozenTimePeriodInSecs to use for the index
FrozenTimePeriodInSecs *int32 `json:"frozenTimePeriodInSecs,omitempty"`
Kind *MetricDatasetKind `json:"kind,omitempty"`
// The name of module to reassign dataset into.
Module *string `json:"module,omitempty"`
// The dataset name. Dataset names must be unique within each module.
Name *string `json:"name,omitempty"`
// The name of the dataset owner. This value is obtained from the bearer token.
Owner *string `json:"owner,omitempty"`
}
Property values to be set in an existing metric dataset using a PATCH request.
type MetricDatasetPost ¶
type MetricDatasetPost struct {
// Specifies whether or not the Splunk index is disabled.
Disabled bool `json:"disabled"`
Kind MetricDatasetKind `json:"kind"`
// The dataset name. Dataset names must be unique within each module.
Name string `json:"name"`
// The fields to be associated with this dataset.
Fields []FieldPost `json:"fields,omitempty"`
// The frozenTimePeriodInSecs to use for the index
FrozenTimePeriodInSecs *int32 `json:"frozenTimePeriodInSecs,omitempty"`
// A unique dataset ID. Random ID used if not provided.
Id *string `json:"id,omitempty"`
// The name of the module to create the new dataset in.
Module *string `json:"module,omitempty"`
}
Initial property values for creating a new metric dataset using a POST request.
type MetricDatasetProperties ¶
type MetricDatasetProperties struct {
// Specifies whether or not the Splunk index is disabled.
Disabled *bool `json:"disabled,omitempty"`
// The frozenTimePeriodInSecs to use for the index
FrozenTimePeriodInSecs *int32 `json:"frozenTimePeriodInSecs,omitempty"`
Kind *MetricDatasetKind `json:"kind,omitempty"`
}
Properties of metric datasets which may be read, set, and changed through the API. Implementation detail of DatasetPOST, DatasetPATCH, and Dataset, do not use directly.
type RegexAction ¶
type RegexAction struct {
// The date and time object was created.
Created string `json:"created"`
// The name of the user who created the object. This value is obtained from the bearer token and may not be changed.
Createdby string `json:"createdby"`
// Name of the field that is matched against the regular expression.
Field string `json:"field"`
// A unique action ID.
Id string `json:"id"`
Kind RegexActionKind `json:"kind"`
// The date and time object was modified.
Modified string `json:"modified"`
// The name of the user who most recently modified the object.
Modifiedby string `json:"modifiedby"`
// The name of the object's owner.
Owner string `json:"owner"`
// A regular expression that includes named capture groups for the purpose of field extraction.
Pattern string `json:"pattern"`
// The rule that this action is part of.
Ruleid string `json:"ruleid"`
// The maximum number of times per event to attempt to match fields with the regular expression.
Limit *int32 `json:"limit,omitempty"`
// The catalog version.
Version *int32 `json:"version,omitempty"`
}
A complete regex action as rendered in POST, PATCH, and GET responses.
type RegexActionKind ¶
type RegexActionKind string
RegexActionKind : The regex action kind.
const (
RegexActionKindRegex RegexActionKind = "REGEX"
)
List of RegexActionKind
type RegexActionPatch ¶
type RegexActionPatch struct {
// Name of the field that is matched against the regular expression.
Field *string `json:"field,omitempty"`
Kind *RegexActionKind `json:"kind,omitempty"`
// The maximum number of times per event to attempt to match fields with the regular expression.
Limit *int32 `json:"limit,omitempty"`
// The name of the user who owns this action. This value is obtained from the bearer token if not present.
Owner *string `json:"owner,omitempty"`
// A regular expression that includes named capture groups for the purpose of field extraction.
Pattern *string `json:"pattern,omitempty"`
// The catalog version.
Version *int32 `json:"version,omitempty"`
}
Property values for setting existing regex actions using a PATCH request.
type RegexActionPost ¶
type RegexActionPost struct {
// Name of the field that is matched against the regular expression.
Field string `json:"field"`
Kind RegexActionKind `json:"kind"`
// A regular expression that includes named capture groups for the purpose of field extraction.
Pattern string `json:"pattern"`
// A unique action ID.
Id *string `json:"id,omitempty"`
// The maximum number of times per event to attempt to match fields with the regular expression.
Limit *int32 `json:"limit,omitempty"`
// The rule that this action is part of.
Ruleid *string `json:"ruleid,omitempty"`
// The catalog version.
Version *int32 `json:"version,omitempty"`
}
Initial property values for creating a new regex action using a POST request.
type RegexActionProperties ¶
type RegexActionProperties struct {
// Name of the field that is matched against the regular expression.
Field *string `json:"field,omitempty"`
Kind *RegexActionKind `json:"kind,omitempty"`
// The maximum number of times per event to attempt to match fields with the regular expression.
Limit *int32 `json:"limit,omitempty"`
// A regular expression that includes named capture groups for the purpose of field extraction.
Pattern *string `json:"pattern,omitempty"`
}
Properties of regex actions which may be read, set, and changed through the API. Implementation detail of ActionPOST, ActionPOST, and Action, do not use directly.
type Relationship ¶
type Relationship struct {
// The date and time object was created.
Created string `json:"created"`
// The name of the user who created the object. This value is obtained from the bearer token and may not be changed.
Createdby string `json:"createdby"`
// The relationship fields associated with the relationship.
Fields []RelationshipField `json:"fields"`
// A unique relationship ID.
Id string `json:"id"`
Kind RelationshipKind `json:"kind"`
// The date and time object was modified.
Modified string `json:"modified"`
// The name of the user who most recently modified the object.
Modifiedby string `json:"modifiedby"`
// The module that contains the relationship.
Module string `json:"module"`
// The relationship name.
Name string `json:"name"`
// The name of the object's owner.
Owner string `json:"owner"`
// A unique source dataset ID. Either the sourceid or sourceresourcename property must be specified.
Sourceid string `json:"sourceid"`
// A unique target dataset ID. Either the targetid or targetresourcename property must be specified.
Targetid string `json:"targetid"`
// The Catalog version.
Version int32 `json:"version"`
// The source dataset name qualified by module name. Either the sourceid or sourceresourcename property must be specified.
Sourceresourcename *string `json:"sourceresourcename,omitempty"`
// The target dataset name qualified by module name. Either the targetid or targetresourcename property must be specified.
Targetresourcename *string `json:"targetresourcename,omitempty"`
}
A complete relationship as rendered in POST, PATCH, and GET responses.
type RelationshipField ¶
type RelationshipField struct {
// The date and time object was created.
Created string `json:"created"`
Kind RelationshipFieldKind `json:"kind"`
// The date and time object was modified.
Modified string `json:"modified"`
// A unique source dataset ID.
Sourceid string `json:"sourceid"`
// A unique target dataset ID.
Targetid string `json:"targetid"`
// A unique relationship ID.
Relationshipid *string `json:"relationshipid,omitempty"`
}
A complete relationship field as rendered in POST, PATCH, and GET responses.
type RelationshipFieldKind ¶
type RelationshipFieldKind string
RelationshipFieldKind : The type of match between the fields. Must be one of the valid values. The LATEST_BEFORE match type specifies that the datetime field in one dataset binds to the latest time before the datetime field in another dataset.
const ( RelationshipFieldKindExact RelationshipFieldKind = "EXACT" RelationshipFieldKindLatestBefore RelationshipFieldKind = "LATEST_BEFORE" )
List of RelationshipFieldKind
type RelationshipFieldPost ¶
type RelationshipFieldPost struct {
Kind RelationshipFieldKind `json:"kind"`
// A unique source dataset ID.
Sourceid string `json:"sourceid"`
// A unique target dataset ID.
Targetid string `json:"targetid"`
// A unique relationship ID.
Relationshipid *string `json:"relationshipid,omitempty"`
}
The properties required to create a new relationship field using a relationship POST request.
type RelationshipFieldProperties ¶
type RelationshipFieldProperties struct {
Kind *RelationshipFieldKind `json:"kind,omitempty"`
// A unique relationship ID.
Relationshipid *string `json:"relationshipid,omitempty"`
// A unique source dataset ID.
Sourceid *string `json:"sourceid,omitempty"`
// A unique target dataset ID.
Targetid *string `json:"targetid,omitempty"`
}
Properties of relationship fields which are read through the API. Implementation detail of RelationshipFieldPOST. Do not use directly.
type RelationshipKind ¶
type RelationshipKind string
RelationshipKind : The relationship type. Must be one of the valid values.
const ( RelationshipKindOne RelationshipKind = "ONE" RelationshipKindMany RelationshipKind = "MANY" RelationshipKindDependency RelationshipKind = "DEPENDENCY" )
List of RelationshipKind
type RelationshipPatch ¶
type RelationshipPost ¶
type RelationshipPost struct {
Kind RelationshipKind `json:"kind"`
// The relationship name.
Name string `json:"name"`
// The fields associated with this relationship.
Fields []RelationshipFieldPost `json:"fields,omitempty"`
// A unique relationship ID. If not specified, an auto generated ID is created.
Id *string `json:"id,omitempty"`
// The module that contains the relationship.
Module *string `json:"module,omitempty"`
// A unique source dataset ID. Either the sourceid or sourceresourcename property must be specified.
Sourceid *string `json:"sourceid,omitempty"`
// The source dataset name qualified by module name. Either the sourceid or sourceresourcename property must be specified.
Sourceresourcename *string `json:"sourceresourcename,omitempty"`
// A unique target dataset ID. Either the targetid or targetresourcename property must be specified.
Targetid *string `json:"targetid,omitempty"`
// The target dataset name qualified by module name. Either the targetid or targetresourcename property must be specified.
Targetresourcename *string `json:"targetresourcename,omitempty"`
// The Catalog version.
Version *int32 `json:"version,omitempty"`
}
The properties required to create a new relationship using a POST request.
type RelationshipProperties ¶
type RelationshipProperties struct {
Kind *RelationshipKind `json:"kind,omitempty"`
// The module that contains the relationship.
Module *string `json:"module,omitempty"`
// The relationship name.
Name *string `json:"name,omitempty"`
// A unique source dataset ID. Either the sourceid or sourceresourcename property must be specified.
Sourceid *string `json:"sourceid,omitempty"`
// The source dataset name qualified by module name. Either the sourceid or sourceresourcename property must be specified.
Sourceresourcename *string `json:"sourceresourcename,omitempty"`
// A unique target dataset ID. Either the targetid or targetresourcename property must be specified.
Targetid *string `json:"targetid,omitempty"`
// The target dataset name qualified by module name. Either the targetid or targetresourcename property must be specified.
Targetresourcename *string `json:"targetresourcename,omitempty"`
// The Catalog version.
Version *int32 `json:"version,omitempty"`
}
Properties of relationships which are read through the API. Implementation detail of RelationshipPOST, RelationshipPATCH and Relationship. Do not use directly.
type Rule ¶
type Rule struct {
// The actions associated with the rule.
Actions []Action `json:"actions"`
// The date and time object was created.
Created string `json:"created"`
// The name of the user who created the object. This value is obtained from the bearer token and may not be changed.
Createdby string `json:"createdby"`
// A unique Rule ID.
Id string `json:"id"`
// The rule match type.
Match string `json:"match"`
// The date and time object was modified.
Modified string `json:"modified"`
// The name of the user who most recently modified the object.
Modifiedby string `json:"modifiedby"`
// The module containing the rule.
Module string `json:"module"`
// The rule name.
Name string `json:"name"`
// The name of the object's owner.
Owner string `json:"owner"`
// The rule name qualified by the module name.
Resourcename string `json:"resourcename"`
// The catalog version.
Version *int32 `json:"version,omitempty"`
}
A complete rule as rendered in POST, PATCH, and GET responses.
type RulePatch ¶
type RulePatch struct {
// The rule match type.
Match *string `json:"match,omitempty"`
// The module containing the rule.
Module *string `json:"module,omitempty"`
// The rule name.
Name *string `json:"name,omitempty"`
// The name of the user who owns the rule.
Owner *string `json:"owner,omitempty"`
// The catalog version.
Version *int32 `json:"version,omitempty"`
}
type RulePost ¶
type RulePost struct {
// The rule match type.
Match string `json:"match"`
// The rule name.
Name string `json:"name"`
// The actions to be associated with this rule.
Actions []ActionPost `json:"actions,omitempty"`
// A unique rule ID. The newly created rule object will use this ID value if provided.
Id *string `json:"id,omitempty"`
// The module containing the rule.
Module *string `json:"module,omitempty"`
// The catalog version.
Version *int32 `json:"version,omitempty"`
}
Initial property values for creating a new rule using a POST request.
type RuleProperties ¶
type RuleProperties struct {
// The rule match type.
Match *string `json:"match,omitempty"`
// The module containing the rule.
Module *string `json:"module,omitempty"`
// The rule name.
Name *string `json:"name,omitempty"`
// The catalog version.
Version *int32 `json:"version,omitempty"`
}
Properties of rules which may be read, set, and changed through the API. Implementation detail of RulePOST, RulePATCH, and Rule, do not use directly.
type Service ¶
type Service services.BaseService
func NewService ¶
NewService creates a new catalog service client from the given Config
func (*Service) CreateActionForRule ¶
func (s *Service) CreateActionForRule(ruleresourcename string, actionPost ActionPost, resp ...*http.Response) (*Action, error)
CreateActionForRule - catalog service endpoint Create a new action for a rule associated with a specific resource name. Parameters:
ruleresourcename: The resource name of a rule. For the default module, the resource name format is ruleName. Otherwise, the resource name format is module.ruleName. actionPost: The JSON representation of the action to be persisted. 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) CreateActionForRuleById ¶
func (s *Service) CreateActionForRuleById(ruleid string, actionPost ActionPost, resp ...*http.Response) (*Action, error)
CreateActionForRuleById - catalog service endpoint Create a new action for a specific rule. Parameters:
ruleid: ID of a Field. actionPost: The JSON representation of the action to be persisted. 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) CreateAnnotationForDashboardbyId ¶
func (s *Service) CreateAnnotationForDashboardbyId(dashboardid string, annotationPost AnnotationPost, resp ...*http.Response) (*Annotation, error)
CreateAnnotationForDashboardbyId - catalog service endpoint Create a new annotation for a specific dashboard. Parameters:
dashboardid: ID of a dashboard. annotationPost: The JSON representation of the annotation to be persisted. 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) CreateAnnotationForDashboardsByResourceName ¶
func (s *Service) CreateAnnotationForDashboardsByResourceName(dashboardresourcename string, annotationPost AnnotationPost, resp ...*http.Response) (*Annotation, error)
CreateAnnotationForDashboardsByResourceName - catalog service endpoint Create a new annotation for a specific dataset. Parameters:
dashboardresourcename: The resource name of a dashvboard. The resource name format is module.dashboardname. annotationPost: The JSON representation of the annotation to be persisted. 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) CreateAnnotationForDatasetById ¶
func (s *Service) CreateAnnotationForDatasetById(datasetid string, annotationPost AnnotationPost, resp ...*http.Response) (*Annotation, error)
CreateAnnotationForDatasetById - catalog service endpoint Create a new annotation for a specific dataset. Parameters:
datasetid: ID of a Dataset. annotationPost: The JSON representation of the annotation to be persisted. 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) CreateAnnotationForDatasetByResourceName ¶
func (s *Service) CreateAnnotationForDatasetByResourceName(datasetresourcename string, annotationPost AnnotationPost, resp ...*http.Response) (*Annotation, error)
CreateAnnotationForDatasetByResourceName - catalog service endpoint Create a new annotation for a specific dataset. Parameters:
datasetresourcename: The resource name of a dataset. For the default module, the resource name format is datasetName. Otherwise, the resource name format is module.datasetName. annotationPost: The JSON representation of the annotation to be persisted. 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) CreateDashboard ¶
func (s *Service) CreateDashboard(dashboardPost DashboardPost, resp ...*http.Response) (*Dashboard, error)
CreateDashboard - catalog service endpoint Create a new dashboard. Parameters:
dashboardPost: The JSON representation of the Dashboard to be persisted. 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) CreateDataset ¶
CreateDataset - catalog service endpoint Create a new dataset. Parameters:
datasetPost: JSON representation of the DatasetInfo to be persisted 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) CreateDatasetImport ¶
func (s *Service) CreateDatasetImport(datasetresourcename string, datasetImportedBy DatasetImportedBy, resp ...*http.Response) (*ImportDataset, error)
CreateDatasetImport - catalog service endpoint Create a new dataset import. Parameters:
datasetresourcename: The resource name of a dataset. For the default module, the resource name format is datasetName. Otherwise, the resource name format is module.datasetName. datasetImportedBy 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) CreateDatasetImportById ¶
func (s *Service) CreateDatasetImportById(datasetid string, datasetImportedBy DatasetImportedBy, resp ...*http.Response) (*ImportDataset, error)
CreateDatasetImportById - catalog service endpoint Create a new dataset import. Parameters:
datasetid: ID of a Dataset. datasetImportedBy 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) CreateDatasetImportByIdv1 ¶
func (s *Service) CreateDatasetImportByIdv1(datasetid string, datasetImportedBy DatasetImportedBy, resp ...*http.Response) (*DatasetImportedBy, error)
CreateDatasetImportByIdv1 - catalog service endpoint Create a new dataset import. Parameters:
datasetid: ID of a Dataset. datasetImportedBy 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) CreateDatasetImportv1 ¶
func (s *Service) CreateDatasetImportv1(datasetresourcename string, datasetImportedBy DatasetImportedBy, resp ...*http.Response) (*Dataset, error)
CreateDatasetImportv1 - catalog service endpoint Create a new dataset import. Parameters:
datasetresourcename: The resource name of a dataset. For the default module, the resource name format is datasetName. Otherwise, the resource name format is module.datasetName. datasetImportedBy 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) CreateFieldForDataset ¶
func (s *Service) CreateFieldForDataset(datasetresourcename string, fieldPost FieldPost, resp ...*http.Response) (*Field, error)
CreateFieldForDataset - catalog service endpoint Create a new field on a specific dataset. Parameters:
datasetresourcename: The resource name of a dataset. For the default module, the resource name format is datasetName. Otherwise, the resource name format is module.datasetName. fieldPost: The JSON representation of the field to be persisted. 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) CreateFieldForDatasetById ¶
func (s *Service) CreateFieldForDatasetById(datasetid string, fieldPost FieldPost, resp ...*http.Response) (*Field, error)
CreateFieldForDatasetById - catalog service endpoint Add a new field to a dataset. Parameters:
datasetid: ID of a Dataset. fieldPost: The JSON representation of the field to be persisted. 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) CreateRelationship ¶
func (s *Service) CreateRelationship(relationshipPost RelationshipPost, resp ...*http.Response) (*Relationship, error)
CreateRelationship - catalog service endpoint Create a new relationship. Parameters:
relationshipPost: The JSON representation of the relationship to persist. 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) CreateRule ¶
CreateRule - catalog service endpoint Create a new rule. Parameters:
rulePost: The JSON representation of the rule to be persisted. 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) CreateWorkflow ¶
func (s *Service) CreateWorkflow(workflowPost WorkflowPost, resp ...*http.Response) (*Workflow, error)
CreateWorkflow - catalog service endpoint Create a new workflow configuration. Parameters:
workflowPost: The JSON representation of the workflow to be persisted. 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) CreateWorkflowBuild ¶
func (s *Service) CreateWorkflowBuild(workflowid string, workflowBuildPost WorkflowBuildPost, resp ...*http.Response) (*WorkflowBuild, error)
CreateWorkflowBuild - catalog service endpoint Create a new workflow build. Parameters:
workflowid: ID of a workflow. workflowBuildPost: The JSON representation of the workflow build to be persisted. 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) CreateWorkflowRun ¶
func (s *Service) CreateWorkflowRun(workflowid string, workflowbuildid string, workflowRunPost WorkflowRunPost, resp ...*http.Response) (*WorkflowRun, error)
CreateWorkflowRun - catalog service endpoint Create a new workflow run for the specified workflow build ID. Parameters:
workflowid: ID of a workflow. workflowbuildid: ID of a workflow build. workflowRunPost: The JSON representation of the workflow run to be persisted. 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) DeleteActionByIdForRule ¶
func (s *Service) DeleteActionByIdForRule(ruleresourcename string, actionid string, resp ...*http.Response) error
DeleteActionByIdForRule - catalog service endpoint Delete an action on a rule. Parameters:
ruleresourcename: The resource name of a rule. For the default module, the resource name format is ruleName. Otherwise, the resource name format is module.ruleName. actionid: ID of an Action. 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) DeleteActionByIdForRuleById ¶
func (s *Service) DeleteActionByIdForRuleById(ruleid string, actionid string, resp ...*http.Response) error
DeleteActionByIdForRuleById - catalog service endpoint Delete an action that is part of a specific rule. Parameters:
ruleid: ID of a Field. actionid: ID of an Action. 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) DeleteAnnotationOfDashboardById ¶
func (s *Service) DeleteAnnotationOfDashboardById(dashboardid string, annotationid string, resp ...*http.Response) error
DeleteAnnotationOfDashboardById - catalog service endpoint Delete a specific annotation of a dashboard. Parameters:
dashboardid: ID of a dashboard. annotationid: ID of a annotation. 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) DeleteAnnotationOfDashboardByResourceName ¶
func (s *Service) DeleteAnnotationOfDashboardByResourceName(dashboardresourcename string, annotationid string, resp ...*http.Response) error
DeleteAnnotationOfDashboardByResourceName - catalog service endpoint Delete a specific annotation of a dashboard. Parameters:
dashboardresourcename: The resource name of a dashvboard. The resource name format is module.dashboardname. annotationid: ID of a annotation. 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) DeleteAnnotationOfDatasetById ¶
func (s *Service) DeleteAnnotationOfDatasetById(datasetid string, annotationid string, resp ...*http.Response) error
DeleteAnnotationOfDatasetById - catalog service endpoint Delete a specific annotation of a dataset. Parameters:
datasetid: ID of a Dataset. annotationid: ID of a annotation. 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) DeleteAnnotationOfDatasetByResourceName ¶
func (s *Service) DeleteAnnotationOfDatasetByResourceName(datasetresourcename string, annotationid string, resp ...*http.Response) error
DeleteAnnotationOfDatasetByResourceName - catalog service endpoint Delete a specific annotation of a dataset. Parameters:
datasetresourcename: The resource name of a dataset. For the default module, the resource name format is datasetName. Otherwise, the resource name format is module.datasetName. annotationid: ID of a annotation. 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) DeleteDashboardById ¶
DeleteDashboardById - catalog service endpoint Delete the dashboard with the specified ID. Parameters:
dashboardid: ID of a dashboard. 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) DeleteDashboardByResourceName ¶
func (s *Service) DeleteDashboardByResourceName(dashboardresourcename string, resp ...*http.Response) error
DeleteDashboardByResourceName - catalog service endpoint Delete the dashboard with the specified resource name. Parameters:
dashboardresourcename: The resource name of a dashvboard. The resource name format is module.dashboardname. 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) DeleteDataset ¶
DeleteDataset - catalog service endpoint Delete the dataset with the specified resource name, along with its dependencies. For the default module, the resource name format is datasetName. Otherwise, the resource name format is module.datasetName. Parameters:
datasetresourcename: The resource name of a dataset. For the default module, the resource name format is datasetName. Otherwise, the resource name format is module.datasetName. 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) DeleteDatasetById ¶
DeleteDatasetById - catalog service endpoint Delete a specific dataset. Deleting a dataset also deletes its dependent objects, such as fields. Parameters:
datasetid: ID of a Dataset. 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) DeleteFieldByIdForDataset ¶
func (s *Service) DeleteFieldByIdForDataset(datasetresourcename string, fieldid string, resp ...*http.Response) error
DeleteFieldByIdForDataset - catalog service endpoint Delete a field that is part of a specific dataset. Parameters:
datasetresourcename: The resource name of a dataset. For the default module, the resource name format is datasetName. Otherwise, the resource name format is module.datasetName. fieldid: ID of a Field. 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) DeleteFieldByIdForDatasetById ¶
func (s *Service) DeleteFieldByIdForDatasetById(datasetid string, fieldid string, resp ...*http.Response) error
DeleteFieldByIdForDatasetById - catalog service endpoint Delete a field that is part of a specific dataset. Parameters:
datasetid: ID of a Dataset. fieldid: ID of a Field. 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) DeleteRelationshipById ¶
DeleteRelationshipById - catalog service endpoint Delete a specific relationship. Deleting a relationship also deleletes any objects that are dependents of that relationship, such as relationship fields. Parameters:
relationshipid: ID of a relationship. 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) DeleteRule ¶
DeleteRule - catalog service endpoint Delete the rule with the specified resource name and its dependencies. Parameters:
ruleresourcename: The resource name of a rule. For the default module, the resource name format is ruleName. Otherwise, the resource name format is module.ruleName. 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) DeleteRuleById ¶
DeleteRuleById - catalog service endpoint Delete a specific rule. Deleting a rule also deleletes any objects that are dependents of that rule, such as rule actions. Parameters:
ruleid: ID of a Field. 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) DeleteWorkflowBuildById ¶
func (s *Service) DeleteWorkflowBuildById(workflowid string, workflowbuildid string, resp ...*http.Response) error
DeleteWorkflowBuildById - catalog service endpoint Delete the workflow build with the specified workflow build ID. Parameters:
workflowid: ID of a workflow. workflowbuildid: ID of a workflow build. 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) DeleteWorkflowById ¶
DeleteWorkflowById - catalog service endpoint Delete the workflow with the specified workflow ID. Parameters:
workflowid: ID of a workflow. 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) DeleteWorkflowRunById ¶
func (s *Service) DeleteWorkflowRunById(workflowid string, workflowbuildid string, workflowrunid string, resp ...*http.Response) error
DeleteWorkflowRunById - catalog service endpoint Delete the workflow run with the specified workflow run ID. Parameters:
workflowid: ID of a workflow. workflowbuildid: ID of a workflow build. workflowrunid: ID of a workflow run. 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) GetActionByIdForRule ¶
func (s *Service) GetActionByIdForRule(ruleresourcename string, actionid string, resp ...*http.Response) (*Action, error)
GetActionByIdForRule - catalog service endpoint Return an action that is part of a specified rule. Parameters:
ruleresourcename: The resource name of a rule. For the default module, the resource name format is ruleName. Otherwise, the resource name format is module.ruleName. actionid: ID of an Action. 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) GetActionByIdForRuleById ¶
func (s *Service) GetActionByIdForRuleById(ruleid string, actionid string, resp ...*http.Response) (*Action, error)
GetActionByIdForRuleById - catalog service endpoint Return information about an action that is part of a specific rule. Parameters:
ruleid: ID of a Field. actionid: ID of an Action. 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) GetDashboardById ¶
GetDashboardById - catalog service endpoint Return information about a dashboard with the specified ID. Parameters:
dashboardid: ID of a dashboard. 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) GetDashboardByResourceName ¶
func (s *Service) GetDashboardByResourceName(dashboardresourcename string, resp ...*http.Response) (*Dashboard, error)
GetDashboardByResourceName - catalog service endpoint Return information about a dashboard with the specified resource name. Parameters:
dashboardresourcename: The resource name of a dashvboard. The resource name format is module.dashboardname. 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) GetDataset ¶
GetDataset - catalog service endpoint Return the dataset with the specified resource name. For the default module, the resource name format is datasetName. Otherwise, the resource name format is module.datasetName. Parameters:
datasetresourcename: The resource name of a dataset. For the default module, the resource name format is datasetName. Otherwise, the resource name format is module.datasetName. 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) GetDatasetById ¶
GetDatasetById - catalog service endpoint Return information about the dataset with the specified ID. Parameters:
datasetid: ID of a Dataset. 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) GetFieldById ¶
GetFieldById - catalog service endpoint Get a field that corresponds to a specific field ID. Parameters:
fieldid: ID of a Field. 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) GetFieldByIdForDataset ¶
func (s *Service) GetFieldByIdForDataset(datasetresourcename string, fieldid string, resp ...*http.Response) (*Field, error)
GetFieldByIdForDataset - catalog service endpoint Return a field that is part of a specific dataset. Parameters:
datasetresourcename: The resource name of a dataset. For the default module, the resource name format is datasetName. Otherwise, the resource name format is module.datasetName. fieldid: ID of a Field. 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) GetFieldByIdForDatasetById ¶
func (s *Service) GetFieldByIdForDatasetById(datasetid string, fieldid string, resp ...*http.Response) (*Field, error)
GetFieldByIdForDatasetById - catalog service endpoint Return a field that is part of a specific dataset. Parameters:
datasetid: ID of a Dataset. fieldid: ID of a Field. 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) GetRelationshipById ¶
func (s *Service) GetRelationshipById(relationshipid string, resp ...*http.Response) (*Relationship, error)
GetRelationshipById - catalog service endpoint Get a specific relationship. Parameters:
relationshipid: ID of a relationship. 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) GetRule ¶
GetRule - catalog service endpoint Get a rule with a specified resource name. Parameters:
ruleresourcename: The resource name of a rule. For the default module, the resource name format is ruleName. Otherwise, the resource name format is module.ruleName. 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) GetRuleById ¶
GetRuleById - catalog service endpoint Get information about a specific rule. Parameters:
ruleid: ID of a Field. 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) GetWorkflowBuildById ¶
func (s *Service) GetWorkflowBuildById(workflowid string, workflowbuildid string, resp ...*http.Response) (*WorkflowBuild, error)
GetWorkflowBuildById - catalog service endpoint Return information about the workflow build with the specified workflow build ID. Parameters:
workflowid: ID of a workflow. workflowbuildid: ID of a workflow build. 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) GetWorkflowById ¶
GetWorkflowById - catalog service endpoint Return information about a workflow with the specified workflow ID. Parameters:
workflowid: ID of a workflow. 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) GetWorkflowRunById ¶
func (s *Service) GetWorkflowRunById(workflowid string, workflowbuildid string, workflowrunid string, resp ...*http.Response) (*WorkflowRun, error)
GetWorkflowRunById - catalog service endpoint Return information about the workflow run with the specified workflow build ID. Parameters:
workflowid: ID of a workflow. workflowbuildid: ID of a workflow build. workflowrunid: ID of a workflow run. 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) ListActionsForRule ¶
func (s *Service) ListActionsForRule(ruleresourcename string, query *ListActionsForRuleQueryParams, resp ...*http.Response) ([]Action, error)
ListActionsForRule - catalog service endpoint Return the list of actions that are part of a specified rule. Parameters:
ruleresourcename: The resource name of a rule. For the default module, the resource name format is ruleName. Otherwise, the resource name format is module.ruleName. 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) ListActionsForRuleById ¶
func (s *Service) ListActionsForRuleById(ruleid string, query *ListActionsForRuleByIdQueryParams, resp ...*http.Response) ([]Action, error)
ListActionsForRuleById - catalog service endpoint Return the set of actions that are part of a rule. Parameters:
ruleid: ID of a Field. 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) ListAnnotationsForDashboardById ¶
func (s *Service) ListAnnotationsForDashboardById(dashboardid string, query *ListAnnotationsForDashboardByIdQueryParams, resp ...*http.Response) ([]Annotation, error)
ListAnnotationsForDashboardById - catalog service endpoint Return the set of annotations that are part of a dashboard. Parameters:
dashboardid: ID of a dashboard. 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) ListAnnotationsForDashboardByResourceName ¶
func (s *Service) ListAnnotationsForDashboardByResourceName(dashboardresourcename string, query *ListAnnotationsForDashboardByResourceNameQueryParams, resp ...*http.Response) ([]Annotation, error)
ListAnnotationsForDashboardByResourceName - catalog service endpoint Return the set of annotations that are part of a dashboard. Parameters:
dashboardresourcename: The resource name of a dashvboard. The resource name format is module.dashboardname. 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) ListAnnotationsForDatasetById ¶
func (s *Service) ListAnnotationsForDatasetById(datasetid string, query *ListAnnotationsForDatasetByIdQueryParams, resp ...*http.Response) ([]Annotation, error)
ListAnnotationsForDatasetById - catalog service endpoint Return the set of annotations that are part of a dataset. Parameters:
datasetid: ID of a Dataset. 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) ListAnnotationsForDatasetByResourceName ¶
func (s *Service) ListAnnotationsForDatasetByResourceName(datasetresourcename string, query *ListAnnotationsForDatasetByResourceNameQueryParams, resp ...*http.Response) ([]Annotation, error)
ListAnnotationsForDatasetByResourceName - catalog service endpoint Return the set of annotations that are part of a dataset. Parameters:
datasetresourcename: The resource name of a dataset. For the default module, the resource name format is datasetName. Otherwise, the resource name format is module.datasetName. 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) ListDashboards ¶
func (s *Service) ListDashboards(query *ListDashboardsQueryParams, resp ...*http.Response) ([]Dashboard, error)
ListDashboards - catalog service endpoint Return a list of Dashboards. 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) ListDatasets ¶
func (s *Service) ListDatasets(query *ListDatasetsQueryParams, resp ...*http.Response) ([]Dataset, error)
ListDatasets - catalog service endpoint Returns a list of all datasets, unless you specify a filter. Use a filter to return a specific list of datasets. 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) ListFields ¶
ListFields - catalog service endpoint Get a list of all fields in the Catalog. 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) ListFieldsForDataset ¶
func (s *Service) ListFieldsForDataset(datasetresourcename string, query *ListFieldsForDatasetQueryParams, resp ...*http.Response) ([]Field, error)
ListFieldsForDataset - catalog service endpoint Return the list of fields that are part of a specified dataset. Parameters:
datasetresourcename: The resource name of a dataset. For the default module, the resource name format is datasetName. Otherwise, the resource name format is module.datasetName. 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) ListFieldsForDatasetById ¶
func (s *Service) ListFieldsForDatasetById(datasetid string, query *ListFieldsForDatasetByIdQueryParams, resp ...*http.Response) ([]Field, error)
ListFieldsForDatasetById - catalog service endpoint Return the set of fields for the specified dataset. Parameters:
datasetid: ID of a Dataset. 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) ListModules ¶
func (s *Service) ListModules(query *ListModulesQueryParams, resp ...*http.Response) ([]Module, error)
ListModules - catalog service endpoint Return a list of all modules, unless you specify a filter. Use a filter to return a specific list of modules. 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) ListRelationships ¶
func (s *Service) ListRelationships(query *ListRelationshipsQueryParams, resp ...*http.Response) ([]Relationship, error)
ListRelationships - catalog service endpoint Returns a list of all relationships, unless you specify a filter. Use a filter to return a specific list of relationships. 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) ListRules ¶
ListRules - catalog service endpoint Return a list of rules that match a filter query if it is given, otherwise return all rules. 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) ListWorkflowBuilds ¶
func (s *Service) ListWorkflowBuilds(workflowid string, query *ListWorkflowBuildsQueryParams, resp ...*http.Response) ([]WorkflowBuild, error)
ListWorkflowBuilds - catalog service endpoint Return a list of Machine Learning workflow builds. Parameters:
workflowid: ID of a workflow. 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) ListWorkflowRuns ¶
func (s *Service) ListWorkflowRuns(workflowid string, workflowbuildid string, query *ListWorkflowRunsQueryParams, resp ...*http.Response) ([]WorkflowRun, error)
ListWorkflowRuns - catalog service endpoint Return a list of Machine Learning workflow runs for specified workflow build ID. Parameters:
workflowid: ID of a workflow. workflowbuildid: ID of a workflow build. 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) ListWorkflows ¶
func (s *Service) ListWorkflows(query *ListWorkflowsQueryParams, resp ...*http.Response) ([]Workflow, error)
ListWorkflows - catalog service endpoint Return a list of Machine Learning workflow configurations. 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) UpdateActionByIdForRule ¶
func (s *Service) UpdateActionByIdForRule(ruleresourcename string, actionid string, actionPatch ActionPatch, resp ...*http.Response) (*Action, error)
UpdateActionByIdForRule - catalog service endpoint Update the Action with the specified id for the specified Rule Parameters:
ruleresourcename: The resource name of a rule. For the default module, the resource name format is ruleName. Otherwise, the resource name format is module.ruleName. actionid: ID of an Action. actionPatch: The fields to update in the specified action. 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) UpdateActionByIdForRuleById ¶
func (s *Service) UpdateActionByIdForRuleById(ruleid string, actionid string, actionPatch ActionPatch, resp ...*http.Response) (*Action, error)
UpdateActionByIdForRuleById - catalog service endpoint Update an action for a specific rule. Parameters:
ruleid: ID of a Field. actionid: ID of an Action. actionPatch: The properties to update in the specified action. 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) UpdateDashboardById ¶
func (s *Service) UpdateDashboardById(dashboardid string, dashboardPatch DashboardPatch, resp ...*http.Response) (*Dashboard, error)
UpdateDashboardById - catalog service endpoint Update the dashboard with the specified ID. Parameters:
dashboardid: ID of a dashboard. dashboardPatch: An updated representation of the dashboard to be persisted. 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) UpdateDashboardByResourceName ¶
func (s *Service) UpdateDashboardByResourceName(dashboardresourcename string, dashboardPatch DashboardPatch, resp ...*http.Response) error
UpdateDashboardByResourceName - catalog service endpoint Update the dashboard with the specified resource name. Parameters:
dashboardresourcename: The resource name of a dashvboard. The resource name format is module.dashboardname. dashboardPatch: An updated representation of the dashboard to be persisted. 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) UpdateDataset ¶
func (s *Service) UpdateDataset(datasetresourcename string, datasetPatch DatasetPatch, resp ...*http.Response) (*Dataset, error)
UpdateDataset - catalog service endpoint Update the dataset with the specified resource name. For the default module, the resource name format is datasetName. Otherwise, the resource name format is module.datasetName. Parameters:
datasetresourcename: The resource name of a dataset. For the default module, the resource name format is datasetName. Otherwise, the resource name format is module.datasetName. datasetPatch: An updated representation of the dataset to be persisted. 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) UpdateDatasetById ¶
func (s *Service) UpdateDatasetById(datasetid string, datasetPatch DatasetPatch, resp ...*http.Response) (*Dataset, error)
UpdateDatasetById - catalog service endpoint Update a specific dataset. Parameters:
datasetid: ID of a Dataset. datasetPatch: An updated representation of the dataset to be persisted. 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) UpdateFieldByIdForDataset ¶
func (s *Service) UpdateFieldByIdForDataset(datasetresourcename string, fieldid string, fieldPatch FieldPatch, resp ...*http.Response) (*Field, error)
UpdateFieldByIdForDataset - catalog service endpoint Update a field with a specified ID for a specified dataset. Parameters:
datasetresourcename: The resource name of a dataset. For the default module, the resource name format is datasetName. Otherwise, the resource name format is module.datasetName. fieldid: ID of a Field. fieldPatch: The properties to update in the specified field. 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) UpdateFieldByIdForDatasetById ¶
func (s *Service) UpdateFieldByIdForDatasetById(datasetid string, fieldid string, fieldPatch FieldPatch, resp ...*http.Response) (*Field, error)
UpdateFieldByIdForDatasetById - catalog service endpoint Update a field for a specific dataset. Parameters:
datasetid: ID of a Dataset. fieldid: ID of a Field. fieldPatch: The properties to update in the specified field. 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) UpdateRelationshipById ¶
func (s *Service) UpdateRelationshipById(relationshipid string, relationshipPatch RelationshipPatch, resp ...*http.Response) (*Relationship, error)
UpdateRelationshipById - catalog service endpoint Update a specific relationship. Parameters:
relationshipid: ID of a relationship. relationshipPatch: The properties to update in the specified relationship. 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) UpdateRule ¶
func (s *Service) UpdateRule(ruleresourcename string, rulePatch RulePatch, resp ...*http.Response) (*Rule, error)
UpdateRule - catalog service endpoint Update the Rule with the specified resourcename Parameters:
ruleresourcename: The resource name of a rule. For the default module, the resource name format is ruleName. Otherwise, the resource name format is module.ruleName. rulePatch: The properties to update in the specified rule. 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) UpdateRuleById ¶
func (s *Service) UpdateRuleById(ruleid string, rulePatch RulePatch, resp ...*http.Response) (*Rule, error)
UpdateRuleById - catalog service endpoint Update a specific rule. Parameters:
ruleid: ID of a Field. rulePatch: The properties to update in the specified rule. 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) UpdateWorkflowBuildById ¶
func (s *Service) UpdateWorkflowBuildById(workflowid string, workflowbuildid string, workflowBuildPatch WorkflowBuildPatch, resp ...*http.Response) error
UpdateWorkflowBuildById - catalog service endpoint Update the workflow build with the specified workflow build ID. Parameters:
workflowid: ID of a workflow. workflowbuildid: ID of a workflow build. workflowBuildPatch: An updated representation of the workflow build to be persisted. 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) UpdateWorkflowById ¶
func (s *Service) UpdateWorkflowById(workflowid string, workflowPatch WorkflowPatch, resp ...*http.Response) error
UpdateWorkflowById - catalog service endpoint Update the workflow with the specified workflow ID. Parameters:
workflowid: ID of a workflow. workflowPatch: An updated representation of the workflow to be persisted. 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) UpdateWorkflowRunById ¶
func (s *Service) UpdateWorkflowRunById(workflowid string, workflowbuildid string, workflowrunid string, workflowRunPatch WorkflowRunPatch, resp ...*http.Response) error
UpdateWorkflowRunById - catalog service endpoint Update the workflow run with the specified workflow run ID. Parameters:
workflowid: ID of a workflow. workflowbuildid: ID of a workflow build. workflowrunid: ID of a workflow run. workflowRunPatch: An updated representation of the workflow run to be persisted. 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 {
/*
CreateActionForRule - catalog service endpoint
Create a new action for a rule associated with a specific resource name.
Parameters:
ruleresourcename: The resource name of a rule. For the default module, the resource name format is ruleName. Otherwise, the resource name format is module.ruleName.
actionPost: The JSON representation of the action to be persisted.
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
*/
CreateActionForRule(ruleresourcename string, actionPost ActionPost, resp ...*http.Response) (*Action, error)
/*
CreateActionForRuleById - catalog service endpoint
Create a new action for a specific rule.
Parameters:
ruleid: ID of a Field.
actionPost: The JSON representation of the action to be persisted.
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
*/
CreateActionForRuleById(ruleid string, actionPost ActionPost, resp ...*http.Response) (*Action, error)
/*
CreateAnnotationForDashboardbyId - catalog service endpoint
Create a new annotation for a specific dashboard.
Parameters:
dashboardid: ID of a dashboard.
annotationPost: The JSON representation of the annotation to be persisted.
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
*/
CreateAnnotationForDashboardbyId(dashboardid string, annotationPost AnnotationPost, resp ...*http.Response) (*Annotation, error)
/*
CreateAnnotationForDashboardsByResourceName - catalog service endpoint
Create a new annotation for a specific dataset.
Parameters:
dashboardresourcename: The resource name of a dashvboard. The resource name format is module.dashboardname.
annotationPost: The JSON representation of the annotation to be persisted.
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
*/
CreateAnnotationForDashboardsByResourceName(dashboardresourcename string, annotationPost AnnotationPost, resp ...*http.Response) (*Annotation, error)
/*
CreateAnnotationForDatasetById - catalog service endpoint
Create a new annotation for a specific dataset.
Parameters:
datasetid: ID of a Dataset.
annotationPost: The JSON representation of the annotation to be persisted.
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
*/
CreateAnnotationForDatasetById(datasetid string, annotationPost AnnotationPost, resp ...*http.Response) (*Annotation, error)
/*
CreateAnnotationForDatasetByResourceName - catalog service endpoint
Create a new annotation for a specific dataset.
Parameters:
datasetresourcename: The resource name of a dataset. For the default module, the resource name format is datasetName. Otherwise, the resource name format is module.datasetName.
annotationPost: The JSON representation of the annotation to be persisted.
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
*/
CreateAnnotationForDatasetByResourceName(datasetresourcename string, annotationPost AnnotationPost, resp ...*http.Response) (*Annotation, error)
/*
CreateDashboard - catalog service endpoint
Create a new dashboard.
Parameters:
dashboardPost: The JSON representation of the Dashboard to be persisted.
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
*/
CreateDashboard(dashboardPost DashboardPost, resp ...*http.Response) (*Dashboard, error)
/*
CreateDataset - catalog service endpoint
Create a new dataset.
Parameters:
datasetPost: JSON representation of the DatasetInfo to be persisted
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
*/
CreateDataset(datasetPost DatasetPost, resp ...*http.Response) (*Dataset, error)
/*
CreateDatasetImport - catalog service endpoint
Create a new dataset import.
Parameters:
datasetresourcename: The resource name of a dataset. For the default module, the resource name format is datasetName. Otherwise, the resource name format is module.datasetName.
datasetImportedBy
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
*/
CreateDatasetImport(datasetresourcename string, datasetImportedBy DatasetImportedBy, resp ...*http.Response) (*ImportDataset, error)
/*
CreateDatasetImportById - catalog service endpoint
Create a new dataset import.
Parameters:
datasetid: ID of a Dataset.
datasetImportedBy
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
*/
CreateDatasetImportById(datasetid string, datasetImportedBy DatasetImportedBy, resp ...*http.Response) (*ImportDataset, error)
/*
CreateDatasetImportByIdv1 - catalog service endpoint
Create a new dataset import.
Parameters:
datasetid: ID of a Dataset.
datasetImportedBy
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
*/
CreateDatasetImportByIdv1(datasetid string, datasetImportedBy DatasetImportedBy, resp ...*http.Response) (*DatasetImportedBy, error)
/*
CreateDatasetImportv1 - catalog service endpoint
Create a new dataset import.
Parameters:
datasetresourcename: The resource name of a dataset. For the default module, the resource name format is datasetName. Otherwise, the resource name format is module.datasetName.
datasetImportedBy
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
*/
CreateDatasetImportv1(datasetresourcename string, datasetImportedBy DatasetImportedBy, resp ...*http.Response) (*Dataset, error)
/*
CreateFieldForDataset - catalog service endpoint
Create a new field on a specific dataset.
Parameters:
datasetresourcename: The resource name of a dataset. For the default module, the resource name format is datasetName. Otherwise, the resource name format is module.datasetName.
fieldPost: The JSON representation of the field to be persisted.
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
*/
CreateFieldForDataset(datasetresourcename string, fieldPost FieldPost, resp ...*http.Response) (*Field, error)
/*
CreateFieldForDatasetById - catalog service endpoint
Add a new field to a dataset.
Parameters:
datasetid: ID of a Dataset.
fieldPost: The JSON representation of the field to be persisted.
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
*/
CreateFieldForDatasetById(datasetid string, fieldPost FieldPost, resp ...*http.Response) (*Field, error)
/*
CreateRelationship - catalog service endpoint
Create a new relationship.
Parameters:
relationshipPost: The JSON representation of the relationship to persist.
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
*/
CreateRelationship(relationshipPost RelationshipPost, resp ...*http.Response) (*Relationship, error)
/*
CreateRule - catalog service endpoint
Create a new rule.
Parameters:
rulePost: The JSON representation of the rule to be persisted.
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
*/
CreateRule(rulePost RulePost, resp ...*http.Response) (*Rule, error)
/*
CreateWorkflow - catalog service endpoint
Create a new workflow configuration.
Parameters:
workflowPost: The JSON representation of the workflow to be persisted.
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
*/
CreateWorkflow(workflowPost WorkflowPost, resp ...*http.Response) (*Workflow, error)
/*
CreateWorkflowBuild - catalog service endpoint
Create a new workflow build.
Parameters:
workflowid: ID of a workflow.
workflowBuildPost: The JSON representation of the workflow build to be persisted.
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
*/
CreateWorkflowBuild(workflowid string, workflowBuildPost WorkflowBuildPost, resp ...*http.Response) (*WorkflowBuild, error)
/*
CreateWorkflowRun - catalog service endpoint
Create a new workflow run for the specified workflow build ID.
Parameters:
workflowid: ID of a workflow.
workflowbuildid: ID of a workflow build.
workflowRunPost: The JSON representation of the workflow run to be persisted.
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
*/
CreateWorkflowRun(workflowid string, workflowbuildid string, workflowRunPost WorkflowRunPost, resp ...*http.Response) (*WorkflowRun, error)
/*
DeleteActionByIdForRule - catalog service endpoint
Delete an action on a rule.
Parameters:
ruleresourcename: The resource name of a rule. For the default module, the resource name format is ruleName. Otherwise, the resource name format is module.ruleName.
actionid: ID of an Action.
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
*/
DeleteActionByIdForRule(ruleresourcename string, actionid string, resp ...*http.Response) error
/*
DeleteActionByIdForRuleById - catalog service endpoint
Delete an action that is part of a specific rule.
Parameters:
ruleid: ID of a Field.
actionid: ID of an Action.
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
*/
DeleteActionByIdForRuleById(ruleid string, actionid string, resp ...*http.Response) error
/*
DeleteAnnotationOfDashboardById - catalog service endpoint
Delete a specific annotation of a dashboard.
Parameters:
dashboardid: ID of a dashboard.
annotationid: ID of a annotation.
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
*/
DeleteAnnotationOfDashboardById(dashboardid string, annotationid string, resp ...*http.Response) error
/*
DeleteAnnotationOfDashboardByResourceName - catalog service endpoint
Delete a specific annotation of a dashboard.
Parameters:
dashboardresourcename: The resource name of a dashvboard. The resource name format is module.dashboardname.
annotationid: ID of a annotation.
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
*/
DeleteAnnotationOfDashboardByResourceName(dashboardresourcename string, annotationid string, resp ...*http.Response) error
/*
DeleteAnnotationOfDatasetById - catalog service endpoint
Delete a specific annotation of a dataset.
Parameters:
datasetid: ID of a Dataset.
annotationid: ID of a annotation.
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
*/
DeleteAnnotationOfDatasetById(datasetid string, annotationid string, resp ...*http.Response) error
/*
DeleteAnnotationOfDatasetByResourceName - catalog service endpoint
Delete a specific annotation of a dataset.
Parameters:
datasetresourcename: The resource name of a dataset. For the default module, the resource name format is datasetName. Otherwise, the resource name format is module.datasetName.
annotationid: ID of a annotation.
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
*/
DeleteAnnotationOfDatasetByResourceName(datasetresourcename string, annotationid string, resp ...*http.Response) error
/*
DeleteDashboardById - catalog service endpoint
Delete the dashboard with the specified ID.
Parameters:
dashboardid: ID of a dashboard.
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
*/
DeleteDashboardById(dashboardid string, resp ...*http.Response) error
/*
DeleteDashboardByResourceName - catalog service endpoint
Delete the dashboard with the specified resource name.
Parameters:
dashboardresourcename: The resource name of a dashvboard. The resource name format is module.dashboardname.
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
*/
DeleteDashboardByResourceName(dashboardresourcename string, resp ...*http.Response) error
/*
DeleteDataset - catalog service endpoint
Delete the dataset with the specified resource name, along with its dependencies. For the default module, the resource name format is datasetName. Otherwise, the resource name format is module.datasetName.
Parameters:
datasetresourcename: The resource name of a dataset. For the default module, the resource name format is datasetName. Otherwise, the resource name format is module.datasetName.
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
*/
DeleteDataset(datasetresourcename string, resp ...*http.Response) error
/*
DeleteDatasetById - catalog service endpoint
Delete a specific dataset. Deleting a dataset also deletes its dependent objects, such as fields.
Parameters:
datasetid: ID of a Dataset.
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
*/
DeleteDatasetById(datasetid string, resp ...*http.Response) error
/*
DeleteFieldByIdForDataset - catalog service endpoint
Delete a field that is part of a specific dataset.
Parameters:
datasetresourcename: The resource name of a dataset. For the default module, the resource name format is datasetName. Otherwise, the resource name format is module.datasetName.
fieldid: ID of a Field.
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
*/
DeleteFieldByIdForDataset(datasetresourcename string, fieldid string, resp ...*http.Response) error
/*
DeleteFieldByIdForDatasetById - catalog service endpoint
Delete a field that is part of a specific dataset.
Parameters:
datasetid: ID of a Dataset.
fieldid: ID of a Field.
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
*/
DeleteFieldByIdForDatasetById(datasetid string, fieldid string, resp ...*http.Response) error
/*
DeleteRelationshipById - catalog service endpoint
Delete a specific relationship. Deleting a relationship also deleletes any objects that are dependents of that relationship, such as relationship fields.
Parameters:
relationshipid: ID of a relationship.
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
*/
DeleteRelationshipById(relationshipid string, resp ...*http.Response) error
/*
DeleteRule - catalog service endpoint
Delete the rule with the specified resource name and its dependencies.
Parameters:
ruleresourcename: The resource name of a rule. For the default module, the resource name format is ruleName. Otherwise, the resource name format is module.ruleName.
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
*/
DeleteRule(ruleresourcename string, resp ...*http.Response) error
/*
DeleteRuleById - catalog service endpoint
Delete a specific rule. Deleting a rule also deleletes any objects that are dependents of that rule, such as rule actions.
Parameters:
ruleid: ID of a Field.
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
*/
DeleteRuleById(ruleid string, resp ...*http.Response) error
/*
DeleteWorkflowBuildById - catalog service endpoint
Delete the workflow build with the specified workflow build ID.
Parameters:
workflowid: ID of a workflow.
workflowbuildid: ID of a workflow build.
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
*/
DeleteWorkflowBuildById(workflowid string, workflowbuildid string, resp ...*http.Response) error
/*
DeleteWorkflowById - catalog service endpoint
Delete the workflow with the specified workflow ID.
Parameters:
workflowid: ID of a workflow.
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
*/
DeleteWorkflowById(workflowid string, resp ...*http.Response) error
/*
DeleteWorkflowRunById - catalog service endpoint
Delete the workflow run with the specified workflow run ID.
Parameters:
workflowid: ID of a workflow.
workflowbuildid: ID of a workflow build.
workflowrunid: ID of a workflow run.
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
*/
DeleteWorkflowRunById(workflowid string, workflowbuildid string, workflowrunid string, resp ...*http.Response) error
/*
GetActionByIdForRule - catalog service endpoint
Return an action that is part of a specified rule.
Parameters:
ruleresourcename: The resource name of a rule. For the default module, the resource name format is ruleName. Otherwise, the resource name format is module.ruleName.
actionid: ID of an Action.
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
*/
GetActionByIdForRule(ruleresourcename string, actionid string, resp ...*http.Response) (*Action, error)
/*
GetActionByIdForRuleById - catalog service endpoint
Return information about an action that is part of a specific rule.
Parameters:
ruleid: ID of a Field.
actionid: ID of an Action.
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
*/
GetActionByIdForRuleById(ruleid string, actionid string, resp ...*http.Response) (*Action, error)
/*
GetDashboardById - catalog service endpoint
Return information about a dashboard with the specified ID.
Parameters:
dashboardid: ID of a dashboard.
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
*/
GetDashboardById(dashboardid string, resp ...*http.Response) (*Dashboard, error)
/*
GetDashboardByResourceName - catalog service endpoint
Return information about a dashboard with the specified resource name.
Parameters:
dashboardresourcename: The resource name of a dashvboard. The resource name format is module.dashboardname.
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
*/
GetDashboardByResourceName(dashboardresourcename string, resp ...*http.Response) (*Dashboard, error)
/*
GetDataset - catalog service endpoint
Return the dataset with the specified resource name. For the default module, the resource name format is datasetName. Otherwise, the resource name format is module.datasetName.
Parameters:
datasetresourcename: The resource name of a dataset. For the default module, the resource name format is datasetName. Otherwise, the resource name format is module.datasetName.
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
*/
GetDataset(datasetresourcename string, resp ...*http.Response) (*Dataset, error)
/*
GetDatasetById - catalog service endpoint
Return information about the dataset with the specified ID.
Parameters:
datasetid: ID of a Dataset.
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
*/
GetDatasetById(datasetid string, resp ...*http.Response) (*Dataset, error)
/*
GetFieldById - catalog service endpoint
Get a field that corresponds to a specific field ID.
Parameters:
fieldid: ID of a Field.
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
*/
GetFieldById(fieldid string, resp ...*http.Response) (*Field, error)
/*
GetFieldByIdForDataset - catalog service endpoint
Return a field that is part of a specific dataset.
Parameters:
datasetresourcename: The resource name of a dataset. For the default module, the resource name format is datasetName. Otherwise, the resource name format is module.datasetName.
fieldid: ID of a Field.
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
*/
GetFieldByIdForDataset(datasetresourcename string, fieldid string, resp ...*http.Response) (*Field, error)
/*
GetFieldByIdForDatasetById - catalog service endpoint
Return a field that is part of a specific dataset.
Parameters:
datasetid: ID of a Dataset.
fieldid: ID of a Field.
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
*/
GetFieldByIdForDatasetById(datasetid string, fieldid string, resp ...*http.Response) (*Field, error)
/*
GetRelationshipById - catalog service endpoint
Get a specific relationship.
Parameters:
relationshipid: ID of a relationship.
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
*/
GetRelationshipById(relationshipid string, resp ...*http.Response) (*Relationship, error)
/*
GetRule - catalog service endpoint
Get a rule with a specified resource name.
Parameters:
ruleresourcename: The resource name of a rule. For the default module, the resource name format is ruleName. Otherwise, the resource name format is module.ruleName.
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
*/
GetRule(ruleresourcename string, resp ...*http.Response) (*Rule, error)
/*
GetRuleById - catalog service endpoint
Get information about a specific rule.
Parameters:
ruleid: ID of a Field.
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
*/
GetRuleById(ruleid string, resp ...*http.Response) (*Rule, error)
/*
GetWorkflowBuildById - catalog service endpoint
Return information about the workflow build with the specified workflow build ID.
Parameters:
workflowid: ID of a workflow.
workflowbuildid: ID of a workflow build.
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
*/
GetWorkflowBuildById(workflowid string, workflowbuildid string, resp ...*http.Response) (*WorkflowBuild, error)
/*
GetWorkflowById - catalog service endpoint
Return information about a workflow with the specified workflow ID.
Parameters:
workflowid: ID of a workflow.
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
*/
GetWorkflowById(workflowid string, resp ...*http.Response) (*Workflow, error)
/*
GetWorkflowRunById - catalog service endpoint
Return information about the workflow run with the specified workflow build ID.
Parameters:
workflowid: ID of a workflow.
workflowbuildid: ID of a workflow build.
workflowrunid: ID of a workflow run.
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
*/
GetWorkflowRunById(workflowid string, workflowbuildid string, workflowrunid string, resp ...*http.Response) (*WorkflowRun, error)
/*
ListActionsForRule - catalog service endpoint
Return the list of actions that are part of a specified rule.
Parameters:
ruleresourcename: The resource name of a rule. For the default module, the resource name format is ruleName. Otherwise, the resource name format is module.ruleName.
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
*/
ListActionsForRule(ruleresourcename string, query *ListActionsForRuleQueryParams, resp ...*http.Response) ([]Action, error)
/*
ListActionsForRuleById - catalog service endpoint
Return the set of actions that are part of a rule.
Parameters:
ruleid: ID of a Field.
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
*/
ListActionsForRuleById(ruleid string, query *ListActionsForRuleByIdQueryParams, resp ...*http.Response) ([]Action, error)
/*
ListAnnotationsForDashboardById - catalog service endpoint
Return the set of annotations that are part of a dashboard.
Parameters:
dashboardid: ID of a dashboard.
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
*/
ListAnnotationsForDashboardById(dashboardid string, query *ListAnnotationsForDashboardByIdQueryParams, resp ...*http.Response) ([]Annotation, error)
/*
ListAnnotationsForDashboardByResourceName - catalog service endpoint
Return the set of annotations that are part of a dashboard.
Parameters:
dashboardresourcename: The resource name of a dashvboard. The resource name format is module.dashboardname.
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
*/
ListAnnotationsForDashboardByResourceName(dashboardresourcename string, query *ListAnnotationsForDashboardByResourceNameQueryParams, resp ...*http.Response) ([]Annotation, error)
/*
ListAnnotationsForDatasetById - catalog service endpoint
Return the set of annotations that are part of a dataset.
Parameters:
datasetid: ID of a Dataset.
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
*/
ListAnnotationsForDatasetById(datasetid string, query *ListAnnotationsForDatasetByIdQueryParams, resp ...*http.Response) ([]Annotation, error)
/*
ListAnnotationsForDatasetByResourceName - catalog service endpoint
Return the set of annotations that are part of a dataset.
Parameters:
datasetresourcename: The resource name of a dataset. For the default module, the resource name format is datasetName. Otherwise, the resource name format is module.datasetName.
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
*/
ListAnnotationsForDatasetByResourceName(datasetresourcename string, query *ListAnnotationsForDatasetByResourceNameQueryParams, resp ...*http.Response) ([]Annotation, error)
/*
ListDashboards - catalog service endpoint
Return a list of Dashboards.
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
*/
ListDashboards(query *ListDashboardsQueryParams, resp ...*http.Response) ([]Dashboard, error)
/*
ListDatasets - catalog service endpoint
Returns a list of all datasets, unless you specify a filter. Use a filter to return a specific list of datasets.
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
*/
ListDatasets(query *ListDatasetsQueryParams, resp ...*http.Response) ([]Dataset, error)
/*
ListFields - catalog service endpoint
Get a list of all fields in the Catalog.
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
*/
ListFields(query *ListFieldsQueryParams, resp ...*http.Response) ([]Field, error)
/*
ListFieldsForDataset - catalog service endpoint
Return the list of fields that are part of a specified dataset.
Parameters:
datasetresourcename: The resource name of a dataset. For the default module, the resource name format is datasetName. Otherwise, the resource name format is module.datasetName.
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
*/
ListFieldsForDataset(datasetresourcename string, query *ListFieldsForDatasetQueryParams, resp ...*http.Response) ([]Field, error)
/*
ListFieldsForDatasetById - catalog service endpoint
Return the set of fields for the specified dataset.
Parameters:
datasetid: ID of a Dataset.
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
*/
ListFieldsForDatasetById(datasetid string, query *ListFieldsForDatasetByIdQueryParams, resp ...*http.Response) ([]Field, error)
/*
ListModules - catalog service endpoint
Return a list of all modules, unless you specify a filter. Use a filter to return a specific list of modules.
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
*/
ListModules(query *ListModulesQueryParams, resp ...*http.Response) ([]Module, error)
/*
ListRelationships - catalog service endpoint
Returns a list of all relationships, unless you specify a filter. Use a filter to return a specific list of relationships.
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
*/
ListRelationships(query *ListRelationshipsQueryParams, resp ...*http.Response) ([]Relationship, error)
/*
ListRules - catalog service endpoint
Return a list of rules that match a filter query if it is given, otherwise return all rules.
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
*/
ListRules(query *ListRulesQueryParams, resp ...*http.Response) ([]Rule, error)
/*
ListWorkflowBuilds - catalog service endpoint
Return a list of Machine Learning workflow builds.
Parameters:
workflowid: ID of a workflow.
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
*/
ListWorkflowBuilds(workflowid string, query *ListWorkflowBuildsQueryParams, resp ...*http.Response) ([]WorkflowBuild, error)
/*
ListWorkflowRuns - catalog service endpoint
Return a list of Machine Learning workflow runs for specified workflow build ID.
Parameters:
workflowid: ID of a workflow.
workflowbuildid: ID of a workflow build.
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
*/
ListWorkflowRuns(workflowid string, workflowbuildid string, query *ListWorkflowRunsQueryParams, resp ...*http.Response) ([]WorkflowRun, error)
/*
ListWorkflows - catalog service endpoint
Return a list of Machine Learning workflow configurations.
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
*/
ListWorkflows(query *ListWorkflowsQueryParams, resp ...*http.Response) ([]Workflow, error)
/*
UpdateActionByIdForRule - catalog service endpoint
Update the Action with the specified id for the specified Rule
Parameters:
ruleresourcename: The resource name of a rule. For the default module, the resource name format is ruleName. Otherwise, the resource name format is module.ruleName.
actionid: ID of an Action.
actionPatch: The fields to update in the specified action.
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
*/
UpdateActionByIdForRule(ruleresourcename string, actionid string, actionPatch ActionPatch, resp ...*http.Response) (*Action, error)
/*
UpdateActionByIdForRuleById - catalog service endpoint
Update an action for a specific rule.
Parameters:
ruleid: ID of a Field.
actionid: ID of an Action.
actionPatch: The properties to update in the specified action.
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
*/
UpdateActionByIdForRuleById(ruleid string, actionid string, actionPatch ActionPatch, resp ...*http.Response) (*Action, error)
/*
UpdateDashboardById - catalog service endpoint
Update the dashboard with the specified ID.
Parameters:
dashboardid: ID of a dashboard.
dashboardPatch: An updated representation of the dashboard to be persisted.
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
*/
UpdateDashboardById(dashboardid string, dashboardPatch DashboardPatch, resp ...*http.Response) (*Dashboard, error)
/*
UpdateDashboardByResourceName - catalog service endpoint
Update the dashboard with the specified resource name.
Parameters:
dashboardresourcename: The resource name of a dashvboard. The resource name format is module.dashboardname.
dashboardPatch: An updated representation of the dashboard to be persisted.
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
*/
UpdateDashboardByResourceName(dashboardresourcename string, dashboardPatch DashboardPatch, resp ...*http.Response) error
/*
UpdateDataset - catalog service endpoint
Update the dataset with the specified resource name. For the default module, the resource name format is datasetName. Otherwise, the resource name format is module.datasetName.
Parameters:
datasetresourcename: The resource name of a dataset. For the default module, the resource name format is datasetName. Otherwise, the resource name format is module.datasetName.
datasetPatch: An updated representation of the dataset to be persisted.
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
*/
UpdateDataset(datasetresourcename string, datasetPatch DatasetPatch, resp ...*http.Response) (*Dataset, error)
/*
UpdateDatasetById - catalog service endpoint
Update a specific dataset.
Parameters:
datasetid: ID of a Dataset.
datasetPatch: An updated representation of the dataset to be persisted.
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
*/
UpdateDatasetById(datasetid string, datasetPatch DatasetPatch, resp ...*http.Response) (*Dataset, error)
/*
UpdateFieldByIdForDataset - catalog service endpoint
Update a field with a specified ID for a specified dataset.
Parameters:
datasetresourcename: The resource name of a dataset. For the default module, the resource name format is datasetName. Otherwise, the resource name format is module.datasetName.
fieldid: ID of a Field.
fieldPatch: The properties to update in the specified field.
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
*/
UpdateFieldByIdForDataset(datasetresourcename string, fieldid string, fieldPatch FieldPatch, resp ...*http.Response) (*Field, error)
/*
UpdateFieldByIdForDatasetById - catalog service endpoint
Update a field for a specific dataset.
Parameters:
datasetid: ID of a Dataset.
fieldid: ID of a Field.
fieldPatch: The properties to update in the specified field.
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
*/
UpdateFieldByIdForDatasetById(datasetid string, fieldid string, fieldPatch FieldPatch, resp ...*http.Response) (*Field, error)
/*
UpdateRelationshipById - catalog service endpoint
Update a specific relationship.
Parameters:
relationshipid: ID of a relationship.
relationshipPatch: The properties to update in the specified relationship.
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
*/
UpdateRelationshipById(relationshipid string, relationshipPatch RelationshipPatch, resp ...*http.Response) (*Relationship, error)
/*
UpdateRule - catalog service endpoint
Update the Rule with the specified resourcename
Parameters:
ruleresourcename: The resource name of a rule. For the default module, the resource name format is ruleName. Otherwise, the resource name format is module.ruleName.
rulePatch: The properties to update in the specified rule.
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
*/
UpdateRule(ruleresourcename string, rulePatch RulePatch, resp ...*http.Response) (*Rule, error)
/*
UpdateRuleById - catalog service endpoint
Update a specific rule.
Parameters:
ruleid: ID of a Field.
rulePatch: The properties to update in the specified rule.
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
*/
UpdateRuleById(ruleid string, rulePatch RulePatch, resp ...*http.Response) (*Rule, error)
/*
UpdateWorkflowBuildById - catalog service endpoint
Update the workflow build with the specified workflow build ID.
Parameters:
workflowid: ID of a workflow.
workflowbuildid: ID of a workflow build.
workflowBuildPatch: An updated representation of the workflow build to be persisted.
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
*/
UpdateWorkflowBuildById(workflowid string, workflowbuildid string, workflowBuildPatch WorkflowBuildPatch, resp ...*http.Response) error
/*
UpdateWorkflowById - catalog service endpoint
Update the workflow with the specified workflow ID.
Parameters:
workflowid: ID of a workflow.
workflowPatch: An updated representation of the workflow to be persisted.
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
*/
UpdateWorkflowById(workflowid string, workflowPatch WorkflowPatch, resp ...*http.Response) error
/*
UpdateWorkflowRunById - catalog service endpoint
Update the workflow run with the specified workflow run ID.
Parameters:
workflowid: ID of a workflow.
workflowbuildid: ID of a workflow build.
workflowrunid: ID of a workflow run.
workflowRunPatch: An updated representation of the workflow run to be persisted.
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
*/
UpdateWorkflowRunById(workflowid string, workflowbuildid string, workflowrunid string, workflowRunPatch WorkflowRunPatch, resp ...*http.Response) error
}
Servicer represents the interface for implementing all endpoints for this service
type Task ¶
type Task struct {
// The task algorithm name.
Algorithm string `json:"algorithm"`
// The children tasks of the task.
Children []string `json:"children"`
// The date and time object was created.
Created string `json:"created"`
// The name of the user who created the object. This value is obtained from the bearer token and may not be changed.
Createdby string `json:"createdby"`
// The evaluation criteria of the task.
Evaluation []string `json:"evaluation"`
// The features of the task.
Features []string `json:"features"`
// A unique task ID.
Id string `json:"id"`
// The date and time object was modified.
Modified string `json:"modified"`
// The name of the user who most recently modified the object.
Modifiedby string `json:"modifiedby"`
// The task name.
Name string `json:"name"`
// The output transformer of the task.
Outputtransformer string `json:"outputtransformer"`
// The name of the object's owner.
Owner string `json:"owner"`
// The task parameters.
Parameters string `json:"parameters"`
// The parent tasks of the task.
Parents []string `json:"parents"`
// The target feature of the task.
Targetfeature string `json:"targetfeature"`
// The task type.
Tasktype string `json:"tasktype"`
// The timeout secs of the task.
Timeoutsecs int32 `json:"timeoutsecs"`
// A unique workflow ID that is associatd with the task.
Workflowid string `json:"workflowid"`
// The version of the workflow that is associated with the task.
Workflowversion int32 `json:"workflowversion"`
}
A complete task as rendered in POST, PATCH, and GET responses.
type TaskPost ¶
type TaskPost struct {
// The task algorithm name.
Algorithm string `json:"algorithm"`
// The date and time object was created.
Created string `json:"created"`
// The name of the user who created the object. This value is obtained from the bearer token and may not be changed.
Createdby string `json:"createdby"`
// The features of the task.
Features []string `json:"features"`
// The date and time object was modified.
Modified string `json:"modified"`
// The name of the user who most recently modified the object.
Modifiedby string `json:"modifiedby"`
// The name of the object's owner.
Owner string `json:"owner"`
// The task parameters.
Parameters string `json:"parameters"`
// The task type.
Tasktype string `json:"tasktype"`
// The timeout secs of the task.
Timeoutsecs int32 `json:"timeoutsecs"`
// The children tasks of the task.
Children []string `json:"children,omitempty"`
// The evaluation criteria of the task.
Evaluation []string `json:"evaluation,omitempty"`
// A unique task ID.
Id *string `json:"id,omitempty"`
// The task name.
Name *string `json:"name,omitempty"`
// The output transformer of the task.
Outputtransformer *string `json:"outputtransformer,omitempty"`
// The parent tasks of the task.
Parents []string `json:"parents,omitempty"`
// The target feature of the task.
Targetfeature *string `json:"targetfeature,omitempty"`
// A unique workflow ID that is associated with the task.
Workflowid *string `json:"workflowid,omitempty"`
// The version of the workflow that is associated with the task.
Workflowversion *int32 `json:"workflowversion,omitempty"`
}
A complete task as rendered in POST, PATCH, and GET responses.
type UserMetadataProperties ¶
type UserMetadataProperties struct {
// The name of the user who created the object. This value is obtained from the bearer token and may not be changed.
Createdby string `json:"createdby"`
// The name of the user who most recently modified the object.
Modifiedby string `json:"modifiedby"`
// The name of the object's owner.
Owner string `json:"owner"`
}
Owner, createdby, and modifiedby user name properties for inclusion in other objects.
type ViewDataset ¶
type ViewDataset struct {
// The date and time object was created.
Created string `json:"created"`
// The name of the user who created the object. This value is obtained from the bearer token and may not be changed.
Createdby string `json:"createdby"`
// A unique dataset ID.
Id string `json:"id"`
Kind ViewDatasetKind `json:"kind"`
// The date and time object was modified.
Modified string `json:"modified"`
// The name of the user who most recently modified the object.
Modifiedby string `json:"modifiedby"`
// The name of the module that contains the dataset.
Module string `json:"module"`
// The dataset name. Dataset names must be unique within each module.
Name string `json:"name"`
// The name of the object's owner.
Owner string `json:"owner"`
// The dataset name qualified by the module name.
Resourcename string `json:"resourcename"`
// A valid SPL-defined search.
Search string `json:"search"`
// Detailed description of the dataset.
Description *string `json:"description,omitempty"`
// Summary of the dataset's purpose.
Summary *string `json:"summary,omitempty"`
// The title of the dataset. Does not have to be unique.
Title *string `json:"title,omitempty"`
// The catalog version.
Version *int32 `json:"version,omitempty"`
}
A complete view dataset as rendered in POST, PATCH, and GET responses.
type ViewDatasetKind ¶
type ViewDatasetKind string
ViewDatasetKind : The dataset kind.
const (
ViewDatasetKindView ViewDatasetKind = "view"
)
List of ViewDatasetKind
type ViewDatasetPatch ¶
type ViewDatasetPatch struct {
Kind *ViewDatasetKind `json:"kind,omitempty"`
// The name of module to reassign dataset into.
Module *string `json:"module,omitempty"`
// The dataset name. Dataset names must be unique within each module.
Name *string `json:"name,omitempty"`
// The name of the dataset owner. This value is obtained from the bearer token.
Owner *string `json:"owner,omitempty"`
// A valid SPL-defined search.
Search *string `json:"search,omitempty"`
}
Property values to be set in an existing view dataset using a PATCH request.
type ViewDatasetPost ¶
type ViewDatasetPost struct {
Kind ViewDatasetKind `json:"kind"`
// The dataset name. Dataset names must be unique within each module.
Name string `json:"name"`
// A valid SPL-defined search.
Search string `json:"search"`
// The fields to be associated with this dataset.
Fields []FieldPost `json:"fields,omitempty"`
// A unique dataset ID. Random ID used if not provided.
Id *string `json:"id,omitempty"`
// The name of the module to create the new dataset in.
Module *string `json:"module,omitempty"`
}
Initial property values for creating a new view dataset using a POST request.
type ViewDatasetProperties ¶
type ViewDatasetProperties struct {
Kind *ViewDatasetKind `json:"kind,omitempty"`
// A valid SPL-defined search.
Search *string `json:"search,omitempty"`
}
Properties of job datasets which may be read, set, and changed through the API. Implementation detail of DatasetPOST, DatasetPATCH, and Dataset, do not use directly.
type Workflow ¶
type Workflow struct {
// The date and time object was created.
Created string `json:"created"`
// The name of the user who created the object. This value is obtained from the bearer token and may not be changed.
Createdby string `json:"createdby"`
// A unique workflow ID.
Id string `json:"id"`
// The date and time object was modified.
Modified string `json:"modified"`
// The name of the user who most recently modified the object.
Modifiedby string `json:"modifiedby"`
// The workflow name. Workflow names must be unique within each tenant.
Name string `json:"name"`
// The name of the object's owner.
Owner string `json:"owner"`
// The workflow description.
Description *string `json:"description,omitempty"`
// A unique experiment ID that is associated with the workflow.
Experimentid *string `json:"experimentid,omitempty"`
Tasks []Task `json:"tasks,omitempty"`
// The version of the workflow.
Version *int32 `json:"version,omitempty"`
}
A complete workflow as rendered in POST, PATCH, and GET responses.
type WorkflowBuild ¶
type WorkflowBuild struct {
// The date and time object was created.
Created string `json:"created"`
// The name of the user who created the object. This value is obtained from the bearer token and may not be changed.
Createdby string `json:"createdby"`
// A unique workflow build ID.
Id string `json:"id"`
// The input data of the workflow build.
Inputdata []string `json:"inputdata"`
// The date and time object was modified.
Modified string `json:"modified"`
// The name of the user who most recently modified the object.
Modifiedby string `json:"modifiedby"`
// The output data of the workflow build.
Outputdata []string `json:"outputdata"`
// The name of the object's owner.
Owner string `json:"owner"`
// The random state of the workflow build.
Randomstate int32 `json:"randomstate"`
// The timeout in seconds of the workflow.
Timeoutsecs int32 `json:"timeoutsecs"`
// The train test split of the workflow build.
Traintestsplit float32 `json:"traintestsplit"`
// A unique workflow ID that is associated with the workflow build.
Workflowid string `json:"workflowid"`
// The version of the workflow that is associated with the workflow build.
Workflowversion int32 `json:"workflowversion"`
// The description of the workflow build.
Description *string `json:"description,omitempty"`
// The date and time the workflow build ended.
Ended *string `json:"ended,omitempty"`
// The evaluation results of the workflow build.
Evaluationresults []string `json:"evaluationresults,omitempty"`
// The failure message of the workflow build.
Failuremessage *string `json:"failuremessage,omitempty"`
// The number of kfold when the validation type if CrossValidation.
Kfold *float32 `json:"kfold,omitempty"`
// The workflow build name.
Name *string `json:"name,omitempty"`
// The date and time the workflow build started.
Started *string `json:"started,omitempty"`
// The status of the workflow build.
Status *string `json:"status,omitempty"`
// Whether data is stratified.
Stratified *bool `json:"stratified,omitempty"`
// The type of validation.
Validationkind *WorkflowBuildValidationkind `json:"validationkind,omitempty"`
// The version of the workflow.
Version *int32 `json:"version,omitempty"`
}
A complete workflow build as rendered in POST, PATCH, and GET responses.
type WorkflowBuildPatch ¶
type WorkflowBuildPatch struct {
// The workflow build description.
Description *string `json:"description,omitempty"`
// The workflow build name.
Name *string `json:"name,omitempty"`
// The status of the workflow build.
Status *string `json:"status,omitempty"`
}
Values for updating a workflow build using a PATCH request.
type WorkflowBuildPost ¶
type WorkflowBuildPost struct {
// The input data of the workflow build.
Inputdata []string `json:"inputdata"`
// The timeout in seconds of the workflow.
Timeoutsecs int32 `json:"timeoutsecs"`
// The description of the workflow build.
Description *string `json:"description,omitempty"`
// The date and time the workflow build ended.
Ended *string `json:"ended,omitempty"`
// The evaluation results of the workflow build.
Evaluationresults []string `json:"evaluationresults,omitempty"`
// The failure message of the workflow build.
Failuremessage *string `json:"failuremessage,omitempty"`
// A unique workflow build ID.
Id *string `json:"id,omitempty"`
// The workflow build name.
Name *string `json:"name,omitempty"`
// The output data of the workflow build.
Outputdata []string `json:"outputdata,omitempty"`
// The random state of the workflow build.
Randomstate *int32 `json:"randomstate,omitempty"`
// The date and time the workflow build started.
Started *string `json:"started,omitempty"`
// The status of the workflow build.
Status *string `json:"status,omitempty"`
// The train test split of the workflow build.
Traintestsplit *float32 `json:"traintestsplit,omitempty"`
// The version of the workflow.
Version *int32 `json:"version,omitempty"`
// A unique workflow ID that is associated with the workflow build.
Workflowid *string `json:"workflowid,omitempty"`
// The version of the workflow that is associated with the workflow build.
Workflowversion *int32 `json:"workflowversion,omitempty"`
}
Initial values for creating a new workflow using a POST request.
type WorkflowBuildValidationkind ¶
type WorkflowBuildValidationkind string
WorkflowBuildValidationkind : The type of validation.
const ( WorkflowBuildValidationkindTrainTest WorkflowBuildValidationkind = "TrainTest" WorkflowBuildValidationkindCrossValidation WorkflowBuildValidationkind = "CrossValidation" )
List of WorkflowBuildValidationkind
type WorkflowPatch ¶
type WorkflowPatch struct {
// The workflow description.
Description *string `json:"description,omitempty"`
// The workflow name.
Name *string `json:"name,omitempty"`
}
Values for updating a workflow using a PATCH request.
type WorkflowPost ¶
type WorkflowPost struct {
Tasks []TaskPost `json:"tasks"`
// The workflow description.
Description *string `json:"description,omitempty"`
// A unique experiment ID that is associate with the workflow.
Experimentid *string `json:"experimentid,omitempty"`
// A unique workflow ID. Random ID used if not provided.
Id *string `json:"id,omitempty"`
// The dataset name. Dataset names must be unique within each module.
Name *string `json:"name,omitempty"`
// The version of the workflow.
Version *int32 `json:"version,omitempty"`
}
Initial values for creating a new workflow using a POST request.
type WorkflowRun ¶
type WorkflowRun struct {
// The date and time the workflow run was created.
Created string `json:"created"`
// The name of the user who created the workflow run. This value is obtained from the bearer token and may not be changed.
Createdby string `json:"createdby"`
// A unique workflow Run ID.
Id string `json:"id"`
// The input data of the workflow run.
Inputdata []string `json:"inputdata"`
// The output data of the workflow run.
Outputdata []string `json:"outputdata"`
// The name of the workflow run's owner.
Owner string `json:"owner"`
// The timeout in seconds of the workflow.
Timeoutsecs int32 `json:"timeoutsecs"`
// A unique workflow build ID that is associated with the workflow run.
Workflowbuildid string `json:"workflowbuildid"`
// The version of the workflow build that is associated with the workflow run.
Workflowbuildversion int32 `json:"workflowbuildversion"`
// The description of the workflow run.
Description *string `json:"description,omitempty"`
// The date and time the workflow build ended.
Ended *string `json:"ended,omitempty"`
// The failure message of the workflow run.
Failuremessage *string `json:"failuremessage,omitempty"`
// The workflow run name.
Name *string `json:"name,omitempty"`
// The date and time the workflow build started.
Started *string `json:"started,omitempty"`
// The status of the workflow run.
Status *string `json:"status,omitempty"`
}
A complete workflow run as rendered in POST, PATCH, and GET responses.
type WorkflowRunPatch ¶
type WorkflowRunPatch struct {
// The workflow run description.
Description *string `json:"description,omitempty"`
// The workflow run name.
Name *string `json:"name,omitempty"`
// The status of the workflow run.
Status *string `json:"status,omitempty"`
}
Values for updating a workflow run using a PATCH request.
type WorkflowRunPost ¶
type WorkflowRunPost struct {
// The input data of the workflow run for specified workflow build ID.
Inputdata []string `json:"inputdata"`
// The output data of the workflow run for specified workflow build ID.
Outputdata []string `json:"outputdata"`
// The timeout in seconds of the workflow run for specified workflow build ID.
Timeoutsecs int32 `json:"timeoutsecs"`
// The description of the workflow run.
Description *string `json:"description,omitempty"`
// The date and time the workflow run ended for specified workflow build ID.
Ended *string `json:"ended,omitempty"`
// The failure message of the workflow run for specified workflow build ID.
Failuremessage *string `json:"failuremessage,omitempty"`
// A unique workflow Run ID.
Id *string `json:"id,omitempty"`
// The workflow run name.
Name *string `json:"name,omitempty"`
// The date and time the workflow run started for specified workflow build ID.
Started *string `json:"started,omitempty"`
// The status of the workflow run for specified workflow build ID.
Status *string `json:"status,omitempty"`
// A unique workflow build ID that is associated with the workflow run.
Workflowbuildid *string `json:"workflowbuildid,omitempty"`
// The version of the workflow build that is assocaited with the workflow run.
Workflowbuildversion *int32 `json:"workflowbuildversion,omitempty"`
}
Initial values for creating a new workflow run using a POST request.