humiographql

package
v0.37.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const AddIngestToken_Operation = `` /* 292-byte string literal not displayed */

The query or mutation executed by AddIngestToken.

View Source
const AddUserToGroup_Operation = `` /* 145-byte string literal not displayed */

The query or mutation executed by AddUserToGroup.

View Source
const AddUser_Operation = `` /* 471-byte string literal not displayed */

The query or mutation executed by AddUser.

View Source
const AssignParserToIngestToken_Operation = `` /* 250-byte string literal not displayed */

The query or mutation executed by AssignParserToIngestToken.

View Source
const CreateAggregateAlert_Operation = `` /* 1223-byte string literal not displayed */

The query or mutation executed by CreateAggregateAlert.

View Source
const CreateAlert_Operation = `` /* 943-byte string literal not displayed */

The query or mutation executed by CreateAlert.

View Source
const CreateEmailAction_Operation = `` /* 427-byte string literal not displayed */

The query or mutation executed by CreateEmailAction.

View Source
const CreateFilterAlert_Operation = `` /* 942-byte string literal not displayed */

The query or mutation executed by CreateFilterAlert.

View Source
const CreateHumioRepoAction_Operation = `` /* 243-byte string literal not displayed */

The query or mutation executed by CreateHumioRepoAction.

View Source
const CreateOpsGenieAction_Operation = `` /* 322-byte string literal not displayed */

The query or mutation executed by CreateOpsGenieAction.

View Source
const CreatePagerDutyAction_Operation = `` /* 340-byte string literal not displayed */

The query or mutation executed by CreatePagerDutyAction.

View Source
const CreateParser_Operation = `` /* 855-byte string literal not displayed */

The query or mutation executed by CreateParser.

View Source
const CreateRepository_Operation = `` /* 395-byte string literal not displayed */

The query or mutation executed by CreateRepository.

View Source
const CreateScheduledSearch_Operation = `` /* 1047-byte string literal not displayed */

The query or mutation executed by CreateScheduledSearch.

View Source
const CreateSlackAction_Operation = `` /* 341-byte string literal not displayed */

The query or mutation executed by CreateSlackAction.

View Source
const CreateSlackPostMessageAction_Operation = `` /* 436-byte string literal not displayed */

The query or mutation executed by CreateSlackPostMessageAction.

View Source
const CreateUploadFileAction_Operation = `` /* 233-byte string literal not displayed */

The query or mutation executed by CreateUploadFileAction.

View Source
const CreateVictorOpsAction_Operation = `` /* 348-byte string literal not displayed */

The query or mutation executed by CreateVictorOpsAction.

View Source
const CreateView_Operation = `` /* 207-byte string literal not displayed */

The query or mutation executed by CreateView.

View Source
const CreateWebhookAction_Operation = `` /* 509-byte string literal not displayed */

The query or mutation executed by CreateWebhookAction.

View Source
const DeleteActionByID_Operation = `` /* 144-byte string literal not displayed */

The query or mutation executed by DeleteActionByID.

View Source
const DeleteAggregateAlert_Operation = `` /* 180-byte string literal not displayed */

The query or mutation executed by DeleteAggregateAlert.

View Source
const DeleteAlert_Operation = `` /* 136-byte string literal not displayed */

The query or mutation executed by DeleteAlert.

View Source
const DeleteFilterAlert_Operation = `` /* 168-byte string literal not displayed */

The query or mutation executed by DeleteFilterAlert.

View Source
const DeleteParserByID_Operation = `` /* 172-byte string literal not displayed */

The query or mutation executed by DeleteParserByID.

View Source
const DeleteScheduledSearchByID_Operation = `` /* 180-byte string literal not displayed */

The query or mutation executed by DeleteScheduledSearchByID.

View Source
const DeleteSearchDomain_Operation = `` /* 181-byte string literal not displayed */

The query or mutation executed by DeleteSearchDomain.

View Source
const DisableFeatureFlagForOrganization_Operation = `` /* 158-byte string literal not displayed */

The query or mutation executed by DisableFeatureFlagForOrganization.

View Source
const DisableFeatureFlagForUser_Operation = `` /* 136-byte string literal not displayed */

The query or mutation executed by DisableFeatureFlagForUser.

View Source
const DisableFeatureFlagGlobally_Operation = `
mutation DisableFeatureFlagGlobally ($Flag: FeatureFlag!) {
	disableFeature(feature: $Flag)
}
`

The query or mutation executed by DisableFeatureFlagGlobally.

View Source
const DisableS3Archiving_Operation = `` /* 131-byte string literal not displayed */

The query or mutation executed by DisableS3Archiving.

View Source
const EnableFeatureFlagForOrganization_Operation = `` /* 156-byte string literal not displayed */

The query or mutation executed by EnableFeatureFlagForOrganization.

View Source
const EnableFeatureFlagForUser_Operation = `` /* 134-byte string literal not displayed */

The query or mutation executed by EnableFeatureFlagForUser.

View Source
const EnableFeatureFlagGlobally_Operation = `
mutation EnableFeatureFlagGlobally ($Flag: FeatureFlag!) {
	enableFeature(feature: $Flag)
}
`

The query or mutation executed by EnableFeatureFlagGlobally.

View Source
const EnableS3Archiving_Operation = `` /* 129-byte string literal not displayed */

The query or mutation executed by EnableS3Archiving.

View Source
const GetActionByID_Operation = `` /* 938-byte string literal not displayed */

The query or mutation executed by GetActionByID.

View Source
const GetAggregateAlertByID_Operation = `` /* 559-byte string literal not displayed */

The query or mutation executed by GetAggregateAlertByID.

View Source
const GetCluster_Operation = `` /* 734-byte string literal not displayed */

The query or mutation executed by GetCluster.

View Source
const GetFilterAlertByID_Operation = `` /* 482-byte string literal not displayed */

The query or mutation executed by GetFilterAlertByID.

View Source
const GetLicense_Operation = `` /* 138-byte string literal not displayed */

The query or mutation executed by GetLicense.

View Source
const GetParserByID_Operation = `` /* 493-byte string literal not displayed */

The query or mutation executed by GetParserByID.

View Source
const GetParserYAMLByName_Operation = `` /* 178-byte string literal not displayed */

The query or mutation executed by GetParserYAMLByName.

View Source
const GetRepository_Operation = `` /* 363-byte string literal not displayed */

The query or mutation executed by GetRepository.

View Source
const GetRoleByID_Operation = `` /* 199-byte string literal not displayed */

The query or mutation executed by GetRoleByID.

View Source
const GetSearchDomain_Operation = `` /* 243-byte string literal not displayed */

The query or mutation executed by GetSearchDomain.

View Source
const GetSupportedFeatureFlags_Operation = `` /* 126-byte string literal not displayed */

The query or mutation executed by GetSupportedFeatureFlags.

View Source
const GetUsername_Operation = `
query GetUsername {
	viewer {
		username
	}
}
`

The query or mutation executed by GetUsername.

View Source
const GetUsersByUsername_Operation = `` /* 214-byte string literal not displayed */

The query or mutation executed by GetUsersByUsername.

View Source
const LegacyCreateParser_Operation = `` /* 676-byte string literal not displayed */

The query or mutation executed by LegacyCreateParser.

View Source
const LegacyDeleteParserByID_Operation = `` /* 170-byte string literal not displayed */

The query or mutation executed by LegacyDeleteParserByID.

View Source
const LegacyGetParser_Operation = `` /* 203-byte string literal not displayed */

The query or mutation executed by LegacyGetParser.

View Source
const ListActions_Operation = `` /* 902-byte string literal not displayed */

The query or mutation executed by ListActions.

View Source
const ListAggregateAlerts_Operation = `` /* 507-byte string literal not displayed */

The query or mutation executed by ListAggregateAlerts.

View Source
const ListAlerts_Operation = `` /* 433-byte string literal not displayed */

The query or mutation executed by ListAlerts.

View Source
const ListClusterNodes_Operation = `` /* 430-byte string literal not displayed */

The query or mutation executed by ListClusterNodes.

View Source
const ListFiles_Operation = `` /* 167-byte string literal not displayed */

The query or mutation executed by ListFiles.

View Source
const ListFilterAlerts_Operation = `` /* 436-byte string literal not displayed */

The query or mutation executed by ListFilterAlerts.

View Source
const ListGroups_Operation = `
query ListGroups {
	groupsPage(pageNumber: 1, pageSize: 2147483647) {
		page {
			id
			displayName
		}
	}
}
`

The query or mutation executed by ListGroups.

View Source
const ListIngestTokens_Operation = `` /* 222-byte string literal not displayed */

The query or mutation executed by ListIngestTokens.

View Source
const ListInstalledPackages_Operation = `` /* 276-byte string literal not displayed */

The query or mutation executed by ListInstalledPackages.

View Source
const ListParsers_Operation = `` /* 133-byte string literal not displayed */

The query or mutation executed by ListParsers.

View Source
const ListRepositories_Operation = `
query ListRepositories {
	repositories {
		id
		name
		compressedByteSize
	}
}
`

The query or mutation executed by ListRepositories.

View Source
const ListRoles_Operation = `` /* 162-byte string literal not displayed */

The query or mutation executed by ListRoles.

View Source
const ListScheduledSearches_Operation = `` /* 471-byte string literal not displayed */

The query or mutation executed by ListScheduledSearches.

View Source
const ListSearchDomains_Operation = `
query ListSearchDomains {
	searchDomains {
		__typename
		name
		automaticSearch
	}
}
`

The query or mutation executed by ListSearchDomains.

View Source
const ListUsers_Operation = `` /* 165-byte string literal not displayed */

The query or mutation executed by ListUsers.

View Source
const RemoveFile_Operation = `` /* 150-byte string literal not displayed */

The query or mutation executed by RemoveFile.

View Source
const RemoveIngestToken_Operation = `` /* 158-byte string literal not displayed */

The query or mutation executed by RemoveIngestToken.

View Source
const RemoveUserFromGroup_Operation = `` /* 155-byte string literal not displayed */

The query or mutation executed by RemoveUserFromGroup.

View Source
const RemoveUser_Operation = `` /* 238-byte string literal not displayed */

The query or mutation executed by RemoveUser.

View Source
const RotateTokenByID_Operation = `
mutation RotateTokenByID ($TokenID: String!) {
	rotateToken(input: {id:$TokenID})
}
`

The query or mutation executed by RotateTokenByID.

View Source
const SetAutomaticSearching_Operation = `` /* 194-byte string literal not displayed */

The query or mutation executed by SetAutomaticSearching.

View Source
const UnassignParserToIngestToken_Operation = `` /* 197-byte string literal not displayed */

The query or mutation executed by UnassignParserToIngestToken.

View Source
const UninstallPackage_Operation = `` /* 190-byte string literal not displayed */

The query or mutation executed by UninstallPackage.

View Source
const UnregisterClusterNode_Operation = `` /* 143-byte string literal not displayed */

The query or mutation executed by UnregisterClusterNode.

View Source
const UpdateDescriptionForSearchDomain_Operation = `` /* 212-byte string literal not displayed */

The query or mutation executed by UpdateDescriptionForSearchDomain.

View Source
const UpdateIngestBasedRetention_Operation = `` /* 195-byte string literal not displayed */

The query or mutation executed by UpdateIngestBasedRetention.

View Source
const UpdateLicenseKey_Operation = `
mutation UpdateLicenseKey ($LicenseKey: String!) {
	updateLicenseKey(license: $LicenseKey) {
		__typename
	}
}
`

The query or mutation executed by UpdateLicenseKey.

View Source
const UpdateS3ArchivingConfiguration_Operation = `` /* 281-byte string literal not displayed */

The query or mutation executed by UpdateS3ArchivingConfiguration.

View Source
const UpdateStorageBasedRetention_Operation = `` /* 199-byte string literal not displayed */

The query or mutation executed by UpdateStorageBasedRetention.

View Source
const UpdateTimeBasedRetention_Operation = `` /* 197-byte string literal not displayed */

The query or mutation executed by UpdateTimeBasedRetention.

View Source
const UpdateUser_Operation = `` /* 322-byte string literal not displayed */

The query or mutation executed by UpdateUser.

View Source
const UpdateViewConnections_Operation = `` /* 168-byte string literal not displayed */

The query or mutation executed by UpdateViewConnections.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionDetails

type ActionDetails interface {

	// GetId returns the interface-field "id" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// An action that can be invoked from a trigger.
	GetId() string
	// GetName returns the interface-field "name" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// An action that can be invoked from a trigger.
	GetName() string
	// contains filtered or unexported methods
}

ActionDetails includes the GraphQL fields of Action requested by the fragment ActionDetails. The GraphQL type's documentation follows.

An action that can be invoked from a trigger.

ActionDetails is implemented by the following types: ActionDetailsEmailAction ActionDetailsHumioRepoAction ActionDetailsOpsGenieAction ActionDetailsPagerDutyAction ActionDetailsSlackAction ActionDetailsSlackPostMessageAction ActionDetailsUploadFileAction ActionDetailsVictorOpsAction ActionDetailsWebhookAction

type ActionDetailsEmailAction

type ActionDetailsEmailAction struct {
	// An action that can be invoked from a trigger.
	Id string `json:"id"`
	// An action that can be invoked from a trigger.
	Name string `json:"name"`
	// List of email addresses to send an email to.
	Recipients []string `json:"recipients"`
	// Subject of the email. Can be templated with values from the result.
	SubjectTemplate *string `json:"subjectTemplate"`
	// Body of the email. Can be templated with values from the result.
	EmailBodyTemplate *string `json:"emailBodyTemplate"`
	// Defines whether the action should use the configured proxy to make web requests.
	UseProxy bool `json:"useProxy"`
}

ActionDetails includes the GraphQL fields of EmailAction requested by the fragment ActionDetails. The GraphQL type's documentation follows.

An action that can be invoked from a trigger.

func (*ActionDetailsEmailAction) GetEmailBodyTemplate

func (v *ActionDetailsEmailAction) GetEmailBodyTemplate() *string

GetEmailBodyTemplate returns ActionDetailsEmailAction.EmailBodyTemplate, and is useful for accessing the field via an interface.

func (*ActionDetailsEmailAction) GetId

func (v *ActionDetailsEmailAction) GetId() string

GetId returns ActionDetailsEmailAction.Id, and is useful for accessing the field via an interface.

func (*ActionDetailsEmailAction) GetName

func (v *ActionDetailsEmailAction) GetName() string

GetName returns ActionDetailsEmailAction.Name, and is useful for accessing the field via an interface.

func (*ActionDetailsEmailAction) GetRecipients

func (v *ActionDetailsEmailAction) GetRecipients() []string

GetRecipients returns ActionDetailsEmailAction.Recipients, and is useful for accessing the field via an interface.

func (*ActionDetailsEmailAction) GetSubjectTemplate

func (v *ActionDetailsEmailAction) GetSubjectTemplate() *string

GetSubjectTemplate returns ActionDetailsEmailAction.SubjectTemplate, and is useful for accessing the field via an interface.

func (*ActionDetailsEmailAction) GetUseProxy

func (v *ActionDetailsEmailAction) GetUseProxy() bool

GetUseProxy returns ActionDetailsEmailAction.UseProxy, and is useful for accessing the field via an interface.

type ActionDetailsFieldsSlackFieldEntry

type ActionDetailsFieldsSlackFieldEntry struct {
	// Key of a Slack field.
	FieldName string `json:"fieldName"`
	// Value of a Slack field.
	Value string `json:"value"`
}

ActionDetailsFieldsSlackFieldEntry includes the requested fields of the GraphQL type SlackFieldEntry. The GraphQL type's documentation follows.

Field entry in a Slack message

func (*ActionDetailsFieldsSlackFieldEntry) GetFieldName

func (v *ActionDetailsFieldsSlackFieldEntry) GetFieldName() string

GetFieldName returns ActionDetailsFieldsSlackFieldEntry.FieldName, and is useful for accessing the field via an interface.

func (*ActionDetailsFieldsSlackFieldEntry) GetValue

GetValue returns ActionDetailsFieldsSlackFieldEntry.Value, and is useful for accessing the field via an interface.

type ActionDetailsHeadersHttpHeaderEntry

type ActionDetailsHeadersHttpHeaderEntry struct {
	// Key of a http(s) header.
	Header string `json:"header"`
	// Value of a http(s) header.
	Value string `json:"value"`
}

ActionDetailsHeadersHttpHeaderEntry includes the requested fields of the GraphQL type HttpHeaderEntry. The GraphQL type's documentation follows.

A http request header.

func (*ActionDetailsHeadersHttpHeaderEntry) GetHeader

GetHeader returns ActionDetailsHeadersHttpHeaderEntry.Header, and is useful for accessing the field via an interface.

func (*ActionDetailsHeadersHttpHeaderEntry) GetValue

GetValue returns ActionDetailsHeadersHttpHeaderEntry.Value, and is useful for accessing the field via an interface.

type ActionDetailsHumioRepoAction

type ActionDetailsHumioRepoAction struct {
	// An action that can be invoked from a trigger.
	Id string `json:"id"`
	// An action that can be invoked from a trigger.
	Name string `json:"name"`
	// Humio ingest token for the dataspace that the action should ingest into.
	IngestToken string `json:"ingestToken"`
}

ActionDetails includes the GraphQL fields of HumioRepoAction requested by the fragment ActionDetails. The GraphQL type's documentation follows.

An action that can be invoked from a trigger.

func (*ActionDetailsHumioRepoAction) GetId

GetId returns ActionDetailsHumioRepoAction.Id, and is useful for accessing the field via an interface.

func (*ActionDetailsHumioRepoAction) GetIngestToken

func (v *ActionDetailsHumioRepoAction) GetIngestToken() string

GetIngestToken returns ActionDetailsHumioRepoAction.IngestToken, and is useful for accessing the field via an interface.

func (*ActionDetailsHumioRepoAction) GetName

func (v *ActionDetailsHumioRepoAction) GetName() string

GetName returns ActionDetailsHumioRepoAction.Name, and is useful for accessing the field via an interface.

type ActionDetailsOpsGenieAction

type ActionDetailsOpsGenieAction struct {
	// An action that can be invoked from a trigger.
	Id string `json:"id"`
	// An action that can be invoked from a trigger.
	Name string `json:"name"`
	// OpsGenie webhook url to send the request to.
	ApiUrl string `json:"apiUrl"`
	// Key to authenticate with OpsGenie.
	GenieKey string `json:"genieKey"`
	// Defines whether the action should use the configured proxy to make web requests.
	UseProxy bool `json:"useProxy"`
}

ActionDetails includes the GraphQL fields of OpsGenieAction requested by the fragment ActionDetails. The GraphQL type's documentation follows.

An action that can be invoked from a trigger.

func (*ActionDetailsOpsGenieAction) GetApiUrl

func (v *ActionDetailsOpsGenieAction) GetApiUrl() string

GetApiUrl returns ActionDetailsOpsGenieAction.ApiUrl, and is useful for accessing the field via an interface.

func (*ActionDetailsOpsGenieAction) GetGenieKey

func (v *ActionDetailsOpsGenieAction) GetGenieKey() string

GetGenieKey returns ActionDetailsOpsGenieAction.GenieKey, and is useful for accessing the field via an interface.

func (*ActionDetailsOpsGenieAction) GetId

GetId returns ActionDetailsOpsGenieAction.Id, and is useful for accessing the field via an interface.

func (*ActionDetailsOpsGenieAction) GetName

func (v *ActionDetailsOpsGenieAction) GetName() string

GetName returns ActionDetailsOpsGenieAction.Name, and is useful for accessing the field via an interface.

func (*ActionDetailsOpsGenieAction) GetUseProxy

func (v *ActionDetailsOpsGenieAction) GetUseProxy() bool

GetUseProxy returns ActionDetailsOpsGenieAction.UseProxy, and is useful for accessing the field via an interface.

type ActionDetailsPagerDutyAction

type ActionDetailsPagerDutyAction struct {
	// An action that can be invoked from a trigger.
	Id string `json:"id"`
	// An action that can be invoked from a trigger.
	Name string `json:"name"`
	// Severity level to give to the message.
	Severity string `json:"severity"`
	// Routing key to authenticate with PagerDuty.
	RoutingKey string `json:"routingKey"`
	// Defines whether the action should use the configured proxy to make web requests.
	UseProxy bool `json:"useProxy"`
}

ActionDetails includes the GraphQL fields of PagerDutyAction requested by the fragment ActionDetails. The GraphQL type's documentation follows.

An action that can be invoked from a trigger.

func (*ActionDetailsPagerDutyAction) GetId

GetId returns ActionDetailsPagerDutyAction.Id, and is useful for accessing the field via an interface.

func (*ActionDetailsPagerDutyAction) GetName

func (v *ActionDetailsPagerDutyAction) GetName() string

GetName returns ActionDetailsPagerDutyAction.Name, and is useful for accessing the field via an interface.

func (*ActionDetailsPagerDutyAction) GetRoutingKey

func (v *ActionDetailsPagerDutyAction) GetRoutingKey() string

GetRoutingKey returns ActionDetailsPagerDutyAction.RoutingKey, and is useful for accessing the field via an interface.

func (*ActionDetailsPagerDutyAction) GetSeverity

func (v *ActionDetailsPagerDutyAction) GetSeverity() string

GetSeverity returns ActionDetailsPagerDutyAction.Severity, and is useful for accessing the field via an interface.

func (*ActionDetailsPagerDutyAction) GetUseProxy

func (v *ActionDetailsPagerDutyAction) GetUseProxy() bool

GetUseProxy returns ActionDetailsPagerDutyAction.UseProxy, and is useful for accessing the field via an interface.

type ActionDetailsSlackAction

type ActionDetailsSlackAction struct {
	// An action that can be invoked from a trigger.
	Id string `json:"id"`
	// An action that can be invoked from a trigger.
	Name string `json:"name"`
	// Slack webhook url to send the request to.
	Url string `json:"url"`
	// Fields to include within the Slack message. Can be templated with values from the result.
	Fields []ActionDetailsFieldsSlackFieldEntry `json:"fields"`
	// Defines whether the action should use the configured proxy to make web requests.
	UseProxy bool `json:"useProxy"`
}

ActionDetails includes the GraphQL fields of SlackAction requested by the fragment ActionDetails. The GraphQL type's documentation follows.

An action that can be invoked from a trigger.

func (*ActionDetailsSlackAction) GetFields

GetFields returns ActionDetailsSlackAction.Fields, and is useful for accessing the field via an interface.

func (*ActionDetailsSlackAction) GetId

func (v *ActionDetailsSlackAction) GetId() string

GetId returns ActionDetailsSlackAction.Id, and is useful for accessing the field via an interface.

func (*ActionDetailsSlackAction) GetName

func (v *ActionDetailsSlackAction) GetName() string

GetName returns ActionDetailsSlackAction.Name, and is useful for accessing the field via an interface.

func (*ActionDetailsSlackAction) GetUrl

func (v *ActionDetailsSlackAction) GetUrl() string

GetUrl returns ActionDetailsSlackAction.Url, and is useful for accessing the field via an interface.

func (*ActionDetailsSlackAction) GetUseProxy

func (v *ActionDetailsSlackAction) GetUseProxy() bool

GetUseProxy returns ActionDetailsSlackAction.UseProxy, and is useful for accessing the field via an interface.

type ActionDetailsSlackPostMessageAction

type ActionDetailsSlackPostMessageAction struct {
	// An action that can be invoked from a trigger.
	Id string `json:"id"`
	// An action that can be invoked from a trigger.
	Name string `json:"name"`
	// Api token to authenticate with Slack.
	ApiToken string `json:"apiToken"`
	// List of Slack channels to message.
	Channels []string `json:"channels"`
	// Fields to include within the Slack message. Can be templated with values from the result.
	Fields []ActionDetailsFieldsSlackFieldEntry `json:"fields"`
	// Defines whether the action should use the configured proxy to make web requests.
	UseProxy bool `json:"useProxy"`
}

ActionDetails includes the GraphQL fields of SlackPostMessageAction requested by the fragment ActionDetails. The GraphQL type's documentation follows.

An action that can be invoked from a trigger.

func (*ActionDetailsSlackPostMessageAction) GetApiToken

GetApiToken returns ActionDetailsSlackPostMessageAction.ApiToken, and is useful for accessing the field via an interface.

func (*ActionDetailsSlackPostMessageAction) GetChannels

func (v *ActionDetailsSlackPostMessageAction) GetChannels() []string

GetChannels returns ActionDetailsSlackPostMessageAction.Channels, and is useful for accessing the field via an interface.

func (*ActionDetailsSlackPostMessageAction) GetFields

GetFields returns ActionDetailsSlackPostMessageAction.Fields, and is useful for accessing the field via an interface.

func (*ActionDetailsSlackPostMessageAction) GetId

GetId returns ActionDetailsSlackPostMessageAction.Id, and is useful for accessing the field via an interface.

func (*ActionDetailsSlackPostMessageAction) GetName

GetName returns ActionDetailsSlackPostMessageAction.Name, and is useful for accessing the field via an interface.

func (*ActionDetailsSlackPostMessageAction) GetUseProxy

func (v *ActionDetailsSlackPostMessageAction) GetUseProxy() bool

GetUseProxy returns ActionDetailsSlackPostMessageAction.UseProxy, and is useful for accessing the field via an interface.

type ActionDetailsUploadFileAction

type ActionDetailsUploadFileAction struct {
	// An action that can be invoked from a trigger.
	Id string `json:"id"`
	// An action that can be invoked from a trigger.
	Name string `json:"name"`
	// File name for the uploaded file.
	FileName string `json:"fileName"`
}

ActionDetails includes the GraphQL fields of UploadFileAction requested by the fragment ActionDetails. The GraphQL type's documentation follows.

An action that can be invoked from a trigger.

func (*ActionDetailsUploadFileAction) GetFileName

func (v *ActionDetailsUploadFileAction) GetFileName() string

GetFileName returns ActionDetailsUploadFileAction.FileName, and is useful for accessing the field via an interface.

func (*ActionDetailsUploadFileAction) GetId

GetId returns ActionDetailsUploadFileAction.Id, and is useful for accessing the field via an interface.

func (*ActionDetailsUploadFileAction) GetName

GetName returns ActionDetailsUploadFileAction.Name, and is useful for accessing the field via an interface.

type ActionDetailsVictorOpsAction

type ActionDetailsVictorOpsAction struct {
	// An action that can be invoked from a trigger.
	Id string `json:"id"`
	// An action that can be invoked from a trigger.
	Name string `json:"name"`
	// Type of the VictorOps message to make.
	MessageType string `json:"messageType"`
	// VictorOps webhook url to send the request to.
	NotifyUrl string `json:"notifyUrl"`
	// Defines whether the action should use the configured proxy to make web requests.
	UseProxy bool `json:"useProxy"`
}

ActionDetails includes the GraphQL fields of VictorOpsAction requested by the fragment ActionDetails. The GraphQL type's documentation follows.

An action that can be invoked from a trigger.

func (*ActionDetailsVictorOpsAction) GetId

GetId returns ActionDetailsVictorOpsAction.Id, and is useful for accessing the field via an interface.

func (*ActionDetailsVictorOpsAction) GetMessageType

func (v *ActionDetailsVictorOpsAction) GetMessageType() string

GetMessageType returns ActionDetailsVictorOpsAction.MessageType, and is useful for accessing the field via an interface.

func (*ActionDetailsVictorOpsAction) GetName

func (v *ActionDetailsVictorOpsAction) GetName() string

GetName returns ActionDetailsVictorOpsAction.Name, and is useful for accessing the field via an interface.

func (*ActionDetailsVictorOpsAction) GetNotifyUrl

func (v *ActionDetailsVictorOpsAction) GetNotifyUrl() string

GetNotifyUrl returns ActionDetailsVictorOpsAction.NotifyUrl, and is useful for accessing the field via an interface.

func (*ActionDetailsVictorOpsAction) GetUseProxy

func (v *ActionDetailsVictorOpsAction) GetUseProxy() bool

GetUseProxy returns ActionDetailsVictorOpsAction.UseProxy, and is useful for accessing the field via an interface.

type ActionDetailsWebhookAction

type ActionDetailsWebhookAction struct {
	// An action that can be invoked from a trigger.
	Id string `json:"id"`
	// An action that can be invoked from a trigger.
	Name string `json:"name"`
	// Method to use for the request.
	Method string `json:"method"`
	// Url to send the http(s) request to.
	Url string `json:"url"`
	// Headers of the http(s) request.
	Headers []ActionDetailsHeadersHttpHeaderEntry `json:"headers"`
	// Body of the http(s) request. Can be templated with values from the result.
	WebhookBodyTemplate string `json:"WebhookBodyTemplate"`
	// Flag indicating whether SSL should be ignored for the request.
	IgnoreSSL bool `json:"ignoreSSL"`
	// Defines whether the action should use the configured proxy to make web requests.
	UseProxy bool `json:"useProxy"`
}

ActionDetails includes the GraphQL fields of WebhookAction requested by the fragment ActionDetails. The GraphQL type's documentation follows.

An action that can be invoked from a trigger.

func (*ActionDetailsWebhookAction) GetHeaders

GetHeaders returns ActionDetailsWebhookAction.Headers, and is useful for accessing the field via an interface.

func (*ActionDetailsWebhookAction) GetId

GetId returns ActionDetailsWebhookAction.Id, and is useful for accessing the field via an interface.

func (*ActionDetailsWebhookAction) GetIgnoreSSL

func (v *ActionDetailsWebhookAction) GetIgnoreSSL() bool

GetIgnoreSSL returns ActionDetailsWebhookAction.IgnoreSSL, and is useful for accessing the field via an interface.

func (*ActionDetailsWebhookAction) GetMethod

func (v *ActionDetailsWebhookAction) GetMethod() string

GetMethod returns ActionDetailsWebhookAction.Method, and is useful for accessing the field via an interface.

func (*ActionDetailsWebhookAction) GetName

func (v *ActionDetailsWebhookAction) GetName() string

GetName returns ActionDetailsWebhookAction.Name, and is useful for accessing the field via an interface.

func (*ActionDetailsWebhookAction) GetUrl

func (v *ActionDetailsWebhookAction) GetUrl() string

GetUrl returns ActionDetailsWebhookAction.Url, and is useful for accessing the field via an interface.

func (*ActionDetailsWebhookAction) GetUseProxy

func (v *ActionDetailsWebhookAction) GetUseProxy() bool

GetUseProxy returns ActionDetailsWebhookAction.UseProxy, and is useful for accessing the field via an interface.

func (*ActionDetailsWebhookAction) GetWebhookBodyTemplate

func (v *ActionDetailsWebhookAction) GetWebhookBodyTemplate() string

GetWebhookBodyTemplate returns ActionDetailsWebhookAction.WebhookBodyTemplate, and is useful for accessing the field via an interface.

type AddIngestTokenAddIngestTokenV3IngestToken

type AddIngestTokenAddIngestTokenV3IngestToken struct {
	IngestTokenDetails `json:"-"`
}

AddIngestTokenAddIngestTokenV3IngestToken includes the requested fields of the GraphQL type IngestToken. The GraphQL type's documentation follows.

An API ingest token used for sending data to LogScale.

func (*AddIngestTokenAddIngestTokenV3IngestToken) GetName

GetName returns AddIngestTokenAddIngestTokenV3IngestToken.Name, and is useful for accessing the field via an interface.

func (*AddIngestTokenAddIngestTokenV3IngestToken) GetParser

GetParser returns AddIngestTokenAddIngestTokenV3IngestToken.Parser, and is useful for accessing the field via an interface.

func (*AddIngestTokenAddIngestTokenV3IngestToken) GetToken

GetToken returns AddIngestTokenAddIngestTokenV3IngestToken.Token, and is useful for accessing the field via an interface.

func (*AddIngestTokenAddIngestTokenV3IngestToken) MarshalJSON

func (*AddIngestTokenAddIngestTokenV3IngestToken) UnmarshalJSON

type AddIngestTokenResponse

type AddIngestTokenResponse struct {
	// Create a new Ingest API Token.
	AddIngestTokenV3 AddIngestTokenAddIngestTokenV3IngestToken `json:"addIngestTokenV3"`
}

AddIngestTokenResponse is returned by AddIngestToken on success.

func AddIngestToken

func AddIngestToken(
	ctx_ context.Context,
	client_ graphql.Client,
	RepositoryName string,
	Name string,
	ParserName *string,
) (*AddIngestTokenResponse, error)

func (*AddIngestTokenResponse) GetAddIngestTokenV3

GetAddIngestTokenV3 returns AddIngestTokenResponse.AddIngestTokenV3, and is useful for accessing the field via an interface.

type AddUserAddUserV2PendingUser

type AddUserAddUserV2PendingUser struct {
	Typename *string `json:"__typename"`
}

AddUserAddUserV2PendingUser includes the requested fields of the GraphQL type PendingUser. The GraphQL type's documentation follows.

A pending user. I.e. a user that was invited to join an organization.

func (*AddUserAddUserV2PendingUser) GetTypename

func (v *AddUserAddUserV2PendingUser) GetTypename() *string

GetTypename returns AddUserAddUserV2PendingUser.Typename, and is useful for accessing the field via an interface.

type AddUserAddUserV2User

type AddUserAddUserV2User struct {
	Typename    *string `json:"__typename"`
	UserDetails `json:"-"`
}

AddUserAddUserV2User includes the requested fields of the GraphQL type User. The GraphQL type's documentation follows.

A user profile.

func (*AddUserAddUserV2User) GetCompany

func (v *AddUserAddUserV2User) GetCompany() *string

GetCompany returns AddUserAddUserV2User.Company, and is useful for accessing the field via an interface.

func (*AddUserAddUserV2User) GetCountryCode

func (v *AddUserAddUserV2User) GetCountryCode() *string

GetCountryCode returns AddUserAddUserV2User.CountryCode, and is useful for accessing the field via an interface.

func (*AddUserAddUserV2User) GetCreatedAt

func (v *AddUserAddUserV2User) GetCreatedAt() time.Time

GetCreatedAt returns AddUserAddUserV2User.CreatedAt, and is useful for accessing the field via an interface.

func (*AddUserAddUserV2User) GetEmail

func (v *AddUserAddUserV2User) GetEmail() *string

GetEmail returns AddUserAddUserV2User.Email, and is useful for accessing the field via an interface.

func (*AddUserAddUserV2User) GetFullName

func (v *AddUserAddUserV2User) GetFullName() *string

GetFullName returns AddUserAddUserV2User.FullName, and is useful for accessing the field via an interface.

func (*AddUserAddUserV2User) GetId

func (v *AddUserAddUserV2User) GetId() string

GetId returns AddUserAddUserV2User.Id, and is useful for accessing the field via an interface.

func (*AddUserAddUserV2User) GetIsRoot

func (v *AddUserAddUserV2User) GetIsRoot() bool

GetIsRoot returns AddUserAddUserV2User.IsRoot, and is useful for accessing the field via an interface.

func (*AddUserAddUserV2User) GetPicture

func (v *AddUserAddUserV2User) GetPicture() *string

GetPicture returns AddUserAddUserV2User.Picture, and is useful for accessing the field via an interface.

func (*AddUserAddUserV2User) GetTypename

func (v *AddUserAddUserV2User) GetTypename() *string

GetTypename returns AddUserAddUserV2User.Typename, and is useful for accessing the field via an interface.

func (*AddUserAddUserV2User) GetUsername

func (v *AddUserAddUserV2User) GetUsername() string

GetUsername returns AddUserAddUserV2User.Username, and is useful for accessing the field via an interface.

func (*AddUserAddUserV2User) MarshalJSON

func (v *AddUserAddUserV2User) MarshalJSON() ([]byte, error)

func (*AddUserAddUserV2User) UnmarshalJSON

func (v *AddUserAddUserV2User) UnmarshalJSON(b []byte) error

type AddUserAddUserV2UserOrPendingUser

type AddUserAddUserV2UserOrPendingUser interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// contains filtered or unexported methods
}

AddUserAddUserV2UserOrPendingUser includes the requested fields of the GraphQL interface userOrPendingUser.

AddUserAddUserV2UserOrPendingUser is implemented by the following types: AddUserAddUserV2PendingUser AddUserAddUserV2User The GraphQL type's documentation follows.

A user or pending user, depending on whether an invitation was sent

type AddUserResponse

type AddUserResponse struct {
	// Add or invite a user. Calling this with an invitation token, will activate the account. By activating the account the client accepts LogScale's Terms and Conditions: https://www.humio.com/terms-and-conditions
	AddUserV2 AddUserAddUserV2UserOrPendingUser `json:"-"`
}

AddUserResponse is returned by AddUser on success.

func AddUser

func AddUser(
	ctx_ context.Context,
	client_ graphql.Client,
	Username string,
	Company *string,
	IsRoot *bool,
	FullName *string,
	Picture *string,
	Email *string,
	CountryCode *string,
) (*AddUserResponse, error)

func (*AddUserResponse) GetAddUserV2

GetAddUserV2 returns AddUserResponse.AddUserV2, and is useful for accessing the field via an interface.

func (*AddUserResponse) MarshalJSON

func (v *AddUserResponse) MarshalJSON() ([]byte, error)

func (*AddUserResponse) UnmarshalJSON

func (v *AddUserResponse) UnmarshalJSON(b []byte) error

type AddUserToGroupAddUsersToGroupAddUsersToGroupMutation

type AddUserToGroupAddUsersToGroupAddUsersToGroupMutation struct {
	Typename *string `json:"__typename"`
}

AddUserToGroupAddUsersToGroupAddUsersToGroupMutation includes the requested fields of the GraphQL type AddUsersToGroupMutation.

func (*AddUserToGroupAddUsersToGroupAddUsersToGroupMutation) GetTypename

GetTypename returns AddUserToGroupAddUsersToGroupAddUsersToGroupMutation.Typename, and is useful for accessing the field via an interface.

type AddUserToGroupResponse

type AddUserToGroupResponse struct {
	// Adds users to an existing group.
	AddUsersToGroup AddUserToGroupAddUsersToGroupAddUsersToGroupMutation `json:"addUsersToGroup"`
}

AddUserToGroupResponse is returned by AddUserToGroup on success.

func AddUserToGroup

func AddUserToGroup(
	ctx_ context.Context,
	client_ graphql.Client,
	GroupID string,
	UserID string,
) (*AddUserToGroupResponse, error)

func (*AddUserToGroupResponse) GetAddUsersToGroup

GetAddUsersToGroup returns AddUserToGroupResponse.AddUsersToGroup, and is useful for accessing the field via an interface.

type AggregateAlertDetails

type AggregateAlertDetails struct {
	// Id of the aggregate alert.
	Id string `json:"id"`
	// Name of the aggregate alert.
	Name string `json:"name"`
	// Description of the aggregate alert.
	Description *string `json:"description"`
	// LogScale query to execute.
	QueryString string `json:"queryString"`
	// Search interval in seconds.
	SearchIntervalSeconds int64 `json:"searchIntervalSeconds"`
	// Throttle time in seconds.
	ThrottleTimeSeconds int64 `json:"throttleTimeSeconds"`
	// A field to throttle on. Can only be set if throttleTimeSeconds is set.
	ThrottleField *string `json:"throttleField"`
	// List of actions to fire on query result.
	Actions []AggregateAlertDetailsActionsAction `json:"-"`
	// Labels attached to the aggregate alert.
	Labels []string `json:"labels"`
	// Flag indicating whether the aggregate alert is enabled.
	Enabled bool `json:"enabled"`
	// Trigger mode used for triggering the alert.
	TriggerMode TriggerMode `json:"triggerMode"`
	// Timestamp type to use for a query.
	QueryTimestampType QueryTimestampType `json:"queryTimestampType"`
	// Ownership of the query run by this alert
	QueryOwnership SharedQueryOwnershipType `json:"-"`
}

AggregateAlertDetails includes the GraphQL fields of AggregateAlert requested by the fragment AggregateAlertDetails. The GraphQL type's documentation follows.

An aggregate alert.

func (*AggregateAlertDetails) GetActions

GetActions returns AggregateAlertDetails.Actions, and is useful for accessing the field via an interface.

func (*AggregateAlertDetails) GetDescription

func (v *AggregateAlertDetails) GetDescription() *string

GetDescription returns AggregateAlertDetails.Description, and is useful for accessing the field via an interface.

func (*AggregateAlertDetails) GetEnabled

func (v *AggregateAlertDetails) GetEnabled() bool

GetEnabled returns AggregateAlertDetails.Enabled, and is useful for accessing the field via an interface.

func (*AggregateAlertDetails) GetId

func (v *AggregateAlertDetails) GetId() string

GetId returns AggregateAlertDetails.Id, and is useful for accessing the field via an interface.

func (*AggregateAlertDetails) GetLabels

func (v *AggregateAlertDetails) GetLabels() []string

GetLabels returns AggregateAlertDetails.Labels, and is useful for accessing the field via an interface.

func (*AggregateAlertDetails) GetName

func (v *AggregateAlertDetails) GetName() string

GetName returns AggregateAlertDetails.Name, and is useful for accessing the field via an interface.

func (*AggregateAlertDetails) GetQueryOwnership

func (v *AggregateAlertDetails) GetQueryOwnership() SharedQueryOwnershipType

GetQueryOwnership returns AggregateAlertDetails.QueryOwnership, and is useful for accessing the field via an interface.

func (*AggregateAlertDetails) GetQueryString

func (v *AggregateAlertDetails) GetQueryString() string

GetQueryString returns AggregateAlertDetails.QueryString, and is useful for accessing the field via an interface.

func (*AggregateAlertDetails) GetQueryTimestampType

func (v *AggregateAlertDetails) GetQueryTimestampType() QueryTimestampType

GetQueryTimestampType returns AggregateAlertDetails.QueryTimestampType, and is useful for accessing the field via an interface.

func (*AggregateAlertDetails) GetSearchIntervalSeconds

func (v *AggregateAlertDetails) GetSearchIntervalSeconds() int64

GetSearchIntervalSeconds returns AggregateAlertDetails.SearchIntervalSeconds, and is useful for accessing the field via an interface.

func (*AggregateAlertDetails) GetThrottleField

func (v *AggregateAlertDetails) GetThrottleField() *string

GetThrottleField returns AggregateAlertDetails.ThrottleField, and is useful for accessing the field via an interface.

func (*AggregateAlertDetails) GetThrottleTimeSeconds

func (v *AggregateAlertDetails) GetThrottleTimeSeconds() int64

GetThrottleTimeSeconds returns AggregateAlertDetails.ThrottleTimeSeconds, and is useful for accessing the field via an interface.

func (*AggregateAlertDetails) GetTriggerMode

func (v *AggregateAlertDetails) GetTriggerMode() TriggerMode

GetTriggerMode returns AggregateAlertDetails.TriggerMode, and is useful for accessing the field via an interface.

func (*AggregateAlertDetails) MarshalJSON

func (v *AggregateAlertDetails) MarshalJSON() ([]byte, error)

func (*AggregateAlertDetails) UnmarshalJSON

func (v *AggregateAlertDetails) UnmarshalJSON(b []byte) error

type AggregateAlertDetailsActionsAction

type AggregateAlertDetailsActionsAction interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// GetName returns the interface-field "name" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// An action that can be invoked from a trigger.
	GetName() string
	// contains filtered or unexported methods
}

AggregateAlertDetailsActionsAction includes the requested fields of the GraphQL interface Action.

AggregateAlertDetailsActionsAction is implemented by the following types: AggregateAlertDetailsActionsEmailAction AggregateAlertDetailsActionsHumioRepoAction AggregateAlertDetailsActionsOpsGenieAction AggregateAlertDetailsActionsPagerDutyAction AggregateAlertDetailsActionsSlackAction AggregateAlertDetailsActionsSlackPostMessageAction AggregateAlertDetailsActionsUploadFileAction AggregateAlertDetailsActionsVictorOpsAction AggregateAlertDetailsActionsWebhookAction The GraphQL type's documentation follows.

An action that can be invoked from a trigger.

type AggregateAlertDetailsActionsEmailAction

type AggregateAlertDetailsActionsEmailAction struct {
	Typename *string `json:"__typename"`
	// An action that can be invoked from a trigger.
	Name string `json:"name"`
}

AggregateAlertDetailsActionsEmailAction includes the requested fields of the GraphQL type EmailAction. The GraphQL type's documentation follows.

An email action.

func (*AggregateAlertDetailsActionsEmailAction) GetName

GetName returns AggregateAlertDetailsActionsEmailAction.Name, and is useful for accessing the field via an interface.

func (*AggregateAlertDetailsActionsEmailAction) GetTypename

GetTypename returns AggregateAlertDetailsActionsEmailAction.Typename, and is useful for accessing the field via an interface.

type AggregateAlertDetailsActionsHumioRepoAction

type AggregateAlertDetailsActionsHumioRepoAction struct {
	Typename *string `json:"__typename"`
	// An action that can be invoked from a trigger.
	Name string `json:"name"`
}

AggregateAlertDetailsActionsHumioRepoAction includes the requested fields of the GraphQL type HumioRepoAction. The GraphQL type's documentation follows.

A LogScale repository action.

func (*AggregateAlertDetailsActionsHumioRepoAction) GetName

GetName returns AggregateAlertDetailsActionsHumioRepoAction.Name, and is useful for accessing the field via an interface.

func (*AggregateAlertDetailsActionsHumioRepoAction) GetTypename

GetTypename returns AggregateAlertDetailsActionsHumioRepoAction.Typename, and is useful for accessing the field via an interface.

type AggregateAlertDetailsActionsOpsGenieAction

type AggregateAlertDetailsActionsOpsGenieAction struct {
	Typename *string `json:"__typename"`
	// An action that can be invoked from a trigger.
	Name string `json:"name"`
}

AggregateAlertDetailsActionsOpsGenieAction includes the requested fields of the GraphQL type OpsGenieAction. The GraphQL type's documentation follows.

An OpsGenie action

func (*AggregateAlertDetailsActionsOpsGenieAction) GetName

GetName returns AggregateAlertDetailsActionsOpsGenieAction.Name, and is useful for accessing the field via an interface.

func (*AggregateAlertDetailsActionsOpsGenieAction) GetTypename

GetTypename returns AggregateAlertDetailsActionsOpsGenieAction.Typename, and is useful for accessing the field via an interface.

type AggregateAlertDetailsActionsPagerDutyAction

type AggregateAlertDetailsActionsPagerDutyAction struct {
	Typename *string `json:"__typename"`
	// An action that can be invoked from a trigger.
	Name string `json:"name"`
}

AggregateAlertDetailsActionsPagerDutyAction includes the requested fields of the GraphQL type PagerDutyAction. The GraphQL type's documentation follows.

A PagerDuty action.

func (*AggregateAlertDetailsActionsPagerDutyAction) GetName

GetName returns AggregateAlertDetailsActionsPagerDutyAction.Name, and is useful for accessing the field via an interface.

func (*AggregateAlertDetailsActionsPagerDutyAction) GetTypename

GetTypename returns AggregateAlertDetailsActionsPagerDutyAction.Typename, and is useful for accessing the field via an interface.

type AggregateAlertDetailsActionsSlackAction

type AggregateAlertDetailsActionsSlackAction struct {
	Typename *string `json:"__typename"`
	// An action that can be invoked from a trigger.
	Name string `json:"name"`
}

AggregateAlertDetailsActionsSlackAction includes the requested fields of the GraphQL type SlackAction. The GraphQL type's documentation follows.

A Slack action

func (*AggregateAlertDetailsActionsSlackAction) GetName

GetName returns AggregateAlertDetailsActionsSlackAction.Name, and is useful for accessing the field via an interface.

func (*AggregateAlertDetailsActionsSlackAction) GetTypename

GetTypename returns AggregateAlertDetailsActionsSlackAction.Typename, and is useful for accessing the field via an interface.

type AggregateAlertDetailsActionsSlackPostMessageAction

type AggregateAlertDetailsActionsSlackPostMessageAction struct {
	Typename *string `json:"__typename"`
	// An action that can be invoked from a trigger.
	Name string `json:"name"`
}

AggregateAlertDetailsActionsSlackPostMessageAction includes the requested fields of the GraphQL type SlackPostMessageAction. The GraphQL type's documentation follows.

A slack post-message action.

func (*AggregateAlertDetailsActionsSlackPostMessageAction) GetName

GetName returns AggregateAlertDetailsActionsSlackPostMessageAction.Name, and is useful for accessing the field via an interface.

func (*AggregateAlertDetailsActionsSlackPostMessageAction) GetTypename

GetTypename returns AggregateAlertDetailsActionsSlackPostMessageAction.Typename, and is useful for accessing the field via an interface.

type AggregateAlertDetailsActionsUploadFileAction

type AggregateAlertDetailsActionsUploadFileAction struct {
	Typename *string `json:"__typename"`
	// An action that can be invoked from a trigger.
	Name string `json:"name"`
}

AggregateAlertDetailsActionsUploadFileAction includes the requested fields of the GraphQL type UploadFileAction. The GraphQL type's documentation follows.

An upload file action.

func (*AggregateAlertDetailsActionsUploadFileAction) GetName

GetName returns AggregateAlertDetailsActionsUploadFileAction.Name, and is useful for accessing the field via an interface.

func (*AggregateAlertDetailsActionsUploadFileAction) GetTypename

GetTypename returns AggregateAlertDetailsActionsUploadFileAction.Typename, and is useful for accessing the field via an interface.

type AggregateAlertDetailsActionsVictorOpsAction

type AggregateAlertDetailsActionsVictorOpsAction struct {
	Typename *string `json:"__typename"`
	// An action that can be invoked from a trigger.
	Name string `json:"name"`
}

AggregateAlertDetailsActionsVictorOpsAction includes the requested fields of the GraphQL type VictorOpsAction. The GraphQL type's documentation follows.

A VictorOps action.

func (*AggregateAlertDetailsActionsVictorOpsAction) GetName

GetName returns AggregateAlertDetailsActionsVictorOpsAction.Name, and is useful for accessing the field via an interface.

func (*AggregateAlertDetailsActionsVictorOpsAction) GetTypename

GetTypename returns AggregateAlertDetailsActionsVictorOpsAction.Typename, and is useful for accessing the field via an interface.

type AggregateAlertDetailsActionsWebhookAction

type AggregateAlertDetailsActionsWebhookAction struct {
	Typename *string `json:"__typename"`
	// An action that can be invoked from a trigger.
	Name string `json:"name"`
}

AggregateAlertDetailsActionsWebhookAction includes the requested fields of the GraphQL type WebhookAction. The GraphQL type's documentation follows.

A webhook action

func (*AggregateAlertDetailsActionsWebhookAction) GetName

GetName returns AggregateAlertDetailsActionsWebhookAction.Name, and is useful for accessing the field via an interface.

func (*AggregateAlertDetailsActionsWebhookAction) GetTypename

GetTypename returns AggregateAlertDetailsActionsWebhookAction.Typename, and is useful for accessing the field via an interface.

type AlertDetails

type AlertDetails struct {
	// Id of the alert.
	Id string `json:"id"`
	// Name of the alert.
	Name string `json:"name"`
	// LogScale query to execute.
	QueryString string `json:"queryString"`
	// Start of the relative time interval for the query.
	QueryStart string `json:"queryStart"`
	// Field to throttle on.
	ThrottleField *string `json:"throttleField"`
	// Unix timestamp for when the alert was last triggered.
	TimeOfLastTrigger *int64 `json:"timeOfLastTrigger"`
	// Flag indicating whether the calling user has 'starred' the alert.
	IsStarred bool `json:"isStarred"`
	// Name of the alert.
	Description *string `json:"description"`
	// Throttle time in milliseconds.
	ThrottleTimeMillis int64 `json:"throttleTimeMillis"`
	// Flag indicating whether the alert is enabled.
	Enabled bool `json:"enabled"`
	// List of ids for actions to fire on query result.
	Actions []string `json:"actions"`
	// Labels attached to the alert.
	Labels []string `json:"labels"`
	// Last error encountered while running the alert.
	LastError *string `json:"lastError"`
	// Ownership of the query run by this alert
	QueryOwnership SharedQueryOwnershipType `json:"-"`
}

AlertDetails includes the GraphQL fields of Alert requested by the fragment AlertDetails. The GraphQL type's documentation follows.

An alert.

func (*AlertDetails) GetActions

func (v *AlertDetails) GetActions() []string

GetActions returns AlertDetails.Actions, and is useful for accessing the field via an interface.

func (*AlertDetails) GetDescription

func (v *AlertDetails) GetDescription() *string

GetDescription returns AlertDetails.Description, and is useful for accessing the field via an interface.

func (*AlertDetails) GetEnabled

func (v *AlertDetails) GetEnabled() bool

GetEnabled returns AlertDetails.Enabled, and is useful for accessing the field via an interface.

func (*AlertDetails) GetId

func (v *AlertDetails) GetId() string

GetId returns AlertDetails.Id, and is useful for accessing the field via an interface.

func (*AlertDetails) GetIsStarred

func (v *AlertDetails) GetIsStarred() bool

GetIsStarred returns AlertDetails.IsStarred, and is useful for accessing the field via an interface.

func (*AlertDetails) GetLabels

func (v *AlertDetails) GetLabels() []string

GetLabels returns AlertDetails.Labels, and is useful for accessing the field via an interface.

func (*AlertDetails) GetLastError

func (v *AlertDetails) GetLastError() *string

GetLastError returns AlertDetails.LastError, and is useful for accessing the field via an interface.

func (*AlertDetails) GetName

func (v *AlertDetails) GetName() string

GetName returns AlertDetails.Name, and is useful for accessing the field via an interface.

func (*AlertDetails) GetQueryOwnership

func (v *AlertDetails) GetQueryOwnership() SharedQueryOwnershipType

GetQueryOwnership returns AlertDetails.QueryOwnership, and is useful for accessing the field via an interface.

func (*AlertDetails) GetQueryStart

func (v *AlertDetails) GetQueryStart() string

GetQueryStart returns AlertDetails.QueryStart, and is useful for accessing the field via an interface.

func (*AlertDetails) GetQueryString

func (v *AlertDetails) GetQueryString() string

GetQueryString returns AlertDetails.QueryString, and is useful for accessing the field via an interface.

func (*AlertDetails) GetThrottleField

func (v *AlertDetails) GetThrottleField() *string

GetThrottleField returns AlertDetails.ThrottleField, and is useful for accessing the field via an interface.

func (*AlertDetails) GetThrottleTimeMillis

func (v *AlertDetails) GetThrottleTimeMillis() int64

GetThrottleTimeMillis returns AlertDetails.ThrottleTimeMillis, and is useful for accessing the field via an interface.

func (*AlertDetails) GetTimeOfLastTrigger

func (v *AlertDetails) GetTimeOfLastTrigger() *int64

GetTimeOfLastTrigger returns AlertDetails.TimeOfLastTrigger, and is useful for accessing the field via an interface.

func (*AlertDetails) MarshalJSON

func (v *AlertDetails) MarshalJSON() ([]byte, error)

func (*AlertDetails) UnmarshalJSON

func (v *AlertDetails) UnmarshalJSON(b []byte) error

type AssignParserToIngestTokenAssignParserToIngestTokenV2IngestToken

type AssignParserToIngestTokenAssignParserToIngestTokenV2IngestToken struct {
	Typename *string `json:"__typename"`
}

AssignParserToIngestTokenAssignParserToIngestTokenV2IngestToken includes the requested fields of the GraphQL type IngestToken. The GraphQL type's documentation follows.

An API ingest token used for sending data to LogScale.

func (*AssignParserToIngestTokenAssignParserToIngestTokenV2IngestToken) GetTypename

GetTypename returns AssignParserToIngestTokenAssignParserToIngestTokenV2IngestToken.Typename, and is useful for accessing the field via an interface.

type AssignParserToIngestTokenResponse

type AssignParserToIngestTokenResponse struct {
	// Assign an ingest token to be associated with a parser.
	AssignParserToIngestTokenV2 AssignParserToIngestTokenAssignParserToIngestTokenV2IngestToken `json:"assignParserToIngestTokenV2"`
}

AssignParserToIngestTokenResponse is returned by AssignParserToIngestToken on success.

func AssignParserToIngestToken

func AssignParserToIngestToken(
	ctx_ context.Context,
	client_ graphql.Client,
	RepositoryName string,
	IngestTokenName string,
	ParserName string,
) (*AssignParserToIngestTokenResponse, error)

func (*AssignParserToIngestTokenResponse) GetAssignParserToIngestTokenV2

GetAssignParserToIngestTokenV2 returns AssignParserToIngestTokenResponse.AssignParserToIngestTokenV2, and is useful for accessing the field via an interface.

type ClusterNode

type ClusterNode struct {
	Nodes []ClusterNodeNodesClusterNode `json:"nodes"`
}

ClusterNode includes the GraphQL fields of Cluster requested by the fragment ClusterNode. The GraphQL type's documentation follows.

Information about the LogScale cluster.

func (*ClusterNode) GetNodes

func (v *ClusterNode) GetNodes() []ClusterNodeNodesClusterNode

GetNodes returns ClusterNode.Nodes, and is useful for accessing the field via an interface.

type ClusterNodeNodesClusterNode

type ClusterNodeNodesClusterNode struct {
	Id                    int     `json:"id"`
	Name                  string  `json:"name"`
	Uri                   string  `json:"uri"`
	Uuid                  string  `json:"uuid"`
	ClusterInfoAgeSeconds float64 `json:"clusterInfoAgeSeconds"`
	// The size in GB of data this node needs to receive.
	InboundSegmentSize float64 `json:"inboundSegmentSize"`
	// The size in GB of data this node has that others need.
	OutboundSegmentSize     float64 `json:"outboundSegmentSize"`
	CanBeSafelyUnregistered bool    `json:"canBeSafelyUnregistered"`
	// The size in GB of data currently on this node.
	CurrentSize float64 `json:"currentSize"`
	// The size in GB of the data currently on this node that are in the primary storage location.
	PrimarySize float64 `json:"primarySize"`
	// The size in GB of the data currently on this node that are in the secondary storage location. Zero if no secondary is configured.
	SecondarySize float64 `json:"secondarySize"`
	// The total size in GB of the primary storage location on this node.
	TotalSizeOfPrimary float64 `json:"totalSizeOfPrimary"`
	// The total size in GB of the secondary storage location on this node. Zero if no secondary is configured.
	TotalSizeOfSecondary float64 `json:"totalSizeOfSecondary"`
	// The size in GB of the free space on this node of the primary storage location.
	FreeOnPrimary float64 `json:"freeOnPrimary"`
	// The size in GB of the free space on this node of the secondary storage location. Zero if no secondary is configured.
	FreeOnSecondary float64 `json:"freeOnSecondary"`
	// The size in GB of work-in-progress data files.
	WipSize float64 `json:"wipSize"`
	// The size in GB of data once the node has received the data allocated to it.
	TargetSize float64 `json:"targetSize"`
	// The size in GB of data that only exists on this node - i.e. only one replica exists in the cluster.
	SolitarySegmentSize float64 `json:"solitarySegmentSize"`
	// A flag indicating whether the node is considered up or down by the cluster coordinated. This is based on the `lastHeartbeat` field.
	IsAvailable bool `json:"isAvailable"`
	// The last time a heartbeat was received from the node.
	LastHeartbeat time.Time `json:"lastHeartbeat"`
	Zone          *string   `json:"zone"`
}

ClusterNodeNodesClusterNode includes the requested fields of the GraphQL type ClusterNode. The GraphQL type's documentation follows.

A node in the a LogScale Cluster.

func (*ClusterNodeNodesClusterNode) GetCanBeSafelyUnregistered

func (v *ClusterNodeNodesClusterNode) GetCanBeSafelyUnregistered() bool

GetCanBeSafelyUnregistered returns ClusterNodeNodesClusterNode.CanBeSafelyUnregistered, and is useful for accessing the field via an interface.

func (*ClusterNodeNodesClusterNode) GetClusterInfoAgeSeconds

func (v *ClusterNodeNodesClusterNode) GetClusterInfoAgeSeconds() float64

GetClusterInfoAgeSeconds returns ClusterNodeNodesClusterNode.ClusterInfoAgeSeconds, and is useful for accessing the field via an interface.

func (*ClusterNodeNodesClusterNode) GetCurrentSize

func (v *ClusterNodeNodesClusterNode) GetCurrentSize() float64

GetCurrentSize returns ClusterNodeNodesClusterNode.CurrentSize, and is useful for accessing the field via an interface.

func (*ClusterNodeNodesClusterNode) GetFreeOnPrimary

func (v *ClusterNodeNodesClusterNode) GetFreeOnPrimary() float64

GetFreeOnPrimary returns ClusterNodeNodesClusterNode.FreeOnPrimary, and is useful for accessing the field via an interface.

func (*ClusterNodeNodesClusterNode) GetFreeOnSecondary

func (v *ClusterNodeNodesClusterNode) GetFreeOnSecondary() float64

GetFreeOnSecondary returns ClusterNodeNodesClusterNode.FreeOnSecondary, and is useful for accessing the field via an interface.

func (*ClusterNodeNodesClusterNode) GetId

func (v *ClusterNodeNodesClusterNode) GetId() int

GetId returns ClusterNodeNodesClusterNode.Id, and is useful for accessing the field via an interface.

func (*ClusterNodeNodesClusterNode) GetInboundSegmentSize

func (v *ClusterNodeNodesClusterNode) GetInboundSegmentSize() float64

GetInboundSegmentSize returns ClusterNodeNodesClusterNode.InboundSegmentSize, and is useful for accessing the field via an interface.

func (*ClusterNodeNodesClusterNode) GetIsAvailable

func (v *ClusterNodeNodesClusterNode) GetIsAvailable() bool

GetIsAvailable returns ClusterNodeNodesClusterNode.IsAvailable, and is useful for accessing the field via an interface.

func (*ClusterNodeNodesClusterNode) GetLastHeartbeat

func (v *ClusterNodeNodesClusterNode) GetLastHeartbeat() time.Time

GetLastHeartbeat returns ClusterNodeNodesClusterNode.LastHeartbeat, and is useful for accessing the field via an interface.

func (*ClusterNodeNodesClusterNode) GetName

func (v *ClusterNodeNodesClusterNode) GetName() string

GetName returns ClusterNodeNodesClusterNode.Name, and is useful for accessing the field via an interface.

func (*ClusterNodeNodesClusterNode) GetOutboundSegmentSize

func (v *ClusterNodeNodesClusterNode) GetOutboundSegmentSize() float64

GetOutboundSegmentSize returns ClusterNodeNodesClusterNode.OutboundSegmentSize, and is useful for accessing the field via an interface.

func (*ClusterNodeNodesClusterNode) GetPrimarySize

func (v *ClusterNodeNodesClusterNode) GetPrimarySize() float64

GetPrimarySize returns ClusterNodeNodesClusterNode.PrimarySize, and is useful for accessing the field via an interface.

func (*ClusterNodeNodesClusterNode) GetSecondarySize

func (v *ClusterNodeNodesClusterNode) GetSecondarySize() float64

GetSecondarySize returns ClusterNodeNodesClusterNode.SecondarySize, and is useful for accessing the field via an interface.

func (*ClusterNodeNodesClusterNode) GetSolitarySegmentSize

func (v *ClusterNodeNodesClusterNode) GetSolitarySegmentSize() float64

GetSolitarySegmentSize returns ClusterNodeNodesClusterNode.SolitarySegmentSize, and is useful for accessing the field via an interface.

func (*ClusterNodeNodesClusterNode) GetTargetSize

func (v *ClusterNodeNodesClusterNode) GetTargetSize() float64

GetTargetSize returns ClusterNodeNodesClusterNode.TargetSize, and is useful for accessing the field via an interface.

func (*ClusterNodeNodesClusterNode) GetTotalSizeOfPrimary

func (v *ClusterNodeNodesClusterNode) GetTotalSizeOfPrimary() float64

GetTotalSizeOfPrimary returns ClusterNodeNodesClusterNode.TotalSizeOfPrimary, and is useful for accessing the field via an interface.

func (*ClusterNodeNodesClusterNode) GetTotalSizeOfSecondary

func (v *ClusterNodeNodesClusterNode) GetTotalSizeOfSecondary() float64

GetTotalSizeOfSecondary returns ClusterNodeNodesClusterNode.TotalSizeOfSecondary, and is useful for accessing the field via an interface.

func (*ClusterNodeNodesClusterNode) GetUri

func (v *ClusterNodeNodesClusterNode) GetUri() string

GetUri returns ClusterNodeNodesClusterNode.Uri, and is useful for accessing the field via an interface.

func (*ClusterNodeNodesClusterNode) GetUuid

func (v *ClusterNodeNodesClusterNode) GetUuid() string

GetUuid returns ClusterNodeNodesClusterNode.Uuid, and is useful for accessing the field via an interface.

func (*ClusterNodeNodesClusterNode) GetWipSize

func (v *ClusterNodeNodesClusterNode) GetWipSize() float64

GetWipSize returns ClusterNodeNodesClusterNode.WipSize, and is useful for accessing the field via an interface.

func (*ClusterNodeNodesClusterNode) GetZone

func (v *ClusterNodeNodesClusterNode) GetZone() *string

GetZone returns ClusterNodeNodesClusterNode.Zone, and is useful for accessing the field via an interface.

type CreateAggregateAlertCreateAggregateAlert

type CreateAggregateAlertCreateAggregateAlert struct {
	AggregateAlertDetails `json:"-"`
}

CreateAggregateAlertCreateAggregateAlert includes the requested fields of the GraphQL type AggregateAlert. The GraphQL type's documentation follows.

An aggregate alert.

func (*CreateAggregateAlertCreateAggregateAlert) GetActions

GetActions returns CreateAggregateAlertCreateAggregateAlert.Actions, and is useful for accessing the field via an interface.

func (*CreateAggregateAlertCreateAggregateAlert) GetDescription

func (v *CreateAggregateAlertCreateAggregateAlert) GetDescription() *string

GetDescription returns CreateAggregateAlertCreateAggregateAlert.Description, and is useful for accessing the field via an interface.

func (*CreateAggregateAlertCreateAggregateAlert) GetEnabled

GetEnabled returns CreateAggregateAlertCreateAggregateAlert.Enabled, and is useful for accessing the field via an interface.

func (*CreateAggregateAlertCreateAggregateAlert) GetId

GetId returns CreateAggregateAlertCreateAggregateAlert.Id, and is useful for accessing the field via an interface.

func (*CreateAggregateAlertCreateAggregateAlert) GetLabels

GetLabels returns CreateAggregateAlertCreateAggregateAlert.Labels, and is useful for accessing the field via an interface.

func (*CreateAggregateAlertCreateAggregateAlert) GetName

GetName returns CreateAggregateAlertCreateAggregateAlert.Name, and is useful for accessing the field via an interface.

func (*CreateAggregateAlertCreateAggregateAlert) GetQueryOwnership

GetQueryOwnership returns CreateAggregateAlertCreateAggregateAlert.QueryOwnership, and is useful for accessing the field via an interface.

func (*CreateAggregateAlertCreateAggregateAlert) GetQueryString

GetQueryString returns CreateAggregateAlertCreateAggregateAlert.QueryString, and is useful for accessing the field via an interface.

func (*CreateAggregateAlertCreateAggregateAlert) GetQueryTimestampType

GetQueryTimestampType returns CreateAggregateAlertCreateAggregateAlert.QueryTimestampType, and is useful for accessing the field via an interface.

func (*CreateAggregateAlertCreateAggregateAlert) GetSearchIntervalSeconds

func (v *CreateAggregateAlertCreateAggregateAlert) GetSearchIntervalSeconds() int64

GetSearchIntervalSeconds returns CreateAggregateAlertCreateAggregateAlert.SearchIntervalSeconds, and is useful for accessing the field via an interface.

func (*CreateAggregateAlertCreateAggregateAlert) GetThrottleField

func (v *CreateAggregateAlertCreateAggregateAlert) GetThrottleField() *string

GetThrottleField returns CreateAggregateAlertCreateAggregateAlert.ThrottleField, and is useful for accessing the field via an interface.

func (*CreateAggregateAlertCreateAggregateAlert) GetThrottleTimeSeconds

func (v *CreateAggregateAlertCreateAggregateAlert) GetThrottleTimeSeconds() int64

GetThrottleTimeSeconds returns CreateAggregateAlertCreateAggregateAlert.ThrottleTimeSeconds, and is useful for accessing the field via an interface.

func (*CreateAggregateAlertCreateAggregateAlert) GetTriggerMode

GetTriggerMode returns CreateAggregateAlertCreateAggregateAlert.TriggerMode, and is useful for accessing the field via an interface.

func (*CreateAggregateAlertCreateAggregateAlert) MarshalJSON

func (v *CreateAggregateAlertCreateAggregateAlert) MarshalJSON() ([]byte, error)

func (*CreateAggregateAlertCreateAggregateAlert) UnmarshalJSON

func (v *CreateAggregateAlertCreateAggregateAlert) UnmarshalJSON(b []byte) error

type CreateAggregateAlertResponse

type CreateAggregateAlertResponse struct {
	// Create an aggregate alert.
	CreateAggregateAlert CreateAggregateAlertCreateAggregateAlert `json:"createAggregateAlert"`
}

CreateAggregateAlertResponse is returned by CreateAggregateAlert on success.

func CreateAggregateAlert

func CreateAggregateAlert(
	ctx_ context.Context,
	client_ graphql.Client,
	SearchDomainName string,
	Name string,
	Description *string,
	QueryString string,
	SearchIntervalSeconds int64,
	ActionIdsOrNames []string,
	Labels []string,
	Enabled bool,
	RunAsUserID *string,
	ThrottleField *string,
	ThrottleTimeSeconds int64,
	TriggerMode TriggerMode,
	QueryTimestampMode QueryTimestampType,
	QueryOwnershipType QueryOwnershipType,
) (*CreateAggregateAlertResponse, error)

func (*CreateAggregateAlertResponse) GetCreateAggregateAlert

GetCreateAggregateAlert returns CreateAggregateAlertResponse.CreateAggregateAlert, and is useful for accessing the field via an interface.

type CreateAlertCreateAlert

type CreateAlertCreateAlert struct {
	AlertDetails `json:"-"`
}

CreateAlertCreateAlert includes the requested fields of the GraphQL type Alert. The GraphQL type's documentation follows.

An alert.

func (*CreateAlertCreateAlert) GetActions

func (v *CreateAlertCreateAlert) GetActions() []string

GetActions returns CreateAlertCreateAlert.Actions, and is useful for accessing the field via an interface.

func (*CreateAlertCreateAlert) GetDescription

func (v *CreateAlertCreateAlert) GetDescription() *string

GetDescription returns CreateAlertCreateAlert.Description, and is useful for accessing the field via an interface.

func (*CreateAlertCreateAlert) GetEnabled

func (v *CreateAlertCreateAlert) GetEnabled() bool

GetEnabled returns CreateAlertCreateAlert.Enabled, and is useful for accessing the field via an interface.

func (*CreateAlertCreateAlert) GetId

func (v *CreateAlertCreateAlert) GetId() string

GetId returns CreateAlertCreateAlert.Id, and is useful for accessing the field via an interface.

func (*CreateAlertCreateAlert) GetIsStarred

func (v *CreateAlertCreateAlert) GetIsStarred() bool

GetIsStarred returns CreateAlertCreateAlert.IsStarred, and is useful for accessing the field via an interface.

func (*CreateAlertCreateAlert) GetLabels

func (v *CreateAlertCreateAlert) GetLabels() []string

GetLabels returns CreateAlertCreateAlert.Labels, and is useful for accessing the field via an interface.

func (*CreateAlertCreateAlert) GetLastError

func (v *CreateAlertCreateAlert) GetLastError() *string

GetLastError returns CreateAlertCreateAlert.LastError, and is useful for accessing the field via an interface.

func (*CreateAlertCreateAlert) GetName

func (v *CreateAlertCreateAlert) GetName() string

GetName returns CreateAlertCreateAlert.Name, and is useful for accessing the field via an interface.

func (*CreateAlertCreateAlert) GetQueryOwnership

func (v *CreateAlertCreateAlert) GetQueryOwnership() SharedQueryOwnershipType

GetQueryOwnership returns CreateAlertCreateAlert.QueryOwnership, and is useful for accessing the field via an interface.

func (*CreateAlertCreateAlert) GetQueryStart

func (v *CreateAlertCreateAlert) GetQueryStart() string

GetQueryStart returns CreateAlertCreateAlert.QueryStart, and is useful for accessing the field via an interface.

func (*CreateAlertCreateAlert) GetQueryString

func (v *CreateAlertCreateAlert) GetQueryString() string

GetQueryString returns CreateAlertCreateAlert.QueryString, and is useful for accessing the field via an interface.

func (*CreateAlertCreateAlert) GetThrottleField

func (v *CreateAlertCreateAlert) GetThrottleField() *string

GetThrottleField returns CreateAlertCreateAlert.ThrottleField, and is useful for accessing the field via an interface.

func (*CreateAlertCreateAlert) GetThrottleTimeMillis

func (v *CreateAlertCreateAlert) GetThrottleTimeMillis() int64

GetThrottleTimeMillis returns CreateAlertCreateAlert.ThrottleTimeMillis, and is useful for accessing the field via an interface.

func (*CreateAlertCreateAlert) GetTimeOfLastTrigger

func (v *CreateAlertCreateAlert) GetTimeOfLastTrigger() *int64

GetTimeOfLastTrigger returns CreateAlertCreateAlert.TimeOfLastTrigger, and is useful for accessing the field via an interface.

func (*CreateAlertCreateAlert) MarshalJSON

func (v *CreateAlertCreateAlert) MarshalJSON() ([]byte, error)

func (*CreateAlertCreateAlert) UnmarshalJSON

func (v *CreateAlertCreateAlert) UnmarshalJSON(b []byte) error

type CreateAlertResponse

type CreateAlertResponse struct {
	// Create an alert.
	CreateAlert CreateAlertCreateAlert `json:"createAlert"`
}

CreateAlertResponse is returned by CreateAlert on success.

func CreateAlert

func CreateAlert(
	ctx_ context.Context,
	client_ graphql.Client,
	SearchDomainName string,
	Name string,
	Description *string,
	QueryString string,
	QueryStart string,
	ThrottleTimeMillis int64,
	Enabled *bool,
	Actions []string,
	Labels []string,
	RunAsUserID *string,
	QueryOwnershipType *QueryOwnershipType,
	ThrottleField *string,
) (*CreateAlertResponse, error)

func (*CreateAlertResponse) GetCreateAlert

func (v *CreateAlertResponse) GetCreateAlert() CreateAlertCreateAlert

GetCreateAlert returns CreateAlertResponse.CreateAlert, and is useful for accessing the field via an interface.

type CreateEmailActionCreateEmailAction

type CreateEmailActionCreateEmailAction struct {
	// The id of the action.
	Id string `json:"id"`
	// The name of the action.
	Name string `json:"name"`
	// List of email addresses to send an email to.
	Recipients []string `json:"recipients"`
	// Subject of the email. Can be templated with values from the result.
	SubjectTemplate *string `json:"subjectTemplate"`
	// Body of the email. Can be templated with values from the result.
	BodyTemplate *string `json:"bodyTemplate"`
	// Defines whether the action should use the configured proxy to make web requests.
	UseProxy bool `json:"useProxy"`
}

CreateEmailActionCreateEmailAction includes the requested fields of the GraphQL type EmailAction. The GraphQL type's documentation follows.

An email action.

func (*CreateEmailActionCreateEmailAction) GetBodyTemplate

func (v *CreateEmailActionCreateEmailAction) GetBodyTemplate() *string

GetBodyTemplate returns CreateEmailActionCreateEmailAction.BodyTemplate, and is useful for accessing the field via an interface.

func (*CreateEmailActionCreateEmailAction) GetId

GetId returns CreateEmailActionCreateEmailAction.Id, and is useful for accessing the field via an interface.

func (*CreateEmailActionCreateEmailAction) GetName

GetName returns CreateEmailActionCreateEmailAction.Name, and is useful for accessing the field via an interface.

func (*CreateEmailActionCreateEmailAction) GetRecipients

func (v *CreateEmailActionCreateEmailAction) GetRecipients() []string

GetRecipients returns CreateEmailActionCreateEmailAction.Recipients, and is useful for accessing the field via an interface.

func (*CreateEmailActionCreateEmailAction) GetSubjectTemplate

func (v *CreateEmailActionCreateEmailAction) GetSubjectTemplate() *string

GetSubjectTemplate returns CreateEmailActionCreateEmailAction.SubjectTemplate, and is useful for accessing the field via an interface.

func (*CreateEmailActionCreateEmailAction) GetUseProxy

func (v *CreateEmailActionCreateEmailAction) GetUseProxy() bool

GetUseProxy returns CreateEmailActionCreateEmailAction.UseProxy, and is useful for accessing the field via an interface.

type CreateEmailActionResponse

type CreateEmailActionResponse struct {
	// Create an email action.
	CreateEmailAction CreateEmailActionCreateEmailAction `json:"createEmailAction"`
}

CreateEmailActionResponse is returned by CreateEmailAction on success.

func CreateEmailAction

func CreateEmailAction(
	ctx_ context.Context,
	client_ graphql.Client,
	SearchDomainName string,
	ActionName string,
	Recipients []string,
	SubjectTemplate *string,
	BodyTemplate *string,
	UseProxy bool,
) (*CreateEmailActionResponse, error)

func (*CreateEmailActionResponse) GetCreateEmailAction

GetCreateEmailAction returns CreateEmailActionResponse.CreateEmailAction, and is useful for accessing the field via an interface.

type CreateFilterAlertCreateFilterAlert

type CreateFilterAlertCreateFilterAlert struct {
	FilterAlertDetails `json:"-"`
}

CreateFilterAlertCreateFilterAlert includes the requested fields of the GraphQL type FilterAlert. The GraphQL type's documentation follows.

A filter alert.

func (*CreateFilterAlertCreateFilterAlert) GetActions

GetActions returns CreateFilterAlertCreateFilterAlert.Actions, and is useful for accessing the field via an interface.

func (*CreateFilterAlertCreateFilterAlert) GetDescription

func (v *CreateFilterAlertCreateFilterAlert) GetDescription() *string

GetDescription returns CreateFilterAlertCreateFilterAlert.Description, and is useful for accessing the field via an interface.

func (*CreateFilterAlertCreateFilterAlert) GetEnabled

func (v *CreateFilterAlertCreateFilterAlert) GetEnabled() bool

GetEnabled returns CreateFilterAlertCreateFilterAlert.Enabled, and is useful for accessing the field via an interface.

func (*CreateFilterAlertCreateFilterAlert) GetId

GetId returns CreateFilterAlertCreateFilterAlert.Id, and is useful for accessing the field via an interface.

func (*CreateFilterAlertCreateFilterAlert) GetLabels

func (v *CreateFilterAlertCreateFilterAlert) GetLabels() []string

GetLabels returns CreateFilterAlertCreateFilterAlert.Labels, and is useful for accessing the field via an interface.

func (*CreateFilterAlertCreateFilterAlert) GetName

GetName returns CreateFilterAlertCreateFilterAlert.Name, and is useful for accessing the field via an interface.

func (*CreateFilterAlertCreateFilterAlert) GetQueryOwnership

GetQueryOwnership returns CreateFilterAlertCreateFilterAlert.QueryOwnership, and is useful for accessing the field via an interface.

func (*CreateFilterAlertCreateFilterAlert) GetQueryString

func (v *CreateFilterAlertCreateFilterAlert) GetQueryString() string

GetQueryString returns CreateFilterAlertCreateFilterAlert.QueryString, and is useful for accessing the field via an interface.

func (*CreateFilterAlertCreateFilterAlert) GetThrottleField

func (v *CreateFilterAlertCreateFilterAlert) GetThrottleField() *string

GetThrottleField returns CreateFilterAlertCreateFilterAlert.ThrottleField, and is useful for accessing the field via an interface.

func (*CreateFilterAlertCreateFilterAlert) GetThrottleTimeSeconds

func (v *CreateFilterAlertCreateFilterAlert) GetThrottleTimeSeconds() *int64

GetThrottleTimeSeconds returns CreateFilterAlertCreateFilterAlert.ThrottleTimeSeconds, and is useful for accessing the field via an interface.

func (*CreateFilterAlertCreateFilterAlert) MarshalJSON

func (v *CreateFilterAlertCreateFilterAlert) MarshalJSON() ([]byte, error)

func (*CreateFilterAlertCreateFilterAlert) UnmarshalJSON

func (v *CreateFilterAlertCreateFilterAlert) UnmarshalJSON(b []byte) error

type CreateFilterAlertResponse

type CreateFilterAlertResponse struct {
	// Create a filter alert.
	CreateFilterAlert CreateFilterAlertCreateFilterAlert `json:"createFilterAlert"`
}

CreateFilterAlertResponse is returned by CreateFilterAlert on success.

func CreateFilterAlert

func CreateFilterAlert(
	ctx_ context.Context,
	client_ graphql.Client,
	SearchDomainName string,
	Name string,
	Description *string,
	QueryString string,
	ActionIdsOrNames []string,
	Labels []string,
	Enabled bool,
	RunAsUserID *string,
	ThrottleField *string,
	ThrottleTimeSeconds int64,
	QueryOwnershipType QueryOwnershipType,
) (*CreateFilterAlertResponse, error)

func (*CreateFilterAlertResponse) GetCreateFilterAlert

GetCreateFilterAlert returns CreateFilterAlertResponse.CreateFilterAlert, and is useful for accessing the field via an interface.

type CreateHumioRepoActionCreateHumioRepoAction

type CreateHumioRepoActionCreateHumioRepoAction struct {
	// The id of the action.
	Id string `json:"id"`
	// The name of the action.
	Name string `json:"name"`
	// Humio ingest token for the dataspace that the action should ingest into.
	IngestToken string `json:"ingestToken"`
}

CreateHumioRepoActionCreateHumioRepoAction includes the requested fields of the GraphQL type HumioRepoAction. The GraphQL type's documentation follows.

A LogScale repository action.

func (*CreateHumioRepoActionCreateHumioRepoAction) GetId

GetId returns CreateHumioRepoActionCreateHumioRepoAction.Id, and is useful for accessing the field via an interface.

func (*CreateHumioRepoActionCreateHumioRepoAction) GetIngestToken

GetIngestToken returns CreateHumioRepoActionCreateHumioRepoAction.IngestToken, and is useful for accessing the field via an interface.

func (*CreateHumioRepoActionCreateHumioRepoAction) GetName

GetName returns CreateHumioRepoActionCreateHumioRepoAction.Name, and is useful for accessing the field via an interface.

type CreateHumioRepoActionResponse

type CreateHumioRepoActionResponse struct {
	// Create a LogScale repository action.
	CreateHumioRepoAction CreateHumioRepoActionCreateHumioRepoAction `json:"createHumioRepoAction"`
}

CreateHumioRepoActionResponse is returned by CreateHumioRepoAction on success.

func CreateHumioRepoAction

func CreateHumioRepoAction(
	ctx_ context.Context,
	client_ graphql.Client,
	SearchDomainName string,
	ActionName string,
	IngestToken string,
) (*CreateHumioRepoActionResponse, error)

func (*CreateHumioRepoActionResponse) GetCreateHumioRepoAction

GetCreateHumioRepoAction returns CreateHumioRepoActionResponse.CreateHumioRepoAction, and is useful for accessing the field via an interface.

type CreateOpsGenieActionCreateOpsGenieAction

type CreateOpsGenieActionCreateOpsGenieAction struct {
	// The id of the action.
	Id string `json:"id"`
	// The name of the action.
	Name string `json:"name"`
	// OpsGenie webhook url to send the request to.
	ApiUrl string `json:"apiUrl"`
	// Key to authenticate with OpsGenie.
	GenieKey string `json:"genieKey"`
	// Defines whether the action should use the configured proxy to make web requests.
	UseProxy bool `json:"useProxy"`
}

CreateOpsGenieActionCreateOpsGenieAction includes the requested fields of the GraphQL type OpsGenieAction. The GraphQL type's documentation follows.

An OpsGenie action

func (*CreateOpsGenieActionCreateOpsGenieAction) GetApiUrl

GetApiUrl returns CreateOpsGenieActionCreateOpsGenieAction.ApiUrl, and is useful for accessing the field via an interface.

func (*CreateOpsGenieActionCreateOpsGenieAction) GetGenieKey

GetGenieKey returns CreateOpsGenieActionCreateOpsGenieAction.GenieKey, and is useful for accessing the field via an interface.

func (*CreateOpsGenieActionCreateOpsGenieAction) GetId

GetId returns CreateOpsGenieActionCreateOpsGenieAction.Id, and is useful for accessing the field via an interface.

func (*CreateOpsGenieActionCreateOpsGenieAction) GetName

GetName returns CreateOpsGenieActionCreateOpsGenieAction.Name, and is useful for accessing the field via an interface.

func (*CreateOpsGenieActionCreateOpsGenieAction) GetUseProxy

GetUseProxy returns CreateOpsGenieActionCreateOpsGenieAction.UseProxy, and is useful for accessing the field via an interface.

type CreateOpsGenieActionResponse

type CreateOpsGenieActionResponse struct {
	// Create an OpsGenie action.
	CreateOpsGenieAction CreateOpsGenieActionCreateOpsGenieAction `json:"createOpsGenieAction"`
}

CreateOpsGenieActionResponse is returned by CreateOpsGenieAction on success.

func CreateOpsGenieAction

func CreateOpsGenieAction(
	ctx_ context.Context,
	client_ graphql.Client,
	SearchDomainName string,
	ActionName string,
	ApiUrl string,
	GenieKey string,
	UseProxy bool,
) (*CreateOpsGenieActionResponse, error)

func (*CreateOpsGenieActionResponse) GetCreateOpsGenieAction

GetCreateOpsGenieAction returns CreateOpsGenieActionResponse.CreateOpsGenieAction, and is useful for accessing the field via an interface.

type CreatePagerDutyActionCreatePagerDutyAction

type CreatePagerDutyActionCreatePagerDutyAction struct {
	// The id of the action.
	Id string `json:"id"`
	// The name of the action.
	Name string `json:"name"`
	// Severity level to give to the message.
	Severity string `json:"severity"`
	// Routing key to authenticate with PagerDuty.
	RoutingKey string `json:"routingKey"`
	// Defines whether the action should use the configured proxy to make web requests.
	UseProxy bool `json:"useProxy"`
}

CreatePagerDutyActionCreatePagerDutyAction includes the requested fields of the GraphQL type PagerDutyAction. The GraphQL type's documentation follows.

A PagerDuty action.

func (*CreatePagerDutyActionCreatePagerDutyAction) GetId

GetId returns CreatePagerDutyActionCreatePagerDutyAction.Id, and is useful for accessing the field via an interface.

func (*CreatePagerDutyActionCreatePagerDutyAction) GetName

GetName returns CreatePagerDutyActionCreatePagerDutyAction.Name, and is useful for accessing the field via an interface.

func (*CreatePagerDutyActionCreatePagerDutyAction) GetRoutingKey

GetRoutingKey returns CreatePagerDutyActionCreatePagerDutyAction.RoutingKey, and is useful for accessing the field via an interface.

func (*CreatePagerDutyActionCreatePagerDutyAction) GetSeverity

GetSeverity returns CreatePagerDutyActionCreatePagerDutyAction.Severity, and is useful for accessing the field via an interface.

func (*CreatePagerDutyActionCreatePagerDutyAction) GetUseProxy

GetUseProxy returns CreatePagerDutyActionCreatePagerDutyAction.UseProxy, and is useful for accessing the field via an interface.

type CreatePagerDutyActionResponse

type CreatePagerDutyActionResponse struct {
	// Create a PagerDuty action.
	CreatePagerDutyAction CreatePagerDutyActionCreatePagerDutyAction `json:"createPagerDutyAction"`
}

CreatePagerDutyActionResponse is returned by CreatePagerDutyAction on success.

func CreatePagerDutyAction

func CreatePagerDutyAction(
	ctx_ context.Context,
	client_ graphql.Client,
	SearchDomainName string,
	ActionName string,
	Severity string,
	RoutingKey string,
	UseProxy bool,
) (*CreatePagerDutyActionResponse, error)

func (*CreatePagerDutyActionResponse) GetCreatePagerDutyAction

GetCreatePagerDutyAction returns CreatePagerDutyActionResponse.CreatePagerDutyAction, and is useful for accessing the field via an interface.

type CreateParserCreateParserV2Parser

type CreateParserCreateParserV2Parser struct {
	ParserDetails `json:"-"`
}

CreateParserCreateParserV2Parser includes the requested fields of the GraphQL type Parser. The GraphQL type's documentation follows.

A configured parser for incoming data.

func (*CreateParserCreateParserV2Parser) GetDescription

func (v *CreateParserCreateParserV2Parser) GetDescription() *string

GetDescription returns CreateParserCreateParserV2Parser.Description, and is useful for accessing the field via an interface.

func (*CreateParserCreateParserV2Parser) GetDisplayName

func (v *CreateParserCreateParserV2Parser) GetDisplayName() string

GetDisplayName returns CreateParserCreateParserV2Parser.DisplayName, and is useful for accessing the field via an interface.

func (*CreateParserCreateParserV2Parser) GetFieldsToBeRemovedBeforeParsing

func (v *CreateParserCreateParserV2Parser) GetFieldsToBeRemovedBeforeParsing() []string

GetFieldsToBeRemovedBeforeParsing returns CreateParserCreateParserV2Parser.FieldsToBeRemovedBeforeParsing, and is useful for accessing the field via an interface.

func (*CreateParserCreateParserV2Parser) GetFieldsToTag

func (v *CreateParserCreateParserV2Parser) GetFieldsToTag() []string

GetFieldsToTag returns CreateParserCreateParserV2Parser.FieldsToTag, and is useful for accessing the field via an interface.

func (*CreateParserCreateParserV2Parser) GetId

GetId returns CreateParserCreateParserV2Parser.Id, and is useful for accessing the field via an interface.

func (*CreateParserCreateParserV2Parser) GetIsBuiltIn

func (v *CreateParserCreateParserV2Parser) GetIsBuiltIn() bool

GetIsBuiltIn returns CreateParserCreateParserV2Parser.IsBuiltIn, and is useful for accessing the field via an interface.

func (*CreateParserCreateParserV2Parser) GetName

GetName returns CreateParserCreateParserV2Parser.Name, and is useful for accessing the field via an interface.

func (*CreateParserCreateParserV2Parser) GetScript

GetScript returns CreateParserCreateParserV2Parser.Script, and is useful for accessing the field via an interface.

func (*CreateParserCreateParserV2Parser) GetTestCases

GetTestCases returns CreateParserCreateParserV2Parser.TestCases, and is useful for accessing the field via an interface.

func (*CreateParserCreateParserV2Parser) MarshalJSON

func (v *CreateParserCreateParserV2Parser) MarshalJSON() ([]byte, error)

func (*CreateParserCreateParserV2Parser) UnmarshalJSON

func (v *CreateParserCreateParserV2Parser) UnmarshalJSON(b []byte) error

type CreateParserResponse

type CreateParserResponse struct {
	// Create a parser.
	CreateParserV2 CreateParserCreateParserV2Parser `json:"createParserV2"`
}

CreateParserResponse is returned by CreateParser on success.

func CreateParser

func CreateParser(
	ctx_ context.Context,
	client_ graphql.Client,
	RepositoryName string,
	Name string,
	Script string,
	TestCases []ParserTestCaseInput,
	FieldsToTag []string,
	FieldsToBeRemovedBeforeParsing []string,
	AllowOverridingExistingParser bool,
) (*CreateParserResponse, error)

func (*CreateParserResponse) GetCreateParserV2

GetCreateParserV2 returns CreateParserResponse.CreateParserV2, and is useful for accessing the field via an interface.

type CreateRepositoryCreateRepositoryCreateRepositoryMutation

type CreateRepositoryCreateRepositoryCreateRepositoryMutation struct {
	Repository CreateRepositoryCreateRepositoryCreateRepositoryMutationRepository `json:"repository"`
}

CreateRepositoryCreateRepositoryCreateRepositoryMutation includes the requested fields of the GraphQL type CreateRepositoryMutation.

func (*CreateRepositoryCreateRepositoryCreateRepositoryMutation) GetRepository

GetRepository returns CreateRepositoryCreateRepositoryCreateRepositoryMutation.Repository, and is useful for accessing the field via an interface.

type CreateRepositoryCreateRepositoryCreateRepositoryMutationRepository

type CreateRepositoryCreateRepositoryCreateRepositoryMutationRepository struct {
	RepositoryDetails `json:"-"`
}

CreateRepositoryCreateRepositoryCreateRepositoryMutationRepository includes the requested fields of the GraphQL type Repository. The GraphQL type's documentation follows.

A repository stores ingested data, configures parsers and data retention policies.

func (*CreateRepositoryCreateRepositoryCreateRepositoryMutationRepository) GetAutomaticSearch

GetAutomaticSearch returns CreateRepositoryCreateRepositoryCreateRepositoryMutationRepository.AutomaticSearch, and is useful for accessing the field via an interface.

func (*CreateRepositoryCreateRepositoryCreateRepositoryMutationRepository) GetCompressedByteSize

GetCompressedByteSize returns CreateRepositoryCreateRepositoryCreateRepositoryMutationRepository.CompressedByteSize, and is useful for accessing the field via an interface.

func (*CreateRepositoryCreateRepositoryCreateRepositoryMutationRepository) GetDescription

GetDescription returns CreateRepositoryCreateRepositoryCreateRepositoryMutationRepository.Description, and is useful for accessing the field via an interface.

func (*CreateRepositoryCreateRepositoryCreateRepositoryMutationRepository) GetId

GetId returns CreateRepositoryCreateRepositoryCreateRepositoryMutationRepository.Id, and is useful for accessing the field via an interface.

func (*CreateRepositoryCreateRepositoryCreateRepositoryMutationRepository) GetIngestSizeBasedRetention

GetIngestSizeBasedRetention returns CreateRepositoryCreateRepositoryCreateRepositoryMutationRepository.IngestSizeBasedRetention, and is useful for accessing the field via an interface.

func (*CreateRepositoryCreateRepositoryCreateRepositoryMutationRepository) GetName

GetName returns CreateRepositoryCreateRepositoryCreateRepositoryMutationRepository.Name, and is useful for accessing the field via an interface.

func (*CreateRepositoryCreateRepositoryCreateRepositoryMutationRepository) GetS3ArchivingConfiguration

GetS3ArchivingConfiguration returns CreateRepositoryCreateRepositoryCreateRepositoryMutationRepository.S3ArchivingConfiguration, and is useful for accessing the field via an interface.

func (*CreateRepositoryCreateRepositoryCreateRepositoryMutationRepository) GetStorageSizeBasedRetention

GetStorageSizeBasedRetention returns CreateRepositoryCreateRepositoryCreateRepositoryMutationRepository.StorageSizeBasedRetention, and is useful for accessing the field via an interface.

func (*CreateRepositoryCreateRepositoryCreateRepositoryMutationRepository) GetTimeBasedRetention

GetTimeBasedRetention returns CreateRepositoryCreateRepositoryCreateRepositoryMutationRepository.TimeBasedRetention, and is useful for accessing the field via an interface.

func (*CreateRepositoryCreateRepositoryCreateRepositoryMutationRepository) MarshalJSON

func (*CreateRepositoryCreateRepositoryCreateRepositoryMutationRepository) UnmarshalJSON

type CreateRepositoryResponse

type CreateRepositoryResponse struct {
	// Create a new repository.
	CreateRepository CreateRepositoryCreateRepositoryCreateRepositoryMutation `json:"createRepository"`
}

CreateRepositoryResponse is returned by CreateRepository on success.

func CreateRepository

func CreateRepository(
	ctx_ context.Context,
	client_ graphql.Client,
	RepositoryName string,
) (*CreateRepositoryResponse, error)

func (*CreateRepositoryResponse) GetCreateRepository

GetCreateRepository returns CreateRepositoryResponse.CreateRepository, and is useful for accessing the field via an interface.

type CreateScheduledSearchCreateScheduledSearch

type CreateScheduledSearchCreateScheduledSearch struct {
	ScheduledSearchDetails `json:"-"`
}

CreateScheduledSearchCreateScheduledSearch includes the requested fields of the GraphQL type ScheduledSearch. The GraphQL type's documentation follows.

Information about a scheduled search

func (*CreateScheduledSearchCreateScheduledSearch) GetActionsV2

GetActionsV2 returns CreateScheduledSearchCreateScheduledSearch.ActionsV2, and is useful for accessing the field via an interface.

func (*CreateScheduledSearchCreateScheduledSearch) GetBackfillLimit

func (v *CreateScheduledSearchCreateScheduledSearch) GetBackfillLimit() int

GetBackfillLimit returns CreateScheduledSearchCreateScheduledSearch.BackfillLimit, and is useful for accessing the field via an interface.

func (*CreateScheduledSearchCreateScheduledSearch) GetDescription

GetDescription returns CreateScheduledSearchCreateScheduledSearch.Description, and is useful for accessing the field via an interface.

func (*CreateScheduledSearchCreateScheduledSearch) GetEnabled

GetEnabled returns CreateScheduledSearchCreateScheduledSearch.Enabled, and is useful for accessing the field via an interface.

func (*CreateScheduledSearchCreateScheduledSearch) GetEnd

GetEnd returns CreateScheduledSearchCreateScheduledSearch.End, and is useful for accessing the field via an interface.

func (*CreateScheduledSearchCreateScheduledSearch) GetId

GetId returns CreateScheduledSearchCreateScheduledSearch.Id, and is useful for accessing the field via an interface.

func (*CreateScheduledSearchCreateScheduledSearch) GetLabels

GetLabels returns CreateScheduledSearchCreateScheduledSearch.Labels, and is useful for accessing the field via an interface.

func (*CreateScheduledSearchCreateScheduledSearch) GetName

GetName returns CreateScheduledSearchCreateScheduledSearch.Name, and is useful for accessing the field via an interface.

func (*CreateScheduledSearchCreateScheduledSearch) GetQueryOwnership

GetQueryOwnership returns CreateScheduledSearchCreateScheduledSearch.QueryOwnership, and is useful for accessing the field via an interface.

func (*CreateScheduledSearchCreateScheduledSearch) GetQueryString

GetQueryString returns CreateScheduledSearchCreateScheduledSearch.QueryString, and is useful for accessing the field via an interface.

func (*CreateScheduledSearchCreateScheduledSearch) GetSchedule

GetSchedule returns CreateScheduledSearchCreateScheduledSearch.Schedule, and is useful for accessing the field via an interface.

func (*CreateScheduledSearchCreateScheduledSearch) GetStart

GetStart returns CreateScheduledSearchCreateScheduledSearch.Start, and is useful for accessing the field via an interface.

func (*CreateScheduledSearchCreateScheduledSearch) GetTimeZone

GetTimeZone returns CreateScheduledSearchCreateScheduledSearch.TimeZone, and is useful for accessing the field via an interface.

func (*CreateScheduledSearchCreateScheduledSearch) MarshalJSON

func (*CreateScheduledSearchCreateScheduledSearch) UnmarshalJSON

type CreateScheduledSearchResponse

type CreateScheduledSearchResponse struct {
	// Create a scheduled search.
	CreateScheduledSearch CreateScheduledSearchCreateScheduledSearch `json:"createScheduledSearch"`
}

CreateScheduledSearchResponse is returned by CreateScheduledSearch on success.

func CreateScheduledSearch

func CreateScheduledSearch(
	ctx_ context.Context,
	client_ graphql.Client,
	SearchDomainName string,
	Name string,
	Description *string,
	QueryString string,
	QueryStart string,
	QueryEnd string,
	Schedule string,
	TimeZone string,
	BackfillLimit int,
	Enabled bool,
	ActionIdsOrNames []string,
	RunAsUserID *string,
	Labels []string,
	QueryOwnershipType *QueryOwnershipType,
) (*CreateScheduledSearchResponse, error)

func (*CreateScheduledSearchResponse) GetCreateScheduledSearch

GetCreateScheduledSearch returns CreateScheduledSearchResponse.CreateScheduledSearch, and is useful for accessing the field via an interface.

type CreateSlackActionCreateSlackAction

type CreateSlackActionCreateSlackAction struct {
	// The id of the action.
	Id string `json:"id"`
	// The name of the action.
	Name string `json:"name"`
	// Fields to include within the Slack message. Can be templated with values from the result.
	Fields []CreateSlackActionCreateSlackActionFieldsSlackFieldEntry `json:"fields"`
	// Slack webhook url to send the request to.
	Url string `json:"url"`
	// Defines whether the action should use the configured proxy to make web requests.
	UseProxy bool `json:"useProxy"`
}

CreateSlackActionCreateSlackAction includes the requested fields of the GraphQL type SlackAction. The GraphQL type's documentation follows.

A Slack action

func (*CreateSlackActionCreateSlackAction) GetFields

GetFields returns CreateSlackActionCreateSlackAction.Fields, and is useful for accessing the field via an interface.

func (*CreateSlackActionCreateSlackAction) GetId

GetId returns CreateSlackActionCreateSlackAction.Id, and is useful for accessing the field via an interface.

func (*CreateSlackActionCreateSlackAction) GetName

GetName returns CreateSlackActionCreateSlackAction.Name, and is useful for accessing the field via an interface.

func (*CreateSlackActionCreateSlackAction) GetUrl

GetUrl returns CreateSlackActionCreateSlackAction.Url, and is useful for accessing the field via an interface.

func (*CreateSlackActionCreateSlackAction) GetUseProxy

func (v *CreateSlackActionCreateSlackAction) GetUseProxy() bool

GetUseProxy returns CreateSlackActionCreateSlackAction.UseProxy, and is useful for accessing the field via an interface.

type CreateSlackActionCreateSlackActionFieldsSlackFieldEntry

type CreateSlackActionCreateSlackActionFieldsSlackFieldEntry struct {
	// Value of a Slack field.
	Value string `json:"value"`
	// Key of a Slack field.
	FieldName string `json:"fieldName"`
}

CreateSlackActionCreateSlackActionFieldsSlackFieldEntry includes the requested fields of the GraphQL type SlackFieldEntry. The GraphQL type's documentation follows.

Field entry in a Slack message

func (*CreateSlackActionCreateSlackActionFieldsSlackFieldEntry) GetFieldName

GetFieldName returns CreateSlackActionCreateSlackActionFieldsSlackFieldEntry.FieldName, and is useful for accessing the field via an interface.

func (*CreateSlackActionCreateSlackActionFieldsSlackFieldEntry) GetValue

GetValue returns CreateSlackActionCreateSlackActionFieldsSlackFieldEntry.Value, and is useful for accessing the field via an interface.

type CreateSlackActionResponse

type CreateSlackActionResponse struct {
	// Create a Slack action.
	CreateSlackAction CreateSlackActionCreateSlackAction `json:"createSlackAction"`
}

CreateSlackActionResponse is returned by CreateSlackAction on success.

func CreateSlackAction

func CreateSlackAction(
	ctx_ context.Context,
	client_ graphql.Client,
	SearchDomainName string,
	ActionName string,
	Fields []SlackFieldEntryInput,
	Url string,
	UseProxy bool,
) (*CreateSlackActionResponse, error)

func (*CreateSlackActionResponse) GetCreateSlackAction

GetCreateSlackAction returns CreateSlackActionResponse.CreateSlackAction, and is useful for accessing the field via an interface.

type CreateSlackPostMessageActionCreateSlackPostMessageAction

type CreateSlackPostMessageActionCreateSlackPostMessageAction struct {
	// The id of the action.
	Id string `json:"id"`
	// The name of the action.
	Name string `json:"name"`
	// Api token to authenticate with Slack.
	ApiToken string `json:"apiToken"`
	// List of Slack channels to message.
	Channels []string `json:"channels"`
	// Fields to include within the Slack message. Can be templated with values from the result.
	Fields []CreateSlackPostMessageActionCreateSlackPostMessageActionFieldsSlackFieldEntry `json:"fields"`
	// Defines whether the action should use the configured proxy to make web requests.
	UseProxy bool `json:"useProxy"`
}

CreateSlackPostMessageActionCreateSlackPostMessageAction includes the requested fields of the GraphQL type SlackPostMessageAction. The GraphQL type's documentation follows.

A slack post-message action.

func (*CreateSlackPostMessageActionCreateSlackPostMessageAction) GetApiToken

GetApiToken returns CreateSlackPostMessageActionCreateSlackPostMessageAction.ApiToken, and is useful for accessing the field via an interface.

func (*CreateSlackPostMessageActionCreateSlackPostMessageAction) GetChannels

GetChannels returns CreateSlackPostMessageActionCreateSlackPostMessageAction.Channels, and is useful for accessing the field via an interface.

func (*CreateSlackPostMessageActionCreateSlackPostMessageAction) GetFields

GetFields returns CreateSlackPostMessageActionCreateSlackPostMessageAction.Fields, and is useful for accessing the field via an interface.

func (*CreateSlackPostMessageActionCreateSlackPostMessageAction) GetId

GetId returns CreateSlackPostMessageActionCreateSlackPostMessageAction.Id, and is useful for accessing the field via an interface.

func (*CreateSlackPostMessageActionCreateSlackPostMessageAction) GetName

GetName returns CreateSlackPostMessageActionCreateSlackPostMessageAction.Name, and is useful for accessing the field via an interface.

func (*CreateSlackPostMessageActionCreateSlackPostMessageAction) GetUseProxy

GetUseProxy returns CreateSlackPostMessageActionCreateSlackPostMessageAction.UseProxy, and is useful for accessing the field via an interface.

type CreateSlackPostMessageActionCreateSlackPostMessageActionFieldsSlackFieldEntry

type CreateSlackPostMessageActionCreateSlackPostMessageActionFieldsSlackFieldEntry struct {
	// Value of a Slack field.
	Value string `json:"value"`
	// Key of a Slack field.
	FieldName string `json:"fieldName"`
}

CreateSlackPostMessageActionCreateSlackPostMessageActionFieldsSlackFieldEntry includes the requested fields of the GraphQL type SlackFieldEntry. The GraphQL type's documentation follows.

Field entry in a Slack message

func (*CreateSlackPostMessageActionCreateSlackPostMessageActionFieldsSlackFieldEntry) GetFieldName

GetFieldName returns CreateSlackPostMessageActionCreateSlackPostMessageActionFieldsSlackFieldEntry.FieldName, and is useful for accessing the field via an interface.

func (*CreateSlackPostMessageActionCreateSlackPostMessageActionFieldsSlackFieldEntry) GetValue

GetValue returns CreateSlackPostMessageActionCreateSlackPostMessageActionFieldsSlackFieldEntry.Value, and is useful for accessing the field via an interface.

type CreateSlackPostMessageActionResponse

type CreateSlackPostMessageActionResponse struct {
	// Create a post message Slack action.
	CreateSlackPostMessageAction CreateSlackPostMessageActionCreateSlackPostMessageAction `json:"createSlackPostMessageAction"`
}

CreateSlackPostMessageActionResponse is returned by CreateSlackPostMessageAction on success.

func CreateSlackPostMessageAction

func CreateSlackPostMessageAction(
	ctx_ context.Context,
	client_ graphql.Client,
	SearchDomainName string,
	ActionName string,
	ApiToken string,
	Channels []string,
	Fields []SlackFieldEntryInput,
	UseProxy bool,
) (*CreateSlackPostMessageActionResponse, error)

func (*CreateSlackPostMessageActionResponse) GetCreateSlackPostMessageAction

GetCreateSlackPostMessageAction returns CreateSlackPostMessageActionResponse.CreateSlackPostMessageAction, and is useful for accessing the field via an interface.

type CreateUploadFileActionCreateUploadFileAction

type CreateUploadFileActionCreateUploadFileAction struct {
	// The id of the action.
	Id string `json:"id"`
	// The name of the action.
	Name string `json:"name"`
	// File name for the uploaded file.
	FileName string `json:"fileName"`
}

CreateUploadFileActionCreateUploadFileAction includes the requested fields of the GraphQL type UploadFileAction. The GraphQL type's documentation follows.

An upload file action.

func (*CreateUploadFileActionCreateUploadFileAction) GetFileName

GetFileName returns CreateUploadFileActionCreateUploadFileAction.FileName, and is useful for accessing the field via an interface.

func (*CreateUploadFileActionCreateUploadFileAction) GetId

GetId returns CreateUploadFileActionCreateUploadFileAction.Id, and is useful for accessing the field via an interface.

func (*CreateUploadFileActionCreateUploadFileAction) GetName

GetName returns CreateUploadFileActionCreateUploadFileAction.Name, and is useful for accessing the field via an interface.

type CreateUploadFileActionResponse

type CreateUploadFileActionResponse struct {
	// Create an upload file action.
	CreateUploadFileAction CreateUploadFileActionCreateUploadFileAction `json:"createUploadFileAction"`
}

CreateUploadFileActionResponse is returned by CreateUploadFileAction on success.

func CreateUploadFileAction

func CreateUploadFileAction(
	ctx_ context.Context,
	client_ graphql.Client,
	SearchDomainName string,
	ActionName string,
	FileName string,
) (*CreateUploadFileActionResponse, error)

func (*CreateUploadFileActionResponse) GetCreateUploadFileAction

GetCreateUploadFileAction returns CreateUploadFileActionResponse.CreateUploadFileAction, and is useful for accessing the field via an interface.

type CreateVictorOpsActionCreateVictorOpsAction

type CreateVictorOpsActionCreateVictorOpsAction struct {
	// The id of the action.
	Id string `json:"id"`
	// The name of the action.
	Name string `json:"name"`
	// Type of the VictorOps message to make.
	MessageType string `json:"messageType"`
	// VictorOps webhook url to send the request to.
	NotifyUrl string `json:"notifyUrl"`
	// Defines whether the action should use the configured proxy to make web requests.
	UseProxy bool `json:"useProxy"`
}

CreateVictorOpsActionCreateVictorOpsAction includes the requested fields of the GraphQL type VictorOpsAction. The GraphQL type's documentation follows.

A VictorOps action.

func (*CreateVictorOpsActionCreateVictorOpsAction) GetId

GetId returns CreateVictorOpsActionCreateVictorOpsAction.Id, and is useful for accessing the field via an interface.

func (*CreateVictorOpsActionCreateVictorOpsAction) GetMessageType

GetMessageType returns CreateVictorOpsActionCreateVictorOpsAction.MessageType, and is useful for accessing the field via an interface.

func (*CreateVictorOpsActionCreateVictorOpsAction) GetName

GetName returns CreateVictorOpsActionCreateVictorOpsAction.Name, and is useful for accessing the field via an interface.

func (*CreateVictorOpsActionCreateVictorOpsAction) GetNotifyUrl

GetNotifyUrl returns CreateVictorOpsActionCreateVictorOpsAction.NotifyUrl, and is useful for accessing the field via an interface.

func (*CreateVictorOpsActionCreateVictorOpsAction) GetUseProxy

GetUseProxy returns CreateVictorOpsActionCreateVictorOpsAction.UseProxy, and is useful for accessing the field via an interface.

type CreateVictorOpsActionResponse

type CreateVictorOpsActionResponse struct {
	// Create a VictorOps action.
	CreateVictorOpsAction CreateVictorOpsActionCreateVictorOpsAction `json:"createVictorOpsAction"`
}

CreateVictorOpsActionResponse is returned by CreateVictorOpsAction on success.

func CreateVictorOpsAction

func CreateVictorOpsAction(
	ctx_ context.Context,
	client_ graphql.Client,
	SearchDomainName string,
	ActionName string,
	MessageType string,
	NotifyUrl string,
	UseProxy bool,
) (*CreateVictorOpsActionResponse, error)

func (*CreateVictorOpsActionResponse) GetCreateVictorOpsAction

GetCreateVictorOpsAction returns CreateVictorOpsActionResponse.CreateVictorOpsAction, and is useful for accessing the field via an interface.

type CreateViewCreateView

type CreateViewCreateView struct {
	Typename *string `json:"__typename"`
}

CreateViewCreateView includes the requested fields of the GraphQL type View. The GraphQL type's documentation follows.

Represents information about a view, pulling data from one or several repositories.

func (*CreateViewCreateView) GetTypename

func (v *CreateViewCreateView) GetTypename() *string

GetTypename returns CreateViewCreateView.Typename, and is useful for accessing the field via an interface.

type CreateViewResponse

type CreateViewResponse struct {
	// Create a new view.
	CreateView CreateViewCreateView `json:"createView"`
}

CreateViewResponse is returned by CreateView on success.

func CreateView

func CreateView(
	ctx_ context.Context,
	client_ graphql.Client,
	ViewName string,
	Description *string,
	Connections []ViewConnectionInput,
) (*CreateViewResponse, error)

func (*CreateViewResponse) GetCreateView

func (v *CreateViewResponse) GetCreateView() CreateViewCreateView

GetCreateView returns CreateViewResponse.CreateView, and is useful for accessing the field via an interface.

type CreateWebhookActionCreateWebhookAction

type CreateWebhookActionCreateWebhookAction struct {
	// The id of the action.
	Id string `json:"id"`
	// The name of the action.
	Name string `json:"name"`
	// Url to send the http(s) request to.
	Url string `json:"url"`
	// Method to use for the request.
	Method string `json:"method"`
	// Headers of the http(s) request.
	Headers []CreateWebhookActionCreateWebhookActionHeadersHttpHeaderEntry `json:"headers"`
	// Body of the http(s) request. Can be templated with values from the result.
	BodyTemplate string `json:"bodyTemplate"`
	// Flag indicating whether SSL should be ignored for the request.
	IgnoreSSL bool `json:"ignoreSSL"`
	// Defines whether the action should use the configured proxy to make web requests.
	UseProxy bool `json:"useProxy"`
}

CreateWebhookActionCreateWebhookAction includes the requested fields of the GraphQL type WebhookAction. The GraphQL type's documentation follows.

A webhook action

func (*CreateWebhookActionCreateWebhookAction) GetBodyTemplate

func (v *CreateWebhookActionCreateWebhookAction) GetBodyTemplate() string

GetBodyTemplate returns CreateWebhookActionCreateWebhookAction.BodyTemplate, and is useful for accessing the field via an interface.

func (*CreateWebhookActionCreateWebhookAction) GetHeaders

GetHeaders returns CreateWebhookActionCreateWebhookAction.Headers, and is useful for accessing the field via an interface.

func (*CreateWebhookActionCreateWebhookAction) GetId

GetId returns CreateWebhookActionCreateWebhookAction.Id, and is useful for accessing the field via an interface.

func (*CreateWebhookActionCreateWebhookAction) GetIgnoreSSL

func (v *CreateWebhookActionCreateWebhookAction) GetIgnoreSSL() bool

GetIgnoreSSL returns CreateWebhookActionCreateWebhookAction.IgnoreSSL, and is useful for accessing the field via an interface.

func (*CreateWebhookActionCreateWebhookAction) GetMethod

GetMethod returns CreateWebhookActionCreateWebhookAction.Method, and is useful for accessing the field via an interface.

func (*CreateWebhookActionCreateWebhookAction) GetName

GetName returns CreateWebhookActionCreateWebhookAction.Name, and is useful for accessing the field via an interface.

func (*CreateWebhookActionCreateWebhookAction) GetUrl

GetUrl returns CreateWebhookActionCreateWebhookAction.Url, and is useful for accessing the field via an interface.

func (*CreateWebhookActionCreateWebhookAction) GetUseProxy

GetUseProxy returns CreateWebhookActionCreateWebhookAction.UseProxy, and is useful for accessing the field via an interface.

type CreateWebhookActionCreateWebhookActionHeadersHttpHeaderEntry

type CreateWebhookActionCreateWebhookActionHeadersHttpHeaderEntry struct {
	// Value of a http(s) header.
	Value string `json:"value"`
	// Key of a http(s) header.
	Header string `json:"header"`
}

CreateWebhookActionCreateWebhookActionHeadersHttpHeaderEntry includes the requested fields of the GraphQL type HttpHeaderEntry. The GraphQL type's documentation follows.

A http request header.

func (*CreateWebhookActionCreateWebhookActionHeadersHttpHeaderEntry) GetHeader

GetHeader returns CreateWebhookActionCreateWebhookActionHeadersHttpHeaderEntry.Header, and is useful for accessing the field via an interface.

func (*CreateWebhookActionCreateWebhookActionHeadersHttpHeaderEntry) GetValue

GetValue returns CreateWebhookActionCreateWebhookActionHeadersHttpHeaderEntry.Value, and is useful for accessing the field via an interface.

type CreateWebhookActionResponse

type CreateWebhookActionResponse struct {
	// Create a webhook action.
	CreateWebhookAction CreateWebhookActionCreateWebhookAction `json:"createWebhookAction"`
}

CreateWebhookActionResponse is returned by CreateWebhookAction on success.

func CreateWebhookAction

func CreateWebhookAction(
	ctx_ context.Context,
	client_ graphql.Client,
	SearchDomainName string,
	ActionName string,
	Url string,
	Method string,
	Headers []HttpHeaderEntryInput,
	BodyTemplate string,
	IgnoreSSL bool,
	UseProxy bool,
) (*CreateWebhookActionResponse, error)

func (*CreateWebhookActionResponse) GetCreateWebhookAction

GetCreateWebhookAction returns CreateWebhookActionResponse.CreateWebhookAction, and is useful for accessing the field via an interface.

type DeleteActionByIDResponse

type DeleteActionByIDResponse struct {
	// Delete an action.
	DeleteAction bool `json:"deleteAction"`
}

DeleteActionByIDResponse is returned by DeleteActionByID on success.

func DeleteActionByID

func DeleteActionByID(
	ctx_ context.Context,
	client_ graphql.Client,
	SearchDomainName string,
	ActionID string,
) (*DeleteActionByIDResponse, error)

func (*DeleteActionByIDResponse) GetDeleteAction

func (v *DeleteActionByIDResponse) GetDeleteAction() bool

GetDeleteAction returns DeleteActionByIDResponse.DeleteAction, and is useful for accessing the field via an interface.

type DeleteAggregateAlertResponse

type DeleteAggregateAlertResponse struct {
	// Delete an aggregate alert.
	DeleteAggregateAlert bool `json:"deleteAggregateAlert"`
}

DeleteAggregateAlertResponse is returned by DeleteAggregateAlert on success.

func DeleteAggregateAlert

func DeleteAggregateAlert(
	ctx_ context.Context,
	client_ graphql.Client,
	SearchDomainName string,
	AggregateAlertID string,
) (*DeleteAggregateAlertResponse, error)

func (*DeleteAggregateAlertResponse) GetDeleteAggregateAlert

func (v *DeleteAggregateAlertResponse) GetDeleteAggregateAlert() bool

GetDeleteAggregateAlert returns DeleteAggregateAlertResponse.DeleteAggregateAlert, and is useful for accessing the field via an interface.

type DeleteAlertResponse

type DeleteAlertResponse struct {
	// Delete an alert.
	DeleteAlert bool `json:"deleteAlert"`
}

DeleteAlertResponse is returned by DeleteAlert on success.

func DeleteAlert

func DeleteAlert(
	ctx_ context.Context,
	client_ graphql.Client,
	SearchDomainName string,
	AlertID string,
) (*DeleteAlertResponse, error)

func (*DeleteAlertResponse) GetDeleteAlert

func (v *DeleteAlertResponse) GetDeleteAlert() bool

GetDeleteAlert returns DeleteAlertResponse.DeleteAlert, and is useful for accessing the field via an interface.

type DeleteFilterAlertResponse

type DeleteFilterAlertResponse struct {
	// Delete a filter alert.
	DeleteFilterAlert bool `json:"deleteFilterAlert"`
}

DeleteFilterAlertResponse is returned by DeleteFilterAlert on success.

func DeleteFilterAlert

func DeleteFilterAlert(
	ctx_ context.Context,
	client_ graphql.Client,
	SearchDomainName string,
	FilterAlertID string,
) (*DeleteFilterAlertResponse, error)

func (*DeleteFilterAlertResponse) GetDeleteFilterAlert

func (v *DeleteFilterAlertResponse) GetDeleteFilterAlert() bool

GetDeleteFilterAlert returns DeleteFilterAlertResponse.DeleteFilterAlert, and is useful for accessing the field via an interface.

type DeleteParserByIDDeleteParserBooleanResultType

type DeleteParserByIDDeleteParserBooleanResultType struct {
	Typename *string `json:"__typename"`
}

DeleteParserByIDDeleteParserBooleanResultType includes the requested fields of the GraphQL type BooleanResultType.

func (*DeleteParserByIDDeleteParserBooleanResultType) GetTypename

GetTypename returns DeleteParserByIDDeleteParserBooleanResultType.Typename, and is useful for accessing the field via an interface.

type DeleteParserByIDResponse

type DeleteParserByIDResponse struct {
	// Delete a parser.
	DeleteParser DeleteParserByIDDeleteParserBooleanResultType `json:"deleteParser"`
}

DeleteParserByIDResponse is returned by DeleteParserByID on success.

func DeleteParserByID

func DeleteParserByID(
	ctx_ context.Context,
	client_ graphql.Client,
	RepositoryName string,
	ParserID string,
) (*DeleteParserByIDResponse, error)

func (*DeleteParserByIDResponse) GetDeleteParser

GetDeleteParser returns DeleteParserByIDResponse.DeleteParser, and is useful for accessing the field via an interface.

type DeleteScheduledSearchByIDResponse

type DeleteScheduledSearchByIDResponse struct {
	// Delete a scheduled search.
	DeleteScheduledSearch bool `json:"deleteScheduledSearch"`
}

DeleteScheduledSearchByIDResponse is returned by DeleteScheduledSearchByID on success.

func DeleteScheduledSearchByID

func DeleteScheduledSearchByID(
	ctx_ context.Context,
	client_ graphql.Client,
	SearchDomainName string,
	ScheduledSearchID string,
) (*DeleteScheduledSearchByIDResponse, error)

func (*DeleteScheduledSearchByIDResponse) GetDeleteScheduledSearch

func (v *DeleteScheduledSearchByIDResponse) GetDeleteScheduledSearch() bool

GetDeleteScheduledSearch returns DeleteScheduledSearchByIDResponse.DeleteScheduledSearch, and is useful for accessing the field via an interface.

type DeleteSearchDomainDeleteSearchDomainBooleanResultType

type DeleteSearchDomainDeleteSearchDomainBooleanResultType struct {
	Typename *string `json:"__typename"`
}

DeleteSearchDomainDeleteSearchDomainBooleanResultType includes the requested fields of the GraphQL type BooleanResultType.

func (*DeleteSearchDomainDeleteSearchDomainBooleanResultType) GetTypename

GetTypename returns DeleteSearchDomainDeleteSearchDomainBooleanResultType.Typename, and is useful for accessing the field via an interface.

type DeleteSearchDomainResponse

type DeleteSearchDomainResponse struct {
	// Delete a repository or view.
	DeleteSearchDomain DeleteSearchDomainDeleteSearchDomainBooleanResultType `json:"deleteSearchDomain"`
}

DeleteSearchDomainResponse is returned by DeleteSearchDomain on success.

func DeleteSearchDomain

func DeleteSearchDomain(
	ctx_ context.Context,
	client_ graphql.Client,
	SearchDomainName string,
	DeleteMessage string,
) (*DeleteSearchDomainResponse, error)

func (*DeleteSearchDomainResponse) GetDeleteSearchDomain

GetDeleteSearchDomain returns DeleteSearchDomainResponse.DeleteSearchDomain, and is useful for accessing the field via an interface.

type DisableFeatureFlagForOrganizationResponse

type DisableFeatureFlagForOrganizationResponse struct {
	// Disable a feature for a specific organization.
	DisableFeatureForOrg bool `json:"disableFeatureForOrg"`
}

DisableFeatureFlagForOrganizationResponse is returned by DisableFeatureFlagForOrganization on success.

func DisableFeatureFlagForOrganization

func DisableFeatureFlagForOrganization(
	ctx_ context.Context,
	client_ graphql.Client,
	Flag FeatureFlag,
	OrganizationID string,
) (*DisableFeatureFlagForOrganizationResponse, error)

func (*DisableFeatureFlagForOrganizationResponse) GetDisableFeatureForOrg

func (v *DisableFeatureFlagForOrganizationResponse) GetDisableFeatureForOrg() bool

GetDisableFeatureForOrg returns DisableFeatureFlagForOrganizationResponse.DisableFeatureForOrg, and is useful for accessing the field via an interface.

type DisableFeatureFlagForUserResponse

type DisableFeatureFlagForUserResponse struct {
	// Disable a feature for a specific user.
	DisableFeatureForUser bool `json:"disableFeatureForUser"`
}

DisableFeatureFlagForUserResponse is returned by DisableFeatureFlagForUser on success.

func DisableFeatureFlagForUser

func DisableFeatureFlagForUser(
	ctx_ context.Context,
	client_ graphql.Client,
	Flag FeatureFlag,
	UserID string,
) (*DisableFeatureFlagForUserResponse, error)

func (*DisableFeatureFlagForUserResponse) GetDisableFeatureForUser

func (v *DisableFeatureFlagForUserResponse) GetDisableFeatureForUser() bool

GetDisableFeatureForUser returns DisableFeatureFlagForUserResponse.DisableFeatureForUser, and is useful for accessing the field via an interface.

type DisableFeatureFlagGloballyResponse

type DisableFeatureFlagGloballyResponse struct {
	// Disable a feature.
	DisableFeature bool `json:"disableFeature"`
}

DisableFeatureFlagGloballyResponse is returned by DisableFeatureFlagGlobally on success.

func DisableFeatureFlagGlobally

func DisableFeatureFlagGlobally(
	ctx_ context.Context,
	client_ graphql.Client,
	Flag FeatureFlag,
) (*DisableFeatureFlagGloballyResponse, error)

func (*DisableFeatureFlagGloballyResponse) GetDisableFeature

func (v *DisableFeatureFlagGloballyResponse) GetDisableFeature() bool

GetDisableFeature returns DisableFeatureFlagGloballyResponse.DisableFeature, and is useful for accessing the field via an interface.

type DisableS3ArchivingResponse

type DisableS3ArchivingResponse struct {
	// Disables the archiving job for the repository.
	S3DisableArchiving DisableS3ArchivingS3DisableArchivingBooleanResultType `json:"s3DisableArchiving"`
}

DisableS3ArchivingResponse is returned by DisableS3Archiving on success.

func DisableS3Archiving

func DisableS3Archiving(
	ctx_ context.Context,
	client_ graphql.Client,
	RepositoryName string,
) (*DisableS3ArchivingResponse, error)

func (*DisableS3ArchivingResponse) GetS3DisableArchiving

GetS3DisableArchiving returns DisableS3ArchivingResponse.S3DisableArchiving, and is useful for accessing the field via an interface.

type DisableS3ArchivingS3DisableArchivingBooleanResultType

type DisableS3ArchivingS3DisableArchivingBooleanResultType struct {
	Typename *string `json:"__typename"`
}

DisableS3ArchivingS3DisableArchivingBooleanResultType includes the requested fields of the GraphQL type BooleanResultType.

func (*DisableS3ArchivingS3DisableArchivingBooleanResultType) GetTypename

GetTypename returns DisableS3ArchivingS3DisableArchivingBooleanResultType.Typename, and is useful for accessing the field via an interface.

type EnableFeatureFlagForOrganizationResponse

type EnableFeatureFlagForOrganizationResponse struct {
	// Enable a feature for a specific organization.
	EnableFeatureForOrg bool `json:"enableFeatureForOrg"`
}

EnableFeatureFlagForOrganizationResponse is returned by EnableFeatureFlagForOrganization on success.

func EnableFeatureFlagForOrganization

func EnableFeatureFlagForOrganization(
	ctx_ context.Context,
	client_ graphql.Client,
	Flag FeatureFlag,
	OrganizationID string,
) (*EnableFeatureFlagForOrganizationResponse, error)

func (*EnableFeatureFlagForOrganizationResponse) GetEnableFeatureForOrg

func (v *EnableFeatureFlagForOrganizationResponse) GetEnableFeatureForOrg() bool

GetEnableFeatureForOrg returns EnableFeatureFlagForOrganizationResponse.EnableFeatureForOrg, and is useful for accessing the field via an interface.

type EnableFeatureFlagForUserResponse

type EnableFeatureFlagForUserResponse struct {
	// Enable a feature for a specific user.
	EnableFeatureForUser bool `json:"enableFeatureForUser"`
}

EnableFeatureFlagForUserResponse is returned by EnableFeatureFlagForUser on success.

func EnableFeatureFlagForUser

func EnableFeatureFlagForUser(
	ctx_ context.Context,
	client_ graphql.Client,
	Flag FeatureFlag,
	UserID string,
) (*EnableFeatureFlagForUserResponse, error)

func (*EnableFeatureFlagForUserResponse) GetEnableFeatureForUser

func (v *EnableFeatureFlagForUserResponse) GetEnableFeatureForUser() bool

GetEnableFeatureForUser returns EnableFeatureFlagForUserResponse.EnableFeatureForUser, and is useful for accessing the field via an interface.

type EnableFeatureFlagGloballyResponse

type EnableFeatureFlagGloballyResponse struct {
	// Enable a feature.
	EnableFeature bool `json:"enableFeature"`
}

EnableFeatureFlagGloballyResponse is returned by EnableFeatureFlagGlobally on success.

func EnableFeatureFlagGlobally

func EnableFeatureFlagGlobally(
	ctx_ context.Context,
	client_ graphql.Client,
	Flag FeatureFlag,
) (*EnableFeatureFlagGloballyResponse, error)

func (*EnableFeatureFlagGloballyResponse) GetEnableFeature

func (v *EnableFeatureFlagGloballyResponse) GetEnableFeature() bool

GetEnableFeature returns EnableFeatureFlagGloballyResponse.EnableFeature, and is useful for accessing the field via an interface.

type EnableS3ArchivingResponse

type EnableS3ArchivingResponse struct {
	// Enables the archiving job for the repository.
	S3EnableArchiving EnableS3ArchivingS3EnableArchivingBooleanResultType `json:"s3EnableArchiving"`
}

EnableS3ArchivingResponse is returned by EnableS3Archiving on success.

func EnableS3Archiving

func EnableS3Archiving(
	ctx_ context.Context,
	client_ graphql.Client,
	RepositoryName string,
) (*EnableS3ArchivingResponse, error)

func (*EnableS3ArchivingResponse) GetS3EnableArchiving

GetS3EnableArchiving returns EnableS3ArchivingResponse.S3EnableArchiving, and is useful for accessing the field via an interface.

type EnableS3ArchivingS3EnableArchivingBooleanResultType

type EnableS3ArchivingS3EnableArchivingBooleanResultType struct {
	Typename *string `json:"__typename"`
}

EnableS3ArchivingS3EnableArchivingBooleanResultType includes the requested fields of the GraphQL type BooleanResultType.

func (*EnableS3ArchivingS3EnableArchivingBooleanResultType) GetTypename

GetTypename returns EnableS3ArchivingS3EnableArchivingBooleanResultType.Typename, and is useful for accessing the field via an interface.

type FeatureFlag

type FeatureFlag string

Represents a feature flag.

const (
	// [PREVIEW: This functionality is still under development and can change without warning.] Export data to bucket storage.
	FeatureFlagExporttobucket FeatureFlag = "ExportToBucket"
	// [PREVIEW: This functionality is still under development and can change without warning.] Enable repeating queries. Can be used instead of live queries for functions having limitations around live queries.
	FeatureFlagRepeatingqueries FeatureFlag = "RepeatingQueries"
	// [PREVIEW: This functionality is still under development and can change without warning.] Enable custom ingest tokens not generated by LogScale.
	FeatureFlagCustomingesttokens FeatureFlag = "CustomIngestTokens"
	// [PREVIEW: This functionality is still under development and can change without warning. THIS FUNCTIONALITY IS EXPERIMENTAL: Enabling experimental functionality is strongly discouraged and can lead to LogScale ending up in a bad state beyond repair.] Enable permission tokens.
	FeatureFlagPermissiontokens FeatureFlag = "PermissionTokens"
	// [PREVIEW: This functionality is still under development and can change without warning.] Assign default roles for groups.
	FeatureFlagDefaultrolesforgroups FeatureFlag = "DefaultRolesForGroups"
	// [PREVIEW: This functionality is still under development and can change without warning.] Use new organization limits.
	FeatureFlagNeworganizationlimits FeatureFlag = "NewOrganizationLimits"
	// [PREVIEW: This functionality is still under development and can change without warning.] Authenticate cookies server-side.
	FeatureFlagCookieauthserverside FeatureFlag = "CookieAuthServerSide"
	// [PREVIEW: This functionality is still under development and can change without warning. THIS FUNCTIONALITY IS EXPERIMENTAL: Enabling experimental functionality is strongly discouraged and can lead to LogScale ending up in a bad state beyond repair.] Enable ArrayFunctions in query language.
	FeatureFlagArrayfunctions FeatureFlag = "ArrayFunctions"
	// [PREVIEW: This functionality is still under development and can change without warning. THIS FUNCTIONALITY IS EXPERIMENTAL: Enabling experimental functionality is strongly discouraged and can lead to LogScale ending up in a bad state beyond repair.] Enable geography functions in query language.
	FeatureFlagGeographyfunctions FeatureFlag = "GeographyFunctions"
	// [PREVIEW: This functionality is still under development and can change without warning. THIS FUNCTIONALITY IS EXPERIMENTAL: Enabling experimental functionality is strongly discouraged and can lead to LogScale ending up in a bad state beyond repair.] Prioritize newer over older segments.
	FeatureFlagCachepolicies FeatureFlag = "CachePolicies"
	// [PREVIEW: This functionality is still under development and can change without warning. THIS FUNCTIONALITY IS EXPERIMENTAL: Enabling experimental functionality is strongly discouraged and can lead to LogScale ending up in a bad state beyond repair.] Enable searching across LogScale clusters.
	FeatureFlagMulticlustersearch FeatureFlag = "MultiClusterSearch"
	// [PREVIEW: This functionality is still under development and can change without warning. THIS FUNCTIONALITY IS EXPERIMENTAL: Enabling experimental functionality is strongly discouraged and can lead to LogScale ending up in a bad state beyond repair.] Enable subdomains for current cluster.
	FeatureFlagSubdomainfororganizations FeatureFlag = "SubdomainForOrganizations"
	// [PREVIEW: This functionality is still under development and can change without warning. THIS FUNCTIONALITY IS EXPERIMENTAL: Enabling experimental functionality is strongly discouraged and can lead to LogScale ending up in a bad state beyond repair.] Enable Humio Managed repositories. The customer is not permitted to change certain configurations in a LogScale Managed repository.
	FeatureFlagManagedrepositories FeatureFlag = "ManagedRepositories"
	// [PREVIEW: This functionality is still under development and can change without warning. THIS FUNCTIONALITY IS EXPERIMENTAL: Enabling experimental functionality is strongly discouraged and can lead to LogScale ending up in a bad state beyond repair.] Allow users to configure FDR feeds for managed repositories
	FeatureFlagManagedrepositoriesallowfdrconfig FeatureFlag = "ManagedRepositoriesAllowFDRConfig"
	// [PREVIEW: This functionality is still under development and can change without warning.] The UsagePage shows data from ingestAfterFieldRemovalSize instead of segmentWriteBytes
	FeatureFlagUsagepageusingingestafterfieldremovalsize FeatureFlag = "UsagePageUsingIngestAfterFieldRemovalSize"
	// [PREVIEW: This functionality is still under development and can change without warning.] Enable falcon data connector
	FeatureFlagFalcondataconnector FeatureFlag = "FalconDataConnector"
	// [PREVIEW: This functionality is still under development and can change without warning. THIS FUNCTIONALITY IS EXPERIMENTAL: Enabling experimental functionality is strongly discouraged and can lead to LogScale ending up in a bad state beyond repair.] Flag for testing, does nothing
	FeatureFlagSleepfunction FeatureFlag = "SleepFunction"
	// [PREVIEW: This functionality is still under development and can change without warning.] Enable login bridge
	FeatureFlagLoginbridge FeatureFlag = "LoginBridge"
	// [PREVIEW: This functionality is still under development and can change without warning. THIS FUNCTIONALITY IS EXPERIMENTAL: Enabling experimental functionality is strongly discouraged and can lead to LogScale ending up in a bad state beyond repair.] Enables download of macos installer for logcollector through fleet management
	FeatureFlagMacosinstallerforlogcollector FeatureFlag = "MacosInstallerForLogCollector"
	// [PREVIEW: This functionality is still under development and can change without warning. THIS FUNCTIONALITY IS EXPERIMENTAL: Enabling experimental functionality is strongly discouraged and can lead to LogScale ending up in a bad state beyond repair.] Enables UsageJob to log average usage as part of usage log
	FeatureFlagLogaverageusage FeatureFlag = "LogAverageUsage"
	// [PREVIEW: This functionality is still under development and can change without warning. THIS FUNCTIONALITY IS EXPERIMENTAL: Enabling experimental functionality is strongly discouraged and can lead to LogScale ending up in a bad state beyond repair.] Enables ephemeral hosts support for fleet management
	FeatureFlagFleetephemeralhosts FeatureFlag = "FleetEphemeralHosts"
	// [PREVIEW: This functionality is still under development and can change without warning. THIS FUNCTIONALITY IS EXPERIMENTAL: Enabling experimental functionality is strongly discouraged and can lead to LogScale ending up in a bad state beyond repair.] Enables fleet management collector metrics
	FeatureFlagFleetcollectormetrics FeatureFlag = "FleetCollectorMetrics"
	// [PREVIEW: This functionality is still under development and can change without warning. THIS FUNCTIONALITY IS EXPERIMENTAL: Enabling experimental functionality is strongly discouraged and can lead to LogScale ending up in a bad state beyond repair.] No currentHosts writes for segments in buckets
	FeatureFlagNocurrentsforbucketsegments FeatureFlag = "NoCurrentsForBucketSegments"
	// [PREVIEW: This functionality is still under development and can change without warning. THIS FUNCTIONALITY IS EXPERIMENTAL: Enabling experimental functionality is strongly discouraged and can lead to LogScale ending up in a bad state beyond repair.] Pre-merge mini-segments
	FeatureFlagPremergeminisegments FeatureFlag = "PreMergeMiniSegments"
	// [PREVIEW: This functionality is still under development and can change without warning. THIS FUNCTIONALITY IS EXPERIMENTAL: Enabling experimental functionality is strongly discouraged and can lead to LogScale ending up in a bad state beyond repair.] Use a new segment file format on write - not readable by older versions
	FeatureFlagWritenewsegmentfileformat FeatureFlag = "WriteNewSegmentFileFormat"
	// [PREVIEW: This functionality is still under development and can change without warning. THIS FUNCTIONALITY IS EXPERIMENTAL: Enabling experimental functionality is strongly discouraged and can lead to LogScale ending up in a bad state beyond repair.] Enables fleet management collector debug logging
	FeatureFlagFleetcollectordebuglogging FeatureFlag = "FleetCollectorDebugLogging"
	// [PREVIEW: This functionality is still under development and can change without warning. THIS FUNCTIONALITY IS EXPERIMENTAL: Enabling experimental functionality is strongly discouraged and can lead to LogScale ending up in a bad state beyond repair.] Enables LogScale Collector remote updates
	FeatureFlagFleetremoteupdates FeatureFlag = "FleetRemoteUpdates"
	// [PREVIEW: This functionality is still under development and can change without warning. THIS FUNCTIONALITY IS EXPERIMENTAL: Enabling experimental functionality is strongly discouraged and can lead to LogScale ending up in a bad state beyond repair.] Enables alternate query merge target handling
	FeatureFlagAlternatequerymergetargethandling FeatureFlag = "AlternateQueryMergeTargetHandling"
	// [PREVIEW: This functionality is still under development and can change without warning. THIS FUNCTIONALITY IS EXPERIMENTAL: Enabling experimental functionality is strongly discouraged and can lead to LogScale ending up in a bad state beyond repair.] Enables query optimizations for fleet management
	FeatureFlagFleetusestaticqueries FeatureFlag = "FleetUseStaticQueries"
	// [PREVIEW: This functionality is still under development and can change without warning. THIS FUNCTIONALITY IS EXPERIMENTAL: Enabling experimental functionality is strongly discouraged and can lead to LogScale ending up in a bad state beyond repair.] Enables labels for fleet management
	FeatureFlagFleetlabels FeatureFlag = "FleetLabels"
	// [PREVIEW: This functionality is still under development and can change without warning. THIS FUNCTIONALITY IS EXPERIMENTAL: Enabling experimental functionality is strongly discouraged and can lead to LogScale ending up in a bad state beyond repair.] Enables Field Aliasing
	FeatureFlagFieldaliasing FeatureFlag = "FieldAliasing"
	// [PREVIEW: This functionality is still under development and can change without warning. THIS FUNCTIONALITY IS EXPERIMENTAL: Enabling experimental functionality is strongly discouraged and can lead to LogScale ending up in a bad state beyond repair.] External Functions
	FeatureFlagExternalfunctions FeatureFlag = "ExternalFunctions"
	// [PREVIEW: This functionality is still under development and can change without warning. THIS FUNCTIONALITY IS EXPERIMENTAL: Enabling experimental functionality is strongly discouraged and can lead to LogScale ending up in a bad state beyond repair.] Enable the LogScale Query Assistant
	FeatureFlagQueryassistant FeatureFlag = "QueryAssistant"
	// [PREVIEW: This functionality is still under development and can change without warning. THIS FUNCTIONALITY IS EXPERIMENTAL: Enabling experimental functionality is strongly discouraged and can lead to LogScale ending up in a bad state beyond repair.] Enable Flight Control support in cluster
	FeatureFlagFlightcontrol FeatureFlag = "FlightControl"
	// [PREVIEW: This functionality is still under development and can change without warning. THIS FUNCTIONALITY IS EXPERIMENTAL: Enabling experimental functionality is strongly discouraged and can lead to LogScale ending up in a bad state beyond repair.] Enable organization level security policies. For instance the ability to only enable certain action types.
	FeatureFlagOrganizationsecuritypolicies FeatureFlag = "OrganizationSecurityPolicies"
	// [PREVIEW: This functionality is still under development and can change without warning. THIS FUNCTIONALITY IS EXPERIMENTAL: Enabling experimental functionality is strongly discouraged and can lead to LogScale ending up in a bad state beyond repair.] Enables a limit on query backtracking
	FeatureFlagQuerybacktrackinglimit FeatureFlag = "QueryBacktrackingLimit"
	// [PREVIEW: This functionality is still under development and can change without warning. THIS FUNCTIONALITY IS EXPERIMENTAL: Enabling experimental functionality is strongly discouraged and can lead to LogScale ending up in a bad state beyond repair.] Adds a derived #repo.cid tag when searching in views or dataspaces within an organization with an associated CID
	FeatureFlagDerivedcidtag FeatureFlag = "DerivedCidTag"
	// [PREVIEW: This functionality is still under development and can change without warning. THIS FUNCTIONALITY IS EXPERIMENTAL: Enabling experimental functionality is strongly discouraged and can lead to LogScale ending up in a bad state beyond repair.] Live tables
	FeatureFlagLivetables FeatureFlag = "LiveTables"
	// [PREVIEW: This functionality is still under development and can change without warning. THIS FUNCTIONALITY IS EXPERIMENTAL: Enabling experimental functionality is strongly discouraged and can lead to LogScale ending up in a bad state beyond repair.] Enables the MITRE Detection Annotation function
	FeatureFlagMitredetectionannotation FeatureFlag = "MitreDetectionAnnotation"
	// [PREVIEW: This functionality is still under development and can change without warning. THIS FUNCTIONALITY IS EXPERIMENTAL: Enabling experimental functionality is strongly discouraged and can lead to LogScale ending up in a bad state beyond repair.] Enables having multiple role bindings for a single view in the same group. This feature flag does nothing until min version is at least 1.150.0
	FeatureFlagMultipleviewrolebindings FeatureFlag = "MultipleViewRoleBindings"
)

type FieldHasValueInput

type FieldHasValueInput struct {
	// Asserts that a given field has an expected value after having been parsed.
	FieldName string `json:"fieldName"`
	// Asserts that a given field has an expected value after having been parsed.
	ExpectedValue string `json:"expectedValue"`
}

Asserts that a given field has an expected value after having been parsed.

func (*FieldHasValueInput) GetExpectedValue

func (v *FieldHasValueInput) GetExpectedValue() string

GetExpectedValue returns FieldHasValueInput.ExpectedValue, and is useful for accessing the field via an interface.

func (*FieldHasValueInput) GetFieldName

func (v *FieldHasValueInput) GetFieldName() string

GetFieldName returns FieldHasValueInput.FieldName, and is useful for accessing the field via an interface.

type FilterAlertDetails

type FilterAlertDetails struct {
	// Id of the filter alert.
	Id string `json:"id"`
	// Name of the filter alert.
	Name string `json:"name"`
	// Description of the filter alert.
	Description *string `json:"description"`
	// LogScale query to execute.
	QueryString string `json:"queryString"`
	// Throttle time in seconds.
	ThrottleTimeSeconds *int64 `json:"throttleTimeSeconds"`
	// A field to throttle on. Can only be set if throttleTimeSeconds is set.
	ThrottleField *string `json:"throttleField"`
	// List of ids for actions to fire on query result.
	Actions []FilterAlertDetailsActionsAction `json:"-"`
	// Labels attached to the filter alert.
	Labels []string `json:"labels"`
	// Flag indicating whether the filter alert is enabled.
	Enabled bool `json:"enabled"`
	// Ownership of the query run by this alert
	QueryOwnership SharedQueryOwnershipType `json:"-"`
}

FilterAlertDetails includes the GraphQL fields of FilterAlert requested by the fragment FilterAlertDetails. The GraphQL type's documentation follows.

A filter alert.

func (*FilterAlertDetails) GetActions

GetActions returns FilterAlertDetails.Actions, and is useful for accessing the field via an interface.

func (*FilterAlertDetails) GetDescription

func (v *FilterAlertDetails) GetDescription() *string

GetDescription returns FilterAlertDetails.Description, and is useful for accessing the field via an interface.

func (*FilterAlertDetails) GetEnabled

func (v *FilterAlertDetails) GetEnabled() bool

GetEnabled returns FilterAlertDetails.Enabled, and is useful for accessing the field via an interface.

func (*FilterAlertDetails) GetId

func (v *FilterAlertDetails) GetId() string

GetId returns FilterAlertDetails.Id, and is useful for accessing the field via an interface.

func (*FilterAlertDetails) GetLabels

func (v *FilterAlertDetails) GetLabels() []string

GetLabels returns FilterAlertDetails.Labels, and is useful for accessing the field via an interface.

func (*FilterAlertDetails) GetName

func (v *FilterAlertDetails) GetName() string

GetName returns FilterAlertDetails.Name, and is useful for accessing the field via an interface.

func (*FilterAlertDetails) GetQueryOwnership

func (v *FilterAlertDetails) GetQueryOwnership() SharedQueryOwnershipType

GetQueryOwnership returns FilterAlertDetails.QueryOwnership, and is useful for accessing the field via an interface.

func (*FilterAlertDetails) GetQueryString

func (v *FilterAlertDetails) GetQueryString() string

GetQueryString returns FilterAlertDetails.QueryString, and is useful for accessing the field via an interface.

func (*FilterAlertDetails) GetThrottleField

func (v *FilterAlertDetails) GetThrottleField() *string

GetThrottleField returns FilterAlertDetails.ThrottleField, and is useful for accessing the field via an interface.

func (*FilterAlertDetails) GetThrottleTimeSeconds

func (v *FilterAlertDetails) GetThrottleTimeSeconds() *int64

GetThrottleTimeSeconds returns FilterAlertDetails.ThrottleTimeSeconds, and is useful for accessing the field via an interface.

func (*FilterAlertDetails) MarshalJSON

func (v *FilterAlertDetails) MarshalJSON() ([]byte, error)

func (*FilterAlertDetails) UnmarshalJSON

func (v *FilterAlertDetails) UnmarshalJSON(b []byte) error

type FilterAlertDetailsActionsAction

type FilterAlertDetailsActionsAction interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// GetName returns the interface-field "name" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// An action that can be invoked from a trigger.
	GetName() string
	// contains filtered or unexported methods
}

FilterAlertDetailsActionsAction includes the requested fields of the GraphQL interface Action.

FilterAlertDetailsActionsAction is implemented by the following types: FilterAlertDetailsActionsEmailAction FilterAlertDetailsActionsHumioRepoAction FilterAlertDetailsActionsOpsGenieAction FilterAlertDetailsActionsPagerDutyAction FilterAlertDetailsActionsSlackAction FilterAlertDetailsActionsSlackPostMessageAction FilterAlertDetailsActionsUploadFileAction FilterAlertDetailsActionsVictorOpsAction FilterAlertDetailsActionsWebhookAction The GraphQL type's documentation follows.

An action that can be invoked from a trigger.

type FilterAlertDetailsActionsEmailAction

type FilterAlertDetailsActionsEmailAction struct {
	Typename *string `json:"__typename"`
	// An action that can be invoked from a trigger.
	Name string `json:"name"`
}

FilterAlertDetailsActionsEmailAction includes the requested fields of the GraphQL type EmailAction. The GraphQL type's documentation follows.

An email action.

func (*FilterAlertDetailsActionsEmailAction) GetName

GetName returns FilterAlertDetailsActionsEmailAction.Name, and is useful for accessing the field via an interface.

func (*FilterAlertDetailsActionsEmailAction) GetTypename

func (v *FilterAlertDetailsActionsEmailAction) GetTypename() *string

GetTypename returns FilterAlertDetailsActionsEmailAction.Typename, and is useful for accessing the field via an interface.

type FilterAlertDetailsActionsHumioRepoAction

type FilterAlertDetailsActionsHumioRepoAction struct {
	Typename *string `json:"__typename"`
	// An action that can be invoked from a trigger.
	Name string `json:"name"`
}

FilterAlertDetailsActionsHumioRepoAction includes the requested fields of the GraphQL type HumioRepoAction. The GraphQL type's documentation follows.

A LogScale repository action.

func (*FilterAlertDetailsActionsHumioRepoAction) GetName

GetName returns FilterAlertDetailsActionsHumioRepoAction.Name, and is useful for accessing the field via an interface.

func (*FilterAlertDetailsActionsHumioRepoAction) GetTypename

GetTypename returns FilterAlertDetailsActionsHumioRepoAction.Typename, and is useful for accessing the field via an interface.

type FilterAlertDetailsActionsOpsGenieAction

type FilterAlertDetailsActionsOpsGenieAction struct {
	Typename *string `json:"__typename"`
	// An action that can be invoked from a trigger.
	Name string `json:"name"`
}

FilterAlertDetailsActionsOpsGenieAction includes the requested fields of the GraphQL type OpsGenieAction. The GraphQL type's documentation follows.

An OpsGenie action

func (*FilterAlertDetailsActionsOpsGenieAction) GetName

GetName returns FilterAlertDetailsActionsOpsGenieAction.Name, and is useful for accessing the field via an interface.

func (*FilterAlertDetailsActionsOpsGenieAction) GetTypename

GetTypename returns FilterAlertDetailsActionsOpsGenieAction.Typename, and is useful for accessing the field via an interface.

type FilterAlertDetailsActionsPagerDutyAction

type FilterAlertDetailsActionsPagerDutyAction struct {
	Typename *string `json:"__typename"`
	// An action that can be invoked from a trigger.
	Name string `json:"name"`
}

FilterAlertDetailsActionsPagerDutyAction includes the requested fields of the GraphQL type PagerDutyAction. The GraphQL type's documentation follows.

A PagerDuty action.

func (*FilterAlertDetailsActionsPagerDutyAction) GetName

GetName returns FilterAlertDetailsActionsPagerDutyAction.Name, and is useful for accessing the field via an interface.

func (*FilterAlertDetailsActionsPagerDutyAction) GetTypename

GetTypename returns FilterAlertDetailsActionsPagerDutyAction.Typename, and is useful for accessing the field via an interface.

type FilterAlertDetailsActionsSlackAction

type FilterAlertDetailsActionsSlackAction struct {
	Typename *string `json:"__typename"`
	// An action that can be invoked from a trigger.
	Name string `json:"name"`
}

FilterAlertDetailsActionsSlackAction includes the requested fields of the GraphQL type SlackAction. The GraphQL type's documentation follows.

A Slack action

func (*FilterAlertDetailsActionsSlackAction) GetName

GetName returns FilterAlertDetailsActionsSlackAction.Name, and is useful for accessing the field via an interface.

func (*FilterAlertDetailsActionsSlackAction) GetTypename

func (v *FilterAlertDetailsActionsSlackAction) GetTypename() *string

GetTypename returns FilterAlertDetailsActionsSlackAction.Typename, and is useful for accessing the field via an interface.

type FilterAlertDetailsActionsSlackPostMessageAction

type FilterAlertDetailsActionsSlackPostMessageAction struct {
	Typename *string `json:"__typename"`
	// An action that can be invoked from a trigger.
	Name string `json:"name"`
}

FilterAlertDetailsActionsSlackPostMessageAction includes the requested fields of the GraphQL type SlackPostMessageAction. The GraphQL type's documentation follows.

A slack post-message action.

func (*FilterAlertDetailsActionsSlackPostMessageAction) GetName

GetName returns FilterAlertDetailsActionsSlackPostMessageAction.Name, and is useful for accessing the field via an interface.

func (*FilterAlertDetailsActionsSlackPostMessageAction) GetTypename

GetTypename returns FilterAlertDetailsActionsSlackPostMessageAction.Typename, and is useful for accessing the field via an interface.

type FilterAlertDetailsActionsUploadFileAction

type FilterAlertDetailsActionsUploadFileAction struct {
	Typename *string `json:"__typename"`
	// An action that can be invoked from a trigger.
	Name string `json:"name"`
}

FilterAlertDetailsActionsUploadFileAction includes the requested fields of the GraphQL type UploadFileAction. The GraphQL type's documentation follows.

An upload file action.

func (*FilterAlertDetailsActionsUploadFileAction) GetName

GetName returns FilterAlertDetailsActionsUploadFileAction.Name, and is useful for accessing the field via an interface.

func (*FilterAlertDetailsActionsUploadFileAction) GetTypename

GetTypename returns FilterAlertDetailsActionsUploadFileAction.Typename, and is useful for accessing the field via an interface.

type FilterAlertDetailsActionsVictorOpsAction

type FilterAlertDetailsActionsVictorOpsAction struct {
	Typename *string `json:"__typename"`
	// An action that can be invoked from a trigger.
	Name string `json:"name"`
}

FilterAlertDetailsActionsVictorOpsAction includes the requested fields of the GraphQL type VictorOpsAction. The GraphQL type's documentation follows.

A VictorOps action.

func (*FilterAlertDetailsActionsVictorOpsAction) GetName

GetName returns FilterAlertDetailsActionsVictorOpsAction.Name, and is useful for accessing the field via an interface.

func (*FilterAlertDetailsActionsVictorOpsAction) GetTypename

GetTypename returns FilterAlertDetailsActionsVictorOpsAction.Typename, and is useful for accessing the field via an interface.

type FilterAlertDetailsActionsWebhookAction

type FilterAlertDetailsActionsWebhookAction struct {
	Typename *string `json:"__typename"`
	// An action that can be invoked from a trigger.
	Name string `json:"name"`
}

FilterAlertDetailsActionsWebhookAction includes the requested fields of the GraphQL type WebhookAction. The GraphQL type's documentation follows.

A webhook action

func (*FilterAlertDetailsActionsWebhookAction) GetName

GetName returns FilterAlertDetailsActionsWebhookAction.Name, and is useful for accessing the field via an interface.

func (*FilterAlertDetailsActionsWebhookAction) GetTypename

GetTypename returns FilterAlertDetailsActionsWebhookAction.Typename, and is useful for accessing the field via an interface.

type GetActionByIDResponse

type GetActionByIDResponse struct {
	SearchDomain GetActionByIDSearchDomain `json:"-"`
}

GetActionByIDResponse is returned by GetActionByID on success.

func GetActionByID

func GetActionByID(
	ctx_ context.Context,
	client_ graphql.Client,
	SearchDomainName string,
	ActionID string,
) (*GetActionByIDResponse, error)

func (*GetActionByIDResponse) GetSearchDomain

func (v *GetActionByIDResponse) GetSearchDomain() GetActionByIDSearchDomain

GetSearchDomain returns GetActionByIDResponse.SearchDomain, and is useful for accessing the field via an interface.

func (*GetActionByIDResponse) MarshalJSON

func (v *GetActionByIDResponse) MarshalJSON() ([]byte, error)

func (*GetActionByIDResponse) UnmarshalJSON

func (v *GetActionByIDResponse) UnmarshalJSON(b []byte) error

type GetActionByIDSearchDomain

type GetActionByIDSearchDomain interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// GetAction returns the interface-field "action" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// Common interface for Repositories and Views.
	GetAction() GetActionByIDSearchDomainAction
	// contains filtered or unexported methods
}

GetActionByIDSearchDomain includes the requested fields of the GraphQL interface SearchDomain.

GetActionByIDSearchDomain is implemented by the following types: GetActionByIDSearchDomainRepository GetActionByIDSearchDomainView The GraphQL type's documentation follows.

Common interface for Repositories and Views.

type GetActionByIDSearchDomainAction

type GetActionByIDSearchDomainAction interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	ActionDetails
	// contains filtered or unexported methods
}

GetActionByIDSearchDomainAction includes the requested fields of the GraphQL interface Action.

GetActionByIDSearchDomainAction is implemented by the following types: GetActionByIDSearchDomainActionEmailAction GetActionByIDSearchDomainActionHumioRepoAction GetActionByIDSearchDomainActionOpsGenieAction GetActionByIDSearchDomainActionPagerDutyAction GetActionByIDSearchDomainActionSlackAction GetActionByIDSearchDomainActionSlackPostMessageAction GetActionByIDSearchDomainActionUploadFileAction GetActionByIDSearchDomainActionVictorOpsAction GetActionByIDSearchDomainActionWebhookAction The GraphQL type's documentation follows.

An action that can be invoked from a trigger.

type GetActionByIDSearchDomainActionEmailAction

type GetActionByIDSearchDomainActionEmailAction struct {
	Typename                 *string `json:"__typename"`
	ActionDetailsEmailAction `json:"-"`
}

GetActionByIDSearchDomainActionEmailAction includes the requested fields of the GraphQL type EmailAction. The GraphQL type's documentation follows.

An email action.

func (*GetActionByIDSearchDomainActionEmailAction) GetEmailBodyTemplate

func (v *GetActionByIDSearchDomainActionEmailAction) GetEmailBodyTemplate() *string

GetEmailBodyTemplate returns GetActionByIDSearchDomainActionEmailAction.EmailBodyTemplate, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionEmailAction) GetId

GetId returns GetActionByIDSearchDomainActionEmailAction.Id, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionEmailAction) GetName

GetName returns GetActionByIDSearchDomainActionEmailAction.Name, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionEmailAction) GetRecipients

GetRecipients returns GetActionByIDSearchDomainActionEmailAction.Recipients, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionEmailAction) GetSubjectTemplate

func (v *GetActionByIDSearchDomainActionEmailAction) GetSubjectTemplate() *string

GetSubjectTemplate returns GetActionByIDSearchDomainActionEmailAction.SubjectTemplate, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionEmailAction) GetTypename

GetTypename returns GetActionByIDSearchDomainActionEmailAction.Typename, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionEmailAction) GetUseProxy

GetUseProxy returns GetActionByIDSearchDomainActionEmailAction.UseProxy, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionEmailAction) MarshalJSON

func (*GetActionByIDSearchDomainActionEmailAction) UnmarshalJSON

type GetActionByIDSearchDomainActionHumioRepoAction

type GetActionByIDSearchDomainActionHumioRepoAction struct {
	Typename                     *string `json:"__typename"`
	ActionDetailsHumioRepoAction `json:"-"`
}

GetActionByIDSearchDomainActionHumioRepoAction includes the requested fields of the GraphQL type HumioRepoAction. The GraphQL type's documentation follows.

A LogScale repository action.

func (*GetActionByIDSearchDomainActionHumioRepoAction) GetId

GetId returns GetActionByIDSearchDomainActionHumioRepoAction.Id, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionHumioRepoAction) GetIngestToken

GetIngestToken returns GetActionByIDSearchDomainActionHumioRepoAction.IngestToken, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionHumioRepoAction) GetName

GetName returns GetActionByIDSearchDomainActionHumioRepoAction.Name, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionHumioRepoAction) GetTypename

GetTypename returns GetActionByIDSearchDomainActionHumioRepoAction.Typename, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionHumioRepoAction) MarshalJSON

func (*GetActionByIDSearchDomainActionHumioRepoAction) UnmarshalJSON

type GetActionByIDSearchDomainActionOpsGenieAction

type GetActionByIDSearchDomainActionOpsGenieAction struct {
	Typename                    *string `json:"__typename"`
	ActionDetailsOpsGenieAction `json:"-"`
}

GetActionByIDSearchDomainActionOpsGenieAction includes the requested fields of the GraphQL type OpsGenieAction. The GraphQL type's documentation follows.

An OpsGenie action

func (*GetActionByIDSearchDomainActionOpsGenieAction) GetApiUrl

GetApiUrl returns GetActionByIDSearchDomainActionOpsGenieAction.ApiUrl, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionOpsGenieAction) GetGenieKey

GetGenieKey returns GetActionByIDSearchDomainActionOpsGenieAction.GenieKey, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionOpsGenieAction) GetId

GetId returns GetActionByIDSearchDomainActionOpsGenieAction.Id, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionOpsGenieAction) GetName

GetName returns GetActionByIDSearchDomainActionOpsGenieAction.Name, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionOpsGenieAction) GetTypename

GetTypename returns GetActionByIDSearchDomainActionOpsGenieAction.Typename, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionOpsGenieAction) GetUseProxy

GetUseProxy returns GetActionByIDSearchDomainActionOpsGenieAction.UseProxy, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionOpsGenieAction) MarshalJSON

func (*GetActionByIDSearchDomainActionOpsGenieAction) UnmarshalJSON

type GetActionByIDSearchDomainActionPagerDutyAction

type GetActionByIDSearchDomainActionPagerDutyAction struct {
	Typename                     *string `json:"__typename"`
	ActionDetailsPagerDutyAction `json:"-"`
}

GetActionByIDSearchDomainActionPagerDutyAction includes the requested fields of the GraphQL type PagerDutyAction. The GraphQL type's documentation follows.

A PagerDuty action.

func (*GetActionByIDSearchDomainActionPagerDutyAction) GetId

GetId returns GetActionByIDSearchDomainActionPagerDutyAction.Id, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionPagerDutyAction) GetName

GetName returns GetActionByIDSearchDomainActionPagerDutyAction.Name, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionPagerDutyAction) GetRoutingKey

GetRoutingKey returns GetActionByIDSearchDomainActionPagerDutyAction.RoutingKey, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionPagerDutyAction) GetSeverity

GetSeverity returns GetActionByIDSearchDomainActionPagerDutyAction.Severity, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionPagerDutyAction) GetTypename

GetTypename returns GetActionByIDSearchDomainActionPagerDutyAction.Typename, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionPagerDutyAction) GetUseProxy

GetUseProxy returns GetActionByIDSearchDomainActionPagerDutyAction.UseProxy, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionPagerDutyAction) MarshalJSON

func (*GetActionByIDSearchDomainActionPagerDutyAction) UnmarshalJSON

type GetActionByIDSearchDomainActionSlackAction

type GetActionByIDSearchDomainActionSlackAction struct {
	Typename                 *string `json:"__typename"`
	ActionDetailsSlackAction `json:"-"`
}

GetActionByIDSearchDomainActionSlackAction includes the requested fields of the GraphQL type SlackAction. The GraphQL type's documentation follows.

A Slack action

func (*GetActionByIDSearchDomainActionSlackAction) GetFields

GetFields returns GetActionByIDSearchDomainActionSlackAction.Fields, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionSlackAction) GetId

GetId returns GetActionByIDSearchDomainActionSlackAction.Id, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionSlackAction) GetName

GetName returns GetActionByIDSearchDomainActionSlackAction.Name, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionSlackAction) GetTypename

GetTypename returns GetActionByIDSearchDomainActionSlackAction.Typename, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionSlackAction) GetUrl

GetUrl returns GetActionByIDSearchDomainActionSlackAction.Url, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionSlackAction) GetUseProxy

GetUseProxy returns GetActionByIDSearchDomainActionSlackAction.UseProxy, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionSlackAction) MarshalJSON

func (*GetActionByIDSearchDomainActionSlackAction) UnmarshalJSON

type GetActionByIDSearchDomainActionSlackPostMessageAction

type GetActionByIDSearchDomainActionSlackPostMessageAction struct {
	Typename                            *string `json:"__typename"`
	ActionDetailsSlackPostMessageAction `json:"-"`
}

GetActionByIDSearchDomainActionSlackPostMessageAction includes the requested fields of the GraphQL type SlackPostMessageAction. The GraphQL type's documentation follows.

A slack post-message action.

func (*GetActionByIDSearchDomainActionSlackPostMessageAction) GetApiToken

GetApiToken returns GetActionByIDSearchDomainActionSlackPostMessageAction.ApiToken, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionSlackPostMessageAction) GetChannels

GetChannels returns GetActionByIDSearchDomainActionSlackPostMessageAction.Channels, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionSlackPostMessageAction) GetFields

GetFields returns GetActionByIDSearchDomainActionSlackPostMessageAction.Fields, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionSlackPostMessageAction) GetId

GetId returns GetActionByIDSearchDomainActionSlackPostMessageAction.Id, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionSlackPostMessageAction) GetName

GetName returns GetActionByIDSearchDomainActionSlackPostMessageAction.Name, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionSlackPostMessageAction) GetTypename

GetTypename returns GetActionByIDSearchDomainActionSlackPostMessageAction.Typename, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionSlackPostMessageAction) GetUseProxy

GetUseProxy returns GetActionByIDSearchDomainActionSlackPostMessageAction.UseProxy, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionSlackPostMessageAction) MarshalJSON

func (*GetActionByIDSearchDomainActionSlackPostMessageAction) UnmarshalJSON

type GetActionByIDSearchDomainActionUploadFileAction

type GetActionByIDSearchDomainActionUploadFileAction struct {
	Typename                      *string `json:"__typename"`
	ActionDetailsUploadFileAction `json:"-"`
}

GetActionByIDSearchDomainActionUploadFileAction includes the requested fields of the GraphQL type UploadFileAction. The GraphQL type's documentation follows.

An upload file action.

func (*GetActionByIDSearchDomainActionUploadFileAction) GetFileName

GetFileName returns GetActionByIDSearchDomainActionUploadFileAction.FileName, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionUploadFileAction) GetId

GetId returns GetActionByIDSearchDomainActionUploadFileAction.Id, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionUploadFileAction) GetName

GetName returns GetActionByIDSearchDomainActionUploadFileAction.Name, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionUploadFileAction) GetTypename

GetTypename returns GetActionByIDSearchDomainActionUploadFileAction.Typename, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionUploadFileAction) MarshalJSON

func (*GetActionByIDSearchDomainActionUploadFileAction) UnmarshalJSON

type GetActionByIDSearchDomainActionVictorOpsAction

type GetActionByIDSearchDomainActionVictorOpsAction struct {
	Typename                     *string `json:"__typename"`
	ActionDetailsVictorOpsAction `json:"-"`
}

GetActionByIDSearchDomainActionVictorOpsAction includes the requested fields of the GraphQL type VictorOpsAction. The GraphQL type's documentation follows.

A VictorOps action.

func (*GetActionByIDSearchDomainActionVictorOpsAction) GetId

GetId returns GetActionByIDSearchDomainActionVictorOpsAction.Id, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionVictorOpsAction) GetMessageType

GetMessageType returns GetActionByIDSearchDomainActionVictorOpsAction.MessageType, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionVictorOpsAction) GetName

GetName returns GetActionByIDSearchDomainActionVictorOpsAction.Name, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionVictorOpsAction) GetNotifyUrl

GetNotifyUrl returns GetActionByIDSearchDomainActionVictorOpsAction.NotifyUrl, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionVictorOpsAction) GetTypename

GetTypename returns GetActionByIDSearchDomainActionVictorOpsAction.Typename, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionVictorOpsAction) GetUseProxy

GetUseProxy returns GetActionByIDSearchDomainActionVictorOpsAction.UseProxy, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionVictorOpsAction) MarshalJSON

func (*GetActionByIDSearchDomainActionVictorOpsAction) UnmarshalJSON

type GetActionByIDSearchDomainActionWebhookAction

type GetActionByIDSearchDomainActionWebhookAction struct {
	Typename                   *string `json:"__typename"`
	ActionDetailsWebhookAction `json:"-"`
}

GetActionByIDSearchDomainActionWebhookAction includes the requested fields of the GraphQL type WebhookAction. The GraphQL type's documentation follows.

A webhook action

func (*GetActionByIDSearchDomainActionWebhookAction) GetHeaders

GetHeaders returns GetActionByIDSearchDomainActionWebhookAction.Headers, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionWebhookAction) GetId

GetId returns GetActionByIDSearchDomainActionWebhookAction.Id, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionWebhookAction) GetIgnoreSSL

GetIgnoreSSL returns GetActionByIDSearchDomainActionWebhookAction.IgnoreSSL, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionWebhookAction) GetMethod

GetMethod returns GetActionByIDSearchDomainActionWebhookAction.Method, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionWebhookAction) GetName

GetName returns GetActionByIDSearchDomainActionWebhookAction.Name, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionWebhookAction) GetTypename

GetTypename returns GetActionByIDSearchDomainActionWebhookAction.Typename, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionWebhookAction) GetUrl

GetUrl returns GetActionByIDSearchDomainActionWebhookAction.Url, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionWebhookAction) GetUseProxy

GetUseProxy returns GetActionByIDSearchDomainActionWebhookAction.UseProxy, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionWebhookAction) GetWebhookBodyTemplate

func (v *GetActionByIDSearchDomainActionWebhookAction) GetWebhookBodyTemplate() string

GetWebhookBodyTemplate returns GetActionByIDSearchDomainActionWebhookAction.WebhookBodyTemplate, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainActionWebhookAction) MarshalJSON

func (*GetActionByIDSearchDomainActionWebhookAction) UnmarshalJSON

type GetActionByIDSearchDomainRepository

type GetActionByIDSearchDomainRepository struct {
	Typename *string `json:"__typename"`
	// Common interface for Repositories and Views.
	Action GetActionByIDSearchDomainAction `json:"-"`
}

GetActionByIDSearchDomainRepository includes the requested fields of the GraphQL type Repository. The GraphQL type's documentation follows.

A repository stores ingested data, configures parsers and data retention policies.

func (*GetActionByIDSearchDomainRepository) GetAction

GetAction returns GetActionByIDSearchDomainRepository.Action, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainRepository) GetTypename

func (v *GetActionByIDSearchDomainRepository) GetTypename() *string

GetTypename returns GetActionByIDSearchDomainRepository.Typename, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainRepository) MarshalJSON

func (v *GetActionByIDSearchDomainRepository) MarshalJSON() ([]byte, error)

func (*GetActionByIDSearchDomainRepository) UnmarshalJSON

func (v *GetActionByIDSearchDomainRepository) UnmarshalJSON(b []byte) error

type GetActionByIDSearchDomainView

type GetActionByIDSearchDomainView struct {
	Typename *string `json:"__typename"`
	// Common interface for Repositories and Views.
	Action GetActionByIDSearchDomainAction `json:"-"`
}

GetActionByIDSearchDomainView includes the requested fields of the GraphQL type View. The GraphQL type's documentation follows.

Represents information about a view, pulling data from one or several repositories.

func (*GetActionByIDSearchDomainView) GetAction

GetAction returns GetActionByIDSearchDomainView.Action, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainView) GetTypename

func (v *GetActionByIDSearchDomainView) GetTypename() *string

GetTypename returns GetActionByIDSearchDomainView.Typename, and is useful for accessing the field via an interface.

func (*GetActionByIDSearchDomainView) MarshalJSON

func (v *GetActionByIDSearchDomainView) MarshalJSON() ([]byte, error)

func (*GetActionByIDSearchDomainView) UnmarshalJSON

func (v *GetActionByIDSearchDomainView) UnmarshalJSON(b []byte) error

type GetAggregateAlertByIDResponse

type GetAggregateAlertByIDResponse struct {
	SearchDomain GetAggregateAlertByIDSearchDomain `json:"-"`
}

GetAggregateAlertByIDResponse is returned by GetAggregateAlertByID on success.

func GetAggregateAlertByID

func GetAggregateAlertByID(
	ctx_ context.Context,
	client_ graphql.Client,
	SearchDomainName string,
	AggregateAlertID string,
) (*GetAggregateAlertByIDResponse, error)

func (*GetAggregateAlertByIDResponse) GetSearchDomain

GetSearchDomain returns GetAggregateAlertByIDResponse.SearchDomain, and is useful for accessing the field via an interface.

func (*GetAggregateAlertByIDResponse) MarshalJSON

func (v *GetAggregateAlertByIDResponse) MarshalJSON() ([]byte, error)

func (*GetAggregateAlertByIDResponse) UnmarshalJSON

func (v *GetAggregateAlertByIDResponse) UnmarshalJSON(b []byte) error

type GetAggregateAlertByIDSearchDomain

type GetAggregateAlertByIDSearchDomain interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// GetAggregateAlert returns the interface-field "aggregateAlert" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// Common interface for Repositories and Views.
	GetAggregateAlert() GetAggregateAlertByIDSearchDomainAggregateAlert
	// contains filtered or unexported methods
}

GetAggregateAlertByIDSearchDomain includes the requested fields of the GraphQL interface SearchDomain.

GetAggregateAlertByIDSearchDomain is implemented by the following types: GetAggregateAlertByIDSearchDomainRepository GetAggregateAlertByIDSearchDomainView The GraphQL type's documentation follows.

Common interface for Repositories and Views.

type GetAggregateAlertByIDSearchDomainAggregateAlert

type GetAggregateAlertByIDSearchDomainAggregateAlert struct {
	AggregateAlertDetails `json:"-"`
}

GetAggregateAlertByIDSearchDomainAggregateAlert includes the requested fields of the GraphQL type AggregateAlert. The GraphQL type's documentation follows.

An aggregate alert.

func (*GetAggregateAlertByIDSearchDomainAggregateAlert) GetActions

GetActions returns GetAggregateAlertByIDSearchDomainAggregateAlert.Actions, and is useful for accessing the field via an interface.

func (*GetAggregateAlertByIDSearchDomainAggregateAlert) GetDescription

GetDescription returns GetAggregateAlertByIDSearchDomainAggregateAlert.Description, and is useful for accessing the field via an interface.

func (*GetAggregateAlertByIDSearchDomainAggregateAlert) GetEnabled

GetEnabled returns GetAggregateAlertByIDSearchDomainAggregateAlert.Enabled, and is useful for accessing the field via an interface.

func (*GetAggregateAlertByIDSearchDomainAggregateAlert) GetId

GetId returns GetAggregateAlertByIDSearchDomainAggregateAlert.Id, and is useful for accessing the field via an interface.

func (*GetAggregateAlertByIDSearchDomainAggregateAlert) GetLabels

GetLabels returns GetAggregateAlertByIDSearchDomainAggregateAlert.Labels, and is useful for accessing the field via an interface.

func (*GetAggregateAlertByIDSearchDomainAggregateAlert) GetName

GetName returns GetAggregateAlertByIDSearchDomainAggregateAlert.Name, and is useful for accessing the field via an interface.

func (*GetAggregateAlertByIDSearchDomainAggregateAlert) GetQueryOwnership

GetQueryOwnership returns GetAggregateAlertByIDSearchDomainAggregateAlert.QueryOwnership, and is useful for accessing the field via an interface.

func (*GetAggregateAlertByIDSearchDomainAggregateAlert) GetQueryString

GetQueryString returns GetAggregateAlertByIDSearchDomainAggregateAlert.QueryString, and is useful for accessing the field via an interface.

func (*GetAggregateAlertByIDSearchDomainAggregateAlert) GetQueryTimestampType

GetQueryTimestampType returns GetAggregateAlertByIDSearchDomainAggregateAlert.QueryTimestampType, and is useful for accessing the field via an interface.

func (*GetAggregateAlertByIDSearchDomainAggregateAlert) GetSearchIntervalSeconds

func (v *GetAggregateAlertByIDSearchDomainAggregateAlert) GetSearchIntervalSeconds() int64

GetSearchIntervalSeconds returns GetAggregateAlertByIDSearchDomainAggregateAlert.SearchIntervalSeconds, and is useful for accessing the field via an interface.

func (*GetAggregateAlertByIDSearchDomainAggregateAlert) GetThrottleField

GetThrottleField returns GetAggregateAlertByIDSearchDomainAggregateAlert.ThrottleField, and is useful for accessing the field via an interface.

func (*GetAggregateAlertByIDSearchDomainAggregateAlert) GetThrottleTimeSeconds

func (v *GetAggregateAlertByIDSearchDomainAggregateAlert) GetThrottleTimeSeconds() int64

GetThrottleTimeSeconds returns GetAggregateAlertByIDSearchDomainAggregateAlert.ThrottleTimeSeconds, and is useful for accessing the field via an interface.

func (*GetAggregateAlertByIDSearchDomainAggregateAlert) GetTriggerMode

GetTriggerMode returns GetAggregateAlertByIDSearchDomainAggregateAlert.TriggerMode, and is useful for accessing the field via an interface.

func (*GetAggregateAlertByIDSearchDomainAggregateAlert) MarshalJSON

func (*GetAggregateAlertByIDSearchDomainAggregateAlert) UnmarshalJSON

type GetAggregateAlertByIDSearchDomainRepository

type GetAggregateAlertByIDSearchDomainRepository struct {
	Typename *string `json:"__typename"`
	// Common interface for Repositories and Views.
	AggregateAlert GetAggregateAlertByIDSearchDomainAggregateAlert `json:"aggregateAlert"`
}

GetAggregateAlertByIDSearchDomainRepository includes the requested fields of the GraphQL type Repository. The GraphQL type's documentation follows.

A repository stores ingested data, configures parsers and data retention policies.

func (*GetAggregateAlertByIDSearchDomainRepository) GetAggregateAlert

GetAggregateAlert returns GetAggregateAlertByIDSearchDomainRepository.AggregateAlert, and is useful for accessing the field via an interface.

func (*GetAggregateAlertByIDSearchDomainRepository) GetTypename

GetTypename returns GetAggregateAlertByIDSearchDomainRepository.Typename, and is useful for accessing the field via an interface.

type GetAggregateAlertByIDSearchDomainView

type GetAggregateAlertByIDSearchDomainView struct {
	Typename *string `json:"__typename"`
	// Common interface for Repositories and Views.
	AggregateAlert GetAggregateAlertByIDSearchDomainAggregateAlert `json:"aggregateAlert"`
}

GetAggregateAlertByIDSearchDomainView includes the requested fields of the GraphQL type View. The GraphQL type's documentation follows.

Represents information about a view, pulling data from one or several repositories.

func (*GetAggregateAlertByIDSearchDomainView) GetAggregateAlert

GetAggregateAlert returns GetAggregateAlertByIDSearchDomainView.AggregateAlert, and is useful for accessing the field via an interface.

func (*GetAggregateAlertByIDSearchDomainView) GetTypename

GetTypename returns GetAggregateAlertByIDSearchDomainView.Typename, and is useful for accessing the field via an interface.

type GetClusterCluster

type GetClusterCluster struct {
	ClusterNode                         `json:"-"`
	ClusterInfoAgeSeconds               float64                                            `json:"clusterInfoAgeSeconds"`
	UnderReplicatedSegmentSize          float64                                            `json:"underReplicatedSegmentSize"`
	OverReplicatedSegmentSize           float64                                            `json:"overReplicatedSegmentSize"`
	MissingSegmentSize                  float64                                            `json:"missingSegmentSize"`
	ProperlyReplicatedSegmentSize       float64                                            `json:"properlyReplicatedSegmentSize"`
	TargetUnderReplicatedSegmentSize    float64                                            `json:"targetUnderReplicatedSegmentSize"`
	TargetOverReplicatedSegmentSize     float64                                            `json:"targetOverReplicatedSegmentSize"`
	TargetMissingSegmentSize            float64                                            `json:"targetMissingSegmentSize"`
	TargetProperlyReplicatedSegmentSize float64                                            `json:"targetProperlyReplicatedSegmentSize"`
	IngestPartitions                    []GetClusterClusterIngestPartitionsIngestPartition `json:"ingestPartitions"`
}

GetClusterCluster includes the requested fields of the GraphQL type Cluster. The GraphQL type's documentation follows.

Information about the LogScale cluster.

func (*GetClusterCluster) GetClusterInfoAgeSeconds

func (v *GetClusterCluster) GetClusterInfoAgeSeconds() float64

GetClusterInfoAgeSeconds returns GetClusterCluster.ClusterInfoAgeSeconds, and is useful for accessing the field via an interface.

func (*GetClusterCluster) GetIngestPartitions

GetIngestPartitions returns GetClusterCluster.IngestPartitions, and is useful for accessing the field via an interface.

func (*GetClusterCluster) GetMissingSegmentSize

func (v *GetClusterCluster) GetMissingSegmentSize() float64

GetMissingSegmentSize returns GetClusterCluster.MissingSegmentSize, and is useful for accessing the field via an interface.

func (*GetClusterCluster) GetNodes

GetNodes returns GetClusterCluster.Nodes, and is useful for accessing the field via an interface.

func (*GetClusterCluster) GetOverReplicatedSegmentSize

func (v *GetClusterCluster) GetOverReplicatedSegmentSize() float64

GetOverReplicatedSegmentSize returns GetClusterCluster.OverReplicatedSegmentSize, and is useful for accessing the field via an interface.

func (*GetClusterCluster) GetProperlyReplicatedSegmentSize

func (v *GetClusterCluster) GetProperlyReplicatedSegmentSize() float64

GetProperlyReplicatedSegmentSize returns GetClusterCluster.ProperlyReplicatedSegmentSize, and is useful for accessing the field via an interface.

func (*GetClusterCluster) GetTargetMissingSegmentSize

func (v *GetClusterCluster) GetTargetMissingSegmentSize() float64

GetTargetMissingSegmentSize returns GetClusterCluster.TargetMissingSegmentSize, and is useful for accessing the field via an interface.

func (*GetClusterCluster) GetTargetOverReplicatedSegmentSize

func (v *GetClusterCluster) GetTargetOverReplicatedSegmentSize() float64

GetTargetOverReplicatedSegmentSize returns GetClusterCluster.TargetOverReplicatedSegmentSize, and is useful for accessing the field via an interface.

func (*GetClusterCluster) GetTargetProperlyReplicatedSegmentSize

func (v *GetClusterCluster) GetTargetProperlyReplicatedSegmentSize() float64

GetTargetProperlyReplicatedSegmentSize returns GetClusterCluster.TargetProperlyReplicatedSegmentSize, and is useful for accessing the field via an interface.

func (*GetClusterCluster) GetTargetUnderReplicatedSegmentSize

func (v *GetClusterCluster) GetTargetUnderReplicatedSegmentSize() float64

GetTargetUnderReplicatedSegmentSize returns GetClusterCluster.TargetUnderReplicatedSegmentSize, and is useful for accessing the field via an interface.

func (*GetClusterCluster) GetUnderReplicatedSegmentSize

func (v *GetClusterCluster) GetUnderReplicatedSegmentSize() float64

GetUnderReplicatedSegmentSize returns GetClusterCluster.UnderReplicatedSegmentSize, and is useful for accessing the field via an interface.

func (*GetClusterCluster) MarshalJSON

func (v *GetClusterCluster) MarshalJSON() ([]byte, error)

func (*GetClusterCluster) UnmarshalJSON

func (v *GetClusterCluster) UnmarshalJSON(b []byte) error

type GetClusterClusterIngestPartitionsIngestPartition

type GetClusterClusterIngestPartitionsIngestPartition struct {
	Id int `json:"id"`
	// The ids of the node responsible executing real-time queries for the partition and writing events to time series. The list is ordered so that the first node is the primary node and the rest are followers ready to take over if the primary fails.
	NodeIds []int `json:"nodeIds"`
}

GetClusterClusterIngestPartitionsIngestPartition includes the requested fields of the GraphQL type IngestPartition. The GraphQL type's documentation follows.

A cluster ingest partition. It assigns cluster nodes with the responsibility of ingesting data.

func (*GetClusterClusterIngestPartitionsIngestPartition) GetId

GetId returns GetClusterClusterIngestPartitionsIngestPartition.Id, and is useful for accessing the field via an interface.

func (*GetClusterClusterIngestPartitionsIngestPartition) GetNodeIds

GetNodeIds returns GetClusterClusterIngestPartitionsIngestPartition.NodeIds, and is useful for accessing the field via an interface.

type GetClusterResponse

type GetClusterResponse struct {
	// This is used to retrieve information about a cluster.
	Cluster GetClusterCluster `json:"cluster"`
}

GetClusterResponse is returned by GetCluster on success.

func GetCluster

func GetCluster(
	ctx_ context.Context,
	client_ graphql.Client,
) (*GetClusterResponse, error)

func (*GetClusterResponse) GetCluster

func (v *GetClusterResponse) GetCluster() GetClusterCluster

GetCluster returns GetClusterResponse.Cluster, and is useful for accessing the field via an interface.

type GetFilterAlertByIDResponse

type GetFilterAlertByIDResponse struct {
	SearchDomain GetFilterAlertByIDSearchDomain `json:"-"`
}

GetFilterAlertByIDResponse is returned by GetFilterAlertByID on success.

func GetFilterAlertByID

func GetFilterAlertByID(
	ctx_ context.Context,
	client_ graphql.Client,
	SearchDomainName string,
	FilterAlertID string,
) (*GetFilterAlertByIDResponse, error)

func (*GetFilterAlertByIDResponse) GetSearchDomain

GetSearchDomain returns GetFilterAlertByIDResponse.SearchDomain, and is useful for accessing the field via an interface.

func (*GetFilterAlertByIDResponse) MarshalJSON

func (v *GetFilterAlertByIDResponse) MarshalJSON() ([]byte, error)

func (*GetFilterAlertByIDResponse) UnmarshalJSON

func (v *GetFilterAlertByIDResponse) UnmarshalJSON(b []byte) error

type GetFilterAlertByIDSearchDomain

type GetFilterAlertByIDSearchDomain interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// GetFilterAlert returns the interface-field "filterAlert" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// Common interface for Repositories and Views.
	GetFilterAlert() GetFilterAlertByIDSearchDomainFilterAlert
	// contains filtered or unexported methods
}

GetFilterAlertByIDSearchDomain includes the requested fields of the GraphQL interface SearchDomain.

GetFilterAlertByIDSearchDomain is implemented by the following types: GetFilterAlertByIDSearchDomainRepository GetFilterAlertByIDSearchDomainView The GraphQL type's documentation follows.

Common interface for Repositories and Views.

type GetFilterAlertByIDSearchDomainFilterAlert

type GetFilterAlertByIDSearchDomainFilterAlert struct {
	FilterAlertDetails `json:"-"`
}

GetFilterAlertByIDSearchDomainFilterAlert includes the requested fields of the GraphQL type FilterAlert. The GraphQL type's documentation follows.

A filter alert.

func (*GetFilterAlertByIDSearchDomainFilterAlert) GetActions

GetActions returns GetFilterAlertByIDSearchDomainFilterAlert.Actions, and is useful for accessing the field via an interface.

func (*GetFilterAlertByIDSearchDomainFilterAlert) GetDescription

GetDescription returns GetFilterAlertByIDSearchDomainFilterAlert.Description, and is useful for accessing the field via an interface.

func (*GetFilterAlertByIDSearchDomainFilterAlert) GetEnabled

GetEnabled returns GetFilterAlertByIDSearchDomainFilterAlert.Enabled, and is useful for accessing the field via an interface.

func (*GetFilterAlertByIDSearchDomainFilterAlert) GetId

GetId returns GetFilterAlertByIDSearchDomainFilterAlert.Id, and is useful for accessing the field via an interface.

func (*GetFilterAlertByIDSearchDomainFilterAlert) GetLabels

GetLabels returns GetFilterAlertByIDSearchDomainFilterAlert.Labels, and is useful for accessing the field via an interface.

func (*GetFilterAlertByIDSearchDomainFilterAlert) GetName

GetName returns GetFilterAlertByIDSearchDomainFilterAlert.Name, and is useful for accessing the field via an interface.

func (*GetFilterAlertByIDSearchDomainFilterAlert) GetQueryOwnership

GetQueryOwnership returns GetFilterAlertByIDSearchDomainFilterAlert.QueryOwnership, and is useful for accessing the field via an interface.

func (*GetFilterAlertByIDSearchDomainFilterAlert) GetQueryString

GetQueryString returns GetFilterAlertByIDSearchDomainFilterAlert.QueryString, and is useful for accessing the field via an interface.

func (*GetFilterAlertByIDSearchDomainFilterAlert) GetThrottleField

func (v *GetFilterAlertByIDSearchDomainFilterAlert) GetThrottleField() *string

GetThrottleField returns GetFilterAlertByIDSearchDomainFilterAlert.ThrottleField, and is useful for accessing the field via an interface.

func (*GetFilterAlertByIDSearchDomainFilterAlert) GetThrottleTimeSeconds

func (v *GetFilterAlertByIDSearchDomainFilterAlert) GetThrottleTimeSeconds() *int64

GetThrottleTimeSeconds returns GetFilterAlertByIDSearchDomainFilterAlert.ThrottleTimeSeconds, and is useful for accessing the field via an interface.

func (*GetFilterAlertByIDSearchDomainFilterAlert) MarshalJSON

func (*GetFilterAlertByIDSearchDomainFilterAlert) UnmarshalJSON

type GetFilterAlertByIDSearchDomainRepository

type GetFilterAlertByIDSearchDomainRepository struct {
	Typename *string `json:"__typename"`
	// Common interface for Repositories and Views.
	FilterAlert GetFilterAlertByIDSearchDomainFilterAlert `json:"filterAlert"`
}

GetFilterAlertByIDSearchDomainRepository includes the requested fields of the GraphQL type Repository. The GraphQL type's documentation follows.

A repository stores ingested data, configures parsers and data retention policies.

func (*GetFilterAlertByIDSearchDomainRepository) GetFilterAlert

GetFilterAlert returns GetFilterAlertByIDSearchDomainRepository.FilterAlert, and is useful for accessing the field via an interface.

func (*GetFilterAlertByIDSearchDomainRepository) GetTypename

GetTypename returns GetFilterAlertByIDSearchDomainRepository.Typename, and is useful for accessing the field via an interface.

type GetFilterAlertByIDSearchDomainView

type GetFilterAlertByIDSearchDomainView struct {
	Typename *string `json:"__typename"`
	// Common interface for Repositories and Views.
	FilterAlert GetFilterAlertByIDSearchDomainFilterAlert `json:"filterAlert"`
}

GetFilterAlertByIDSearchDomainView includes the requested fields of the GraphQL type View. The GraphQL type's documentation follows.

Represents information about a view, pulling data from one or several repositories.

func (*GetFilterAlertByIDSearchDomainView) GetFilterAlert

GetFilterAlert returns GetFilterAlertByIDSearchDomainView.FilterAlert, and is useful for accessing the field via an interface.

func (*GetFilterAlertByIDSearchDomainView) GetTypename

func (v *GetFilterAlertByIDSearchDomainView) GetTypename() *string

GetTypename returns GetFilterAlertByIDSearchDomainView.Typename, and is useful for accessing the field via an interface.

type GetLicenseInstalledLicense

type GetLicenseInstalledLicense interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// GetExpiresAt returns the interface-field "expiresAt" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// Represents information about the LogScale instance.
	GetExpiresAt() time.Time
	// GetIssuedAt returns the interface-field "issuedAt" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// Represents information about the LogScale instance.
	GetIssuedAt() time.Time
	// contains filtered or unexported methods
}

GetLicenseInstalledLicense includes the requested fields of the GraphQL interface License.

GetLicenseInstalledLicense is implemented by the following types: GetLicenseInstalledLicenseOnPremLicense GetLicenseInstalledLicenseTrialLicense The GraphQL type's documentation follows.

Represents information about the LogScale instance.

type GetLicenseInstalledLicenseOnPremLicense

type GetLicenseInstalledLicenseOnPremLicense struct {
	Typename *string `json:"__typename"`
	// Represents information about the LogScale instance.
	ExpiresAt time.Time `json:"expiresAt"`
	// Represents information about the LogScale instance.
	IssuedAt time.Time `json:"issuedAt"`
	// license id.
	Uid string `json:"uid"`
	// The name of the entity the license was issued to.
	Owner string `json:"owner"`
	// The maximum number of user accounts allowed in LogScale. Unlimited if undefined.
	MaxUsers *int `json:"maxUsers"`
}

GetLicenseInstalledLicenseOnPremLicense includes the requested fields of the GraphQL type OnPremLicense. The GraphQL type's documentation follows.

Represents information about a LogScale License.

func (*GetLicenseInstalledLicenseOnPremLicense) GetExpiresAt

GetExpiresAt returns GetLicenseInstalledLicenseOnPremLicense.ExpiresAt, and is useful for accessing the field via an interface.

func (*GetLicenseInstalledLicenseOnPremLicense) GetIssuedAt

GetIssuedAt returns GetLicenseInstalledLicenseOnPremLicense.IssuedAt, and is useful for accessing the field via an interface.

func (*GetLicenseInstalledLicenseOnPremLicense) GetMaxUsers

func (v *GetLicenseInstalledLicenseOnPremLicense) GetMaxUsers() *int

GetMaxUsers returns GetLicenseInstalledLicenseOnPremLicense.MaxUsers, and is useful for accessing the field via an interface.

func (*GetLicenseInstalledLicenseOnPremLicense) GetOwner

GetOwner returns GetLicenseInstalledLicenseOnPremLicense.Owner, and is useful for accessing the field via an interface.

func (*GetLicenseInstalledLicenseOnPremLicense) GetTypename

GetTypename returns GetLicenseInstalledLicenseOnPremLicense.Typename, and is useful for accessing the field via an interface.

func (*GetLicenseInstalledLicenseOnPremLicense) GetUid

GetUid returns GetLicenseInstalledLicenseOnPremLicense.Uid, and is useful for accessing the field via an interface.

type GetLicenseInstalledLicenseTrialLicense

type GetLicenseInstalledLicenseTrialLicense struct {
	Typename *string `json:"__typename"`
	// Represents information about the LogScale instance.
	ExpiresAt time.Time `json:"expiresAt"`
	// Represents information about the LogScale instance.
	IssuedAt time.Time `json:"issuedAt"`
}

GetLicenseInstalledLicenseTrialLicense includes the requested fields of the GraphQL type TrialLicense. The GraphQL type's documentation follows.

Represents information about an on-going trial of LogScale.

func (*GetLicenseInstalledLicenseTrialLicense) GetExpiresAt

GetExpiresAt returns GetLicenseInstalledLicenseTrialLicense.ExpiresAt, and is useful for accessing the field via an interface.

func (*GetLicenseInstalledLicenseTrialLicense) GetIssuedAt

GetIssuedAt returns GetLicenseInstalledLicenseTrialLicense.IssuedAt, and is useful for accessing the field via an interface.

func (*GetLicenseInstalledLicenseTrialLicense) GetTypename

GetTypename returns GetLicenseInstalledLicenseTrialLicense.Typename, and is useful for accessing the field via an interface.

type GetLicenseResponse

type GetLicenseResponse struct {
	// This returns information about the license for the LogScale instance, if any license installed.
	InstalledLicense *GetLicenseInstalledLicense `json:"-"`
}

GetLicenseResponse is returned by GetLicense on success.

func GetLicense

func GetLicense(
	ctx_ context.Context,
	client_ graphql.Client,
) (*GetLicenseResponse, error)

func (*GetLicenseResponse) GetInstalledLicense

func (v *GetLicenseResponse) GetInstalledLicense() *GetLicenseInstalledLicense

GetInstalledLicense returns GetLicenseResponse.InstalledLicense, and is useful for accessing the field via an interface.

func (*GetLicenseResponse) MarshalJSON

func (v *GetLicenseResponse) MarshalJSON() ([]byte, error)

func (*GetLicenseResponse) UnmarshalJSON

func (v *GetLicenseResponse) UnmarshalJSON(b []byte) error

type GetParserByIDRepository

type GetParserByIDRepository struct {
	// A parser on the repository.
	Parser *GetParserByIDRepositoryParser `json:"parser"`
}

GetParserByIDRepository includes the requested fields of the GraphQL type Repository. The GraphQL type's documentation follows.

A repository stores ingested data, configures parsers and data retention policies.

func (*GetParserByIDRepository) GetParser

GetParser returns GetParserByIDRepository.Parser, and is useful for accessing the field via an interface.

type GetParserByIDRepositoryParser

type GetParserByIDRepositoryParser struct {
	ParserDetails `json:"-"`
}

GetParserByIDRepositoryParser includes the requested fields of the GraphQL type Parser. The GraphQL type's documentation follows.

A configured parser for incoming data.

func (*GetParserByIDRepositoryParser) GetDescription

func (v *GetParserByIDRepositoryParser) GetDescription() *string

GetDescription returns GetParserByIDRepositoryParser.Description, and is useful for accessing the field via an interface.

func (*GetParserByIDRepositoryParser) GetDisplayName

func (v *GetParserByIDRepositoryParser) GetDisplayName() string

GetDisplayName returns GetParserByIDRepositoryParser.DisplayName, and is useful for accessing the field via an interface.

func (*GetParserByIDRepositoryParser) GetFieldsToBeRemovedBeforeParsing

func (v *GetParserByIDRepositoryParser) GetFieldsToBeRemovedBeforeParsing() []string

GetFieldsToBeRemovedBeforeParsing returns GetParserByIDRepositoryParser.FieldsToBeRemovedBeforeParsing, and is useful for accessing the field via an interface.

func (*GetParserByIDRepositoryParser) GetFieldsToTag

func (v *GetParserByIDRepositoryParser) GetFieldsToTag() []string

GetFieldsToTag returns GetParserByIDRepositoryParser.FieldsToTag, and is useful for accessing the field via an interface.

func (*GetParserByIDRepositoryParser) GetId

GetId returns GetParserByIDRepositoryParser.Id, and is useful for accessing the field via an interface.

func (*GetParserByIDRepositoryParser) GetIsBuiltIn

func (v *GetParserByIDRepositoryParser) GetIsBuiltIn() bool

GetIsBuiltIn returns GetParserByIDRepositoryParser.IsBuiltIn, and is useful for accessing the field via an interface.

func (*GetParserByIDRepositoryParser) GetName

GetName returns GetParserByIDRepositoryParser.Name, and is useful for accessing the field via an interface.

func (*GetParserByIDRepositoryParser) GetScript

func (v *GetParserByIDRepositoryParser) GetScript() string

GetScript returns GetParserByIDRepositoryParser.Script, and is useful for accessing the field via an interface.

func (*GetParserByIDRepositoryParser) GetTestCases

GetTestCases returns GetParserByIDRepositoryParser.TestCases, and is useful for accessing the field via an interface.

func (*GetParserByIDRepositoryParser) MarshalJSON

func (v *GetParserByIDRepositoryParser) MarshalJSON() ([]byte, error)

func (*GetParserByIDRepositoryParser) UnmarshalJSON

func (v *GetParserByIDRepositoryParser) UnmarshalJSON(b []byte) error

type GetParserByIDResponse

type GetParserByIDResponse struct {
	// Lookup a given repository by name.
	Repository GetParserByIDRepository `json:"repository"`
}

GetParserByIDResponse is returned by GetParserByID on success.

func GetParserByID

func GetParserByID(
	ctx_ context.Context,
	client_ graphql.Client,
	RepositoryName string,
	ParserID string,
) (*GetParserByIDResponse, error)

func (*GetParserByIDResponse) GetRepository

GetRepository returns GetParserByIDResponse.Repository, and is useful for accessing the field via an interface.

type GetParserYAMLByNameRepository

type GetParserYAMLByNameRepository struct {
	// A parser on the repository.
	Parser *GetParserYAMLByNameRepositoryParser `json:"parser"`
}

GetParserYAMLByNameRepository includes the requested fields of the GraphQL type Repository. The GraphQL type's documentation follows.

A repository stores ingested data, configures parsers and data retention policies.

func (*GetParserYAMLByNameRepository) GetParser

GetParser returns GetParserYAMLByNameRepository.Parser, and is useful for accessing the field via an interface.

type GetParserYAMLByNameRepositoryParser

type GetParserYAMLByNameRepositoryParser struct {
	// Name of the parser.
	Name string `json:"name"`
	// A template that can be used to recreate the parser.
	YamlTemplate string `json:"yamlTemplate"`
}

GetParserYAMLByNameRepositoryParser includes the requested fields of the GraphQL type Parser. The GraphQL type's documentation follows.

A configured parser for incoming data.

func (*GetParserYAMLByNameRepositoryParser) GetName

GetName returns GetParserYAMLByNameRepositoryParser.Name, and is useful for accessing the field via an interface.

func (*GetParserYAMLByNameRepositoryParser) GetYamlTemplate

func (v *GetParserYAMLByNameRepositoryParser) GetYamlTemplate() string

GetYamlTemplate returns GetParserYAMLByNameRepositoryParser.YamlTemplate, and is useful for accessing the field via an interface.

type GetParserYAMLByNameResponse

type GetParserYAMLByNameResponse struct {
	// Lookup a given repository by name.
	Repository GetParserYAMLByNameRepository `json:"repository"`
}

GetParserYAMLByNameResponse is returned by GetParserYAMLByName on success.

func GetParserYAMLByName

func GetParserYAMLByName(
	ctx_ context.Context,
	client_ graphql.Client,
	RepositoryName string,
	ParserName string,
) (*GetParserYAMLByNameResponse, error)

func (*GetParserYAMLByNameResponse) GetRepository

GetRepository returns GetParserYAMLByNameResponse.Repository, and is useful for accessing the field via an interface.

type GetRepositoryRepository

type GetRepositoryRepository struct {
	RepositoryDetails `json:"-"`
}

GetRepositoryRepository includes the requested fields of the GraphQL type Repository. The GraphQL type's documentation follows.

A repository stores ingested data, configures parsers and data retention policies.

func (*GetRepositoryRepository) GetAutomaticSearch

func (v *GetRepositoryRepository) GetAutomaticSearch() bool

GetAutomaticSearch returns GetRepositoryRepository.AutomaticSearch, and is useful for accessing the field via an interface.

func (*GetRepositoryRepository) GetCompressedByteSize

func (v *GetRepositoryRepository) GetCompressedByteSize() int64

GetCompressedByteSize returns GetRepositoryRepository.CompressedByteSize, and is useful for accessing the field via an interface.

func (*GetRepositoryRepository) GetDescription

func (v *GetRepositoryRepository) GetDescription() *string

GetDescription returns GetRepositoryRepository.Description, and is useful for accessing the field via an interface.

func (*GetRepositoryRepository) GetId

func (v *GetRepositoryRepository) GetId() string

GetId returns GetRepositoryRepository.Id, and is useful for accessing the field via an interface.

func (*GetRepositoryRepository) GetIngestSizeBasedRetention

func (v *GetRepositoryRepository) GetIngestSizeBasedRetention() *float64

GetIngestSizeBasedRetention returns GetRepositoryRepository.IngestSizeBasedRetention, and is useful for accessing the field via an interface.

func (*GetRepositoryRepository) GetName

func (v *GetRepositoryRepository) GetName() string

GetName returns GetRepositoryRepository.Name, and is useful for accessing the field via an interface.

func (*GetRepositoryRepository) GetS3ArchivingConfiguration

GetS3ArchivingConfiguration returns GetRepositoryRepository.S3ArchivingConfiguration, and is useful for accessing the field via an interface.

func (*GetRepositoryRepository) GetStorageSizeBasedRetention

func (v *GetRepositoryRepository) GetStorageSizeBasedRetention() *float64

GetStorageSizeBasedRetention returns GetRepositoryRepository.StorageSizeBasedRetention, and is useful for accessing the field via an interface.

func (*GetRepositoryRepository) GetTimeBasedRetention

func (v *GetRepositoryRepository) GetTimeBasedRetention() *float64

GetTimeBasedRetention returns GetRepositoryRepository.TimeBasedRetention, and is useful for accessing the field via an interface.

func (*GetRepositoryRepository) MarshalJSON

func (v *GetRepositoryRepository) MarshalJSON() ([]byte, error)

func (*GetRepositoryRepository) UnmarshalJSON

func (v *GetRepositoryRepository) UnmarshalJSON(b []byte) error

type GetRepositoryResponse

type GetRepositoryResponse struct {
	// Lookup a given repository by name.
	Repository GetRepositoryRepository `json:"repository"`
}

GetRepositoryResponse is returned by GetRepository on success.

func GetRepository

func GetRepository(
	ctx_ context.Context,
	client_ graphql.Client,
	RepositoryName string,
) (*GetRepositoryResponse, error)

func (*GetRepositoryResponse) GetRepository

GetRepository returns GetRepositoryResponse.Repository, and is useful for accessing the field via an interface.

type GetRoleByIDResponse

type GetRoleByIDResponse struct {
	// A given role.
	Role GetRoleByIDRole `json:"role"`
}

GetRoleByIDResponse is returned by GetRoleByID on success.

func GetRoleByID

func GetRoleByID(
	ctx_ context.Context,
	client_ graphql.Client,
	RoleID string,
) (*GetRoleByIDResponse, error)

func (*GetRoleByIDResponse) GetRole

func (v *GetRoleByIDResponse) GetRole() GetRoleByIDRole

GetRole returns GetRoleByIDResponse.Role, and is useful for accessing the field via an interface.

type GetRoleByIDRole

type GetRoleByIDRole struct {
	RoleDetails `json:"-"`
}

GetRoleByIDRole includes the requested fields of the GraphQL type Role.

func (*GetRoleByIDRole) GetDisplayName

func (v *GetRoleByIDRole) GetDisplayName() string

GetDisplayName returns GetRoleByIDRole.DisplayName, and is useful for accessing the field via an interface.

func (*GetRoleByIDRole) GetId

func (v *GetRoleByIDRole) GetId() string

GetId returns GetRoleByIDRole.Id, and is useful for accessing the field via an interface.

func (*GetRoleByIDRole) GetOrganizationPermissions

func (v *GetRoleByIDRole) GetOrganizationPermissions() []OrganizationPermission

GetOrganizationPermissions returns GetRoleByIDRole.OrganizationPermissions, and is useful for accessing the field via an interface.

func (*GetRoleByIDRole) GetSystemPermissions

func (v *GetRoleByIDRole) GetSystemPermissions() []SystemPermission

GetSystemPermissions returns GetRoleByIDRole.SystemPermissions, and is useful for accessing the field via an interface.

func (*GetRoleByIDRole) GetViewPermissions

func (v *GetRoleByIDRole) GetViewPermissions() []Permission

GetViewPermissions returns GetRoleByIDRole.ViewPermissions, and is useful for accessing the field via an interface.

func (*GetRoleByIDRole) MarshalJSON

func (v *GetRoleByIDRole) MarshalJSON() ([]byte, error)

func (*GetRoleByIDRole) UnmarshalJSON

func (v *GetRoleByIDRole) UnmarshalJSON(b []byte) error

type GetSearchDomainResponse

type GetSearchDomainResponse struct {
	SearchDomain GetSearchDomainSearchDomain `json:"-"`
}

GetSearchDomainResponse is returned by GetSearchDomain on success.

func GetSearchDomain

func GetSearchDomain(
	ctx_ context.Context,
	client_ graphql.Client,
	SearchDomainName string,
) (*GetSearchDomainResponse, error)

func (*GetSearchDomainResponse) GetSearchDomain

GetSearchDomain returns GetSearchDomainResponse.SearchDomain, and is useful for accessing the field via an interface.

func (*GetSearchDomainResponse) MarshalJSON

func (v *GetSearchDomainResponse) MarshalJSON() ([]byte, error)

func (*GetSearchDomainResponse) UnmarshalJSON

func (v *GetSearchDomainResponse) UnmarshalJSON(b []byte) error

type GetSearchDomainSearchDomain

type GetSearchDomainSearchDomain interface {

	// GetId returns the interface-field "id" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// Common interface for Repositories and Views.
	GetId() string
	// GetName returns the interface-field "name" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// Common interface for Repositories and Views.
	GetName() string
	// GetDescription returns the interface-field "description" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// Common interface for Repositories and Views.
	GetDescription() *string
	// GetAutomaticSearch returns the interface-field "automaticSearch" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// Common interface for Repositories and Views.
	GetAutomaticSearch() bool
	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// contains filtered or unexported methods
}

GetSearchDomainSearchDomain includes the requested fields of the GraphQL interface SearchDomain.

GetSearchDomainSearchDomain is implemented by the following types: GetSearchDomainSearchDomainRepository GetSearchDomainSearchDomainView The GraphQL type's documentation follows.

Common interface for Repositories and Views.

type GetSearchDomainSearchDomainRepository

type GetSearchDomainSearchDomainRepository struct {
	// Common interface for Repositories and Views.
	Id string `json:"id"`
	// Common interface for Repositories and Views.
	Name string `json:"name"`
	// Common interface for Repositories and Views.
	Description *string `json:"description"`
	// Common interface for Repositories and Views.
	AutomaticSearch bool    `json:"automaticSearch"`
	Typename        *string `json:"__typename"`
}

GetSearchDomainSearchDomainRepository includes the requested fields of the GraphQL type Repository. The GraphQL type's documentation follows.

A repository stores ingested data, configures parsers and data retention policies.

func (*GetSearchDomainSearchDomainRepository) GetAutomaticSearch

func (v *GetSearchDomainSearchDomainRepository) GetAutomaticSearch() bool

GetAutomaticSearch returns GetSearchDomainSearchDomainRepository.AutomaticSearch, and is useful for accessing the field via an interface.

func (*GetSearchDomainSearchDomainRepository) GetDescription

func (v *GetSearchDomainSearchDomainRepository) GetDescription() *string

GetDescription returns GetSearchDomainSearchDomainRepository.Description, and is useful for accessing the field via an interface.

func (*GetSearchDomainSearchDomainRepository) GetId

GetId returns GetSearchDomainSearchDomainRepository.Id, and is useful for accessing the field via an interface.

func (*GetSearchDomainSearchDomainRepository) GetName

GetName returns GetSearchDomainSearchDomainRepository.Name, and is useful for accessing the field via an interface.

func (*GetSearchDomainSearchDomainRepository) GetTypename

GetTypename returns GetSearchDomainSearchDomainRepository.Typename, and is useful for accessing the field via an interface.

type GetSearchDomainSearchDomainView

type GetSearchDomainSearchDomainView struct {
	// Common interface for Repositories and Views.
	Id string `json:"id"`
	// Common interface for Repositories and Views.
	Name string `json:"name"`
	// Common interface for Repositories and Views.
	Description *string `json:"description"`
	// Common interface for Repositories and Views.
	AutomaticSearch bool                                                       `json:"automaticSearch"`
	Connections     []GetSearchDomainSearchDomainViewConnectionsViewConnection `json:"connections"`
	Typename        *string                                                    `json:"__typename"`
}

GetSearchDomainSearchDomainView includes the requested fields of the GraphQL type View. The GraphQL type's documentation follows.

Represents information about a view, pulling data from one or several repositories.

func (*GetSearchDomainSearchDomainView) GetAutomaticSearch

func (v *GetSearchDomainSearchDomainView) GetAutomaticSearch() bool

GetAutomaticSearch returns GetSearchDomainSearchDomainView.AutomaticSearch, and is useful for accessing the field via an interface.

func (*GetSearchDomainSearchDomainView) GetConnections

GetConnections returns GetSearchDomainSearchDomainView.Connections, and is useful for accessing the field via an interface.

func (*GetSearchDomainSearchDomainView) GetDescription

func (v *GetSearchDomainSearchDomainView) GetDescription() *string

GetDescription returns GetSearchDomainSearchDomainView.Description, and is useful for accessing the field via an interface.

func (*GetSearchDomainSearchDomainView) GetId

GetId returns GetSearchDomainSearchDomainView.Id, and is useful for accessing the field via an interface.

func (*GetSearchDomainSearchDomainView) GetName

GetName returns GetSearchDomainSearchDomainView.Name, and is useful for accessing the field via an interface.

func (*GetSearchDomainSearchDomainView) GetTypename

func (v *GetSearchDomainSearchDomainView) GetTypename() *string

GetTypename returns GetSearchDomainSearchDomainView.Typename, and is useful for accessing the field via an interface.

type GetSearchDomainSearchDomainViewConnectionsViewConnection

type GetSearchDomainSearchDomainViewConnectionsViewConnection struct {
	// The underlying repository
	Repository GetSearchDomainSearchDomainViewConnectionsViewConnectionRepository `json:"repository"`
	// The filter applied to all results from the repository.
	Filter string `json:"filter"`
}

GetSearchDomainSearchDomainViewConnectionsViewConnection includes the requested fields of the GraphQL type ViewConnection. The GraphQL type's documentation follows.

Represents the connection between a view and an underlying repository.

func (*GetSearchDomainSearchDomainViewConnectionsViewConnection) GetFilter

GetFilter returns GetSearchDomainSearchDomainViewConnectionsViewConnection.Filter, and is useful for accessing the field via an interface.

func (*GetSearchDomainSearchDomainViewConnectionsViewConnection) GetRepository

GetRepository returns GetSearchDomainSearchDomainViewConnectionsViewConnection.Repository, and is useful for accessing the field via an interface.

type GetSearchDomainSearchDomainViewConnectionsViewConnectionRepository

type GetSearchDomainSearchDomainViewConnectionsViewConnectionRepository struct {
	Name string `json:"name"`
}

GetSearchDomainSearchDomainViewConnectionsViewConnectionRepository includes the requested fields of the GraphQL type Repository. The GraphQL type's documentation follows.

A repository stores ingested data, configures parsers and data retention policies.

func (*GetSearchDomainSearchDomainViewConnectionsViewConnectionRepository) GetName

GetName returns GetSearchDomainSearchDomainViewConnectionsViewConnectionRepository.Name, and is useful for accessing the field via an interface.

type GetSupportedFeatureFlagsFeatureFlagsFeatureFlagV2

type GetSupportedFeatureFlagsFeatureFlagsFeatureFlagV2 struct {
	Flag         FeatureFlag `json:"flag"`
	Experimental bool        `json:"experimental"`
	Description  string      `json:"description"`
}

GetSupportedFeatureFlagsFeatureFlagsFeatureFlagV2 includes the requested fields of the GraphQL type FeatureFlagV2. The GraphQL type's documentation follows.

Feature flags with details

func (*GetSupportedFeatureFlagsFeatureFlagsFeatureFlagV2) GetDescription

GetDescription returns GetSupportedFeatureFlagsFeatureFlagsFeatureFlagV2.Description, and is useful for accessing the field via an interface.

func (*GetSupportedFeatureFlagsFeatureFlagsFeatureFlagV2) GetExperimental

GetExperimental returns GetSupportedFeatureFlagsFeatureFlagsFeatureFlagV2.Experimental, and is useful for accessing the field via an interface.

func (*GetSupportedFeatureFlagsFeatureFlagsFeatureFlagV2) GetFlag

GetFlag returns GetSupportedFeatureFlagsFeatureFlagsFeatureFlagV2.Flag, and is useful for accessing the field via an interface.

type GetSupportedFeatureFlagsResponse

type GetSupportedFeatureFlagsResponse struct {
	// [PREVIEW: All flags should be considered as beta features. Enabling features that are marked as experimental is strongly discouraged and can lead to LogScale ending up in a bad state beyond repair.] List feature flags depending on filters and context
	FeatureFlags []GetSupportedFeatureFlagsFeatureFlagsFeatureFlagV2 `json:"featureFlags"`
}

GetSupportedFeatureFlagsResponse is returned by GetSupportedFeatureFlags on success.

func GetSupportedFeatureFlags

func GetSupportedFeatureFlags(
	ctx_ context.Context,
	client_ graphql.Client,
) (*GetSupportedFeatureFlagsResponse, error)

func (*GetSupportedFeatureFlagsResponse) GetFeatureFlags

GetFeatureFlags returns GetSupportedFeatureFlagsResponse.FeatureFlags, and is useful for accessing the field via an interface.

type GetUsernameResponse

type GetUsernameResponse struct {
	// The currently authenticated user's account.
	Viewer GetUsernameViewerAccount `json:"viewer"`
}

GetUsernameResponse is returned by GetUsername on success.

func GetUsername

func GetUsername(
	ctx_ context.Context,
	client_ graphql.Client,
) (*GetUsernameResponse, error)

func (*GetUsernameResponse) GetViewer

GetViewer returns GetUsernameResponse.Viewer, and is useful for accessing the field via an interface.

type GetUsernameViewerAccount

type GetUsernameViewerAccount struct {
	Username string `json:"username"`
}

GetUsernameViewerAccount includes the requested fields of the GraphQL type Account. The GraphQL type's documentation follows.

A user account.

func (*GetUsernameViewerAccount) GetUsername

func (v *GetUsernameViewerAccount) GetUsername() string

GetUsername returns GetUsernameViewerAccount.Username, and is useful for accessing the field via an interface.

type GetUsersByUsernameResponse

type GetUsersByUsernameResponse struct {
	// Requires manage cluster permission; Returns all users in the system.
	Users []GetUsersByUsernameUsersUser `json:"users"`
}

GetUsersByUsernameResponse is returned by GetUsersByUsername on success.

func GetUsersByUsername

func GetUsersByUsername(
	ctx_ context.Context,
	client_ graphql.Client,
	Username string,
) (*GetUsersByUsernameResponse, error)

func (*GetUsersByUsernameResponse) GetUsers

GetUsers returns GetUsersByUsernameResponse.Users, and is useful for accessing the field via an interface.

type GetUsersByUsernameUsersUser

type GetUsersByUsernameUsersUser struct {
	UserDetails `json:"-"`
}

GetUsersByUsernameUsersUser includes the requested fields of the GraphQL type User. The GraphQL type's documentation follows.

A user profile.

func (*GetUsersByUsernameUsersUser) GetCompany

func (v *GetUsersByUsernameUsersUser) GetCompany() *string

GetCompany returns GetUsersByUsernameUsersUser.Company, and is useful for accessing the field via an interface.

func (*GetUsersByUsernameUsersUser) GetCountryCode

func (v *GetUsersByUsernameUsersUser) GetCountryCode() *string

GetCountryCode returns GetUsersByUsernameUsersUser.CountryCode, and is useful for accessing the field via an interface.

func (*GetUsersByUsernameUsersUser) GetCreatedAt

func (v *GetUsersByUsernameUsersUser) GetCreatedAt() time.Time

GetCreatedAt returns GetUsersByUsernameUsersUser.CreatedAt, and is useful for accessing the field via an interface.

func (*GetUsersByUsernameUsersUser) GetEmail

func (v *GetUsersByUsernameUsersUser) GetEmail() *string

GetEmail returns GetUsersByUsernameUsersUser.Email, and is useful for accessing the field via an interface.

func (*GetUsersByUsernameUsersUser) GetFullName

func (v *GetUsersByUsernameUsersUser) GetFullName() *string

GetFullName returns GetUsersByUsernameUsersUser.FullName, and is useful for accessing the field via an interface.

func (*GetUsersByUsernameUsersUser) GetId

GetId returns GetUsersByUsernameUsersUser.Id, and is useful for accessing the field via an interface.

func (*GetUsersByUsernameUsersUser) GetIsRoot

func (v *GetUsersByUsernameUsersUser) GetIsRoot() bool

GetIsRoot returns GetUsersByUsernameUsersUser.IsRoot, and is useful for accessing the field via an interface.

func (*GetUsersByUsernameUsersUser) GetPicture

func (v *GetUsersByUsernameUsersUser) GetPicture() *string

GetPicture returns GetUsersByUsernameUsersUser.Picture, and is useful for accessing the field via an interface.

func (*GetUsersByUsernameUsersUser) GetUsername

func (v *GetUsersByUsernameUsersUser) GetUsername() string

GetUsername returns GetUsersByUsernameUsersUser.Username, and is useful for accessing the field via an interface.

func (*GetUsersByUsernameUsersUser) MarshalJSON

func (v *GetUsersByUsernameUsersUser) MarshalJSON() ([]byte, error)

func (*GetUsersByUsernameUsersUser) UnmarshalJSON

func (v *GetUsersByUsernameUsersUser) UnmarshalJSON(b []byte) error

type HttpHeaderEntryInput

type HttpHeaderEntryInput struct {
	// Http(s) Header entry.
	Header string `json:"header"`
	// Http(s) Header entry.
	Value string `json:"value"`
}

Http(s) Header entry.

func (*HttpHeaderEntryInput) GetHeader

func (v *HttpHeaderEntryInput) GetHeader() string

GetHeader returns HttpHeaderEntryInput.Header, and is useful for accessing the field via an interface.

func (*HttpHeaderEntryInput) GetValue

func (v *HttpHeaderEntryInput) GetValue() string

GetValue returns HttpHeaderEntryInput.Value, and is useful for accessing the field via an interface.

type IngestTokenDetails

type IngestTokenDetails struct {
	Name   string                    `json:"name"`
	Token  string                    `json:"token"`
	Parser *IngestTokenDetailsParser `json:"parser"`
}

IngestTokenDetails includes the GraphQL fields of IngestToken requested by the fragment IngestTokenDetails. The GraphQL type's documentation follows.

An API ingest token used for sending data to LogScale.

func (*IngestTokenDetails) GetName

func (v *IngestTokenDetails) GetName() string

GetName returns IngestTokenDetails.Name, and is useful for accessing the field via an interface.

func (*IngestTokenDetails) GetParser

GetParser returns IngestTokenDetails.Parser, and is useful for accessing the field via an interface.

func (*IngestTokenDetails) GetToken

func (v *IngestTokenDetails) GetToken() string

GetToken returns IngestTokenDetails.Token, and is useful for accessing the field via an interface.

type IngestTokenDetailsParser

type IngestTokenDetailsParser struct {
	// Name of the parser.
	Name string `json:"name"`
}

IngestTokenDetailsParser includes the requested fields of the GraphQL type Parser. The GraphQL type's documentation follows.

A configured parser for incoming data.

func (*IngestTokenDetailsParser) GetName

func (v *IngestTokenDetailsParser) GetName() string

GetName returns IngestTokenDetailsParser.Name, and is useful for accessing the field via an interface.

type LanguageVersionEnum

type LanguageVersionEnum string

The version of the LogScale query language to use.

const (
	LanguageVersionEnumLegacy      LanguageVersionEnum = "legacy"
	LanguageVersionEnumXdr1        LanguageVersionEnum = "xdr1"
	LanguageVersionEnumXdrdetects1 LanguageVersionEnum = "xdrdetects1"
	LanguageVersionEnumFilteralert LanguageVersionEnum = "filteralert"
	LanguageVersionEnumFederated1  LanguageVersionEnum = "federated1"
)

type LegacyCreateParserCreateParserCreateParserMutation

type LegacyCreateParserCreateParserCreateParserMutation struct {
	Parser LegacyCreateParserCreateParserCreateParserMutationParser `json:"parser"`
}

LegacyCreateParserCreateParserCreateParserMutation includes the requested fields of the GraphQL type CreateParserMutation.

func (*LegacyCreateParserCreateParserCreateParserMutation) GetParser

GetParser returns LegacyCreateParserCreateParserCreateParserMutation.Parser, and is useful for accessing the field via an interface.

type LegacyCreateParserCreateParserCreateParserMutationParser

type LegacyCreateParserCreateParserCreateParserMutationParser struct {
	ParserDetails `json:"-"`
}

LegacyCreateParserCreateParserCreateParserMutationParser includes the requested fields of the GraphQL type Parser. The GraphQL type's documentation follows.

A configured parser for incoming data.

func (*LegacyCreateParserCreateParserCreateParserMutationParser) GetDescription

GetDescription returns LegacyCreateParserCreateParserCreateParserMutationParser.Description, and is useful for accessing the field via an interface.

func (*LegacyCreateParserCreateParserCreateParserMutationParser) GetDisplayName

GetDisplayName returns LegacyCreateParserCreateParserCreateParserMutationParser.DisplayName, and is useful for accessing the field via an interface.

func (*LegacyCreateParserCreateParserCreateParserMutationParser) GetFieldsToBeRemovedBeforeParsing

func (v *LegacyCreateParserCreateParserCreateParserMutationParser) GetFieldsToBeRemovedBeforeParsing() []string

GetFieldsToBeRemovedBeforeParsing returns LegacyCreateParserCreateParserCreateParserMutationParser.FieldsToBeRemovedBeforeParsing, and is useful for accessing the field via an interface.

func (*LegacyCreateParserCreateParserCreateParserMutationParser) GetFieldsToTag

GetFieldsToTag returns LegacyCreateParserCreateParserCreateParserMutationParser.FieldsToTag, and is useful for accessing the field via an interface.

func (*LegacyCreateParserCreateParserCreateParserMutationParser) GetId

GetId returns LegacyCreateParserCreateParserCreateParserMutationParser.Id, and is useful for accessing the field via an interface.

func (*LegacyCreateParserCreateParserCreateParserMutationParser) GetIsBuiltIn

GetIsBuiltIn returns LegacyCreateParserCreateParserCreateParserMutationParser.IsBuiltIn, and is useful for accessing the field via an interface.

func (*LegacyCreateParserCreateParserCreateParserMutationParser) GetName

GetName returns LegacyCreateParserCreateParserCreateParserMutationParser.Name, and is useful for accessing the field via an interface.

func (*LegacyCreateParserCreateParserCreateParserMutationParser) GetScript

GetScript returns LegacyCreateParserCreateParserCreateParserMutationParser.Script, and is useful for accessing the field via an interface.

func (*LegacyCreateParserCreateParserCreateParserMutationParser) GetTestCases

GetTestCases returns LegacyCreateParserCreateParserCreateParserMutationParser.TestCases, and is useful for accessing the field via an interface.

func (*LegacyCreateParserCreateParserCreateParserMutationParser) MarshalJSON

func (*LegacyCreateParserCreateParserCreateParserMutationParser) UnmarshalJSON

type LegacyCreateParserResponse

type LegacyCreateParserResponse struct {
	// Create a parser.
	CreateParser LegacyCreateParserCreateParserCreateParserMutation `json:"createParser"`
}

LegacyCreateParserResponse is returned by LegacyCreateParser on success.

func LegacyCreateParser

func LegacyCreateParser(
	ctx_ context.Context,
	client_ graphql.Client,
	RepositoryName string,
	Name string,
	TestData []string,
	TagFields []string,
	SourceCode string,
	Force bool,
) (*LegacyCreateParserResponse, error)

func (*LegacyCreateParserResponse) GetCreateParser

GetCreateParser returns LegacyCreateParserResponse.CreateParser, and is useful for accessing the field via an interface.

type LegacyDeleteParserByIDRemoveParserRemoveParserMutation

type LegacyDeleteParserByIDRemoveParserRemoveParserMutation struct {
	Typename *string `json:"__typename"`
}

LegacyDeleteParserByIDRemoveParserRemoveParserMutation includes the requested fields of the GraphQL type RemoveParserMutation.

func (*LegacyDeleteParserByIDRemoveParserRemoveParserMutation) GetTypename

GetTypename returns LegacyDeleteParserByIDRemoveParserRemoveParserMutation.Typename, and is useful for accessing the field via an interface.

type LegacyDeleteParserByIDResponse

type LegacyDeleteParserByIDResponse struct {
	// Remove a parser.
	RemoveParser LegacyDeleteParserByIDRemoveParserRemoveParserMutation `json:"removeParser"`
}

LegacyDeleteParserByIDResponse is returned by LegacyDeleteParserByID on success.

func LegacyDeleteParserByID

func LegacyDeleteParserByID(
	ctx_ context.Context,
	client_ graphql.Client,
	RepositoryName string,
	ParserID string,
) (*LegacyDeleteParserByIDResponse, error)

func (*LegacyDeleteParserByIDResponse) GetRemoveParser

GetRemoveParser returns LegacyDeleteParserByIDResponse.RemoveParser, and is useful for accessing the field via an interface.

type LegacyGetParserRepository

type LegacyGetParserRepository struct {
	// A parser on the repository.
	Parser *LegacyGetParserRepositoryParser `json:"parser"`
}

LegacyGetParserRepository includes the requested fields of the GraphQL type Repository. The GraphQL type's documentation follows.

A repository stores ingested data, configures parsers and data retention policies.

func (*LegacyGetParserRepository) GetParser

GetParser returns LegacyGetParserRepository.Parser, and is useful for accessing the field via an interface.

type LegacyGetParserRepositoryParser

type LegacyGetParserRepositoryParser struct {
	// The id of the parser.
	Id string `json:"id"`
	// Name of the parser.
	Name string `json:"name"`
	// The source code of the parser.
	SourceCode string `json:"sourceCode"`
	// Saved test data (e.g. log lines) that you can use to test the parser.
	TestData []string `json:"testData"`
	// The fields to use as tags.
	TagFields []string `json:"tagFields"`
}

LegacyGetParserRepositoryParser includes the requested fields of the GraphQL type Parser. The GraphQL type's documentation follows.

A configured parser for incoming data.

func (*LegacyGetParserRepositoryParser) GetId

GetId returns LegacyGetParserRepositoryParser.Id, and is useful for accessing the field via an interface.

func (*LegacyGetParserRepositoryParser) GetName

GetName returns LegacyGetParserRepositoryParser.Name, and is useful for accessing the field via an interface.

func (*LegacyGetParserRepositoryParser) GetSourceCode

func (v *LegacyGetParserRepositoryParser) GetSourceCode() string

GetSourceCode returns LegacyGetParserRepositoryParser.SourceCode, and is useful for accessing the field via an interface.

func (*LegacyGetParserRepositoryParser) GetTagFields

func (v *LegacyGetParserRepositoryParser) GetTagFields() []string

GetTagFields returns LegacyGetParserRepositoryParser.TagFields, and is useful for accessing the field via an interface.

func (*LegacyGetParserRepositoryParser) GetTestData

func (v *LegacyGetParserRepositoryParser) GetTestData() []string

GetTestData returns LegacyGetParserRepositoryParser.TestData, and is useful for accessing the field via an interface.

type LegacyGetParserResponse

type LegacyGetParserResponse struct {
	// Lookup a given repository by name.
	Repository LegacyGetParserRepository `json:"repository"`
}

LegacyGetParserResponse is returned by LegacyGetParser on success.

func LegacyGetParser

func LegacyGetParser(
	ctx_ context.Context,
	client_ graphql.Client,
	RepositoryName string,
	ParserName string,
) (*LegacyGetParserResponse, error)

func (*LegacyGetParserResponse) GetRepository

GetRepository returns LegacyGetParserResponse.Repository, and is useful for accessing the field via an interface.

type ListActionsResponse

type ListActionsResponse struct {
	SearchDomain ListActionsSearchDomain `json:"-"`
}

ListActionsResponse is returned by ListActions on success.

func ListActions

func ListActions(
	ctx_ context.Context,
	client_ graphql.Client,
	SearchDomainName string,
) (*ListActionsResponse, error)

func (*ListActionsResponse) GetSearchDomain

func (v *ListActionsResponse) GetSearchDomain() ListActionsSearchDomain

GetSearchDomain returns ListActionsResponse.SearchDomain, and is useful for accessing the field via an interface.

func (*ListActionsResponse) MarshalJSON

func (v *ListActionsResponse) MarshalJSON() ([]byte, error)

func (*ListActionsResponse) UnmarshalJSON

func (v *ListActionsResponse) UnmarshalJSON(b []byte) error

type ListActionsSearchDomain

type ListActionsSearchDomain interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// GetActions returns the interface-field "actions" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// Common interface for Repositories and Views.
	GetActions() []ListActionsSearchDomainActionsAction
	// contains filtered or unexported methods
}

ListActionsSearchDomain includes the requested fields of the GraphQL interface SearchDomain.

ListActionsSearchDomain is implemented by the following types: ListActionsSearchDomainRepository ListActionsSearchDomainView The GraphQL type's documentation follows.

Common interface for Repositories and Views.

type ListActionsSearchDomainActionsAction

type ListActionsSearchDomainActionsAction interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	ActionDetails
	// contains filtered or unexported methods
}

ListActionsSearchDomainActionsAction includes the requested fields of the GraphQL interface Action.

ListActionsSearchDomainActionsAction is implemented by the following types: ListActionsSearchDomainActionsEmailAction ListActionsSearchDomainActionsHumioRepoAction ListActionsSearchDomainActionsOpsGenieAction ListActionsSearchDomainActionsPagerDutyAction ListActionsSearchDomainActionsSlackAction ListActionsSearchDomainActionsSlackPostMessageAction ListActionsSearchDomainActionsUploadFileAction ListActionsSearchDomainActionsVictorOpsAction ListActionsSearchDomainActionsWebhookAction The GraphQL type's documentation follows.

An action that can be invoked from a trigger.

type ListActionsSearchDomainActionsEmailAction

type ListActionsSearchDomainActionsEmailAction struct {
	Typename                 *string `json:"__typename"`
	ActionDetailsEmailAction `json:"-"`
}

ListActionsSearchDomainActionsEmailAction includes the requested fields of the GraphQL type EmailAction. The GraphQL type's documentation follows.

An email action.

func (*ListActionsSearchDomainActionsEmailAction) GetEmailBodyTemplate

func (v *ListActionsSearchDomainActionsEmailAction) GetEmailBodyTemplate() *string

GetEmailBodyTemplate returns ListActionsSearchDomainActionsEmailAction.EmailBodyTemplate, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsEmailAction) GetId

GetId returns ListActionsSearchDomainActionsEmailAction.Id, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsEmailAction) GetName

GetName returns ListActionsSearchDomainActionsEmailAction.Name, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsEmailAction) GetRecipients

GetRecipients returns ListActionsSearchDomainActionsEmailAction.Recipients, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsEmailAction) GetSubjectTemplate

func (v *ListActionsSearchDomainActionsEmailAction) GetSubjectTemplate() *string

GetSubjectTemplate returns ListActionsSearchDomainActionsEmailAction.SubjectTemplate, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsEmailAction) GetTypename

GetTypename returns ListActionsSearchDomainActionsEmailAction.Typename, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsEmailAction) GetUseProxy

GetUseProxy returns ListActionsSearchDomainActionsEmailAction.UseProxy, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsEmailAction) MarshalJSON

func (*ListActionsSearchDomainActionsEmailAction) UnmarshalJSON

type ListActionsSearchDomainActionsHumioRepoAction

type ListActionsSearchDomainActionsHumioRepoAction struct {
	Typename                     *string `json:"__typename"`
	ActionDetailsHumioRepoAction `json:"-"`
}

ListActionsSearchDomainActionsHumioRepoAction includes the requested fields of the GraphQL type HumioRepoAction. The GraphQL type's documentation follows.

A LogScale repository action.

func (*ListActionsSearchDomainActionsHumioRepoAction) GetId

GetId returns ListActionsSearchDomainActionsHumioRepoAction.Id, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsHumioRepoAction) GetIngestToken

GetIngestToken returns ListActionsSearchDomainActionsHumioRepoAction.IngestToken, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsHumioRepoAction) GetName

GetName returns ListActionsSearchDomainActionsHumioRepoAction.Name, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsHumioRepoAction) GetTypename

GetTypename returns ListActionsSearchDomainActionsHumioRepoAction.Typename, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsHumioRepoAction) MarshalJSON

func (*ListActionsSearchDomainActionsHumioRepoAction) UnmarshalJSON

type ListActionsSearchDomainActionsOpsGenieAction

type ListActionsSearchDomainActionsOpsGenieAction struct {
	Typename                    *string `json:"__typename"`
	ActionDetailsOpsGenieAction `json:"-"`
}

ListActionsSearchDomainActionsOpsGenieAction includes the requested fields of the GraphQL type OpsGenieAction. The GraphQL type's documentation follows.

An OpsGenie action

func (*ListActionsSearchDomainActionsOpsGenieAction) GetApiUrl

GetApiUrl returns ListActionsSearchDomainActionsOpsGenieAction.ApiUrl, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsOpsGenieAction) GetGenieKey

GetGenieKey returns ListActionsSearchDomainActionsOpsGenieAction.GenieKey, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsOpsGenieAction) GetId

GetId returns ListActionsSearchDomainActionsOpsGenieAction.Id, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsOpsGenieAction) GetName

GetName returns ListActionsSearchDomainActionsOpsGenieAction.Name, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsOpsGenieAction) GetTypename

GetTypename returns ListActionsSearchDomainActionsOpsGenieAction.Typename, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsOpsGenieAction) GetUseProxy

GetUseProxy returns ListActionsSearchDomainActionsOpsGenieAction.UseProxy, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsOpsGenieAction) MarshalJSON

func (*ListActionsSearchDomainActionsOpsGenieAction) UnmarshalJSON

type ListActionsSearchDomainActionsPagerDutyAction

type ListActionsSearchDomainActionsPagerDutyAction struct {
	Typename                     *string `json:"__typename"`
	ActionDetailsPagerDutyAction `json:"-"`
}

ListActionsSearchDomainActionsPagerDutyAction includes the requested fields of the GraphQL type PagerDutyAction. The GraphQL type's documentation follows.

A PagerDuty action.

func (*ListActionsSearchDomainActionsPagerDutyAction) GetId

GetId returns ListActionsSearchDomainActionsPagerDutyAction.Id, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsPagerDutyAction) GetName

GetName returns ListActionsSearchDomainActionsPagerDutyAction.Name, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsPagerDutyAction) GetRoutingKey

GetRoutingKey returns ListActionsSearchDomainActionsPagerDutyAction.RoutingKey, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsPagerDutyAction) GetSeverity

GetSeverity returns ListActionsSearchDomainActionsPagerDutyAction.Severity, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsPagerDutyAction) GetTypename

GetTypename returns ListActionsSearchDomainActionsPagerDutyAction.Typename, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsPagerDutyAction) GetUseProxy

GetUseProxy returns ListActionsSearchDomainActionsPagerDutyAction.UseProxy, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsPagerDutyAction) MarshalJSON

func (*ListActionsSearchDomainActionsPagerDutyAction) UnmarshalJSON

type ListActionsSearchDomainActionsSlackAction

type ListActionsSearchDomainActionsSlackAction struct {
	Typename                 *string `json:"__typename"`
	ActionDetailsSlackAction `json:"-"`
}

ListActionsSearchDomainActionsSlackAction includes the requested fields of the GraphQL type SlackAction. The GraphQL type's documentation follows.

A Slack action

func (*ListActionsSearchDomainActionsSlackAction) GetFields

GetFields returns ListActionsSearchDomainActionsSlackAction.Fields, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsSlackAction) GetId

GetId returns ListActionsSearchDomainActionsSlackAction.Id, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsSlackAction) GetName

GetName returns ListActionsSearchDomainActionsSlackAction.Name, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsSlackAction) GetTypename

GetTypename returns ListActionsSearchDomainActionsSlackAction.Typename, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsSlackAction) GetUrl

GetUrl returns ListActionsSearchDomainActionsSlackAction.Url, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsSlackAction) GetUseProxy

GetUseProxy returns ListActionsSearchDomainActionsSlackAction.UseProxy, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsSlackAction) MarshalJSON

func (*ListActionsSearchDomainActionsSlackAction) UnmarshalJSON

type ListActionsSearchDomainActionsSlackPostMessageAction

type ListActionsSearchDomainActionsSlackPostMessageAction struct {
	Typename                            *string `json:"__typename"`
	ActionDetailsSlackPostMessageAction `json:"-"`
}

ListActionsSearchDomainActionsSlackPostMessageAction includes the requested fields of the GraphQL type SlackPostMessageAction. The GraphQL type's documentation follows.

A slack post-message action.

func (*ListActionsSearchDomainActionsSlackPostMessageAction) GetApiToken

GetApiToken returns ListActionsSearchDomainActionsSlackPostMessageAction.ApiToken, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsSlackPostMessageAction) GetChannels

GetChannels returns ListActionsSearchDomainActionsSlackPostMessageAction.Channels, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsSlackPostMessageAction) GetFields

GetFields returns ListActionsSearchDomainActionsSlackPostMessageAction.Fields, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsSlackPostMessageAction) GetId

GetId returns ListActionsSearchDomainActionsSlackPostMessageAction.Id, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsSlackPostMessageAction) GetName

GetName returns ListActionsSearchDomainActionsSlackPostMessageAction.Name, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsSlackPostMessageAction) GetTypename

GetTypename returns ListActionsSearchDomainActionsSlackPostMessageAction.Typename, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsSlackPostMessageAction) GetUseProxy

GetUseProxy returns ListActionsSearchDomainActionsSlackPostMessageAction.UseProxy, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsSlackPostMessageAction) MarshalJSON

func (*ListActionsSearchDomainActionsSlackPostMessageAction) UnmarshalJSON

type ListActionsSearchDomainActionsUploadFileAction

type ListActionsSearchDomainActionsUploadFileAction struct {
	Typename                      *string `json:"__typename"`
	ActionDetailsUploadFileAction `json:"-"`
}

ListActionsSearchDomainActionsUploadFileAction includes the requested fields of the GraphQL type UploadFileAction. The GraphQL type's documentation follows.

An upload file action.

func (*ListActionsSearchDomainActionsUploadFileAction) GetFileName

GetFileName returns ListActionsSearchDomainActionsUploadFileAction.FileName, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsUploadFileAction) GetId

GetId returns ListActionsSearchDomainActionsUploadFileAction.Id, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsUploadFileAction) GetName

GetName returns ListActionsSearchDomainActionsUploadFileAction.Name, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsUploadFileAction) GetTypename

GetTypename returns ListActionsSearchDomainActionsUploadFileAction.Typename, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsUploadFileAction) MarshalJSON

func (*ListActionsSearchDomainActionsUploadFileAction) UnmarshalJSON

type ListActionsSearchDomainActionsVictorOpsAction

type ListActionsSearchDomainActionsVictorOpsAction struct {
	Typename                     *string `json:"__typename"`
	ActionDetailsVictorOpsAction `json:"-"`
}

ListActionsSearchDomainActionsVictorOpsAction includes the requested fields of the GraphQL type VictorOpsAction. The GraphQL type's documentation follows.

A VictorOps action.

func (*ListActionsSearchDomainActionsVictorOpsAction) GetId

GetId returns ListActionsSearchDomainActionsVictorOpsAction.Id, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsVictorOpsAction) GetMessageType

GetMessageType returns ListActionsSearchDomainActionsVictorOpsAction.MessageType, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsVictorOpsAction) GetName

GetName returns ListActionsSearchDomainActionsVictorOpsAction.Name, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsVictorOpsAction) GetNotifyUrl

GetNotifyUrl returns ListActionsSearchDomainActionsVictorOpsAction.NotifyUrl, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsVictorOpsAction) GetTypename

GetTypename returns ListActionsSearchDomainActionsVictorOpsAction.Typename, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsVictorOpsAction) GetUseProxy

GetUseProxy returns ListActionsSearchDomainActionsVictorOpsAction.UseProxy, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsVictorOpsAction) MarshalJSON

func (*ListActionsSearchDomainActionsVictorOpsAction) UnmarshalJSON

type ListActionsSearchDomainActionsWebhookAction

type ListActionsSearchDomainActionsWebhookAction struct {
	Typename                   *string `json:"__typename"`
	ActionDetailsWebhookAction `json:"-"`
}

ListActionsSearchDomainActionsWebhookAction includes the requested fields of the GraphQL type WebhookAction. The GraphQL type's documentation follows.

A webhook action

func (*ListActionsSearchDomainActionsWebhookAction) GetHeaders

GetHeaders returns ListActionsSearchDomainActionsWebhookAction.Headers, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsWebhookAction) GetId

GetId returns ListActionsSearchDomainActionsWebhookAction.Id, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsWebhookAction) GetIgnoreSSL

GetIgnoreSSL returns ListActionsSearchDomainActionsWebhookAction.IgnoreSSL, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsWebhookAction) GetMethod

GetMethod returns ListActionsSearchDomainActionsWebhookAction.Method, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsWebhookAction) GetName

GetName returns ListActionsSearchDomainActionsWebhookAction.Name, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsWebhookAction) GetTypename

GetTypename returns ListActionsSearchDomainActionsWebhookAction.Typename, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsWebhookAction) GetUrl

GetUrl returns ListActionsSearchDomainActionsWebhookAction.Url, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsWebhookAction) GetUseProxy

GetUseProxy returns ListActionsSearchDomainActionsWebhookAction.UseProxy, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsWebhookAction) GetWebhookBodyTemplate

func (v *ListActionsSearchDomainActionsWebhookAction) GetWebhookBodyTemplate() string

GetWebhookBodyTemplate returns ListActionsSearchDomainActionsWebhookAction.WebhookBodyTemplate, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainActionsWebhookAction) MarshalJSON

func (*ListActionsSearchDomainActionsWebhookAction) UnmarshalJSON

type ListActionsSearchDomainRepository

type ListActionsSearchDomainRepository struct {
	Typename *string `json:"__typename"`
	// Common interface for Repositories and Views.
	Actions []ListActionsSearchDomainActionsAction `json:"-"`
}

ListActionsSearchDomainRepository includes the requested fields of the GraphQL type Repository. The GraphQL type's documentation follows.

A repository stores ingested data, configures parsers and data retention policies.

func (*ListActionsSearchDomainRepository) GetActions

GetActions returns ListActionsSearchDomainRepository.Actions, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainRepository) GetTypename

func (v *ListActionsSearchDomainRepository) GetTypename() *string

GetTypename returns ListActionsSearchDomainRepository.Typename, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainRepository) MarshalJSON

func (v *ListActionsSearchDomainRepository) MarshalJSON() ([]byte, error)

func (*ListActionsSearchDomainRepository) UnmarshalJSON

func (v *ListActionsSearchDomainRepository) UnmarshalJSON(b []byte) error

type ListActionsSearchDomainView

type ListActionsSearchDomainView struct {
	Typename *string `json:"__typename"`
	// Common interface for Repositories and Views.
	Actions []ListActionsSearchDomainActionsAction `json:"-"`
}

ListActionsSearchDomainView includes the requested fields of the GraphQL type View. The GraphQL type's documentation follows.

Represents information about a view, pulling data from one or several repositories.

func (*ListActionsSearchDomainView) GetActions

GetActions returns ListActionsSearchDomainView.Actions, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainView) GetTypename

func (v *ListActionsSearchDomainView) GetTypename() *string

GetTypename returns ListActionsSearchDomainView.Typename, and is useful for accessing the field via an interface.

func (*ListActionsSearchDomainView) MarshalJSON

func (v *ListActionsSearchDomainView) MarshalJSON() ([]byte, error)

func (*ListActionsSearchDomainView) UnmarshalJSON

func (v *ListActionsSearchDomainView) UnmarshalJSON(b []byte) error

type ListAggregateAlertsResponse

type ListAggregateAlertsResponse struct {
	SearchDomain ListAggregateAlertsSearchDomain `json:"-"`
}

ListAggregateAlertsResponse is returned by ListAggregateAlerts on success.

func ListAggregateAlerts

func ListAggregateAlerts(
	ctx_ context.Context,
	client_ graphql.Client,
	SearchDomainName string,
) (*ListAggregateAlertsResponse, error)

func (*ListAggregateAlertsResponse) GetSearchDomain

GetSearchDomain returns ListAggregateAlertsResponse.SearchDomain, and is useful for accessing the field via an interface.

func (*ListAggregateAlertsResponse) MarshalJSON

func (v *ListAggregateAlertsResponse) MarshalJSON() ([]byte, error)

func (*ListAggregateAlertsResponse) UnmarshalJSON

func (v *ListAggregateAlertsResponse) UnmarshalJSON(b []byte) error

type ListAggregateAlertsSearchDomain

type ListAggregateAlertsSearchDomain interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// GetAggregateAlerts returns the interface-field "aggregateAlerts" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// Common interface for Repositories and Views.
	GetAggregateAlerts() []ListAggregateAlertsSearchDomainAggregateAlertsAggregateAlert
	// contains filtered or unexported methods
}

ListAggregateAlertsSearchDomain includes the requested fields of the GraphQL interface SearchDomain.

ListAggregateAlertsSearchDomain is implemented by the following types: ListAggregateAlertsSearchDomainRepository ListAggregateAlertsSearchDomainView The GraphQL type's documentation follows.

Common interface for Repositories and Views.

type ListAggregateAlertsSearchDomainAggregateAlertsAggregateAlert

type ListAggregateAlertsSearchDomainAggregateAlertsAggregateAlert struct {
	AggregateAlertDetails `json:"-"`
}

ListAggregateAlertsSearchDomainAggregateAlertsAggregateAlert includes the requested fields of the GraphQL type AggregateAlert. The GraphQL type's documentation follows.

An aggregate alert.

func (*ListAggregateAlertsSearchDomainAggregateAlertsAggregateAlert) GetActions

GetActions returns ListAggregateAlertsSearchDomainAggregateAlertsAggregateAlert.Actions, and is useful for accessing the field via an interface.

func (*ListAggregateAlertsSearchDomainAggregateAlertsAggregateAlert) GetDescription

GetDescription returns ListAggregateAlertsSearchDomainAggregateAlertsAggregateAlert.Description, and is useful for accessing the field via an interface.

func (*ListAggregateAlertsSearchDomainAggregateAlertsAggregateAlert) GetEnabled

GetEnabled returns ListAggregateAlertsSearchDomainAggregateAlertsAggregateAlert.Enabled, and is useful for accessing the field via an interface.

func (*ListAggregateAlertsSearchDomainAggregateAlertsAggregateAlert) GetId

GetId returns ListAggregateAlertsSearchDomainAggregateAlertsAggregateAlert.Id, and is useful for accessing the field via an interface.

func (*ListAggregateAlertsSearchDomainAggregateAlertsAggregateAlert) GetLabels

GetLabels returns ListAggregateAlertsSearchDomainAggregateAlertsAggregateAlert.Labels, and is useful for accessing the field via an interface.

func (*ListAggregateAlertsSearchDomainAggregateAlertsAggregateAlert) GetName

GetName returns ListAggregateAlertsSearchDomainAggregateAlertsAggregateAlert.Name, and is useful for accessing the field via an interface.

func (*ListAggregateAlertsSearchDomainAggregateAlertsAggregateAlert) GetQueryOwnership

GetQueryOwnership returns ListAggregateAlertsSearchDomainAggregateAlertsAggregateAlert.QueryOwnership, and is useful for accessing the field via an interface.

func (*ListAggregateAlertsSearchDomainAggregateAlertsAggregateAlert) GetQueryString

GetQueryString returns ListAggregateAlertsSearchDomainAggregateAlertsAggregateAlert.QueryString, and is useful for accessing the field via an interface.

func (*ListAggregateAlertsSearchDomainAggregateAlertsAggregateAlert) GetQueryTimestampType

GetQueryTimestampType returns ListAggregateAlertsSearchDomainAggregateAlertsAggregateAlert.QueryTimestampType, and is useful for accessing the field via an interface.

func (*ListAggregateAlertsSearchDomainAggregateAlertsAggregateAlert) GetSearchIntervalSeconds

GetSearchIntervalSeconds returns ListAggregateAlertsSearchDomainAggregateAlertsAggregateAlert.SearchIntervalSeconds, and is useful for accessing the field via an interface.

func (*ListAggregateAlertsSearchDomainAggregateAlertsAggregateAlert) GetThrottleField

GetThrottleField returns ListAggregateAlertsSearchDomainAggregateAlertsAggregateAlert.ThrottleField, and is useful for accessing the field via an interface.

func (*ListAggregateAlertsSearchDomainAggregateAlertsAggregateAlert) GetThrottleTimeSeconds

GetThrottleTimeSeconds returns ListAggregateAlertsSearchDomainAggregateAlertsAggregateAlert.ThrottleTimeSeconds, and is useful for accessing the field via an interface.

func (*ListAggregateAlertsSearchDomainAggregateAlertsAggregateAlert) GetTriggerMode

GetTriggerMode returns ListAggregateAlertsSearchDomainAggregateAlertsAggregateAlert.TriggerMode, and is useful for accessing the field via an interface.

func (*ListAggregateAlertsSearchDomainAggregateAlertsAggregateAlert) MarshalJSON

func (*ListAggregateAlertsSearchDomainAggregateAlertsAggregateAlert) UnmarshalJSON

type ListAggregateAlertsSearchDomainRepository

type ListAggregateAlertsSearchDomainRepository struct {
	Typename *string `json:"__typename"`
	// Common interface for Repositories and Views.
	AggregateAlerts []ListAggregateAlertsSearchDomainAggregateAlertsAggregateAlert `json:"aggregateAlerts"`
}

ListAggregateAlertsSearchDomainRepository includes the requested fields of the GraphQL type Repository. The GraphQL type's documentation follows.

A repository stores ingested data, configures parsers and data retention policies.

func (*ListAggregateAlertsSearchDomainRepository) GetAggregateAlerts

GetAggregateAlerts returns ListAggregateAlertsSearchDomainRepository.AggregateAlerts, and is useful for accessing the field via an interface.

func (*ListAggregateAlertsSearchDomainRepository) GetTypename

GetTypename returns ListAggregateAlertsSearchDomainRepository.Typename, and is useful for accessing the field via an interface.

type ListAggregateAlertsSearchDomainView

type ListAggregateAlertsSearchDomainView struct {
	Typename *string `json:"__typename"`
	// Common interface for Repositories and Views.
	AggregateAlerts []ListAggregateAlertsSearchDomainAggregateAlertsAggregateAlert `json:"aggregateAlerts"`
}

ListAggregateAlertsSearchDomainView includes the requested fields of the GraphQL type View. The GraphQL type's documentation follows.

Represents information about a view, pulling data from one or several repositories.

func (*ListAggregateAlertsSearchDomainView) GetAggregateAlerts

GetAggregateAlerts returns ListAggregateAlertsSearchDomainView.AggregateAlerts, and is useful for accessing the field via an interface.

func (*ListAggregateAlertsSearchDomainView) GetTypename

func (v *ListAggregateAlertsSearchDomainView) GetTypename() *string

GetTypename returns ListAggregateAlertsSearchDomainView.Typename, and is useful for accessing the field via an interface.

type ListAlertsResponse

type ListAlertsResponse struct {
	SearchDomain ListAlertsSearchDomain `json:"-"`
}

ListAlertsResponse is returned by ListAlerts on success.

func ListAlerts

func ListAlerts(
	ctx_ context.Context,
	client_ graphql.Client,
	SearchDomainName string,
) (*ListAlertsResponse, error)

func (*ListAlertsResponse) GetSearchDomain

func (v *ListAlertsResponse) GetSearchDomain() ListAlertsSearchDomain

GetSearchDomain returns ListAlertsResponse.SearchDomain, and is useful for accessing the field via an interface.

func (*ListAlertsResponse) MarshalJSON

func (v *ListAlertsResponse) MarshalJSON() ([]byte, error)

func (*ListAlertsResponse) UnmarshalJSON

func (v *ListAlertsResponse) UnmarshalJSON(b []byte) error

type ListAlertsSearchDomain

type ListAlertsSearchDomain interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// GetAlerts returns the interface-field "alerts" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// Common interface for Repositories and Views.
	GetAlerts() []ListAlertsSearchDomainAlertsAlert
	// contains filtered or unexported methods
}

ListAlertsSearchDomain includes the requested fields of the GraphQL interface SearchDomain.

ListAlertsSearchDomain is implemented by the following types: ListAlertsSearchDomainRepository ListAlertsSearchDomainView The GraphQL type's documentation follows.

Common interface for Repositories and Views.

type ListAlertsSearchDomainAlertsAlert

type ListAlertsSearchDomainAlertsAlert struct {
	AlertDetails `json:"-"`
}

ListAlertsSearchDomainAlertsAlert includes the requested fields of the GraphQL type Alert. The GraphQL type's documentation follows.

An alert.

func (*ListAlertsSearchDomainAlertsAlert) GetActions

func (v *ListAlertsSearchDomainAlertsAlert) GetActions() []string

GetActions returns ListAlertsSearchDomainAlertsAlert.Actions, and is useful for accessing the field via an interface.

func (*ListAlertsSearchDomainAlertsAlert) GetDescription

func (v *ListAlertsSearchDomainAlertsAlert) GetDescription() *string

GetDescription returns ListAlertsSearchDomainAlertsAlert.Description, and is useful for accessing the field via an interface.

func (*ListAlertsSearchDomainAlertsAlert) GetEnabled

func (v *ListAlertsSearchDomainAlertsAlert) GetEnabled() bool

GetEnabled returns ListAlertsSearchDomainAlertsAlert.Enabled, and is useful for accessing the field via an interface.

func (*ListAlertsSearchDomainAlertsAlert) GetId

GetId returns ListAlertsSearchDomainAlertsAlert.Id, and is useful for accessing the field via an interface.

func (*ListAlertsSearchDomainAlertsAlert) GetIsStarred

func (v *ListAlertsSearchDomainAlertsAlert) GetIsStarred() bool

GetIsStarred returns ListAlertsSearchDomainAlertsAlert.IsStarred, and is useful for accessing the field via an interface.

func (*ListAlertsSearchDomainAlertsAlert) GetLabels

func (v *ListAlertsSearchDomainAlertsAlert) GetLabels() []string

GetLabels returns ListAlertsSearchDomainAlertsAlert.Labels, and is useful for accessing the field via an interface.

func (*ListAlertsSearchDomainAlertsAlert) GetLastError

func (v *ListAlertsSearchDomainAlertsAlert) GetLastError() *string

GetLastError returns ListAlertsSearchDomainAlertsAlert.LastError, and is useful for accessing the field via an interface.

func (*ListAlertsSearchDomainAlertsAlert) GetName

GetName returns ListAlertsSearchDomainAlertsAlert.Name, and is useful for accessing the field via an interface.

func (*ListAlertsSearchDomainAlertsAlert) GetQueryOwnership

GetQueryOwnership returns ListAlertsSearchDomainAlertsAlert.QueryOwnership, and is useful for accessing the field via an interface.

func (*ListAlertsSearchDomainAlertsAlert) GetQueryStart

func (v *ListAlertsSearchDomainAlertsAlert) GetQueryStart() string

GetQueryStart returns ListAlertsSearchDomainAlertsAlert.QueryStart, and is useful for accessing the field via an interface.

func (*ListAlertsSearchDomainAlertsAlert) GetQueryString

func (v *ListAlertsSearchDomainAlertsAlert) GetQueryString() string

GetQueryString returns ListAlertsSearchDomainAlertsAlert.QueryString, and is useful for accessing the field via an interface.

func (*ListAlertsSearchDomainAlertsAlert) GetThrottleField

func (v *ListAlertsSearchDomainAlertsAlert) GetThrottleField() *string

GetThrottleField returns ListAlertsSearchDomainAlertsAlert.ThrottleField, and is useful for accessing the field via an interface.

func (*ListAlertsSearchDomainAlertsAlert) GetThrottleTimeMillis

func (v *ListAlertsSearchDomainAlertsAlert) GetThrottleTimeMillis() int64

GetThrottleTimeMillis returns ListAlertsSearchDomainAlertsAlert.ThrottleTimeMillis, and is useful for accessing the field via an interface.

func (*ListAlertsSearchDomainAlertsAlert) GetTimeOfLastTrigger

func (v *ListAlertsSearchDomainAlertsAlert) GetTimeOfLastTrigger() *int64

GetTimeOfLastTrigger returns ListAlertsSearchDomainAlertsAlert.TimeOfLastTrigger, and is useful for accessing the field via an interface.

func (*ListAlertsSearchDomainAlertsAlert) MarshalJSON

func (v *ListAlertsSearchDomainAlertsAlert) MarshalJSON() ([]byte, error)

func (*ListAlertsSearchDomainAlertsAlert) UnmarshalJSON

func (v *ListAlertsSearchDomainAlertsAlert) UnmarshalJSON(b []byte) error

type ListAlertsSearchDomainRepository

type ListAlertsSearchDomainRepository struct {
	Typename *string `json:"__typename"`
	// Common interface for Repositories and Views.
	Alerts []ListAlertsSearchDomainAlertsAlert `json:"alerts"`
}

ListAlertsSearchDomainRepository includes the requested fields of the GraphQL type Repository. The GraphQL type's documentation follows.

A repository stores ingested data, configures parsers and data retention policies.

func (*ListAlertsSearchDomainRepository) GetAlerts

GetAlerts returns ListAlertsSearchDomainRepository.Alerts, and is useful for accessing the field via an interface.

func (*ListAlertsSearchDomainRepository) GetTypename

func (v *ListAlertsSearchDomainRepository) GetTypename() *string

GetTypename returns ListAlertsSearchDomainRepository.Typename, and is useful for accessing the field via an interface.

type ListAlertsSearchDomainView

type ListAlertsSearchDomainView struct {
	Typename *string `json:"__typename"`
	// Common interface for Repositories and Views.
	Alerts []ListAlertsSearchDomainAlertsAlert `json:"alerts"`
}

ListAlertsSearchDomainView includes the requested fields of the GraphQL type View. The GraphQL type's documentation follows.

Represents information about a view, pulling data from one or several repositories.

func (*ListAlertsSearchDomainView) GetAlerts

GetAlerts returns ListAlertsSearchDomainView.Alerts, and is useful for accessing the field via an interface.

func (*ListAlertsSearchDomainView) GetTypename

func (v *ListAlertsSearchDomainView) GetTypename() *string

GetTypename returns ListAlertsSearchDomainView.Typename, and is useful for accessing the field via an interface.

type ListClusterNodesCluster

type ListClusterNodesCluster struct {
	ClusterNode `json:"-"`
}

ListClusterNodesCluster includes the requested fields of the GraphQL type Cluster. The GraphQL type's documentation follows.

Information about the LogScale cluster.

func (*ListClusterNodesCluster) GetNodes

GetNodes returns ListClusterNodesCluster.Nodes, and is useful for accessing the field via an interface.

func (*ListClusterNodesCluster) MarshalJSON

func (v *ListClusterNodesCluster) MarshalJSON() ([]byte, error)

func (*ListClusterNodesCluster) UnmarshalJSON

func (v *ListClusterNodesCluster) UnmarshalJSON(b []byte) error

type ListClusterNodesResponse

type ListClusterNodesResponse struct {
	// This is used to retrieve information about a cluster.
	Cluster ListClusterNodesCluster `json:"cluster"`
}

ListClusterNodesResponse is returned by ListClusterNodes on success.

func ListClusterNodes

func ListClusterNodes(
	ctx_ context.Context,
	client_ graphql.Client,
) (*ListClusterNodesResponse, error)

func (*ListClusterNodesResponse) GetCluster

GetCluster returns ListClusterNodesResponse.Cluster, and is useful for accessing the field via an interface.

type ListFilesResponse

type ListFilesResponse struct {
	SearchDomain ListFilesSearchDomain `json:"-"`
}

ListFilesResponse is returned by ListFiles on success.

func ListFiles

func ListFiles(
	ctx_ context.Context,
	client_ graphql.Client,
	SearchDomainName string,
) (*ListFilesResponse, error)

func (*ListFilesResponse) GetSearchDomain

func (v *ListFilesResponse) GetSearchDomain() ListFilesSearchDomain

GetSearchDomain returns ListFilesResponse.SearchDomain, and is useful for accessing the field via an interface.

func (*ListFilesResponse) MarshalJSON

func (v *ListFilesResponse) MarshalJSON() ([]byte, error)

func (*ListFilesResponse) UnmarshalJSON

func (v *ListFilesResponse) UnmarshalJSON(b []byte) error

type ListFilesSearchDomain

type ListFilesSearchDomain interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// GetFiles returns the interface-field "files" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// Common interface for Repositories and Views.
	GetFiles() []ListFilesSearchDomainFilesFile
	// contains filtered or unexported methods
}

ListFilesSearchDomain includes the requested fields of the GraphQL interface SearchDomain.

ListFilesSearchDomain is implemented by the following types: ListFilesSearchDomainRepository ListFilesSearchDomainView The GraphQL type's documentation follows.

Common interface for Repositories and Views.

type ListFilesSearchDomainFilesFile

type ListFilesSearchDomainFilesFile struct {
	ContentHash string                                    `json:"contentHash"`
	NameAndPath ListFilesSearchDomainFilesFileNameAndPath `json:"nameAndPath"`
}

ListFilesSearchDomainFilesFile includes the requested fields of the GraphQL type File. The GraphQL type's documentation follows.

A file upload to LogScale for use with the `match` query function. You can see them under the Files page in the UI.

func (*ListFilesSearchDomainFilesFile) GetContentHash

func (v *ListFilesSearchDomainFilesFile) GetContentHash() string

GetContentHash returns ListFilesSearchDomainFilesFile.ContentHash, and is useful for accessing the field via an interface.

func (*ListFilesSearchDomainFilesFile) GetNameAndPath

GetNameAndPath returns ListFilesSearchDomainFilesFile.NameAndPath, and is useful for accessing the field via an interface.

type ListFilesSearchDomainFilesFileNameAndPath

type ListFilesSearchDomainFilesFileNameAndPath struct {
	Name string `json:"name"`
}

ListFilesSearchDomainFilesFileNameAndPath includes the requested fields of the GraphQL type FileNameAndPath.

func (*ListFilesSearchDomainFilesFileNameAndPath) GetName

GetName returns ListFilesSearchDomainFilesFileNameAndPath.Name, and is useful for accessing the field via an interface.

type ListFilesSearchDomainRepository

type ListFilesSearchDomainRepository struct {
	Typename *string `json:"__typename"`
	// Common interface for Repositories and Views.
	Files []ListFilesSearchDomainFilesFile `json:"files"`
}

ListFilesSearchDomainRepository includes the requested fields of the GraphQL type Repository. The GraphQL type's documentation follows.

A repository stores ingested data, configures parsers and data retention policies.

func (*ListFilesSearchDomainRepository) GetFiles

GetFiles returns ListFilesSearchDomainRepository.Files, and is useful for accessing the field via an interface.

func (*ListFilesSearchDomainRepository) GetTypename

func (v *ListFilesSearchDomainRepository) GetTypename() *string

GetTypename returns ListFilesSearchDomainRepository.Typename, and is useful for accessing the field via an interface.

type ListFilesSearchDomainView

type ListFilesSearchDomainView struct {
	Typename *string `json:"__typename"`
	// Common interface for Repositories and Views.
	Files []ListFilesSearchDomainFilesFile `json:"files"`
}

ListFilesSearchDomainView includes the requested fields of the GraphQL type View. The GraphQL type's documentation follows.

Represents information about a view, pulling data from one or several repositories.

func (*ListFilesSearchDomainView) GetFiles

GetFiles returns ListFilesSearchDomainView.Files, and is useful for accessing the field via an interface.

func (*ListFilesSearchDomainView) GetTypename

func (v *ListFilesSearchDomainView) GetTypename() *string

GetTypename returns ListFilesSearchDomainView.Typename, and is useful for accessing the field via an interface.

type ListFilterAlertsResponse

type ListFilterAlertsResponse struct {
	SearchDomain ListFilterAlertsSearchDomain `json:"-"`
}

ListFilterAlertsResponse is returned by ListFilterAlerts on success.

func ListFilterAlerts

func ListFilterAlerts(
	ctx_ context.Context,
	client_ graphql.Client,
	SearchDomainName string,
) (*ListFilterAlertsResponse, error)

func (*ListFilterAlertsResponse) GetSearchDomain

GetSearchDomain returns ListFilterAlertsResponse.SearchDomain, and is useful for accessing the field via an interface.

func (*ListFilterAlertsResponse) MarshalJSON

func (v *ListFilterAlertsResponse) MarshalJSON() ([]byte, error)

func (*ListFilterAlertsResponse) UnmarshalJSON

func (v *ListFilterAlertsResponse) UnmarshalJSON(b []byte) error

type ListFilterAlertsSearchDomain

type ListFilterAlertsSearchDomain interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// GetFilterAlerts returns the interface-field "filterAlerts" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// Common interface for Repositories and Views.
	GetFilterAlerts() []ListFilterAlertsSearchDomainFilterAlertsFilterAlert
	// contains filtered or unexported methods
}

ListFilterAlertsSearchDomain includes the requested fields of the GraphQL interface SearchDomain.

ListFilterAlertsSearchDomain is implemented by the following types: ListFilterAlertsSearchDomainRepository ListFilterAlertsSearchDomainView The GraphQL type's documentation follows.

Common interface for Repositories and Views.

type ListFilterAlertsSearchDomainFilterAlertsFilterAlert

type ListFilterAlertsSearchDomainFilterAlertsFilterAlert struct {
	FilterAlertDetails `json:"-"`
}

ListFilterAlertsSearchDomainFilterAlertsFilterAlert includes the requested fields of the GraphQL type FilterAlert. The GraphQL type's documentation follows.

A filter alert.

func (*ListFilterAlertsSearchDomainFilterAlertsFilterAlert) GetActions

GetActions returns ListFilterAlertsSearchDomainFilterAlertsFilterAlert.Actions, and is useful for accessing the field via an interface.

func (*ListFilterAlertsSearchDomainFilterAlertsFilterAlert) GetDescription

GetDescription returns ListFilterAlertsSearchDomainFilterAlertsFilterAlert.Description, and is useful for accessing the field via an interface.

func (*ListFilterAlertsSearchDomainFilterAlertsFilterAlert) GetEnabled

GetEnabled returns ListFilterAlertsSearchDomainFilterAlertsFilterAlert.Enabled, and is useful for accessing the field via an interface.

func (*ListFilterAlertsSearchDomainFilterAlertsFilterAlert) GetId

GetId returns ListFilterAlertsSearchDomainFilterAlertsFilterAlert.Id, and is useful for accessing the field via an interface.

func (*ListFilterAlertsSearchDomainFilterAlertsFilterAlert) GetLabels

GetLabels returns ListFilterAlertsSearchDomainFilterAlertsFilterAlert.Labels, and is useful for accessing the field via an interface.

func (*ListFilterAlertsSearchDomainFilterAlertsFilterAlert) GetName

GetName returns ListFilterAlertsSearchDomainFilterAlertsFilterAlert.Name, and is useful for accessing the field via an interface.

func (*ListFilterAlertsSearchDomainFilterAlertsFilterAlert) GetQueryOwnership

GetQueryOwnership returns ListFilterAlertsSearchDomainFilterAlertsFilterAlert.QueryOwnership, and is useful for accessing the field via an interface.

func (*ListFilterAlertsSearchDomainFilterAlertsFilterAlert) GetQueryString

GetQueryString returns ListFilterAlertsSearchDomainFilterAlertsFilterAlert.QueryString, and is useful for accessing the field via an interface.

func (*ListFilterAlertsSearchDomainFilterAlertsFilterAlert) GetThrottleField

GetThrottleField returns ListFilterAlertsSearchDomainFilterAlertsFilterAlert.ThrottleField, and is useful for accessing the field via an interface.

func (*ListFilterAlertsSearchDomainFilterAlertsFilterAlert) GetThrottleTimeSeconds

func (v *ListFilterAlertsSearchDomainFilterAlertsFilterAlert) GetThrottleTimeSeconds() *int64

GetThrottleTimeSeconds returns ListFilterAlertsSearchDomainFilterAlertsFilterAlert.ThrottleTimeSeconds, and is useful for accessing the field via an interface.

func (*ListFilterAlertsSearchDomainFilterAlertsFilterAlert) MarshalJSON

func (*ListFilterAlertsSearchDomainFilterAlertsFilterAlert) UnmarshalJSON

type ListFilterAlertsSearchDomainRepository

type ListFilterAlertsSearchDomainRepository struct {
	Typename *string `json:"__typename"`
	// Common interface for Repositories and Views.
	FilterAlerts []ListFilterAlertsSearchDomainFilterAlertsFilterAlert `json:"filterAlerts"`
}

ListFilterAlertsSearchDomainRepository includes the requested fields of the GraphQL type Repository. The GraphQL type's documentation follows.

A repository stores ingested data, configures parsers and data retention policies.

func (*ListFilterAlertsSearchDomainRepository) GetFilterAlerts

GetFilterAlerts returns ListFilterAlertsSearchDomainRepository.FilterAlerts, and is useful for accessing the field via an interface.

func (*ListFilterAlertsSearchDomainRepository) GetTypename

GetTypename returns ListFilterAlertsSearchDomainRepository.Typename, and is useful for accessing the field via an interface.

type ListFilterAlertsSearchDomainView

type ListFilterAlertsSearchDomainView struct {
	Typename *string `json:"__typename"`
	// Common interface for Repositories and Views.
	FilterAlerts []ListFilterAlertsSearchDomainFilterAlertsFilterAlert `json:"filterAlerts"`
}

ListFilterAlertsSearchDomainView includes the requested fields of the GraphQL type View. The GraphQL type's documentation follows.

Represents information about a view, pulling data from one or several repositories.

func (*ListFilterAlertsSearchDomainView) GetFilterAlerts

GetFilterAlerts returns ListFilterAlertsSearchDomainView.FilterAlerts, and is useful for accessing the field via an interface.

func (*ListFilterAlertsSearchDomainView) GetTypename

func (v *ListFilterAlertsSearchDomainView) GetTypename() *string

GetTypename returns ListFilterAlertsSearchDomainView.Typename, and is useful for accessing the field via an interface.

type ListGroupsGroupsPageGroupPage

type ListGroupsGroupsPageGroupPage struct {
	Page []ListGroupsGroupsPageGroupPagePageGroup `json:"page"`
}

ListGroupsGroupsPageGroupPage includes the requested fields of the GraphQL type GroupPage. The GraphQL type's documentation follows.

A page of groups in an organization.

func (*ListGroupsGroupsPageGroupPage) GetPage

GetPage returns ListGroupsGroupsPageGroupPage.Page, and is useful for accessing the field via an interface.

type ListGroupsGroupsPageGroupPagePageGroup

type ListGroupsGroupsPageGroupPagePageGroup struct {
	Id          string `json:"id"`
	DisplayName string `json:"displayName"`
}

ListGroupsGroupsPageGroupPagePageGroup includes the requested fields of the GraphQL type Group. The GraphQL type's documentation follows.

A group.

func (*ListGroupsGroupsPageGroupPagePageGroup) GetDisplayName

func (v *ListGroupsGroupsPageGroupPagePageGroup) GetDisplayName() string

GetDisplayName returns ListGroupsGroupsPageGroupPagePageGroup.DisplayName, and is useful for accessing the field via an interface.

func (*ListGroupsGroupsPageGroupPagePageGroup) GetId

GetId returns ListGroupsGroupsPageGroupPagePageGroup.Id, and is useful for accessing the field via an interface.

type ListGroupsResponse

type ListGroupsResponse struct {
	// All defined groups in an organization.
	GroupsPage ListGroupsGroupsPageGroupPage `json:"groupsPage"`
}

ListGroupsResponse is returned by ListGroups on success.

func ListGroups

func ListGroups(
	ctx_ context.Context,
	client_ graphql.Client,
) (*ListGroupsResponse, error)

func (*ListGroupsResponse) GetGroupsPage

GetGroupsPage returns ListGroupsResponse.GroupsPage, and is useful for accessing the field via an interface.

type ListIngestTokensRepository

type ListIngestTokensRepository struct {
	IngestTokens []ListIngestTokensRepositoryIngestTokensIngestToken `json:"ingestTokens"`
}

ListIngestTokensRepository includes the requested fields of the GraphQL type Repository. The GraphQL type's documentation follows.

A repository stores ingested data, configures parsers and data retention policies.

func (*ListIngestTokensRepository) GetIngestTokens

GetIngestTokens returns ListIngestTokensRepository.IngestTokens, and is useful for accessing the field via an interface.

type ListIngestTokensRepositoryIngestTokensIngestToken

type ListIngestTokensRepositoryIngestTokensIngestToken struct {
	IngestTokenDetails `json:"-"`
}

ListIngestTokensRepositoryIngestTokensIngestToken includes the requested fields of the GraphQL type IngestToken. The GraphQL type's documentation follows.

An API ingest token used for sending data to LogScale.

func (*ListIngestTokensRepositoryIngestTokensIngestToken) GetName

GetName returns ListIngestTokensRepositoryIngestTokensIngestToken.Name, and is useful for accessing the field via an interface.

func (*ListIngestTokensRepositoryIngestTokensIngestToken) GetParser

GetParser returns ListIngestTokensRepositoryIngestTokensIngestToken.Parser, and is useful for accessing the field via an interface.

func (*ListIngestTokensRepositoryIngestTokensIngestToken) GetToken

GetToken returns ListIngestTokensRepositoryIngestTokensIngestToken.Token, and is useful for accessing the field via an interface.

func (*ListIngestTokensRepositoryIngestTokensIngestToken) MarshalJSON

func (*ListIngestTokensRepositoryIngestTokensIngestToken) UnmarshalJSON

type ListIngestTokensResponse

type ListIngestTokensResponse struct {
	// Lookup a given repository by name.
	Repository ListIngestTokensRepository `json:"repository"`
}

ListIngestTokensResponse is returned by ListIngestTokens on success.

func ListIngestTokens

func ListIngestTokens(
	ctx_ context.Context,
	client_ graphql.Client,
	RepositoryName string,
) (*ListIngestTokensResponse, error)

func (*ListIngestTokensResponse) GetRepository

GetRepository returns ListIngestTokensResponse.Repository, and is useful for accessing the field via an interface.

type ListInstalledPackagesResponse

type ListInstalledPackagesResponse struct {
	SearchDomain ListInstalledPackagesSearchDomain `json:"-"`
}

ListInstalledPackagesResponse is returned by ListInstalledPackages on success.

func ListInstalledPackages

func ListInstalledPackages(
	ctx_ context.Context,
	client_ graphql.Client,
	SearchDomainName string,
) (*ListInstalledPackagesResponse, error)

func (*ListInstalledPackagesResponse) GetSearchDomain

GetSearchDomain returns ListInstalledPackagesResponse.SearchDomain, and is useful for accessing the field via an interface.

func (*ListInstalledPackagesResponse) MarshalJSON

func (v *ListInstalledPackagesResponse) MarshalJSON() ([]byte, error)

func (*ListInstalledPackagesResponse) UnmarshalJSON

func (v *ListInstalledPackagesResponse) UnmarshalJSON(b []byte) error

type ListInstalledPackagesSearchDomain

type ListInstalledPackagesSearchDomain interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// GetInstalledPackages returns the interface-field "installedPackages" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// Common interface for Repositories and Views.
	GetInstalledPackages() []ListInstalledPackagesSearchDomainInstalledPackagesPackageInstallation
	// contains filtered or unexported methods
}

ListInstalledPackagesSearchDomain includes the requested fields of the GraphQL interface SearchDomain.

ListInstalledPackagesSearchDomain is implemented by the following types: ListInstalledPackagesSearchDomainRepository ListInstalledPackagesSearchDomainView The GraphQL type's documentation follows.

Common interface for Repositories and Views.

type ListInstalledPackagesSearchDomainInstalledPackagesPackageInstallation

type ListInstalledPackagesSearchDomainInstalledPackagesPackageInstallation struct {
	Id          string                                                                                           `json:"id"`
	InstalledBy ListInstalledPackagesSearchDomainInstalledPackagesPackageInstallationInstalledByUserAndTimestamp `json:"installedBy"`
	UpdatedBy   ListInstalledPackagesSearchDomainInstalledPackagesPackageInstallationUpdatedByUserAndTimestamp   `json:"updatedBy"`
	Source      PackageInstallationSourceType                                                                    `json:"source"`
	// Finds updates on a package. It also looks for updates on packages that were installed manually, in case e.g. test versions of a package have been distributed prior to the full release.
	AvailableUpdate *string `json:"availableUpdate"`
}

ListInstalledPackagesSearchDomainInstalledPackagesPackageInstallation includes the requested fields of the GraphQL type PackageInstallation. The GraphQL type's documentation follows.

A package installation.

func (*ListInstalledPackagesSearchDomainInstalledPackagesPackageInstallation) GetAvailableUpdate

GetAvailableUpdate returns ListInstalledPackagesSearchDomainInstalledPackagesPackageInstallation.AvailableUpdate, and is useful for accessing the field via an interface.

func (*ListInstalledPackagesSearchDomainInstalledPackagesPackageInstallation) GetId

GetId returns ListInstalledPackagesSearchDomainInstalledPackagesPackageInstallation.Id, and is useful for accessing the field via an interface.

func (*ListInstalledPackagesSearchDomainInstalledPackagesPackageInstallation) GetInstalledBy

GetInstalledBy returns ListInstalledPackagesSearchDomainInstalledPackagesPackageInstallation.InstalledBy, and is useful for accessing the field via an interface.

func (*ListInstalledPackagesSearchDomainInstalledPackagesPackageInstallation) GetSource

GetSource returns ListInstalledPackagesSearchDomainInstalledPackagesPackageInstallation.Source, and is useful for accessing the field via an interface.

func (*ListInstalledPackagesSearchDomainInstalledPackagesPackageInstallation) GetUpdatedBy

GetUpdatedBy returns ListInstalledPackagesSearchDomainInstalledPackagesPackageInstallation.UpdatedBy, and is useful for accessing the field via an interface.

type ListInstalledPackagesSearchDomainInstalledPackagesPackageInstallationInstalledByUserAndTimestamp

type ListInstalledPackagesSearchDomainInstalledPackagesPackageInstallationInstalledByUserAndTimestamp struct {
	Username  string    `json:"username"`
	Timestamp time.Time `json:"timestamp"`
}

ListInstalledPackagesSearchDomainInstalledPackagesPackageInstallationInstalledByUserAndTimestamp includes the requested fields of the GraphQL type UserAndTimestamp.

func (*ListInstalledPackagesSearchDomainInstalledPackagesPackageInstallationInstalledByUserAndTimestamp) GetTimestamp

GetTimestamp returns ListInstalledPackagesSearchDomainInstalledPackagesPackageInstallationInstalledByUserAndTimestamp.Timestamp, and is useful for accessing the field via an interface.

func (*ListInstalledPackagesSearchDomainInstalledPackagesPackageInstallationInstalledByUserAndTimestamp) GetUsername

GetUsername returns ListInstalledPackagesSearchDomainInstalledPackagesPackageInstallationInstalledByUserAndTimestamp.Username, and is useful for accessing the field via an interface.

type ListInstalledPackagesSearchDomainInstalledPackagesPackageInstallationUpdatedByUserAndTimestamp

type ListInstalledPackagesSearchDomainInstalledPackagesPackageInstallationUpdatedByUserAndTimestamp struct {
	Username  string    `json:"username"`
	Timestamp time.Time `json:"timestamp"`
}

ListInstalledPackagesSearchDomainInstalledPackagesPackageInstallationUpdatedByUserAndTimestamp includes the requested fields of the GraphQL type UserAndTimestamp.

func (*ListInstalledPackagesSearchDomainInstalledPackagesPackageInstallationUpdatedByUserAndTimestamp) GetTimestamp

GetTimestamp returns ListInstalledPackagesSearchDomainInstalledPackagesPackageInstallationUpdatedByUserAndTimestamp.Timestamp, and is useful for accessing the field via an interface.

func (*ListInstalledPackagesSearchDomainInstalledPackagesPackageInstallationUpdatedByUserAndTimestamp) GetUsername

GetUsername returns ListInstalledPackagesSearchDomainInstalledPackagesPackageInstallationUpdatedByUserAndTimestamp.Username, and is useful for accessing the field via an interface.

type ListInstalledPackagesSearchDomainRepository

type ListInstalledPackagesSearchDomainRepository struct {
	Typename *string `json:"__typename"`
	// Common interface for Repositories and Views.
	InstalledPackages []ListInstalledPackagesSearchDomainInstalledPackagesPackageInstallation `json:"installedPackages"`
}

ListInstalledPackagesSearchDomainRepository includes the requested fields of the GraphQL type Repository. The GraphQL type's documentation follows.

A repository stores ingested data, configures parsers and data retention policies.

func (*ListInstalledPackagesSearchDomainRepository) GetInstalledPackages

GetInstalledPackages returns ListInstalledPackagesSearchDomainRepository.InstalledPackages, and is useful for accessing the field via an interface.

func (*ListInstalledPackagesSearchDomainRepository) GetTypename

GetTypename returns ListInstalledPackagesSearchDomainRepository.Typename, and is useful for accessing the field via an interface.

type ListInstalledPackagesSearchDomainView

type ListInstalledPackagesSearchDomainView struct {
	Typename *string `json:"__typename"`
	// Common interface for Repositories and Views.
	InstalledPackages []ListInstalledPackagesSearchDomainInstalledPackagesPackageInstallation `json:"installedPackages"`
}

ListInstalledPackagesSearchDomainView includes the requested fields of the GraphQL type View. The GraphQL type's documentation follows.

Represents information about a view, pulling data from one or several repositories.

func (*ListInstalledPackagesSearchDomainView) GetInstalledPackages

GetInstalledPackages returns ListInstalledPackagesSearchDomainView.InstalledPackages, and is useful for accessing the field via an interface.

func (*ListInstalledPackagesSearchDomainView) GetTypename

GetTypename returns ListInstalledPackagesSearchDomainView.Typename, and is useful for accessing the field via an interface.

type ListParsersRepository

type ListParsersRepository struct {
	// Saved parsers.
	Parsers []ListParsersRepositoryParsersParser `json:"parsers"`
}

ListParsersRepository includes the requested fields of the GraphQL type Repository. The GraphQL type's documentation follows.

A repository stores ingested data, configures parsers and data retention policies.

func (*ListParsersRepository) GetParsers

GetParsers returns ListParsersRepository.Parsers, and is useful for accessing the field via an interface.

type ListParsersRepositoryParsersParser

type ListParsersRepositoryParsersParser struct {
	// The id of the parser.
	Id string `json:"id"`
	// Name of the parser.
	Name string `json:"name"`
	// True if the parser is one of LogScale's built-in parsers.
	IsBuiltIn bool `json:"isBuiltIn"`
}

ListParsersRepositoryParsersParser includes the requested fields of the GraphQL type Parser. The GraphQL type's documentation follows.

A configured parser for incoming data.

func (*ListParsersRepositoryParsersParser) GetId

GetId returns ListParsersRepositoryParsersParser.Id, and is useful for accessing the field via an interface.

func (*ListParsersRepositoryParsersParser) GetIsBuiltIn

func (v *ListParsersRepositoryParsersParser) GetIsBuiltIn() bool

GetIsBuiltIn returns ListParsersRepositoryParsersParser.IsBuiltIn, and is useful for accessing the field via an interface.

func (*ListParsersRepositoryParsersParser) GetName

GetName returns ListParsersRepositoryParsersParser.Name, and is useful for accessing the field via an interface.

type ListParsersResponse

type ListParsersResponse struct {
	// Lookup a given repository by name.
	Repository ListParsersRepository `json:"repository"`
}

ListParsersResponse is returned by ListParsers on success.

func ListParsers

func ListParsers(
	ctx_ context.Context,
	client_ graphql.Client,
	RepositoryName string,
) (*ListParsersResponse, error)

func (*ListParsersResponse) GetRepository

func (v *ListParsersResponse) GetRepository() ListParsersRepository

GetRepository returns ListParsersResponse.Repository, and is useful for accessing the field via an interface.

type ListRepositoriesRepositoriesRepository

type ListRepositoriesRepositoriesRepository struct {
	Id   string `json:"id"`
	Name string `json:"name"`
	// Total size of data. Size is measured as the size after compression.
	CompressedByteSize int64 `json:"compressedByteSize"`
}

ListRepositoriesRepositoriesRepository includes the requested fields of the GraphQL type Repository. The GraphQL type's documentation follows.

A repository stores ingested data, configures parsers and data retention policies.

func (*ListRepositoriesRepositoriesRepository) GetCompressedByteSize

func (v *ListRepositoriesRepositoriesRepository) GetCompressedByteSize() int64

GetCompressedByteSize returns ListRepositoriesRepositoriesRepository.CompressedByteSize, and is useful for accessing the field via an interface.

func (*ListRepositoriesRepositoriesRepository) GetId

GetId returns ListRepositoriesRepositoriesRepository.Id, and is useful for accessing the field via an interface.

func (*ListRepositoriesRepositoriesRepository) GetName

GetName returns ListRepositoriesRepositoriesRepository.Name, and is useful for accessing the field via an interface.

type ListRepositoriesResponse

type ListRepositoriesResponse struct {
	Repositories []ListRepositoriesRepositoriesRepository `json:"repositories"`
}

ListRepositoriesResponse is returned by ListRepositories on success.

func ListRepositories

func ListRepositories(
	ctx_ context.Context,
	client_ graphql.Client,
) (*ListRepositoriesResponse, error)

func (*ListRepositoriesResponse) GetRepositories

GetRepositories returns ListRepositoriesResponse.Repositories, and is useful for accessing the field via an interface.

type ListRolesResponse

type ListRolesResponse struct {
	// All defined roles.
	Roles []ListRolesRolesRole `json:"roles"`
}

ListRolesResponse is returned by ListRoles on success.

func ListRoles

func ListRoles(
	ctx_ context.Context,
	client_ graphql.Client,
) (*ListRolesResponse, error)

func (*ListRolesResponse) GetRoles

func (v *ListRolesResponse) GetRoles() []ListRolesRolesRole

GetRoles returns ListRolesResponse.Roles, and is useful for accessing the field via an interface.

type ListRolesRolesRole

type ListRolesRolesRole struct {
	RoleDetails `json:"-"`
}

ListRolesRolesRole includes the requested fields of the GraphQL type Role.

func (*ListRolesRolesRole) GetDisplayName

func (v *ListRolesRolesRole) GetDisplayName() string

GetDisplayName returns ListRolesRolesRole.DisplayName, and is useful for accessing the field via an interface.

func (*ListRolesRolesRole) GetId

func (v *ListRolesRolesRole) GetId() string

GetId returns ListRolesRolesRole.Id, and is useful for accessing the field via an interface.

func (*ListRolesRolesRole) GetOrganizationPermissions

func (v *ListRolesRolesRole) GetOrganizationPermissions() []OrganizationPermission

GetOrganizationPermissions returns ListRolesRolesRole.OrganizationPermissions, and is useful for accessing the field via an interface.

func (*ListRolesRolesRole) GetSystemPermissions

func (v *ListRolesRolesRole) GetSystemPermissions() []SystemPermission

GetSystemPermissions returns ListRolesRolesRole.SystemPermissions, and is useful for accessing the field via an interface.

func (*ListRolesRolesRole) GetViewPermissions

func (v *ListRolesRolesRole) GetViewPermissions() []Permission

GetViewPermissions returns ListRolesRolesRole.ViewPermissions, and is useful for accessing the field via an interface.

func (*ListRolesRolesRole) MarshalJSON

func (v *ListRolesRolesRole) MarshalJSON() ([]byte, error)

func (*ListRolesRolesRole) UnmarshalJSON

func (v *ListRolesRolesRole) UnmarshalJSON(b []byte) error

type ListScheduledSearchesResponse

type ListScheduledSearchesResponse struct {
	SearchDomain ListScheduledSearchesSearchDomain `json:"-"`
}

ListScheduledSearchesResponse is returned by ListScheduledSearches on success.

func ListScheduledSearches

func ListScheduledSearches(
	ctx_ context.Context,
	client_ graphql.Client,
	SearchDomainName string,
) (*ListScheduledSearchesResponse, error)

func (*ListScheduledSearchesResponse) GetSearchDomain

GetSearchDomain returns ListScheduledSearchesResponse.SearchDomain, and is useful for accessing the field via an interface.

func (*ListScheduledSearchesResponse) MarshalJSON

func (v *ListScheduledSearchesResponse) MarshalJSON() ([]byte, error)

func (*ListScheduledSearchesResponse) UnmarshalJSON

func (v *ListScheduledSearchesResponse) UnmarshalJSON(b []byte) error

type ListScheduledSearchesSearchDomain

type ListScheduledSearchesSearchDomain interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// GetScheduledSearches returns the interface-field "scheduledSearches" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// Common interface for Repositories and Views.
	GetScheduledSearches() []ListScheduledSearchesSearchDomainScheduledSearchesScheduledSearch
	// contains filtered or unexported methods
}

ListScheduledSearchesSearchDomain includes the requested fields of the GraphQL interface SearchDomain.

ListScheduledSearchesSearchDomain is implemented by the following types: ListScheduledSearchesSearchDomainRepository ListScheduledSearchesSearchDomainView The GraphQL type's documentation follows.

Common interface for Repositories and Views.

type ListScheduledSearchesSearchDomainRepository

type ListScheduledSearchesSearchDomainRepository struct {
	Typename *string `json:"__typename"`
	// Common interface for Repositories and Views.
	ScheduledSearches []ListScheduledSearchesSearchDomainScheduledSearchesScheduledSearch `json:"scheduledSearches"`
}

ListScheduledSearchesSearchDomainRepository includes the requested fields of the GraphQL type Repository. The GraphQL type's documentation follows.

A repository stores ingested data, configures parsers and data retention policies.

func (*ListScheduledSearchesSearchDomainRepository) GetScheduledSearches

GetScheduledSearches returns ListScheduledSearchesSearchDomainRepository.ScheduledSearches, and is useful for accessing the field via an interface.

func (*ListScheduledSearchesSearchDomainRepository) GetTypename

GetTypename returns ListScheduledSearchesSearchDomainRepository.Typename, and is useful for accessing the field via an interface.

type ListScheduledSearchesSearchDomainScheduledSearchesScheduledSearch

type ListScheduledSearchesSearchDomainScheduledSearchesScheduledSearch struct {
	ScheduledSearchDetails `json:"-"`
}

ListScheduledSearchesSearchDomainScheduledSearchesScheduledSearch includes the requested fields of the GraphQL type ScheduledSearch. The GraphQL type's documentation follows.

Information about a scheduled search

func (*ListScheduledSearchesSearchDomainScheduledSearchesScheduledSearch) GetActionsV2

GetActionsV2 returns ListScheduledSearchesSearchDomainScheduledSearchesScheduledSearch.ActionsV2, and is useful for accessing the field via an interface.

func (*ListScheduledSearchesSearchDomainScheduledSearchesScheduledSearch) GetBackfillLimit

GetBackfillLimit returns ListScheduledSearchesSearchDomainScheduledSearchesScheduledSearch.BackfillLimit, and is useful for accessing the field via an interface.

func (*ListScheduledSearchesSearchDomainScheduledSearchesScheduledSearch) GetDescription

GetDescription returns ListScheduledSearchesSearchDomainScheduledSearchesScheduledSearch.Description, and is useful for accessing the field via an interface.

func (*ListScheduledSearchesSearchDomainScheduledSearchesScheduledSearch) GetEnabled

GetEnabled returns ListScheduledSearchesSearchDomainScheduledSearchesScheduledSearch.Enabled, and is useful for accessing the field via an interface.

func (*ListScheduledSearchesSearchDomainScheduledSearchesScheduledSearch) GetEnd

GetEnd returns ListScheduledSearchesSearchDomainScheduledSearchesScheduledSearch.End, and is useful for accessing the field via an interface.

func (*ListScheduledSearchesSearchDomainScheduledSearchesScheduledSearch) GetId

GetId returns ListScheduledSearchesSearchDomainScheduledSearchesScheduledSearch.Id, and is useful for accessing the field via an interface.

func (*ListScheduledSearchesSearchDomainScheduledSearchesScheduledSearch) GetLabels

GetLabels returns ListScheduledSearchesSearchDomainScheduledSearchesScheduledSearch.Labels, and is useful for accessing the field via an interface.

func (*ListScheduledSearchesSearchDomainScheduledSearchesScheduledSearch) GetName

GetName returns ListScheduledSearchesSearchDomainScheduledSearchesScheduledSearch.Name, and is useful for accessing the field via an interface.

func (*ListScheduledSearchesSearchDomainScheduledSearchesScheduledSearch) GetQueryOwnership

GetQueryOwnership returns ListScheduledSearchesSearchDomainScheduledSearchesScheduledSearch.QueryOwnership, and is useful for accessing the field via an interface.

func (*ListScheduledSearchesSearchDomainScheduledSearchesScheduledSearch) GetQueryString

GetQueryString returns ListScheduledSearchesSearchDomainScheduledSearchesScheduledSearch.QueryString, and is useful for accessing the field via an interface.

func (*ListScheduledSearchesSearchDomainScheduledSearchesScheduledSearch) GetSchedule

GetSchedule returns ListScheduledSearchesSearchDomainScheduledSearchesScheduledSearch.Schedule, and is useful for accessing the field via an interface.

func (*ListScheduledSearchesSearchDomainScheduledSearchesScheduledSearch) GetStart

GetStart returns ListScheduledSearchesSearchDomainScheduledSearchesScheduledSearch.Start, and is useful for accessing the field via an interface.

func (*ListScheduledSearchesSearchDomainScheduledSearchesScheduledSearch) GetTimeZone

GetTimeZone returns ListScheduledSearchesSearchDomainScheduledSearchesScheduledSearch.TimeZone, and is useful for accessing the field via an interface.

func (*ListScheduledSearchesSearchDomainScheduledSearchesScheduledSearch) MarshalJSON

func (*ListScheduledSearchesSearchDomainScheduledSearchesScheduledSearch) UnmarshalJSON

type ListScheduledSearchesSearchDomainView

type ListScheduledSearchesSearchDomainView struct {
	Typename *string `json:"__typename"`
	// Common interface for Repositories and Views.
	ScheduledSearches []ListScheduledSearchesSearchDomainScheduledSearchesScheduledSearch `json:"scheduledSearches"`
}

ListScheduledSearchesSearchDomainView includes the requested fields of the GraphQL type View. The GraphQL type's documentation follows.

Represents information about a view, pulling data from one or several repositories.

func (*ListScheduledSearchesSearchDomainView) GetScheduledSearches

GetScheduledSearches returns ListScheduledSearchesSearchDomainView.ScheduledSearches, and is useful for accessing the field via an interface.

func (*ListScheduledSearchesSearchDomainView) GetTypename

GetTypename returns ListScheduledSearchesSearchDomainView.Typename, and is useful for accessing the field via an interface.

type ListSearchDomainsResponse

type ListSearchDomainsResponse struct {
	SearchDomains []ListSearchDomainsSearchDomainsSearchDomain `json:"-"`
}

ListSearchDomainsResponse is returned by ListSearchDomains on success.

func ListSearchDomains

func ListSearchDomains(
	ctx_ context.Context,
	client_ graphql.Client,
) (*ListSearchDomainsResponse, error)

func (*ListSearchDomainsResponse) GetSearchDomains

GetSearchDomains returns ListSearchDomainsResponse.SearchDomains, and is useful for accessing the field via an interface.

func (*ListSearchDomainsResponse) MarshalJSON

func (v *ListSearchDomainsResponse) MarshalJSON() ([]byte, error)

func (*ListSearchDomainsResponse) UnmarshalJSON

func (v *ListSearchDomainsResponse) UnmarshalJSON(b []byte) error

type ListSearchDomainsSearchDomainsRepository

type ListSearchDomainsSearchDomainsRepository struct {
	Typename *string `json:"__typename"`
	// Common interface for Repositories and Views.
	Name string `json:"name"`
	// Common interface for Repositories and Views.
	AutomaticSearch bool `json:"automaticSearch"`
}

ListSearchDomainsSearchDomainsRepository includes the requested fields of the GraphQL type Repository. The GraphQL type's documentation follows.

A repository stores ingested data, configures parsers and data retention policies.

func (*ListSearchDomainsSearchDomainsRepository) GetAutomaticSearch

func (v *ListSearchDomainsSearchDomainsRepository) GetAutomaticSearch() bool

GetAutomaticSearch returns ListSearchDomainsSearchDomainsRepository.AutomaticSearch, and is useful for accessing the field via an interface.

func (*ListSearchDomainsSearchDomainsRepository) GetName

GetName returns ListSearchDomainsSearchDomainsRepository.Name, and is useful for accessing the field via an interface.

func (*ListSearchDomainsSearchDomainsRepository) GetTypename

GetTypename returns ListSearchDomainsSearchDomainsRepository.Typename, and is useful for accessing the field via an interface.

type ListSearchDomainsSearchDomainsSearchDomain

type ListSearchDomainsSearchDomainsSearchDomain interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// GetName returns the interface-field "name" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// Common interface for Repositories and Views.
	GetName() string
	// GetAutomaticSearch returns the interface-field "automaticSearch" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// Common interface for Repositories and Views.
	GetAutomaticSearch() bool
	// contains filtered or unexported methods
}

ListSearchDomainsSearchDomainsSearchDomain includes the requested fields of the GraphQL interface SearchDomain.

ListSearchDomainsSearchDomainsSearchDomain is implemented by the following types: ListSearchDomainsSearchDomainsRepository ListSearchDomainsSearchDomainsView The GraphQL type's documentation follows.

Common interface for Repositories and Views.

type ListSearchDomainsSearchDomainsView

type ListSearchDomainsSearchDomainsView struct {
	Typename *string `json:"__typename"`
	// Common interface for Repositories and Views.
	Name string `json:"name"`
	// Common interface for Repositories and Views.
	AutomaticSearch bool `json:"automaticSearch"`
}

ListSearchDomainsSearchDomainsView includes the requested fields of the GraphQL type View. The GraphQL type's documentation follows.

Represents information about a view, pulling data from one or several repositories.

func (*ListSearchDomainsSearchDomainsView) GetAutomaticSearch

func (v *ListSearchDomainsSearchDomainsView) GetAutomaticSearch() bool

GetAutomaticSearch returns ListSearchDomainsSearchDomainsView.AutomaticSearch, and is useful for accessing the field via an interface.

func (*ListSearchDomainsSearchDomainsView) GetName

GetName returns ListSearchDomainsSearchDomainsView.Name, and is useful for accessing the field via an interface.

func (*ListSearchDomainsSearchDomainsView) GetTypename

func (v *ListSearchDomainsSearchDomainsView) GetTypename() *string

GetTypename returns ListSearchDomainsSearchDomainsView.Typename, and is useful for accessing the field via an interface.

type ListUsersResponse

type ListUsersResponse struct {
	// Requires manage cluster permission; Returns all users in the system.
	Users []ListUsersUsersUser `json:"users"`
}

ListUsersResponse is returned by ListUsers on success.

func ListUsers

func ListUsers(
	ctx_ context.Context,
	client_ graphql.Client,
) (*ListUsersResponse, error)

func (*ListUsersResponse) GetUsers

func (v *ListUsersResponse) GetUsers() []ListUsersUsersUser

GetUsers returns ListUsersResponse.Users, and is useful for accessing the field via an interface.

type ListUsersUsersUser

type ListUsersUsersUser struct {
	UserDetails `json:"-"`
}

ListUsersUsersUser includes the requested fields of the GraphQL type User. The GraphQL type's documentation follows.

A user profile.

func (*ListUsersUsersUser) GetCompany

func (v *ListUsersUsersUser) GetCompany() *string

GetCompany returns ListUsersUsersUser.Company, and is useful for accessing the field via an interface.

func (*ListUsersUsersUser) GetCountryCode

func (v *ListUsersUsersUser) GetCountryCode() *string

GetCountryCode returns ListUsersUsersUser.CountryCode, and is useful for accessing the field via an interface.

func (*ListUsersUsersUser) GetCreatedAt

func (v *ListUsersUsersUser) GetCreatedAt() time.Time

GetCreatedAt returns ListUsersUsersUser.CreatedAt, and is useful for accessing the field via an interface.

func (*ListUsersUsersUser) GetEmail

func (v *ListUsersUsersUser) GetEmail() *string

GetEmail returns ListUsersUsersUser.Email, and is useful for accessing the field via an interface.

func (*ListUsersUsersUser) GetFullName

func (v *ListUsersUsersUser) GetFullName() *string

GetFullName returns ListUsersUsersUser.FullName, and is useful for accessing the field via an interface.

func (*ListUsersUsersUser) GetId

func (v *ListUsersUsersUser) GetId() string

GetId returns ListUsersUsersUser.Id, and is useful for accessing the field via an interface.

func (*ListUsersUsersUser) GetIsRoot

func (v *ListUsersUsersUser) GetIsRoot() bool

GetIsRoot returns ListUsersUsersUser.IsRoot, and is useful for accessing the field via an interface.

func (*ListUsersUsersUser) GetPicture

func (v *ListUsersUsersUser) GetPicture() *string

GetPicture returns ListUsersUsersUser.Picture, and is useful for accessing the field via an interface.

func (*ListUsersUsersUser) GetUsername

func (v *ListUsersUsersUser) GetUsername() string

GetUsername returns ListUsersUsersUser.Username, and is useful for accessing the field via an interface.

func (*ListUsersUsersUser) MarshalJSON

func (v *ListUsersUsersUser) MarshalJSON() ([]byte, error)

func (*ListUsersUsersUser) UnmarshalJSON

func (v *ListUsersUsersUser) UnmarshalJSON(b []byte) error

type OrganizationPermission

type OrganizationPermission string

Organization permissions

const (
	OrganizationPermissionExportorganization                     OrganizationPermission = "ExportOrganization"
	OrganizationPermissionChangeorganizationpermissions          OrganizationPermission = "ChangeOrganizationPermissions"
	OrganizationPermissionChangeidentityproviders                OrganizationPermission = "ChangeIdentityProviders"
	OrganizationPermissionCreaterepository                       OrganizationPermission = "CreateRepository"
	OrganizationPermissionManageusers                            OrganizationPermission = "ManageUsers"
	OrganizationPermissionViewusage                              OrganizationPermission = "ViewUsage"
	OrganizationPermissionChangeorganizationsettings             OrganizationPermission = "ChangeOrganizationSettings"
	OrganizationPermissionChangeipfilters                        OrganizationPermission = "ChangeIPFilters"
	OrganizationPermissionChangesessions                         OrganizationPermission = "ChangeSessions"
	OrganizationPermissionChangeallvieworrepositorypermissions   OrganizationPermission = "ChangeAllViewOrRepositoryPermissions"
	OrganizationPermissionIngestacrossallreposwithinorganization OrganizationPermission = "IngestAcrossAllReposWithinOrganization"
	OrganizationPermissionDeleteallrepositories                  OrganizationPermission = "DeleteAllRepositories"
	OrganizationPermissionDeleteallviews                         OrganizationPermission = "DeleteAllViews"
	OrganizationPermissionViewallinternalnotifications           OrganizationPermission = "ViewAllInternalNotifications"
	OrganizationPermissionChangefleetmanagement                  OrganizationPermission = "ChangeFleetManagement"
	OrganizationPermissionViewfleetmanagement                    OrganizationPermission = "ViewFleetManagement"
	OrganizationPermissionChangetriggerstorunasotherusers        OrganizationPermission = "ChangeTriggersToRunAsOtherUsers"
	OrganizationPermissionMonitorqueries                         OrganizationPermission = "MonitorQueries"
	OrganizationPermissionBlockqueries                           OrganizationPermission = "BlockQueries"
	OrganizationPermissionChangesecuritypolicies                 OrganizationPermission = "ChangeSecurityPolicies"
	OrganizationPermissionChangeexternalfunctions                OrganizationPermission = "ChangeExternalFunctions"
	OrganizationPermissionChangefieldaliases                     OrganizationPermission = "ChangeFieldAliases"
	OrganizationPermissionManageviewconnections                  OrganizationPermission = "ManageViewConnections"
)

type PackageInstallationSourceType

type PackageInstallationSourceType string
const (
	PackageInstallationSourceTypeHumiohub PackageInstallationSourceType = "HumioHub"
	PackageInstallationSourceTypeZipfile  PackageInstallationSourceType = "ZipFile"
)

type ParserDetails

type ParserDetails struct {
	// The id of the parser.
	Id string `json:"id"`
	// Name of the parser.
	Name string `json:"name"`
	// The full name of the parser including package information if part of an application.
	DisplayName string `json:"displayName"`
	// The description of the parser.
	Description *string `json:"description"`
	// True if the parser is one of LogScale's built-in parsers.
	IsBuiltIn bool `json:"isBuiltIn"`
	// The parser script that is executed for every incoming event.
	Script string `json:"script"`
	// Fields that are used as tags.
	FieldsToTag []string `json:"fieldsToTag"`
	// A list of fields that will be removed from the event before it's parsed. These fields will not be included when calculating usage.
	FieldsToBeRemovedBeforeParsing []string `json:"fieldsToBeRemovedBeforeParsing"`
	// Test cases that can be used to help verify that the parser works as expected.
	TestCases []ParserDetailsTestCasesParserTestCase `json:"testCases"`
}

ParserDetails includes the GraphQL fields of Parser requested by the fragment ParserDetails. The GraphQL type's documentation follows.

A configured parser for incoming data.

func (*ParserDetails) GetDescription

func (v *ParserDetails) GetDescription() *string

GetDescription returns ParserDetails.Description, and is useful for accessing the field via an interface.

func (*ParserDetails) GetDisplayName

func (v *ParserDetails) GetDisplayName() string

GetDisplayName returns ParserDetails.DisplayName, and is useful for accessing the field via an interface.

func (*ParserDetails) GetFieldsToBeRemovedBeforeParsing

func (v *ParserDetails) GetFieldsToBeRemovedBeforeParsing() []string

GetFieldsToBeRemovedBeforeParsing returns ParserDetails.FieldsToBeRemovedBeforeParsing, and is useful for accessing the field via an interface.

func (*ParserDetails) GetFieldsToTag

func (v *ParserDetails) GetFieldsToTag() []string

GetFieldsToTag returns ParserDetails.FieldsToTag, and is useful for accessing the field via an interface.

func (*ParserDetails) GetId

func (v *ParserDetails) GetId() string

GetId returns ParserDetails.Id, and is useful for accessing the field via an interface.

func (*ParserDetails) GetIsBuiltIn

func (v *ParserDetails) GetIsBuiltIn() bool

GetIsBuiltIn returns ParserDetails.IsBuiltIn, and is useful for accessing the field via an interface.

func (*ParserDetails) GetName

func (v *ParserDetails) GetName() string

GetName returns ParserDetails.Name, and is useful for accessing the field via an interface.

func (*ParserDetails) GetScript

func (v *ParserDetails) GetScript() string

GetScript returns ParserDetails.Script, and is useful for accessing the field via an interface.

func (*ParserDetails) GetTestCases

GetTestCases returns ParserDetails.TestCases, and is useful for accessing the field via an interface.

type ParserDetailsTestCasesParserTestCase

type ParserDetailsTestCasesParserTestCase struct {
	// The event to parse and test on.
	Event ParserDetailsTestCasesParserTestCaseEventParserTestEvent `json:"event"`
	// Assertions on the shape of the test case output events. The list consists of key-value pairs to be treated as a map-construct, where the index of the output event is the key, and the assertions are the value.
	OutputAssertions []ParserDetailsTestCasesParserTestCaseOutputAssertionsParserTestCaseAssertionsForOutput `json:"outputAssertions"`
}

ParserDetailsTestCasesParserTestCase includes the requested fields of the GraphQL type ParserTestCase. The GraphQL type's documentation follows.

A test case for a parser.

func (*ParserDetailsTestCasesParserTestCase) GetEvent

GetEvent returns ParserDetailsTestCasesParserTestCase.Event, and is useful for accessing the field via an interface.

func (*ParserDetailsTestCasesParserTestCase) GetOutputAssertions

GetOutputAssertions returns ParserDetailsTestCasesParserTestCase.OutputAssertions, and is useful for accessing the field via an interface.

type ParserDetailsTestCasesParserTestCaseEventParserTestEvent

type ParserDetailsTestCasesParserTestCaseEventParserTestEvent struct {
	// The contents of the `@rawstring` field when the event begins parsing.
	RawString string `json:"rawString"`
}

ParserDetailsTestCasesParserTestCaseEventParserTestEvent includes the requested fields of the GraphQL type ParserTestEvent. The GraphQL type's documentation follows.

An event for a parser to parse during testing.

func (*ParserDetailsTestCasesParserTestCaseEventParserTestEvent) GetRawString

GetRawString returns ParserDetailsTestCasesParserTestCaseEventParserTestEvent.RawString, and is useful for accessing the field via an interface.

type ParserDetailsTestCasesParserTestCaseOutputAssertionsParserTestCaseAssertionsForOutput

type ParserDetailsTestCasesParserTestCaseOutputAssertionsParserTestCaseAssertionsForOutput struct {
	// Assertions on the shape of a given test case output event.
	Assertions ParserDetailsTestCasesParserTestCaseOutputAssertionsParserTestCaseAssertionsForOutputAssertionsParserTestCaseOutputAssertions `json:"assertions"`
	// The index of the output event which the assertions should apply to.
	OutputEventIndex int `json:"outputEventIndex"`
}

ParserDetailsTestCasesParserTestCaseOutputAssertionsParserTestCaseAssertionsForOutput includes the requested fields of the GraphQL type ParserTestCaseAssertionsForOutput. The GraphQL type's documentation follows.

Assertions on the shape of the given output event. It is a key-value pair, where the index of the output event is the key, and the assertions are the value.

func (*ParserDetailsTestCasesParserTestCaseOutputAssertionsParserTestCaseAssertionsForOutput) GetAssertions

GetAssertions returns ParserDetailsTestCasesParserTestCaseOutputAssertionsParserTestCaseAssertionsForOutput.Assertions, and is useful for accessing the field via an interface.

func (*ParserDetailsTestCasesParserTestCaseOutputAssertionsParserTestCaseAssertionsForOutput) GetOutputEventIndex

GetOutputEventIndex returns ParserDetailsTestCasesParserTestCaseOutputAssertionsParserTestCaseAssertionsForOutput.OutputEventIndex, and is useful for accessing the field via an interface.

type ParserDetailsTestCasesParserTestCaseOutputAssertionsParserTestCaseAssertionsForOutputAssertionsParserTestCaseOutputAssertions

type ParserDetailsTestCasesParserTestCaseOutputAssertionsParserTestCaseAssertionsForOutputAssertionsParserTestCaseOutputAssertions struct {
	// Names of fields and their expected value on the output event. These are key-value pairs, and should be treated as a map-construct.
	FieldsHaveValues []ParserDetailsTestCasesParserTestCaseOutputAssertionsParserTestCaseAssertionsForOutputAssertionsParserTestCaseOutputAssertionsFieldsHaveValuesFieldHasValue `json:"fieldsHaveValues"`
	// Names of fields which should not be present on the output event.
	FieldsNotPresent []string `json:"fieldsNotPresent"`
}

ParserDetailsTestCasesParserTestCaseOutputAssertionsParserTestCaseAssertionsForOutputAssertionsParserTestCaseOutputAssertions includes the requested fields of the GraphQL type ParserTestCaseOutputAssertions. The GraphQL type's documentation follows.

Assertions on the shape of a given test case output event.

func (*ParserDetailsTestCasesParserTestCaseOutputAssertionsParserTestCaseAssertionsForOutputAssertionsParserTestCaseOutputAssertions) GetFieldsHaveValues

GetFieldsHaveValues returns ParserDetailsTestCasesParserTestCaseOutputAssertionsParserTestCaseAssertionsForOutputAssertionsParserTestCaseOutputAssertions.FieldsHaveValues, and is useful for accessing the field via an interface.

func (*ParserDetailsTestCasesParserTestCaseOutputAssertionsParserTestCaseAssertionsForOutputAssertionsParserTestCaseOutputAssertions) GetFieldsNotPresent

GetFieldsNotPresent returns ParserDetailsTestCasesParserTestCaseOutputAssertionsParserTestCaseAssertionsForOutputAssertionsParserTestCaseOutputAssertions.FieldsNotPresent, and is useful for accessing the field via an interface.

type ParserDetailsTestCasesParserTestCaseOutputAssertionsParserTestCaseAssertionsForOutputAssertionsParserTestCaseOutputAssertionsFieldsHaveValuesFieldHasValue

type ParserDetailsTestCasesParserTestCaseOutputAssertionsParserTestCaseAssertionsForOutputAssertionsParserTestCaseOutputAssertionsFieldsHaveValuesFieldHasValue struct {
	// Field to assert on.
	FieldName string `json:"fieldName"`
	// Value expected to be contained in the field.
	ExpectedValue string `json:"expectedValue"`
}

ParserDetailsTestCasesParserTestCaseOutputAssertionsParserTestCaseAssertionsForOutputAssertionsParserTestCaseOutputAssertionsFieldsHaveValuesFieldHasValue includes the requested fields of the GraphQL type FieldHasValue. The GraphQL type's documentation follows.

An assertion that an event output from a parser test case has an expected value for a given field.

func (*ParserDetailsTestCasesParserTestCaseOutputAssertionsParserTestCaseAssertionsForOutputAssertionsParserTestCaseOutputAssertionsFieldsHaveValuesFieldHasValue) GetExpectedValue

GetExpectedValue returns ParserDetailsTestCasesParserTestCaseOutputAssertionsParserTestCaseAssertionsForOutputAssertionsParserTestCaseOutputAssertionsFieldsHaveValuesFieldHasValue.ExpectedValue, and is useful for accessing the field via an interface.

func (*ParserDetailsTestCasesParserTestCaseOutputAssertionsParserTestCaseAssertionsForOutputAssertionsParserTestCaseOutputAssertionsFieldsHaveValuesFieldHasValue) GetFieldName

GetFieldName returns ParserDetailsTestCasesParserTestCaseOutputAssertionsParserTestCaseAssertionsForOutputAssertionsParserTestCaseOutputAssertionsFieldsHaveValuesFieldHasValue.FieldName, and is useful for accessing the field via an interface.

type ParserTestCaseAssertionsForOutputInput

type ParserTestCaseAssertionsForOutputInput struct {
	// Assertions on the shape of a given test case output event. It is a key-pair value, where the index of the output event is the key, and the assertions are the value.
	OutputEventIndex int `json:"outputEventIndex"`
	// Assertions on the shape of a given test case output event. It is a key-pair value, where the index of the output event is the key, and the assertions are the value.
	Assertions ParserTestCaseOutputAssertionsInput `json:"assertions"`
}

Assertions on the shape of a given test case output event. It is a key-pair value, where the index of the output event is the key, and the assertions are the value.

func (*ParserTestCaseAssertionsForOutputInput) GetAssertions

GetAssertions returns ParserTestCaseAssertionsForOutputInput.Assertions, and is useful for accessing the field via an interface.

func (*ParserTestCaseAssertionsForOutputInput) GetOutputEventIndex

func (v *ParserTestCaseAssertionsForOutputInput) GetOutputEventIndex() int

GetOutputEventIndex returns ParserTestCaseAssertionsForOutputInput.OutputEventIndex, and is useful for accessing the field via an interface.

type ParserTestCaseInput

type ParserTestCaseInput struct {
	// A test case for a parser.
	Event ParserTestEventInput `json:"event"`
	// A test case for a parser.
	OutputAssertions []ParserTestCaseAssertionsForOutputInput `json:"outputAssertions"`
}

A test case for a parser.

func (*ParserTestCaseInput) GetEvent

GetEvent returns ParserTestCaseInput.Event, and is useful for accessing the field via an interface.

func (*ParserTestCaseInput) GetOutputAssertions

GetOutputAssertions returns ParserTestCaseInput.OutputAssertions, and is useful for accessing the field via an interface.

type ParserTestCaseOutputAssertionsInput

type ParserTestCaseOutputAssertionsInput struct {
	// Assertions on the shape of a given test case output event.
	FieldsNotPresent []string `json:"fieldsNotPresent"`
	// Assertions on the shape of a given test case output event.
	FieldsHaveValues []FieldHasValueInput `json:"fieldsHaveValues"`
}

Assertions on the shape of a given test case output event.

func (*ParserTestCaseOutputAssertionsInput) GetFieldsHaveValues

func (v *ParserTestCaseOutputAssertionsInput) GetFieldsHaveValues() []FieldHasValueInput

GetFieldsHaveValues returns ParserTestCaseOutputAssertionsInput.FieldsHaveValues, and is useful for accessing the field via an interface.

func (*ParserTestCaseOutputAssertionsInput) GetFieldsNotPresent

func (v *ParserTestCaseOutputAssertionsInput) GetFieldsNotPresent() []string

GetFieldsNotPresent returns ParserTestCaseOutputAssertionsInput.FieldsNotPresent, and is useful for accessing the field via an interface.

type ParserTestEventInput

type ParserTestEventInput struct {
	// An event for a parser to parse during testing.
	RawString string `json:"rawString"`
}

An event for a parser to parse during testing.

func (*ParserTestEventInput) GetRawString

func (v *ParserTestEventInput) GetRawString() string

GetRawString returns ParserTestEventInput.RawString, and is useful for accessing the field via an interface.

type Permission

type Permission string

Permissions on a view

const (
	PermissionChangeuseraccess Permission = "ChangeUserAccess"
	// Permission to administer alerts, scheduled searches and actions
	PermissionChangetriggersandactions Permission = "ChangeTriggersAndActions"
	// Permission to administer alerts and scheduled searches
	PermissionChangetriggers Permission = "ChangeTriggers"
	// Permission to administer actions
	PermissionChangeactions                     Permission = "ChangeActions"
	PermissionChangedashboards                  Permission = "ChangeDashboards"
	PermissionChangedashboardreadonlytoken      Permission = "ChangeDashboardReadonlyToken"
	PermissionChangefiles                       Permission = "ChangeFiles"
	PermissionChangeinteractions                Permission = "ChangeInteractions"
	PermissionChangeparsers                     Permission = "ChangeParsers"
	PermissionChangesavedqueries                Permission = "ChangeSavedQueries"
	PermissionConnectview                       Permission = "ConnectView"
	PermissionChangedatadeletionpermissions     Permission = "ChangeDataDeletionPermissions"
	PermissionChangeretention                   Permission = "ChangeRetention"
	PermissionChangedefaultsearchsettings       Permission = "ChangeDefaultSearchSettings"
	PermissionChanges3archivingsettings         Permission = "ChangeS3ArchivingSettings"
	PermissionDeletedatasources                 Permission = "DeleteDataSources"
	PermissionDeleterepositoryorview            Permission = "DeleteRepositoryOrView"
	PermissionDeleteevents                      Permission = "DeleteEvents"
	PermissionReadaccess                        Permission = "ReadAccess"
	PermissionChangeingesttokens                Permission = "ChangeIngestTokens"
	PermissionChangepackages                    Permission = "ChangePackages"
	PermissionChangevieworrepositorydescription Permission = "ChangeViewOrRepositoryDescription"
	PermissionChangeconnections                 Permission = "ChangeConnections"
	// Permission to administer event forwarding rules
	PermissionEventforwarding                   Permission = "EventForwarding"
	PermissionQuerydashboard                    Permission = "QueryDashboard"
	PermissionChangevieworrepositorypermissions Permission = "ChangeViewOrRepositoryPermissions"
	PermissionChangefdrfeeds                    Permission = "ChangeFdrFeeds"
	PermissionOrganizationownedqueries          Permission = "OrganizationOwnedQueries"
	PermissionReadexternalfunctions             Permission = "ReadExternalFunctions"
	PermissionChangeingestfeeds                 Permission = "ChangeIngestFeeds"
	PermissionChangescheduledreports            Permission = "ChangeScheduledReports"
)

type QueryOwnership

type QueryOwnership interface {

	// GetId returns the interface-field "id" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// Query ownership
	GetId() string
	// contains filtered or unexported methods
}

QueryOwnership includes the GraphQL fields of QueryOwnership requested by the fragment QueryOwnership. The GraphQL type's documentation follows.

Query ownership

QueryOwnership is implemented by the following types: QueryOwnershipOrganizationOwnership QueryOwnershipUserOwnership

type QueryOwnershipOrganizationOwnership

type QueryOwnershipOrganizationOwnership struct {
	// Query ownership
	Id string `json:"id"`
}

QueryOwnership includes the GraphQL fields of OrganizationOwnership requested by the fragment QueryOwnership. The GraphQL type's documentation follows.

Query ownership

func (*QueryOwnershipOrganizationOwnership) GetId

GetId returns QueryOwnershipOrganizationOwnership.Id, and is useful for accessing the field via an interface.

type QueryOwnershipType

type QueryOwnershipType string

The type of query ownership

const (
	// Queries run on behalf of user
	QueryOwnershipTypeUser QueryOwnershipType = "User"
	// Queries run on behalf of the organization
	QueryOwnershipTypeOrganization QueryOwnershipType = "Organization"
)

type QueryOwnershipUserOwnership

type QueryOwnershipUserOwnership struct {
	// Query ownership
	Id string `json:"id"`
}

QueryOwnership includes the GraphQL fields of UserOwnership requested by the fragment QueryOwnership. The GraphQL type's documentation follows.

Query ownership

func (*QueryOwnershipUserOwnership) GetId

GetId returns QueryOwnershipUserOwnership.Id, and is useful for accessing the field via an interface.

type QueryTimestampType

type QueryTimestampType string

Timestamp type to use for a query.

const (
	// Use @timestamp for the query.
	QueryTimestampTypeEventtimestamp QueryTimestampType = "EventTimestamp"
	// Use @ingesttimestamp for the query.
	QueryTimestampTypeIngesttimestamp QueryTimestampType = "IngestTimestamp"
)

type RemoveFileRemoveFileBooleanResultType

type RemoveFileRemoveFileBooleanResultType struct {
	Typename *string `json:"__typename"`
}

RemoveFileRemoveFileBooleanResultType includes the requested fields of the GraphQL type BooleanResultType.

func (*RemoveFileRemoveFileBooleanResultType) GetTypename

GetTypename returns RemoveFileRemoveFileBooleanResultType.Typename, and is useful for accessing the field via an interface.

type RemoveFileResponse

type RemoveFileResponse struct {
	// Remove file
	RemoveFile RemoveFileRemoveFileBooleanResultType `json:"removeFile"`
}

RemoveFileResponse is returned by RemoveFile on success.

func RemoveFile

func RemoveFile(
	ctx_ context.Context,
	client_ graphql.Client,
	SearchDomainName string,
	FileName string,
) (*RemoveFileResponse, error)

func (*RemoveFileResponse) GetRemoveFile

GetRemoveFile returns RemoveFileResponse.RemoveFile, and is useful for accessing the field via an interface.

type RemoveIngestTokenRemoveIngestTokenBooleanResultType

type RemoveIngestTokenRemoveIngestTokenBooleanResultType struct {
	Typename *string `json:"__typename"`
}

RemoveIngestTokenRemoveIngestTokenBooleanResultType includes the requested fields of the GraphQL type BooleanResultType.

func (*RemoveIngestTokenRemoveIngestTokenBooleanResultType) GetTypename

GetTypename returns RemoveIngestTokenRemoveIngestTokenBooleanResultType.Typename, and is useful for accessing the field via an interface.

type RemoveIngestTokenResponse

type RemoveIngestTokenResponse struct {
	// Remove an Ingest Token.
	RemoveIngestToken RemoveIngestTokenRemoveIngestTokenBooleanResultType `json:"removeIngestToken"`
}

RemoveIngestTokenResponse is returned by RemoveIngestToken on success.

func RemoveIngestToken

func RemoveIngestToken(
	ctx_ context.Context,
	client_ graphql.Client,
	RepositoryName string,
	Name string,
) (*RemoveIngestTokenResponse, error)

func (*RemoveIngestTokenResponse) GetRemoveIngestToken

GetRemoveIngestToken returns RemoveIngestTokenResponse.RemoveIngestToken, and is useful for accessing the field via an interface.

type RemoveUserFromGroupRemoveUsersFromGroupRemoveUsersFromGroupMutation

type RemoveUserFromGroupRemoveUsersFromGroupRemoveUsersFromGroupMutation struct {
	Typename *string `json:"__typename"`
}

RemoveUserFromGroupRemoveUsersFromGroupRemoveUsersFromGroupMutation includes the requested fields of the GraphQL type RemoveUsersFromGroupMutation.

func (*RemoveUserFromGroupRemoveUsersFromGroupRemoveUsersFromGroupMutation) GetTypename

GetTypename returns RemoveUserFromGroupRemoveUsersFromGroupRemoveUsersFromGroupMutation.Typename, and is useful for accessing the field via an interface.

type RemoveUserFromGroupResponse

type RemoveUserFromGroupResponse struct {
	// Removes users from an existing group.
	RemoveUsersFromGroup RemoveUserFromGroupRemoveUsersFromGroupRemoveUsersFromGroupMutation `json:"removeUsersFromGroup"`
}

RemoveUserFromGroupResponse is returned by RemoveUserFromGroup on success.

func RemoveUserFromGroup

func RemoveUserFromGroup(
	ctx_ context.Context,
	client_ graphql.Client,
	GroupID string,
	UserID string,
) (*RemoveUserFromGroupResponse, error)

func (*RemoveUserFromGroupResponse) GetRemoveUsersFromGroup

GetRemoveUsersFromGroup returns RemoveUserFromGroupResponse.RemoveUsersFromGroup, and is useful for accessing the field via an interface.

type RemoveUserRemoveUserRemoveUserMutation

type RemoveUserRemoveUserRemoveUserMutation struct {
	User RemoveUserRemoveUserRemoveUserMutationUser `json:"user"`
}

RemoveUserRemoveUserRemoveUserMutation includes the requested fields of the GraphQL type RemoveUserMutation.

func (*RemoveUserRemoveUserRemoveUserMutation) GetUser

GetUser returns RemoveUserRemoveUserRemoveUserMutation.User, and is useful for accessing the field via an interface.

type RemoveUserRemoveUserRemoveUserMutationUser

type RemoveUserRemoveUserRemoveUserMutationUser struct {
	UserDetails `json:"-"`
}

RemoveUserRemoveUserRemoveUserMutationUser includes the requested fields of the GraphQL type User. The GraphQL type's documentation follows.

A user profile.

func (*RemoveUserRemoveUserRemoveUserMutationUser) GetCompany

GetCompany returns RemoveUserRemoveUserRemoveUserMutationUser.Company, and is useful for accessing the field via an interface.

func (*RemoveUserRemoveUserRemoveUserMutationUser) GetCountryCode

GetCountryCode returns RemoveUserRemoveUserRemoveUserMutationUser.CountryCode, and is useful for accessing the field via an interface.

func (*RemoveUserRemoveUserRemoveUserMutationUser) GetCreatedAt

GetCreatedAt returns RemoveUserRemoveUserRemoveUserMutationUser.CreatedAt, and is useful for accessing the field via an interface.

func (*RemoveUserRemoveUserRemoveUserMutationUser) GetEmail

GetEmail returns RemoveUserRemoveUserRemoveUserMutationUser.Email, and is useful for accessing the field via an interface.

func (*RemoveUserRemoveUserRemoveUserMutationUser) GetFullName

GetFullName returns RemoveUserRemoveUserRemoveUserMutationUser.FullName, and is useful for accessing the field via an interface.

func (*RemoveUserRemoveUserRemoveUserMutationUser) GetId

GetId returns RemoveUserRemoveUserRemoveUserMutationUser.Id, and is useful for accessing the field via an interface.

func (*RemoveUserRemoveUserRemoveUserMutationUser) GetIsRoot

GetIsRoot returns RemoveUserRemoveUserRemoveUserMutationUser.IsRoot, and is useful for accessing the field via an interface.

func (*RemoveUserRemoveUserRemoveUserMutationUser) GetPicture

GetPicture returns RemoveUserRemoveUserRemoveUserMutationUser.Picture, and is useful for accessing the field via an interface.

func (*RemoveUserRemoveUserRemoveUserMutationUser) GetUsername

GetUsername returns RemoveUserRemoveUserRemoveUserMutationUser.Username, and is useful for accessing the field via an interface.

func (*RemoveUserRemoveUserRemoveUserMutationUser) MarshalJSON

func (*RemoveUserRemoveUserRemoveUserMutationUser) UnmarshalJSON

type RemoveUserResponse

type RemoveUserResponse struct {
	// Remove a user.
	RemoveUser RemoveUserRemoveUserRemoveUserMutation `json:"removeUser"`
}

RemoveUserResponse is returned by RemoveUser on success.

func RemoveUser

func RemoveUser(
	ctx_ context.Context,
	client_ graphql.Client,
	Username string,
) (*RemoveUserResponse, error)

func (*RemoveUserResponse) GetRemoveUser

GetRemoveUser returns RemoveUserResponse.RemoveUser, and is useful for accessing the field via an interface.

type RepositoryDetails

type RepositoryDetails struct {
	Id          string  `json:"id"`
	Name        string  `json:"name"`
	Description *string `json:"description"`
	// The maximum time (in days) to keep data. Data old than this will be deleted.
	TimeBasedRetention *float64 `json:"timeBasedRetention"`
	// Retention (in Gigabytes) based on the size of data when it arrives to LogScale, that is before parsing and compression. LogScale will keep `at most` this amount of data.
	IngestSizeBasedRetention *float64 `json:"ingestSizeBasedRetention"`
	// Retention (in Gigabytes) based on the size of data when in storage, that is, after parsing and compression. LogScale will keep `at least` this amount of data, but as close to this number as possible.
	StorageSizeBasedRetention *float64 `json:"storageSizeBasedRetention"`
	// Total size of data. Size is measured as the size after compression.
	CompressedByteSize int64 `json:"compressedByteSize"`
	AutomaticSearch    bool  `json:"automaticSearch"`
	// Configuration for S3 archiving. E.g. bucket name and region.
	S3ArchivingConfiguration *RepositoryDetailsS3ArchivingConfigurationS3Configuration `json:"s3ArchivingConfiguration"`
}

RepositoryDetails includes the GraphQL fields of Repository requested by the fragment RepositoryDetails. The GraphQL type's documentation follows.

A repository stores ingested data, configures parsers and data retention policies.

func (*RepositoryDetails) GetAutomaticSearch

func (v *RepositoryDetails) GetAutomaticSearch() bool

GetAutomaticSearch returns RepositoryDetails.AutomaticSearch, and is useful for accessing the field via an interface.

func (*RepositoryDetails) GetCompressedByteSize

func (v *RepositoryDetails) GetCompressedByteSize() int64

GetCompressedByteSize returns RepositoryDetails.CompressedByteSize, and is useful for accessing the field via an interface.

func (*RepositoryDetails) GetDescription

func (v *RepositoryDetails) GetDescription() *string

GetDescription returns RepositoryDetails.Description, and is useful for accessing the field via an interface.

func (*RepositoryDetails) GetId

func (v *RepositoryDetails) GetId() string

GetId returns RepositoryDetails.Id, and is useful for accessing the field via an interface.

func (*RepositoryDetails) GetIngestSizeBasedRetention

func (v *RepositoryDetails) GetIngestSizeBasedRetention() *float64

GetIngestSizeBasedRetention returns RepositoryDetails.IngestSizeBasedRetention, and is useful for accessing the field via an interface.

func (*RepositoryDetails) GetName

func (v *RepositoryDetails) GetName() string

GetName returns RepositoryDetails.Name, and is useful for accessing the field via an interface.

func (*RepositoryDetails) GetS3ArchivingConfiguration

GetS3ArchivingConfiguration returns RepositoryDetails.S3ArchivingConfiguration, and is useful for accessing the field via an interface.

func (*RepositoryDetails) GetStorageSizeBasedRetention

func (v *RepositoryDetails) GetStorageSizeBasedRetention() *float64

GetStorageSizeBasedRetention returns RepositoryDetails.StorageSizeBasedRetention, and is useful for accessing the field via an interface.

func (*RepositoryDetails) GetTimeBasedRetention

func (v *RepositoryDetails) GetTimeBasedRetention() *float64

GetTimeBasedRetention returns RepositoryDetails.TimeBasedRetention, and is useful for accessing the field via an interface.

type RepositoryDetailsS3ArchivingConfigurationS3Configuration

type RepositoryDetailsS3ArchivingConfigurationS3Configuration struct {
	// S3 bucket name for storing archived data. Example: acme-bucket.
	Bucket string `json:"bucket"`
	// The region the S3 bucket belongs to. Example: eu-central-1.
	Region string `json:"region"`
	// Whether the archiving has been disabled.
	Disabled *bool `json:"disabled"`
	// The format to store the archived data in on S3.
	Format *S3ArchivingFormat `json:"format"`
}

RepositoryDetailsS3ArchivingConfigurationS3Configuration includes the requested fields of the GraphQL type S3Configuration. The GraphQL type's documentation follows.

Configuration for S3 archiving. E.g. bucket name and region.

func (*RepositoryDetailsS3ArchivingConfigurationS3Configuration) GetBucket

GetBucket returns RepositoryDetailsS3ArchivingConfigurationS3Configuration.Bucket, and is useful for accessing the field via an interface.

func (*RepositoryDetailsS3ArchivingConfigurationS3Configuration) GetDisabled

GetDisabled returns RepositoryDetailsS3ArchivingConfigurationS3Configuration.Disabled, and is useful for accessing the field via an interface.

func (*RepositoryDetailsS3ArchivingConfigurationS3Configuration) GetFormat

GetFormat returns RepositoryDetailsS3ArchivingConfigurationS3Configuration.Format, and is useful for accessing the field via an interface.

func (*RepositoryDetailsS3ArchivingConfigurationS3Configuration) GetRegion

GetRegion returns RepositoryDetailsS3ArchivingConfigurationS3Configuration.Region, and is useful for accessing the field via an interface.

type RoleDetails

type RoleDetails struct {
	Id                      string                   `json:"id"`
	DisplayName             string                   `json:"displayName"`
	ViewPermissions         []Permission             `json:"viewPermissions"`
	OrganizationPermissions []OrganizationPermission `json:"organizationPermissions"`
	SystemPermissions       []SystemPermission       `json:"systemPermissions"`
}

RoleDetails includes the GraphQL fields of Role requested by the fragment RoleDetails.

func (*RoleDetails) GetDisplayName

func (v *RoleDetails) GetDisplayName() string

GetDisplayName returns RoleDetails.DisplayName, and is useful for accessing the field via an interface.

func (*RoleDetails) GetId

func (v *RoleDetails) GetId() string

GetId returns RoleDetails.Id, and is useful for accessing the field via an interface.

func (*RoleDetails) GetOrganizationPermissions

func (v *RoleDetails) GetOrganizationPermissions() []OrganizationPermission

GetOrganizationPermissions returns RoleDetails.OrganizationPermissions, and is useful for accessing the field via an interface.

func (*RoleDetails) GetSystemPermissions

func (v *RoleDetails) GetSystemPermissions() []SystemPermission

GetSystemPermissions returns RoleDetails.SystemPermissions, and is useful for accessing the field via an interface.

func (*RoleDetails) GetViewPermissions

func (v *RoleDetails) GetViewPermissions() []Permission

GetViewPermissions returns RoleDetails.ViewPermissions, and is useful for accessing the field via an interface.

type RotateTokenByIDResponse

type RotateTokenByIDResponse struct {
	// Rotate a token
	RotateToken string `json:"rotateToken"`
}

RotateTokenByIDResponse is returned by RotateTokenByID on success.

func RotateTokenByID

func RotateTokenByID(
	ctx_ context.Context,
	client_ graphql.Client,
	TokenID string,
) (*RotateTokenByIDResponse, error)

func (*RotateTokenByIDResponse) GetRotateToken

func (v *RotateTokenByIDResponse) GetRotateToken() string

GetRotateToken returns RotateTokenByIDResponse.RotateToken, and is useful for accessing the field via an interface.

type S3ArchivingFormat

type S3ArchivingFormat string

The format to store archived segments in on AWS S3.

const (
	S3ArchivingFormatRaw    S3ArchivingFormat = "RAW"
	S3ArchivingFormatNdjson S3ArchivingFormat = "NDJSON"
)

type ScheduledSearchDetails

type ScheduledSearchDetails struct {
	// Id of the scheduled search.
	Id string `json:"id"`
	// Name of the scheduled search.
	Name string `json:"name"`
	// Description of the scheduled search.
	Description *string `json:"description"`
	// LogScale query to execute.
	QueryString string `json:"queryString"`
	// Start of the relative time interval for the query.
	Start string `json:"start"`
	// End of the relative time interval for the query.
	End string `json:"end"`
	// Time zone of the schedule. Currently this field only supports UTC offsets like 'UTC', 'UTC-01' or 'UTC+12:45'.
	TimeZone string `json:"timeZone"`
	// Cron pattern describing the schedule to execute the query on.
	Schedule string `json:"schedule"`
	// User-defined limit, which caps the number of missed searches to backfill, e.g. in the event of a shutdown.
	BackfillLimit int `json:"backfillLimit"`
	// Flag indicating whether the scheduled search is enabled.
	Enabled bool `json:"enabled"`
	// List of actions to fire on query result.
	ActionsV2 []ScheduledSearchDetailsActionsV2Action `json:"-"`
	// Labels added to the scheduled search.
	Labels []string `json:"labels"`
	// Ownership of the query run by this scheduled search
	QueryOwnership SharedQueryOwnershipType `json:"-"`
}

ScheduledSearchDetails includes the GraphQL fields of ScheduledSearch requested by the fragment ScheduledSearchDetails. The GraphQL type's documentation follows.

Information about a scheduled search

func (*ScheduledSearchDetails) GetActionsV2

GetActionsV2 returns ScheduledSearchDetails.ActionsV2, and is useful for accessing the field via an interface.

func (*ScheduledSearchDetails) GetBackfillLimit

func (v *ScheduledSearchDetails) GetBackfillLimit() int

GetBackfillLimit returns ScheduledSearchDetails.BackfillLimit, and is useful for accessing the field via an interface.

func (*ScheduledSearchDetails) GetDescription

func (v *ScheduledSearchDetails) GetDescription() *string

GetDescription returns ScheduledSearchDetails.Description, and is useful for accessing the field via an interface.

func (*ScheduledSearchDetails) GetEnabled

func (v *ScheduledSearchDetails) GetEnabled() bool

GetEnabled returns ScheduledSearchDetails.Enabled, and is useful for accessing the field via an interface.

func (*ScheduledSearchDetails) GetEnd

func (v *ScheduledSearchDetails) GetEnd() string

GetEnd returns ScheduledSearchDetails.End, and is useful for accessing the field via an interface.

func (*ScheduledSearchDetails) GetId

func (v *ScheduledSearchDetails) GetId() string

GetId returns ScheduledSearchDetails.Id, and is useful for accessing the field via an interface.

func (*ScheduledSearchDetails) GetLabels

func (v *ScheduledSearchDetails) GetLabels() []string

GetLabels returns ScheduledSearchDetails.Labels, and is useful for accessing the field via an interface.

func (*ScheduledSearchDetails) GetName

func (v *ScheduledSearchDetails) GetName() string

GetName returns ScheduledSearchDetails.Name, and is useful for accessing the field via an interface.

func (*ScheduledSearchDetails) GetQueryOwnership

func (v *ScheduledSearchDetails) GetQueryOwnership() SharedQueryOwnershipType

GetQueryOwnership returns ScheduledSearchDetails.QueryOwnership, and is useful for accessing the field via an interface.

func (*ScheduledSearchDetails) GetQueryString

func (v *ScheduledSearchDetails) GetQueryString() string

GetQueryString returns ScheduledSearchDetails.QueryString, and is useful for accessing the field via an interface.

func (*ScheduledSearchDetails) GetSchedule

func (v *ScheduledSearchDetails) GetSchedule() string

GetSchedule returns ScheduledSearchDetails.Schedule, and is useful for accessing the field via an interface.

func (*ScheduledSearchDetails) GetStart

func (v *ScheduledSearchDetails) GetStart() string

GetStart returns ScheduledSearchDetails.Start, and is useful for accessing the field via an interface.

func (*ScheduledSearchDetails) GetTimeZone

func (v *ScheduledSearchDetails) GetTimeZone() string

GetTimeZone returns ScheduledSearchDetails.TimeZone, and is useful for accessing the field via an interface.

func (*ScheduledSearchDetails) MarshalJSON

func (v *ScheduledSearchDetails) MarshalJSON() ([]byte, error)

func (*ScheduledSearchDetails) UnmarshalJSON

func (v *ScheduledSearchDetails) UnmarshalJSON(b []byte) error

type ScheduledSearchDetailsActionsV2Action

type ScheduledSearchDetailsActionsV2Action interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// GetName returns the interface-field "name" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// An action that can be invoked from a trigger.
	GetName() string
	// contains filtered or unexported methods
}

ScheduledSearchDetailsActionsV2Action includes the requested fields of the GraphQL interface Action.

ScheduledSearchDetailsActionsV2Action is implemented by the following types: ScheduledSearchDetailsActionsV2EmailAction ScheduledSearchDetailsActionsV2HumioRepoAction ScheduledSearchDetailsActionsV2OpsGenieAction ScheduledSearchDetailsActionsV2PagerDutyAction ScheduledSearchDetailsActionsV2SlackAction ScheduledSearchDetailsActionsV2SlackPostMessageAction ScheduledSearchDetailsActionsV2UploadFileAction ScheduledSearchDetailsActionsV2VictorOpsAction ScheduledSearchDetailsActionsV2WebhookAction The GraphQL type's documentation follows.

An action that can be invoked from a trigger.

type ScheduledSearchDetailsActionsV2EmailAction

type ScheduledSearchDetailsActionsV2EmailAction struct {
	Typename *string `json:"__typename"`
	// An action that can be invoked from a trigger.
	Name string `json:"name"`
}

ScheduledSearchDetailsActionsV2EmailAction includes the requested fields of the GraphQL type EmailAction. The GraphQL type's documentation follows.

An email action.

func (*ScheduledSearchDetailsActionsV2EmailAction) GetName

GetName returns ScheduledSearchDetailsActionsV2EmailAction.Name, and is useful for accessing the field via an interface.

func (*ScheduledSearchDetailsActionsV2EmailAction) GetTypename

GetTypename returns ScheduledSearchDetailsActionsV2EmailAction.Typename, and is useful for accessing the field via an interface.

type ScheduledSearchDetailsActionsV2HumioRepoAction

type ScheduledSearchDetailsActionsV2HumioRepoAction struct {
	Typename *string `json:"__typename"`
	// An action that can be invoked from a trigger.
	Name string `json:"name"`
}

ScheduledSearchDetailsActionsV2HumioRepoAction includes the requested fields of the GraphQL type HumioRepoAction. The GraphQL type's documentation follows.

A LogScale repository action.

func (*ScheduledSearchDetailsActionsV2HumioRepoAction) GetName

GetName returns ScheduledSearchDetailsActionsV2HumioRepoAction.Name, and is useful for accessing the field via an interface.

func (*ScheduledSearchDetailsActionsV2HumioRepoAction) GetTypename

GetTypename returns ScheduledSearchDetailsActionsV2HumioRepoAction.Typename, and is useful for accessing the field via an interface.

type ScheduledSearchDetailsActionsV2OpsGenieAction

type ScheduledSearchDetailsActionsV2OpsGenieAction struct {
	Typename *string `json:"__typename"`
	// An action that can be invoked from a trigger.
	Name string `json:"name"`
}

ScheduledSearchDetailsActionsV2OpsGenieAction includes the requested fields of the GraphQL type OpsGenieAction. The GraphQL type's documentation follows.

An OpsGenie action

func (*ScheduledSearchDetailsActionsV2OpsGenieAction) GetName

GetName returns ScheduledSearchDetailsActionsV2OpsGenieAction.Name, and is useful for accessing the field via an interface.

func (*ScheduledSearchDetailsActionsV2OpsGenieAction) GetTypename

GetTypename returns ScheduledSearchDetailsActionsV2OpsGenieAction.Typename, and is useful for accessing the field via an interface.

type ScheduledSearchDetailsActionsV2PagerDutyAction

type ScheduledSearchDetailsActionsV2PagerDutyAction struct {
	Typename *string `json:"__typename"`
	// An action that can be invoked from a trigger.
	Name string `json:"name"`
}

ScheduledSearchDetailsActionsV2PagerDutyAction includes the requested fields of the GraphQL type PagerDutyAction. The GraphQL type's documentation follows.

A PagerDuty action.

func (*ScheduledSearchDetailsActionsV2PagerDutyAction) GetName

GetName returns ScheduledSearchDetailsActionsV2PagerDutyAction.Name, and is useful for accessing the field via an interface.

func (*ScheduledSearchDetailsActionsV2PagerDutyAction) GetTypename

GetTypename returns ScheduledSearchDetailsActionsV2PagerDutyAction.Typename, and is useful for accessing the field via an interface.

type ScheduledSearchDetailsActionsV2SlackAction

type ScheduledSearchDetailsActionsV2SlackAction struct {
	Typename *string `json:"__typename"`
	// An action that can be invoked from a trigger.
	Name string `json:"name"`
}

ScheduledSearchDetailsActionsV2SlackAction includes the requested fields of the GraphQL type SlackAction. The GraphQL type's documentation follows.

A Slack action

func (*ScheduledSearchDetailsActionsV2SlackAction) GetName

GetName returns ScheduledSearchDetailsActionsV2SlackAction.Name, and is useful for accessing the field via an interface.

func (*ScheduledSearchDetailsActionsV2SlackAction) GetTypename

GetTypename returns ScheduledSearchDetailsActionsV2SlackAction.Typename, and is useful for accessing the field via an interface.

type ScheduledSearchDetailsActionsV2SlackPostMessageAction

type ScheduledSearchDetailsActionsV2SlackPostMessageAction struct {
	Typename *string `json:"__typename"`
	// An action that can be invoked from a trigger.
	Name string `json:"name"`
}

ScheduledSearchDetailsActionsV2SlackPostMessageAction includes the requested fields of the GraphQL type SlackPostMessageAction. The GraphQL type's documentation follows.

A slack post-message action.

func (*ScheduledSearchDetailsActionsV2SlackPostMessageAction) GetName

GetName returns ScheduledSearchDetailsActionsV2SlackPostMessageAction.Name, and is useful for accessing the field via an interface.

func (*ScheduledSearchDetailsActionsV2SlackPostMessageAction) GetTypename

GetTypename returns ScheduledSearchDetailsActionsV2SlackPostMessageAction.Typename, and is useful for accessing the field via an interface.

type ScheduledSearchDetailsActionsV2UploadFileAction

type ScheduledSearchDetailsActionsV2UploadFileAction struct {
	Typename *string `json:"__typename"`
	// An action that can be invoked from a trigger.
	Name string `json:"name"`
}

ScheduledSearchDetailsActionsV2UploadFileAction includes the requested fields of the GraphQL type UploadFileAction. The GraphQL type's documentation follows.

An upload file action.

func (*ScheduledSearchDetailsActionsV2UploadFileAction) GetName

GetName returns ScheduledSearchDetailsActionsV2UploadFileAction.Name, and is useful for accessing the field via an interface.

func (*ScheduledSearchDetailsActionsV2UploadFileAction) GetTypename

GetTypename returns ScheduledSearchDetailsActionsV2UploadFileAction.Typename, and is useful for accessing the field via an interface.

type ScheduledSearchDetailsActionsV2VictorOpsAction

type ScheduledSearchDetailsActionsV2VictorOpsAction struct {
	Typename *string `json:"__typename"`
	// An action that can be invoked from a trigger.
	Name string `json:"name"`
}

ScheduledSearchDetailsActionsV2VictorOpsAction includes the requested fields of the GraphQL type VictorOpsAction. The GraphQL type's documentation follows.

A VictorOps action.

func (*ScheduledSearchDetailsActionsV2VictorOpsAction) GetName

GetName returns ScheduledSearchDetailsActionsV2VictorOpsAction.Name, and is useful for accessing the field via an interface.

func (*ScheduledSearchDetailsActionsV2VictorOpsAction) GetTypename

GetTypename returns ScheduledSearchDetailsActionsV2VictorOpsAction.Typename, and is useful for accessing the field via an interface.

type ScheduledSearchDetailsActionsV2WebhookAction

type ScheduledSearchDetailsActionsV2WebhookAction struct {
	Typename *string `json:"__typename"`
	// An action that can be invoked from a trigger.
	Name string `json:"name"`
}

ScheduledSearchDetailsActionsV2WebhookAction includes the requested fields of the GraphQL type WebhookAction. The GraphQL type's documentation follows.

A webhook action

func (*ScheduledSearchDetailsActionsV2WebhookAction) GetName

GetName returns ScheduledSearchDetailsActionsV2WebhookAction.Name, and is useful for accessing the field via an interface.

func (*ScheduledSearchDetailsActionsV2WebhookAction) GetTypename

GetTypename returns ScheduledSearchDetailsActionsV2WebhookAction.Typename, and is useful for accessing the field via an interface.

type SetAutomaticSearchingResponse

type SetAutomaticSearchingResponse struct {
	// Automatically search when arriving at the search page
	SetAutomaticSearching SetAutomaticSearchingSetAutomaticSearching `json:"setAutomaticSearching"`
}

SetAutomaticSearchingResponse is returned by SetAutomaticSearching on success.

func SetAutomaticSearching

func SetAutomaticSearching(
	ctx_ context.Context,
	client_ graphql.Client,
	SearchDomainName string,
	AutomaticSearch bool,
) (*SetAutomaticSearchingResponse, error)

func (*SetAutomaticSearchingResponse) GetSetAutomaticSearching

GetSetAutomaticSearching returns SetAutomaticSearchingResponse.SetAutomaticSearching, and is useful for accessing the field via an interface.

type SetAutomaticSearchingSetAutomaticSearching

type SetAutomaticSearchingSetAutomaticSearching struct {
	Typename *string `json:"__typename"`
}

SetAutomaticSearchingSetAutomaticSearching includes the requested fields of the GraphQL type setAutomaticSearching.

func (*SetAutomaticSearchingSetAutomaticSearching) GetTypename

GetTypename returns SetAutomaticSearchingSetAutomaticSearching.Typename, and is useful for accessing the field via an interface.

type SharedQueryOwnershipType

type SharedQueryOwnershipType interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	QueryOwnership
	// contains filtered or unexported methods
}

SharedQueryOwnershipType includes the requested fields of the GraphQL interface QueryOwnership.

SharedQueryOwnershipType is implemented by the following types: SharedQueryOwnershipTypeOrganizationOwnership SharedQueryOwnershipTypeUserOwnership The GraphQL type's documentation follows.

Query ownership

type SharedQueryOwnershipTypeOrganizationOwnership

type SharedQueryOwnershipTypeOrganizationOwnership struct {
	Typename                            *string `json:"__typename"`
	QueryOwnershipOrganizationOwnership `json:"-"`
}

SharedQueryOwnershipTypeOrganizationOwnership includes the requested fields of the GraphQL type OrganizationOwnership. The GraphQL type's documentation follows.

Query running with organization based ownership

func (*SharedQueryOwnershipTypeOrganizationOwnership) GetId

GetId returns SharedQueryOwnershipTypeOrganizationOwnership.Id, and is useful for accessing the field via an interface.

func (*SharedQueryOwnershipTypeOrganizationOwnership) GetTypename

GetTypename returns SharedQueryOwnershipTypeOrganizationOwnership.Typename, and is useful for accessing the field via an interface.

func (*SharedQueryOwnershipTypeOrganizationOwnership) MarshalJSON

func (*SharedQueryOwnershipTypeOrganizationOwnership) UnmarshalJSON

type SharedQueryOwnershipTypeUserOwnership

type SharedQueryOwnershipTypeUserOwnership struct {
	Typename                    *string `json:"__typename"`
	QueryOwnershipUserOwnership `json:"-"`
}

SharedQueryOwnershipTypeUserOwnership includes the requested fields of the GraphQL type UserOwnership. The GraphQL type's documentation follows.

Query running with user based ownership

func (*SharedQueryOwnershipTypeUserOwnership) GetId

GetId returns SharedQueryOwnershipTypeUserOwnership.Id, and is useful for accessing the field via an interface.

func (*SharedQueryOwnershipTypeUserOwnership) GetTypename

GetTypename returns SharedQueryOwnershipTypeUserOwnership.Typename, and is useful for accessing the field via an interface.

func (*SharedQueryOwnershipTypeUserOwnership) MarshalJSON

func (v *SharedQueryOwnershipTypeUserOwnership) MarshalJSON() ([]byte, error)

func (*SharedQueryOwnershipTypeUserOwnership) UnmarshalJSON

func (v *SharedQueryOwnershipTypeUserOwnership) UnmarshalJSON(b []byte) error

type SlackFieldEntryInput

type SlackFieldEntryInput struct {
	// Slack message field entry.
	FieldName string `json:"fieldName"`
	// Slack message field entry.
	Value string `json:"value"`
}

Slack message field entry.

func (*SlackFieldEntryInput) GetFieldName

func (v *SlackFieldEntryInput) GetFieldName() string

GetFieldName returns SlackFieldEntryInput.FieldName, and is useful for accessing the field via an interface.

func (*SlackFieldEntryInput) GetValue

func (v *SlackFieldEntryInput) GetValue() string

GetValue returns SlackFieldEntryInput.Value, and is useful for accessing the field via an interface.

type SystemPermission

type SystemPermission string

System permissions

const (
	SystemPermissionReadhealthcheck                   SystemPermission = "ReadHealthCheck"
	SystemPermissionVieworganizations                 SystemPermission = "ViewOrganizations"
	SystemPermissionManageorganizations               SystemPermission = "ManageOrganizations"
	SystemPermissionImportorganization                SystemPermission = "ImportOrganization"
	SystemPermissionDeleteorganizations               SystemPermission = "DeleteOrganizations"
	SystemPermissionChangesystempermissions           SystemPermission = "ChangeSystemPermissions"
	SystemPermissionManagecluster                     SystemPermission = "ManageCluster"
	SystemPermissionIngestacrossallreposwithincluster SystemPermission = "IngestAcrossAllReposWithinCluster"
	SystemPermissionDeletehumioownedrepositoryorview  SystemPermission = "DeleteHumioOwnedRepositoryOrView"
	SystemPermissionChangeusername                    SystemPermission = "ChangeUsername"
	SystemPermissionChangefeatureflags                SystemPermission = "ChangeFeatureFlags"
	SystemPermissionChangesubdomains                  SystemPermission = "ChangeSubdomains"
	SystemPermissionListsubdomains                    SystemPermission = "ListSubdomains"
	SystemPermissionPatchglobal                       SystemPermission = "PatchGlobal"
	SystemPermissionChangebucketstorage               SystemPermission = "ChangeBucketStorage"
	SystemPermissionManageorganizationlinks           SystemPermission = "ManageOrganizationLinks"
)

type TriggerMode

type TriggerMode string

Trigger mode for an aggregate alert.

const (
	// Wait for up to 20 minutes for a complete result before triggering.
	TriggerModeCompletemode TriggerMode = "CompleteMode"
	// Trigger immediately, even on incomplete results. If nothing to trigger on, wait for up to 20 minutes for there to be a result to trigger on.
	TriggerModeImmediatemode TriggerMode = "ImmediateMode"
)

type UnassignParserToIngestTokenResponse

type UnassignParserToIngestTokenResponse struct {
	// Un-associates a token with its currently assigned parser.
	UnassignIngestToken UnassignParserToIngestTokenUnassignIngestTokenUnassignIngestTokenMutation `json:"unassignIngestToken"`
}

UnassignParserToIngestTokenResponse is returned by UnassignParserToIngestToken on success.

func UnassignParserToIngestToken

func UnassignParserToIngestToken(
	ctx_ context.Context,
	client_ graphql.Client,
	RepositoryName string,
	IngestTokenName string,
) (*UnassignParserToIngestTokenResponse, error)

func (*UnassignParserToIngestTokenResponse) GetUnassignIngestToken

GetUnassignIngestToken returns UnassignParserToIngestTokenResponse.UnassignIngestToken, and is useful for accessing the field via an interface.

type UnassignParserToIngestTokenUnassignIngestTokenUnassignIngestTokenMutation

type UnassignParserToIngestTokenUnassignIngestTokenUnassignIngestTokenMutation struct {
	Typename *string `json:"__typename"`
}

UnassignParserToIngestTokenUnassignIngestTokenUnassignIngestTokenMutation includes the requested fields of the GraphQL type UnassignIngestTokenMutation.

func (*UnassignParserToIngestTokenUnassignIngestTokenUnassignIngestTokenMutation) GetTypename

GetTypename returns UnassignParserToIngestTokenUnassignIngestTokenUnassignIngestTokenMutation.Typename, and is useful for accessing the field via an interface.

type UninstallPackageResponse

type UninstallPackageResponse struct {
	// Uninstalls a package from a specific view.
	UninstallPackage UninstallPackageUninstallPackageBooleanResultType `json:"uninstallPackage"`
}

UninstallPackageResponse is returned by UninstallPackage on success.

func UninstallPackage

func UninstallPackage(
	ctx_ context.Context,
	client_ graphql.Client,
	SearchDomainName string,
	PackageID string,
) (*UninstallPackageResponse, error)

func (*UninstallPackageResponse) GetUninstallPackage

GetUninstallPackage returns UninstallPackageResponse.UninstallPackage, and is useful for accessing the field via an interface.

type UninstallPackageUninstallPackageBooleanResultType

type UninstallPackageUninstallPackageBooleanResultType struct {
	Typename *string `json:"__typename"`
}

UninstallPackageUninstallPackageBooleanResultType includes the requested fields of the GraphQL type BooleanResultType.

func (*UninstallPackageUninstallPackageBooleanResultType) GetTypename

GetTypename returns UninstallPackageUninstallPackageBooleanResultType.Typename, and is useful for accessing the field via an interface.

type UnregisterClusterNodeClusterUnregisterNodeUnregisterNodeMutation

type UnregisterClusterNodeClusterUnregisterNodeUnregisterNodeMutation struct {
	Typename *string `json:"__typename"`
}

UnregisterClusterNodeClusterUnregisterNodeUnregisterNodeMutation includes the requested fields of the GraphQL type UnregisterNodeMutation.

func (*UnregisterClusterNodeClusterUnregisterNodeUnregisterNodeMutation) GetTypename

GetTypename returns UnregisterClusterNodeClusterUnregisterNodeUnregisterNodeMutation.Typename, and is useful for accessing the field via an interface.

type UnregisterClusterNodeResponse

type UnregisterClusterNodeResponse struct {
	// Unregisters a node from the cluster.
	ClusterUnregisterNode UnregisterClusterNodeClusterUnregisterNodeUnregisterNodeMutation `json:"clusterUnregisterNode"`
}

UnregisterClusterNodeResponse is returned by UnregisterClusterNode on success.

func UnregisterClusterNode

func UnregisterClusterNode(
	ctx_ context.Context,
	client_ graphql.Client,
	NodeID int,
	Force bool,
) (*UnregisterClusterNodeResponse, error)

func (*UnregisterClusterNodeResponse) GetClusterUnregisterNode

GetClusterUnregisterNode returns UnregisterClusterNodeResponse.ClusterUnregisterNode, and is useful for accessing the field via an interface.

type UpdateDescriptionForSearchDomainResponse

type UpdateDescriptionForSearchDomainResponse struct {
	UpdateDescriptionForSearchDomain UpdateDescriptionForSearchDomainUpdateDescriptionForSearchDomainUpdateDescriptionMutation `json:"updateDescriptionForSearchDomain"`
}

UpdateDescriptionForSearchDomainResponse is returned by UpdateDescriptionForSearchDomain on success.

func UpdateDescriptionForSearchDomain

func UpdateDescriptionForSearchDomain(
	ctx_ context.Context,
	client_ graphql.Client,
	SearchDomainName string,
	NewDescription string,
) (*UpdateDescriptionForSearchDomainResponse, error)

func (*UpdateDescriptionForSearchDomainResponse) GetUpdateDescriptionForSearchDomain

GetUpdateDescriptionForSearchDomain returns UpdateDescriptionForSearchDomainResponse.UpdateDescriptionForSearchDomain, and is useful for accessing the field via an interface.

type UpdateDescriptionForSearchDomainUpdateDescriptionForSearchDomainUpdateDescriptionMutation

type UpdateDescriptionForSearchDomainUpdateDescriptionForSearchDomainUpdateDescriptionMutation struct {
	Typename *string `json:"__typename"`
}

UpdateDescriptionForSearchDomainUpdateDescriptionForSearchDomainUpdateDescriptionMutation includes the requested fields of the GraphQL type UpdateDescriptionMutation.

func (*UpdateDescriptionForSearchDomainUpdateDescriptionForSearchDomainUpdateDescriptionMutation) GetTypename

GetTypename returns UpdateDescriptionForSearchDomainUpdateDescriptionForSearchDomainUpdateDescriptionMutation.Typename, and is useful for accessing the field via an interface.

type UpdateIngestBasedRetentionResponse

type UpdateIngestBasedRetentionResponse struct {
	// Update the retention policy of a repository.
	UpdateRetention UpdateIngestBasedRetentionUpdateRetentionUpdateRetentionMutation `json:"updateRetention"`
}

UpdateIngestBasedRetentionResponse is returned by UpdateIngestBasedRetention on success.

func UpdateIngestBasedRetention

func UpdateIngestBasedRetention(
	ctx_ context.Context,
	client_ graphql.Client,
	RepositoryName string,
	IngestInGB *float64,
) (*UpdateIngestBasedRetentionResponse, error)

func (*UpdateIngestBasedRetentionResponse) GetUpdateRetention

GetUpdateRetention returns UpdateIngestBasedRetentionResponse.UpdateRetention, and is useful for accessing the field via an interface.

type UpdateIngestBasedRetentionUpdateRetentionUpdateRetentionMutation

type UpdateIngestBasedRetentionUpdateRetentionUpdateRetentionMutation struct {
	Typename *string `json:"__typename"`
}

UpdateIngestBasedRetentionUpdateRetentionUpdateRetentionMutation includes the requested fields of the GraphQL type UpdateRetentionMutation.

func (*UpdateIngestBasedRetentionUpdateRetentionUpdateRetentionMutation) GetTypename

GetTypename returns UpdateIngestBasedRetentionUpdateRetentionUpdateRetentionMutation.Typename, and is useful for accessing the field via an interface.

type UpdateLicenseKeyResponse

type UpdateLicenseKeyResponse struct {
	// Update the license key for the LogScale cluster. If there is an existing license on this cluster this operation requires permission to manage cluster.
	UpdateLicenseKey UpdateLicenseKeyUpdateLicenseKeyLicense `json:"-"`
}

UpdateLicenseKeyResponse is returned by UpdateLicenseKey on success.

func UpdateLicenseKey

func UpdateLicenseKey(
	ctx_ context.Context,
	client_ graphql.Client,
	LicenseKey string,
) (*UpdateLicenseKeyResponse, error)

func (*UpdateLicenseKeyResponse) GetUpdateLicenseKey

GetUpdateLicenseKey returns UpdateLicenseKeyResponse.UpdateLicenseKey, and is useful for accessing the field via an interface.

func (*UpdateLicenseKeyResponse) MarshalJSON

func (v *UpdateLicenseKeyResponse) MarshalJSON() ([]byte, error)

func (*UpdateLicenseKeyResponse) UnmarshalJSON

func (v *UpdateLicenseKeyResponse) UnmarshalJSON(b []byte) error

type UpdateLicenseKeyUpdateLicenseKeyLicense

type UpdateLicenseKeyUpdateLicenseKeyLicense interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() *string
	// contains filtered or unexported methods
}

UpdateLicenseKeyUpdateLicenseKeyLicense includes the requested fields of the GraphQL interface License.

UpdateLicenseKeyUpdateLicenseKeyLicense is implemented by the following types: UpdateLicenseKeyUpdateLicenseKeyOnPremLicense UpdateLicenseKeyUpdateLicenseKeyTrialLicense The GraphQL type's documentation follows.

Represents information about the LogScale instance.

type UpdateLicenseKeyUpdateLicenseKeyOnPremLicense

type UpdateLicenseKeyUpdateLicenseKeyOnPremLicense struct {
	Typename *string `json:"__typename"`
}

UpdateLicenseKeyUpdateLicenseKeyOnPremLicense includes the requested fields of the GraphQL type OnPremLicense. The GraphQL type's documentation follows.

Represents information about a LogScale License.

func (*UpdateLicenseKeyUpdateLicenseKeyOnPremLicense) GetTypename

GetTypename returns UpdateLicenseKeyUpdateLicenseKeyOnPremLicense.Typename, and is useful for accessing the field via an interface.

type UpdateLicenseKeyUpdateLicenseKeyTrialLicense

type UpdateLicenseKeyUpdateLicenseKeyTrialLicense struct {
	Typename *string `json:"__typename"`
}

UpdateLicenseKeyUpdateLicenseKeyTrialLicense includes the requested fields of the GraphQL type TrialLicense. The GraphQL type's documentation follows.

Represents information about an on-going trial of LogScale.

func (*UpdateLicenseKeyUpdateLicenseKeyTrialLicense) GetTypename

GetTypename returns UpdateLicenseKeyUpdateLicenseKeyTrialLicense.Typename, and is useful for accessing the field via an interface.

type UpdateS3ArchivingConfigurationResponse

type UpdateS3ArchivingConfigurationResponse struct {
	// Configures S3 archiving for a repository. E.g. bucket and region.
	S3ConfigureArchiving UpdateS3ArchivingConfigurationS3ConfigureArchivingBooleanResultType `json:"s3ConfigureArchiving"`
}

UpdateS3ArchivingConfigurationResponse is returned by UpdateS3ArchivingConfiguration on success.

func UpdateS3ArchivingConfiguration

func UpdateS3ArchivingConfiguration(
	ctx_ context.Context,
	client_ graphql.Client,
	RepositoryName string,
	BucketName string,
	BucketRegion string,
	Format S3ArchivingFormat,
) (*UpdateS3ArchivingConfigurationResponse, error)

func (*UpdateS3ArchivingConfigurationResponse) GetS3ConfigureArchiving

GetS3ConfigureArchiving returns UpdateS3ArchivingConfigurationResponse.S3ConfigureArchiving, and is useful for accessing the field via an interface.

type UpdateS3ArchivingConfigurationS3ConfigureArchivingBooleanResultType

type UpdateS3ArchivingConfigurationS3ConfigureArchivingBooleanResultType struct {
	Typename *string `json:"__typename"`
}

UpdateS3ArchivingConfigurationS3ConfigureArchivingBooleanResultType includes the requested fields of the GraphQL type BooleanResultType.

func (*UpdateS3ArchivingConfigurationS3ConfigureArchivingBooleanResultType) GetTypename

GetTypename returns UpdateS3ArchivingConfigurationS3ConfigureArchivingBooleanResultType.Typename, and is useful for accessing the field via an interface.

type UpdateStorageBasedRetentionResponse

type UpdateStorageBasedRetentionResponse struct {
	// Update the retention policy of a repository.
	UpdateRetention UpdateStorageBasedRetentionUpdateRetentionUpdateRetentionMutation `json:"updateRetention"`
}

UpdateStorageBasedRetentionResponse is returned by UpdateStorageBasedRetention on success.

func UpdateStorageBasedRetention

func UpdateStorageBasedRetention(
	ctx_ context.Context,
	client_ graphql.Client,
	RepositoryName string,
	StorageInGB *float64,
) (*UpdateStorageBasedRetentionResponse, error)

func (*UpdateStorageBasedRetentionResponse) GetUpdateRetention

GetUpdateRetention returns UpdateStorageBasedRetentionResponse.UpdateRetention, and is useful for accessing the field via an interface.

type UpdateStorageBasedRetentionUpdateRetentionUpdateRetentionMutation

type UpdateStorageBasedRetentionUpdateRetentionUpdateRetentionMutation struct {
	Typename *string `json:"__typename"`
}

UpdateStorageBasedRetentionUpdateRetentionUpdateRetentionMutation includes the requested fields of the GraphQL type UpdateRetentionMutation.

func (*UpdateStorageBasedRetentionUpdateRetentionUpdateRetentionMutation) GetTypename

GetTypename returns UpdateStorageBasedRetentionUpdateRetentionUpdateRetentionMutation.Typename, and is useful for accessing the field via an interface.

type UpdateTimeBasedRetentionResponse

type UpdateTimeBasedRetentionResponse struct {
	// Update the retention policy of a repository.
	UpdateRetention UpdateTimeBasedRetentionUpdateRetentionUpdateRetentionMutation `json:"updateRetention"`
}

UpdateTimeBasedRetentionResponse is returned by UpdateTimeBasedRetention on success.

func UpdateTimeBasedRetention

func UpdateTimeBasedRetention(
	ctx_ context.Context,
	client_ graphql.Client,
	RepositoryName string,
	RetentionInDays *float64,
) (*UpdateTimeBasedRetentionResponse, error)

func (*UpdateTimeBasedRetentionResponse) GetUpdateRetention

GetUpdateRetention returns UpdateTimeBasedRetentionResponse.UpdateRetention, and is useful for accessing the field via an interface.

type UpdateTimeBasedRetentionUpdateRetentionUpdateRetentionMutation

type UpdateTimeBasedRetentionUpdateRetentionUpdateRetentionMutation struct {
	Typename *string `json:"__typename"`
}

UpdateTimeBasedRetentionUpdateRetentionUpdateRetentionMutation includes the requested fields of the GraphQL type UpdateRetentionMutation.

func (*UpdateTimeBasedRetentionUpdateRetentionUpdateRetentionMutation) GetTypename

GetTypename returns UpdateTimeBasedRetentionUpdateRetentionUpdateRetentionMutation.Typename, and is useful for accessing the field via an interface.

type UpdateUserResponse

type UpdateUserResponse struct {
	// Updates a user. Requires Root Permission.
	UpdateUser UpdateUserUpdateUserUpdateUserMutation `json:"updateUser"`
}

UpdateUserResponse is returned by UpdateUser on success.

func UpdateUser

func UpdateUser(
	ctx_ context.Context,
	client_ graphql.Client,
	Username string,
	Company *string,
	IsRoot *bool,
	FullName *string,
	Picture *string,
	Email *string,
	CountryCode *string,
) (*UpdateUserResponse, error)

func (*UpdateUserResponse) GetUpdateUser

GetUpdateUser returns UpdateUserResponse.UpdateUser, and is useful for accessing the field via an interface.

type UpdateUserUpdateUserUpdateUserMutation

type UpdateUserUpdateUserUpdateUserMutation struct {
	Typename *string `json:"__typename"`
}

UpdateUserUpdateUserUpdateUserMutation includes the requested fields of the GraphQL type UpdateUserMutation.

func (*UpdateUserUpdateUserUpdateUserMutation) GetTypename

GetTypename returns UpdateUserUpdateUserUpdateUserMutation.Typename, and is useful for accessing the field via an interface.

type UpdateViewConnectionsResponse

type UpdateViewConnectionsResponse struct {
	// Update a view.
	UpdateView UpdateViewConnectionsUpdateView `json:"updateView"`
}

UpdateViewConnectionsResponse is returned by UpdateViewConnections on success.

func UpdateViewConnections

func UpdateViewConnections(
	ctx_ context.Context,
	client_ graphql.Client,
	ViewName string,
	Connections []ViewConnectionInput,
) (*UpdateViewConnectionsResponse, error)

func (*UpdateViewConnectionsResponse) GetUpdateView

GetUpdateView returns UpdateViewConnectionsResponse.UpdateView, and is useful for accessing the field via an interface.

type UpdateViewConnectionsUpdateView

type UpdateViewConnectionsUpdateView struct {
	Name string `json:"name"`
}

UpdateViewConnectionsUpdateView includes the requested fields of the GraphQL type View. The GraphQL type's documentation follows.

Represents information about a view, pulling data from one or several repositories.

func (*UpdateViewConnectionsUpdateView) GetName

GetName returns UpdateViewConnectionsUpdateView.Name, and is useful for accessing the field via an interface.

type UserDetails

type UserDetails struct {
	Id          string    `json:"id"`
	Username    string    `json:"username"`
	FullName    *string   `json:"fullName"`
	Email       *string   `json:"email"`
	Company     *string   `json:"company"`
	CountryCode *string   `json:"countryCode"`
	Picture     *string   `json:"picture"`
	IsRoot      bool      `json:"isRoot"`
	CreatedAt   time.Time `json:"createdAt"`
}

UserDetails includes the GraphQL fields of User requested by the fragment UserDetails. The GraphQL type's documentation follows.

A user profile.

func (*UserDetails) GetCompany

func (v *UserDetails) GetCompany() *string

GetCompany returns UserDetails.Company, and is useful for accessing the field via an interface.

func (*UserDetails) GetCountryCode

func (v *UserDetails) GetCountryCode() *string

GetCountryCode returns UserDetails.CountryCode, and is useful for accessing the field via an interface.

func (*UserDetails) GetCreatedAt

func (v *UserDetails) GetCreatedAt() time.Time

GetCreatedAt returns UserDetails.CreatedAt, and is useful for accessing the field via an interface.

func (*UserDetails) GetEmail

func (v *UserDetails) GetEmail() *string

GetEmail returns UserDetails.Email, and is useful for accessing the field via an interface.

func (*UserDetails) GetFullName

func (v *UserDetails) GetFullName() *string

GetFullName returns UserDetails.FullName, and is useful for accessing the field via an interface.

func (*UserDetails) GetId

func (v *UserDetails) GetId() string

GetId returns UserDetails.Id, and is useful for accessing the field via an interface.

func (*UserDetails) GetIsRoot

func (v *UserDetails) GetIsRoot() bool

GetIsRoot returns UserDetails.IsRoot, and is useful for accessing the field via an interface.

func (*UserDetails) GetPicture

func (v *UserDetails) GetPicture() *string

GetPicture returns UserDetails.Picture, and is useful for accessing the field via an interface.

func (*UserDetails) GetUsername

func (v *UserDetails) GetUsername() string

GetUsername returns UserDetails.Username, and is useful for accessing the field via an interface.

type ViewConnectionInput

type ViewConnectionInput struct {
	// The repositories this view will read from.
	RepositoryName string `json:"repositoryName"`
	// The repositories this view will read from.
	Filter string `json:"filter"`
	// The repositories this view will read from.
	LanguageVersion *LanguageVersionEnum `json:"languageVersion"`
}

The repositories this view will read from.

func (*ViewConnectionInput) GetFilter

func (v *ViewConnectionInput) GetFilter() string

GetFilter returns ViewConnectionInput.Filter, and is useful for accessing the field via an interface.

func (*ViewConnectionInput) GetLanguageVersion

func (v *ViewConnectionInput) GetLanguageVersion() *LanguageVersionEnum

GetLanguageVersion returns ViewConnectionInput.LanguageVersion, and is useful for accessing the field via an interface.

func (*ViewConnectionInput) GetRepositoryName

func (v *ViewConnectionInput) GetRepositoryName() string

GetRepositoryName returns ViewConnectionInput.RepositoryName, and is useful for accessing the field via an interface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL