Documentation ¶
Index ¶
- Constants
- type APIKeyDTO
- type Ack
- type ActiveSyncStatusDTO
- type ActiveUserStats
- type AddDataSourceCommand
- type AddDataSourceOKBody
- type AddInviteForm
- type AddOrgUserCommand
- type AddServiceAccountTokenCommand
- func (m *AddServiceAccountTokenCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AddServiceAccountTokenCommand) MarshalBinary() ([]byte, error)
- func (m *AddServiceAccountTokenCommand) UnmarshalBinary(b []byte) error
- func (m *AddServiceAccountTokenCommand) Validate(formats strfmt.Registry) error
- type AddTeamMemberCommand
- type AddTeamRoleCommand
- type AddUserRoleCommand
- type Address
- type AdminCreateUserForm
- type AdminCreateUserResponse
- func (m *AdminCreateUserResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AdminCreateUserResponse) MarshalBinary() ([]byte, error)
- func (m *AdminCreateUserResponse) UnmarshalBinary(b []byte) error
- func (m *AdminCreateUserResponse) Validate(formats strfmt.Registry) error
- type AdminStats
- type AdminUpdateUserPasswordForm
- func (m *AdminUpdateUserPasswordForm) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AdminUpdateUserPasswordForm) MarshalBinary() ([]byte, error)
- func (m *AdminUpdateUserPasswordForm) UnmarshalBinary(b []byte) error
- func (m *AdminUpdateUserPasswordForm) Validate(formats strfmt.Registry) error
- type AdminUpdateUserPermissionsForm
- func (m *AdminUpdateUserPermissionsForm) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AdminUpdateUserPermissionsForm) MarshalBinary() ([]byte, error)
- func (m *AdminUpdateUserPermissionsForm) UnmarshalBinary(b []byte) error
- func (m *AdminUpdateUserPermissionsForm) Validate(formats strfmt.Registry) error
- type Alert
- type AlertDiscovery
- type AlertGroup
- type AlertInstancesResponse
- func (m *AlertInstancesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AlertInstancesResponse) MarshalBinary() ([]byte, error)
- func (m *AlertInstancesResponse) UnmarshalBinary(b []byte) error
- func (m *AlertInstancesResponse) Validate(formats strfmt.Registry) error
- type AlertManager
- type AlertManagersResult
- type AlertQuery
- type AlertQueryExport
- type AlertRuleEditorSettings
- func (m *AlertRuleEditorSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AlertRuleEditorSettings) MarshalBinary() ([]byte, error)
- func (m *AlertRuleEditorSettings) UnmarshalBinary(b []byte) error
- func (m *AlertRuleEditorSettings) Validate(formats strfmt.Registry) error
- type AlertRuleExport
- type AlertRuleGroup
- type AlertRuleGroupExport
- type AlertRuleMetadata
- type AlertRuleNotificationSettings
- func (m *AlertRuleNotificationSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AlertRuleNotificationSettings) MarshalBinary() ([]byte, error)
- func (m *AlertRuleNotificationSettings) UnmarshalBinary(b []byte) error
- func (m *AlertRuleNotificationSettings) Validate(formats strfmt.Registry) error
- type AlertRuleNotificationSettingsExport
- func (m *AlertRuleNotificationSettingsExport) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AlertRuleNotificationSettingsExport) MarshalBinary() ([]byte, error)
- func (m *AlertRuleNotificationSettingsExport) UnmarshalBinary(b []byte) error
- func (m *AlertRuleNotificationSettingsExport) Validate(formats strfmt.Registry) error
- type AlertRuleRecordExport
- type AlertStatus
- type AlertingFileExport
- type AlertingRule
- type AlertmanagerConfig
- type Annotation
- type AnnotationActions
- type AnnotationEvent
- type AnnotationPanelFilter
- type AnnotationPermission
- type AnnotationQuery
- type AnnotationTarget
- type Assignments
- type AttributeTypeAndValue
- type Authorization
- type BasicAuth
- type CacheConfigResponse
- type CacheConfigSetter
- type CalculateDashboardDiffParamsBody
- func (m *CalculateDashboardDiffParamsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CalculateDashboardDiffParamsBody) MarshalBinary() ([]byte, error)
- func (m *CalculateDashboardDiffParamsBody) UnmarshalBinary(b []byte) error
- func (m *CalculateDashboardDiffParamsBody) Validate(formats strfmt.Registry) error
- type CalculateDiffTarget
- type Certificate
- type ChangeUserPasswordCommand
- func (m *ChangeUserPasswordCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ChangeUserPasswordCommand) MarshalBinary() ([]byte, error)
- func (m *ChangeUserPasswordCommand) UnmarshalBinary(b []byte) error
- func (m *ChangeUserPasswordCommand) Validate(formats strfmt.Registry) error
- type ClearHelpFlagsOKBody
- type CloudMigrationSessionListResponseDTO
- func (m *CloudMigrationSessionListResponseDTO) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CloudMigrationSessionListResponseDTO) MarshalBinary() ([]byte, error)
- func (m *CloudMigrationSessionListResponseDTO) UnmarshalBinary(b []byte) error
- func (m *CloudMigrationSessionListResponseDTO) Validate(formats strfmt.Registry) error
- type CloudMigrationSessionRequestDTO
- func (m *CloudMigrationSessionRequestDTO) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CloudMigrationSessionRequestDTO) MarshalBinary() ([]byte, error)
- func (m *CloudMigrationSessionRequestDTO) UnmarshalBinary(b []byte) error
- func (m *CloudMigrationSessionRequestDTO) Validate(formats strfmt.Registry) error
- type CloudMigrationSessionResponseDTO
- func (m *CloudMigrationSessionResponseDTO) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CloudMigrationSessionResponseDTO) MarshalBinary() ([]byte, error)
- func (m *CloudMigrationSessionResponseDTO) UnmarshalBinary(b []byte) error
- func (m *CloudMigrationSessionResponseDTO) Validate(formats strfmt.Registry) error
- type ClusterStatus
- type ConfFloat64
- type ContactPointExport
- type ContactPoints
- type CookiePreferences
- type CookieType
- type Correlation
- type CorrelationConfig
- type CorrelationConfigUpdateDTO
- func (m *CorrelationConfigUpdateDTO) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CorrelationConfigUpdateDTO) MarshalBinary() ([]byte, error)
- func (m *CorrelationConfigUpdateDTO) UnmarshalBinary(b []byte) error
- func (m *CorrelationConfigUpdateDTO) Validate(formats strfmt.Registry) error
- type CorrelationType
- type CounterResetHint
- type CreateAccessTokenResponseDTO
- func (m *CreateAccessTokenResponseDTO) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateAccessTokenResponseDTO) MarshalBinary() ([]byte, error)
- func (m *CreateAccessTokenResponseDTO) UnmarshalBinary(b []byte) error
- func (m *CreateAccessTokenResponseDTO) Validate(formats strfmt.Registry) error
- type CreateCorrelationCommand
- func (m *CreateCorrelationCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateCorrelationCommand) MarshalBinary() ([]byte, error)
- func (m *CreateCorrelationCommand) UnmarshalBinary(b []byte) error
- func (m *CreateCorrelationCommand) Validate(formats strfmt.Registry) error
- type CreateCorrelationResponseBody
- func (m *CreateCorrelationResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateCorrelationResponseBody) MarshalBinary() ([]byte, error)
- func (m *CreateCorrelationResponseBody) UnmarshalBinary(b []byte) error
- func (m *CreateCorrelationResponseBody) Validate(formats strfmt.Registry) error
- type CreateDashboardSnapshotCommand
- func (m *CreateDashboardSnapshotCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateDashboardSnapshotCommand) MarshalBinary() ([]byte, error)
- func (m *CreateDashboardSnapshotCommand) UnmarshalBinary(b []byte) error
- func (m *CreateDashboardSnapshotCommand) Validate(formats strfmt.Registry) error
- type CreateDashboardSnapshotOKBody
- func (m *CreateDashboardSnapshotOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateDashboardSnapshotOKBody) MarshalBinary() ([]byte, error)
- func (m *CreateDashboardSnapshotOKBody) UnmarshalBinary(b []byte) error
- func (m *CreateDashboardSnapshotOKBody) Validate(formats strfmt.Registry) error
- type CreateFolderCommand
- type CreateLibraryElementCommand
- func (m *CreateLibraryElementCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateLibraryElementCommand) MarshalBinary() ([]byte, error)
- func (m *CreateLibraryElementCommand) UnmarshalBinary(b []byte) error
- func (m *CreateLibraryElementCommand) Validate(formats strfmt.Registry) error
- type CreateOrUpdateReport
- type CreateOrgCommand
- type CreateOrgOKBody
- type CreatePlaylistCommand
- type CreateQueryInQueryHistoryCommand
- func (m *CreateQueryInQueryHistoryCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateQueryInQueryHistoryCommand) MarshalBinary() ([]byte, error)
- func (m *CreateQueryInQueryHistoryCommand) UnmarshalBinary(b []byte) error
- func (m *CreateQueryInQueryHistoryCommand) Validate(formats strfmt.Registry) error
- type CreateReportOKBody
- type CreateRoleForm
- type CreateServiceAccountForm
- func (m *CreateServiceAccountForm) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateServiceAccountForm) MarshalBinary() ([]byte, error)
- func (m *CreateServiceAccountForm) UnmarshalBinary(b []byte) error
- func (m *CreateServiceAccountForm) Validate(formats strfmt.Registry) error
- type CreateSnapshotResponseDTO
- func (m *CreateSnapshotResponseDTO) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateSnapshotResponseDTO) MarshalBinary() ([]byte, error)
- func (m *CreateSnapshotResponseDTO) UnmarshalBinary(b []byte) error
- func (m *CreateSnapshotResponseDTO) Validate(formats strfmt.Registry) error
- type CreateTeamCommand
- type CreateTeamOKBody
- type DashboardACLInfoDTO
- type DashboardACLUpdateItem
- func (m *DashboardACLUpdateItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DashboardACLUpdateItem) MarshalBinary() ([]byte, error)
- func (m *DashboardACLUpdateItem) UnmarshalBinary(b []byte) error
- func (m *DashboardACLUpdateItem) Validate(formats strfmt.Registry) error
- type DashboardFullWithMeta
- type DashboardMeta
- type DashboardSnapshotDTO
- type DashboardTagCloudItem
- type DashboardVersionMeta
- type DataLink
- type DataResponse
- type DataSource
- type DataSourceList
- type DataSourceListItemDTO
- type DataSourceRef
- type DataTopic
- type DeleteCorrelationResponseBody
- func (m *DeleteCorrelationResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DeleteCorrelationResponseBody) MarshalBinary() ([]byte, error)
- func (m *DeleteCorrelationResponseBody) UnmarshalBinary(b []byte) error
- func (m *DeleteCorrelationResponseBody) Validate(formats strfmt.Registry) error
- type DeleteDashboardByUIDOKBody
- func (m *DeleteDashboardByUIDOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DeleteDashboardByUIDOKBody) MarshalBinary() ([]byte, error)
- func (m *DeleteDashboardByUIDOKBody) UnmarshalBinary(b []byte) error
- func (m *DeleteDashboardByUIDOKBody) Validate(formats strfmt.Registry) error
- type DeleteDataSourceByNameOKBody
- func (m *DeleteDataSourceByNameOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DeleteDataSourceByNameOKBody) MarshalBinary() ([]byte, error)
- func (m *DeleteDataSourceByNameOKBody) UnmarshalBinary(b []byte) error
- func (m *DeleteDataSourceByNameOKBody) Validate(formats strfmt.Registry) error
- type DeleteFolderOKBody
- type DeleteTokenCommand
- type DescendantCounts
- type Description
- type DeviceDTO
- type DeviceSearchHitDTO
- type DiscordConfig
- type DsAccess
- type Duration
- type EmailConfig
- type EmailDTO
- type EmbeddedContactPoint
- type EnumFieldConfig
- type ErrorResponseBody
- type ErrorType
- type EvalAlertConditionCommand
- func (m *EvalAlertConditionCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *EvalAlertConditionCommand) MarshalBinary() ([]byte, error)
- func (m *EvalAlertConditionCommand) UnmarshalBinary(b []byte) error
- func (m *EvalAlertConditionCommand) Validate(formats strfmt.Registry) error
- type ExplorePanelsState
- type ExtKeyUsage
- type Extension
- type FailedUser
- type Field
- type FieldConfig
- type FieldTypeConfig
- type FindTagsResult
- type FloatHistogram
- type Folder
- type FolderSearchHit
- type ForbiddenError
- type Frame
- type FrameLabels
- type FrameMeta
- type FrameType
- type FrameTypeVersion
- type Frames
- type GetAccessTokenResponseDTO
- func (m *GetAccessTokenResponseDTO) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GetAccessTokenResponseDTO) MarshalBinary() ([]byte, error)
- func (m *GetAccessTokenResponseDTO) UnmarshalBinary(b []byte) error
- func (m *GetAccessTokenResponseDTO) Validate(formats strfmt.Registry) error
- type GetAnnotationTagsResponse
- func (m *GetAnnotationTagsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GetAnnotationTagsResponse) MarshalBinary() ([]byte, error)
- func (m *GetAnnotationTagsResponse) UnmarshalBinary(b []byte) error
- func (m *GetAnnotationTagsResponse) Validate(formats strfmt.Registry) error
- type GetDataSourceIDByNameOKBody
- func (m *GetDataSourceIDByNameOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GetDataSourceIDByNameOKBody) MarshalBinary() ([]byte, error)
- func (m *GetDataSourceIDByNameOKBody) UnmarshalBinary(b []byte) error
- func (m *GetDataSourceIDByNameOKBody) Validate(formats strfmt.Registry) error
- type GetGroupMappings
- type GetGroupsResponse
- type GetHomeDashboardResponse
- func (m *GetHomeDashboardResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GetHomeDashboardResponse) MarshalBinary() ([]byte, error)
- func (m GetHomeDashboardResponse) MarshalJSON() ([]byte, error)
- func (m *GetHomeDashboardResponse) UnmarshalBinary(b []byte) error
- func (m *GetHomeDashboardResponse) UnmarshalJSON(raw []byte) error
- func (m *GetHomeDashboardResponse) Validate(formats strfmt.Registry) error
- type GetHomeDashboardResponseAllOf0
- func (m *GetHomeDashboardResponseAllOf0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GetHomeDashboardResponseAllOf0) MarshalBinary() ([]byte, error)
- func (m *GetHomeDashboardResponseAllOf0) UnmarshalBinary(b []byte) error
- func (m *GetHomeDashboardResponseAllOf0) Validate(formats strfmt.Registry) error
- type GetHomeDashboardResponseAllOf1
- func (m *GetHomeDashboardResponseAllOf1) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GetHomeDashboardResponseAllOf1) MarshalBinary() ([]byte, error)
- func (m *GetHomeDashboardResponseAllOf1) UnmarshalBinary(b []byte) error
- func (m *GetHomeDashboardResponseAllOf1) Validate(formats strfmt.Registry) error
- type GetProviderSettingsOKBody
- func (m *GetProviderSettingsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GetProviderSettingsOKBody) MarshalBinary() ([]byte, error)
- func (m *GetProviderSettingsOKBody) UnmarshalBinary(b []byte) error
- func (m *GetProviderSettingsOKBody) Validate(formats strfmt.Registry) error
- type GetSharingOptionsOKBody
- func (m *GetSharingOptionsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GetSharingOptionsOKBody) MarshalBinary() ([]byte, error)
- func (m *GetSharingOptionsOKBody) UnmarshalBinary(b []byte) error
- func (m *GetSharingOptionsOKBody) Validate(formats strfmt.Registry) error
- type GetSnapshotResponseDTO
- func (m *GetSnapshotResponseDTO) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GetSnapshotResponseDTO) MarshalBinary() ([]byte, error)
- func (m *GetSnapshotResponseDTO) UnmarshalBinary(b []byte) error
- func (m *GetSnapshotResponseDTO) Validate(formats strfmt.Registry) error
- type GettableAPIAlertingConfig
- func (m *GettableAPIAlertingConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GettableAPIAlertingConfig) MarshalBinary() ([]byte, error)
- func (m *GettableAPIAlertingConfig) UnmarshalBinary(b []byte) error
- func (m *GettableAPIAlertingConfig) Validate(formats strfmt.Registry) error
- type GettableAPIReceiver
- type GettableAlert
- type GettableExtendedRuleNode
- func (m *GettableExtendedRuleNode) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GettableExtendedRuleNode) MarshalBinary() ([]byte, error)
- func (m *GettableExtendedRuleNode) UnmarshalBinary(b []byte) error
- func (m *GettableExtendedRuleNode) Validate(formats strfmt.Registry) error
- type GettableGrafanaReceiver
- func (m *GettableGrafanaReceiver) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GettableGrafanaReceiver) MarshalBinary() ([]byte, error)
- func (m *GettableGrafanaReceiver) UnmarshalBinary(b []byte) error
- func (m *GettableGrafanaReceiver) Validate(formats strfmt.Registry) error
- type GettableGrafanaRule
- type GettableGrafanaSilence
- func (m *GettableGrafanaSilence) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GettableGrafanaSilence) MarshalBinary() ([]byte, error)
- func (m *GettableGrafanaSilence) UnmarshalBinary(b []byte) error
- func (m *GettableGrafanaSilence) Validate(formats strfmt.Registry) error
- type GettableRuleGroupConfig
- func (m *GettableRuleGroupConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GettableRuleGroupConfig) MarshalBinary() ([]byte, error)
- func (m *GettableRuleGroupConfig) UnmarshalBinary(b []byte) error
- func (m *GettableRuleGroupConfig) Validate(formats strfmt.Registry) error
- type GettableSilence
- type GlobalConfig
- type Group
- type GroupAttributes
- type GroupMapping
- type GroupMappingRequestBody
- func (m *GroupMappingRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GroupMappingRequestBody) MarshalBinary() ([]byte, error)
- func (m *GroupMappingRequestBody) UnmarshalBinary(b []byte) error
- func (m *GroupMappingRequestBody) Validate(formats strfmt.Registry) error
- type HTTPClientConfig
- type HardDeleteDashboardByUIDOKBody
- func (m *HardDeleteDashboardByUIDOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *HardDeleteDashboardByUIDOKBody) MarshalBinary() ([]byte, error)
- func (m *HardDeleteDashboardByUIDOKBody) UnmarshalBinary(b []byte) error
- func (m *HardDeleteDashboardByUIDOKBody) Validate(formats strfmt.Registry) error
- type Header
- type Headers
- type HealthResponse
- type Hit
- type HitList
- type HitType
- type HostPort
- type IPMask
- type IPNet
- type ImportDashboardInput
- type ImportDashboardRequest
- func (m *ImportDashboardRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ImportDashboardRequest) MarshalBinary() ([]byte, error)
- func (m *ImportDashboardRequest) UnmarshalBinary(b []byte) error
- func (m *ImportDashboardRequest) Validate(formats strfmt.Registry) error
- type ImportDashboardResponse
- func (m *ImportDashboardResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ImportDashboardResponse) MarshalBinary() ([]byte, error)
- func (m *ImportDashboardResponse) UnmarshalBinary(b []byte) error
- func (m *ImportDashboardResponse) Validate(formats strfmt.Registry) error
- type InhibitRule
- type InspectType
- type InternalDataLink
- type JSON
- type JSONWebKey
- type KeyUsage
- type Label
- type LabelName
- type LabelNames
- type LabelSet
- type LabelValue
- type Labels
- type LibraryElementArrayResponse
- func (m *LibraryElementArrayResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *LibraryElementArrayResponse) MarshalBinary() ([]byte, error)
- func (m *LibraryElementArrayResponse) UnmarshalBinary(b []byte) error
- func (m *LibraryElementArrayResponse) Validate(formats strfmt.Registry) error
- type LibraryElementConnectionDTO
- func (m *LibraryElementConnectionDTO) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *LibraryElementConnectionDTO) MarshalBinary() ([]byte, error)
- func (m *LibraryElementConnectionDTO) UnmarshalBinary(b []byte) error
- func (m *LibraryElementConnectionDTO) Validate(formats strfmt.Registry) error
- type LibraryElementConnectionsResponse
- func (m *LibraryElementConnectionsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *LibraryElementConnectionsResponse) MarshalBinary() ([]byte, error)
- func (m *LibraryElementConnectionsResponse) UnmarshalBinary(b []byte) error
- func (m *LibraryElementConnectionsResponse) Validate(formats strfmt.Registry) error
- type LibraryElementDTO
- type LibraryElementDTOMeta
- type LibraryElementDTOMetaUser
- func (m *LibraryElementDTOMetaUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *LibraryElementDTOMetaUser) MarshalBinary() ([]byte, error)
- func (m *LibraryElementDTOMetaUser) UnmarshalBinary(b []byte) error
- func (m *LibraryElementDTOMetaUser) Validate(formats strfmt.Registry) error
- type LibraryElementResponse
- func (m *LibraryElementResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *LibraryElementResponse) MarshalBinary() ([]byte, error)
- func (m *LibraryElementResponse) UnmarshalBinary(b []byte) error
- func (m *LibraryElementResponse) Validate(formats strfmt.Registry) error
- type LibraryElementSearchResponse
- func (m *LibraryElementSearchResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *LibraryElementSearchResponse) MarshalBinary() ([]byte, error)
- func (m *LibraryElementSearchResponse) UnmarshalBinary(b []byte) error
- func (m *LibraryElementSearchResponse) Validate(formats strfmt.Registry) error
- type LibraryElementSearchResult
- func (m *LibraryElementSearchResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *LibraryElementSearchResult) MarshalBinary() ([]byte, error)
- func (m *LibraryElementSearchResult) UnmarshalBinary(b []byte) error
- func (m *LibraryElementSearchResult) Validate(formats strfmt.Registry) error
- type LinkTransformationConfig
- func (m *LinkTransformationConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *LinkTransformationConfig) MarshalBinary() ([]byte, error)
- func (m *LinkTransformationConfig) UnmarshalBinary(b []byte) error
- func (m *LinkTransformationConfig) Validate(formats strfmt.Registry) error
- type ListAllProvidersSettingsOKBodyItems
- func (m *ListAllProvidersSettingsOKBodyItems) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListAllProvidersSettingsOKBodyItems) MarshalBinary() ([]byte, error)
- func (m *ListAllProvidersSettingsOKBodyItems) UnmarshalBinary(b []byte) error
- func (m *ListAllProvidersSettingsOKBodyItems) Validate(formats strfmt.Registry) error
- type ListSortOptionsOKBody
- type MSTeamsConfig
- type MassDeleteAnnotationsCmd
- func (m *MassDeleteAnnotationsCmd) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *MassDeleteAnnotationsCmd) MarshalBinary() ([]byte, error)
- func (m *MassDeleteAnnotationsCmd) UnmarshalBinary(b []byte) error
- func (m *MassDeleteAnnotationsCmd) Validate(formats strfmt.Registry) error
- type MatchRegexps
- type MatchType
- type Matcher
- type Matchers
- type MessageResponse
- type Metadata
- type MetricRequest
- type MigrateDataResponseItemDTO
- func (m *MigrateDataResponseItemDTO) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *MigrateDataResponseItemDTO) MarshalBinary() ([]byte, error)
- func (m *MigrateDataResponseItemDTO) UnmarshalBinary(b []byte) error
- func (m *MigrateDataResponseItemDTO) Validate(formats strfmt.Registry) error
- type MigrateDataResponseListDTO
- func (m *MigrateDataResponseListDTO) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *MigrateDataResponseListDTO) MarshalBinary() ([]byte, error)
- func (m *MigrateDataResponseListDTO) UnmarshalBinary(b []byte) error
- func (m *MigrateDataResponseListDTO) Validate(formats strfmt.Registry) error
- type MoveFolderCommand
- type MuteTimeInterval
- type MuteTimeIntervalExport
- func (m *MuteTimeIntervalExport) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *MuteTimeIntervalExport) MarshalBinary() ([]byte, error)
- func (m *MuteTimeIntervalExport) UnmarshalBinary(b []byte) error
- func (m *MuteTimeIntervalExport) Validate(formats strfmt.Registry) error
- type MuteTimings
- type Name
- type NavbarPreference
- type NewAPIKeyResult
- type NotFound
- type Notice
- type NoticeSeverity
- type NotificationPolicyExport
- func (m *NotificationPolicyExport) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *NotificationPolicyExport) MarshalBinary() ([]byte, error)
- func (m *NotificationPolicyExport) UnmarshalBinary(b []byte) error
- func (m *NotificationPolicyExport) Validate(formats strfmt.Registry) error
- type NotificationTemplate
- type NotificationTemplateContent
- func (m *NotificationTemplateContent) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *NotificationTemplateContent) MarshalBinary() ([]byte, error)
- func (m *NotificationTemplateContent) UnmarshalBinary(b []byte) error
- func (m *NotificationTemplateContent) Validate(formats strfmt.Registry) error
- type NotificationTemplates
- type OAuth2
- type ObjectIdentifier
- type ObjectMatcher
- type ObjectMatchers
- type OpsGenieConfig
- type OpsGenieConfigResponder
- func (m *OpsGenieConfigResponder) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *OpsGenieConfigResponder) MarshalBinary() ([]byte, error)
- func (m *OpsGenieConfigResponder) UnmarshalBinary(b []byte) error
- func (m *OpsGenieConfigResponder) Validate(formats strfmt.Registry) error
- type OrgDTO
- type OrgDetailsDTO
- type OrgUserDTO
- type PagerdutyConfig
- type PagerdutyImage
- type PagerdutyLink
- type Password
- type PatchAnnotationsCmd
- type PatchLibraryElementCommand
- func (m *PatchLibraryElementCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PatchLibraryElementCommand) MarshalBinary() ([]byte, error)
- func (m *PatchLibraryElementCommand) UnmarshalBinary(b []byte) error
- func (m *PatchLibraryElementCommand) Validate(formats strfmt.Registry) error
- type PatchPrefsCmd
- type PatchQueryCommentInQueryHistoryCommand
- func (m *PatchQueryCommentInQueryHistoryCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PatchQueryCommentInQueryHistoryCommand) MarshalBinary() ([]byte, error)
- func (m *PatchQueryCommentInQueryHistoryCommand) UnmarshalBinary(b []byte) error
- func (m *PatchQueryCommentInQueryHistoryCommand) Validate(formats strfmt.Registry) error
- type PeerStatus
- type Permission
- type PermissionDenied
- type PermissionType
- type Playlist
- type PlaylistDashboard
- type PlaylistItem
- type PlaylistItemDTO
- type Playlists
- type PostAnnotationOKBody
- type PostAnnotationsCmd
- type PostDashboardOKBody
- type PostGraphiteAnnotationOKBody
- func (m *PostGraphiteAnnotationOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PostGraphiteAnnotationOKBody) MarshalBinary() ([]byte, error)
- func (m *PostGraphiteAnnotationOKBody) UnmarshalBinary(b []byte) error
- func (m *PostGraphiteAnnotationOKBody) Validate(formats strfmt.Registry) error
- type PostGraphiteAnnotationsCmd
- func (m *PostGraphiteAnnotationsCmd) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PostGraphiteAnnotationsCmd) MarshalBinary() ([]byte, error)
- func (m *PostGraphiteAnnotationsCmd) UnmarshalBinary(b []byte) error
- func (m *PostGraphiteAnnotationsCmd) Validate(formats strfmt.Registry) error
- type PostableAPIAlertingConfig
- func (m *PostableAPIAlertingConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PostableAPIAlertingConfig) MarshalBinary() ([]byte, error)
- func (m *PostableAPIAlertingConfig) UnmarshalBinary(b []byte) error
- func (m *PostableAPIAlertingConfig) Validate(formats strfmt.Registry) error
- type PostableAPIReceiver
- type PostableAlert
- type PostableExtendedRuleNode
- func (m *PostableExtendedRuleNode) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PostableExtendedRuleNode) MarshalBinary() ([]byte, error)
- func (m *PostableExtendedRuleNode) UnmarshalBinary(b []byte) error
- func (m *PostableExtendedRuleNode) Validate(formats strfmt.Registry) error
- type PostableGrafanaReceiver
- func (m *PostableGrafanaReceiver) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PostableGrafanaReceiver) MarshalBinary() ([]byte, error)
- func (m *PostableGrafanaReceiver) UnmarshalBinary(b []byte) error
- func (m *PostableGrafanaReceiver) Validate(formats strfmt.Registry) error
- type PostableGrafanaRule
- type Preferences
- type PrometheusRemoteWriteTargetJSON
- func (m *PrometheusRemoteWriteTargetJSON) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PrometheusRemoteWriteTargetJSON) MarshalBinary() ([]byte, error)
- func (m *PrometheusRemoteWriteTargetJSON) UnmarshalBinary(b []byte) error
- func (m *PrometheusRemoteWriteTargetJSON) Validate(formats strfmt.Registry) error
- type Provenance
- type ProvisionedAlertRule
- type ProvisionedAlertRules
- type ProxyHeader
- type PublicDashboard
- type PublicDashboardDTO
- type PublicDashboardListResponse
- func (m *PublicDashboardListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PublicDashboardListResponse) MarshalBinary() ([]byte, error)
- func (m *PublicDashboardListResponse) UnmarshalBinary(b []byte) error
- func (m *PublicDashboardListResponse) Validate(formats strfmt.Registry) error
- type PublicDashboardListResponseWithPagination
- func (m *PublicDashboardListResponseWithPagination) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PublicDashboardListResponseWithPagination) MarshalBinary() ([]byte, error)
- func (m *PublicDashboardListResponseWithPagination) UnmarshalBinary(b []byte) error
- func (m *PublicDashboardListResponseWithPagination) Validate(formats strfmt.Registry) error
- type PublicError
- type PublicKeyAlgorithm
- type PushoverConfig
- type QueryDataResponse
- type QueryHistoryDTO
- type QueryHistoryDeleteQueryResponse
- func (m *QueryHistoryDeleteQueryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *QueryHistoryDeleteQueryResponse) MarshalBinary() ([]byte, error)
- func (m *QueryHistoryDeleteQueryResponse) UnmarshalBinary(b []byte) error
- func (m *QueryHistoryDeleteQueryResponse) Validate(formats strfmt.Registry) error
- type QueryHistoryPreference
- func (m *QueryHistoryPreference) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *QueryHistoryPreference) MarshalBinary() ([]byte, error)
- func (m *QueryHistoryPreference) UnmarshalBinary(b []byte) error
- func (m *QueryHistoryPreference) Validate(formats strfmt.Registry) error
- type QueryHistoryResponse
- type QueryHistorySearchResponse
- func (m *QueryHistorySearchResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *QueryHistorySearchResponse) MarshalBinary() ([]byte, error)
- func (m *QueryHistorySearchResponse) UnmarshalBinary(b []byte) error
- func (m *QueryHistorySearchResponse) Validate(formats strfmt.Registry) error
- type QueryHistorySearchResult
- func (m *QueryHistorySearchResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *QueryHistorySearchResult) MarshalBinary() ([]byte, error)
- func (m *QueryHistorySearchResult) UnmarshalBinary(b []byte) error
- func (m *QueryHistorySearchResult) Validate(formats strfmt.Registry) error
- type QueryStat
- type QuotaDTO
- type RawMessage
- type Receiver
- type ReceiverExport
- type Record
- type RecordingRuleJSON
- type RelativeTimeRange
- type RelativeTimeRangeExport
- func (m *RelativeTimeRangeExport) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RelativeTimeRangeExport) MarshalBinary() ([]byte, error)
- func (m *RelativeTimeRangeExport) UnmarshalBinary(b []byte) error
- func (m *RelativeTimeRangeExport) Validate(formats strfmt.Registry) error
- type Report
- type ReportBrandingOptions
- type ReportDashboard
- type ReportDashboardID
- type ReportEmail
- type ReportOptions
- type ReportSchedule
- type ReportSettings
- type ReportTimeRange
- type ResourcePermissionDTO
- type ResponseDetails
- type Responses
- type RestoreDashboardVersionByIDOKBody
- func (m *RestoreDashboardVersionByIDOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RestoreDashboardVersionByIDOKBody) MarshalBinary() ([]byte, error)
- func (m *RestoreDashboardVersionByIDOKBody) UnmarshalBinary(b []byte) error
- func (m *RestoreDashboardVersionByIDOKBody) Validate(formats strfmt.Registry) error
- type RestoreDashboardVersionByUIDOKBody
- func (m *RestoreDashboardVersionByUIDOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RestoreDashboardVersionByUIDOKBody) MarshalBinary() ([]byte, error)
- func (m *RestoreDashboardVersionByUIDOKBody) UnmarshalBinary(b []byte) error
- func (m *RestoreDashboardVersionByUIDOKBody) Validate(formats strfmt.Registry) error
- type RestoreDashboardVersionCommand
- func (m *RestoreDashboardVersionCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RestoreDashboardVersionCommand) MarshalBinary() ([]byte, error)
- func (m *RestoreDashboardVersionCommand) UnmarshalBinary(b []byte) error
- func (m *RestoreDashboardVersionCommand) Validate(formats strfmt.Registry) error
- type RestoreDeletedDashboardByUIDOKBody
- func (m *RestoreDeletedDashboardByUIDOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RestoreDeletedDashboardByUIDOKBody) MarshalBinary() ([]byte, error)
- func (m *RestoreDeletedDashboardByUIDOKBody) UnmarshalBinary(b []byte) error
- func (m *RestoreDeletedDashboardByUIDOKBody) Validate(formats strfmt.Registry) error
- type RestoreDeletedDashboardCommand
- func (m *RestoreDeletedDashboardCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RestoreDeletedDashboardCommand) MarshalBinary() ([]byte, error)
- func (m *RestoreDeletedDashboardCommand) UnmarshalBinary(b []byte) error
- func (m *RestoreDeletedDashboardCommand) Validate(formats strfmt.Registry) error
- type RetrieveJWKSOKBody
- type RevokeAuthTokenCmd
- type RoleAssignmentsDTO
- type RoleDTO
- type RolesSearchQuery
- type Route
- type RouteExport
- type RuleDiscovery
- type RuleGroup
- type SNSConfig
- type Sample
- type SaveDashboardCommand
- type SearchDeviceQueryResult
- func (m *SearchDeviceQueryResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SearchDeviceQueryResult) MarshalBinary() ([]byte, error)
- func (m *SearchDeviceQueryResult) UnmarshalBinary(b []byte) error
- func (m *SearchDeviceQueryResult) Validate(formats strfmt.Registry) error
- type SearchOrgServiceAccountsResult
- func (m *SearchOrgServiceAccountsResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SearchOrgServiceAccountsResult) MarshalBinary() ([]byte, error)
- func (m *SearchOrgServiceAccountsResult) UnmarshalBinary(b []byte) error
- func (m *SearchOrgServiceAccountsResult) Validate(formats strfmt.Registry) error
- type SearchOrgUsersQueryResult
- func (m *SearchOrgUsersQueryResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SearchOrgUsersQueryResult) MarshalBinary() ([]byte, error)
- func (m *SearchOrgUsersQueryResult) UnmarshalBinary(b []byte) error
- func (m *SearchOrgUsersQueryResult) Validate(formats strfmt.Registry) error
- type SearchResult
- type SearchResultItem
- type SearchTeamQueryResult
- type SearchUserQueryResult
- type Secret
- type SecretURL
- type ServiceAccountDTO
- type ServiceAccountProfileDTO
- func (m *ServiceAccountProfileDTO) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServiceAccountProfileDTO) MarshalBinary() ([]byte, error)
- func (m *ServiceAccountProfileDTO) UnmarshalBinary(b []byte) error
- func (m *ServiceAccountProfileDTO) Validate(formats strfmt.Registry) error
- type SetHelpFlagOKBody
- type SetPermissionCommand
- type SetPermissionsCommand
- type SetResourcePermissionCommand
- func (m *SetResourcePermissionCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SetResourcePermissionCommand) MarshalBinary() ([]byte, error)
- func (m *SetResourcePermissionCommand) UnmarshalBinary(b []byte) error
- func (m *SetResourcePermissionCommand) Validate(formats strfmt.Registry) error
- type SetRoleAssignmentsCommand
- func (m *SetRoleAssignmentsCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SetRoleAssignmentsCommand) MarshalBinary() ([]byte, error)
- func (m *SetRoleAssignmentsCommand) UnmarshalBinary(b []byte) error
- func (m *SetRoleAssignmentsCommand) Validate(formats strfmt.Registry) error
- type SetTeamMembershipsCommand
- func (m *SetTeamMembershipsCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SetTeamMembershipsCommand) MarshalBinary() ([]byte, error)
- func (m *SetTeamMembershipsCommand) UnmarshalBinary(b []byte) error
- func (m *SetTeamMembershipsCommand) Validate(formats strfmt.Registry) error
- type SetUserRolesCommand
- type SettingsBag
- type ShareType
- type SigV4Config
- type SignatureAlgorithm
- type SilenceMetadata
- type SilenceStatus
- type SlackAction
- type SlackConfig
- type SlackConfirmationField
- func (m *SlackConfirmationField) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SlackConfirmationField) MarshalBinary() ([]byte, error)
- func (m *SlackConfirmationField) UnmarshalBinary(b []byte) error
- func (m *SlackConfirmationField) Validate(formats strfmt.Registry) error
- type SlackField
- type SnapshotDTO
- type SnapshotListResponseDTO
- func (m *SnapshotListResponseDTO) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SnapshotListResponseDTO) MarshalBinary() ([]byte, error)
- func (m *SnapshotListResponseDTO) UnmarshalBinary(b []byte) error
- func (m *SnapshotListResponseDTO) Validate(formats strfmt.Registry) error
- type SnapshotResourceStats
- type Source
- type Span
- type State
- type Status
- type SuccessResponseBody
- type SupportedTransformationTypes
- type SyncResult
- type TLSConfig
- type TLSVersion
- type TagsDTO
- type TeamDTO
- type TeamGroupDTO
- type TeamGroupMapping
- type TeamLBACRule
- type TeamLBACRules
- type TeamMemberDTO
- type TelegramConfig
- type TempUserDTO
- type TempUserStatus
- type TestReceiverConfigResult
- func (m *TestReceiverConfigResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *TestReceiverConfigResult) MarshalBinary() ([]byte, error)
- func (m *TestReceiverConfigResult) UnmarshalBinary(b []byte) error
- func (m *TestReceiverConfigResult) Validate(formats strfmt.Registry) error
- type TestReceiverResult
- type TestReceiversConfigAlertParams
- func (m *TestReceiversConfigAlertParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *TestReceiversConfigAlertParams) MarshalBinary() ([]byte, error)
- func (m *TestReceiversConfigAlertParams) UnmarshalBinary(b []byte) error
- func (m *TestReceiversConfigAlertParams) Validate(formats strfmt.Registry) error
- type TestTemplatesErrorResult
- func (m *TestTemplatesErrorResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *TestTemplatesErrorResult) MarshalBinary() ([]byte, error)
- func (m *TestTemplatesErrorResult) UnmarshalBinary(b []byte) error
- func (m *TestTemplatesErrorResult) Validate(formats strfmt.Registry) error
- type TestTemplatesResult
- type Threshold
- type ThresholdsConfig
- type ThresholdsMode
- type TimeInterval
- type TimeIntervalItem
- type TimeIntervalTimeRange
- type TimeRange
- type Token
- type TokenDTO
- type TokenStatus
- type Transformation
- type Transformations
- type Type
- type URL
- type Unstructured
- type UpdateAnnotationsCmd
- type UpdateCorrelationCommand
- func (m *UpdateCorrelationCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateCorrelationCommand) MarshalBinary() ([]byte, error)
- func (m *UpdateCorrelationCommand) UnmarshalBinary(b []byte) error
- func (m *UpdateCorrelationCommand) Validate(formats strfmt.Registry) error
- type UpdateCorrelationResponseBody
- func (m *UpdateCorrelationResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateCorrelationResponseBody) MarshalBinary() ([]byte, error)
- func (m *UpdateCorrelationResponseBody) UnmarshalBinary(b []byte) error
- func (m *UpdateCorrelationResponseBody) Validate(formats strfmt.Registry) error
- type UpdateDashboardACLCommand
- func (m *UpdateDashboardACLCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateDashboardACLCommand) MarshalBinary() ([]byte, error)
- func (m *UpdateDashboardACLCommand) UnmarshalBinary(b []byte) error
- func (m *UpdateDashboardACLCommand) Validate(formats strfmt.Registry) error
- type UpdateDataSourceByIDOKBody
- func (m *UpdateDataSourceByIDOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateDataSourceByIDOKBody) MarshalBinary() ([]byte, error)
- func (m *UpdateDataSourceByIDOKBody) UnmarshalBinary(b []byte) error
- func (m *UpdateDataSourceByIDOKBody) Validate(formats strfmt.Registry) error
- type UpdateDataSourceByUIDOKBody
- func (m *UpdateDataSourceByUIDOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateDataSourceByUIDOKBody) MarshalBinary() ([]byte, error)
- func (m *UpdateDataSourceByUIDOKBody) UnmarshalBinary(b []byte) error
- func (m *UpdateDataSourceByUIDOKBody) Validate(formats strfmt.Registry) error
- type UpdateDataSourceCommand
- func (m *UpdateDataSourceCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateDataSourceCommand) MarshalBinary() ([]byte, error)
- func (m *UpdateDataSourceCommand) UnmarshalBinary(b []byte) error
- func (m *UpdateDataSourceCommand) Validate(formats strfmt.Registry) error
- type UpdateFolderCommand
- type UpdateOrgAddressForm
- type UpdateOrgForm
- type UpdateOrgUserCommand
- type UpdatePlaylistCommand
- type UpdatePrefsCmd
- type UpdateProviderSettingsParamsBody
- func (m *UpdateProviderSettingsParamsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateProviderSettingsParamsBody) MarshalBinary() ([]byte, error)
- func (m *UpdateProviderSettingsParamsBody) UnmarshalBinary(b []byte) error
- func (m *UpdateProviderSettingsParamsBody) Validate(formats strfmt.Registry) error
- type UpdateQuotaCmd
- type UpdateRoleCommand
- type UpdateServiceAccountForm
- func (m *UpdateServiceAccountForm) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateServiceAccountForm) MarshalBinary() ([]byte, error)
- func (m *UpdateServiceAccountForm) UnmarshalBinary(b []byte) error
- func (m *UpdateServiceAccountForm) Validate(formats strfmt.Registry) error
- type UpdateServiceAccountOKBody
- func (m *UpdateServiceAccountOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateServiceAccountOKBody) MarshalBinary() ([]byte, error)
- func (m *UpdateServiceAccountOKBody) UnmarshalBinary(b []byte) error
- func (m *UpdateServiceAccountOKBody) Validate(formats strfmt.Registry) error
- type UpdateTeamCommand
- type UpdateTeamLBACCommand
- type UpdateTeamLBACRulesAPIOKBody
- func (m *UpdateTeamLBACRulesAPIOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateTeamLBACRulesAPIOKBody) MarshalBinary() ([]byte, error)
- func (m *UpdateTeamLBACRulesAPIOKBody) UnmarshalBinary(b []byte) error
- func (m *UpdateTeamLBACRulesAPIOKBody) Validate(formats strfmt.Registry) error
- type UpdateTeamMemberCommand
- func (m *UpdateTeamMemberCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateTeamMemberCommand) MarshalBinary() ([]byte, error)
- func (m *UpdateTeamMemberCommand) UnmarshalBinary(b []byte) error
- func (m *UpdateTeamMemberCommand) Validate(formats strfmt.Registry) error
- type UpdateUserCommand
- type UserLookupDTO
- type UserOrgDTO
- type UserProfileDTO
- type UserSearchHitDTO
- type UserToken
- type Userinfo
- type ValidationError
- type ValueMapping
- type ValueMappings
- type Vector
- type VersionInfo
- type VictorOpsConfig
- type VisType
- type WebexConfig
- type WebhookConfig
- type WechatConfig
Constants ¶
const ( // AddInviteFormRoleNone captures enum value "None" AddInviteFormRoleNone string = "None" // AddInviteFormRoleViewer captures enum value "Viewer" AddInviteFormRoleViewer string = "Viewer" // AddInviteFormRoleEditor captures enum value "Editor" AddInviteFormRoleEditor string = "Editor" // AddInviteFormRoleAdmin captures enum value "Admin" AddInviteFormRoleAdmin string = "Admin" )
const ( // AddOrgUserCommandRoleNone captures enum value "None" AddOrgUserCommandRoleNone string = "None" // AddOrgUserCommandRoleViewer captures enum value "Viewer" AddOrgUserCommandRoleViewer string = "Viewer" // AddOrgUserCommandRoleEditor captures enum value "Editor" AddOrgUserCommandRoleEditor string = "Editor" // AddOrgUserCommandRoleAdmin captures enum value "Admin" AddOrgUserCommandRoleAdmin string = "Admin" )
const ( // AlertRuleExportExecErrStateOK captures enum value "OK" AlertRuleExportExecErrStateOK string = "OK" // AlertRuleExportExecErrStateAlerting captures enum value "Alerting" AlertRuleExportExecErrStateAlerting string = "Alerting" // AlertRuleExportExecErrStateError captures enum value "Error" AlertRuleExportExecErrStateError string = "Error" )
const ( // AlertRuleExportNoDataStateAlerting captures enum value "Alerting" AlertRuleExportNoDataStateAlerting string = "Alerting" // AlertRuleExportNoDataStateNoData captures enum value "NoData" AlertRuleExportNoDataStateNoData string = "NoData" // AlertRuleExportNoDataStateOK captures enum value "OK" AlertRuleExportNoDataStateOK string = "OK" )
const ( // APIKeyDTORoleNone captures enum value "None" APIKeyDTORoleNone string = "None" // APIKeyDTORoleViewer captures enum value "Viewer" APIKeyDTORoleViewer string = "Viewer" // APIKeyDTORoleEditor captures enum value "Editor" APIKeyDTORoleEditor string = "Editor" // APIKeyDTORoleAdmin captures enum value "Admin" APIKeyDTORoleAdmin string = "Admin" )
const ( // CalculateDashboardDiffParamsBodyDiffTypeBasic captures enum value "basic" CalculateDashboardDiffParamsBodyDiffTypeBasic string = "basic" // CalculateDashboardDiffParamsBodyDiffTypeJSON captures enum value "json" CalculateDashboardDiffParamsBodyDiffTypeJSON string = "json" )
const ( // CreateServiceAccountFormRoleNone captures enum value "None" CreateServiceAccountFormRoleNone string = "None" // CreateServiceAccountFormRoleViewer captures enum value "Viewer" CreateServiceAccountFormRoleViewer string = "Viewer" // CreateServiceAccountFormRoleEditor captures enum value "Editor" CreateServiceAccountFormRoleEditor string = "Editor" // CreateServiceAccountFormRoleAdmin captures enum value "Admin" CreateServiceAccountFormRoleAdmin string = "Admin" )
const ( // DashboardACLInfoDTORoleNone captures enum value "None" DashboardACLInfoDTORoleNone string = "None" // DashboardACLInfoDTORoleViewer captures enum value "Viewer" DashboardACLInfoDTORoleViewer string = "Viewer" // DashboardACLInfoDTORoleEditor captures enum value "Editor" DashboardACLInfoDTORoleEditor string = "Editor" // DashboardACLInfoDTORoleAdmin captures enum value "Admin" DashboardACLInfoDTORoleAdmin string = "Admin" )
const ( // DashboardACLUpdateItemRoleNone captures enum value "None" DashboardACLUpdateItemRoleNone string = "None" // DashboardACLUpdateItemRoleViewer captures enum value "Viewer" DashboardACLUpdateItemRoleViewer string = "Viewer" // DashboardACLUpdateItemRoleEditor captures enum value "Editor" DashboardACLUpdateItemRoleEditor string = "Editor" // DashboardACLUpdateItemRoleAdmin captures enum value "Admin" DashboardACLUpdateItemRoleAdmin string = "Admin" )
const ( // EmbeddedContactPointTypeAlertmanager captures enum value "alertmanager" EmbeddedContactPointTypeAlertmanager string = "alertmanager" // EmbeddedContactPointTypeDingding captures enum value " dingding" EmbeddedContactPointTypeDingding string = " dingding" // EmbeddedContactPointTypeDiscord captures enum value " discord" EmbeddedContactPointTypeDiscord string = " discord" // EmbeddedContactPointTypeEmail captures enum value " email" EmbeddedContactPointTypeEmail string = " email" // EmbeddedContactPointTypeGooglechat captures enum value " googlechat" EmbeddedContactPointTypeGooglechat string = " googlechat" // EmbeddedContactPointTypeKafka captures enum value " kafka" EmbeddedContactPointTypeKafka string = " kafka" // EmbeddedContactPointTypeLine captures enum value " line" EmbeddedContactPointTypeLine string = " line" // EmbeddedContactPointTypeOpsgenie captures enum value " opsgenie" EmbeddedContactPointTypeOpsgenie string = " opsgenie" // EmbeddedContactPointTypePagerduty captures enum value " pagerduty" EmbeddedContactPointTypePagerduty string = " pagerduty" // EmbeddedContactPointTypePushover captures enum value " pushover" EmbeddedContactPointTypePushover string = " pushover" // EmbeddedContactPointTypeSensugo captures enum value " sensugo" EmbeddedContactPointTypeSensugo string = " sensugo" // EmbeddedContactPointTypeSlack captures enum value " slack" EmbeddedContactPointTypeSlack string = " slack" // EmbeddedContactPointTypeTeams captures enum value " teams" EmbeddedContactPointTypeTeams string = " teams" // EmbeddedContactPointTypeTelegram captures enum value " telegram" EmbeddedContactPointTypeTelegram string = " telegram" // EmbeddedContactPointTypeThreema captures enum value " threema" EmbeddedContactPointTypeThreema string = " threema" // EmbeddedContactPointTypeVictorops captures enum value " victorops" EmbeddedContactPointTypeVictorops string = " victorops" // EmbeddedContactPointTypeWebhook captures enum value " webhook" EmbeddedContactPointTypeWebhook string = " webhook" // EmbeddedContactPointTypeWecom captures enum value " wecom" EmbeddedContactPointTypeWecom string = " wecom" )
const ( // GetSnapshotResponseDTOStatusINITIALIZING captures enum value "INITIALIZING" GetSnapshotResponseDTOStatusINITIALIZING string = "INITIALIZING" // GetSnapshotResponseDTOStatusCREATING captures enum value "CREATING" GetSnapshotResponseDTOStatusCREATING string = "CREATING" // GetSnapshotResponseDTOStatusPENDINGUPLOAD captures enum value "PENDING_UPLOAD" GetSnapshotResponseDTOStatusPENDINGUPLOAD string = "PENDING_UPLOAD" // GetSnapshotResponseDTOStatusUPLOADING captures enum value "UPLOADING" GetSnapshotResponseDTOStatusUPLOADING string = "UPLOADING" // GetSnapshotResponseDTOStatusPENDINGPROCESSING captures enum value "PENDING_PROCESSING" GetSnapshotResponseDTOStatusPENDINGPROCESSING string = "PENDING_PROCESSING" // GetSnapshotResponseDTOStatusPROCESSING captures enum value "PROCESSING" GetSnapshotResponseDTOStatusPROCESSING string = "PROCESSING" // GetSnapshotResponseDTOStatusFINISHED captures enum value "FINISHED" GetSnapshotResponseDTOStatusFINISHED string = "FINISHED" // GetSnapshotResponseDTOStatusCANCELED captures enum value "CANCELED" GetSnapshotResponseDTOStatusCANCELED string = "CANCELED" // GetSnapshotResponseDTOStatusERROR captures enum value "ERROR" GetSnapshotResponseDTOStatusERROR string = "ERROR" // GetSnapshotResponseDTOStatusUNKNOWN captures enum value "UNKNOWN" GetSnapshotResponseDTOStatusUNKNOWN string = "UNKNOWN" )
const ( // GettableGrafanaRuleExecErrStateOK captures enum value "OK" GettableGrafanaRuleExecErrStateOK string = "OK" // GettableGrafanaRuleExecErrStateAlerting captures enum value "Alerting" GettableGrafanaRuleExecErrStateAlerting string = "Alerting" // GettableGrafanaRuleExecErrStateError captures enum value "Error" GettableGrafanaRuleExecErrStateError string = "Error" )
const ( // GettableGrafanaRuleNoDataStateAlerting captures enum value "Alerting" GettableGrafanaRuleNoDataStateAlerting string = "Alerting" // GettableGrafanaRuleNoDataStateNoData captures enum value "NoData" GettableGrafanaRuleNoDataStateNoData string = "NoData" // GettableGrafanaRuleNoDataStateOK captures enum value "OK" GettableGrafanaRuleNoDataStateOK string = "OK" )
const ( // MigrateDataResponseItemDTOErrorCodeDATASOURCENAMECONFLICT captures enum value "DATASOURCE_NAME_CONFLICT" MigrateDataResponseItemDTOErrorCodeDATASOURCENAMECONFLICT string = "DATASOURCE_NAME_CONFLICT" // MigrateDataResponseItemDTOErrorCodeDATASOURCEINVALIDURL captures enum value "DATASOURCE_INVALID_URL" MigrateDataResponseItemDTOErrorCodeDATASOURCEINVALIDURL string = "DATASOURCE_INVALID_URL" // MigrateDataResponseItemDTOErrorCodeDATASOURCEALREADYMANAGED captures enum value "DATASOURCE_ALREADY_MANAGED" MigrateDataResponseItemDTOErrorCodeDATASOURCEALREADYMANAGED string = "DATASOURCE_ALREADY_MANAGED" // MigrateDataResponseItemDTOErrorCodeFOLDERNAMECONFLICT captures enum value "FOLDER_NAME_CONFLICT" MigrateDataResponseItemDTOErrorCodeFOLDERNAMECONFLICT string = "FOLDER_NAME_CONFLICT" // MigrateDataResponseItemDTOErrorCodeDASHBOARDALREADYMANAGED captures enum value "DASHBOARD_ALREADY_MANAGED" MigrateDataResponseItemDTOErrorCodeDASHBOARDALREADYMANAGED string = "DASHBOARD_ALREADY_MANAGED" // MigrateDataResponseItemDTOErrorCodeLIBRARYELEMENTNAMECONFLICT captures enum value "LIBRARY_ELEMENT_NAME_CONFLICT" MigrateDataResponseItemDTOErrorCodeLIBRARYELEMENTNAMECONFLICT string = "LIBRARY_ELEMENT_NAME_CONFLICT" // MigrateDataResponseItemDTOErrorCodeUNSUPPORTEDDATATYPE captures enum value "UNSUPPORTED_DATA_TYPE" MigrateDataResponseItemDTOErrorCodeUNSUPPORTEDDATATYPE string = "UNSUPPORTED_DATA_TYPE" // MigrateDataResponseItemDTOErrorCodeRESOURCECONFLICT captures enum value "RESOURCE_CONFLICT" MigrateDataResponseItemDTOErrorCodeRESOURCECONFLICT string = "RESOURCE_CONFLICT" // MigrateDataResponseItemDTOErrorCodeUNEXPECTEDSTATUSCODE captures enum value "UNEXPECTED_STATUS_CODE" MigrateDataResponseItemDTOErrorCodeUNEXPECTEDSTATUSCODE string = "UNEXPECTED_STATUS_CODE" // MigrateDataResponseItemDTOErrorCodeINTERNALSERVICEERROR captures enum value "INTERNAL_SERVICE_ERROR" MigrateDataResponseItemDTOErrorCodeINTERNALSERVICEERROR string = "INTERNAL_SERVICE_ERROR" // MigrateDataResponseItemDTOErrorCodeONLYCOREDATASOURCES captures enum value "ONLY_CORE_DATA_SOURCES" MigrateDataResponseItemDTOErrorCodeONLYCOREDATASOURCES string = "ONLY_CORE_DATA_SOURCES" // MigrateDataResponseItemDTOErrorCodeGENERICERROR captures enum value "GENERIC_ERROR" MigrateDataResponseItemDTOErrorCodeGENERICERROR string = "GENERIC_ERROR" )
const ( // MigrateDataResponseItemDTOStatusOK captures enum value "OK" MigrateDataResponseItemDTOStatusOK string = "OK" // MigrateDataResponseItemDTOStatusWARNING captures enum value "WARNING" MigrateDataResponseItemDTOStatusWARNING string = "WARNING" // MigrateDataResponseItemDTOStatusERROR captures enum value "ERROR" MigrateDataResponseItemDTOStatusERROR string = "ERROR" // MigrateDataResponseItemDTOStatusPENDING captures enum value "PENDING" MigrateDataResponseItemDTOStatusPENDING string = "PENDING" // MigrateDataResponseItemDTOStatusUNKNOWN captures enum value "UNKNOWN" MigrateDataResponseItemDTOStatusUNKNOWN string = "UNKNOWN" )
const ( // MigrateDataResponseItemDTOTypeDASHBOARD captures enum value "DASHBOARD" MigrateDataResponseItemDTOTypeDASHBOARD string = "DASHBOARD" // MigrateDataResponseItemDTOTypeDATASOURCE captures enum value "DATASOURCE" MigrateDataResponseItemDTOTypeDATASOURCE string = "DATASOURCE" // MigrateDataResponseItemDTOTypeFOLDER captures enum value "FOLDER" MigrateDataResponseItemDTOTypeFOLDER string = "FOLDER" // MigrateDataResponseItemDTOTypeLIBRARYELEMENT captures enum value "LIBRARY_ELEMENT" MigrateDataResponseItemDTOTypeLIBRARYELEMENT string = "LIBRARY_ELEMENT" // MigrateDataResponseItemDTOTypeALERTRULE captures enum value "ALERT_RULE" MigrateDataResponseItemDTOTypeALERTRULE string = "ALERT_RULE" // MigrateDataResponseItemDTOTypeCONTACTPOINT captures enum value "CONTACT_POINT" MigrateDataResponseItemDTOTypeCONTACTPOINT string = "CONTACT_POINT" // MigrateDataResponseItemDTOTypeNOTIFICATIONPOLICY captures enum value "NOTIFICATION_POLICY" MigrateDataResponseItemDTOTypeNOTIFICATIONPOLICY string = "NOTIFICATION_POLICY" // MigrateDataResponseItemDTOTypeNOTIFICATIONTEMPLATE captures enum value "NOTIFICATION_TEMPLATE" MigrateDataResponseItemDTOTypeNOTIFICATIONTEMPLATE string = "NOTIFICATION_TEMPLATE" // MigrateDataResponseItemDTOTypeMUTETIMING captures enum value "MUTE_TIMING" MigrateDataResponseItemDTOTypeMUTETIMING string = "MUTE_TIMING" )
const ( // PatchPrefsCmdThemeLight captures enum value "light" PatchPrefsCmdThemeLight string = "light" // PatchPrefsCmdThemeDark captures enum value "dark" PatchPrefsCmdThemeDark string = "dark" )
const ( // PatchPrefsCmdTimezoneUtc captures enum value "utc" PatchPrefsCmdTimezoneUtc string = "utc" // PatchPrefsCmdTimezoneBrowser captures enum value "browser" PatchPrefsCmdTimezoneBrowser string = "browser" )
const ( // PostableGrafanaRuleExecErrStateOK captures enum value "OK" PostableGrafanaRuleExecErrStateOK string = "OK" // PostableGrafanaRuleExecErrStateAlerting captures enum value "Alerting" PostableGrafanaRuleExecErrStateAlerting string = "Alerting" // PostableGrafanaRuleExecErrStateError captures enum value "Error" PostableGrafanaRuleExecErrStateError string = "Error" )
const ( // PostableGrafanaRuleNoDataStateAlerting captures enum value "Alerting" PostableGrafanaRuleNoDataStateAlerting string = "Alerting" // PostableGrafanaRuleNoDataStateNoData captures enum value "NoData" PostableGrafanaRuleNoDataStateNoData string = "NoData" // PostableGrafanaRuleNoDataStateOK captures enum value "OK" PostableGrafanaRuleNoDataStateOK string = "OK" )
const ( // ProvisionedAlertRuleExecErrStateOK captures enum value "OK" ProvisionedAlertRuleExecErrStateOK string = "OK" // ProvisionedAlertRuleExecErrStateAlerting captures enum value "Alerting" ProvisionedAlertRuleExecErrStateAlerting string = "Alerting" // ProvisionedAlertRuleExecErrStateError captures enum value "Error" ProvisionedAlertRuleExecErrStateError string = "Error" )
const ( // ProvisionedAlertRuleNoDataStateAlerting captures enum value "Alerting" ProvisionedAlertRuleNoDataStateAlerting string = "Alerting" // ProvisionedAlertRuleNoDataStateNoData captures enum value "NoData" ProvisionedAlertRuleNoDataStateNoData string = "NoData" // ProvisionedAlertRuleNoDataStateOK captures enum value "OK" ProvisionedAlertRuleNoDataStateOK string = "OK" )
const ( // SnapshotDTOStatusINITIALIZING captures enum value "INITIALIZING" SnapshotDTOStatusINITIALIZING string = "INITIALIZING" // SnapshotDTOStatusCREATING captures enum value "CREATING" SnapshotDTOStatusCREATING string = "CREATING" // SnapshotDTOStatusPENDINGUPLOAD captures enum value "PENDING_UPLOAD" SnapshotDTOStatusPENDINGUPLOAD string = "PENDING_UPLOAD" // SnapshotDTOStatusUPLOADING captures enum value "UPLOADING" SnapshotDTOStatusUPLOADING string = "UPLOADING" // SnapshotDTOStatusPENDINGPROCESSING captures enum value "PENDING_PROCESSING" SnapshotDTOStatusPENDINGPROCESSING string = "PENDING_PROCESSING" // SnapshotDTOStatusPROCESSING captures enum value "PROCESSING" SnapshotDTOStatusPROCESSING string = "PROCESSING" // SnapshotDTOStatusFINISHED captures enum value "FINISHED" SnapshotDTOStatusFINISHED string = "FINISHED" // SnapshotDTOStatusCANCELED captures enum value "CANCELED" SnapshotDTOStatusCANCELED string = "CANCELED" // SnapshotDTOStatusERROR captures enum value "ERROR" SnapshotDTOStatusERROR string = "ERROR" // SnapshotDTOStatusUNKNOWN captures enum value "UNKNOWN" SnapshotDTOStatusUNKNOWN string = "UNKNOWN" )
const ( // TempUserDTORoleNone captures enum value "None" TempUserDTORoleNone string = "None" // TempUserDTORoleViewer captures enum value "Viewer" TempUserDTORoleViewer string = "Viewer" // TempUserDTORoleEditor captures enum value "Editor" TempUserDTORoleEditor string = "Editor" // TempUserDTORoleAdmin captures enum value "Admin" TempUserDTORoleAdmin string = "Admin" )
const ( // TestTemplatesErrorResultKindInvalidTemplate captures enum value "invalid_template" TestTemplatesErrorResultKindInvalidTemplate string = "invalid_template" // TestTemplatesErrorResultKindExecutionError captures enum value "execution_error" TestTemplatesErrorResultKindExecutionError string = "execution_error" )
const ( // TransformationTypeRegex captures enum value "regex" TransformationTypeRegex string = "regex" // TransformationTypeLogfmt captures enum value "logfmt" TransformationTypeLogfmt string = "logfmt" )
const ( // UpdateOrgUserCommandRoleNone captures enum value "None" UpdateOrgUserCommandRoleNone string = "None" // UpdateOrgUserCommandRoleViewer captures enum value "Viewer" UpdateOrgUserCommandRoleViewer string = "Viewer" // UpdateOrgUserCommandRoleEditor captures enum value "Editor" UpdateOrgUserCommandRoleEditor string = "Editor" // UpdateOrgUserCommandRoleAdmin captures enum value "Admin" UpdateOrgUserCommandRoleAdmin string = "Admin" )
const ( // UpdatePrefsCmdThemeLight captures enum value "light" UpdatePrefsCmdThemeLight string = "light" // UpdatePrefsCmdThemeDark captures enum value "dark" UpdatePrefsCmdThemeDark string = "dark" // UpdatePrefsCmdThemeSystem captures enum value "system" UpdatePrefsCmdThemeSystem string = "system" )
const ( // UpdatePrefsCmdTimezoneUtc captures enum value "utc" UpdatePrefsCmdTimezoneUtc string = "utc" // UpdatePrefsCmdTimezoneBrowser captures enum value "browser" UpdatePrefsCmdTimezoneBrowser string = "browser" )
const ( // UpdateServiceAccountFormRoleNone captures enum value "None" UpdateServiceAccountFormRoleNone string = "None" // UpdateServiceAccountFormRoleViewer captures enum value "Viewer" UpdateServiceAccountFormRoleViewer string = "Viewer" // UpdateServiceAccountFormRoleEditor captures enum value "Editor" UpdateServiceAccountFormRoleEditor string = "Editor" // UpdateServiceAccountFormRoleAdmin captures enum value "Admin" UpdateServiceAccountFormRoleAdmin string = "Admin" )
const ( // UserOrgDTORoleNone captures enum value "None" UserOrgDTORoleNone string = "None" // UserOrgDTORoleViewer captures enum value "Viewer" UserOrgDTORoleViewer string = "Viewer" // UserOrgDTORoleEditor captures enum value "Editor" UserOrgDTORoleEditor string = "Editor" // UserOrgDTORoleAdmin captures enum value "Admin" UserOrgDTORoleAdmin string = "Admin" )
const ( // AlertStatusStateUnprocessedActiveSuppressed captures enum value "[unprocessed active suppressed]" AlertStatusStateUnprocessedActiveSuppressed string = "[unprocessed active suppressed]" )
const ( // ClusterStatusStatusReadySettlingDisabled captures enum value "[ready settling disabled]" ClusterStatusStatusReadySettlingDisabled string = "[ready settling disabled]" )
const ( // SilenceStatusStateExpiredActivePending captures enum value "[expired active pending]" SilenceStatusStateExpiredActivePending string = "[expired active pending]" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIKeyDTO ¶
type APIKeyDTO struct { // access control AccessControl Metadata `json:"accessControl,omitempty"` // expiration // Format: date-time Expiration strfmt.DateTime `json:"expiration,omitempty"` // id ID int64 `json:"id,omitempty"` // last used at // Format: date-time LastUsedAt strfmt.DateTime `json:"lastUsedAt,omitempty"` // name Name string `json:"name,omitempty"` // role // Enum: [None Viewer Editor Admin] Role string `json:"role,omitempty"` }
APIKeyDTO Api key DTO
swagger:model ApiKeyDTO
func (*APIKeyDTO) ContextValidate ¶
ContextValidate validate this Api key DTO based on the context it is used
func (*APIKeyDTO) MarshalBinary ¶
MarshalBinary interface implementation
func (*APIKeyDTO) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ActiveSyncStatusDTO ¶
type ActiveSyncStatusDTO struct { // enabled Enabled bool `json:"enabled,omitempty"` // next sync // Format: date-time NextSync strfmt.DateTime `json:"nextSync,omitempty"` // prev sync PrevSync *SyncResult `json:"prevSync,omitempty"` // schedule Schedule string `json:"schedule,omitempty"` }
ActiveSyncStatusDTO ActiveSyncStatusDTO holds the information for LDAP background Sync
swagger:model ActiveSyncStatusDTO
func (*ActiveSyncStatusDTO) ContextValidate ¶
ContextValidate validate this active sync status DTO based on the context it is used
func (*ActiveSyncStatusDTO) MarshalBinary ¶
func (m *ActiveSyncStatusDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ActiveSyncStatusDTO) UnmarshalBinary ¶
func (m *ActiveSyncStatusDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ActiveUserStats ¶
type ActiveUserStats struct { // active admins and editors ActiveAdminsAndEditors int64 `json:"active_admins_and_editors,omitempty"` // active anonymous devices ActiveAnonymousDevices int64 `json:"active_anonymous_devices,omitempty"` // active users ActiveUsers int64 `json:"active_users,omitempty"` // active viewers ActiveViewers int64 `json:"active_viewers,omitempty"` }
ActiveUserStats active user stats
swagger:model ActiveUserStats
func (*ActiveUserStats) ContextValidate ¶
ContextValidate validates this active user stats based on context it is used
func (*ActiveUserStats) MarshalBinary ¶
func (m *ActiveUserStats) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ActiveUserStats) UnmarshalBinary ¶
func (m *ActiveUserStats) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddDataSourceCommand ¶
type AddDataSourceCommand struct { // access Access DsAccess `json:"access,omitempty"` // basic auth BasicAuth bool `json:"basicAuth,omitempty"` // basic auth user BasicAuthUser string `json:"basicAuthUser,omitempty"` // database Database string `json:"database,omitempty"` // is default IsDefault bool `json:"isDefault,omitempty"` // json data JSONData JSON `json:"jsonData,omitempty"` // name Name string `json:"name,omitempty"` // secure Json data SecureJSONData map[string]string `json:"secureJsonData,omitempty"` // type Type string `json:"type,omitempty"` // uid UID string `json:"uid,omitempty"` // url URL string `json:"url,omitempty"` // user User string `json:"user,omitempty"` // with credentials WithCredentials bool `json:"withCredentials,omitempty"` }
AddDataSourceCommand Also acts as api DTO
swagger:model AddDataSourceCommand
func (*AddDataSourceCommand) ContextValidate ¶
ContextValidate validate this add data source command based on the context it is used
func (*AddDataSourceCommand) MarshalBinary ¶
func (m *AddDataSourceCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddDataSourceCommand) UnmarshalBinary ¶
func (m *AddDataSourceCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddDataSourceOKBody ¶
type AddDataSourceOKBody struct { // datasource // Required: true Datasource *DataSource `json:"datasource"` // ID Identifier of the new data source. // Example: 65 // Required: true ID *int64 `json:"id"` // Message Message of the deleted dashboard. // Example: Data source added // Required: true Message *string `json:"message"` // Name of the new data source. // Example: My Data source // Required: true Name *string `json:"name"` }
AddDataSourceOKBody add data source Ok body
swagger:model addDataSourceOkBody
func (*AddDataSourceOKBody) ContextValidate ¶
ContextValidate validate this add data source Ok body based on the context it is used
func (*AddDataSourceOKBody) MarshalBinary ¶
func (m *AddDataSourceOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddDataSourceOKBody) UnmarshalBinary ¶
func (m *AddDataSourceOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddInviteForm ¶
type AddInviteForm struct { // login or email LoginOrEmail string `json:"loginOrEmail,omitempty"` // name Name string `json:"name,omitempty"` // role // Enum: [None Viewer Editor Admin] Role string `json:"role,omitempty"` // send email SendEmail bool `json:"sendEmail,omitempty"` }
AddInviteForm add invite form
swagger:model AddInviteForm
func (*AddInviteForm) ContextValidate ¶
ContextValidate validates this add invite form based on context it is used
func (*AddInviteForm) MarshalBinary ¶
func (m *AddInviteForm) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddInviteForm) UnmarshalBinary ¶
func (m *AddInviteForm) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddOrgUserCommand ¶
type AddOrgUserCommand struct { // login or email LoginOrEmail string `json:"loginOrEmail,omitempty"` // role // Enum: [None Viewer Editor Admin] Role string `json:"role,omitempty"` }
AddOrgUserCommand add org user command
swagger:model AddOrgUserCommand
func (*AddOrgUserCommand) ContextValidate ¶
ContextValidate validates this add org user command based on context it is used
func (*AddOrgUserCommand) MarshalBinary ¶
func (m *AddOrgUserCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddOrgUserCommand) UnmarshalBinary ¶
func (m *AddOrgUserCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddServiceAccountTokenCommand ¶
type AddServiceAccountTokenCommand struct { // name Name string `json:"name,omitempty"` // seconds to live SecondsToLive int64 `json:"secondsToLive,omitempty"` }
AddServiceAccountTokenCommand add service account token command
swagger:model AddServiceAccountTokenCommand
func (*AddServiceAccountTokenCommand) ContextValidate ¶
func (m *AddServiceAccountTokenCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this add service account token command based on context it is used
func (*AddServiceAccountTokenCommand) MarshalBinary ¶
func (m *AddServiceAccountTokenCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddServiceAccountTokenCommand) UnmarshalBinary ¶
func (m *AddServiceAccountTokenCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddTeamMemberCommand ¶
type AddTeamMemberCommand struct { // user Id UserID int64 `json:"userId,omitempty"` }
AddTeamMemberCommand add team member command
swagger:model AddTeamMemberCommand
func (*AddTeamMemberCommand) ContextValidate ¶
ContextValidate validates this add team member command based on context it is used
func (*AddTeamMemberCommand) MarshalBinary ¶
func (m *AddTeamMemberCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddTeamMemberCommand) UnmarshalBinary ¶
func (m *AddTeamMemberCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddTeamRoleCommand ¶
type AddTeamRoleCommand struct { // role Uid RoleUID string `json:"roleUid,omitempty"` }
AddTeamRoleCommand add team role command
swagger:model AddTeamRoleCommand
func (*AddTeamRoleCommand) ContextValidate ¶
ContextValidate validates this add team role command based on context it is used
func (*AddTeamRoleCommand) MarshalBinary ¶
func (m *AddTeamRoleCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddTeamRoleCommand) UnmarshalBinary ¶
func (m *AddTeamRoleCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddUserRoleCommand ¶
type AddUserRoleCommand struct { // global Global bool `json:"global,omitempty"` // role Uid RoleUID string `json:"roleUid,omitempty"` }
AddUserRoleCommand add user role command
swagger:model AddUserRoleCommand
func (*AddUserRoleCommand) ContextValidate ¶
ContextValidate validates this add user role command based on context it is used
func (*AddUserRoleCommand) MarshalBinary ¶
func (m *AddUserRoleCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddUserRoleCommand) UnmarshalBinary ¶
func (m *AddUserRoleCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Address ¶
type Address struct { // address1 Address1 string `json:"address1,omitempty"` // address2 Address2 string `json:"address2,omitempty"` // city City string `json:"city,omitempty"` // country Country string `json:"country,omitempty"` // state State string `json:"state,omitempty"` // zip code ZipCode string `json:"zipCode,omitempty"` }
Address address
swagger:model Address
func (*Address) ContextValidate ¶
ContextValidate validates this address based on context it is used
func (*Address) MarshalBinary ¶
MarshalBinary interface implementation
func (*Address) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AdminCreateUserForm ¶
type AdminCreateUserForm struct { // email Email string `json:"email,omitempty"` // login Login string `json:"login,omitempty"` // name Name string `json:"name,omitempty"` // org Id OrgID int64 `json:"orgId,omitempty"` // password Password Password `json:"password,omitempty"` }
AdminCreateUserForm admin create user form
swagger:model AdminCreateUserForm
func (*AdminCreateUserForm) ContextValidate ¶
ContextValidate validate this admin create user form based on the context it is used
func (*AdminCreateUserForm) MarshalBinary ¶
func (m *AdminCreateUserForm) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AdminCreateUserForm) UnmarshalBinary ¶
func (m *AdminCreateUserForm) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AdminCreateUserResponse ¶
type AdminCreateUserResponse struct { // id ID int64 `json:"id,omitempty"` // message Message string `json:"message,omitempty"` // uid UID string `json:"uid,omitempty"` }
AdminCreateUserResponse admin create user response
swagger:model AdminCreateUserResponse
func (*AdminCreateUserResponse) ContextValidate ¶
func (m *AdminCreateUserResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this admin create user response based on context it is used
func (*AdminCreateUserResponse) MarshalBinary ¶
func (m *AdminCreateUserResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AdminCreateUserResponse) UnmarshalBinary ¶
func (m *AdminCreateUserResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AdminStats ¶
type AdminStats struct { // active admins ActiveAdmins int64 `json:"activeAdmins,omitempty"` // active devices ActiveDevices int64 `json:"activeDevices,omitempty"` // active editors ActiveEditors int64 `json:"activeEditors,omitempty"` // active sessions ActiveSessions int64 `json:"activeSessions,omitempty"` // active users ActiveUsers int64 `json:"activeUsers,omitempty"` // active viewers ActiveViewers int64 `json:"activeViewers,omitempty"` // admins Admins int64 `json:"admins,omitempty"` // alerts Alerts int64 `json:"alerts,omitempty"` // daily active admins DailyActiveAdmins int64 `json:"dailyActiveAdmins,omitempty"` // daily active editors DailyActiveEditors int64 `json:"dailyActiveEditors,omitempty"` // daily active sessions DailyActiveSessions int64 `json:"dailyActiveSessions,omitempty"` // daily active users DailyActiveUsers int64 `json:"dailyActiveUsers,omitempty"` // daily active viewers DailyActiveViewers int64 `json:"dailyActiveViewers,omitempty"` // dashboards Dashboards int64 `json:"dashboards,omitempty"` // datasources Datasources int64 `json:"datasources,omitempty"` // editors Editors int64 `json:"editors,omitempty"` // monthly active users MonthlyActiveUsers int64 `json:"monthlyActiveUsers,omitempty"` // orgs Orgs int64 `json:"orgs,omitempty"` // playlists Playlists int64 `json:"playlists,omitempty"` // snapshots Snapshots int64 `json:"snapshots,omitempty"` // stars Stars int64 `json:"stars,omitempty"` // tags Tags int64 `json:"tags,omitempty"` // users Users int64 `json:"users,omitempty"` // viewers Viewers int64 `json:"viewers,omitempty"` }
AdminStats admin stats
swagger:model AdminStats
func (*AdminStats) ContextValidate ¶
ContextValidate validates this admin stats based on context it is used
func (*AdminStats) MarshalBinary ¶
func (m *AdminStats) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AdminStats) UnmarshalBinary ¶
func (m *AdminStats) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AdminUpdateUserPasswordForm ¶
type AdminUpdateUserPasswordForm struct { // password Password Password `json:"password,omitempty"` }
AdminUpdateUserPasswordForm admin update user password form
swagger:model AdminUpdateUserPasswordForm
func (*AdminUpdateUserPasswordForm) ContextValidate ¶
func (m *AdminUpdateUserPasswordForm) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this admin update user password form based on the context it is used
func (*AdminUpdateUserPasswordForm) MarshalBinary ¶
func (m *AdminUpdateUserPasswordForm) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AdminUpdateUserPasswordForm) UnmarshalBinary ¶
func (m *AdminUpdateUserPasswordForm) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AdminUpdateUserPermissionsForm ¶
type AdminUpdateUserPermissionsForm struct { // is grafana admin IsGrafanaAdmin bool `json:"isGrafanaAdmin,omitempty"` }
AdminUpdateUserPermissionsForm admin update user permissions form
swagger:model AdminUpdateUserPermissionsForm
func (*AdminUpdateUserPermissionsForm) ContextValidate ¶
func (m *AdminUpdateUserPermissionsForm) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this admin update user permissions form based on context it is used
func (*AdminUpdateUserPermissionsForm) MarshalBinary ¶
func (m *AdminUpdateUserPermissionsForm) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AdminUpdateUserPermissionsForm) UnmarshalBinary ¶
func (m *AdminUpdateUserPermissionsForm) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Alert ¶
type Alert struct { // active at // Format: date-time ActiveAt strfmt.DateTime `json:"activeAt,omitempty"` // annotations // Required: true Annotations Labels `json:"annotations"` // labels // Required: true Labels Labels `json:"labels"` // state // Required: true State *string `json:"state"` // value // Required: true Value *string `json:"value"` }
Alert Alert has info for an alert.
swagger:model Alert
func (*Alert) ContextValidate ¶
ContextValidate validate this alert based on the context it is used
func (*Alert) MarshalBinary ¶
MarshalBinary interface implementation
func (*Alert) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AlertDiscovery ¶
type AlertDiscovery struct { // alerts // Required: true Alerts []*Alert `json:"alerts"` }
AlertDiscovery AlertDiscovery has info for all active alerts.
swagger:model AlertDiscovery
func (*AlertDiscovery) ContextValidate ¶
ContextValidate validate this alert discovery based on the context it is used
func (*AlertDiscovery) MarshalBinary ¶
func (m *AlertDiscovery) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AlertDiscovery) UnmarshalBinary ¶
func (m *AlertDiscovery) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AlertGroup ¶
type AlertGroup struct { // alerts // Required: true Alerts []*GettableAlert `json:"alerts"` // labels // Required: true Labels LabelSet `json:"labels"` // receiver // Required: true Receiver *Receiver `json:"receiver"` }
AlertGroup AlertGroup alert group
swagger:model alertGroup
func (*AlertGroup) ContextValidate ¶
ContextValidate validate this alert group based on the context it is used
func (*AlertGroup) MarshalBinary ¶
func (m *AlertGroup) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AlertGroup) UnmarshalBinary ¶
func (m *AlertGroup) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AlertInstancesResponse ¶
type AlertInstancesResponse struct { // Instances is an array of arrow encoded dataframes // each frame has a single row, and a column for each instance (alert identified by unique labels) with a boolean value (firing/not firing) Instances [][]uint8 `json:"instances"` }
AlertInstancesResponse alert instances response
swagger:model AlertInstancesResponse
func (*AlertInstancesResponse) ContextValidate ¶
func (m *AlertInstancesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this alert instances response based on context it is used
func (*AlertInstancesResponse) MarshalBinary ¶
func (m *AlertInstancesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AlertInstancesResponse) UnmarshalBinary ¶
func (m *AlertInstancesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AlertManager ¶
type AlertManager struct { // url URL string `json:"url,omitempty"` }
AlertManager AlertManager models a configured Alert Manager.
swagger:model AlertManager
func (*AlertManager) ContextValidate ¶
ContextValidate validates this alert manager based on context it is used
func (*AlertManager) MarshalBinary ¶
func (m *AlertManager) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AlertManager) UnmarshalBinary ¶
func (m *AlertManager) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AlertManagersResult ¶
type AlertManagersResult struct { // active alert managers ActiveAlertManagers []*AlertManager `json:"activeAlertManagers"` // dropped alert managers DroppedAlertManagers []*AlertManager `json:"droppedAlertManagers"` }
AlertManagersResult AlertManagersResult contains the result from querying the alertmanagers endpoint.
swagger:model AlertManagersResult
func (*AlertManagersResult) ContextValidate ¶
ContextValidate validate this alert managers result based on the context it is used
func (*AlertManagersResult) MarshalBinary ¶
func (m *AlertManagersResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AlertManagersResult) UnmarshalBinary ¶
func (m *AlertManagersResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AlertQuery ¶
type AlertQuery struct { // Grafana data source unique identifier; it should be '__expr__' for a Server Side Expression operation. DatasourceUID string `json:"datasourceUid,omitempty"` // JSON is the raw JSON query and includes the above properties as well as custom properties. Model interface{} `json:"model,omitempty"` // QueryType is an optional identifier for the type of query. // It can be used to distinguish different types of queries. QueryType string `json:"queryType,omitempty"` // RefID is the unique identifier of the query, set by the frontend call. RefID string `json:"refId,omitempty"` // relative time range RelativeTimeRange *RelativeTimeRange `json:"relativeTimeRange,omitempty"` }
AlertQuery AlertQuery represents a single query associated with an alert definition.
swagger:model AlertQuery
func (*AlertQuery) ContextValidate ¶
ContextValidate validate this alert query based on the context it is used
func (*AlertQuery) MarshalBinary ¶
func (m *AlertQuery) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AlertQuery) UnmarshalBinary ¶
func (m *AlertQuery) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AlertQueryExport ¶
type AlertQueryExport struct { // datasource Uid DatasourceUID string `json:"datasourceUid,omitempty"` // model Model interface{} `json:"model,omitempty"` // query type QueryType string `json:"queryType,omitempty"` // ref Id RefID string `json:"refId,omitempty"` // relative time range RelativeTimeRange *RelativeTimeRangeExport `json:"relativeTimeRange,omitempty"` }
AlertQueryExport AlertQueryExport is the provisioned export of models.AlertQuery.
swagger:model AlertQueryExport
func (*AlertQueryExport) ContextValidate ¶
ContextValidate validate this alert query export based on the context it is used
func (*AlertQueryExport) MarshalBinary ¶
func (m *AlertQueryExport) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AlertQueryExport) UnmarshalBinary ¶
func (m *AlertQueryExport) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AlertRuleEditorSettings ¶
type AlertRuleEditorSettings struct { // simplified query and expressions section SimplifiedQueryAndExpressionsSection bool `json:"simplified_query_and_expressions_section,omitempty"` }
AlertRuleEditorSettings alert rule editor settings
swagger:model AlertRuleEditorSettings
func (*AlertRuleEditorSettings) ContextValidate ¶
func (m *AlertRuleEditorSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this alert rule editor settings based on context it is used
func (*AlertRuleEditorSettings) MarshalBinary ¶
func (m *AlertRuleEditorSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AlertRuleEditorSettings) UnmarshalBinary ¶
func (m *AlertRuleEditorSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AlertRuleExport ¶
type AlertRuleExport struct { // annotations Annotations map[string]string `json:"annotations,omitempty"` // condition Condition string `json:"condition,omitempty"` // dashboard Uid DashboardUID string `json:"dashboardUid,omitempty"` // data Data []*AlertQueryExport `json:"data"` // exec err state // Enum: [OK Alerting Error] ExecErrState string `json:"execErrState,omitempty"` // for For Duration `json:"for,omitempty"` // is paused IsPaused bool `json:"isPaused,omitempty"` // labels Labels map[string]string `json:"labels,omitempty"` // no data state // Enum: [Alerting NoData OK] NoDataState string `json:"noDataState,omitempty"` // notification settings NotificationSettings *AlertRuleNotificationSettingsExport `json:"notification_settings,omitempty"` // panel Id PanelID int64 `json:"panelId,omitempty"` // record Record *AlertRuleRecordExport `json:"record,omitempty"` // title Title string `json:"title,omitempty"` // uid UID string `json:"uid,omitempty"` }
AlertRuleExport AlertRuleExport is the provisioned file export of models.AlertRule.
swagger:model AlertRuleExport
func (*AlertRuleExport) ContextValidate ¶
ContextValidate validate this alert rule export based on the context it is used
func (*AlertRuleExport) MarshalBinary ¶
func (m *AlertRuleExport) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AlertRuleExport) UnmarshalBinary ¶
func (m *AlertRuleExport) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AlertRuleGroup ¶
type AlertRuleGroup struct { // folder Uid FolderUID string `json:"folderUid,omitempty"` // interval Interval int64 `json:"interval,omitempty"` // rules Rules []*ProvisionedAlertRule `json:"rules"` // title Title string `json:"title,omitempty"` }
AlertRuleGroup alert rule group
swagger:model AlertRuleGroup
func (*AlertRuleGroup) ContextValidate ¶
ContextValidate validate this alert rule group based on the context it is used
func (*AlertRuleGroup) MarshalBinary ¶
func (m *AlertRuleGroup) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AlertRuleGroup) UnmarshalBinary ¶
func (m *AlertRuleGroup) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AlertRuleGroupExport ¶
type AlertRuleGroupExport struct { // folder Folder string `json:"folder,omitempty"` // interval Interval Duration `json:"interval,omitempty"` // name Name string `json:"name,omitempty"` // org Id OrgID int64 `json:"orgId,omitempty"` // rules Rules []*AlertRuleExport `json:"rules"` }
AlertRuleGroupExport AlertRuleGroupExport is the provisioned file export of AlertRuleGroupV1.
swagger:model AlertRuleGroupExport
func (*AlertRuleGroupExport) ContextValidate ¶
ContextValidate validate this alert rule group export based on the context it is used
func (*AlertRuleGroupExport) MarshalBinary ¶
func (m *AlertRuleGroupExport) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AlertRuleGroupExport) UnmarshalBinary ¶
func (m *AlertRuleGroupExport) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AlertRuleMetadata ¶
type AlertRuleMetadata struct { // editor settings EditorSettings *AlertRuleEditorSettings `json:"editor_settings,omitempty"` }
AlertRuleMetadata alert rule metadata
swagger:model AlertRuleMetadata
func (*AlertRuleMetadata) ContextValidate ¶
ContextValidate validate this alert rule metadata based on the context it is used
func (*AlertRuleMetadata) MarshalBinary ¶
func (m *AlertRuleMetadata) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AlertRuleMetadata) UnmarshalBinary ¶
func (m *AlertRuleMetadata) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AlertRuleNotificationSettings ¶
type AlertRuleNotificationSettings struct { // Override the labels by which incoming alerts are grouped together. For example, multiple alerts coming in for // cluster=A and alertname=LatencyHigh would be batched into a single group. To aggregate by all possible labels // use the special value '...' as the sole label name. // This effectively disables aggregation entirely, passing through all alerts as-is. This is unlikely to be what // you want, unless you have a very low alert volume or your upstream notification system performs its own grouping. // Must include 'alertname' and 'grafana_folder' if not using '...'. // Example: ["alertname","grafana_folder","cluster"] GroupBy []string `json:"group_by"` // Override how long to wait before sending a notification about new alerts that are added to a group of alerts for // which an initial notification has already been sent. (Usually ~5m or more.) // Example: 5m GroupInterval string `json:"group_interval,omitempty"` // Override how long to initially wait to send a notification for a group of alerts. Allows to wait for an // inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) // Example: 30s GroupWait string `json:"group_wait,omitempty"` // Override the times when notifications should be muted. These must match the name of a mute time interval defined // in the alertmanager configuration mute_time_intervals section. When muted it will not send any notifications, but // otherwise acts normally. // Example: ["maintenance"] MuteTimeIntervals []string `json:"mute_time_intervals"` // Name of the receiver to send notifications to. // Example: grafana-default-email // Required: true Receiver *string `json:"receiver"` // Override how long to wait before sending a notification again if it has already been sent successfully for an // alert. (Usually ~3h or more). // Note that this parameter is implicitly bound by Alertmanager's `--data.retention` configuration flag. // Notifications will be resent after either repeat_interval or the data retention period have passed, whichever // occurs first. `repeat_interval` should not be less than `group_interval`. // Example: 4h RepeatInterval string `json:"repeat_interval,omitempty"` }
AlertRuleNotificationSettings alert rule notification settings
swagger:model AlertRuleNotificationSettings
func (*AlertRuleNotificationSettings) ContextValidate ¶
func (m *AlertRuleNotificationSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this alert rule notification settings based on context it is used
func (*AlertRuleNotificationSettings) MarshalBinary ¶
func (m *AlertRuleNotificationSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AlertRuleNotificationSettings) UnmarshalBinary ¶
func (m *AlertRuleNotificationSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AlertRuleNotificationSettingsExport ¶
type AlertRuleNotificationSettingsExport struct { // group by GroupBy []string `json:"group_by"` // group interval GroupInterval string `json:"group_interval,omitempty"` // group wait GroupWait string `json:"group_wait,omitempty"` // mute time intervals MuteTimeIntervals []string `json:"mute_time_intervals"` // receiver Receiver string `json:"receiver,omitempty"` // repeat interval RepeatInterval string `json:"repeat_interval,omitempty"` }
AlertRuleNotificationSettingsExport AlertRuleNotificationSettingsExport is the provisioned export of models.NotificationSettings.
swagger:model AlertRuleNotificationSettingsExport
func (*AlertRuleNotificationSettingsExport) ContextValidate ¶
func (m *AlertRuleNotificationSettingsExport) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this alert rule notification settings export based on context it is used
func (*AlertRuleNotificationSettingsExport) MarshalBinary ¶
func (m *AlertRuleNotificationSettingsExport) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AlertRuleNotificationSettingsExport) UnmarshalBinary ¶
func (m *AlertRuleNotificationSettingsExport) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AlertRuleRecordExport ¶
type AlertRuleRecordExport struct { // from From string `json:"from,omitempty"` // metric Metric string `json:"metric,omitempty"` }
AlertRuleRecordExport Record is the provisioned export of models.Record.
swagger:model AlertRuleRecordExport
func (*AlertRuleRecordExport) ContextValidate ¶
ContextValidate validates this alert rule record export based on context it is used
func (*AlertRuleRecordExport) MarshalBinary ¶
func (m *AlertRuleRecordExport) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AlertRuleRecordExport) UnmarshalBinary ¶
func (m *AlertRuleRecordExport) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AlertStatus ¶
type AlertStatus struct { // inhibited by // Required: true InhibitedBy []string `json:"inhibitedBy"` // silenced by // Required: true SilencedBy []string `json:"silencedBy"` // state // Required: true // Enum: [[unprocessed active suppressed]] State *string `json:"state"` }
AlertStatus AlertStatus alert status
swagger:model alertStatus
func (*AlertStatus) ContextValidate ¶
ContextValidate validates this alert status based on context it is used
func (*AlertStatus) MarshalBinary ¶
func (m *AlertStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AlertStatus) UnmarshalBinary ¶
func (m *AlertStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AlertingFileExport ¶
type AlertingFileExport struct { // api version APIVersion int64 `json:"apiVersion,omitempty"` // contact points ContactPoints []*ContactPointExport `json:"contactPoints"` // groups Groups []*AlertRuleGroupExport `json:"groups"` // mute times MuteTimes []*MuteTimeIntervalExport `json:"muteTimes"` // policies Policies []*NotificationPolicyExport `json:"policies"` }
AlertingFileExport AlertingFileExport is the full provisioned file export.
swagger:model AlertingFileExport
func (*AlertingFileExport) ContextValidate ¶
ContextValidate validate this alerting file export based on the context it is used
func (*AlertingFileExport) MarshalBinary ¶
func (m *AlertingFileExport) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AlertingFileExport) UnmarshalBinary ¶
func (m *AlertingFileExport) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AlertingRule ¶
type AlertingRule struct { // active at // Required: true // Format: date-time ActiveAt *strfmt.DateTime `json:"activeAt"` // alerts Alerts []*Alert `json:"alerts"` // annotations // Required: true Annotations Labels `json:"annotations"` // duration Duration float64 `json:"duration,omitempty"` // evaluation time EvaluationTime float64 `json:"evaluationTime,omitempty"` // health // Required: true Health *string `json:"health"` // labels Labels Labels `json:"labels,omitempty"` // last error LastError string `json:"lastError,omitempty"` // last evaluation // Format: date-time LastEvaluation strfmt.DateTime `json:"lastEvaluation,omitempty"` // name // Required: true Name *string `json:"name"` // query // Required: true Query *string `json:"query"` // State can be "pending", "firing", "inactive". // Required: true State *string `json:"state"` // totals Totals map[string]int64 `json:"totals,omitempty"` // totals filtered TotalsFiltered map[string]int64 `json:"totalsFiltered,omitempty"` // type // Required: true Type *string `json:"type"` }
AlertingRule adapted from cortex
swagger:model AlertingRule
func (*AlertingRule) ContextValidate ¶
ContextValidate validate this alerting rule based on the context it is used
func (*AlertingRule) MarshalBinary ¶
func (m *AlertingRule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AlertingRule) UnmarshalBinary ¶
func (m *AlertingRule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AlertmanagerConfig ¶
type AlertmanagerConfig struct { // original // Required: true Original *string `json:"original"` }
AlertmanagerConfig AlertmanagerConfig alertmanager config
swagger:model alertmanagerConfig
func (*AlertmanagerConfig) ContextValidate ¶
ContextValidate validates this alertmanager config based on context it is used
func (*AlertmanagerConfig) MarshalBinary ¶
func (m *AlertmanagerConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AlertmanagerConfig) UnmarshalBinary ¶
func (m *AlertmanagerConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Annotation ¶
type Annotation struct { // alert Id AlertID int64 `json:"alertId,omitempty"` // alert name AlertName string `json:"alertName,omitempty"` // avatar Url AvatarURL string `json:"avatarUrl,omitempty"` // created Created int64 `json:"created,omitempty"` // dashboard Id DashboardID int64 `json:"dashboardId,omitempty"` // dashboard UID DashboardUID string `json:"dashboardUID,omitempty"` // data Data JSON `json:"data,omitempty"` // email Email string `json:"email,omitempty"` // id ID int64 `json:"id,omitempty"` // login Login string `json:"login,omitempty"` // new state NewState string `json:"newState,omitempty"` // panel Id PanelID int64 `json:"panelId,omitempty"` // prev state PrevState string `json:"prevState,omitempty"` // tags Tags []string `json:"tags"` // text Text string `json:"text,omitempty"` // time Time int64 `json:"time,omitempty"` // time end TimeEnd int64 `json:"timeEnd,omitempty"` // updated Updated int64 `json:"updated,omitempty"` // user Id UserID int64 `json:"userId,omitempty"` }
Annotation annotation
swagger:model Annotation
func (*Annotation) ContextValidate ¶
ContextValidate validates this annotation based on context it is used
func (*Annotation) MarshalBinary ¶
func (m *Annotation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Annotation) UnmarshalBinary ¶
func (m *Annotation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AnnotationActions ¶
type AnnotationActions struct { // can add CanAdd bool `json:"canAdd,omitempty"` // can delete CanDelete bool `json:"canDelete,omitempty"` // can edit CanEdit bool `json:"canEdit,omitempty"` }
AnnotationActions annotation actions
swagger:model AnnotationActions
func (*AnnotationActions) ContextValidate ¶
ContextValidate validates this annotation actions based on context it is used
func (*AnnotationActions) MarshalBinary ¶
func (m *AnnotationActions) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AnnotationActions) UnmarshalBinary ¶
func (m *AnnotationActions) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AnnotationEvent ¶
type AnnotationEvent struct { // color Color string `json:"color,omitempty"` // dashboard Id DashboardID int64 `json:"dashboardId,omitempty"` // id ID int64 `json:"id,omitempty"` // is region IsRegion bool `json:"isRegion,omitempty"` // panel Id PanelID int64 `json:"panelId,omitempty"` // source Source *AnnotationQuery `json:"source,omitempty"` // tags Tags []string `json:"tags"` // text Text string `json:"text,omitempty"` // time Time int64 `json:"time,omitempty"` // time end TimeEnd int64 `json:"timeEnd,omitempty"` }
AnnotationEvent annotation event
swagger:model AnnotationEvent
func (*AnnotationEvent) ContextValidate ¶
ContextValidate validate this annotation event based on the context it is used
func (*AnnotationEvent) MarshalBinary ¶
func (m *AnnotationEvent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AnnotationEvent) UnmarshalBinary ¶
func (m *AnnotationEvent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AnnotationPanelFilter ¶
type AnnotationPanelFilter struct { // Should the specified panels be included or excluded Exclude bool `json:"exclude,omitempty"` // Panel IDs that should be included or excluded Ids []int64 `json:"ids"` }
AnnotationPanelFilter AnnotationPanelFilter defines model for AnnotationPanelFilter.
swagger:model AnnotationPanelFilter
func (*AnnotationPanelFilter) ContextValidate ¶
ContextValidate validates this annotation panel filter based on context it is used
func (*AnnotationPanelFilter) MarshalBinary ¶
func (m *AnnotationPanelFilter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AnnotationPanelFilter) UnmarshalBinary ¶
func (m *AnnotationPanelFilter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AnnotationPermission ¶
type AnnotationPermission struct { // dashboard Dashboard *AnnotationActions `json:"dashboard,omitempty"` // organization Organization *AnnotationActions `json:"organization,omitempty"` }
AnnotationPermission annotation permission
swagger:model AnnotationPermission
func (*AnnotationPermission) ContextValidate ¶
ContextValidate validate this annotation permission based on the context it is used
func (*AnnotationPermission) MarshalBinary ¶
func (m *AnnotationPermission) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AnnotationPermission) UnmarshalBinary ¶
func (m *AnnotationPermission) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AnnotationQuery ¶
type AnnotationQuery struct { // Set to 1 for the standard annotation query all dashboards have by default. BuiltIn float32 `json:"builtIn,omitempty"` // datasource Datasource *DataSourceRef `json:"datasource,omitempty"` // When enabled the annotation query is issued with every dashboard refresh Enable bool `json:"enable,omitempty"` // filter Filter *AnnotationPanelFilter `json:"filter,omitempty"` // Annotation queries can be toggled on or off at the top of the dashboard. // When hide is true, the toggle is not shown in the dashboard. Hide bool `json:"hide,omitempty"` // Color to use for the annotation event markers IconColor string `json:"iconColor,omitempty"` // Name of annotation. Name string `json:"name,omitempty"` // target Target *AnnotationTarget `json:"target,omitempty"` // TODO -- this should not exist here, it is based on the --grafana-- datasource Type string `json:"type,omitempty"` }
AnnotationQuery TODO docs FROM: AnnotationQuery in grafana-data/src/types/annotations.ts
swagger:model AnnotationQuery
func (*AnnotationQuery) ContextValidate ¶
ContextValidate validate this annotation query based on the context it is used
func (*AnnotationQuery) MarshalBinary ¶
func (m *AnnotationQuery) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AnnotationQuery) UnmarshalBinary ¶
func (m *AnnotationQuery) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AnnotationTarget ¶
type AnnotationTarget struct { // Only required/valid for the grafana datasource... // but code+tests is already depending on it so hard to change Limit int64 `json:"limit,omitempty"` // Only required/valid for the grafana datasource... // but code+tests is already depending on it so hard to change MatchAny bool `json:"matchAny,omitempty"` // Only required/valid for the grafana datasource... // but code+tests is already depending on it so hard to change Tags []string `json:"tags"` // Only required/valid for the grafana datasource... // but code+tests is already depending on it so hard to change Type string `json:"type,omitempty"` }
AnnotationTarget TODO: this should be a regular DataQuery that depends on the selected dashboard these match the properties of the "grafana" datasouce that is default in most dashboards
swagger:model AnnotationTarget
func (*AnnotationTarget) ContextValidate ¶
ContextValidate validates this annotation target based on context it is used
func (*AnnotationTarget) MarshalBinary ¶
func (m *AnnotationTarget) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AnnotationTarget) UnmarshalBinary ¶
func (m *AnnotationTarget) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Assignments ¶
type Assignments struct { // built in roles BuiltInRoles bool `json:"builtInRoles,omitempty"` // service accounts ServiceAccounts bool `json:"serviceAccounts,omitempty"` // teams Teams bool `json:"teams,omitempty"` // users Users bool `json:"users,omitempty"` }
Assignments assignments
swagger:model Assignments
func (*Assignments) ContextValidate ¶
ContextValidate validates this assignments based on context it is used
func (*Assignments) MarshalBinary ¶
func (m *Assignments) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Assignments) UnmarshalBinary ¶
func (m *Assignments) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AttributeTypeAndValue ¶
type AttributeTypeAndValue struct { // type Type ObjectIdentifier `json:"Type,omitempty"` // value Value interface{} `json:"Value,omitempty"` }
AttributeTypeAndValue AttributeTypeAndValue mirrors the ASN.1 structure of the same name in RFC 5280, Section 4.1.2.4.
swagger:model AttributeTypeAndValue
func (*AttributeTypeAndValue) ContextValidate ¶
ContextValidate validate this attribute type and value based on the context it is used
func (*AttributeTypeAndValue) MarshalBinary ¶
func (m *AttributeTypeAndValue) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AttributeTypeAndValue) UnmarshalBinary ¶
func (m *AttributeTypeAndValue) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Authorization ¶
type Authorization struct { // credentials Credentials Secret `json:"credentials,omitempty"` // credentials file CredentialsFile string `json:"credentials_file,omitempty"` // CredentialsRef is the name of the secret within the secret manager to use as credentials. CredentialsRef string `json:"credentials_ref,omitempty"` // type Type string `json:"type,omitempty"` }
Authorization Authorization contains HTTP authorization credentials.
swagger:model Authorization
func (*Authorization) ContextValidate ¶
ContextValidate validate this authorization based on the context it is used
func (*Authorization) MarshalBinary ¶
func (m *Authorization) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Authorization) UnmarshalBinary ¶
func (m *Authorization) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BasicAuth ¶
type BasicAuth struct { // password Password Secret `json:"password,omitempty"` // password file PasswordFile string `json:"password_file,omitempty"` // PasswordRef is the name of the secret within the secret manager to use as the password. PasswordRef string `json:"password_ref,omitempty"` // username Username string `json:"username,omitempty"` // username file UsernameFile string `json:"username_file,omitempty"` // UsernameRef is the name of the secret within the secret manager to use as the username. UsernameRef string `json:"username_ref,omitempty"` }
BasicAuth BasicAuth contains basic HTTP authentication credentials.
swagger:model BasicAuth
func (*BasicAuth) ContextValidate ¶
ContextValidate validate this basic auth based on the context it is used
func (*BasicAuth) MarshalBinary ¶
MarshalBinary interface implementation
func (*BasicAuth) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type CacheConfigResponse ¶
type CacheConfigResponse struct { // created // Format: date-time Created strfmt.DateTime `json:"created,omitempty"` // Fields that can be set by the API caller - read/write DataSourceID int64 `json:"dataSourceID,omitempty"` // data source UID DataSourceUID string `json:"dataSourceUID,omitempty"` // These are returned by the HTTP API, but are managed internally - read-only // Note: 'created' and 'updated' are special properties managed automatically by xorm, but we are setting them manually DefaultTTLMs int64 `json:"defaultTTLMs,omitempty"` // enabled Enabled bool `json:"enabled,omitempty"` // message Message string `json:"message,omitempty"` // TTL MS, or "time to live", is how long a cached item will stay in the cache before it is removed (in milliseconds) TTLQueriesMs int64 `json:"ttlQueriesMs,omitempty"` // ttl resources ms TTLResourcesMs int64 `json:"ttlResourcesMs,omitempty"` // updated // Format: date-time Updated strfmt.DateTime `json:"updated,omitempty"` // If UseDefaultTTL is enabled, then the TTLQueriesMS and TTLResourcesMS in this object is always sent as the default TTL located in grafana.ini UseDefaultTTL bool `json:"useDefaultTTL,omitempty"` }
CacheConfigResponse cache config response
swagger:model CacheConfigResponse
func (*CacheConfigResponse) ContextValidate ¶
ContextValidate validates this cache config response based on context it is used
func (*CacheConfigResponse) MarshalBinary ¶
func (m *CacheConfigResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CacheConfigResponse) UnmarshalBinary ¶
func (m *CacheConfigResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CacheConfigSetter ¶
type CacheConfigSetter struct { // data source ID DataSourceID int64 `json:"dataSourceID,omitempty"` // data source UID DataSourceUID string `json:"dataSourceUID,omitempty"` // enabled Enabled bool `json:"enabled,omitempty"` // TTL MS, or "time to live", is how long a cached item will stay in the cache before it is removed (in milliseconds) TTLQueriesMs int64 `json:"ttlQueriesMs,omitempty"` // ttl resources ms TTLResourcesMs int64 `json:"ttlResourcesMs,omitempty"` // If UseDefaultTTL is enabled, then the TTLQueriesMS and TTLResourcesMS in this object is always sent as the default TTL located in grafana.ini UseDefaultTTL bool `json:"useDefaultTTL,omitempty"` }
CacheConfigSetter ConfigSetter defines the cache parameters that users can configure per datasource This is only intended to be consumed by the SetCache HTTP Handler
swagger:model CacheConfigSetter
func (*CacheConfigSetter) ContextValidate ¶
ContextValidate validates this cache config setter based on context it is used
func (*CacheConfigSetter) MarshalBinary ¶
func (m *CacheConfigSetter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CacheConfigSetter) UnmarshalBinary ¶
func (m *CacheConfigSetter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CalculateDashboardDiffParamsBody ¶
type CalculateDashboardDiffParamsBody struct { // base Base *CalculateDiffTarget `json:"base,omitempty"` // The type of diff to return // Description: // `basic` // `json` // Enum: [basic json] DiffType string `json:"diffType,omitempty"` // new New *CalculateDiffTarget `json:"new,omitempty"` }
CalculateDashboardDiffParamsBody calculate dashboard diff params body
swagger:model calculateDashboardDiffParamsBody
func (*CalculateDashboardDiffParamsBody) ContextValidate ¶
func (m *CalculateDashboardDiffParamsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this calculate dashboard diff params body based on the context it is used
func (*CalculateDashboardDiffParamsBody) MarshalBinary ¶
func (m *CalculateDashboardDiffParamsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CalculateDashboardDiffParamsBody) UnmarshalBinary ¶
func (m *CalculateDashboardDiffParamsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CalculateDiffTarget ¶
type CalculateDiffTarget struct { // dashboard Id DashboardID int64 `json:"dashboardId,omitempty"` // unsaved dashboard UnsavedDashboard JSON `json:"unsavedDashboard,omitempty"` // version Version int64 `json:"version,omitempty"` }
CalculateDiffTarget calculate diff target
swagger:model CalculateDiffTarget
func (*CalculateDiffTarget) ContextValidate ¶
ContextValidate validates this calculate diff target based on context it is used
func (*CalculateDiffTarget) MarshalBinary ¶
func (m *CalculateDiffTarget) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CalculateDiffTarget) UnmarshalBinary ¶
func (m *CalculateDiffTarget) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Certificate ¶
type Certificate struct { // authority key Id AuthorityKeyID []uint8 `json:"AuthorityKeyId"` // BasicConstraintsValid indicates whether IsCA, MaxPathLen, // and MaxPathLenZero are valid. BasicConstraintsValid bool `json:"BasicConstraintsValid,omitempty"` // CRL Distribution Points CRLDistributionPoints []string `json:"CRLDistributionPoints"` // Subject Alternate Name values. (Note that these values may not be valid // if invalid values were contained within a parsed certificate. For // example, an element of DNSNames may not be a valid DNS domain name.) DNSNames []string `json:"DNSNames"` // email addresses EmailAddresses []string `json:"EmailAddresses"` // excluded DNS domains ExcludedDNSDomains []string `json:"ExcludedDNSDomains"` // excluded email addresses ExcludedEmailAddresses []string `json:"ExcludedEmailAddresses"` // excluded IP ranges ExcludedIPRanges []*IPNet `json:"ExcludedIPRanges"` // excluded URI domains ExcludedURIDomains []string `json:"ExcludedURIDomains"` // ext key usage ExtKeyUsage []ExtKeyUsage `json:"ExtKeyUsage"` // Extensions contains raw X.509 extensions. When parsing certificates, // this can be used to extract non-critical extensions that are not // parsed by this package. When marshaling certificates, the Extensions // field is ignored, see ExtraExtensions. Extensions []*Extension `json:"Extensions"` // ExtraExtensions contains extensions to be copied, raw, into any // marshaled certificates. Values override any extensions that would // otherwise be produced based on the other fields. The ExtraExtensions // field is not populated when parsing certificates, see Extensions. ExtraExtensions []*Extension `json:"ExtraExtensions"` // IP addresses IPAddresses []string `json:"IPAddresses"` // is c a IsCA bool `json:"IsCA,omitempty"` // issuer Issuer *Name `json:"Issuer,omitempty"` // issuing certificate URL IssuingCertificateURL []string `json:"IssuingCertificateURL"` // key usage KeyUsage KeyUsage `json:"KeyUsage,omitempty"` // MaxPathLen and MaxPathLenZero indicate the presence and // value of the BasicConstraints' "pathLenConstraint". // // When parsing a certificate, a positive non-zero MaxPathLen // means that the field was specified, -1 means it was unset, // and MaxPathLenZero being true mean that the field was // explicitly set to zero. The case of MaxPathLen==0 with MaxPathLenZero==false // should be treated equivalent to -1 (unset). // // When generating a certificate, an unset pathLenConstraint // can be requested with either MaxPathLen == -1 or using the // zero value for both MaxPathLen and MaxPathLenZero. MaxPathLen int64 `json:"MaxPathLen,omitempty"` // MaxPathLenZero indicates that BasicConstraintsValid==true // and MaxPathLen==0 should be interpreted as an actual // maximum path length of zero. Otherwise, that combination is // interpreted as MaxPathLen not being set. MaxPathLenZero bool `json:"MaxPathLenZero,omitempty"` // not before // Format: date-time NotBefore strfmt.DateTime `json:"NotBefore,omitempty"` // RFC 5280, 4.2.2.1 (Authority Information Access) OCSPServer []string `json:"OCSPServer"` // permitted DNS domains PermittedDNSDomains []string `json:"PermittedDNSDomains"` // Name constraints PermittedDNSDomainsCritical bool `json:"PermittedDNSDomainsCritical,omitempty"` // permitted email addresses PermittedEmailAddresses []string `json:"PermittedEmailAddresses"` // permitted IP ranges PermittedIPRanges []*IPNet `json:"PermittedIPRanges"` // permitted URI domains PermittedURIDomains []string `json:"PermittedURIDomains"` // Policies contains all policy identifiers included in the certificate. // In Go 1.22, encoding/gob cannot handle and ignores this field. Policies []string `json:"Policies"` // PolicyIdentifiers contains asn1.ObjectIdentifiers, the components // of which are limited to int32. If a certificate contains a policy which // cannot be represented by asn1.ObjectIdentifier, it will not be included in // PolicyIdentifiers, but will be present in Policies, which contains all parsed // policy OIDs. PolicyIdentifiers []ObjectIdentifier `json:"PolicyIdentifiers"` // public key PublicKey interface{} `json:"PublicKey,omitempty"` // public key algorithm PublicKeyAlgorithm PublicKeyAlgorithm `json:"PublicKeyAlgorithm,omitempty"` // raw Raw []uint8 `json:"Raw"` // raw issuer RawIssuer []uint8 `json:"RawIssuer"` // raw subject RawSubject []uint8 `json:"RawSubject"` // raw subject public key info RawSubjectPublicKeyInfo []uint8 `json:"RawSubjectPublicKeyInfo"` // raw t b s certificate RawTBSCertificate []uint8 `json:"RawTBSCertificate"` // serial number SerialNumber string `json:"SerialNumber,omitempty"` // signature Signature []uint8 `json:"Signature"` // signature algorithm SignatureAlgorithm SignatureAlgorithm `json:"SignatureAlgorithm,omitempty"` // subject Subject *Name `json:"Subject,omitempty"` // subject key Id SubjectKeyID []uint8 `json:"SubjectKeyId"` // u r is URIs []*URL `json:"URIs"` // UnhandledCriticalExtensions contains a list of extension IDs that // were not (fully) processed when parsing. Verify will fail if this // slice is non-empty, unless verification is delegated to an OS // library which understands all the critical extensions. // // Users can access these extensions using Extensions and can remove // elements from this slice if they believe that they have been // handled. UnhandledCriticalExtensions []ObjectIdentifier `json:"UnhandledCriticalExtensions"` // unknown ext key usage UnknownExtKeyUsage []ObjectIdentifier `json:"UnknownExtKeyUsage"` // version Version int64 `json:"Version,omitempty"` }
Certificate A Certificate represents an X.509 certificate.
swagger:model Certificate
func (*Certificate) ContextValidate ¶
ContextValidate validate this certificate based on the context it is used
func (*Certificate) MarshalBinary ¶
func (m *Certificate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Certificate) UnmarshalBinary ¶
func (m *Certificate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ChangeUserPasswordCommand ¶
type ChangeUserPasswordCommand struct { // new password NewPassword Password `json:"newPassword,omitempty"` // old password OldPassword Password `json:"oldPassword,omitempty"` }
ChangeUserPasswordCommand change user password command
swagger:model ChangeUserPasswordCommand
func (*ChangeUserPasswordCommand) ContextValidate ¶
func (m *ChangeUserPasswordCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this change user password command based on the context it is used
func (*ChangeUserPasswordCommand) MarshalBinary ¶
func (m *ChangeUserPasswordCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChangeUserPasswordCommand) UnmarshalBinary ¶
func (m *ChangeUserPasswordCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClearHelpFlagsOKBody ¶
type ClearHelpFlagsOKBody struct { // help flags1 HelpFlags1 int64 `json:"helpFlags1,omitempty"` // message Message string `json:"message,omitempty"` }
ClearHelpFlagsOKBody clear help flags Ok body
swagger:model clearHelpFlagsOkBody
func (*ClearHelpFlagsOKBody) ContextValidate ¶
ContextValidate validates this clear help flags Ok body based on context it is used
func (*ClearHelpFlagsOKBody) MarshalBinary ¶
func (m *ClearHelpFlagsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClearHelpFlagsOKBody) UnmarshalBinary ¶
func (m *ClearHelpFlagsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CloudMigrationSessionListResponseDTO ¶
type CloudMigrationSessionListResponseDTO struct { // sessions Sessions []*CloudMigrationSessionResponseDTO `json:"sessions"` }
CloudMigrationSessionListResponseDTO cloud migration session list response DTO
swagger:model CloudMigrationSessionListResponseDTO
func (*CloudMigrationSessionListResponseDTO) ContextValidate ¶
func (m *CloudMigrationSessionListResponseDTO) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this cloud migration session list response DTO based on the context it is used
func (*CloudMigrationSessionListResponseDTO) MarshalBinary ¶
func (m *CloudMigrationSessionListResponseDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloudMigrationSessionListResponseDTO) UnmarshalBinary ¶
func (m *CloudMigrationSessionListResponseDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CloudMigrationSessionRequestDTO ¶
type CloudMigrationSessionRequestDTO struct { // auth token AuthToken string `json:"authToken,omitempty"` }
CloudMigrationSessionRequestDTO cloud migration session request DTO
swagger:model CloudMigrationSessionRequestDTO
func (*CloudMigrationSessionRequestDTO) ContextValidate ¶
func (m *CloudMigrationSessionRequestDTO) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this cloud migration session request DTO based on context it is used
func (*CloudMigrationSessionRequestDTO) MarshalBinary ¶
func (m *CloudMigrationSessionRequestDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloudMigrationSessionRequestDTO) UnmarshalBinary ¶
func (m *CloudMigrationSessionRequestDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CloudMigrationSessionResponseDTO ¶
type CloudMigrationSessionResponseDTO struct { // created // Format: date-time Created strfmt.DateTime `json:"created,omitempty"` // slug Slug string `json:"slug,omitempty"` // uid UID string `json:"uid,omitempty"` // updated // Format: date-time Updated strfmt.DateTime `json:"updated,omitempty"` }
CloudMigrationSessionResponseDTO cloud migration session response DTO
swagger:model CloudMigrationSessionResponseDTO
func (*CloudMigrationSessionResponseDTO) ContextValidate ¶
func (m *CloudMigrationSessionResponseDTO) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this cloud migration session response DTO based on context it is used
func (*CloudMigrationSessionResponseDTO) MarshalBinary ¶
func (m *CloudMigrationSessionResponseDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloudMigrationSessionResponseDTO) UnmarshalBinary ¶
func (m *CloudMigrationSessionResponseDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClusterStatus ¶
type ClusterStatus struct { // name Name string `json:"name,omitempty"` // peers Peers []*PeerStatus `json:"peers"` // status // Required: true // Enum: [[ready settling disabled]] Status *string `json:"status"` }
ClusterStatus ClusterStatus cluster status
swagger:model clusterStatus
func (*ClusterStatus) ContextValidate ¶
ContextValidate validate this cluster status based on the context it is used
func (*ClusterStatus) MarshalBinary ¶
func (m *ClusterStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClusterStatus) UnmarshalBinary ¶
func (m *ClusterStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfFloat64 ¶
type ConfFloat64 float64
ConfFloat64 ConfFloat64 is a float64. It Marshals float64 values of NaN of Inf to null.
swagger:model ConfFloat64
func (ConfFloat64) ContextValidate ¶
ContextValidate validates this conf float64 based on context it is used
type ContactPointExport ¶
type ContactPointExport struct { // name Name string `json:"name,omitempty"` // org Id OrgID int64 `json:"orgId,omitempty"` // receivers Receivers []*ReceiverExport `json:"receivers"` }
ContactPointExport ContactPointExport is the provisioned file export of alerting.ContactPointV1.
swagger:model ContactPointExport
func (*ContactPointExport) ContextValidate ¶
ContextValidate validate this contact point export based on the context it is used
func (*ContactPointExport) MarshalBinary ¶
func (m *ContactPointExport) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContactPointExport) UnmarshalBinary ¶
func (m *ContactPointExport) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ContactPoints ¶
type ContactPoints []*EmbeddedContactPoint
ContactPoints contact points
swagger:model ContactPoints
func (ContactPoints) ContextValidate ¶
ContextValidate validate this contact points based on the context it is used
type CookiePreferences ¶
type CookiePreferences struct { // analytics Analytics interface{} `json:"analytics,omitempty"` // functional Functional interface{} `json:"functional,omitempty"` // performance Performance interface{} `json:"performance,omitempty"` }
CookiePreferences CookiePreferences defines model for CookiePreferences.
swagger:model CookiePreferences
func (*CookiePreferences) ContextValidate ¶
ContextValidate validates this cookie preferences based on context it is used
func (*CookiePreferences) MarshalBinary ¶
func (m *CookiePreferences) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CookiePreferences) UnmarshalBinary ¶
func (m *CookiePreferences) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CookieType ¶
type CookieType string
CookieType cookie type
swagger:model CookieType
func (CookieType) ContextValidate ¶
ContextValidate validates this cookie type based on context it is used
type Correlation ¶
type Correlation struct { // config Config *CorrelationConfig `json:"config,omitempty"` // Description of the correlation // Example: Logs to Traces Description string `json:"description,omitempty"` // Label identifying the correlation // Example: My Label Label string `json:"label,omitempty"` // OrgID of the data source the correlation originates from // Example: 1 OrgID int64 `json:"orgId,omitempty"` // Provisioned True if the correlation was created during provisioning Provisioned bool `json:"provisioned,omitempty"` // UID of the data source the correlation originates from // Example: d0oxYRg4z SourceUID string `json:"sourceUID,omitempty"` // UID of the data source the correlation points to // Example: PE1C5CBDA0504A6A3 TargetUID string `json:"targetUID,omitempty"` // type Type CorrelationType `json:"type,omitempty"` // Unique identifier of the correlation // Example: 50xhMlg9k UID string `json:"uid,omitempty"` }
Correlation Correlation is the model for correlations definitions
swagger:model Correlation
func (*Correlation) ContextValidate ¶
ContextValidate validate this correlation based on the context it is used
func (*Correlation) MarshalBinary ¶
func (m *Correlation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Correlation) UnmarshalBinary ¶
func (m *Correlation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CorrelationConfig ¶
type CorrelationConfig struct { // Field used to attach the correlation link // Example: message // Required: true Field *string `json:"field"` // Target data query // Example: {"prop1":"value1","prop2":"value"} // Required: true Target interface{} `json:"target"` // transformations Transformations Transformations `json:"transformations,omitempty"` // type Type CorrelationType `json:"type,omitempty"` }
CorrelationConfig correlation config
swagger:model CorrelationConfig
func (*CorrelationConfig) ContextValidate ¶
ContextValidate validate this correlation config based on the context it is used
func (*CorrelationConfig) MarshalBinary ¶
func (m *CorrelationConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CorrelationConfig) UnmarshalBinary ¶
func (m *CorrelationConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CorrelationConfigUpdateDTO ¶
type CorrelationConfigUpdateDTO struct { // Field used to attach the correlation link // Example: message Field string `json:"field,omitempty"` // Target data query // Example: {"prop1":"value1","prop2":"value"} Target interface{} `json:"target,omitempty"` // Source data transformations // Example: [{"type":"logfmt"},{"expression":"(Superman|Batman)","type":"regex","variable":"name"}] Transformations []*Transformation `json:"transformations"` }
CorrelationConfigUpdateDTO correlation config update DTO
swagger:model CorrelationConfigUpdateDTO
func (*CorrelationConfigUpdateDTO) ContextValidate ¶
func (m *CorrelationConfigUpdateDTO) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this correlation config update DTO based on the context it is used
func (*CorrelationConfigUpdateDTO) MarshalBinary ¶
func (m *CorrelationConfigUpdateDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CorrelationConfigUpdateDTO) UnmarshalBinary ¶
func (m *CorrelationConfigUpdateDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CorrelationType ¶
type CorrelationType string
CorrelationType the type of correlation, either query for containing query information, or external for containing an external URL +enum
swagger:model CorrelationType
func (CorrelationType) ContextValidate ¶
ContextValidate validates this correlation type based on context it is used
type CounterResetHint ¶
type CounterResetHint uint8
CounterResetHint CounterResetHint contains the known information about a counter reset,
or alternatively that we are dealing with a gauge histogram, where counter resets do not apply.
swagger:model CounterResetHint
func (CounterResetHint) ContextValidate ¶
ContextValidate validates this counter reset hint based on context it is used
type CreateAccessTokenResponseDTO ¶
type CreateAccessTokenResponseDTO struct { // token Token string `json:"token,omitempty"` }
CreateAccessTokenResponseDTO create access token response DTO
swagger:model CreateAccessTokenResponseDTO
func (*CreateAccessTokenResponseDTO) ContextValidate ¶
func (m *CreateAccessTokenResponseDTO) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create access token response DTO based on context it is used
func (*CreateAccessTokenResponseDTO) MarshalBinary ¶
func (m *CreateAccessTokenResponseDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateAccessTokenResponseDTO) UnmarshalBinary ¶
func (m *CreateAccessTokenResponseDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCorrelationCommand ¶
type CreateCorrelationCommand struct { // config Config *CorrelationConfig `json:"config,omitempty"` // Optional description of the correlation // Example: Logs to Traces Description string `json:"description,omitempty"` // Optional label identifying the correlation // Example: My label Label string `json:"label,omitempty"` // True if correlation was created with provisioning. This makes it read-only. Provisioned bool `json:"provisioned,omitempty"` // Target data source UID to which the correlation is created. required if type = query // Example: PE1C5CBDA0504A6A3 TargetUID string `json:"targetUID,omitempty"` // type Type CorrelationType `json:"type,omitempty"` }
CreateCorrelationCommand CreateCorrelationCommand is the command for creating a correlation
swagger:model CreateCorrelationCommand
func (*CreateCorrelationCommand) ContextValidate ¶
func (m *CreateCorrelationCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create correlation command based on the context it is used
func (*CreateCorrelationCommand) MarshalBinary ¶
func (m *CreateCorrelationCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCorrelationCommand) UnmarshalBinary ¶
func (m *CreateCorrelationCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCorrelationResponseBody ¶
type CreateCorrelationResponseBody struct { // message // Example: Correlation created Message string `json:"message,omitempty"` // result Result *Correlation `json:"result,omitempty"` }
CreateCorrelationResponseBody CreateCorrelationResponse is the response struct for CreateCorrelationCommand
swagger:model CreateCorrelationResponseBody
func (*CreateCorrelationResponseBody) ContextValidate ¶
func (m *CreateCorrelationResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create correlation response body based on the context it is used
func (*CreateCorrelationResponseBody) MarshalBinary ¶
func (m *CreateCorrelationResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCorrelationResponseBody) UnmarshalBinary ¶
func (m *CreateCorrelationResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateDashboardSnapshotCommand ¶
type CreateDashboardSnapshotCommand struct { // APIVersion defines the versioned schema of this representation of an object. // Servers should convert recognized schemas to the latest internal value, and // may reject unrecognized values. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources // +optional APIVersion string `json:"apiVersion,omitempty"` // dashboard // Required: true Dashboard Unstructured `json:"dashboard"` // Unique key used to delete the snapshot. It is different from the `key` so that only the creator can delete the snapshot. Required if `external` is `true`. DeleteKey string `json:"deleteKey,omitempty"` // When the snapshot should expire in seconds in seconds. Default is never to expire. Expires int64 `json:"expires,omitempty"` // these are passed when storing an external snapshot ref // Save the snapshot on an external server rather than locally. External *bool `json:"external,omitempty"` // Define the unique key. Required if `external` is `true`. Key string `json:"key,omitempty"` // Kind is a string value representing the REST resource this object represents. // Servers may infer this from the endpoint the client submits requests to. // Cannot be updated. // In CamelCase. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds // +optional Kind string `json:"kind,omitempty"` // Snapshot name Name string `json:"name,omitempty"` }
CreateDashboardSnapshotCommand create dashboard snapshot command
swagger:model CreateDashboardSnapshotCommand
func (*CreateDashboardSnapshotCommand) ContextValidate ¶
func (m *CreateDashboardSnapshotCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create dashboard snapshot command based on context it is used
func (*CreateDashboardSnapshotCommand) MarshalBinary ¶
func (m *CreateDashboardSnapshotCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateDashboardSnapshotCommand) UnmarshalBinary ¶
func (m *CreateDashboardSnapshotCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateDashboardSnapshotOKBody ¶
type CreateDashboardSnapshotOKBody struct { // Unique key used to delete the snapshot. It is different from the key so that only the creator can delete the snapshot. DeleteKey string `json:"deleteKey,omitempty"` // delete Url DeleteURL string `json:"deleteUrl,omitempty"` // Snapshot id ID int64 `json:"id,omitempty"` // Unique key Key string `json:"key,omitempty"` // url URL string `json:"url,omitempty"` }
CreateDashboardSnapshotOKBody create dashboard snapshot Ok body
swagger:model createDashboardSnapshotOkBody
func (*CreateDashboardSnapshotOKBody) ContextValidate ¶
func (m *CreateDashboardSnapshotOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create dashboard snapshot Ok body based on context it is used
func (*CreateDashboardSnapshotOKBody) MarshalBinary ¶
func (m *CreateDashboardSnapshotOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateDashboardSnapshotOKBody) UnmarshalBinary ¶
func (m *CreateDashboardSnapshotOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateFolderCommand ¶
type CreateFolderCommand struct { // description Description string `json:"description,omitempty"` // parent Uid ParentUID string `json:"parentUid,omitempty"` // title Title string `json:"title,omitempty"` // uid UID string `json:"uid,omitempty"` }
CreateFolderCommand CreateFolderCommand captures the information required by the folder service to create a folder.
swagger:model CreateFolderCommand
func (*CreateFolderCommand) ContextValidate ¶
ContextValidate validates this create folder command based on context it is used
func (*CreateFolderCommand) MarshalBinary ¶
func (m *CreateFolderCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateFolderCommand) UnmarshalBinary ¶
func (m *CreateFolderCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateLibraryElementCommand ¶
type CreateLibraryElementCommand struct { // ID of the folder where the library element is stored. // // Deprecated: use FolderUID instead FolderID int64 `json:"folderId,omitempty"` // UID of the folder where the library element is stored. FolderUID string `json:"folderUid,omitempty"` // Kind of element to create, Use 1 for library panels or 2 for c. // Description: // 1 - library panels // 2 - library variables // Enum: [1 2] Kind int64 `json:"kind,omitempty"` // The JSON model for the library element. Model interface{} `json:"model,omitempty"` // Name of the library element. Name string `json:"name,omitempty"` // uid UID string `json:"uid,omitempty"` }
CreateLibraryElementCommand CreateLibraryElementCommand is the command for adding a LibraryElement
swagger:model CreateLibraryElementCommand
func (*CreateLibraryElementCommand) ContextValidate ¶
func (m *CreateLibraryElementCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create library element command based on context it is used
func (*CreateLibraryElementCommand) MarshalBinary ¶
func (m *CreateLibraryElementCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateLibraryElementCommand) UnmarshalBinary ¶
func (m *CreateLibraryElementCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateOrUpdateReport ¶
type CreateOrUpdateReport struct { // dashboards Dashboards []*ReportDashboard `json:"dashboards"` // enable Csv EnableCSV bool `json:"enableCsv,omitempty"` // enable dashboard Url EnableDashboardURL bool `json:"enableDashboardUrl,omitempty"` // formats Formats []Type `json:"formats"` // message Message string `json:"message,omitempty"` // name Name string `json:"name,omitempty"` // options Options *ReportOptions `json:"options,omitempty"` // recipients Recipients string `json:"recipients,omitempty"` // reply to ReplyTo string `json:"replyTo,omitempty"` // scale factor ScaleFactor int64 `json:"scaleFactor,omitempty"` // schedule Schedule *ReportSchedule `json:"schedule,omitempty"` // state State State `json:"state,omitempty"` }
CreateOrUpdateReport create or update report
swagger:model CreateOrUpdateReport
func (*CreateOrUpdateReport) ContextValidate ¶
ContextValidate validate this create or update report based on the context it is used
func (*CreateOrUpdateReport) MarshalBinary ¶
func (m *CreateOrUpdateReport) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateOrUpdateReport) UnmarshalBinary ¶
func (m *CreateOrUpdateReport) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateOrgCommand ¶
type CreateOrgCommand struct { // name Name string `json:"name,omitempty"` }
CreateOrgCommand create org command
swagger:model CreateOrgCommand
func (*CreateOrgCommand) ContextValidate ¶
ContextValidate validates this create org command based on context it is used
func (*CreateOrgCommand) MarshalBinary ¶
func (m *CreateOrgCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateOrgCommand) UnmarshalBinary ¶
func (m *CreateOrgCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateOrgOKBody ¶
type CreateOrgOKBody struct { // Message Message of the created org. // Example: Data source added // Required: true Message *string `json:"message"` // ID Identifier of the created org. // Example: 65 // Required: true OrgID *int64 `json:"orgId"` }
CreateOrgOKBody create org Ok body
swagger:model createOrgOkBody
func (*CreateOrgOKBody) ContextValidate ¶
ContextValidate validates this create org Ok body based on context it is used
func (*CreateOrgOKBody) MarshalBinary ¶
func (m *CreateOrgOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateOrgOKBody) UnmarshalBinary ¶
func (m *CreateOrgOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreatePlaylistCommand ¶
type CreatePlaylistCommand struct { // interval Interval string `json:"interval,omitempty"` // items Items []*PlaylistItem `json:"items"` // name Name string `json:"name,omitempty"` }
CreatePlaylistCommand create playlist command
swagger:model CreatePlaylistCommand
func (*CreatePlaylistCommand) ContextValidate ¶
ContextValidate validate this create playlist command based on the context it is used
func (*CreatePlaylistCommand) MarshalBinary ¶
func (m *CreatePlaylistCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreatePlaylistCommand) UnmarshalBinary ¶
func (m *CreatePlaylistCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateQueryInQueryHistoryCommand ¶
type CreateQueryInQueryHistoryCommand struct { // UID of the data source for which are queries stored. // Example: PE1C5CBDA0504A6A3 DatasourceUID string `json:"datasourceUid,omitempty"` // queries // Required: true Queries JSON `json:"queries"` }
CreateQueryInQueryHistoryCommand CreateQueryInQueryHistoryCommand is the command for adding query history
swagger:model CreateQueryInQueryHistoryCommand
func (*CreateQueryInQueryHistoryCommand) ContextValidate ¶
func (m *CreateQueryInQueryHistoryCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create query in query history command based on context it is used
func (*CreateQueryInQueryHistoryCommand) MarshalBinary ¶
func (m *CreateQueryInQueryHistoryCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateQueryInQueryHistoryCommand) UnmarshalBinary ¶
func (m *CreateQueryInQueryHistoryCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateReportOKBody ¶
type CreateReportOKBody struct { // id ID int64 `json:"id,omitempty"` // message Message string `json:"message,omitempty"` }
CreateReportOKBody create report Ok body
swagger:model createReportOkBody
func (*CreateReportOKBody) ContextValidate ¶
ContextValidate validates this create report Ok body based on context it is used
func (*CreateReportOKBody) MarshalBinary ¶
func (m *CreateReportOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateReportOKBody) UnmarshalBinary ¶
func (m *CreateReportOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateRoleForm ¶
type CreateRoleForm struct { // description Description string `json:"description,omitempty"` // display name DisplayName string `json:"displayName,omitempty"` // global Global bool `json:"global,omitempty"` // group Group string `json:"group,omitempty"` // hidden Hidden bool `json:"hidden,omitempty"` // name Name string `json:"name,omitempty"` // permissions Permissions []*Permission `json:"permissions"` // uid UID string `json:"uid,omitempty"` // version Version int64 `json:"version,omitempty"` }
CreateRoleForm create role form
swagger:model CreateRoleForm
func (*CreateRoleForm) ContextValidate ¶
ContextValidate validate this create role form based on the context it is used
func (*CreateRoleForm) MarshalBinary ¶
func (m *CreateRoleForm) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateRoleForm) UnmarshalBinary ¶
func (m *CreateRoleForm) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateServiceAccountForm ¶
type CreateServiceAccountForm struct { // is disabled // Example: false IsDisabled bool `json:"isDisabled,omitempty"` // name // Example: grafana Name string `json:"name,omitempty"` // role // Example: Admin // Enum: [None Viewer Editor Admin] Role string `json:"role,omitempty"` }
CreateServiceAccountForm create service account form
swagger:model CreateServiceAccountForm
func (*CreateServiceAccountForm) ContextValidate ¶
func (m *CreateServiceAccountForm) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create service account form based on context it is used
func (*CreateServiceAccountForm) MarshalBinary ¶
func (m *CreateServiceAccountForm) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateServiceAccountForm) UnmarshalBinary ¶
func (m *CreateServiceAccountForm) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateSnapshotResponseDTO ¶
type CreateSnapshotResponseDTO struct { // uid UID string `json:"uid,omitempty"` }
CreateSnapshotResponseDTO create snapshot response DTO
swagger:model CreateSnapshotResponseDTO
func (*CreateSnapshotResponseDTO) ContextValidate ¶
func (m *CreateSnapshotResponseDTO) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create snapshot response DTO based on context it is used
func (*CreateSnapshotResponseDTO) MarshalBinary ¶
func (m *CreateSnapshotResponseDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateSnapshotResponseDTO) UnmarshalBinary ¶
func (m *CreateSnapshotResponseDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateTeamCommand ¶
type CreateTeamCommand struct { // email Email string `json:"email,omitempty"` // name Name string `json:"name,omitempty"` }
CreateTeamCommand create team command
swagger:model CreateTeamCommand
func (*CreateTeamCommand) ContextValidate ¶
ContextValidate validates this create team command based on context it is used
func (*CreateTeamCommand) MarshalBinary ¶
func (m *CreateTeamCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateTeamCommand) UnmarshalBinary ¶
func (m *CreateTeamCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateTeamOKBody ¶
type CreateTeamOKBody struct { // message Message string `json:"message,omitempty"` // team Id TeamID int64 `json:"teamId,omitempty"` // uid UID string `json:"uid,omitempty"` }
CreateTeamOKBody create team Ok body
swagger:model createTeamOkBody
func (*CreateTeamOKBody) ContextValidate ¶
ContextValidate validates this create team Ok body based on context it is used
func (*CreateTeamOKBody) MarshalBinary ¶
func (m *CreateTeamOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateTeamOKBody) UnmarshalBinary ¶
func (m *CreateTeamOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DashboardACLInfoDTO ¶
type DashboardACLInfoDTO struct { // created // Format: date-time Created strfmt.DateTime `json:"created,omitempty"` // dashboard Id DashboardID int64 `json:"dashboardId,omitempty"` // Deprecated: use FolderUID instead FolderID int64 `json:"folderId,omitempty"` // folder Uid FolderUID string `json:"folderUid,omitempty"` // inherited Inherited bool `json:"inherited,omitempty"` // is folder IsFolder bool `json:"isFolder,omitempty"` // permission Permission PermissionType `json:"permission,omitempty"` // permission name PermissionName string `json:"permissionName,omitempty"` // role // Enum: [None Viewer Editor Admin] Role string `json:"role,omitempty"` // slug Slug string `json:"slug,omitempty"` // team Team string `json:"team,omitempty"` // team avatar Url TeamAvatarURL string `json:"teamAvatarUrl,omitempty"` // team email TeamEmail string `json:"teamEmail,omitempty"` // team Id TeamID int64 `json:"teamId,omitempty"` // team Uid TeamUID string `json:"teamUid,omitempty"` // title Title string `json:"title,omitempty"` // uid UID string `json:"uid,omitempty"` // updated // Format: date-time Updated strfmt.DateTime `json:"updated,omitempty"` // url URL string `json:"url,omitempty"` // user avatar Url UserAvatarURL string `json:"userAvatarUrl,omitempty"` // user email UserEmail string `json:"userEmail,omitempty"` // user Id UserID int64 `json:"userId,omitempty"` // user login UserLogin string `json:"userLogin,omitempty"` // user Uid UserUID string `json:"userUid,omitempty"` }
DashboardACLInfoDTO dashboard ACL info DTO
swagger:model DashboardACLInfoDTO
func (*DashboardACLInfoDTO) ContextValidate ¶
ContextValidate validate this dashboard ACL info DTO based on the context it is used
func (*DashboardACLInfoDTO) MarshalBinary ¶
func (m *DashboardACLInfoDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DashboardACLInfoDTO) UnmarshalBinary ¶
func (m *DashboardACLInfoDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DashboardACLUpdateItem ¶
type DashboardACLUpdateItem struct { // permission Permission PermissionType `json:"permission,omitempty"` // role // Enum: [None Viewer Editor Admin] Role string `json:"role,omitempty"` // team Id TeamID int64 `json:"teamId,omitempty"` // user Id UserID int64 `json:"userId,omitempty"` }
DashboardACLUpdateItem dashboard ACL update item
swagger:model DashboardACLUpdateItem
func (*DashboardACLUpdateItem) ContextValidate ¶
func (m *DashboardACLUpdateItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this dashboard ACL update item based on the context it is used
func (*DashboardACLUpdateItem) MarshalBinary ¶
func (m *DashboardACLUpdateItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DashboardACLUpdateItem) UnmarshalBinary ¶
func (m *DashboardACLUpdateItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DashboardFullWithMeta ¶
type DashboardFullWithMeta struct { // dashboard Dashboard JSON `json:"dashboard,omitempty"` // meta Meta *DashboardMeta `json:"meta,omitempty"` }
DashboardFullWithMeta dashboard full with meta
swagger:model DashboardFullWithMeta
func (*DashboardFullWithMeta) ContextValidate ¶
ContextValidate validate this dashboard full with meta based on the context it is used
func (*DashboardFullWithMeta) MarshalBinary ¶
func (m *DashboardFullWithMeta) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DashboardFullWithMeta) UnmarshalBinary ¶
func (m *DashboardFullWithMeta) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DashboardMeta ¶
type DashboardMeta struct { // annotations permissions AnnotationsPermissions *AnnotationPermission `json:"annotationsPermissions,omitempty"` // can admin CanAdmin bool `json:"canAdmin,omitempty"` // can delete CanDelete bool `json:"canDelete,omitempty"` // can edit CanEdit bool `json:"canEdit,omitempty"` // can save CanSave bool `json:"canSave,omitempty"` // can star CanStar bool `json:"canStar,omitempty"` // created // Format: date-time Created strfmt.DateTime `json:"created,omitempty"` // created by CreatedBy string `json:"createdBy,omitempty"` // expires // Format: date-time Expires strfmt.DateTime `json:"expires,omitempty"` // Deprecated: use FolderUID instead FolderID int64 `json:"folderId,omitempty"` // folder title FolderTitle string `json:"folderTitle,omitempty"` // folder Uid FolderUID string `json:"folderUid,omitempty"` // folder Url FolderURL string `json:"folderUrl,omitempty"` // has Acl HasACL bool `json:"hasAcl,omitempty"` // is folder IsFolder bool `json:"isFolder,omitempty"` // is snapshot IsSnapshot bool `json:"isSnapshot,omitempty"` // is starred IsStarred bool `json:"isStarred,omitempty"` // provisioned Provisioned bool `json:"provisioned,omitempty"` // provisioned external Id ProvisionedExternalID string `json:"provisionedExternalId,omitempty"` // public dashboard enabled PublicDashboardEnabled bool `json:"publicDashboardEnabled,omitempty"` // slug Slug string `json:"slug,omitempty"` // type Type string `json:"type,omitempty"` // updated // Format: date-time Updated strfmt.DateTime `json:"updated,omitempty"` // updated by UpdatedBy string `json:"updatedBy,omitempty"` // url URL string `json:"url,omitempty"` // version Version int64 `json:"version,omitempty"` }
DashboardMeta dashboard meta
swagger:model DashboardMeta
func (*DashboardMeta) ContextValidate ¶
ContextValidate validate this dashboard meta based on the context it is used
func (*DashboardMeta) MarshalBinary ¶
func (m *DashboardMeta) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DashboardMeta) UnmarshalBinary ¶
func (m *DashboardMeta) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DashboardSnapshotDTO ¶
type DashboardSnapshotDTO struct { // created // Format: date-time Created strfmt.DateTime `json:"created,omitempty"` // expires // Format: date-time Expires strfmt.DateTime `json:"expires,omitempty"` // external External bool `json:"external,omitempty"` // external Url ExternalURL string `json:"externalUrl,omitempty"` // key Key string `json:"key,omitempty"` // name Name string `json:"name,omitempty"` // updated // Format: date-time Updated strfmt.DateTime `json:"updated,omitempty"` }
DashboardSnapshotDTO DashboardSnapshotDTO without dashboard map
swagger:model DashboardSnapshotDTO
func (*DashboardSnapshotDTO) ContextValidate ¶
ContextValidate validates this dashboard snapshot DTO based on context it is used
func (*DashboardSnapshotDTO) MarshalBinary ¶
func (m *DashboardSnapshotDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DashboardSnapshotDTO) UnmarshalBinary ¶
func (m *DashboardSnapshotDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DashboardTagCloudItem ¶
type DashboardTagCloudItem struct { // count Count int64 `json:"count,omitempty"` // term Term string `json:"term,omitempty"` }
DashboardTagCloudItem dashboard tag cloud item
swagger:model DashboardTagCloudItem
func (*DashboardTagCloudItem) ContextValidate ¶
ContextValidate validates this dashboard tag cloud item based on context it is used
func (*DashboardTagCloudItem) MarshalBinary ¶
func (m *DashboardTagCloudItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DashboardTagCloudItem) UnmarshalBinary ¶
func (m *DashboardTagCloudItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DashboardVersionMeta ¶
type DashboardVersionMeta struct { // created // Format: date-time Created strfmt.DateTime `json:"created,omitempty"` // created by CreatedBy string `json:"createdBy,omitempty"` // dashboard Id DashboardID int64 `json:"dashboardId,omitempty"` // data Data JSON `json:"data,omitempty"` // id ID int64 `json:"id,omitempty"` // message Message string `json:"message,omitempty"` // parent version ParentVersion int64 `json:"parentVersion,omitempty"` // restored from RestoredFrom int64 `json:"restoredFrom,omitempty"` // uid UID string `json:"uid,omitempty"` // version Version int64 `json:"version,omitempty"` }
DashboardVersionMeta DashboardVersionMeta extends the DashboardVersionDTO with the names associated with the UserIds, overriding the field with the same name from the DashboardVersionDTO model.
swagger:model DashboardVersionMeta
func (*DashboardVersionMeta) ContextValidate ¶
ContextValidate validates this dashboard version meta based on context it is used
func (*DashboardVersionMeta) MarshalBinary ¶
func (m *DashboardVersionMeta) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DashboardVersionMeta) UnmarshalBinary ¶
func (m *DashboardVersionMeta) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DataLink ¶
type DataLink struct { // internal Internal *InternalDataLink `json:"internal,omitempty"` // target blank TargetBlank bool `json:"targetBlank,omitempty"` // title Title string `json:"title,omitempty"` // url URL string `json:"url,omitempty"` }
DataLink DataLink define what
swagger:model DataLink
func (*DataLink) ContextValidate ¶
ContextValidate validate this data link based on the context it is used
func (*DataLink) MarshalBinary ¶
MarshalBinary interface implementation
func (*DataLink) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type DataResponse ¶
type DataResponse struct { // Error is a property to be set if the corresponding DataQuery has an error. Error string `json:"Error,omitempty"` // error source ErrorSource Source `json:"ErrorSource,omitempty"` // frames Frames Frames `json:"Frames,omitempty"` // status Status Status `json:"Status,omitempty"` }
DataResponse DataResponse contains the results from a DataQuery.
A map of RefIDs (unique query identifiers) to this type makes up the Responses property of a QueryDataResponse. The Error property is used to allow for partial success responses from the containing QueryDataResponse.
swagger:model DataResponse
func (*DataResponse) ContextValidate ¶
ContextValidate validate this data response based on the context it is used
func (*DataResponse) MarshalBinary ¶
func (m *DataResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DataResponse) UnmarshalBinary ¶
func (m *DataResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DataSource ¶
type DataSource struct { // access Access DsAccess `json:"access,omitempty"` // access control AccessControl Metadata `json:"accessControl,omitempty"` // basic auth BasicAuth bool `json:"basicAuth,omitempty"` // basic auth user BasicAuthUser string `json:"basicAuthUser,omitempty"` // database Database string `json:"database,omitempty"` // id ID int64 `json:"id,omitempty"` // is default IsDefault bool `json:"isDefault,omitempty"` // json data JSONData JSON `json:"jsonData,omitempty"` // name Name string `json:"name,omitempty"` // org Id OrgID int64 `json:"orgId,omitempty"` // read only ReadOnly bool `json:"readOnly,omitempty"` // secure Json fields SecureJSONFields map[string]bool `json:"secureJsonFields,omitempty"` // type Type string `json:"type,omitempty"` // type logo Url TypeLogoURL string `json:"typeLogoUrl,omitempty"` // uid UID string `json:"uid,omitempty"` // url URL string `json:"url,omitempty"` // user User string `json:"user,omitempty"` // version Version int64 `json:"version,omitempty"` // with credentials WithCredentials bool `json:"withCredentials,omitempty"` }
DataSource data source
swagger:model DataSource
func (*DataSource) ContextValidate ¶
ContextValidate validate this data source based on the context it is used
func (*DataSource) MarshalBinary ¶
func (m *DataSource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DataSource) UnmarshalBinary ¶
func (m *DataSource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DataSourceList ¶
type DataSourceList []*DataSourceListItemDTO
DataSourceList data source list
swagger:model DataSourceList
func (DataSourceList) ContextValidate ¶
ContextValidate validate this data source list based on the context it is used
type DataSourceListItemDTO ¶
type DataSourceListItemDTO struct { // access Access DsAccess `json:"access,omitempty"` // basic auth BasicAuth bool `json:"basicAuth,omitempty"` // database Database string `json:"database,omitempty"` // id ID int64 `json:"id,omitempty"` // is default IsDefault bool `json:"isDefault,omitempty"` // json data JSONData JSON `json:"jsonData,omitempty"` // name Name string `json:"name,omitempty"` // org Id OrgID int64 `json:"orgId,omitempty"` // read only ReadOnly bool `json:"readOnly,omitempty"` // type Type string `json:"type,omitempty"` // type logo Url TypeLogoURL string `json:"typeLogoUrl,omitempty"` // type name TypeName string `json:"typeName,omitempty"` // uid UID string `json:"uid,omitempty"` // url URL string `json:"url,omitempty"` // user User string `json:"user,omitempty"` }
DataSourceListItemDTO data source list item DTO
swagger:model DataSourceListItemDTO
func (*DataSourceListItemDTO) ContextValidate ¶
ContextValidate validate this data source list item DTO based on the context it is used
func (*DataSourceListItemDTO) MarshalBinary ¶
func (m *DataSourceListItemDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DataSourceListItemDTO) UnmarshalBinary ¶
func (m *DataSourceListItemDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DataSourceRef ¶
type DataSourceRef struct { // The plugin type-id Type string `json:"type,omitempty"` // Specific datasource instance UID string `json:"uid,omitempty"` }
DataSourceRef Ref to a DataSource instance
swagger:model DataSourceRef
func (*DataSourceRef) ContextValidate ¶
ContextValidate validates this data source ref based on context it is used
func (*DataSourceRef) MarshalBinary ¶
func (m *DataSourceRef) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DataSourceRef) UnmarshalBinary ¶
func (m *DataSourceRef) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DataTopic ¶
type DataTopic string
DataTopic DataTopic is used to identify which topic the frame should be assigned to.
nolint:revive
swagger:model DataTopic
func (DataTopic) ContextValidate ¶
ContextValidate validates this data topic based on context it is used
type DeleteCorrelationResponseBody ¶
type DeleteCorrelationResponseBody struct { // message // Example: Correlation deleted Message string `json:"message,omitempty"` }
DeleteCorrelationResponseBody delete correlation response body
swagger:model DeleteCorrelationResponseBody
func (*DeleteCorrelationResponseBody) ContextValidate ¶
func (m *DeleteCorrelationResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete correlation response body based on context it is used
func (*DeleteCorrelationResponseBody) MarshalBinary ¶
func (m *DeleteCorrelationResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteCorrelationResponseBody) UnmarshalBinary ¶
func (m *DeleteCorrelationResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteDashboardByUIDOKBody ¶
type DeleteDashboardByUIDOKBody struct { // Message Message of the deleted dashboard. // Example: Dashboard My Dashboard deleted // Required: true Message *string `json:"message"` // Title Title of the deleted dashboard. // Example: My Dashboard // Required: true Title *string `json:"title"` // UID Identifier of the deleted dashboard. // Example: 65 // Required: true UID *string `json:"uid"` }
DeleteDashboardByUIDOKBody delete dashboard by Uid Ok body
swagger:model deleteDashboardByUidOkBody
func (*DeleteDashboardByUIDOKBody) ContextValidate ¶
func (m *DeleteDashboardByUIDOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete dashboard by Uid Ok body based on context it is used
func (*DeleteDashboardByUIDOKBody) MarshalBinary ¶
func (m *DeleteDashboardByUIDOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteDashboardByUIDOKBody) UnmarshalBinary ¶
func (m *DeleteDashboardByUIDOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteDataSourceByNameOKBody ¶
type DeleteDataSourceByNameOKBody struct { // ID Identifier of the deleted data source. // Example: 65 // Required: true ID *int64 `json:"id"` // Message Message of the deleted dashboard. // Example: Dashboard My Dashboard deleted // Required: true Message *string `json:"message"` }
DeleteDataSourceByNameOKBody delete data source by name Ok body
swagger:model deleteDataSourceByNameOkBody
func (*DeleteDataSourceByNameOKBody) ContextValidate ¶
func (m *DeleteDataSourceByNameOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete data source by name Ok body based on context it is used
func (*DeleteDataSourceByNameOKBody) MarshalBinary ¶
func (m *DeleteDataSourceByNameOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteDataSourceByNameOKBody) UnmarshalBinary ¶
func (m *DeleteDataSourceByNameOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteFolderOKBody ¶
type DeleteFolderOKBody struct { // ID Identifier of the deleted folder. // Example: 65 // Required: true ID *int64 `json:"id"` // Message Message of the deleted folder. // Example: Folder My Folder deleted // Required: true Message *string `json:"message"` // Title of the deleted folder. // Example: My Folder // Required: true Title *string `json:"title"` }
DeleteFolderOKBody delete folder Ok body
swagger:model deleteFolderOkBody
func (*DeleteFolderOKBody) ContextValidate ¶
ContextValidate validates this delete folder Ok body based on context it is used
func (*DeleteFolderOKBody) MarshalBinary ¶
func (m *DeleteFolderOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteFolderOKBody) UnmarshalBinary ¶
func (m *DeleteFolderOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteTokenCommand ¶
type DeleteTokenCommand struct { // instance Instance string `json:"instance,omitempty"` }
DeleteTokenCommand delete token command
swagger:model DeleteTokenCommand
func (*DeleteTokenCommand) ContextValidate ¶
ContextValidate validates this delete token command based on context it is used
func (*DeleteTokenCommand) MarshalBinary ¶
func (m *DeleteTokenCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteTokenCommand) UnmarshalBinary ¶
func (m *DeleteTokenCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DescendantCounts ¶
DescendantCounts descendant counts
swagger:model DescendantCounts
func (DescendantCounts) ContextValidate ¶
ContextValidate validates this descendant counts based on context it is used
type Description ¶
type Description struct { // assignments Assignments *Assignments `json:"assignments,omitempty"` // permissions Permissions []string `json:"permissions"` }
Description description
swagger:model Description
func (*Description) ContextValidate ¶
ContextValidate validate this description based on the context it is used
func (*Description) MarshalBinary ¶
func (m *Description) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Description) UnmarshalBinary ¶
func (m *Description) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeviceDTO ¶
type DeviceDTO struct { // avatar Url AvatarURL string `json:"avatarUrl,omitempty"` // client Ip ClientIP string `json:"clientIp,omitempty"` // created at // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt,omitempty"` // device Id DeviceID string `json:"deviceId,omitempty"` // last seen at LastSeenAt string `json:"lastSeenAt,omitempty"` // updated at // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"` // user agent UserAgent string `json:"userAgent,omitempty"` }
DeviceDTO device DTO
swagger:model deviceDTO
func (*DeviceDTO) ContextValidate ¶
ContextValidate validates this device DTO based on context it is used
func (*DeviceDTO) MarshalBinary ¶
MarshalBinary interface implementation
func (*DeviceDTO) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type DeviceSearchHitDTO ¶
type DeviceSearchHitDTO struct { // client Ip ClientIP string `json:"clientIp,omitempty"` // created at // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt,omitempty"` // device Id DeviceID string `json:"deviceId,omitempty"` // last seen at // Format: date-time LastSeenAt strfmt.DateTime `json:"lastSeenAt,omitempty"` // updated at // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"` // user agent UserAgent string `json:"userAgent,omitempty"` }
DeviceSearchHitDTO device search hit DTO
swagger:model DeviceSearchHitDTO
func (*DeviceSearchHitDTO) ContextValidate ¶
ContextValidate validates this device search hit DTO based on context it is used
func (*DeviceSearchHitDTO) MarshalBinary ¶
func (m *DeviceSearchHitDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeviceSearchHitDTO) UnmarshalBinary ¶
func (m *DeviceSearchHitDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DiscordConfig ¶
type DiscordConfig struct { // http config HTTPConfig *HTTPClientConfig `json:"http_config,omitempty"` // message Message string `json:"message,omitempty"` // send resolved SendResolved bool `json:"send_resolved,omitempty"` // title Title string `json:"title,omitempty"` // webhook url WebhookURL *SecretURL `json:"webhook_url,omitempty"` // webhook url file WebhookURLFile string `json:"webhook_url_file,omitempty"` }
DiscordConfig DiscordConfig configures notifications via Discord.
swagger:model DiscordConfig
func (*DiscordConfig) ContextValidate ¶
ContextValidate validate this discord config based on the context it is used
func (*DiscordConfig) MarshalBinary ¶
func (m *DiscordConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DiscordConfig) UnmarshalBinary ¶
func (m *DiscordConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DsAccess ¶
type DsAccess string
DsAccess ds access
swagger:model DsAccess
func (DsAccess) ContextValidate ¶
ContextValidate validates this ds access based on context it is used
type Duration ¶
type Duration int64
Duration A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years.
swagger:model Duration
func (Duration) ContextValidate ¶
ContextValidate validates this duration based on context it is used
type EmailConfig ¶
type EmailConfig struct { // auth identity AuthIdentity string `json:"auth_identity,omitempty"` // auth password AuthPassword Secret `json:"auth_password,omitempty"` // auth password file AuthPasswordFile string `json:"auth_password_file,omitempty"` // auth secret AuthSecret Secret `json:"auth_secret,omitempty"` // auth username AuthUsername string `json:"auth_username,omitempty"` // from From string `json:"from,omitempty"` // headers Headers map[string]string `json:"headers,omitempty"` // hello Hello string `json:"hello,omitempty"` // html HTML string `json:"html,omitempty"` // require tls RequireTLS bool `json:"require_tls,omitempty"` // send resolved SendResolved bool `json:"send_resolved,omitempty"` // smarthost Smarthost *HostPort `json:"smarthost,omitempty"` // text Text string `json:"text,omitempty"` // tls config TLSConfig *TLSConfig `json:"tls_config,omitempty"` // Email address to notify. To string `json:"to,omitempty"` }
EmailConfig EmailConfig configures notifications via mail.
swagger:model EmailConfig
func (*EmailConfig) ContextValidate ¶
ContextValidate validate this email config based on the context it is used
func (*EmailConfig) MarshalBinary ¶
func (m *EmailConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EmailConfig) UnmarshalBinary ¶
func (m *EmailConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EmailDTO ¶
type EmailDTO struct { // recipient Recipient string `json:"recipient,omitempty"` // uid UID string `json:"uid,omitempty"` }
EmailDTO email DTO
swagger:model EmailDTO
func (*EmailDTO) ContextValidate ¶
ContextValidate validates this email DTO based on context it is used
func (*EmailDTO) MarshalBinary ¶
MarshalBinary interface implementation
func (*EmailDTO) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type EmbeddedContactPoint ¶
type EmbeddedContactPoint struct { // disable resolve message // Example: false DisableResolveMessage bool `json:"disableResolveMessage,omitempty"` // Name is used as grouping key in the UI. Contact points with the // same name will be grouped in the UI. // Example: webhook_1 Name string `json:"name,omitempty"` // provenance // Read Only: true Provenance string `json:"provenance,omitempty"` // settings // Required: true Settings JSON `json:"settings"` // type // Example: webhook // Required: true // Enum: [alertmanager dingding discord email googlechat kafka line opsgenie pagerduty pushover sensugo slack teams telegram threema victorops webhook wecom] Type *string `json:"type"` // UID is the unique identifier of the contact point. The UID can be // set by the user. // Example: my_external_reference // Max Length: 40 // Min Length: 1 // Pattern: ^[a-zA-Z0-9\-\_]+$ UID string `json:"uid,omitempty"` }
EmbeddedContactPoint EmbeddedContactPoint is the contact point type that is used by grafanas embedded alertmanager implementation.
swagger:model EmbeddedContactPoint
func (*EmbeddedContactPoint) ContextValidate ¶
ContextValidate validate this embedded contact point based on the context it is used
func (*EmbeddedContactPoint) MarshalBinary ¶
func (m *EmbeddedContactPoint) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EmbeddedContactPoint) UnmarshalBinary ¶
func (m *EmbeddedContactPoint) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EnumFieldConfig ¶
type EnumFieldConfig struct { // Color is the color value for a given index (empty is undefined) Color []string `json:"color"` // Description of the enum state Description []string `json:"description"` // Icon supports setting an icon for a given index value Icon []string `json:"icon"` // Value is the string display value for a given index Text []string `json:"text"` }
EnumFieldConfig Enum field config Vector values are used as lookup keys into the enum fields
swagger:model EnumFieldConfig
func (*EnumFieldConfig) ContextValidate ¶
ContextValidate validates this enum field config based on context it is used
func (*EnumFieldConfig) MarshalBinary ¶
func (m *EnumFieldConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EnumFieldConfig) UnmarshalBinary ¶
func (m *EnumFieldConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ErrorResponseBody ¶
type ErrorResponseBody struct { // Error An optional detailed description of the actual error. Only included if running in developer mode. Error string `json:"error,omitempty"` // a human readable version of the error // Required: true Message *string `json:"message"` // Status An optional status to denote the cause of the error. // // For example, a 412 Precondition Failed error may include additional information of why that error happened. Status string `json:"status,omitempty"` }
ErrorResponseBody error response body
swagger:model ErrorResponseBody
func (*ErrorResponseBody) ContextValidate ¶
ContextValidate validates this error response body based on context it is used
func (*ErrorResponseBody) MarshalBinary ¶
func (m *ErrorResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorResponseBody) UnmarshalBinary ¶
func (m *ErrorResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ErrorType ¶
type ErrorType string
ErrorType ErrorType models the different API error types.
swagger:model ErrorType
func (ErrorType) ContextValidate ¶
ContextValidate validates this error type based on context it is used
type EvalAlertConditionCommand ¶
type EvalAlertConditionCommand struct { // condition Condition string `json:"condition,omitempty"` // data Data []*AlertQuery `json:"data"` // now // Format: date-time Now strfmt.DateTime `json:"now,omitempty"` }
EvalAlertConditionCommand EvalAlertConditionCommand is the command for evaluating a condition
swagger:model EvalAlertConditionCommand
func (*EvalAlertConditionCommand) ContextValidate ¶
func (m *EvalAlertConditionCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this eval alert condition command based on the context it is used
func (*EvalAlertConditionCommand) MarshalBinary ¶
func (m *EvalAlertConditionCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EvalAlertConditionCommand) UnmarshalBinary ¶
func (m *EvalAlertConditionCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ExplorePanelsState ¶
type ExplorePanelsState interface{}
ExplorePanelsState This is an object constructed with the keys as the values of the enum VisType and the value being a bag of properties
swagger:model ExplorePanelsState
type ExtKeyUsage ¶
type ExtKeyUsage int64
ExtKeyUsage ExtKeyUsage represents an extended set of actions that are valid for a given key.
Each of the ExtKeyUsage* constants define a unique action.
swagger:model ExtKeyUsage
func (ExtKeyUsage) ContextValidate ¶
ContextValidate validates this ext key usage based on context it is used
type Extension ¶
type Extension struct { // critical Critical bool `json:"Critical,omitempty"` // Id ID ObjectIdentifier `json:"Id,omitempty"` // value Value []uint8 `json:"Value"` }
Extension Extension represents the ASN.1 structure of the same name. See RFC 5280, section 4.2.
swagger:model Extension
func (*Extension) ContextValidate ¶
ContextValidate validate this extension based on the context it is used
func (*Extension) MarshalBinary ¶
MarshalBinary interface implementation
func (*Extension) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type FailedUser ¶
type FailedUser struct { // error Error string `json:"Error,omitempty"` // login Login string `json:"Login,omitempty"` }
FailedUser FailedUser holds the information of an user that failed
swagger:model FailedUser
func (*FailedUser) ContextValidate ¶
ContextValidate validates this failed user based on context it is used
func (*FailedUser) MarshalBinary ¶
func (m *FailedUser) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FailedUser) UnmarshalBinary ¶
func (m *FailedUser) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Field ¶
type Field struct { // config Config *FieldConfig `json:"config,omitempty"` // labels Labels FrameLabels `json:"labels,omitempty"` // Name is default identifier of the field. The name does not have to be unique, but the combination // of name and Labels should be unique for proper behavior in all situations. Name string `json:"name,omitempty"` }
Field Field represents a typed column of data within a Frame.
A Field is essentially a slice of various types with extra properties and methods. See NewField() for supported types.
The slice data in the Field is a not exported, so methods on the Field are used to to manipulate its data.
swagger:model Field
func (*Field) ContextValidate ¶
ContextValidate validate this field based on the context it is used
func (*Field) MarshalBinary ¶
MarshalBinary interface implementation
func (*Field) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type FieldConfig ¶
type FieldConfig struct { // Map values to a display color // NOTE: this interface is under development in the frontend... so simple map for now Color interface{} `json:"color,omitempty"` // Panel Specific Values Custom interface{} `json:"custom,omitempty"` // decimals Decimals uint16 `json:"decimals,omitempty"` // Description is human readable field metadata Description string `json:"description,omitempty"` // DisplayName overrides Grafana default naming, should not be used from a data source DisplayName string `json:"displayName,omitempty"` // DisplayNameFromDS overrides Grafana default naming strategy. DisplayNameFromDS string `json:"displayNameFromDS,omitempty"` // Filterable indicates if the Field's data can be filtered by additional calls. Filterable bool `json:"filterable,omitempty"` // Interval indicates the expected regular step between values in the series. // When an interval exists, consumers can identify "missing" values when the expected value is not present. // The grafana timeseries visualization will render disconnected values when missing values are found it the time field. // The interval uses the same units as the values. For time.Time, this is defined in milliseconds. Interval float64 `json:"interval,omitempty"` // The behavior when clicking on a result Links []*DataLink `json:"links"` // mappings Mappings ValueMappings `json:"mappings,omitempty"` // max Max ConfFloat64 `json:"max,omitempty"` // min Min ConfFloat64 `json:"min,omitempty"` // Alternative to empty string NoValue string `json:"noValue,omitempty"` // Path is an explicit path to the field in the datasource. When the frame meta includes a path, // this will default to `${frame.meta.path}/${field.name} // // When defined, this value can be used as an identifier within the datasource scope, and // may be used as an identifier to update values in a subsequent request Path string `json:"path,omitempty"` // thresholds Thresholds *ThresholdsConfig `json:"thresholds,omitempty"` // type Type *FieldTypeConfig `json:"type,omitempty"` // Numeric Options Unit string `json:"unit,omitempty"` // Writeable indicates that the datasource knows how to update this value Writeable bool `json:"writeable,omitempty"` }
FieldConfig FieldConfig represents the display properties for a Field.
swagger:model FieldConfig
func (*FieldConfig) ContextValidate ¶
ContextValidate validate this field config based on the context it is used
func (*FieldConfig) MarshalBinary ¶
func (m *FieldConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FieldConfig) UnmarshalBinary ¶
func (m *FieldConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FieldTypeConfig ¶
type FieldTypeConfig struct { // enum Enum *EnumFieldConfig `json:"enum,omitempty"` }
FieldTypeConfig FieldTypeConfig has type specific configs, only one should be active at a time
swagger:model FieldTypeConfig
func (*FieldTypeConfig) ContextValidate ¶
ContextValidate validate this field type config based on the context it is used
func (*FieldTypeConfig) MarshalBinary ¶
func (m *FieldTypeConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FieldTypeConfig) UnmarshalBinary ¶
func (m *FieldTypeConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FindTagsResult ¶
type FindTagsResult struct { // tags Tags []*TagsDTO `json:"tags"` }
FindTagsResult FindTagsResult is the result of a tags search.
swagger:model FindTagsResult
func (*FindTagsResult) ContextValidate ¶
ContextValidate validate this find tags result based on the context it is used
func (*FindTagsResult) MarshalBinary ¶
func (m *FindTagsResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FindTagsResult) UnmarshalBinary ¶
func (m *FindTagsResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FloatHistogram ¶
type FloatHistogram struct { // Total number of observations. Must be zero or positive. Count float64 `json:"Count,omitempty"` // counter reset hint CounterResetHint CounterResetHint `json:"CounterResetHint,omitempty"` // Observation counts in buckets. Each represents an absolute count and // must be zero or positive. PositiveBuckets []float64 `json:"PositiveBuckets"` // Spans for positive and negative buckets (see Span below). PositiveSpans []*Span `json:"PositiveSpans"` // Currently valid schema numbers are -4 <= n <= 8. They are all for // base-2 bucket schemas, where 1 is a bucket boundary in each case, and // then each power of two is divided into 2^n logarithmic buckets. Or // in other words, each bucket boundary is the previous boundary times // 2^(2^-n). Schema int32 `json:"Schema,omitempty"` // Sum of observations. This is also used as the stale marker. Sum float64 `json:"Sum,omitempty"` // Observations falling into the zero bucket. Must be zero or positive. ZeroCount float64 `json:"ZeroCount,omitempty"` // Width of the zero bucket. ZeroThreshold float64 `json:"ZeroThreshold,omitempty"` }
FloatHistogram FloatHistogram is similar to Histogram but uses float64 for all counts. Additionally, bucket counts are absolute and not deltas.
A FloatHistogram is needed by PromQL to handle operations that might result in fractional counts. Since the counts in a histogram are unlikely to be too large to be represented precisely by a float64, a FloatHistogram can also be used to represent a histogram with integer counts and thus serves as a more generalized representation.
swagger:model FloatHistogram
func (*FloatHistogram) ContextValidate ¶
ContextValidate validate this float histogram based on the context it is used
func (*FloatHistogram) MarshalBinary ¶
func (m *FloatHistogram) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FloatHistogram) UnmarshalBinary ¶
func (m *FloatHistogram) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Folder ¶
type Folder struct { // access control AccessControl Metadata `json:"accessControl,omitempty"` // can admin CanAdmin bool `json:"canAdmin,omitempty"` // can delete CanDelete bool `json:"canDelete,omitempty"` // can edit CanEdit bool `json:"canEdit,omitempty"` // can save CanSave bool `json:"canSave,omitempty"` // created // Format: date-time Created strfmt.DateTime `json:"created,omitempty"` // created by CreatedBy string `json:"createdBy,omitempty"` // has Acl HasACL bool `json:"hasAcl,omitempty"` // Deprecated: use UID instead ID int64 `json:"id,omitempty"` // org Id OrgID int64 `json:"orgId,omitempty"` // only used if nested folders are enabled ParentUID string `json:"parentUid,omitempty"` // the parent folders starting from the root going down Parents []*Folder `json:"parents"` // title Title string `json:"title,omitempty"` // uid UID string `json:"uid,omitempty"` // updated // Format: date-time Updated strfmt.DateTime `json:"updated,omitempty"` // updated by UpdatedBy string `json:"updatedBy,omitempty"` // url URL string `json:"url,omitempty"` // version Version int64 `json:"version,omitempty"` }
Folder folder
swagger:model Folder
func (*Folder) ContextValidate ¶
ContextValidate validate this folder based on the context it is used
func (*Folder) MarshalBinary ¶
MarshalBinary interface implementation
func (*Folder) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type FolderSearchHit ¶
type FolderSearchHit struct { // id ID int64 `json:"id,omitempty"` // parent Uid ParentUID string `json:"parentUid,omitempty"` // title Title string `json:"title,omitempty"` // uid UID string `json:"uid,omitempty"` }
FolderSearchHit folder search hit
swagger:model FolderSearchHit
func (*FolderSearchHit) ContextValidate ¶
ContextValidate validates this folder search hit based on context it is used
func (*FolderSearchHit) MarshalBinary ¶
func (m *FolderSearchHit) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FolderSearchHit) UnmarshalBinary ¶
func (m *FolderSearchHit) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ForbiddenError ¶
type ForbiddenError struct { // body Body *PublicError `json:"body,omitempty"` }
ForbiddenError forbidden error
swagger:model ForbiddenError
func (*ForbiddenError) ContextValidate ¶
ContextValidate validate this forbidden error based on the context it is used
func (*ForbiddenError) MarshalBinary ¶
func (m *ForbiddenError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ForbiddenError) UnmarshalBinary ¶
func (m *ForbiddenError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Frame ¶
type Frame struct { // Fields are the columns of a frame. // All Fields must be of the same the length when marshalling the Frame for transmission. // There should be no `nil` entries in the Fields slice (making them pointers was a mistake). Fields []*Field `json:"Fields"` // meta Meta *FrameMeta `json:"Meta,omitempty"` // Name is used in some Grafana visualizations. Name string `json:"Name,omitempty"` // RefID is a property that can be set to match a Frame to its originating query. RefID string `json:"RefID,omitempty"` }
Frame Frame is a columnar data structure where each column is a Field.
Each Field is well typed by its FieldType and supports optional Labels.
A Frame is a general data container for Grafana. A Frame can be table data or time series data depending on its content and field types.
swagger:model Frame
func (*Frame) ContextValidate ¶
ContextValidate validate this frame based on the context it is used
func (*Frame) MarshalBinary ¶
MarshalBinary interface implementation
func (*Frame) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type FrameLabels ¶
FrameLabels Labels are used to add metadata to an object. The JSON will always be sorted keys
swagger:model FrameLabels
func (FrameLabels) ContextValidate ¶
ContextValidate validates this frame labels based on context it is used
type FrameMeta ¶
type FrameMeta struct { // Channel is the path to a stream in grafana live that has real-time updates for this data. Channel string `json:"channel,omitempty"` // Custom datasource specific values. Custom interface{} `json:"custom,omitempty"` // data topic DataTopic DataTopic `json:"dataTopic,omitempty"` // ExecutedQueryString is the raw query sent to the underlying system. All macros and templating // have been applied. When metadata contains this value, it will be shown in the query inspector. ExecutedQueryString string `json:"executedQueryString,omitempty"` // Notices provide additional information about the data in the Frame that // Grafana can display to the user in the user interface. Notices []*Notice `json:"notices"` // Path is a browsable path on the datasource. Path string `json:"path,omitempty"` // PathSeparator defines the separator pattern to decode a hierarchy. The default separator is '/'. PathSeparator string `json:"pathSeparator,omitempty"` // PreferredVisualizationPluginId sets the panel plugin id to use to render the data when using Explore. If // the plugin cannot be found will fall back to PreferredVisualization. PreferredVisualisationPluginID string `json:"preferredVisualisationPluginId,omitempty"` // preferred visualisation type PreferredVisualisationType VisType `json:"preferredVisualisationType,omitempty"` // Stats is an array of query result statistics. Stats []*QueryStat `json:"stats"` // type Type FrameType `json:"type,omitempty"` // type version TypeVersion FrameTypeVersion `json:"typeVersion,omitempty"` // Array of field indices which values create a unique id for each row. Ideally this should be globally unique ID // but that isn't guarantied. Should help with keeping track and deduplicating rows in visualizations, especially // with streaming data with frequent updates. // Example: TraceID in Tempo, table name + primary key in SQL UniqueRowIDFields []int64 `json:"uniqueRowIdFields"` }
FrameMeta FrameMeta matches:
https://github.com/grafana/grafana/blob/master/packages/grafana-data/src/types/data.ts#L11 NOTE -- in javascript this can accept any `[key: string]: any;` however this interface only exposes the values we want to be exposed
swagger:model FrameMeta
func (*FrameMeta) ContextValidate ¶
ContextValidate validate this frame meta based on the context it is used
func (*FrameMeta) MarshalBinary ¶
MarshalBinary interface implementation
func (*FrameMeta) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type FrameType ¶
type FrameType string
FrameType A FrameType string, when present in a frame's metadata, asserts that the frame's structure conforms to the FrameType's specification. This property is currently optional, so FrameType may be FrameTypeUnknown even if the properties of the Frame correspond to a defined FrameType. +enum
swagger:model FrameType
func (FrameType) ContextValidate ¶
ContextValidate validates this frame type based on context it is used
type FrameTypeVersion ¶
type FrameTypeVersion []uint64
FrameTypeVersion FrameType is a 2 number version (Major / Minor).
swagger:model FrameTypeVersion
func (FrameTypeVersion) ContextValidate ¶
ContextValidate validates this frame type version based on context it is used
type Frames ¶
type Frames []*Frame
Frames Frames is a slice of Frame pointers.
It is the main data container within a backend.DataResponse. There should be no `nil` entries in the Frames slice (making them pointers was a mistake).
swagger:model Frames
func (Frames) ContextValidate ¶
ContextValidate validate this frames based on the context it is used
type GetAccessTokenResponseDTO ¶
type GetAccessTokenResponseDTO struct { // created at CreatedAt string `json:"createdAt,omitempty"` // display name DisplayName string `json:"displayName,omitempty"` // expires at ExpiresAt string `json:"expiresAt,omitempty"` // first used at FirstUsedAt string `json:"firstUsedAt,omitempty"` // id ID string `json:"id,omitempty"` // last used at LastUsedAt string `json:"lastUsedAt,omitempty"` }
GetAccessTokenResponseDTO get access token response DTO
swagger:model GetAccessTokenResponseDTO
func (*GetAccessTokenResponseDTO) ContextValidate ¶
func (m *GetAccessTokenResponseDTO) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get access token response DTO based on context it is used
func (*GetAccessTokenResponseDTO) MarshalBinary ¶
func (m *GetAccessTokenResponseDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAccessTokenResponseDTO) UnmarshalBinary ¶
func (m *GetAccessTokenResponseDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAnnotationTagsResponse ¶
type GetAnnotationTagsResponse struct { // result Result *FindTagsResult `json:"result,omitempty"` }
GetAnnotationTagsResponse GetAnnotationTagsResponse is a response struct for FindTagsResult.
swagger:model GetAnnotationTagsResponse
func (*GetAnnotationTagsResponse) ContextValidate ¶
func (m *GetAnnotationTagsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get annotation tags response based on the context it is used
func (*GetAnnotationTagsResponse) MarshalBinary ¶
func (m *GetAnnotationTagsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAnnotationTagsResponse) UnmarshalBinary ¶
func (m *GetAnnotationTagsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetDataSourceIDByNameOKBody ¶
type GetDataSourceIDByNameOKBody struct { // ID Identifier of the data source. // Example: 65 // Required: true ID *int64 `json:"id"` }
GetDataSourceIDByNameOKBody get data source Id by name Ok body
swagger:model getDataSourceIdByNameOkBody
func (*GetDataSourceIDByNameOKBody) ContextValidate ¶
func (m *GetDataSourceIDByNameOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get data source Id by name Ok body based on context it is used
func (*GetDataSourceIDByNameOKBody) MarshalBinary ¶
func (m *GetDataSourceIDByNameOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetDataSourceIDByNameOKBody) UnmarshalBinary ¶
func (m *GetDataSourceIDByNameOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetGroupMappings ¶
type GetGroupMappings struct { // mappings Mappings []*GroupMapping `json:"mappings"` }
GetGroupMappings get group mappings
swagger:model getGroupMappings
func (*GetGroupMappings) ContextValidate ¶
ContextValidate validate this get group mappings based on the context it is used
func (*GetGroupMappings) MarshalBinary ¶
func (m *GetGroupMappings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetGroupMappings) UnmarshalBinary ¶
func (m *GetGroupMappings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetGroupsResponse ¶
type GetGroupsResponse struct { // groups Groups []*Group `json:"groups"` // total Total int64 `json:"total,omitempty"` }
GetGroupsResponse get groups response
swagger:model getGroupsResponse
func (*GetGroupsResponse) ContextValidate ¶
ContextValidate validate this get groups response based on the context it is used
func (*GetGroupsResponse) MarshalBinary ¶
func (m *GetGroupsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetGroupsResponse) UnmarshalBinary ¶
func (m *GetGroupsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetHomeDashboardResponse ¶
type GetHomeDashboardResponse struct { GetHomeDashboardResponseAllOf0 GetHomeDashboardResponseAllOf1 }
GetHomeDashboardResponse Get home dashboard response.
swagger:model GetHomeDashboardResponse
func (*GetHomeDashboardResponse) ContextValidate ¶
func (m *GetHomeDashboardResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get home dashboard response based on the context it is used
func (*GetHomeDashboardResponse) MarshalBinary ¶
func (m *GetHomeDashboardResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (GetHomeDashboardResponse) MarshalJSON ¶
func (m GetHomeDashboardResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*GetHomeDashboardResponse) UnmarshalBinary ¶
func (m *GetHomeDashboardResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetHomeDashboardResponse) UnmarshalJSON ¶
func (m *GetHomeDashboardResponse) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type GetHomeDashboardResponseAllOf0 ¶
type GetHomeDashboardResponseAllOf0 struct { // dashboard Dashboard JSON `json:"dashboard,omitempty"` // meta Meta *DashboardMeta `json:"meta,omitempty"` }
GetHomeDashboardResponseAllOf0 get home dashboard response all of0
swagger:model getHomeDashboardResponseAllOf0
func (*GetHomeDashboardResponseAllOf0) ContextValidate ¶
func (m *GetHomeDashboardResponseAllOf0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get home dashboard response all of0 based on the context it is used
func (*GetHomeDashboardResponseAllOf0) MarshalBinary ¶
func (m *GetHomeDashboardResponseAllOf0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetHomeDashboardResponseAllOf0) UnmarshalBinary ¶
func (m *GetHomeDashboardResponseAllOf0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetHomeDashboardResponseAllOf1 ¶
type GetHomeDashboardResponseAllOf1 struct { // redirect Uri RedirectURI string `json:"redirectUri,omitempty"` }
GetHomeDashboardResponseAllOf1 get home dashboard response all of1
swagger:model getHomeDashboardResponseAllOf1
func (*GetHomeDashboardResponseAllOf1) ContextValidate ¶
func (m *GetHomeDashboardResponseAllOf1) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get home dashboard response all of1 based on context it is used
func (*GetHomeDashboardResponseAllOf1) MarshalBinary ¶
func (m *GetHomeDashboardResponseAllOf1) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetHomeDashboardResponseAllOf1) UnmarshalBinary ¶
func (m *GetHomeDashboardResponseAllOf1) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetProviderSettingsOKBody ¶
type GetProviderSettingsOKBody struct { // id ID string `json:"id,omitempty"` // provider Provider string `json:"provider,omitempty"` // settings Settings interface{} `json:"settings,omitempty"` // source Source string `json:"source,omitempty"` }
GetProviderSettingsOKBody get provider settings Ok body
swagger:model getProviderSettingsOkBody
func (*GetProviderSettingsOKBody) ContextValidate ¶
func (m *GetProviderSettingsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get provider settings Ok body based on context it is used
func (*GetProviderSettingsOKBody) MarshalBinary ¶
func (m *GetProviderSettingsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetProviderSettingsOKBody) UnmarshalBinary ¶
func (m *GetProviderSettingsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetSharingOptionsOKBody ¶
type GetSharingOptionsOKBody struct { // external enabled ExternalEnabled bool `json:"externalEnabled,omitempty"` // external snapshot name ExternalSnapshotName string `json:"externalSnapshotName,omitempty"` // external snapshot URL ExternalSnapshotURL string `json:"externalSnapshotURL,omitempty"` }
GetSharingOptionsOKBody get sharing options Ok body
swagger:model getSharingOptionsOkBody
func (*GetSharingOptionsOKBody) ContextValidate ¶
func (m *GetSharingOptionsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get sharing options Ok body based on context it is used
func (*GetSharingOptionsOKBody) MarshalBinary ¶
func (m *GetSharingOptionsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetSharingOptionsOKBody) UnmarshalBinary ¶
func (m *GetSharingOptionsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetSnapshotResponseDTO ¶
type GetSnapshotResponseDTO struct { // created // Format: date-time Created strfmt.DateTime `json:"created,omitempty"` // finished // Format: date-time Finished strfmt.DateTime `json:"finished,omitempty"` // results Results []*MigrateDataResponseItemDTO `json:"results"` // session Uid SessionUID string `json:"sessionUid,omitempty"` // stats Stats *SnapshotResourceStats `json:"stats,omitempty"` // status // Enum: [INITIALIZING CREATING PENDING_UPLOAD UPLOADING PENDING_PROCESSING PROCESSING FINISHED CANCELED ERROR UNKNOWN] Status string `json:"status,omitempty"` // uid UID string `json:"uid,omitempty"` }
GetSnapshotResponseDTO get snapshot response DTO
swagger:model GetSnapshotResponseDTO
func (*GetSnapshotResponseDTO) ContextValidate ¶
func (m *GetSnapshotResponseDTO) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get snapshot response DTO based on the context it is used
func (*GetSnapshotResponseDTO) MarshalBinary ¶
func (m *GetSnapshotResponseDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetSnapshotResponseDTO) UnmarshalBinary ¶
func (m *GetSnapshotResponseDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GettableAPIAlertingConfig ¶
type GettableAPIAlertingConfig struct { // global Global *GlobalConfig `json:"global,omitempty"` // inhibit rules InhibitRules []*InhibitRule `json:"inhibit_rules"` // mute time provenances MuteTimeProvenances map[string]Provenance `json:"muteTimeProvenances,omitempty"` // MuteTimeIntervals is deprecated and will be removed before Alertmanager 1.0. MuteTimeIntervals []*MuteTimeInterval `json:"mute_time_intervals"` // Override with our superset receiver type Receivers []*GettableAPIReceiver `json:"receivers"` // route Route *Route `json:"route,omitempty"` // templates Templates []string `json:"templates"` // time intervals TimeIntervals []*TimeInterval `json:"time_intervals"` }
GettableAPIAlertingConfig gettable Api alerting config
swagger:model GettableApiAlertingConfig
func (*GettableAPIAlertingConfig) ContextValidate ¶
func (m *GettableAPIAlertingConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this gettable Api alerting config based on the context it is used
func (*GettableAPIAlertingConfig) MarshalBinary ¶
func (m *GettableAPIAlertingConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GettableAPIAlertingConfig) UnmarshalBinary ¶
func (m *GettableAPIAlertingConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GettableAPIReceiver ¶
type GettableAPIReceiver struct { // discord configs DiscordConfigs []*DiscordConfig `json:"discord_configs"` // email configs EmailConfigs []*EmailConfig `json:"email_configs"` // grafana managed receiver configs GrafanaManagedReceiverConfigs []*GettableGrafanaReceiver `json:"grafana_managed_receiver_configs"` // msteams configs MsteamsConfigs []*MSTeamsConfig `json:"msteams_configs"` // A unique identifier for this receiver. Name string `json:"name,omitempty"` // opsgenie configs OpsgenieConfigs []*OpsGenieConfig `json:"opsgenie_configs"` // pagerduty configs PagerdutyConfigs []*PagerdutyConfig `json:"pagerduty_configs"` // pushover configs PushoverConfigs []*PushoverConfig `json:"pushover_configs"` // slack configs SlackConfigs []*SlackConfig `json:"slack_configs"` // sns configs SNSConfigs []*SNSConfig `json:"sns_configs"` // telegram configs TelegramConfigs []*TelegramConfig `json:"telegram_configs"` // victorops configs VictoropsConfigs []*VictorOpsConfig `json:"victorops_configs"` // webex configs WebexConfigs []*WebexConfig `json:"webex_configs"` // webhook configs WebhookConfigs []*WebhookConfig `json:"webhook_configs"` // wechat configs WechatConfigs []*WechatConfig `json:"wechat_configs"` }
GettableAPIReceiver gettable Api receiver
swagger:model GettableApiReceiver
func (*GettableAPIReceiver) ContextValidate ¶
ContextValidate validate this gettable Api receiver based on the context it is used
func (*GettableAPIReceiver) MarshalBinary ¶
func (m *GettableAPIReceiver) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GettableAPIReceiver) UnmarshalBinary ¶
func (m *GettableAPIReceiver) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GettableAlert ¶
type GettableAlert struct { // annotations // Required: true Annotations LabelSet `json:"annotations"` // ends at // Required: true // Format: date-time EndsAt *strfmt.DateTime `json:"endsAt"` // fingerprint // Required: true Fingerprint *string `json:"fingerprint"` // generator URL // Format: uri // Format: uri GeneratorURL strfmt.URI `json:"generatorURL,omitempty"` // labels // Required: true Labels LabelSet `json:"labels"` // receivers // Required: true Receivers []*Receiver `json:"receivers"` // starts at // Required: true // Format: date-time StartsAt *strfmt.DateTime `json:"startsAt"` // status // Required: true Status *AlertStatus `json:"status"` // updated at // Required: true // Format: date-time UpdatedAt *strfmt.DateTime `json:"updatedAt"` }
GettableAlert GettableAlert gettable alert
swagger:model gettableAlert
func (*GettableAlert) ContextValidate ¶
ContextValidate validate this gettable alert based on the context it is used
func (*GettableAlert) MarshalBinary ¶
func (m *GettableAlert) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GettableAlert) UnmarshalBinary ¶
func (m *GettableAlert) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GettableExtendedRuleNode ¶
type GettableExtendedRuleNode struct { // alert Alert string `json:"alert,omitempty"` // annotations Annotations map[string]string `json:"annotations,omitempty"` // expr Expr string `json:"expr,omitempty"` // for For string `json:"for,omitempty"` // grafana alert GrafanaAlert *GettableGrafanaRule `json:"grafana_alert,omitempty"` // keep firing for KeepFiringFor string `json:"keep_firing_for,omitempty"` // labels Labels map[string]string `json:"labels,omitempty"` // record Record string `json:"record,omitempty"` }
GettableExtendedRuleNode gettable extended rule node
swagger:model GettableExtendedRuleNode
func (*GettableExtendedRuleNode) ContextValidate ¶
func (m *GettableExtendedRuleNode) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this gettable extended rule node based on the context it is used
func (*GettableExtendedRuleNode) MarshalBinary ¶
func (m *GettableExtendedRuleNode) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GettableExtendedRuleNode) UnmarshalBinary ¶
func (m *GettableExtendedRuleNode) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GettableGrafanaReceiver ¶
type GettableGrafanaReceiver struct { // disable resolve message DisableResolveMessage bool `json:"disableResolveMessage,omitempty"` // name Name string `json:"name,omitempty"` // provenance Provenance Provenance `json:"provenance,omitempty"` // secure fields SecureFields map[string]bool `json:"secureFields,omitempty"` // settings Settings RawMessage `json:"settings,omitempty"` // type Type string `json:"type,omitempty"` // uid UID string `json:"uid,omitempty"` }
GettableGrafanaReceiver gettable grafana receiver
swagger:model GettableGrafanaReceiver
func (*GettableGrafanaReceiver) ContextValidate ¶
func (m *GettableGrafanaReceiver) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this gettable grafana receiver based on the context it is used
func (*GettableGrafanaReceiver) MarshalBinary ¶
func (m *GettableGrafanaReceiver) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GettableGrafanaReceiver) UnmarshalBinary ¶
func (m *GettableGrafanaReceiver) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GettableGrafanaRule ¶
type GettableGrafanaRule struct { // condition Condition string `json:"condition,omitempty"` // data Data []*AlertQuery `json:"data"` // exec err state // Enum: [OK Alerting Error] ExecErrState string `json:"exec_err_state,omitempty"` // id ID int64 `json:"id,omitempty"` // interval seconds IntervalSeconds int64 `json:"intervalSeconds,omitempty"` // is paused IsPaused bool `json:"is_paused,omitempty"` // metadata Metadata *AlertRuleMetadata `json:"metadata,omitempty"` // namespace uid NamespaceUID string `json:"namespace_uid,omitempty"` // no data state // Enum: [Alerting NoData OK] NoDataState string `json:"no_data_state,omitempty"` // notification settings NotificationSettings *AlertRuleNotificationSettings `json:"notification_settings,omitempty"` // org Id OrgID int64 `json:"orgId,omitempty"` // provenance Provenance Provenance `json:"provenance,omitempty"` // record Record *Record `json:"record,omitempty"` // rule group RuleGroup string `json:"rule_group,omitempty"` // title Title string `json:"title,omitempty"` // uid UID string `json:"uid,omitempty"` // updated // Format: date-time Updated strfmt.DateTime `json:"updated,omitempty"` // version Version int64 `json:"version,omitempty"` }
GettableGrafanaRule gettable grafana rule
swagger:model GettableGrafanaRule
func (*GettableGrafanaRule) ContextValidate ¶
ContextValidate validate this gettable grafana rule based on the context it is used
func (*GettableGrafanaRule) MarshalBinary ¶
func (m *GettableGrafanaRule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GettableGrafanaRule) UnmarshalBinary ¶
func (m *GettableGrafanaRule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GettableGrafanaSilence ¶
type GettableGrafanaSilence struct { // access control // Example: {"create":false,"read":true,"write":false} AccessControl map[string]bool `json:"accessControl,omitempty"` // comment // Required: true Comment *string `json:"comment"` // created by // Required: true CreatedBy *string `json:"createdBy"` // ends at // Required: true // Format: date-time EndsAt *strfmt.DateTime `json:"endsAt"` // id // Required: true ID *string `json:"id"` // matchers // Required: true Matchers Matchers `json:"matchers"` // metadata Metadata *SilenceMetadata `json:"metadata,omitempty"` // starts at // Required: true // Format: date-time StartsAt *strfmt.DateTime `json:"startsAt"` // status // Required: true Status *SilenceStatus `json:"status"` // updated at // Required: true // Format: date-time UpdatedAt *strfmt.DateTime `json:"updatedAt"` }
GettableGrafanaSilence gettable grafana silence
swagger:model gettableGrafanaSilence
func (*GettableGrafanaSilence) ContextValidate ¶
func (m *GettableGrafanaSilence) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this gettable grafana silence based on the context it is used
func (*GettableGrafanaSilence) MarshalBinary ¶
func (m *GettableGrafanaSilence) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GettableGrafanaSilence) UnmarshalBinary ¶
func (m *GettableGrafanaSilence) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GettableRuleGroupConfig ¶
type GettableRuleGroupConfig struct { // align evaluation time on interval AlignEvaluationTimeOnInterval bool `json:"align_evaluation_time_on_interval,omitempty"` // evaluation delay EvaluationDelay string `json:"evaluation_delay,omitempty"` // interval Interval Duration `json:"interval,omitempty"` // limit Limit int64 `json:"limit,omitempty"` // name Name string `json:"name,omitempty"` // query offset QueryOffset string `json:"query_offset,omitempty"` // rules Rules []*GettableExtendedRuleNode `json:"rules"` // source tenants SourceTenants []string `json:"source_tenants"` }
GettableRuleGroupConfig gettable rule group config
swagger:model GettableRuleGroupConfig
func (*GettableRuleGroupConfig) ContextValidate ¶
func (m *GettableRuleGroupConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this gettable rule group config based on the context it is used
func (*GettableRuleGroupConfig) MarshalBinary ¶
func (m *GettableRuleGroupConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GettableRuleGroupConfig) UnmarshalBinary ¶
func (m *GettableRuleGroupConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GettableSilence ¶
type GettableSilence struct { // comment // Required: true Comment *string `json:"comment"` // created by // Required: true CreatedBy *string `json:"createdBy"` // ends at // Required: true // Format: date-time EndsAt *strfmt.DateTime `json:"endsAt"` // id // Required: true ID *string `json:"id"` // matchers // Required: true Matchers Matchers `json:"matchers"` // starts at // Required: true // Format: date-time StartsAt *strfmt.DateTime `json:"startsAt"` // status // Required: true Status *SilenceStatus `json:"status"` // updated at // Required: true // Format: date-time UpdatedAt *strfmt.DateTime `json:"updatedAt"` }
GettableSilence GettableSilence gettable silence
swagger:model gettableSilence
func (*GettableSilence) ContextValidate ¶
ContextValidate validate this gettable silence based on the context it is used
func (*GettableSilence) MarshalBinary ¶
func (m *GettableSilence) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GettableSilence) UnmarshalBinary ¶
func (m *GettableSilence) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GlobalConfig ¶
type GlobalConfig struct { // http config HTTPConfig *HTTPClientConfig `json:"http_config,omitempty"` // opsgenie api key OpsgenieAPIKey Secret `json:"opsgenie_api_key,omitempty"` // opsgenie api key file OpsgenieAPIKeyFile string `json:"opsgenie_api_key_file,omitempty"` // opsgenie api url OpsgenieAPIURL *URL `json:"opsgenie_api_url,omitempty"` // pagerduty url PagerdutyURL *URL `json:"pagerduty_url,omitempty"` // resolve timeout ResolveTimeout Duration `json:"resolve_timeout,omitempty"` // slack api url SlackAPIURL *SecretURL `json:"slack_api_url,omitempty"` // slack api url file SlackAPIURLFile string `json:"slack_api_url_file,omitempty"` // smtp auth identity SMTPAuthIdentity string `json:"smtp_auth_identity,omitempty"` // smtp auth password SMTPAuthPassword Secret `json:"smtp_auth_password,omitempty"` // smtp auth password file SMTPAuthPasswordFile string `json:"smtp_auth_password_file,omitempty"` // smtp auth secret SMTPAuthSecret Secret `json:"smtp_auth_secret,omitempty"` // smtp auth username SMTPAuthUsername string `json:"smtp_auth_username,omitempty"` // smtp from SMTPFrom string `json:"smtp_from,omitempty"` // smtp hello SMTPHello string `json:"smtp_hello,omitempty"` // smtp require tls SMTPRequireTLS bool `json:"smtp_require_tls,omitempty"` // smtp smarthost SMTPSmarthost *HostPort `json:"smtp_smarthost,omitempty"` // telegram api url TelegramAPIURL *URL `json:"telegram_api_url,omitempty"` // victorops api key VictoropsAPIKey Secret `json:"victorops_api_key,omitempty"` // victorops api key file VictoropsAPIKeyFile string `json:"victorops_api_key_file,omitempty"` // victorops api url VictoropsAPIURL *URL `json:"victorops_api_url,omitempty"` // webex api url WebexAPIURL *URL `json:"webex_api_url,omitempty"` // wechat api corp id WechatAPICorpID string `json:"wechat_api_corp_id,omitempty"` // wechat api secret WechatAPISecret Secret `json:"wechat_api_secret,omitempty"` // wechat api url WechatAPIURL *URL `json:"wechat_api_url,omitempty"` }
GlobalConfig GlobalConfig defines configuration parameters that are valid globally unless overwritten.
swagger:model GlobalConfig
func (*GlobalConfig) ContextValidate ¶
ContextValidate validate this global config based on the context it is used
func (*GlobalConfig) MarshalBinary ¶
func (m *GlobalConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GlobalConfig) UnmarshalBinary ¶
func (m *GlobalConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Group ¶
type Group struct { // group ID GroupID string `json:"groupID,omitempty"` // mappings Mappings interface{} `json:"mappings,omitempty"` }
Group group
swagger:model Group
func (*Group) ContextValidate ¶
ContextValidate validates this group based on context it is used
func (*Group) MarshalBinary ¶
MarshalBinary interface implementation
func (*Group) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type GroupAttributes ¶
type GroupAttributes struct { // roles Roles []string `json:"roles"` }
GroupAttributes group attributes
swagger:model GroupAttributes
func (*GroupAttributes) ContextValidate ¶
ContextValidate validates this group attributes based on context it is used
func (*GroupAttributes) MarshalBinary ¶
func (m *GroupAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GroupAttributes) UnmarshalBinary ¶
func (m *GroupAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GroupMapping ¶
type GroupMapping struct { // group ID GroupID string `json:"groupID,omitempty"` // org ID OrgID int64 `json:"orgID,omitempty"` // uid UID string `json:"uid,omitempty"` // variant Variant string `json:"variant,omitempty"` }
GroupMapping group mapping
swagger:model GroupMapping
func (*GroupMapping) ContextValidate ¶
ContextValidate validates this group mapping based on context it is used
func (*GroupMapping) MarshalBinary ¶
func (m *GroupMapping) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GroupMapping) UnmarshalBinary ¶
func (m *GroupMapping) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GroupMappingRequestBody ¶
type GroupMappingRequestBody struct { // group ID GroupID string `json:"groupID,omitempty"` // mapping Mapping interface{} `json:"mapping,omitempty"` // variant Variant string `json:"variant,omitempty"` }
GroupMappingRequestBody group mapping request body
swagger:model groupMappingRequestBody
func (*GroupMappingRequestBody) ContextValidate ¶
func (m *GroupMappingRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this group mapping request body based on context it is used
func (*GroupMappingRequestBody) MarshalBinary ¶
func (m *GroupMappingRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GroupMappingRequestBody) UnmarshalBinary ¶
func (m *GroupMappingRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HTTPClientConfig ¶
type HTTPClientConfig struct { // authorization Authorization *Authorization `json:"authorization,omitempty"` // basic auth BasicAuth *BasicAuth `json:"basic_auth,omitempty"` // bearer token BearerToken Secret `json:"bearer_token,omitempty"` // The bearer token file for the targets. Deprecated in favour of // Authorization.CredentialsFile. BearerTokenFile string `json:"bearer_token_file,omitempty"` // EnableHTTP2 specifies whether the client should configure HTTP2. // The omitempty flag is not set, because it would be hidden from the // marshalled configuration when set to false. EnableHttp2 bool `json:"enable_http2,omitempty"` // FollowRedirects specifies whether the client should follow HTTP 3xx redirects. // The omitempty flag is not set, because it would be hidden from the // marshalled configuration when set to false. FollowRedirects bool `json:"follow_redirects,omitempty"` // http headers HTTPHeaders *Headers `json:"http_headers,omitempty"` // NoProxy contains addresses that should not use a proxy. NoProxy string `json:"no_proxy,omitempty"` // oauth2 Oauth2 *OAuth2 `json:"oauth2,omitempty"` // proxy connect header ProxyConnectHeader ProxyHeader `json:"proxy_connect_header,omitempty"` // ProxyFromEnvironment makes use of net/http ProxyFromEnvironment function // to determine proxies. ProxyFromEnvironment bool `json:"proxy_from_environment,omitempty"` // proxy url ProxyURL *URL `json:"proxy_url,omitempty"` // tls config TLSConfig *TLSConfig `json:"tls_config,omitempty"` }
HTTPClientConfig HTTPClientConfig configures an HTTP client.
swagger:model HTTPClientConfig
func (*HTTPClientConfig) ContextValidate ¶
ContextValidate validate this HTTP client config based on the context it is used
func (*HTTPClientConfig) MarshalBinary ¶
func (m *HTTPClientConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HTTPClientConfig) UnmarshalBinary ¶
func (m *HTTPClientConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HardDeleteDashboardByUIDOKBody ¶
type HardDeleteDashboardByUIDOKBody struct { // Message Message of the deleted dashboard. // Example: Dashboard My Dashboard deleted // Required: true Message *string `json:"message"` // Title Title of the deleted dashboard. // Example: My Dashboard // Required: true Title *string `json:"title"` // UID Identifier of the deleted dashboard. // Example: 65 // Required: true UID *string `json:"uid"` }
HardDeleteDashboardByUIDOKBody hard delete dashboard by Uid Ok body
swagger:model hardDeleteDashboardByUidOkBody
func (*HardDeleteDashboardByUIDOKBody) ContextValidate ¶
func (m *HardDeleteDashboardByUIDOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this hard delete dashboard by Uid Ok body based on context it is used
func (*HardDeleteDashboardByUIDOKBody) MarshalBinary ¶
func (m *HardDeleteDashboardByUIDOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HardDeleteDashboardByUIDOKBody) UnmarshalBinary ¶
func (m *HardDeleteDashboardByUIDOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Header ¶
type Header struct { // files Files []string `json:"files"` // secrets Secrets []Secret `json:"secrets"` // values Values []string `json:"values"` }
Header Header represents the configuration for a single HTTP header.
swagger:model Header
func (*Header) ContextValidate ¶
ContextValidate validate this header based on the context it is used
func (*Header) MarshalBinary ¶
MarshalBinary interface implementation
func (*Header) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Headers ¶
Headers Headers represents the configuration for HTTP headers.
swagger:model Headers
func (*Headers) ContextValidate ¶
ContextValidate validate this headers based on the context it is used
func (*Headers) MarshalBinary ¶
MarshalBinary interface implementation
func (*Headers) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type HealthResponse ¶
type HealthResponse struct { // commit Commit string `json:"commit,omitempty"` // database Database string `json:"database,omitempty"` // enterprise commit EnterpriseCommit string `json:"enterpriseCommit,omitempty"` // version Version string `json:"version,omitempty"` }
HealthResponse health response
swagger:model healthResponse
func (*HealthResponse) ContextValidate ¶
ContextValidate validates this health response based on context it is used
func (*HealthResponse) MarshalBinary ¶
func (m *HealthResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HealthResponse) UnmarshalBinary ¶
func (m *HealthResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Hit ¶
type Hit struct { // folder Id FolderID int64 `json:"folderId,omitempty"` // folder title FolderTitle string `json:"folderTitle,omitempty"` // folder Uid FolderUID string `json:"folderUid,omitempty"` // folder Url FolderURL string `json:"folderUrl,omitempty"` // id ID int64 `json:"id,omitempty"` // is deleted IsDeleted bool `json:"isDeleted,omitempty"` // is starred IsStarred bool `json:"isStarred,omitempty"` // permanently delete date // Format: date-time PermanentlyDeleteDate strfmt.DateTime `json:"permanentlyDeleteDate,omitempty"` // slug Slug string `json:"slug,omitempty"` // sort meta SortMeta int64 `json:"sortMeta,omitempty"` // sort meta name SortMetaName string `json:"sortMetaName,omitempty"` // tags Tags []string `json:"tags"` // title Title string `json:"title,omitempty"` // type Type HitType `json:"type,omitempty"` // uid UID string `json:"uid,omitempty"` // uri URI string `json:"uri,omitempty"` // url URL string `json:"url,omitempty"` }
Hit hit
swagger:model Hit
func (*Hit) ContextValidate ¶
ContextValidate validate this hit based on the context it is used
func (*Hit) MarshalBinary ¶
MarshalBinary interface implementation
func (*Hit) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type HitList ¶
type HitList []*Hit
HitList hit list
swagger:model HitList
func (HitList) ContextValidate ¶
ContextValidate validate this hit list based on the context it is used
type HitType ¶
type HitType string
HitType hit type
swagger:model HitType
func (HitType) ContextValidate ¶
ContextValidate validates this hit type based on context it is used
type HostPort ¶
type HostPort struct { // host Host string `json:"Host,omitempty"` // port Port string `json:"Port,omitempty"` }
HostPort HostPort represents a "host:port" network address.
swagger:model HostPort
func (*HostPort) ContextValidate ¶
ContextValidate validates this host port based on context it is used
func (*HostPort) MarshalBinary ¶
MarshalBinary interface implementation
func (*HostPort) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type IPMask ¶
type IPMask []uint8
IPMask An IPMask is a bitmask that can be used to manipulate IP addresses for IP addressing and routing.
See type IPNet and func [ParseCIDR] for details.
swagger:model IPMask
func (IPMask) ContextValidate ¶
ContextValidate validates this IP mask based on context it is used
type IPNet ¶
type IPNet struct { // IP IP string `json:"IP,omitempty"` // mask Mask IPMask `json:"Mask,omitempty"` }
IPNet An IPNet represents an IP network.
swagger:model IPNet
func (*IPNet) ContextValidate ¶
ContextValidate validate this IP net based on the context it is used
func (*IPNet) MarshalBinary ¶
MarshalBinary interface implementation
func (*IPNet) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ImportDashboardInput ¶
type ImportDashboardInput struct { // name Name string `json:"name,omitempty"` // plugin Id PluginID string `json:"pluginId,omitempty"` // type Type string `json:"type,omitempty"` // value Value string `json:"value,omitempty"` }
ImportDashboardInput ImportDashboardInput definition of input parameters when importing a dashboard.
swagger:model ImportDashboardInput
func (*ImportDashboardInput) ContextValidate ¶
ContextValidate validates this import dashboard input based on context it is used
func (*ImportDashboardInput) MarshalBinary ¶
func (m *ImportDashboardInput) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ImportDashboardInput) UnmarshalBinary ¶
func (m *ImportDashboardInput) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ImportDashboardRequest ¶
type ImportDashboardRequest struct { // dashboard Dashboard JSON `json:"dashboard,omitempty"` // Deprecated: use FolderUID instead FolderID int64 `json:"folderId,omitempty"` // folder Uid FolderUID string `json:"folderUid,omitempty"` // inputs Inputs []*ImportDashboardInput `json:"inputs"` // overwrite Overwrite bool `json:"overwrite,omitempty"` // path Path string `json:"path,omitempty"` // plugin Id PluginID string `json:"pluginId,omitempty"` }
ImportDashboardRequest ImportDashboardRequest request object for importing a dashboard.
swagger:model ImportDashboardRequest
func (*ImportDashboardRequest) ContextValidate ¶
func (m *ImportDashboardRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this import dashboard request based on the context it is used
func (*ImportDashboardRequest) MarshalBinary ¶
func (m *ImportDashboardRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ImportDashboardRequest) UnmarshalBinary ¶
func (m *ImportDashboardRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ImportDashboardResponse ¶
type ImportDashboardResponse struct { // dashboard Id DashboardID int64 `json:"dashboardId,omitempty"` // description Description string `json:"description,omitempty"` // Deprecated: use FolderUID instead FolderID int64 `json:"folderId,omitempty"` // folder Uid FolderUID string `json:"folderUid,omitempty"` // imported Imported bool `json:"imported,omitempty"` // imported revision ImportedRevision int64 `json:"importedRevision,omitempty"` // imported Uri ImportedURI string `json:"importedUri,omitempty"` // imported Url ImportedURL string `json:"importedUrl,omitempty"` // path Path string `json:"path,omitempty"` // plugin Id PluginID string `json:"pluginId,omitempty"` // removed Removed bool `json:"removed,omitempty"` // revision Revision int64 `json:"revision,omitempty"` // slug Slug string `json:"slug,omitempty"` // title Title string `json:"title,omitempty"` // uid UID string `json:"uid,omitempty"` }
ImportDashboardResponse ImportDashboardResponse response object returned when importing a dashboard.
swagger:model ImportDashboardResponse
func (*ImportDashboardResponse) ContextValidate ¶
func (m *ImportDashboardResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this import dashboard response based on context it is used
func (*ImportDashboardResponse) MarshalBinary ¶
func (m *ImportDashboardResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ImportDashboardResponse) UnmarshalBinary ¶
func (m *ImportDashboardResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InhibitRule ¶
type InhibitRule struct { // equal Equal LabelNames `json:"equal,omitempty"` // SourceMatch defines a set of labels that have to equal the given // value for source alerts. Deprecated. Remove before v1.0 release. SourceMatch map[string]string `json:"source_match,omitempty"` // source match re SourceMatchRe MatchRegexps `json:"source_match_re,omitempty"` // source matchers SourceMatchers Matchers `json:"source_matchers,omitempty"` // TargetMatch defines a set of labels that have to equal the given // value for target alerts. Deprecated. Remove before v1.0 release. TargetMatch map[string]string `json:"target_match,omitempty"` // target match re TargetMatchRe MatchRegexps `json:"target_match_re,omitempty"` // target matchers TargetMatchers Matchers `json:"target_matchers,omitempty"` }
InhibitRule InhibitRule defines an inhibition rule that mutes alerts that match the target labels if an alert matching the source labels exists. Both alerts have to have a set of labels being equal.
swagger:model InhibitRule
func (*InhibitRule) ContextValidate ¶
ContextValidate validate this inhibit rule based on the context it is used
func (*InhibitRule) MarshalBinary ¶
func (m *InhibitRule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InhibitRule) UnmarshalBinary ¶
func (m *InhibitRule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InspectType ¶
type InspectType int64
InspectType InspectType is a type for the Inspect property of a Notice.
swagger:model InspectType
func (InspectType) ContextValidate ¶
ContextValidate validates this inspect type based on context it is used
type InternalDataLink ¶
type InternalDataLink struct { // datasource name DatasourceName string `json:"datasourceName,omitempty"` // datasource Uid DatasourceUID string `json:"datasourceUid,omitempty"` // panels state PanelsState ExplorePanelsState `json:"panelsState,omitempty"` // query Query interface{} `json:"query,omitempty"` // time range TimeRange *TimeRange `json:"timeRange,omitempty"` // transformations Transformations []*LinkTransformationConfig `json:"transformations"` }
InternalDataLink InternalDataLink definition to allow Explore links to be constructed in the backend
swagger:model InternalDataLink
func (*InternalDataLink) ContextValidate ¶
ContextValidate validate this internal data link based on the context it is used
func (*InternalDataLink) MarshalBinary ¶
func (m *InternalDataLink) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InternalDataLink) UnmarshalBinary ¶
func (m *InternalDataLink) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JSONWebKey ¶
type JSONWebKey struct { // Key algorithm, parsed from `alg` header. Algorithm string `json:"Algorithm,omitempty"` // X.509 certificate thumbprint (SHA-1), parsed from `x5t` header. CertificateThumbprintSHA1 []uint8 `json:"CertificateThumbprintSHA1"` // X.509 certificate thumbprint (SHA-256), parsed from `x5t#S256` header. CertificateThumbprintSHA256 []uint8 `json:"CertificateThumbprintSHA256"` // X.509 certificate chain, parsed from `x5c` header. Certificates []*Certificate `json:"Certificates"` // certificates URL CertificatesURL *URL `json:"CertificatesURL,omitempty"` // Key is the Go in-memory representation of this key. It must have one // of these types: // ed25519.PublicKey // ed25519.PrivateKey // ecdsa.PublicKey // ecdsa.PrivateKey // rsa.PublicKey // rsa.PrivateKey // []byte (a symmetric key) // // When marshaling this JSONWebKey into JSON, the "kty" header parameter // will be automatically set based on the type of this field. Key interface{} `json:"Key,omitempty"` // Key identifier, parsed from `kid` header. KeyID string `json:"KeyID,omitempty"` // Key use, parsed from `use` header. Use string `json:"Use,omitempty"` }
JSONWebKey JSONWebKey represents a public or private key in JWK format. It can be marshaled into JSON and unmarshaled from JSON.
swagger:model JSONWebKey
func (*JSONWebKey) ContextValidate ¶
ContextValidate validate this JSON web key based on the context it is used
func (*JSONWebKey) MarshalBinary ¶
func (m *JSONWebKey) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JSONWebKey) UnmarshalBinary ¶
func (m *JSONWebKey) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type KeyUsage ¶
type KeyUsage int64
KeyUsage KeyUsage represents the set of actions that are valid for a given key. It's a bitmap of the KeyUsage* constants.
swagger:model KeyUsage
func (KeyUsage) ContextValidate ¶
ContextValidate validates this key usage based on context it is used
type Label ¶
type Label struct { // name Name string `json:"Name,omitempty"` }
Label Label is a key/value pair of strings.
swagger:model Label
func (*Label) ContextValidate ¶
ContextValidate validates this label based on context it is used
func (*Label) MarshalBinary ¶
MarshalBinary interface implementation
func (*Label) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type LabelName ¶
type LabelName string
LabelName A LabelName is a key for a LabelSet or Metric. It has a value associated therewith.
swagger:model LabelName
func (LabelName) ContextValidate ¶
ContextValidate validates this label name based on context it is used
type LabelNames ¶
type LabelNames []LabelName
LabelNames LabelNames is a sortable LabelName slice. In implements sort.Interface.
swagger:model LabelNames
func (LabelNames) ContextValidate ¶
ContextValidate validate this label names based on the context it is used
type LabelSet ¶
LabelSet LabelSet label set
swagger:model labelSet
func (LabelSet) ContextValidate ¶
ContextValidate validates this label set based on context it is used
type LabelValue ¶
type LabelValue string
LabelValue A LabelValue is an associated value for a LabelName.
swagger:model LabelValue
func (LabelValue) ContextValidate ¶
ContextValidate validates this label value based on context it is used
type Labels ¶
type Labels []*Label
Labels Labels is a sorted set of labels. Order has to be guaranteed upon instantiation.
swagger:model Labels
func (Labels) ContextValidate ¶
ContextValidate validate this labels based on the context it is used
type LibraryElementArrayResponse ¶
type LibraryElementArrayResponse struct { // result Result []*LibraryElementDTO `json:"result"` }
LibraryElementArrayResponse LibraryElementArrayResponse is a response struct for an array of LibraryElementDTO.
swagger:model LibraryElementArrayResponse
func (*LibraryElementArrayResponse) ContextValidate ¶
func (m *LibraryElementArrayResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this library element array response based on the context it is used
func (*LibraryElementArrayResponse) MarshalBinary ¶
func (m *LibraryElementArrayResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LibraryElementArrayResponse) UnmarshalBinary ¶
func (m *LibraryElementArrayResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LibraryElementConnectionDTO ¶
type LibraryElementConnectionDTO struct { // connection Id ConnectionID int64 `json:"connectionId,omitempty"` // connection Uid ConnectionUID string `json:"connectionUid,omitempty"` // created // Format: date-time Created strfmt.DateTime `json:"created,omitempty"` // created by CreatedBy *LibraryElementDTOMetaUser `json:"createdBy,omitempty"` // element Id ElementID int64 `json:"elementId,omitempty"` // id ID int64 `json:"id,omitempty"` // kind Kind int64 `json:"kind,omitempty"` }
LibraryElementConnectionDTO LibraryElementConnectionDTO is the frontend DTO for element connections.
swagger:model LibraryElementConnectionDTO
func (*LibraryElementConnectionDTO) ContextValidate ¶
func (m *LibraryElementConnectionDTO) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this library element connection DTO based on the context it is used
func (*LibraryElementConnectionDTO) MarshalBinary ¶
func (m *LibraryElementConnectionDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LibraryElementConnectionDTO) UnmarshalBinary ¶
func (m *LibraryElementConnectionDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LibraryElementConnectionsResponse ¶
type LibraryElementConnectionsResponse struct { // result Result []*LibraryElementConnectionDTO `json:"result"` }
LibraryElementConnectionsResponse LibraryElementConnectionsResponse is a response struct for an array of LibraryElementConnectionDTO.
swagger:model LibraryElementConnectionsResponse
func (*LibraryElementConnectionsResponse) ContextValidate ¶
func (m *LibraryElementConnectionsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this library element connections response based on the context it is used
func (*LibraryElementConnectionsResponse) MarshalBinary ¶
func (m *LibraryElementConnectionsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LibraryElementConnectionsResponse) UnmarshalBinary ¶
func (m *LibraryElementConnectionsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LibraryElementDTO ¶
type LibraryElementDTO struct { // description Description string `json:"description,omitempty"` // Deprecated: use FolderUID instead FolderID int64 `json:"folderId,omitempty"` // folder Uid FolderUID string `json:"folderUid,omitempty"` // id ID int64 `json:"id,omitempty"` // kind Kind int64 `json:"kind,omitempty"` // meta Meta *LibraryElementDTOMeta `json:"meta,omitempty"` // model Model interface{} `json:"model,omitempty"` // name Name string `json:"name,omitempty"` // org Id OrgID int64 `json:"orgId,omitempty"` // schema version SchemaVersion int64 `json:"schemaVersion,omitempty"` // type Type string `json:"type,omitempty"` // uid UID string `json:"uid,omitempty"` // version Version int64 `json:"version,omitempty"` }
LibraryElementDTO LibraryElementDTO is the frontend DTO for entities.
swagger:model LibraryElementDTO
func (*LibraryElementDTO) ContextValidate ¶
ContextValidate validate this library element DTO based on the context it is used
func (*LibraryElementDTO) MarshalBinary ¶
func (m *LibraryElementDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LibraryElementDTO) UnmarshalBinary ¶
func (m *LibraryElementDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LibraryElementDTOMeta ¶
type LibraryElementDTOMeta struct { // connected dashboards ConnectedDashboards int64 `json:"connectedDashboards,omitempty"` // created // Format: date-time Created strfmt.DateTime `json:"created,omitempty"` // created by CreatedBy *LibraryElementDTOMetaUser `json:"createdBy,omitempty"` // folder name FolderName string `json:"folderName,omitempty"` // folder Uid FolderUID string `json:"folderUid,omitempty"` // updated // Format: date-time Updated strfmt.DateTime `json:"updated,omitempty"` // updated by UpdatedBy *LibraryElementDTOMetaUser `json:"updatedBy,omitempty"` }
LibraryElementDTOMeta LibraryElementDTOMeta is the meta information for LibraryElementDTO.
swagger:model LibraryElementDTOMeta
func (*LibraryElementDTOMeta) ContextValidate ¶
ContextValidate validate this library element DTO meta based on the context it is used
func (*LibraryElementDTOMeta) MarshalBinary ¶
func (m *LibraryElementDTOMeta) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LibraryElementDTOMeta) UnmarshalBinary ¶
func (m *LibraryElementDTOMeta) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LibraryElementDTOMetaUser ¶
type LibraryElementDTOMetaUser struct { // avatar Url AvatarURL string `json:"avatarUrl,omitempty"` // id ID int64 `json:"id,omitempty"` // name Name string `json:"name,omitempty"` }
LibraryElementDTOMetaUser LibraryElementDTOMetaUser defines model for LibraryElementDTOMetaUser.
swagger:model LibraryElementDTOMetaUser
func (*LibraryElementDTOMetaUser) ContextValidate ¶
func (m *LibraryElementDTOMetaUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this library element DTO meta user based on context it is used
func (*LibraryElementDTOMetaUser) MarshalBinary ¶
func (m *LibraryElementDTOMetaUser) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LibraryElementDTOMetaUser) UnmarshalBinary ¶
func (m *LibraryElementDTOMetaUser) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LibraryElementResponse ¶
type LibraryElementResponse struct { // result Result *LibraryElementDTO `json:"result,omitempty"` }
LibraryElementResponse LibraryElementResponse is a response struct for LibraryElementDTO.
swagger:model LibraryElementResponse
func (*LibraryElementResponse) ContextValidate ¶
func (m *LibraryElementResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this library element response based on the context it is used
func (*LibraryElementResponse) MarshalBinary ¶
func (m *LibraryElementResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LibraryElementResponse) UnmarshalBinary ¶
func (m *LibraryElementResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LibraryElementSearchResponse ¶
type LibraryElementSearchResponse struct { // result Result *LibraryElementSearchResult `json:"result,omitempty"` }
LibraryElementSearchResponse LibraryElementSearchResponse is a response struct for LibraryElementSearchResult.
swagger:model LibraryElementSearchResponse
func (*LibraryElementSearchResponse) ContextValidate ¶
func (m *LibraryElementSearchResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this library element search response based on the context it is used
func (*LibraryElementSearchResponse) MarshalBinary ¶
func (m *LibraryElementSearchResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LibraryElementSearchResponse) UnmarshalBinary ¶
func (m *LibraryElementSearchResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LibraryElementSearchResult ¶
type LibraryElementSearchResult struct { // elements Elements []*LibraryElementDTO `json:"elements"` // page Page int64 `json:"page,omitempty"` // per page PerPage int64 `json:"perPage,omitempty"` // total count TotalCount int64 `json:"totalCount,omitempty"` }
LibraryElementSearchResult LibraryElementSearchResult is the search result for entities.
swagger:model LibraryElementSearchResult
func (*LibraryElementSearchResult) ContextValidate ¶
func (m *LibraryElementSearchResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this library element search result based on the context it is used
func (*LibraryElementSearchResult) MarshalBinary ¶
func (m *LibraryElementSearchResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LibraryElementSearchResult) UnmarshalBinary ¶
func (m *LibraryElementSearchResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LinkTransformationConfig ¶
type LinkTransformationConfig struct { // expression Expression string `json:"expression,omitempty"` // field Field string `json:"field,omitempty"` // map value MapValue string `json:"mapValue,omitempty"` // type Type SupportedTransformationTypes `json:"type,omitempty"` }
LinkTransformationConfig link transformation config
swagger:model LinkTransformationConfig
func (*LinkTransformationConfig) ContextValidate ¶
func (m *LinkTransformationConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this link transformation config based on the context it is used
func (*LinkTransformationConfig) MarshalBinary ¶
func (m *LinkTransformationConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LinkTransformationConfig) UnmarshalBinary ¶
func (m *LinkTransformationConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListAllProvidersSettingsOKBodyItems ¶
type ListAllProvidersSettingsOKBodyItems struct { // id ID string `json:"id,omitempty"` // provider Provider string `json:"provider,omitempty"` // settings Settings interface{} `json:"settings,omitempty"` // source Source string `json:"source,omitempty"` }
ListAllProvidersSettingsOKBodyItems list all providers settings Ok body items
swagger:model listAllProvidersSettingsOkBodyItems
func (*ListAllProvidersSettingsOKBodyItems) ContextValidate ¶
func (m *ListAllProvidersSettingsOKBodyItems) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list all providers settings Ok body items based on context it is used
func (*ListAllProvidersSettingsOKBodyItems) MarshalBinary ¶
func (m *ListAllProvidersSettingsOKBodyItems) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListAllProvidersSettingsOKBodyItems) UnmarshalBinary ¶
func (m *ListAllProvidersSettingsOKBodyItems) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListSortOptionsOKBody ¶
type ListSortOptionsOKBody struct { // description Description string `json:"description,omitempty"` // display name DisplayName string `json:"displayName,omitempty"` // meta Meta string `json:"meta,omitempty"` // name Name string `json:"name,omitempty"` }
ListSortOptionsOKBody list sort options Ok body
swagger:model listSortOptionsOkBody
func (*ListSortOptionsOKBody) ContextValidate ¶
ContextValidate validates this list sort options Ok body based on context it is used
func (*ListSortOptionsOKBody) MarshalBinary ¶
func (m *ListSortOptionsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListSortOptionsOKBody) UnmarshalBinary ¶
func (m *ListSortOptionsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MSTeamsConfig ¶
type MSTeamsConfig struct { // http config HTTPConfig *HTTPClientConfig `json:"http_config,omitempty"` // send resolved SendResolved bool `json:"send_resolved,omitempty"` // summary Summary string `json:"summary,omitempty"` // text Text string `json:"text,omitempty"` // title Title string `json:"title,omitempty"` // webhook url WebhookURL *SecretURL `json:"webhook_url,omitempty"` // webhook url file WebhookURLFile string `json:"webhook_url_file,omitempty"` }
MSTeamsConfig m s teams config
swagger:model MSTeamsConfig
func (*MSTeamsConfig) ContextValidate ¶
ContextValidate validate this m s teams config based on the context it is used
func (*MSTeamsConfig) MarshalBinary ¶
func (m *MSTeamsConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MSTeamsConfig) UnmarshalBinary ¶
func (m *MSTeamsConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MassDeleteAnnotationsCmd ¶
type MassDeleteAnnotationsCmd struct { // annotation Id AnnotationID int64 `json:"annotationId,omitempty"` // dashboard Id DashboardID int64 `json:"dashboardId,omitempty"` // dashboard UID DashboardUID string `json:"dashboardUID,omitempty"` // panel Id PanelID int64 `json:"panelId,omitempty"` }
MassDeleteAnnotationsCmd mass delete annotations cmd
swagger:model MassDeleteAnnotationsCmd
func (*MassDeleteAnnotationsCmd) ContextValidate ¶
func (m *MassDeleteAnnotationsCmd) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this mass delete annotations cmd based on context it is used
func (*MassDeleteAnnotationsCmd) MarshalBinary ¶
func (m *MassDeleteAnnotationsCmd) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MassDeleteAnnotationsCmd) UnmarshalBinary ¶
func (m *MassDeleteAnnotationsCmd) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MatchRegexps ¶
MatchRegexps MatchRegexps represents a map of Regexp.
swagger:model MatchRegexps
func (MatchRegexps) ContextValidate ¶
ContextValidate validates this match regexps based on context it is used
type MatchType ¶
type MatchType int64
MatchType MatchType is an enum for label matching types.
swagger:model MatchType
func (MatchType) ContextValidate ¶
ContextValidate validates this match type based on context it is used
type Matcher ¶
type Matcher struct { // is equal IsEqual bool `json:"isEqual,omitempty"` // is regex // Required: true IsRegex *bool `json:"isRegex"` // name // Required: true Name *string `json:"name"` // value // Required: true Value *string `json:"value"` }
Matcher Matcher matcher
swagger:model matcher
func (*Matcher) ContextValidate ¶
ContextValidate validates this matcher based on context it is used
func (*Matcher) MarshalBinary ¶
MarshalBinary interface implementation
func (*Matcher) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Matchers ¶
type Matchers []*Matcher
Matchers Matchers matchers
swagger:model matchers
func (Matchers) ContextValidate ¶
ContextValidate validate this matchers based on the context it is used
type MessageResponse ¶
type MessageResponse struct { // message Message string `json:"message,omitempty"` }
MessageResponse message response
swagger:model messageResponse
func (*MessageResponse) ContextValidate ¶
ContextValidate validates this message response based on context it is used
func (*MessageResponse) MarshalBinary ¶
func (m *MessageResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MessageResponse) UnmarshalBinary ¶
func (m *MessageResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Metadata ¶
Metadata Metadata contains user accesses for a given resource Ex: map[string]bool{"create":true, "delete": true}
swagger:model Metadata
func (Metadata) ContextValidate ¶
ContextValidate validates this metadata based on context it is used
type MetricRequest ¶
type MetricRequest struct { // debug Debug bool `json:"debug,omitempty"` // From Start time in epoch timestamps in milliseconds or relative using Grafana time units. // Example: now-1h // Required: true From *string `json:"from"` // queries.refId – Specifies an identifier of the query. Is optional and default to “A”. // queries.datasourceId – Specifies the data source to be queried. Each query in the request must have an unique datasourceId. // queries.maxDataPoints - Species maximum amount of data points that dashboard panel can render. Is optional and default to 100. // queries.intervalMs - Specifies the time interval in milliseconds of time series. Is optional and defaults to 1000. // Example: [{"datasource":{"uid":"PD8C576611E62080A"},"format":"table","intervalMs":86400000,"maxDataPoints":1092,"rawSql":"SELECT 1 as valueOne, 2 as valueTwo","refId":"A"}] // Required: true Queries []JSON `json:"queries"` // To End time in epoch timestamps in milliseconds or relative using Grafana time units. // Example: now // Required: true To *string `json:"to"` }
MetricRequest metric request
swagger:model MetricRequest
func (*MetricRequest) ContextValidate ¶
ContextValidate validates this metric request based on context it is used
func (*MetricRequest) MarshalBinary ¶
func (m *MetricRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MetricRequest) UnmarshalBinary ¶
func (m *MetricRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MigrateDataResponseItemDTO ¶
type MigrateDataResponseItemDTO struct { // error code // Enum: [DATASOURCE_NAME_CONFLICT DATASOURCE_INVALID_URL DATASOURCE_ALREADY_MANAGED FOLDER_NAME_CONFLICT DASHBOARD_ALREADY_MANAGED LIBRARY_ELEMENT_NAME_CONFLICT UNSUPPORTED_DATA_TYPE RESOURCE_CONFLICT UNEXPECTED_STATUS_CODE INTERNAL_SERVICE_ERROR ONLY_CORE_DATA_SOURCES GENERIC_ERROR] ErrorCode string `json:"errorCode,omitempty"` // message Message string `json:"message,omitempty"` // name Name string `json:"name,omitempty"` // parent name ParentName string `json:"parentName,omitempty"` // ref Id // Required: true RefID *string `json:"refId"` // status // Required: true // Enum: [OK WARNING ERROR PENDING UNKNOWN] Status *string `json:"status"` // type // Required: true // Enum: [DASHBOARD DATASOURCE FOLDER LIBRARY_ELEMENT ALERT_RULE CONTACT_POINT NOTIFICATION_POLICY NOTIFICATION_TEMPLATE MUTE_TIMING] Type *string `json:"type"` }
MigrateDataResponseItemDTO migrate data response item DTO
swagger:model MigrateDataResponseItemDTO
func (*MigrateDataResponseItemDTO) ContextValidate ¶
func (m *MigrateDataResponseItemDTO) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this migrate data response item DTO based on context it is used
func (*MigrateDataResponseItemDTO) MarshalBinary ¶
func (m *MigrateDataResponseItemDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MigrateDataResponseItemDTO) UnmarshalBinary ¶
func (m *MigrateDataResponseItemDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MigrateDataResponseListDTO ¶
type MigrateDataResponseListDTO struct { // uid UID string `json:"uid,omitempty"` }
MigrateDataResponseListDTO migrate data response list DTO
swagger:model MigrateDataResponseListDTO
func (*MigrateDataResponseListDTO) ContextValidate ¶
func (m *MigrateDataResponseListDTO) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this migrate data response list DTO based on context it is used
func (*MigrateDataResponseListDTO) MarshalBinary ¶
func (m *MigrateDataResponseListDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MigrateDataResponseListDTO) UnmarshalBinary ¶
func (m *MigrateDataResponseListDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MoveFolderCommand ¶
type MoveFolderCommand struct { // parent Uid ParentUID string `json:"parentUid,omitempty"` }
MoveFolderCommand MoveFolderCommand captures the information required by the folder service to move a folder.
swagger:model MoveFolderCommand
func (*MoveFolderCommand) ContextValidate ¶
ContextValidate validates this move folder command based on context it is used
func (*MoveFolderCommand) MarshalBinary ¶
func (m *MoveFolderCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MoveFolderCommand) UnmarshalBinary ¶
func (m *MoveFolderCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MuteTimeInterval ¶
type MuteTimeInterval struct { // name Name string `json:"name,omitempty"` // time intervals TimeIntervals []*TimeIntervalItem `json:"time_intervals"` }
MuteTimeInterval MuteTimeInterval represents a named set of time intervals for which a route should be muted.
swagger:model MuteTimeInterval
func (*MuteTimeInterval) ContextValidate ¶
ContextValidate validate this mute time interval based on the context it is used
func (*MuteTimeInterval) MarshalBinary ¶
func (m *MuteTimeInterval) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MuteTimeInterval) UnmarshalBinary ¶
func (m *MuteTimeInterval) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MuteTimeIntervalExport ¶
type MuteTimeIntervalExport struct { // name Name string `json:"name,omitempty"` // org Id OrgID int64 `json:"orgId,omitempty"` // time intervals TimeIntervals []*TimeInterval `json:"time_intervals"` }
MuteTimeIntervalExport mute time interval export
swagger:model MuteTimeIntervalExport
func (*MuteTimeIntervalExport) ContextValidate ¶
func (m *MuteTimeIntervalExport) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this mute time interval export based on the context it is used
func (*MuteTimeIntervalExport) MarshalBinary ¶
func (m *MuteTimeIntervalExport) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MuteTimeIntervalExport) UnmarshalBinary ¶
func (m *MuteTimeIntervalExport) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MuteTimings ¶
type MuteTimings []*MuteTimeInterval
MuteTimings mute timings
swagger:model MuteTimings
func (MuteTimings) ContextValidate ¶
ContextValidate validate this mute timings based on the context it is used
type Name ¶
type Name struct { // country Country []string `json:"Country"` // ExtraNames contains attributes to be copied, raw, into any marshaled // distinguished names. Values override any attributes with the same OID. // The ExtraNames field is not populated when parsing, see Names. ExtraNames []*AttributeTypeAndValue `json:"ExtraNames"` // locality Locality []string `json:"Locality"` // Names contains all parsed attributes. When parsing distinguished names, // this can be used to extract non-standard attributes that are not parsed // by this package. When marshaling to RDNSequences, the Names field is // ignored, see ExtraNames. Names []*AttributeTypeAndValue `json:"Names"` // serial number SerialNumber string `json:"SerialNumber,omitempty"` // street address StreetAddress []string `json:"StreetAddress"` }
Name Name represents an X.509 distinguished name. This only includes the common elements of a DN. Note that Name is only an approximation of the X.509 structure. If an accurate representation is needed, asn1.Unmarshal the raw subject or issuer as an [RDNSequence].
swagger:model Name
func (*Name) ContextValidate ¶
ContextValidate validate this name based on the context it is used
func (*Name) MarshalBinary ¶
MarshalBinary interface implementation
func (*Name) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type NavbarPreference ¶
type NavbarPreference struct { string `json:"bookmarkUrls"` }BookmarkUrls []
NavbarPreference NavbarPreference defines model for NavbarPreference.
swagger:model NavbarPreference
func (*NavbarPreference) ContextValidate ¶
ContextValidate validates this navbar preference based on context it is used
func (*NavbarPreference) MarshalBinary ¶
func (m *NavbarPreference) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NavbarPreference) UnmarshalBinary ¶
func (m *NavbarPreference) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NewAPIKeyResult ¶
type NewAPIKeyResult struct { // id // Example: 1 ID int64 `json:"id,omitempty"` // key // Example: glsa_yscW25imSKJIuav8zF37RZmnbiDvB05G_fcaaf58a Key string `json:"key,omitempty"` // name // Example: grafana Name string `json:"name,omitempty"` }
NewAPIKeyResult new Api key result
swagger:model NewApiKeyResult
func (*NewAPIKeyResult) ContextValidate ¶
ContextValidate validates this new Api key result based on context it is used
func (*NewAPIKeyResult) MarshalBinary ¶
func (m *NewAPIKeyResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NewAPIKeyResult) UnmarshalBinary ¶
func (m *NewAPIKeyResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Notice ¶
type Notice struct { // inspect Inspect InspectType `json:"inspect,omitempty"` // Link is an optional link for display in the user interface and can be an // absolute URL or a path relative to Grafana's root url. Link string `json:"link,omitempty"` // severity Severity NoticeSeverity `json:"severity,omitempty"` // Text is freeform descriptive text for the notice. Text string `json:"text,omitempty"` }
Notice Notice provides a structure for presenting notifications in Grafana's user interface.
swagger:model Notice
func (*Notice) ContextValidate ¶
ContextValidate validate this notice based on the context it is used
func (*Notice) MarshalBinary ¶
MarshalBinary interface implementation
func (*Notice) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type NoticeSeverity ¶
type NoticeSeverity int64
NoticeSeverity NoticeSeverity is a type for the Severity property of a Notice.
swagger:model NoticeSeverity
func (NoticeSeverity) ContextValidate ¶
ContextValidate validates this notice severity based on context it is used
type NotificationPolicyExport ¶
type NotificationPolicyExport struct { // continue Continue bool `json:"continue,omitempty"` // group by GroupBy []string `json:"group_by"` // group interval GroupInterval string `json:"group_interval,omitempty"` // group wait GroupWait string `json:"group_wait,omitempty"` // Deprecated. Remove before v1.0 release. Match map[string]string `json:"match,omitempty"` // match re MatchRe MatchRegexps `json:"match_re,omitempty"` // matchers Matchers Matchers `json:"matchers,omitempty"` // mute time intervals MuteTimeIntervals []string `json:"mute_time_intervals"` // object matchers ObjectMatchers ObjectMatchers `json:"object_matchers,omitempty"` // org Id OrgID int64 `json:"orgId,omitempty"` // receiver Receiver string `json:"receiver,omitempty"` // repeat interval RepeatInterval string `json:"repeat_interval,omitempty"` // routes Routes []*RouteExport `json:"routes"` }
NotificationPolicyExport NotificationPolicyExport is the provisioned file export of alerting.NotificiationPolicyV1.
swagger:model NotificationPolicyExport
func (*NotificationPolicyExport) ContextValidate ¶
func (m *NotificationPolicyExport) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this notification policy export based on the context it is used
func (*NotificationPolicyExport) MarshalBinary ¶
func (m *NotificationPolicyExport) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NotificationPolicyExport) UnmarshalBinary ¶
func (m *NotificationPolicyExport) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NotificationTemplate ¶
type NotificationTemplate struct { // name Name string `json:"name,omitempty"` // provenance Provenance Provenance `json:"provenance,omitempty"` // template Template string `json:"template,omitempty"` // version Version string `json:"version,omitempty"` }
NotificationTemplate notification template
swagger:model NotificationTemplate
func (*NotificationTemplate) ContextValidate ¶
ContextValidate validate this notification template based on the context it is used
func (*NotificationTemplate) MarshalBinary ¶
func (m *NotificationTemplate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NotificationTemplate) UnmarshalBinary ¶
func (m *NotificationTemplate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NotificationTemplateContent ¶
type NotificationTemplateContent struct { // template Template string `json:"template,omitempty"` // version Version string `json:"version,omitempty"` }
NotificationTemplateContent notification template content
swagger:model NotificationTemplateContent
func (*NotificationTemplateContent) ContextValidate ¶
func (m *NotificationTemplateContent) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this notification template content based on context it is used
func (*NotificationTemplateContent) MarshalBinary ¶
func (m *NotificationTemplateContent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NotificationTemplateContent) UnmarshalBinary ¶
func (m *NotificationTemplateContent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NotificationTemplates ¶
type NotificationTemplates []*NotificationTemplate
NotificationTemplates notification templates
swagger:model NotificationTemplates
func (NotificationTemplates) ContextValidate ¶
ContextValidate validate this notification templates based on the context it is used
type OAuth2 ¶
type OAuth2 struct { // TLS config TLSConfig *TLSConfig `json:"TLSConfig,omitempty"` // client id ClientID string `json:"client_id,omitempty"` // client secret ClientSecret Secret `json:"client_secret,omitempty"` // client secret file ClientSecretFile string `json:"client_secret_file,omitempty"` // ClientSecretRef is the name of the secret within the secret manager to use as the client // secret. ClientSecretRef string `json:"client_secret_ref,omitempty"` // endpoint params EndpointParams map[string]string `json:"endpoint_params,omitempty"` // NoProxy contains addresses that should not use a proxy. NoProxy string `json:"no_proxy,omitempty"` // proxy connect header ProxyConnectHeader ProxyHeader `json:"proxy_connect_header,omitempty"` // ProxyFromEnvironment makes use of net/http ProxyFromEnvironment function // to determine proxies. ProxyFromEnvironment bool `json:"proxy_from_environment,omitempty"` // proxy url ProxyURL *URL `json:"proxy_url,omitempty"` // scopes Scopes []string `json:"scopes"` // token url TokenURL string `json:"token_url,omitempty"` }
OAuth2 OAuth2 is the oauth2 client configuration.
swagger:model OAuth2
func (*OAuth2) ContextValidate ¶
ContextValidate validate this o auth2 based on the context it is used
func (*OAuth2) MarshalBinary ¶
MarshalBinary interface implementation
func (*OAuth2) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ObjectIdentifier ¶
type ObjectIdentifier []int64
ObjectIdentifier An ObjectIdentifier represents an ASN.1 OBJECT IDENTIFIER.
swagger:model ObjectIdentifier
func (ObjectIdentifier) ContextValidate ¶
ContextValidate validates this object identifier based on context it is used
type ObjectMatcher ¶
type ObjectMatcher []string
ObjectMatcher ObjectMatcher is a matcher that can be used to filter alerts.
swagger:model ObjectMatcher
func (ObjectMatcher) ContextValidate ¶
ContextValidate validates this object matcher based on context it is used
type ObjectMatchers ¶
type ObjectMatchers []ObjectMatcher
ObjectMatchers ObjectMatchers is a list of matchers that can be used to filter alerts.
swagger:model ObjectMatchers
func (ObjectMatchers) ContextValidate ¶
ContextValidate validate this object matchers based on the context it is used
type OpsGenieConfig ¶
type OpsGenieConfig struct { // actions Actions string `json:"actions,omitempty"` // api key APIKey Secret `json:"api_key,omitempty"` // api key file APIKeyFile string `json:"api_key_file,omitempty"` // api url APIURL *URL `json:"api_url,omitempty"` // description Description string `json:"description,omitempty"` // details Details map[string]string `json:"details,omitempty"` // entity Entity string `json:"entity,omitempty"` // http config HTTPConfig *HTTPClientConfig `json:"http_config,omitempty"` // message Message string `json:"message,omitempty"` // note Note string `json:"note,omitempty"` // priority Priority string `json:"priority,omitempty"` // responders Responders []*OpsGenieConfigResponder `json:"responders"` // send resolved SendResolved bool `json:"send_resolved,omitempty"` // source Source string `json:"source,omitempty"` // tags Tags string `json:"tags,omitempty"` // update alerts UpdateAlerts bool `json:"update_alerts,omitempty"` }
OpsGenieConfig OpsGenieConfig configures notifications via OpsGenie.
swagger:model OpsGenieConfig
func (*OpsGenieConfig) ContextValidate ¶
ContextValidate validate this ops genie config based on the context it is used
func (*OpsGenieConfig) MarshalBinary ¶
func (m *OpsGenieConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OpsGenieConfig) UnmarshalBinary ¶
func (m *OpsGenieConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OpsGenieConfigResponder ¶
type OpsGenieConfigResponder struct { // One of those 3 should be filled. ID string `json:"id,omitempty"` // name Name string `json:"name,omitempty"` // team, user, escalation, schedule etc. Type string `json:"type,omitempty"` // username Username string `json:"username,omitempty"` }
OpsGenieConfigResponder ops genie config responder
swagger:model OpsGenieConfigResponder
func (*OpsGenieConfigResponder) ContextValidate ¶
func (m *OpsGenieConfigResponder) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this ops genie config responder based on context it is used
func (*OpsGenieConfigResponder) MarshalBinary ¶
func (m *OpsGenieConfigResponder) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OpsGenieConfigResponder) UnmarshalBinary ¶
func (m *OpsGenieConfigResponder) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OrgDTO ¶
type OrgDTO struct { // id ID int64 `json:"id,omitempty"` // name Name string `json:"name,omitempty"` }
OrgDTO org DTO
swagger:model OrgDTO
func (*OrgDTO) ContextValidate ¶
ContextValidate validates this org DTO based on context it is used
func (*OrgDTO) MarshalBinary ¶
MarshalBinary interface implementation
func (*OrgDTO) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type OrgDetailsDTO ¶
type OrgDetailsDTO struct { // address Address *Address `json:"address,omitempty"` // id ID int64 `json:"id,omitempty"` // name Name string `json:"name,omitempty"` }
OrgDetailsDTO org details DTO
swagger:model OrgDetailsDTO
func (*OrgDetailsDTO) ContextValidate ¶
ContextValidate validate this org details DTO based on the context it is used
func (*OrgDetailsDTO) MarshalBinary ¶
func (m *OrgDetailsDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrgDetailsDTO) UnmarshalBinary ¶
func (m *OrgDetailsDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OrgUserDTO ¶
type OrgUserDTO struct { // access control AccessControl map[string]bool `json:"accessControl,omitempty"` // auth labels AuthLabels []string `json:"authLabels"` // avatar Url AvatarURL string `json:"avatarUrl,omitempty"` // email Email string `json:"email,omitempty"` // is disabled IsDisabled bool `json:"isDisabled,omitempty"` // is externally synced IsExternallySynced bool `json:"isExternallySynced,omitempty"` // last seen at // Format: date-time LastSeenAt strfmt.DateTime `json:"lastSeenAt,omitempty"` // last seen at age LastSeenAtAge string `json:"lastSeenAtAge,omitempty"` // login Login string `json:"login,omitempty"` // name Name string `json:"name,omitempty"` // org Id OrgID int64 `json:"orgId,omitempty"` // role Role string `json:"role,omitempty"` // uid UID string `json:"uid,omitempty"` // user Id UserID int64 `json:"userId,omitempty"` }
OrgUserDTO org user DTO
swagger:model OrgUserDTO
func (*OrgUserDTO) ContextValidate ¶
ContextValidate validates this org user DTO based on context it is used
func (*OrgUserDTO) MarshalBinary ¶
func (m *OrgUserDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrgUserDTO) UnmarshalBinary ¶
func (m *OrgUserDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PagerdutyConfig ¶
type PagerdutyConfig struct { // class Class string `json:"class,omitempty"` // client Client string `json:"client,omitempty"` // client url ClientURL string `json:"client_url,omitempty"` // component Component string `json:"component,omitempty"` // description Description string `json:"description,omitempty"` // details Details map[string]string `json:"details,omitempty"` // group Group string `json:"group,omitempty"` // http config HTTPConfig *HTTPClientConfig `json:"http_config,omitempty"` // images Images []*PagerdutyImage `json:"images"` // links Links []*PagerdutyLink `json:"links"` // routing key RoutingKey Secret `json:"routing_key,omitempty"` // routing key file RoutingKeyFile string `json:"routing_key_file,omitempty"` // send resolved SendResolved bool `json:"send_resolved,omitempty"` // service key ServiceKey Secret `json:"service_key,omitempty"` // service key file ServiceKeyFile string `json:"service_key_file,omitempty"` // severity Severity string `json:"severity,omitempty"` // source Source string `json:"source,omitempty"` // url URL *URL `json:"url,omitempty"` }
PagerdutyConfig PagerdutyConfig configures notifications via PagerDuty.
swagger:model PagerdutyConfig
func (*PagerdutyConfig) ContextValidate ¶
ContextValidate validate this pagerduty config based on the context it is used
func (*PagerdutyConfig) MarshalBinary ¶
func (m *PagerdutyConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PagerdutyConfig) UnmarshalBinary ¶
func (m *PagerdutyConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PagerdutyImage ¶
type PagerdutyImage struct { // alt Alt string `json:"alt,omitempty"` // href Href string `json:"href,omitempty"` // src Src string `json:"src,omitempty"` }
PagerdutyImage PagerdutyImage is an image.
swagger:model PagerdutyImage
func (*PagerdutyImage) ContextValidate ¶
ContextValidate validates this pagerduty image based on context it is used
func (*PagerdutyImage) MarshalBinary ¶
func (m *PagerdutyImage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PagerdutyImage) UnmarshalBinary ¶
func (m *PagerdutyImage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PagerdutyLink ¶
type PagerdutyLink struct { // href Href string `json:"href,omitempty"` // text Text string `json:"text,omitempty"` }
PagerdutyLink PagerdutyLink is a link.
swagger:model PagerdutyLink
func (*PagerdutyLink) ContextValidate ¶
ContextValidate validates this pagerduty link based on context it is used
func (*PagerdutyLink) MarshalBinary ¶
func (m *PagerdutyLink) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PagerdutyLink) UnmarshalBinary ¶
func (m *PagerdutyLink) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Password ¶
type Password string
Password password
swagger:model Password
func (Password) ContextValidate ¶
ContextValidate validates this password based on context it is used
type PatchAnnotationsCmd ¶
type PatchAnnotationsCmd struct { // data Data JSON `json:"data,omitempty"` // id ID int64 `json:"id,omitempty"` // tags Tags []string `json:"tags"` // text Text string `json:"text,omitempty"` // time Time int64 `json:"time,omitempty"` // time end TimeEnd int64 `json:"timeEnd,omitempty"` }
PatchAnnotationsCmd patch annotations cmd
swagger:model PatchAnnotationsCmd
func (*PatchAnnotationsCmd) ContextValidate ¶
ContextValidate validates this patch annotations cmd based on context it is used
func (*PatchAnnotationsCmd) MarshalBinary ¶
func (m *PatchAnnotationsCmd) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PatchAnnotationsCmd) UnmarshalBinary ¶
func (m *PatchAnnotationsCmd) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PatchLibraryElementCommand ¶
type PatchLibraryElementCommand struct { // ID of the folder where the library element is stored. // // Deprecated: use FolderUID instead FolderID int64 `json:"folderId,omitempty"` // UID of the folder where the library element is stored. FolderUID string `json:"folderUid,omitempty"` // Kind of element to create, Use 1 for library panels or 2 for c. // Description: // 1 - library panels // 2 - library variables // Enum: [1 2] Kind int64 `json:"kind,omitempty"` // The JSON model for the library element. Model interface{} `json:"model,omitempty"` // Name of the library element. Name string `json:"name,omitempty"` // uid UID string `json:"uid,omitempty"` // Version of the library element you are updating. Version int64 `json:"version,omitempty"` }
PatchLibraryElementCommand PatchLibraryElementCommand is the command for patching a LibraryElement
swagger:model PatchLibraryElementCommand
func (*PatchLibraryElementCommand) ContextValidate ¶
func (m *PatchLibraryElementCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this patch library element command based on context it is used
func (*PatchLibraryElementCommand) MarshalBinary ¶
func (m *PatchLibraryElementCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PatchLibraryElementCommand) UnmarshalBinary ¶
func (m *PatchLibraryElementCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PatchPrefsCmd ¶
type PatchPrefsCmd struct { // cookies Cookies []CookieType `json:"cookies"` // The numerical :id of a favorited dashboard HomeDashboardID int64 `json:"homeDashboardId,omitempty"` // home dashboard UID HomeDashboardUID string `json:"homeDashboardUID,omitempty"` // language Language string `json:"language,omitempty"` Navbar *NavbarPreference `json:"navbar,omitempty"` // query history QueryHistory *QueryHistoryPreference `json:"queryHistory,omitempty"` // theme // Enum: [light dark] Theme string `json:"theme,omitempty"` // timezone // Enum: [utc browser] Timezone string `json:"timezone,omitempty"` // week start WeekStart string `json:"weekStart,omitempty"` }
PatchPrefsCmd patch prefs cmd
swagger:model PatchPrefsCmd
func (*PatchPrefsCmd) ContextValidate ¶
ContextValidate validate this patch prefs cmd based on the context it is used
func (*PatchPrefsCmd) MarshalBinary ¶
func (m *PatchPrefsCmd) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PatchPrefsCmd) UnmarshalBinary ¶
func (m *PatchPrefsCmd) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PatchQueryCommentInQueryHistoryCommand ¶
type PatchQueryCommentInQueryHistoryCommand struct { // Updated comment Comment string `json:"comment,omitempty"` }
PatchQueryCommentInQueryHistoryCommand PatchQueryCommentInQueryHistoryCommand is the command for updating comment for query in query history
swagger:model PatchQueryCommentInQueryHistoryCommand
func (*PatchQueryCommentInQueryHistoryCommand) ContextValidate ¶
func (m *PatchQueryCommentInQueryHistoryCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this patch query comment in query history command based on context it is used
func (*PatchQueryCommentInQueryHistoryCommand) MarshalBinary ¶
func (m *PatchQueryCommentInQueryHistoryCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PatchQueryCommentInQueryHistoryCommand) UnmarshalBinary ¶
func (m *PatchQueryCommentInQueryHistoryCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PeerStatus ¶
type PeerStatus struct { // address // Required: true Address *string `json:"address"` // name // Required: true Name *string `json:"name"` }
PeerStatus PeerStatus peer status
swagger:model peerStatus
func (*PeerStatus) ContextValidate ¶
ContextValidate validates this peer status based on context it is used
func (*PeerStatus) MarshalBinary ¶
func (m *PeerStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PeerStatus) UnmarshalBinary ¶
func (m *PeerStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Permission ¶
type Permission struct { // action Action string `json:"action,omitempty"` // created // Format: date-time Created strfmt.DateTime `json:"created,omitempty"` // scope Scope string `json:"scope,omitempty"` // updated // Format: date-time Updated strfmt.DateTime `json:"updated,omitempty"` }
Permission Permission is the model for access control permissions.
swagger:model Permission
func (*Permission) ContextValidate ¶
ContextValidate validates this permission based on context it is used
func (*Permission) MarshalBinary ¶
func (m *Permission) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Permission) UnmarshalBinary ¶
func (m *Permission) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PermissionDenied ¶
type PermissionDenied interface{}
PermissionDenied permission denied
swagger:model PermissionDenied
type PermissionType ¶
type PermissionType int64
PermissionType permission type
swagger:model PermissionType
func (PermissionType) ContextValidate ¶
ContextValidate validates this permission type based on context it is used
type Playlist ¶
type Playlist struct { // id ID int64 `json:"id,omitempty"` // interval Interval string `json:"interval,omitempty"` // name Name string `json:"name,omitempty"` // uid UID string `json:"uid,omitempty"` }
Playlist Playlist model
swagger:model Playlist
func (*Playlist) ContextValidate ¶
ContextValidate validates this playlist based on context it is used
func (*Playlist) MarshalBinary ¶
MarshalBinary interface implementation
func (*Playlist) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PlaylistDashboard ¶
type PlaylistDashboard struct { // id ID int64 `json:"id,omitempty"` // order Order int64 `json:"order,omitempty"` // slug Slug string `json:"slug,omitempty"` // title Title string `json:"title,omitempty"` // uri URI string `json:"uri,omitempty"` // url URL string `json:"url,omitempty"` }
PlaylistDashboard playlist dashboard
swagger:model PlaylistDashboard
func (*PlaylistDashboard) ContextValidate ¶
ContextValidate validates this playlist dashboard based on context it is used
func (*PlaylistDashboard) MarshalBinary ¶
func (m *PlaylistDashboard) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlaylistDashboard) UnmarshalBinary ¶
func (m *PlaylistDashboard) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlaylistItem ¶
type PlaylistItem struct { // Id ID int64 `json:"Id,omitempty"` // playlist Id PlaylistID int64 `json:"PlaylistId,omitempty"` // order Order int64 `json:"order,omitempty"` // title Title string `json:"title,omitempty"` // type Type string `json:"type,omitempty"` // value Value string `json:"value,omitempty"` }
PlaylistItem playlist item
swagger:model PlaylistItem
func (*PlaylistItem) ContextValidate ¶
ContextValidate validates this playlist item based on context it is used
func (*PlaylistItem) MarshalBinary ¶
func (m *PlaylistItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlaylistItem) UnmarshalBinary ¶
func (m *PlaylistItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlaylistItemDTO ¶
type PlaylistItemDTO struct { // Title is an unused property -- it will be removed in the future Title string `json:"title,omitempty"` // Type of the item. Type string `json:"type,omitempty"` // Value depends on type and describes the playlist item. // // dashboard_by_id: The value is an internal numerical identifier set by Grafana. This // is not portable as the numerical identifier is non-deterministic between different instances. // Will be replaced by dashboard_by_uid in the future. (deprecated) // dashboard_by_tag: The value is a tag which is set on any number of dashboards. All // dashboards behind the tag will be added to the playlist. // dashboard_by_uid: The value is the dashboard UID Value string `json:"value,omitempty"` }
PlaylistItemDTO playlist item DTO
swagger:model PlaylistItemDTO
func (*PlaylistItemDTO) ContextValidate ¶
ContextValidate validates this playlist item DTO based on context it is used
func (*PlaylistItemDTO) MarshalBinary ¶
func (m *PlaylistItemDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlaylistItemDTO) UnmarshalBinary ¶
func (m *PlaylistItemDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Playlists ¶
type Playlists []*Playlist
Playlists playlists
swagger:model Playlists
func (Playlists) ContextValidate ¶
ContextValidate validate this playlists based on the context it is used
type PostAnnotationOKBody ¶
type PostAnnotationOKBody struct { // ID Identifier of the created annotation. // Example: 65 // Required: true ID *int64 `json:"id"` // Message Message of the created annotation. // Required: true Message *string `json:"message"` }
PostAnnotationOKBody post annotation Ok body
swagger:model postAnnotationOkBody
func (*PostAnnotationOKBody) ContextValidate ¶
ContextValidate validates this post annotation Ok body based on context it is used
func (*PostAnnotationOKBody) MarshalBinary ¶
func (m *PostAnnotationOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostAnnotationOKBody) UnmarshalBinary ¶
func (m *PostAnnotationOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostAnnotationsCmd ¶
type PostAnnotationsCmd struct { // dashboard Id DashboardID int64 `json:"dashboardId,omitempty"` // dashboard UID DashboardUID string `json:"dashboardUID,omitempty"` // data Data JSON `json:"data,omitempty"` // panel Id PanelID int64 `json:"panelId,omitempty"` // tags Tags []string `json:"tags"` // text // Required: true Text *string `json:"text"` // time Time int64 `json:"time,omitempty"` // time end TimeEnd int64 `json:"timeEnd,omitempty"` }
PostAnnotationsCmd post annotations cmd
swagger:model PostAnnotationsCmd
func (*PostAnnotationsCmd) ContextValidate ¶
ContextValidate validates this post annotations cmd based on context it is used
func (*PostAnnotationsCmd) MarshalBinary ¶
func (m *PostAnnotationsCmd) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostAnnotationsCmd) UnmarshalBinary ¶
func (m *PostAnnotationsCmd) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostDashboardOKBody ¶
type PostDashboardOKBody struct { // FolderUID The unique identifier (uid) of the folder the dashboard belongs to. FolderUID string `json:"folderUid,omitempty"` // ID The unique identifier (id) of the created/updated dashboard. // Example: 1 // Required: true ID *int64 `json:"id"` // Status status of the response. // Example: success // Required: true Status *string `json:"status"` // Slug The slug of the dashboard. // Example: my-dashboard // Required: true Title *string `json:"title"` // UID The unique identifier (uid) of the created/updated dashboard. // Example: nHz3SXiiz // Required: true UID *string `json:"uid"` // URL The relative URL for accessing the created/updated dashboard. // Example: /d/nHz3SXiiz/my-dashboard // Required: true URL *string `json:"url"` // Version The version of the dashboard. // Example: 2 // Required: true Version *int64 `json:"version"` }
PostDashboardOKBody post dashboard Ok body
swagger:model postDashboardOkBody
func (*PostDashboardOKBody) ContextValidate ¶
ContextValidate validates this post dashboard Ok body based on context it is used
func (*PostDashboardOKBody) MarshalBinary ¶
func (m *PostDashboardOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostDashboardOKBody) UnmarshalBinary ¶
func (m *PostDashboardOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostGraphiteAnnotationOKBody ¶
type PostGraphiteAnnotationOKBody struct { // ID Identifier of the created annotation. // Example: 65 // Required: true ID *int64 `json:"id"` // Message Message of the created annotation. // Required: true Message *string `json:"message"` }
PostGraphiteAnnotationOKBody post graphite annotation Ok body
swagger:model postGraphiteAnnotationOkBody
func (*PostGraphiteAnnotationOKBody) ContextValidate ¶
func (m *PostGraphiteAnnotationOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this post graphite annotation Ok body based on context it is used
func (*PostGraphiteAnnotationOKBody) MarshalBinary ¶
func (m *PostGraphiteAnnotationOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostGraphiteAnnotationOKBody) UnmarshalBinary ¶
func (m *PostGraphiteAnnotationOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostGraphiteAnnotationsCmd ¶
type PostGraphiteAnnotationsCmd struct { // data Data string `json:"data,omitempty"` // tags Tags interface{} `json:"tags,omitempty"` // what What string `json:"what,omitempty"` // when When int64 `json:"when,omitempty"` }
PostGraphiteAnnotationsCmd post graphite annotations cmd
swagger:model PostGraphiteAnnotationsCmd
func (*PostGraphiteAnnotationsCmd) ContextValidate ¶
func (m *PostGraphiteAnnotationsCmd) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this post graphite annotations cmd based on context it is used
func (*PostGraphiteAnnotationsCmd) MarshalBinary ¶
func (m *PostGraphiteAnnotationsCmd) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostGraphiteAnnotationsCmd) UnmarshalBinary ¶
func (m *PostGraphiteAnnotationsCmd) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostableAPIAlertingConfig ¶
type PostableAPIAlertingConfig struct { // global Global *GlobalConfig `json:"global,omitempty"` // inhibit rules InhibitRules []*InhibitRule `json:"inhibit_rules"` // MuteTimeIntervals is deprecated and will be removed before Alertmanager 1.0. MuteTimeIntervals []*MuteTimeInterval `json:"mute_time_intervals"` // Override with our superset receiver type Receivers []*PostableAPIReceiver `json:"receivers"` // route Route *Route `json:"route,omitempty"` // templates Templates []string `json:"templates"` // time intervals TimeIntervals []*TimeInterval `json:"time_intervals"` }
PostableAPIAlertingConfig nolint:revive
swagger:model PostableApiAlertingConfig
func (*PostableAPIAlertingConfig) ContextValidate ¶
func (m *PostableAPIAlertingConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this postable Api alerting config based on the context it is used
func (*PostableAPIAlertingConfig) MarshalBinary ¶
func (m *PostableAPIAlertingConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostableAPIAlertingConfig) UnmarshalBinary ¶
func (m *PostableAPIAlertingConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostableAPIReceiver ¶
type PostableAPIReceiver struct { // discord configs DiscordConfigs []*DiscordConfig `json:"discord_configs"` // email configs EmailConfigs []*EmailConfig `json:"email_configs"` // grafana managed receiver configs GrafanaManagedReceiverConfigs []*PostableGrafanaReceiver `json:"grafana_managed_receiver_configs"` // msteams configs MsteamsConfigs []*MSTeamsConfig `json:"msteams_configs"` // A unique identifier for this receiver. Name string `json:"name,omitempty"` // opsgenie configs OpsgenieConfigs []*OpsGenieConfig `json:"opsgenie_configs"` // pagerduty configs PagerdutyConfigs []*PagerdutyConfig `json:"pagerduty_configs"` // pushover configs PushoverConfigs []*PushoverConfig `json:"pushover_configs"` // slack configs SlackConfigs []*SlackConfig `json:"slack_configs"` // sns configs SNSConfigs []*SNSConfig `json:"sns_configs"` // telegram configs TelegramConfigs []*TelegramConfig `json:"telegram_configs"` // victorops configs VictoropsConfigs []*VictorOpsConfig `json:"victorops_configs"` // webex configs WebexConfigs []*WebexConfig `json:"webex_configs"` // webhook configs WebhookConfigs []*WebhookConfig `json:"webhook_configs"` // wechat configs WechatConfigs []*WechatConfig `json:"wechat_configs"` }
PostableAPIReceiver nolint:revive
swagger:model PostableApiReceiver
func (*PostableAPIReceiver) ContextValidate ¶
ContextValidate validate this postable Api receiver based on the context it is used
func (*PostableAPIReceiver) MarshalBinary ¶
func (m *PostableAPIReceiver) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostableAPIReceiver) UnmarshalBinary ¶
func (m *PostableAPIReceiver) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostableAlert ¶
type PostableAlert struct { // annotations Annotations LabelSet `json:"annotations,omitempty"` // ends at // Format: date-time // Format: date-time EndsAt strfmt.DateTime `json:"endsAt,omitempty"` // generator URL // Format: uri // Format: uri GeneratorURL strfmt.URI `json:"generatorURL,omitempty"` // labels // Required: true Labels LabelSet `json:"labels"` // starts at // Format: date-time // Format: date-time StartsAt strfmt.DateTime `json:"startsAt,omitempty"` }
PostableAlert PostableAlert postable alert
swagger:model postableAlert
func (*PostableAlert) ContextValidate ¶
ContextValidate validate this postable alert based on the context it is used
func (*PostableAlert) MarshalBinary ¶
func (m *PostableAlert) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostableAlert) UnmarshalBinary ¶
func (m *PostableAlert) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostableExtendedRuleNode ¶
type PostableExtendedRuleNode struct { // alert Alert string `json:"alert,omitempty"` // annotations Annotations map[string]string `json:"annotations,omitempty"` // expr Expr string `json:"expr,omitempty"` // for For string `json:"for,omitempty"` // grafana alert GrafanaAlert *PostableGrafanaRule `json:"grafana_alert,omitempty"` // keep firing for KeepFiringFor string `json:"keep_firing_for,omitempty"` // labels Labels map[string]string `json:"labels,omitempty"` // record Record string `json:"record,omitempty"` }
PostableExtendedRuleNode postable extended rule node
swagger:model PostableExtendedRuleNode
func (*PostableExtendedRuleNode) ContextValidate ¶
func (m *PostableExtendedRuleNode) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this postable extended rule node based on the context it is used
func (*PostableExtendedRuleNode) MarshalBinary ¶
func (m *PostableExtendedRuleNode) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostableExtendedRuleNode) UnmarshalBinary ¶
func (m *PostableExtendedRuleNode) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostableGrafanaReceiver ¶
type PostableGrafanaReceiver struct { // disable resolve message DisableResolveMessage bool `json:"disableResolveMessage,omitempty"` // name Name string `json:"name,omitempty"` // secure settings SecureSettings map[string]string `json:"secureSettings,omitempty"` // settings Settings RawMessage `json:"settings,omitempty"` // type Type string `json:"type,omitempty"` // uid UID string `json:"uid,omitempty"` }
PostableGrafanaReceiver postable grafana receiver
swagger:model PostableGrafanaReceiver
func (*PostableGrafanaReceiver) ContextValidate ¶
func (m *PostableGrafanaReceiver) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this postable grafana receiver based on context it is used
func (*PostableGrafanaReceiver) MarshalBinary ¶
func (m *PostableGrafanaReceiver) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostableGrafanaReceiver) UnmarshalBinary ¶
func (m *PostableGrafanaReceiver) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostableGrafanaRule ¶
type PostableGrafanaRule struct { // condition Condition string `json:"condition,omitempty"` // data Data []*AlertQuery `json:"data"` // exec err state // Enum: [OK Alerting Error] ExecErrState string `json:"exec_err_state,omitempty"` // is paused IsPaused bool `json:"is_paused,omitempty"` // metadata Metadata *AlertRuleMetadata `json:"metadata,omitempty"` // no data state // Enum: [Alerting NoData OK] NoDataState string `json:"no_data_state,omitempty"` // notification settings NotificationSettings *AlertRuleNotificationSettings `json:"notification_settings,omitempty"` // record Record *Record `json:"record,omitempty"` // title Title string `json:"title,omitempty"` // uid UID string `json:"uid,omitempty"` }
PostableGrafanaRule postable grafana rule
swagger:model PostableGrafanaRule
func (*PostableGrafanaRule) ContextValidate ¶
ContextValidate validate this postable grafana rule based on the context it is used
func (*PostableGrafanaRule) MarshalBinary ¶
func (m *PostableGrafanaRule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostableGrafanaRule) UnmarshalBinary ¶
func (m *PostableGrafanaRule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Preferences ¶
type Preferences struct { // cookie preferences CookiePreferences *CookiePreferences `json:"cookiePreferences,omitempty"` // UID for the home dashboard HomeDashboardUID string `json:"homeDashboardUID,omitempty"` // Selected language (beta) Language string `json:"language,omitempty"` Navbar *NavbarPreference `json:"navbar,omitempty"` // query history QueryHistory *QueryHistoryPreference `json:"queryHistory,omitempty"` // Theme light, dark, empty is default Theme string `json:"theme,omitempty"` // The timezone selection // TODO: this should use the timezone defined in common Timezone string `json:"timezone,omitempty"` // WeekStart day of the week (sunday, monday, etc) WeekStart string `json:"weekStart,omitempty"` }
Preferences Spec defines user, team or org Grafana preferences
swagger:model Preferences
func (*Preferences) ContextValidate ¶
ContextValidate validate this preferences based on the context it is used
func (*Preferences) MarshalBinary ¶
func (m *Preferences) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Preferences) UnmarshalBinary ¶
func (m *Preferences) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PrometheusRemoteWriteTargetJSON ¶
type PrometheusRemoteWriteTargetJSON struct { // data source uid DataSourceUID string `json:"data_source_uid,omitempty"` // id ID string `json:"id,omitempty"` // remote write path RemoteWritePath string `json:"remote_write_path,omitempty"` }
PrometheusRemoteWriteTargetJSON prometheus remote write target JSON
swagger:model PrometheusRemoteWriteTargetJSON
func (*PrometheusRemoteWriteTargetJSON) ContextValidate ¶
func (m *PrometheusRemoteWriteTargetJSON) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this prometheus remote write target JSON based on context it is used
func (*PrometheusRemoteWriteTargetJSON) MarshalBinary ¶
func (m *PrometheusRemoteWriteTargetJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PrometheusRemoteWriteTargetJSON) UnmarshalBinary ¶
func (m *PrometheusRemoteWriteTargetJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Provenance ¶
type Provenance string
Provenance provenance
swagger:model Provenance
func (Provenance) ContextValidate ¶
ContextValidate validates this provenance based on context it is used
type ProvisionedAlertRule ¶
type ProvisionedAlertRule struct { // annotations // Example: {"runbook_url":"https://supercoolrunbook.com/page/13"} Annotations map[string]string `json:"annotations,omitempty"` // condition // Example: A // Required: true Condition *string `json:"condition"` // data // Example: [{"datasourceUid":"__expr__","model":{"conditions":[{"evaluator":{"params":[0,0],"type":"gt"},"operator":{"type":"and"},"query":{"params":[]},"reducer":{"params":[],"type":"avg"},"type":"query"}],"datasource":{"type":"__expr__","uid":"__expr__"},"expression":"1 == 1","hide":false,"intervalMs":1000,"maxDataPoints":43200,"refId":"A","type":"math"},"queryType":"","refId":"A","relativeTimeRange":{"from":0,"to":0}}] // Required: true Data []*AlertQuery `json:"data"` // exec err state // Required: true // Enum: [OK Alerting Error] ExecErrState *string `json:"execErrState"` // folder UID // Example: project_x // Required: true FolderUID *string `json:"folderUID"` // for // Required: true // Format: duration For *strfmt.Duration `json:"for"` // id ID int64 `json:"id,omitempty"` // is paused // Example: false IsPaused bool `json:"isPaused,omitempty"` // labels // Example: {"team":"sre-team-1"} Labels map[string]string `json:"labels,omitempty"` // no data state // Required: true // Enum: [Alerting NoData OK] NoDataState *string `json:"noDataState"` // notification settings NotificationSettings *AlertRuleNotificationSettings `json:"notification_settings,omitempty"` // org ID // Required: true OrgID *int64 `json:"orgID"` // provenance Provenance Provenance `json:"provenance,omitempty"` // record Record *Record `json:"record,omitempty"` // rule group // Example: eval_group_1 // Required: true // Max Length: 190 // Min Length: 1 RuleGroup *string `json:"ruleGroup"` // title // Example: Always firing // Required: true // Max Length: 190 // Min Length: 1 Title *string `json:"title"` // uid // Max Length: 40 // Min Length: 1 // Pattern: ^[a-zA-Z0-9-_]+$ UID string `json:"uid,omitempty"` // updated // Read Only: true // Format: date-time Updated strfmt.DateTime `json:"updated,omitempty"` }
ProvisionedAlertRule provisioned alert rule
swagger:model ProvisionedAlertRule
func (*ProvisionedAlertRule) ContextValidate ¶
ContextValidate validate this provisioned alert rule based on the context it is used
func (*ProvisionedAlertRule) MarshalBinary ¶
func (m *ProvisionedAlertRule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProvisionedAlertRule) UnmarshalBinary ¶
func (m *ProvisionedAlertRule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProvisionedAlertRules ¶
type ProvisionedAlertRules []*ProvisionedAlertRule
ProvisionedAlertRules provisioned alert rules
swagger:model ProvisionedAlertRules
func (ProvisionedAlertRules) ContextValidate ¶
ContextValidate validate this provisioned alert rules based on the context it is used
type ProxyHeader ¶
ProxyHeader proxy header
swagger:model ProxyHeader
func (ProxyHeader) ContextValidate ¶
ContextValidate validate this proxy header based on the context it is used
type PublicDashboard ¶
type PublicDashboard struct { // access token AccessToken string `json:"accessToken,omitempty"` // annotations enabled AnnotationsEnabled bool `json:"annotationsEnabled,omitempty"` // created at // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt,omitempty"` // created by CreatedBy int64 `json:"createdBy,omitempty"` // dashboard Uid DashboardUID string `json:"dashboardUid,omitempty"` // is enabled IsEnabled bool `json:"isEnabled,omitempty"` // recipients Recipients []*EmailDTO `json:"recipients"` Share ShareType `json:"share,omitempty"` // time selection enabled TimeSelectionEnabled bool `json:"timeSelectionEnabled,omitempty"` // uid UID string `json:"uid,omitempty"` // updated at // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"` // updated by UpdatedBy int64 `json:"updatedBy,omitempty"` }
PublicDashboard public dashboard
swagger:model PublicDashboard
func (*PublicDashboard) ContextValidate ¶
ContextValidate validate this public dashboard based on the context it is used
func (*PublicDashboard) MarshalBinary ¶
func (m *PublicDashboard) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PublicDashboard) UnmarshalBinary ¶
func (m *PublicDashboard) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PublicDashboardDTO ¶
type PublicDashboardDTO struct { // access token AccessToken string `json:"accessToken,omitempty"` // annotations enabled AnnotationsEnabled bool `json:"annotationsEnabled,omitempty"` // is enabled IsEnabled bool `json:"isEnabled,omitempty"` Share ShareType `json:"share,omitempty"` // time selection enabled TimeSelectionEnabled bool `json:"timeSelectionEnabled,omitempty"` // uid UID string `json:"uid,omitempty"` }
PublicDashboardDTO public dashboard DTO
swagger:model PublicDashboardDTO
func (*PublicDashboardDTO) ContextValidate ¶
ContextValidate validate this public dashboard DTO based on the context it is used
func (*PublicDashboardDTO) MarshalBinary ¶
func (m *PublicDashboardDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PublicDashboardDTO) UnmarshalBinary ¶
func (m *PublicDashboardDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PublicDashboardListResponse ¶
type PublicDashboardListResponse struct { // access token AccessToken string `json:"accessToken,omitempty"` // dashboard Uid DashboardUID string `json:"dashboardUid,omitempty"` // is enabled IsEnabled bool `json:"isEnabled,omitempty"` // slug Slug string `json:"slug,omitempty"` // title Title string `json:"title,omitempty"` // uid UID string `json:"uid,omitempty"` }
PublicDashboardListResponse public dashboard list response
swagger:model PublicDashboardListResponse
func (*PublicDashboardListResponse) ContextValidate ¶
func (m *PublicDashboardListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this public dashboard list response based on context it is used
func (*PublicDashboardListResponse) MarshalBinary ¶
func (m *PublicDashboardListResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PublicDashboardListResponse) UnmarshalBinary ¶
func (m *PublicDashboardListResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PublicDashboardListResponseWithPagination ¶
type PublicDashboardListResponseWithPagination struct { // page Page int64 `json:"page,omitempty"` // per page PerPage int64 `json:"perPage,omitempty"` // public dashboards PublicDashboards []*PublicDashboardListResponse `json:"publicDashboards"` // total count TotalCount int64 `json:"totalCount,omitempty"` }
PublicDashboardListResponseWithPagination public dashboard list response with pagination
swagger:model PublicDashboardListResponseWithPagination
func (*PublicDashboardListResponseWithPagination) ContextValidate ¶
func (m *PublicDashboardListResponseWithPagination) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this public dashboard list response with pagination based on the context it is used
func (*PublicDashboardListResponseWithPagination) MarshalBinary ¶
func (m *PublicDashboardListResponseWithPagination) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PublicDashboardListResponseWithPagination) UnmarshalBinary ¶
func (m *PublicDashboardListResponseWithPagination) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PublicError ¶
type PublicError struct { // Extra Additional information about the error Extra interface{} `json:"extra,omitempty"` // Message A human readable message Message string `json:"message,omitempty"` // MessageID A unique identifier for the error // Required: true MessageID *string `json:"messageId"` // StatusCode The HTTP status code returned // Required: true StatusCode *int64 `json:"statusCode"` }
PublicError PublicError is derived from Error and only contains information available to the end user.
swagger:model publicError
func (*PublicError) ContextValidate ¶
ContextValidate validates this public error based on context it is used
func (*PublicError) MarshalBinary ¶
func (m *PublicError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PublicError) UnmarshalBinary ¶
func (m *PublicError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PublicKeyAlgorithm ¶
type PublicKeyAlgorithm int64
PublicKeyAlgorithm public key algorithm
swagger:model PublicKeyAlgorithm
func (PublicKeyAlgorithm) ContextValidate ¶
ContextValidate validates this public key algorithm based on context it is used
type PushoverConfig ¶
type PushoverConfig struct { // device Device string `json:"device,omitempty"` // expire Expire string `json:"expire,omitempty"` // html HTML bool `json:"html,omitempty"` // http config HTTPConfig *HTTPClientConfig `json:"http_config,omitempty"` // message Message string `json:"message,omitempty"` // priority Priority string `json:"priority,omitempty"` // retry Retry string `json:"retry,omitempty"` // send resolved SendResolved bool `json:"send_resolved,omitempty"` // sound Sound string `json:"sound,omitempty"` // title Title string `json:"title,omitempty"` // token Token Secret `json:"token,omitempty"` // token file TokenFile string `json:"token_file,omitempty"` // ttl TTL string `json:"ttl,omitempty"` // url URL string `json:"url,omitempty"` // url title URLTitle string `json:"url_title,omitempty"` // user key UserKey Secret `json:"user_key,omitempty"` // user key file UserKeyFile string `json:"user_key_file,omitempty"` }
PushoverConfig pushover config
swagger:model PushoverConfig
func (*PushoverConfig) ContextValidate ¶
ContextValidate validate this pushover config based on the context it is used
func (*PushoverConfig) MarshalBinary ¶
func (m *PushoverConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PushoverConfig) UnmarshalBinary ¶
func (m *PushoverConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type QueryDataResponse ¶
type QueryDataResponse struct { // results Results Responses `json:"results,omitempty"` }
QueryDataResponse QueryDataResponse contains the results from a QueryDataRequest.
It is the return type of a QueryData call.
swagger:model QueryDataResponse
func (*QueryDataResponse) ContextValidate ¶
ContextValidate validate this query data response based on the context it is used
func (*QueryDataResponse) MarshalBinary ¶
func (m *QueryDataResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*QueryDataResponse) UnmarshalBinary ¶
func (m *QueryDataResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type QueryHistoryDTO ¶
type QueryHistoryDTO struct { // comment Comment string `json:"comment,omitempty"` // created at CreatedAt int64 `json:"createdAt,omitempty"` // created by CreatedBy int64 `json:"createdBy,omitempty"` // datasource Uid DatasourceUID string `json:"datasourceUid,omitempty"` // queries Queries JSON `json:"queries,omitempty"` // starred Starred bool `json:"starred,omitempty"` // uid UID string `json:"uid,omitempty"` }
QueryHistoryDTO query history DTO
swagger:model QueryHistoryDTO
func (*QueryHistoryDTO) ContextValidate ¶
ContextValidate validates this query history DTO based on context it is used
func (*QueryHistoryDTO) MarshalBinary ¶
func (m *QueryHistoryDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*QueryHistoryDTO) UnmarshalBinary ¶
func (m *QueryHistoryDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type QueryHistoryDeleteQueryResponse ¶
type QueryHistoryDeleteQueryResponse struct { // id ID int64 `json:"id,omitempty"` // message Message string `json:"message,omitempty"` }
QueryHistoryDeleteQueryResponse QueryHistoryDeleteQueryResponse is the response struct for deleting a query from query history
swagger:model QueryHistoryDeleteQueryResponse
func (*QueryHistoryDeleteQueryResponse) ContextValidate ¶
func (m *QueryHistoryDeleteQueryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this query history delete query response based on context it is used
func (*QueryHistoryDeleteQueryResponse) MarshalBinary ¶
func (m *QueryHistoryDeleteQueryResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*QueryHistoryDeleteQueryResponse) UnmarshalBinary ¶
func (m *QueryHistoryDeleteQueryResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type QueryHistoryPreference ¶
type QueryHistoryPreference struct { // HomeTab one of: ” | 'query' | 'starred'; HomeTab string `json:"homeTab,omitempty"` }
QueryHistoryPreference QueryHistoryPreference defines model for QueryHistoryPreference.
swagger:model QueryHistoryPreference
func (*QueryHistoryPreference) ContextValidate ¶
func (m *QueryHistoryPreference) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this query history preference based on context it is used
func (*QueryHistoryPreference) MarshalBinary ¶
func (m *QueryHistoryPreference) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*QueryHistoryPreference) UnmarshalBinary ¶
func (m *QueryHistoryPreference) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type QueryHistoryResponse ¶
type QueryHistoryResponse struct { // result Result *QueryHistoryDTO `json:"result,omitempty"` }
QueryHistoryResponse QueryHistoryResponse is a response struct for QueryHistoryDTO
swagger:model QueryHistoryResponse
func (*QueryHistoryResponse) ContextValidate ¶
ContextValidate validate this query history response based on the context it is used
func (*QueryHistoryResponse) MarshalBinary ¶
func (m *QueryHistoryResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*QueryHistoryResponse) UnmarshalBinary ¶
func (m *QueryHistoryResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type QueryHistorySearchResponse ¶
type QueryHistorySearchResponse struct { // result Result *QueryHistorySearchResult `json:"result,omitempty"` }
QueryHistorySearchResponse query history search response
swagger:model QueryHistorySearchResponse
func (*QueryHistorySearchResponse) ContextValidate ¶
func (m *QueryHistorySearchResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this query history search response based on the context it is used
func (*QueryHistorySearchResponse) MarshalBinary ¶
func (m *QueryHistorySearchResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*QueryHistorySearchResponse) UnmarshalBinary ¶
func (m *QueryHistorySearchResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type QueryHistorySearchResult ¶
type QueryHistorySearchResult struct { // page Page int64 `json:"page,omitempty"` // per page PerPage int64 `json:"perPage,omitempty"` // query history QueryHistory []*QueryHistoryDTO `json:"queryHistory"` // total count TotalCount int64 `json:"totalCount,omitempty"` }
QueryHistorySearchResult query history search result
swagger:model QueryHistorySearchResult
func (*QueryHistorySearchResult) ContextValidate ¶
func (m *QueryHistorySearchResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this query history search result based on the context it is used
func (*QueryHistorySearchResult) MarshalBinary ¶
func (m *QueryHistorySearchResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*QueryHistorySearchResult) UnmarshalBinary ¶
func (m *QueryHistorySearchResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type QueryStat ¶
type QueryStat struct { // Map values to a display color // NOTE: this interface is under development in the frontend... so simple map for now Color interface{} `json:"color,omitempty"` // Panel Specific Values Custom interface{} `json:"custom,omitempty"` // decimals Decimals uint16 `json:"decimals,omitempty"` // Description is human readable field metadata Description string `json:"description,omitempty"` // DisplayName overrides Grafana default naming, should not be used from a data source DisplayName string `json:"displayName,omitempty"` // DisplayNameFromDS overrides Grafana default naming strategy. DisplayNameFromDS string `json:"displayNameFromDS,omitempty"` // Filterable indicates if the Field's data can be filtered by additional calls. Filterable bool `json:"filterable,omitempty"` // Interval indicates the expected regular step between values in the series. // When an interval exists, consumers can identify "missing" values when the expected value is not present. // The grafana timeseries visualization will render disconnected values when missing values are found it the time field. // The interval uses the same units as the values. For time.Time, this is defined in milliseconds. Interval float64 `json:"interval,omitempty"` // The behavior when clicking on a result Links []*DataLink `json:"links"` // mappings Mappings ValueMappings `json:"mappings,omitempty"` // max Max ConfFloat64 `json:"max,omitempty"` // min Min ConfFloat64 `json:"min,omitempty"` // Alternative to empty string NoValue string `json:"noValue,omitempty"` // Path is an explicit path to the field in the datasource. When the frame meta includes a path, // this will default to `${frame.meta.path}/${field.name} // // When defined, this value can be used as an identifier within the datasource scope, and // may be used as an identifier to update values in a subsequent request Path string `json:"path,omitempty"` // thresholds Thresholds *ThresholdsConfig `json:"thresholds,omitempty"` // type Type *FieldTypeConfig `json:"type,omitempty"` // Numeric Options Unit string `json:"unit,omitempty"` // value Value float64 `json:"value,omitempty"` // Writeable indicates that the datasource knows how to update this value Writeable bool `json:"writeable,omitempty"` }
QueryStat QueryStat is used for storing arbitrary statistics metadata related to a query and its result, e.g. total request time, data processing time.
The embedded FieldConfig's display name must be set. It corresponds to the QueryResultMetaStat on the frontend (https://github.com/grafana/grafana/blob/master/packages/grafana-data/src/types/data.ts#L53).
swagger:model QueryStat
func (*QueryStat) ContextValidate ¶
ContextValidate validate this query stat based on the context it is used
func (*QueryStat) MarshalBinary ¶
MarshalBinary interface implementation
func (*QueryStat) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type QuotaDTO ¶
type QuotaDTO struct { // limit Limit int64 `json:"limit,omitempty"` // org id OrgID int64 `json:"org_id,omitempty"` // target Target string `json:"target,omitempty"` // used Used int64 `json:"used,omitempty"` // user id UserID int64 `json:"user_id,omitempty"` }
QuotaDTO quota DTO
swagger:model QuotaDTO
func (*QuotaDTO) ContextValidate ¶
ContextValidate validates this quota DTO based on context it is used
func (*QuotaDTO) MarshalBinary ¶
MarshalBinary interface implementation
func (*QuotaDTO) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Receiver ¶
type Receiver struct { // name // Required: true Name *string `json:"name"` }
Receiver Receiver receiver
swagger:model receiver
func (*Receiver) ContextValidate ¶
ContextValidate validates this receiver based on context it is used
func (*Receiver) MarshalBinary ¶
MarshalBinary interface implementation
func (*Receiver) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ReceiverExport ¶
type ReceiverExport struct { // disable resolve message DisableResolveMessage bool `json:"disableResolveMessage,omitempty"` // settings Settings RawMessage `json:"settings,omitempty"` // type Type string `json:"type,omitempty"` // uid UID string `json:"uid,omitempty"` }
ReceiverExport ReceiverExport is the provisioned file export of alerting.ReceiverV1.
swagger:model ReceiverExport
func (*ReceiverExport) ContextValidate ¶
ContextValidate validates this receiver export based on context it is used
func (*ReceiverExport) MarshalBinary ¶
func (m *ReceiverExport) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ReceiverExport) UnmarshalBinary ¶
func (m *ReceiverExport) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Record ¶
type Record struct { // Which expression node should be used as the input for the recorded metric. // Example: A // Required: true From *string `json:"from"` // Name of the recorded metric. // Example: grafana_alerts_ratio // Required: true Metric *string `json:"metric"` }
Record record
swagger:model Record
func (*Record) ContextValidate ¶
ContextValidate validates this record based on context it is used
func (*Record) MarshalBinary ¶
MarshalBinary interface implementation
func (*Record) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type RecordingRuleJSON ¶
type RecordingRuleJSON struct { // active Active bool `json:"active,omitempty"` // count Count bool `json:"count,omitempty"` // description Description string `json:"description,omitempty"` // dest data source uid DestDataSourceUID string `json:"dest_data_source_uid,omitempty"` // id ID string `json:"id,omitempty"` // interval Interval int64 `json:"interval,omitempty"` // name Name string `json:"name,omitempty"` // prom name PromName string `json:"prom_name,omitempty"` // queries Queries []interface{} `json:"queries"` // range Range int64 `json:"range,omitempty"` // target ref id TargetRefID string `json:"target_ref_id,omitempty"` }
RecordingRuleJSON RecordingRuleJSON is the external representation of a recording rule
swagger:model RecordingRuleJSON
func (*RecordingRuleJSON) ContextValidate ¶
ContextValidate validates this recording rule JSON based on context it is used
func (*RecordingRuleJSON) MarshalBinary ¶
func (m *RecordingRuleJSON) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RecordingRuleJSON) UnmarshalBinary ¶
func (m *RecordingRuleJSON) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RelativeTimeRange ¶
type RelativeTimeRange struct { // from From Duration `json:"from,omitempty"` // to To Duration `json:"to,omitempty"` }
RelativeTimeRange RelativeTimeRange is the per query start and end time for requests.
swagger:model RelativeTimeRange
func (*RelativeTimeRange) ContextValidate ¶
ContextValidate validate this relative time range based on the context it is used
func (*RelativeTimeRange) MarshalBinary ¶
func (m *RelativeTimeRange) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RelativeTimeRange) UnmarshalBinary ¶
func (m *RelativeTimeRange) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RelativeTimeRangeExport ¶
type RelativeTimeRangeExport struct { // from From int64 `json:"from,omitempty"` // to To int64 `json:"to,omitempty"` }
RelativeTimeRangeExport relative time range export
swagger:model RelativeTimeRangeExport
func (*RelativeTimeRangeExport) ContextValidate ¶
func (m *RelativeTimeRangeExport) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this relative time range export based on context it is used
func (*RelativeTimeRangeExport) MarshalBinary ¶
func (m *RelativeTimeRangeExport) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RelativeTimeRangeExport) UnmarshalBinary ¶
func (m *RelativeTimeRangeExport) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Report ¶
type Report struct { // created // Format: date-time Created strfmt.DateTime `json:"created,omitempty"` // dashboards Dashboards []*ReportDashboard `json:"dashboards"` // enable Csv EnableCSV bool `json:"enableCsv,omitempty"` // enable dashboard Url EnableDashboardURL bool `json:"enableDashboardUrl,omitempty"` // formats Formats []Type `json:"formats"` // id ID int64 `json:"id,omitempty"` // message Message string `json:"message,omitempty"` // name Name string `json:"name,omitempty"` // options Options *ReportOptions `json:"options,omitempty"` // org Id OrgID int64 `json:"orgId,omitempty"` // recipients Recipients string `json:"recipients,omitempty"` // reply to ReplyTo string `json:"replyTo,omitempty"` // scale factor ScaleFactor int64 `json:"scaleFactor,omitempty"` // schedule Schedule *ReportSchedule `json:"schedule,omitempty"` // state State State `json:"state,omitempty"` // uid UID string `json:"uid,omitempty"` // updated // Format: date-time Updated strfmt.DateTime `json:"updated,omitempty"` // user Id UserID int64 `json:"userId,omitempty"` }
Report report
swagger:model Report
func (*Report) ContextValidate ¶
ContextValidate validate this report based on the context it is used
func (*Report) MarshalBinary ¶
MarshalBinary interface implementation
func (*Report) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ReportBrandingOptions ¶
type ReportBrandingOptions struct { string `json:"emailFooterLink,omitempty"` EmailFooterMode string `json:"emailFooterMode,omitempty"` EmailFooterText string `json:"emailFooterText,omitempty"` // email logo Url EmailLogoURL string `json:"emailLogoUrl,omitempty"` // report logo Url ReportLogoURL string `json:"reportLogoUrl,omitempty"` }EmailFooterLink
ReportBrandingOptions report branding options
swagger:model ReportBrandingOptions
func (*ReportBrandingOptions) ContextValidate ¶
ContextValidate validates this report branding options based on context it is used
func (*ReportBrandingOptions) MarshalBinary ¶
func (m *ReportBrandingOptions) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ReportBrandingOptions) UnmarshalBinary ¶
func (m *ReportBrandingOptions) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ReportDashboard ¶
type ReportDashboard struct { // dashboard Dashboard *ReportDashboardID `json:"dashboard,omitempty"` // report variables ReportVariables interface{} `json:"reportVariables,omitempty"` // time range TimeRange *ReportTimeRange `json:"timeRange,omitempty"` }
ReportDashboard report dashboard
swagger:model ReportDashboard
func (*ReportDashboard) ContextValidate ¶
ContextValidate validate this report dashboard based on the context it is used
func (*ReportDashboard) MarshalBinary ¶
func (m *ReportDashboard) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ReportDashboard) UnmarshalBinary ¶
func (m *ReportDashboard) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ReportDashboardID ¶
type ReportDashboardID struct { // id ID int64 `json:"id,omitempty"` // name Name string `json:"name,omitempty"` // uid UID string `json:"uid,omitempty"` }
ReportDashboardID report dashboard ID
swagger:model ReportDashboardID
func (*ReportDashboardID) ContextValidate ¶
ContextValidate validates this report dashboard ID based on context it is used
func (*ReportDashboardID) MarshalBinary ¶
func (m *ReportDashboardID) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ReportDashboardID) UnmarshalBinary ¶
func (m *ReportDashboardID) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ReportEmail ¶
type ReportEmail struct { // Comma-separated list of emails to which to send the report to. Emails string `json:"emails,omitempty"` // Send the report to the emails specified in the report. Required if emails is not present. ID string `json:"id,omitempty"` // Send the report to the emails specified in the report. Required if emails is not present. UseEmailsFromReport bool `json:"useEmailsFromReport,omitempty"` }
ReportEmail report email
swagger:model ReportEmail
func (*ReportEmail) ContextValidate ¶
ContextValidate validates this report email based on context it is used
func (*ReportEmail) MarshalBinary ¶
func (m *ReportEmail) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ReportEmail) UnmarshalBinary ¶
func (m *ReportEmail) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ReportOptions ¶
type ReportOptions struct { // layout Layout string `json:"layout,omitempty"` // orientation Orientation string `json:"orientation,omitempty"` // pdf combine one file PDFCombineOneFile bool `json:"pdfCombineOneFile,omitempty"` // pdf show template variables PDFShowTemplateVariables bool `json:"pdfShowTemplateVariables,omitempty"` // time range TimeRange *ReportTimeRange `json:"timeRange,omitempty"` }
ReportOptions report options
swagger:model ReportOptions
func (*ReportOptions) ContextValidate ¶
ContextValidate validate this report options based on the context it is used
func (*ReportOptions) MarshalBinary ¶
func (m *ReportOptions) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ReportOptions) UnmarshalBinary ¶
func (m *ReportOptions) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ReportSchedule ¶
type ReportSchedule struct { // day of month DayOfMonth string `json:"dayOfMonth,omitempty"` // end date // Format: date-time EndDate *strfmt.DateTime `json:"endDate,omitempty"` // frequency Frequency string `json:"frequency,omitempty"` // interval amount IntervalAmount int64 `json:"intervalAmount,omitempty"` // interval frequency IntervalFrequency string `json:"intervalFrequency,omitempty"` // start date // Format: date-time StartDate *strfmt.DateTime `json:"startDate,omitempty"` // time zone TimeZone string `json:"timeZone,omitempty"` // workdays only WorkdaysOnly bool `json:"workdaysOnly,omitempty"` }
ReportSchedule report schedule
swagger:model ReportSchedule
func (*ReportSchedule) ContextValidate ¶
ContextValidate validates this report schedule based on context it is used
func (*ReportSchedule) MarshalBinary ¶
func (m *ReportSchedule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ReportSchedule) UnmarshalBinary ¶
func (m *ReportSchedule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ReportSettings ¶
type ReportSettings struct { // branding Branding *ReportBrandingOptions `json:"branding,omitempty"` // id ID int64 `json:"id,omitempty"` // org Id OrgID int64 `json:"orgId,omitempty"` // user Id UserID int64 `json:"userId,omitempty"` }
ReportSettings report settings
swagger:model ReportSettings
func (*ReportSettings) ContextValidate ¶
ContextValidate validate this report settings based on the context it is used
func (*ReportSettings) MarshalBinary ¶
func (m *ReportSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ReportSettings) UnmarshalBinary ¶
func (m *ReportSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ReportTimeRange ¶
type ReportTimeRange struct { // from From string `json:"from,omitempty"` // to To string `json:"to,omitempty"` }
ReportTimeRange report time range
swagger:model ReportTimeRange
func (*ReportTimeRange) ContextValidate ¶
ContextValidate validates this report time range based on context it is used
func (*ReportTimeRange) MarshalBinary ¶
func (m *ReportTimeRange) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ReportTimeRange) UnmarshalBinary ¶
func (m *ReportTimeRange) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResourcePermissionDTO ¶
type ResourcePermissionDTO struct { // actions Actions []string `json:"actions"` // built in role BuiltInRole string `json:"builtInRole,omitempty"` // id ID int64 `json:"id,omitempty"` // is inherited IsInherited bool `json:"isInherited,omitempty"` // is managed IsManaged bool `json:"isManaged,omitempty"` // is service account IsServiceAccount bool `json:"isServiceAccount,omitempty"` // permission Permission string `json:"permission,omitempty"` // role name RoleName string `json:"roleName,omitempty"` // team Team string `json:"team,omitempty"` // team avatar Url TeamAvatarURL string `json:"teamAvatarUrl,omitempty"` // team Id TeamID int64 `json:"teamId,omitempty"` // team Uid TeamUID string `json:"teamUid,omitempty"` // user avatar Url UserAvatarURL string `json:"userAvatarUrl,omitempty"` // user Id UserID int64 `json:"userId,omitempty"` // user login UserLogin string `json:"userLogin,omitempty"` // user Uid UserUID string `json:"userUid,omitempty"` }
ResourcePermissionDTO resource permission DTO
swagger:model resourcePermissionDTO
func (*ResourcePermissionDTO) ContextValidate ¶
ContextValidate validates this resource permission DTO based on context it is used
func (*ResourcePermissionDTO) MarshalBinary ¶
func (m *ResourcePermissionDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourcePermissionDTO) UnmarshalBinary ¶
func (m *ResourcePermissionDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResponseDetails ¶
type ResponseDetails struct { // msg Msg string `json:"msg,omitempty"` }
ResponseDetails response details
swagger:model ResponseDetails
func (*ResponseDetails) ContextValidate ¶
ContextValidate validates this response details based on context it is used
func (*ResponseDetails) MarshalBinary ¶
func (m *ResponseDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResponseDetails) UnmarshalBinary ¶
func (m *ResponseDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Responses ¶
type Responses map[string]DataResponse
Responses Responses is a map of RefIDs (Unique Query ID) to DataResponses.
The QueryData method the QueryDataHandler method will set the RefId property on the DataResponses' frames based on these RefIDs.
swagger:model Responses
func (Responses) ContextValidate ¶
ContextValidate validate this responses based on the context it is used
type RestoreDashboardVersionByIDOKBody ¶
type RestoreDashboardVersionByIDOKBody struct { // FolderUID The unique identifier (uid) of the folder the dashboard belongs to. FolderUID string `json:"folderUid,omitempty"` // ID The unique identifier (id) of the created/updated dashboard. // Example: 1 // Required: true ID *int64 `json:"id"` // Status status of the response. // Example: success // Required: true Status *string `json:"status"` // Slug The slug of the dashboard. // Example: my-dashboard // Required: true Title *string `json:"title"` // UID The unique identifier (uid) of the created/updated dashboard. // Example: nHz3SXiiz // Required: true UID *string `json:"uid"` // URL The relative URL for accessing the created/updated dashboard. // Example: /d/nHz3SXiiz/my-dashboard // Required: true URL *string `json:"url"` // Version The version of the dashboard. // Example: 2 // Required: true Version *int64 `json:"version"` }
RestoreDashboardVersionByIDOKBody restore dashboard version by Id Ok body
swagger:model restoreDashboardVersionByIdOkBody
func (*RestoreDashboardVersionByIDOKBody) ContextValidate ¶
func (m *RestoreDashboardVersionByIDOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this restore dashboard version by Id Ok body based on context it is used
func (*RestoreDashboardVersionByIDOKBody) MarshalBinary ¶
func (m *RestoreDashboardVersionByIDOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestoreDashboardVersionByIDOKBody) UnmarshalBinary ¶
func (m *RestoreDashboardVersionByIDOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestoreDashboardVersionByUIDOKBody ¶
type RestoreDashboardVersionByUIDOKBody struct { // FolderUID The unique identifier (uid) of the folder the dashboard belongs to. FolderUID string `json:"folderUid,omitempty"` // ID The unique identifier (id) of the created/updated dashboard. // Example: 1 // Required: true ID *int64 `json:"id"` // Status status of the response. // Example: success // Required: true Status *string `json:"status"` // Slug The slug of the dashboard. // Example: my-dashboard // Required: true Title *string `json:"title"` // UID The unique identifier (uid) of the created/updated dashboard. // Example: nHz3SXiiz // Required: true UID *string `json:"uid"` // URL The relative URL for accessing the created/updated dashboard. // Example: /d/nHz3SXiiz/my-dashboard // Required: true URL *string `json:"url"` // Version The version of the dashboard. // Example: 2 // Required: true Version *int64 `json:"version"` }
RestoreDashboardVersionByUIDOKBody restore dashboard version by Uid Ok body
swagger:model restoreDashboardVersionByUidOkBody
func (*RestoreDashboardVersionByUIDOKBody) ContextValidate ¶
func (m *RestoreDashboardVersionByUIDOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this restore dashboard version by Uid Ok body based on context it is used
func (*RestoreDashboardVersionByUIDOKBody) MarshalBinary ¶
func (m *RestoreDashboardVersionByUIDOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestoreDashboardVersionByUIDOKBody) UnmarshalBinary ¶
func (m *RestoreDashboardVersionByUIDOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestoreDashboardVersionCommand ¶
type RestoreDashboardVersionCommand struct { // version Version int64 `json:"version,omitempty"` }
RestoreDashboardVersionCommand restore dashboard version command
swagger:model RestoreDashboardVersionCommand
func (*RestoreDashboardVersionCommand) ContextValidate ¶
func (m *RestoreDashboardVersionCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this restore dashboard version command based on context it is used
func (*RestoreDashboardVersionCommand) MarshalBinary ¶
func (m *RestoreDashboardVersionCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestoreDashboardVersionCommand) UnmarshalBinary ¶
func (m *RestoreDashboardVersionCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestoreDeletedDashboardByUIDOKBody ¶
type RestoreDeletedDashboardByUIDOKBody struct { // FolderUID The unique identifier (uid) of the folder the dashboard belongs to. FolderUID string `json:"folderUid,omitempty"` // ID The unique identifier (id) of the created/updated dashboard. // Example: 1 // Required: true ID *int64 `json:"id"` // Status status of the response. // Example: success // Required: true Status *string `json:"status"` // Slug The slug of the dashboard. // Example: my-dashboard // Required: true Title *string `json:"title"` // UID The unique identifier (uid) of the created/updated dashboard. // Example: nHz3SXiiz // Required: true UID *string `json:"uid"` // URL The relative URL for accessing the created/updated dashboard. // Example: /d/nHz3SXiiz/my-dashboard // Required: true URL *string `json:"url"` // Version The version of the dashboard. // Example: 2 // Required: true Version *int64 `json:"version"` }
RestoreDeletedDashboardByUIDOKBody restore deleted dashboard by Uid Ok body
swagger:model restoreDeletedDashboardByUidOkBody
func (*RestoreDeletedDashboardByUIDOKBody) ContextValidate ¶
func (m *RestoreDeletedDashboardByUIDOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this restore deleted dashboard by Uid Ok body based on context it is used
func (*RestoreDeletedDashboardByUIDOKBody) MarshalBinary ¶
func (m *RestoreDeletedDashboardByUIDOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestoreDeletedDashboardByUIDOKBody) UnmarshalBinary ¶
func (m *RestoreDeletedDashboardByUIDOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RestoreDeletedDashboardCommand ¶
type RestoreDeletedDashboardCommand struct { // folder Uid FolderUID string `json:"folderUid,omitempty"` }
RestoreDeletedDashboardCommand restore deleted dashboard command
swagger:model RestoreDeletedDashboardCommand
func (*RestoreDeletedDashboardCommand) ContextValidate ¶
func (m *RestoreDeletedDashboardCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this restore deleted dashboard command based on context it is used
func (*RestoreDeletedDashboardCommand) MarshalBinary ¶
func (m *RestoreDeletedDashboardCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RestoreDeletedDashboardCommand) UnmarshalBinary ¶
func (m *RestoreDeletedDashboardCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RetrieveJWKSOKBody ¶
type RetrieveJWKSOKBody struct { // keys Keys []*JSONWebKey `json:"keys"` }
RetrieveJWKSOKBody retrieve j w k s Ok body
swagger:model retrieveJWKSOkBody
func (*RetrieveJWKSOKBody) ContextValidate ¶
ContextValidate validate this retrieve j w k s Ok body based on the context it is used
func (*RetrieveJWKSOKBody) MarshalBinary ¶
func (m *RetrieveJWKSOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RetrieveJWKSOKBody) UnmarshalBinary ¶
func (m *RetrieveJWKSOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RevokeAuthTokenCmd ¶
type RevokeAuthTokenCmd struct { // auth token Id AuthTokenID int64 `json:"authTokenId,omitempty"` }
RevokeAuthTokenCmd revoke auth token cmd
swagger:model RevokeAuthTokenCmd
func (*RevokeAuthTokenCmd) ContextValidate ¶
ContextValidate validates this revoke auth token cmd based on context it is used
func (*RevokeAuthTokenCmd) MarshalBinary ¶
func (m *RevokeAuthTokenCmd) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RevokeAuthTokenCmd) UnmarshalBinary ¶
func (m *RevokeAuthTokenCmd) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RoleAssignmentsDTO ¶
type RoleAssignmentsDTO struct { // role uid RoleUID string `json:"role_uid,omitempty"` // service accounts ServiceAccounts []int64 `json:"service_accounts"` // teams Teams []int64 `json:"teams"` // users Users []int64 `json:"users"` }
RoleAssignmentsDTO role assignments DTO
swagger:model RoleAssignmentsDTO
func (*RoleAssignmentsDTO) ContextValidate ¶
ContextValidate validates this role assignments DTO based on context it is used
func (*RoleAssignmentsDTO) MarshalBinary ¶
func (m *RoleAssignmentsDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RoleAssignmentsDTO) UnmarshalBinary ¶
func (m *RoleAssignmentsDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RoleDTO ¶
type RoleDTO struct { // created // Format: date-time Created strfmt.DateTime `json:"created,omitempty"` // delegatable Delegatable bool `json:"delegatable,omitempty"` // description Description string `json:"description,omitempty"` // display name DisplayName string `json:"displayName,omitempty"` // global Global bool `json:"global,omitempty"` // group Group string `json:"group,omitempty"` // hidden Hidden bool `json:"hidden,omitempty"` // name Name string `json:"name,omitempty"` // permissions Permissions []*Permission `json:"permissions"` // uid UID string `json:"uid,omitempty"` // updated // Format: date-time Updated strfmt.DateTime `json:"updated,omitempty"` // version Version int64 `json:"version,omitempty"` }
RoleDTO role DTO
swagger:model RoleDTO
func (*RoleDTO) ContextValidate ¶
ContextValidate validate this role DTO based on the context it is used
func (*RoleDTO) MarshalBinary ¶
MarshalBinary interface implementation
func (*RoleDTO) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type RolesSearchQuery ¶
type RolesSearchQuery struct { // include hidden IncludeHidden bool `json:"includeHidden,omitempty"` // org Id OrgID int64 `json:"orgId,omitempty"` // team ids TeamIds []int64 `json:"teamIds"` // user ids UserIds []int64 `json:"userIds"` }
RolesSearchQuery roles search query
swagger:model RolesSearchQuery
func (*RolesSearchQuery) ContextValidate ¶
ContextValidate validates this roles search query based on context it is used
func (*RolesSearchQuery) MarshalBinary ¶
func (m *RolesSearchQuery) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RolesSearchQuery) UnmarshalBinary ¶
func (m *RolesSearchQuery) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Route ¶
type Route struct { // active time intervals ActiveTimeIntervals []string `json:"active_time_intervals"` // continue Continue bool `json:"continue,omitempty"` // group by GroupBy []string `json:"group_by"` // group interval GroupInterval string `json:"group_interval,omitempty"` // group wait GroupWait string `json:"group_wait,omitempty"` // Deprecated. Remove before v1.0 release. Match map[string]string `json:"match,omitempty"` // match re MatchRe MatchRegexps `json:"match_re,omitempty"` // matchers Matchers Matchers `json:"matchers,omitempty"` // mute time intervals MuteTimeIntervals []string `json:"mute_time_intervals"` // object matchers ObjectMatchers ObjectMatchers `json:"object_matchers,omitempty"` // provenance Provenance Provenance `json:"provenance,omitempty"` // receiver Receiver string `json:"receiver,omitempty"` // repeat interval RepeatInterval string `json:"repeat_interval,omitempty"` // routes Routes []*Route `json:"routes"` }
Route A Route is a node that contains definitions of how to handle alerts. This is modified from the upstream alertmanager in that it adds the ObjectMatchers property.
swagger:model Route
func (*Route) ContextValidate ¶
ContextValidate validate this route based on the context it is used
func (*Route) MarshalBinary ¶
MarshalBinary interface implementation
func (*Route) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type RouteExport ¶
type RouteExport struct { // continue Continue bool `json:"continue,omitempty"` // group by GroupBy []string `json:"group_by"` // group interval GroupInterval string `json:"group_interval,omitempty"` // group wait GroupWait string `json:"group_wait,omitempty"` // Deprecated. Remove before v1.0 release. Match map[string]string `json:"match,omitempty"` // match re MatchRe MatchRegexps `json:"match_re,omitempty"` // matchers Matchers Matchers `json:"matchers,omitempty"` // mute time intervals MuteTimeIntervals []string `json:"mute_time_intervals"` // object matchers ObjectMatchers ObjectMatchers `json:"object_matchers,omitempty"` // receiver Receiver string `json:"receiver,omitempty"` // repeat interval RepeatInterval string `json:"repeat_interval,omitempty"` // routes Routes []*RouteExport `json:"routes"` }
RouteExport RouteExport is the provisioned file export of definitions.Route. This is needed to hide fields that aren't useable in provisioning file format. An alternative would be to define a custom MarshalJSON and MarshalYAML that excludes them.
swagger:model RouteExport
func (*RouteExport) ContextValidate ¶
ContextValidate validate this route export based on the context it is used
func (*RouteExport) MarshalBinary ¶
func (m *RouteExport) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RouteExport) UnmarshalBinary ¶
func (m *RouteExport) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RuleDiscovery ¶
type RuleDiscovery struct { // groups // Required: true Groups []*RuleGroup `json:"groups"` // totals Totals map[string]int64 `json:"totals,omitempty"` }
RuleDiscovery rule discovery
swagger:model RuleDiscovery
func (*RuleDiscovery) ContextValidate ¶
ContextValidate validate this rule discovery based on the context it is used
func (*RuleDiscovery) MarshalBinary ¶
func (m *RuleDiscovery) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RuleDiscovery) UnmarshalBinary ¶
func (m *RuleDiscovery) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RuleGroup ¶
type RuleGroup struct { // evaluation time EvaluationTime float64 `json:"evaluationTime,omitempty"` // file // Required: true File *string `json:"file"` // interval // Required: true Interval *float64 `json:"interval"` // last evaluation // Format: date-time LastEvaluation strfmt.DateTime `json:"lastEvaluation,omitempty"` // name // Required: true Name *string `json:"name"` // In order to preserve rule ordering, while exposing type (alerting or recording) // specific properties, both alerting and recording rules are exposed in the // same array. // Required: true Rules []*AlertingRule `json:"rules"` // totals Totals map[string]int64 `json:"totals,omitempty"` }
RuleGroup rule group
swagger:model RuleGroup
func (*RuleGroup) ContextValidate ¶
ContextValidate validate this rule group based on the context it is used
func (*RuleGroup) MarshalBinary ¶
MarshalBinary interface implementation
func (*RuleGroup) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SNSConfig ¶
type SNSConfig struct { // api url APIURL string `json:"api_url,omitempty"` // attributes Attributes map[string]string `json:"attributes,omitempty"` // http config HTTPConfig *HTTPClientConfig `json:"http_config,omitempty"` // message Message string `json:"message,omitempty"` // phone number PhoneNumber string `json:"phone_number,omitempty"` // send resolved SendResolved bool `json:"send_resolved,omitempty"` // sigv4 Sigv4 *SigV4Config `json:"sigv4,omitempty"` // subject Subject string `json:"subject,omitempty"` // target arn TargetArn string `json:"target_arn,omitempty"` // topic arn TopicArn string `json:"topic_arn,omitempty"` }
SNSConfig SNS config
swagger:model SNSConfig
func (*SNSConfig) ContextValidate ¶
ContextValidate validate this SNS config based on the context it is used
func (*SNSConfig) MarshalBinary ¶
MarshalBinary interface implementation
func (*SNSConfig) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Sample ¶
type Sample struct { // f F float64 `json:"F,omitempty"` // h H *FloatHistogram `json:"H,omitempty"` // metric Metric Labels `json:"Metric,omitempty"` // t T int64 `json:"T,omitempty"` }
Sample Sample is a single sample belonging to a metric. It represents either a float sample or a histogram sample. If H is nil, it is a float sample. Otherwise, it is a histogram sample.
swagger:model Sample
func (*Sample) ContextValidate ¶
ContextValidate validate this sample based on the context it is used
func (*Sample) MarshalBinary ¶
MarshalBinary interface implementation
func (*Sample) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SaveDashboardCommand ¶
type SaveDashboardCommand struct { // updated at // Format: date-time UpdatedAt strfmt.DateTime `json:"UpdatedAt,omitempty"` // dashboard Dashboard JSON `json:"dashboard,omitempty"` // Deprecated: use FolderUID instead FolderID int64 `json:"folderId,omitempty"` // folder Uid FolderUID string `json:"folderUid,omitempty"` // is folder IsFolder bool `json:"isFolder,omitempty"` // message Message string `json:"message,omitempty"` // overwrite Overwrite bool `json:"overwrite,omitempty"` // user Id UserID int64 `json:"userId,omitempty"` }
SaveDashboardCommand save dashboard command
swagger:model SaveDashboardCommand
func (*SaveDashboardCommand) ContextValidate ¶
ContextValidate validates this save dashboard command based on context it is used
func (*SaveDashboardCommand) MarshalBinary ¶
func (m *SaveDashboardCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SaveDashboardCommand) UnmarshalBinary ¶
func (m *SaveDashboardCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SearchDeviceQueryResult ¶
type SearchDeviceQueryResult struct { // devices Devices []*DeviceSearchHitDTO `json:"devices"` // page Page int64 `json:"page,omitempty"` // per page PerPage int64 `json:"perPage,omitempty"` // total count TotalCount int64 `json:"totalCount,omitempty"` }
SearchDeviceQueryResult search device query result
swagger:model SearchDeviceQueryResult
func (*SearchDeviceQueryResult) ContextValidate ¶
func (m *SearchDeviceQueryResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this search device query result based on the context it is used
func (*SearchDeviceQueryResult) MarshalBinary ¶
func (m *SearchDeviceQueryResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SearchDeviceQueryResult) UnmarshalBinary ¶
func (m *SearchDeviceQueryResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SearchOrgServiceAccountsResult ¶
type SearchOrgServiceAccountsResult struct { // page Page int64 `json:"page,omitempty"` // per page PerPage int64 `json:"perPage,omitempty"` // service accounts ServiceAccounts []*ServiceAccountDTO `json:"serviceAccounts"` // It can be used for pagination of the user list // E.g. if totalCount is equal to 100 users and // the perpage parameter is set to 10 then there are 10 pages of users. TotalCount int64 `json:"totalCount,omitempty"` }
SearchOrgServiceAccountsResult swagger: model
swagger:model SearchOrgServiceAccountsResult
func (*SearchOrgServiceAccountsResult) ContextValidate ¶
func (m *SearchOrgServiceAccountsResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this search org service accounts result based on the context it is used
func (*SearchOrgServiceAccountsResult) MarshalBinary ¶
func (m *SearchOrgServiceAccountsResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SearchOrgServiceAccountsResult) UnmarshalBinary ¶
func (m *SearchOrgServiceAccountsResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SearchOrgUsersQueryResult ¶
type SearchOrgUsersQueryResult struct { // org users OrgUsers []*OrgUserDTO `json:"orgUsers"` // page Page int64 `json:"page,omitempty"` // per page PerPage int64 `json:"perPage,omitempty"` // total count TotalCount int64 `json:"totalCount,omitempty"` }
SearchOrgUsersQueryResult search org users query result
swagger:model SearchOrgUsersQueryResult
func (*SearchOrgUsersQueryResult) ContextValidate ¶
func (m *SearchOrgUsersQueryResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this search org users query result based on the context it is used
func (*SearchOrgUsersQueryResult) MarshalBinary ¶
func (m *SearchOrgUsersQueryResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SearchOrgUsersQueryResult) UnmarshalBinary ¶
func (m *SearchOrgUsersQueryResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SearchResult ¶
type SearchResult struct { // result Result []*SearchResultItem `json:"result"` }
SearchResult search result
swagger:model SearchResult
func (*SearchResult) ContextValidate ¶
ContextValidate validate this search result based on the context it is used
func (*SearchResult) MarshalBinary ¶
func (m *SearchResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SearchResult) UnmarshalBinary ¶
func (m *SearchResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SearchResultItem ¶
type SearchResultItem struct { // action Action string `json:"action,omitempty"` // basic role BasicRole string `json:"basicRole,omitempty"` // org Id OrgID int64 `json:"orgId,omitempty"` // role name RoleName string `json:"roleName,omitempty"` // scope Scope string `json:"scope,omitempty"` // team Id TeamID int64 `json:"teamId,omitempty"` // user Id UserID int64 `json:"userId,omitempty"` // version Version int64 `json:"version,omitempty"` }
SearchResultItem search result item
swagger:model SearchResultItem
func (*SearchResultItem) ContextValidate ¶
ContextValidate validates this search result item based on context it is used
func (*SearchResultItem) MarshalBinary ¶
func (m *SearchResultItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SearchResultItem) UnmarshalBinary ¶
func (m *SearchResultItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SearchTeamQueryResult ¶
type SearchTeamQueryResult struct { // page Page int64 `json:"page,omitempty"` // per page PerPage int64 `json:"perPage,omitempty"` // teams Teams []*TeamDTO `json:"teams"` // total count TotalCount int64 `json:"totalCount,omitempty"` }
SearchTeamQueryResult search team query result
swagger:model SearchTeamQueryResult
func (*SearchTeamQueryResult) ContextValidate ¶
ContextValidate validate this search team query result based on the context it is used
func (*SearchTeamQueryResult) MarshalBinary ¶
func (m *SearchTeamQueryResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SearchTeamQueryResult) UnmarshalBinary ¶
func (m *SearchTeamQueryResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SearchUserQueryResult ¶
type SearchUserQueryResult struct { // page Page int64 `json:"page,omitempty"` // per page PerPage int64 `json:"perPage,omitempty"` // total count TotalCount int64 `json:"totalCount,omitempty"` // users Users []*UserSearchHitDTO `json:"users"` }
SearchUserQueryResult search user query result
swagger:model SearchUserQueryResult
func (*SearchUserQueryResult) ContextValidate ¶
ContextValidate validate this search user query result based on the context it is used
func (*SearchUserQueryResult) MarshalBinary ¶
func (m *SearchUserQueryResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SearchUserQueryResult) UnmarshalBinary ¶
func (m *SearchUserQueryResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Secret ¶
type Secret string
Secret Secret special type for storing secrets.
swagger:model Secret
func (Secret) ContextValidate ¶
ContextValidate validates this secret based on context it is used
type SecretURL ¶
type SecretURL struct {
URL
}
SecretURL SecretURL is a URL that must not be revealed on marshaling.
swagger:model SecretURL
func (*SecretURL) ContextValidate ¶
ContextValidate validate this secret URL based on the context it is used
func (SecretURL) MarshalJSON ¶
MarshalJSON marshals this object to a JSON structure
func (*SecretURL) UnmarshalJSON ¶
UnmarshalJSON unmarshals this object from a JSON structure
type ServiceAccountDTO ¶
type ServiceAccountDTO struct { // access control // Example: {"serviceaccounts:delete":true,"serviceaccounts:read":true,"serviceaccounts:write":true} AccessControl map[string]bool `json:"accessControl,omitempty"` // avatar Url // Example: /avatar/85ec38023d90823d3e5b43ef35646af9 AvatarURL string `json:"avatarUrl,omitempty"` // id ID int64 `json:"id,omitempty"` // is disabled // Example: false IsDisabled bool `json:"isDisabled,omitempty"` // is external // Example: false IsExternal bool `json:"isExternal,omitempty"` // login // Example: sa-grafana Login string `json:"login,omitempty"` // name // Example: grafana Name string `json:"name,omitempty"` // org Id // Example: 1 OrgID int64 `json:"orgId,omitempty"` // role // Example: Viewer Role string `json:"role,omitempty"` // tokens // Example: 0 Tokens int64 `json:"tokens,omitempty"` // uid // Example: fe1xejlha91xce UID string `json:"uid,omitempty"` }
ServiceAccountDTO swagger: model
swagger:model ServiceAccountDTO
func (*ServiceAccountDTO) ContextValidate ¶
ContextValidate validates this service account DTO based on context it is used
func (*ServiceAccountDTO) MarshalBinary ¶
func (m *ServiceAccountDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceAccountDTO) UnmarshalBinary ¶
func (m *ServiceAccountDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServiceAccountProfileDTO ¶
type ServiceAccountProfileDTO struct { // access control AccessControl map[string]bool `json:"accessControl,omitempty"` // avatar Url // Example: /avatar/8ea890a677d6a223c591a1beea6ea9d2 AvatarURL string `json:"avatarUrl,omitempty"` // created at // Example: 2022-03-21T14:35:33Z // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt,omitempty"` // id // Example: 2 ID int64 `json:"id,omitempty"` // is disabled // Example: false IsDisabled bool `json:"isDisabled,omitempty"` // is external // Example: false IsExternal bool `json:"isExternal,omitempty"` // login // Example: sa-grafana Login string `json:"login,omitempty"` // name // Example: test Name string `json:"name,omitempty"` // org Id // Example: 1 OrgID int64 `json:"orgId,omitempty"` // required by // Example: grafana-app RequiredBy string `json:"requiredBy,omitempty"` // role // Example: Editor Role string `json:"role,omitempty"` // teams // Example: [] Teams []string `json:"teams"` // tokens Tokens int64 `json:"tokens,omitempty"` // uid // Example: fe1xejlha91xce UID string `json:"uid,omitempty"` // updated at // Example: 2022-03-21T14:35:33Z // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"` }
ServiceAccountProfileDTO service account profile DTO
swagger:model ServiceAccountProfileDTO
func (*ServiceAccountProfileDTO) ContextValidate ¶
func (m *ServiceAccountProfileDTO) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this service account profile DTO based on context it is used
func (*ServiceAccountProfileDTO) MarshalBinary ¶
func (m *ServiceAccountProfileDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceAccountProfileDTO) UnmarshalBinary ¶
func (m *ServiceAccountProfileDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetHelpFlagOKBody ¶
type SetHelpFlagOKBody struct { // help flags1 HelpFlags1 int64 `json:"helpFlags1,omitempty"` // message Message string `json:"message,omitempty"` }
SetHelpFlagOKBody set help flag Ok body
swagger:model setHelpFlagOkBody
func (*SetHelpFlagOKBody) ContextValidate ¶
ContextValidate validates this set help flag Ok body based on context it is used
func (*SetHelpFlagOKBody) MarshalBinary ¶
func (m *SetHelpFlagOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetHelpFlagOKBody) UnmarshalBinary ¶
func (m *SetHelpFlagOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetPermissionCommand ¶
type SetPermissionCommand struct { // permission Permission string `json:"permission,omitempty"` }
SetPermissionCommand set permission command
swagger:model setPermissionCommand
func (*SetPermissionCommand) ContextValidate ¶
ContextValidate validates this set permission command based on context it is used
func (*SetPermissionCommand) MarshalBinary ¶
func (m *SetPermissionCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetPermissionCommand) UnmarshalBinary ¶
func (m *SetPermissionCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetPermissionsCommand ¶
type SetPermissionsCommand struct { // permissions Permissions []*SetResourcePermissionCommand `json:"permissions"` }
SetPermissionsCommand set permissions command
swagger:model setPermissionsCommand
func (*SetPermissionsCommand) ContextValidate ¶
ContextValidate validate this set permissions command based on the context it is used
func (*SetPermissionsCommand) MarshalBinary ¶
func (m *SetPermissionsCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetPermissionsCommand) UnmarshalBinary ¶
func (m *SetPermissionsCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetResourcePermissionCommand ¶
type SetResourcePermissionCommand struct { // built in role BuiltInRole string `json:"builtInRole,omitempty"` // permission Permission string `json:"permission,omitempty"` // team Id TeamID int64 `json:"teamId,omitempty"` // user Id UserID int64 `json:"userId,omitempty"` }
SetResourcePermissionCommand set resource permission command
swagger:model SetResourcePermissionCommand
func (*SetResourcePermissionCommand) ContextValidate ¶
func (m *SetResourcePermissionCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this set resource permission command based on context it is used
func (*SetResourcePermissionCommand) MarshalBinary ¶
func (m *SetResourcePermissionCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetResourcePermissionCommand) UnmarshalBinary ¶
func (m *SetResourcePermissionCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetRoleAssignmentsCommand ¶
type SetRoleAssignmentsCommand struct { // service accounts ServiceAccounts []int64 `json:"service_accounts"` // teams Teams []int64 `json:"teams"` // users Users []int64 `json:"users"` }
SetRoleAssignmentsCommand set role assignments command
swagger:model SetRoleAssignmentsCommand
func (*SetRoleAssignmentsCommand) ContextValidate ¶
func (m *SetRoleAssignmentsCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this set role assignments command based on context it is used
func (*SetRoleAssignmentsCommand) MarshalBinary ¶
func (m *SetRoleAssignmentsCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetRoleAssignmentsCommand) UnmarshalBinary ¶
func (m *SetRoleAssignmentsCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetTeamMembershipsCommand ¶
type SetTeamMembershipsCommand struct { // admins Admins []string `json:"admins"` // members Members []string `json:"members"` }
SetTeamMembershipsCommand set team memberships command
swagger:model SetTeamMembershipsCommand
func (*SetTeamMembershipsCommand) ContextValidate ¶
func (m *SetTeamMembershipsCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this set team memberships command based on context it is used
func (*SetTeamMembershipsCommand) MarshalBinary ¶
func (m *SetTeamMembershipsCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetTeamMembershipsCommand) UnmarshalBinary ¶
func (m *SetTeamMembershipsCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetUserRolesCommand ¶
type SetUserRolesCommand struct { // global Global bool `json:"global,omitempty"` // include hidden IncludeHidden bool `json:"includeHidden,omitempty"` // role uids RoleUids []string `json:"roleUids"` }
SetUserRolesCommand set user roles command
swagger:model SetUserRolesCommand
func (*SetUserRolesCommand) ContextValidate ¶
ContextValidate validates this set user roles command based on context it is used
func (*SetUserRolesCommand) MarshalBinary ¶
func (m *SetUserRolesCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetUserRolesCommand) UnmarshalBinary ¶
func (m *SetUserRolesCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SettingsBag ¶
SettingsBag settings bag
swagger:model SettingsBag
func (SettingsBag) ContextValidate ¶
ContextValidate validates this settings bag based on context it is used
type ShareType ¶
type ShareType string
ShareType share type
swagger:model ShareType
func (ShareType) ContextValidate ¶
ContextValidate validates this share type based on context it is used
type SigV4Config ¶
type SigV4Config struct { // access key AccessKey string `json:"AccessKey,omitempty"` // profile Profile string `json:"Profile,omitempty"` // region Region string `json:"Region,omitempty"` // role a r n RoleARN string `json:"RoleARN,omitempty"` // secret key SecretKey Secret `json:"SecretKey,omitempty"` }
SigV4Config SigV4Config is the configuration for signing remote write requests with AWS's SigV4 verification process. Empty values will be retrieved using the AWS default credentials chain.
swagger:model SigV4Config
func (*SigV4Config) ContextValidate ¶
ContextValidate validate this sig v4 config based on the context it is used
func (*SigV4Config) MarshalBinary ¶
func (m *SigV4Config) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SigV4Config) UnmarshalBinary ¶
func (m *SigV4Config) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SignatureAlgorithm ¶
type SignatureAlgorithm int64
SignatureAlgorithm signature algorithm
swagger:model SignatureAlgorithm
func (SignatureAlgorithm) ContextValidate ¶
ContextValidate validates this signature algorithm based on context it is used
type SilenceMetadata ¶
type SilenceMetadata struct { // folder uid FolderUID string `json:"folder_uid,omitempty"` // rule title RuleTitle string `json:"rule_title,omitempty"` // rule uid RuleUID string `json:"rule_uid,omitempty"` }
SilenceMetadata silence metadata
swagger:model SilenceMetadata
func (*SilenceMetadata) ContextValidate ¶
ContextValidate validates this silence metadata based on context it is used
func (*SilenceMetadata) MarshalBinary ¶
func (m *SilenceMetadata) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SilenceMetadata) UnmarshalBinary ¶
func (m *SilenceMetadata) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SilenceStatus ¶
type SilenceStatus struct { // state // Required: true // Enum: [[expired active pending]] State *string `json:"state"` }
SilenceStatus SilenceStatus silence status
swagger:model silenceStatus
func (*SilenceStatus) ContextValidate ¶
ContextValidate validates this silence status based on context it is used
func (*SilenceStatus) MarshalBinary ¶
func (m *SilenceStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SilenceStatus) UnmarshalBinary ¶
func (m *SilenceStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SlackAction ¶
type SlackAction struct { // confirm Confirm *SlackConfirmationField `json:"confirm,omitempty"` // name Name string `json:"name,omitempty"` // style Style string `json:"style,omitempty"` // text Text string `json:"text,omitempty"` // type Type string `json:"type,omitempty"` // url URL string `json:"url,omitempty"` // value Value string `json:"value,omitempty"` }
SlackAction SlackAction configures a single Slack action that is sent with each notification.
See https://api.slack.com/docs/message-attachments#action_fields and https://api.slack.com/docs/message-buttons for more information.
swagger:model SlackAction
func (*SlackAction) ContextValidate ¶
ContextValidate validate this slack action based on the context it is used
func (*SlackAction) MarshalBinary ¶
func (m *SlackAction) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SlackAction) UnmarshalBinary ¶
func (m *SlackAction) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SlackConfig ¶
type SlackConfig struct { // actions Actions []*SlackAction `json:"actions"` // api url APIURL *SecretURL `json:"api_url,omitempty"` // api url file APIURLFile string `json:"api_url_file,omitempty"` // callback id CallbackID string `json:"callback_id,omitempty"` // Slack channel override, (like #other-channel or @username). Channel string `json:"channel,omitempty"` // color Color string `json:"color,omitempty"` // fallback Fallback string `json:"fallback,omitempty"` // fields Fields []*SlackField `json:"fields"` Footer string `json:"footer,omitempty"` // http config HTTPConfig *HTTPClientConfig `json:"http_config,omitempty"` // icon emoji IconEmoji string `json:"icon_emoji,omitempty"` // icon url IconURL string `json:"icon_url,omitempty"` // image url ImageURL string `json:"image_url,omitempty"` // link names LinkNames bool `json:"link_names,omitempty"` // mrkdwn in MrkdwnIn []string `json:"mrkdwn_in"` // pretext Pretext string `json:"pretext,omitempty"` // send resolved SendResolved bool `json:"send_resolved,omitempty"` // short fields ShortFields bool `json:"short_fields,omitempty"` // text Text string `json:"text,omitempty"` // thumb url ThumbURL string `json:"thumb_url,omitempty"` // title Title string `json:"title,omitempty"` // title link TitleLink string `json:"title_link,omitempty"` // username Username string `json:"username,omitempty"` }
SlackConfig SlackConfig configures notifications via Slack.
swagger:model SlackConfig
func (*SlackConfig) ContextValidate ¶
ContextValidate validate this slack config based on the context it is used
func (*SlackConfig) MarshalBinary ¶
func (m *SlackConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SlackConfig) UnmarshalBinary ¶
func (m *SlackConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SlackConfirmationField ¶
type SlackConfirmationField struct { // dismiss text DismissText string `json:"dismiss_text,omitempty"` // ok text OKText string `json:"ok_text,omitempty"` // text Text string `json:"text,omitempty"` // title Title string `json:"title,omitempty"` }
SlackConfirmationField SlackConfirmationField protect users from destructive actions or particularly distinguished decisions by asking them to confirm their button click one more time. See https://api.slack.com/docs/interactive-message-field-guide#confirmation_fields for more information.
swagger:model SlackConfirmationField
func (*SlackConfirmationField) ContextValidate ¶
func (m *SlackConfirmationField) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this slack confirmation field based on context it is used
func (*SlackConfirmationField) MarshalBinary ¶
func (m *SlackConfirmationField) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SlackConfirmationField) UnmarshalBinary ¶
func (m *SlackConfirmationField) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SlackField ¶
type SlackField struct { // short Short bool `json:"short,omitempty"` // title Title string `json:"title,omitempty"` // value Value string `json:"value,omitempty"` }
SlackField SlackField configures a single Slack field that is sent with each notification.
Each field must contain a title, value, and optionally, a boolean value to indicate if the field is short enough to be displayed next to other fields designated as short. See https://api.slack.com/docs/message-attachments#fields for more information.
swagger:model SlackField
func (*SlackField) ContextValidate ¶
ContextValidate validates this slack field based on context it is used
func (*SlackField) MarshalBinary ¶
func (m *SlackField) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SlackField) UnmarshalBinary ¶
func (m *SlackField) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SnapshotDTO ¶
type SnapshotDTO struct { // created // Format: date-time Created strfmt.DateTime `json:"created,omitempty"` // finished // Format: date-time Finished strfmt.DateTime `json:"finished,omitempty"` // session Uid SessionUID string `json:"sessionUid,omitempty"` // status // Enum: [INITIALIZING CREATING PENDING_UPLOAD UPLOADING PENDING_PROCESSING PROCESSING FINISHED CANCELED ERROR UNKNOWN] Status string `json:"status,omitempty"` // uid UID string `json:"uid,omitempty"` }
SnapshotDTO Base snapshot without results
swagger:model SnapshotDTO
func (*SnapshotDTO) ContextValidate ¶
ContextValidate validates this snapshot DTO based on context it is used
func (*SnapshotDTO) MarshalBinary ¶
func (m *SnapshotDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SnapshotDTO) UnmarshalBinary ¶
func (m *SnapshotDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SnapshotListResponseDTO ¶
type SnapshotListResponseDTO struct { // snapshots Snapshots []*SnapshotDTO `json:"snapshots"` }
SnapshotListResponseDTO snapshot list response DTO
swagger:model SnapshotListResponseDTO
func (*SnapshotListResponseDTO) ContextValidate ¶
func (m *SnapshotListResponseDTO) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this snapshot list response DTO based on the context it is used
func (*SnapshotListResponseDTO) MarshalBinary ¶
func (m *SnapshotListResponseDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SnapshotListResponseDTO) UnmarshalBinary ¶
func (m *SnapshotListResponseDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SnapshotResourceStats ¶
type SnapshotResourceStats struct { // statuses Statuses map[string]int64 `json:"statuses,omitempty"` // total Total int64 `json:"total,omitempty"` // types Types map[string]int64 `json:"types,omitempty"` }
SnapshotResourceStats snapshot resource stats
swagger:model SnapshotResourceStats
func (*SnapshotResourceStats) ContextValidate ¶
ContextValidate validates this snapshot resource stats based on context it is used
func (*SnapshotResourceStats) MarshalBinary ¶
func (m *SnapshotResourceStats) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SnapshotResourceStats) UnmarshalBinary ¶
func (m *SnapshotResourceStats) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Source ¶
type Source string
Source Source type defines the status source.
swagger:model Source
func (Source) ContextValidate ¶
ContextValidate validates this source based on context it is used
type Span ¶
type Span struct { // Length of the span. Length uint32 `json:"Length,omitempty"` // Gap to previous span (always positive), or starting index for the 1st // span (which can be negative). Offset int32 `json:"Offset,omitempty"` }
Span A Span defines a continuous sequence of buckets.
swagger:model Span
func (*Span) ContextValidate ¶
ContextValidate validates this span based on context it is used
func (*Span) MarshalBinary ¶
MarshalBinary interface implementation
func (*Span) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type State ¶
type State string
State +enum
swagger:model State
func (State) ContextValidate ¶
ContextValidate validates this state based on context it is used
type Status ¶
type Status int64
Status status
swagger:model Status
func (Status) ContextValidate ¶
ContextValidate validates this status based on context it is used
type SuccessResponseBody ¶
type SuccessResponseBody struct { // message Message string `json:"message,omitempty"` }
SuccessResponseBody success response body
swagger:model SuccessResponseBody
func (*SuccessResponseBody) ContextValidate ¶
ContextValidate validates this success response body based on context it is used
func (*SuccessResponseBody) MarshalBinary ¶
func (m *SuccessResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SuccessResponseBody) UnmarshalBinary ¶
func (m *SuccessResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SupportedTransformationTypes ¶
type SupportedTransformationTypes string
SupportedTransformationTypes supported transformation types
swagger:model SupportedTransformationTypes
func (SupportedTransformationTypes) ContextValidate ¶
func (m SupportedTransformationTypes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this supported transformation types based on context it is used
type SyncResult ¶
type SyncResult struct { // elapsed Elapsed Duration `json:"Elapsed,omitempty"` // failed users FailedUsers []*FailedUser `json:"FailedUsers"` // missing user ids MissingUserIds []int64 `json:"MissingUserIds"` // started // Format: date-time Started strfmt.DateTime `json:"Started,omitempty"` // updated user ids UpdatedUserIds []int64 `json:"UpdatedUserIds"` }
SyncResult SyncResult holds the result of a sync with LDAP. This gives us information on which users were updated and how.
swagger:model SyncResult
func (*SyncResult) ContextValidate ¶
ContextValidate validate this sync result based on the context it is used
func (*SyncResult) MarshalBinary ¶
func (m *SyncResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SyncResult) UnmarshalBinary ¶
func (m *SyncResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TLSConfig ¶
type TLSConfig struct { // Text of the CA cert to use for the targets. Ca string `json:"ca,omitempty"` // The CA cert to use for the targets. CaFile string `json:"ca_file,omitempty"` // CARef is the name of the secret within the secret manager to use as the CA cert for the // targets. CaRef string `json:"ca_ref,omitempty"` // Text of the client cert file for the targets. Cert string `json:"cert,omitempty"` // The client cert file for the targets. CertFile string `json:"cert_file,omitempty"` // CertRef is the name of the secret within the secret manager to use as the client cert for // the targets. CertRef string `json:"cert_ref,omitempty"` // Disable target certificate validation. InsecureSkipVerify bool `json:"insecure_skip_verify,omitempty"` // key Key Secret `json:"key,omitempty"` // The client key file for the targets. KeyFile string `json:"key_file,omitempty"` // KeyRef is the name of the secret within the secret manager to use as the client key for // the targets. KeyRef string `json:"key_ref,omitempty"` // max version MaxVersion TLSVersion `json:"max_version,omitempty"` // min version MinVersion TLSVersion `json:"min_version,omitempty"` // Used to verify the hostname for the targets. ServerName string `json:"server_name,omitempty"` }
TLSConfig TLSConfig configures the options for TLS connections.
swagger:model TLSConfig
func (*TLSConfig) ContextValidate ¶
ContextValidate validate this TLS config based on the context it is used
func (*TLSConfig) MarshalBinary ¶
MarshalBinary interface implementation
func (*TLSConfig) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TLSVersion ¶
type TLSVersion uint16
TLSVersion TLS version
swagger:model TLSVersion
func (TLSVersion) ContextValidate ¶
ContextValidate validates this TLS version based on context it is used
type TagsDTO ¶
type TagsDTO struct { // count Count int64 `json:"count,omitempty"` // tag Tag string `json:"tag,omitempty"` }
TagsDTO TagsDTO is the frontend DTO for Tag.
swagger:model TagsDTO
func (*TagsDTO) ContextValidate ¶
ContextValidate validates this tags DTO based on context it is used
func (*TagsDTO) MarshalBinary ¶
MarshalBinary interface implementation
func (*TagsDTO) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TeamDTO ¶
type TeamDTO struct { // access control AccessControl map[string]bool `json:"accessControl,omitempty"` // avatar Url AvatarURL string `json:"avatarUrl,omitempty"` // email Email string `json:"email,omitempty"` // id ID int64 `json:"id,omitempty"` // member count MemberCount int64 `json:"memberCount,omitempty"` // name Name string `json:"name,omitempty"` // org Id OrgID int64 `json:"orgId,omitempty"` // permission Permission PermissionType `json:"permission,omitempty"` // uid UID string `json:"uid,omitempty"` }
TeamDTO team DTO
swagger:model TeamDTO
func (*TeamDTO) ContextValidate ¶
ContextValidate validate this team DTO based on the context it is used
func (*TeamDTO) MarshalBinary ¶
MarshalBinary interface implementation
func (*TeamDTO) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TeamGroupDTO ¶
type TeamGroupDTO struct { // group Id GroupID string `json:"groupId,omitempty"` // org Id OrgID int64 `json:"orgId,omitempty"` // team Id TeamID int64 `json:"teamId,omitempty"` }
TeamGroupDTO team group DTO
swagger:model TeamGroupDTO
func (*TeamGroupDTO) ContextValidate ¶
ContextValidate validates this team group DTO based on context it is used
func (*TeamGroupDTO) MarshalBinary ¶
func (m *TeamGroupDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TeamGroupDTO) UnmarshalBinary ¶
func (m *TeamGroupDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TeamGroupMapping ¶
type TeamGroupMapping struct { // group Id GroupID string `json:"groupId,omitempty"` }
TeamGroupMapping team group mapping
swagger:model TeamGroupMapping
func (*TeamGroupMapping) ContextValidate ¶
ContextValidate validates this team group mapping based on context it is used
func (*TeamGroupMapping) MarshalBinary ¶
func (m *TeamGroupMapping) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TeamGroupMapping) UnmarshalBinary ¶
func (m *TeamGroupMapping) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TeamLBACRule ¶
type TeamLBACRule struct { // rules Rules []string `json:"rules"` // team Id TeamID string `json:"teamId,omitempty"` // team Uid TeamUID string `json:"teamUid,omitempty"` }
TeamLBACRule team l b a c rule
swagger:model TeamLBACRule
func (*TeamLBACRule) ContextValidate ¶
ContextValidate validates this team l b a c rule based on context it is used
func (*TeamLBACRule) MarshalBinary ¶
func (m *TeamLBACRule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TeamLBACRule) UnmarshalBinary ¶
func (m *TeamLBACRule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TeamLBACRules ¶
type TeamLBACRules struct { // rules Rules []*TeamLBACRule `json:"rules"` }
TeamLBACRules team l b a c rules
swagger:model TeamLBACRules
func (*TeamLBACRules) ContextValidate ¶
ContextValidate validate this team l b a c rules based on the context it is used
func (*TeamLBACRules) MarshalBinary ¶
func (m *TeamLBACRules) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TeamLBACRules) UnmarshalBinary ¶
func (m *TeamLBACRules) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TeamMemberDTO ¶
type TeamMemberDTO struct { // auth module AuthModule string `json:"auth_module,omitempty"` // avatar Url AvatarURL string `json:"avatarUrl,omitempty"` // email Email string `json:"email,omitempty"` // labels Labels []string `json:"labels"` // login Login string `json:"login,omitempty"` // name Name string `json:"name,omitempty"` // org Id OrgID int64 `json:"orgId,omitempty"` // permission Permission PermissionType `json:"permission,omitempty"` // team Id TeamID int64 `json:"teamId,omitempty"` // team UID TeamUID string `json:"teamUID,omitempty"` // user Id UserID int64 `json:"userId,omitempty"` }
TeamMemberDTO team member DTO
swagger:model TeamMemberDTO
func (*TeamMemberDTO) ContextValidate ¶
ContextValidate validate this team member DTO based on the context it is used
func (*TeamMemberDTO) MarshalBinary ¶
func (m *TeamMemberDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TeamMemberDTO) UnmarshalBinary ¶
func (m *TeamMemberDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TelegramConfig ¶
type TelegramConfig struct { // api url APIURL *URL `json:"api_url,omitempty"` // chat Chat int64 `json:"chat,omitempty"` // disable notifications DisableNotifications bool `json:"disable_notifications,omitempty"` // http config HTTPConfig *HTTPClientConfig `json:"http_config,omitempty"` // message Message string `json:"message,omitempty"` // parse mode ParseMode string `json:"parse_mode,omitempty"` // send resolved SendResolved bool `json:"send_resolved,omitempty"` // token Token Secret `json:"token,omitempty"` // token file TokenFile string `json:"token_file,omitempty"` }
TelegramConfig TelegramConfig configures notifications via Telegram.
swagger:model TelegramConfig
func (*TelegramConfig) ContextValidate ¶
ContextValidate validate this telegram config based on the context it is used
func (*TelegramConfig) MarshalBinary ¶
func (m *TelegramConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TelegramConfig) UnmarshalBinary ¶
func (m *TelegramConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TempUserDTO ¶
type TempUserDTO struct { // code Code string `json:"code,omitempty"` // created on // Format: date-time CreatedOn strfmt.DateTime `json:"createdOn,omitempty"` // email Email string `json:"email,omitempty"` // email sent EmailSent bool `json:"emailSent,omitempty"` // email sent on // Format: date-time EmailSentOn strfmt.DateTime `json:"emailSentOn,omitempty"` // id ID int64 `json:"id,omitempty"` // invited by email InvitedByEmail string `json:"invitedByEmail,omitempty"` // invited by login InvitedByLogin string `json:"invitedByLogin,omitempty"` // invited by name InvitedByName string `json:"invitedByName,omitempty"` // name Name string `json:"name,omitempty"` // org Id OrgID int64 `json:"orgId,omitempty"` // role // Enum: [None Viewer Editor Admin] Role string `json:"role,omitempty"` // status Status TempUserStatus `json:"status,omitempty"` // url URL string `json:"url,omitempty"` }
TempUserDTO temp user DTO
swagger:model TempUserDTO
func (*TempUserDTO) ContextValidate ¶
ContextValidate validate this temp user DTO based on the context it is used
func (*TempUserDTO) MarshalBinary ¶
func (m *TempUserDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TempUserDTO) UnmarshalBinary ¶
func (m *TempUserDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TempUserStatus ¶
type TempUserStatus string
TempUserStatus temp user status
swagger:model TempUserStatus
func (TempUserStatus) ContextValidate ¶
ContextValidate validates this temp user status based on context it is used
type TestReceiverConfigResult ¶
type TestReceiverConfigResult struct { // error Error string `json:"error,omitempty"` // name Name string `json:"name,omitempty"` // status Status string `json:"status,omitempty"` // uid UID string `json:"uid,omitempty"` }
TestReceiverConfigResult test receiver config result
swagger:model TestReceiverConfigResult
func (*TestReceiverConfigResult) ContextValidate ¶
func (m *TestReceiverConfigResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this test receiver config result based on context it is used
func (*TestReceiverConfigResult) MarshalBinary ¶
func (m *TestReceiverConfigResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TestReceiverConfigResult) UnmarshalBinary ¶
func (m *TestReceiverConfigResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TestReceiverResult ¶
type TestReceiverResult struct { // grafana managed receiver configs GrafanaManagedReceiverConfigs []*TestReceiverConfigResult `json:"grafana_managed_receiver_configs"` // name Name string `json:"name,omitempty"` }
TestReceiverResult test receiver result
swagger:model TestReceiverResult
func (*TestReceiverResult) ContextValidate ¶
ContextValidate validate this test receiver result based on the context it is used
func (*TestReceiverResult) MarshalBinary ¶
func (m *TestReceiverResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TestReceiverResult) UnmarshalBinary ¶
func (m *TestReceiverResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TestReceiversConfigAlertParams ¶
type TestReceiversConfigAlertParams struct { // annotations Annotations LabelSet `json:"annotations,omitempty"` // labels Labels LabelSet `json:"labels,omitempty"` }
TestReceiversConfigAlertParams test receivers config alert params
swagger:model TestReceiversConfigAlertParams
func (*TestReceiversConfigAlertParams) ContextValidate ¶
func (m *TestReceiversConfigAlertParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this test receivers config alert params based on the context it is used
func (*TestReceiversConfigAlertParams) MarshalBinary ¶
func (m *TestReceiversConfigAlertParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TestReceiversConfigAlertParams) UnmarshalBinary ¶
func (m *TestReceiversConfigAlertParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TestTemplatesErrorResult ¶
type TestTemplatesErrorResult struct { // Kind of template error that occurred. // Enum: [invalid_template execution_error] Kind string `json:"kind,omitempty"` // Error message. Message string `json:"message,omitempty"` // Name of the associated template for this error. Will be empty if the Kind is "invalid_template". Name string `json:"name,omitempty"` }
TestTemplatesErrorResult test templates error result
swagger:model TestTemplatesErrorResult
func (*TestTemplatesErrorResult) ContextValidate ¶
func (m *TestTemplatesErrorResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this test templates error result based on context it is used
func (*TestTemplatesErrorResult) MarshalBinary ¶
func (m *TestTemplatesErrorResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TestTemplatesErrorResult) UnmarshalBinary ¶
func (m *TestTemplatesErrorResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TestTemplatesResult ¶
type TestTemplatesResult struct { // Name of the associated template definition for this result. Name string `json:"name,omitempty"` // Interpolated value of the template. Text string `json:"text,omitempty"` }
TestTemplatesResult test templates result
swagger:model TestTemplatesResult
func (*TestTemplatesResult) ContextValidate ¶
ContextValidate validates this test templates result based on context it is used
func (*TestTemplatesResult) MarshalBinary ¶
func (m *TestTemplatesResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TestTemplatesResult) UnmarshalBinary ¶
func (m *TestTemplatesResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Threshold ¶
type Threshold struct { // color Color string `json:"color,omitempty"` // state State string `json:"state,omitempty"` // value Value ConfFloat64 `json:"value,omitempty"` }
Threshold Threshold a single step on the threshold list
swagger:model Threshold
func (*Threshold) ContextValidate ¶
ContextValidate validate this threshold based on the context it is used
func (*Threshold) MarshalBinary ¶
MarshalBinary interface implementation
func (*Threshold) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ThresholdsConfig ¶
type ThresholdsConfig struct { // mode Mode ThresholdsMode `json:"mode,omitempty"` // Must be sorted by 'value', first value is always -Infinity Steps []*Threshold `json:"steps"` }
ThresholdsConfig ThresholdsConfig setup thresholds
swagger:model ThresholdsConfig
func (*ThresholdsConfig) ContextValidate ¶
ContextValidate validate this thresholds config based on the context it is used
func (*ThresholdsConfig) MarshalBinary ¶
func (m *ThresholdsConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ThresholdsConfig) UnmarshalBinary ¶
func (m *ThresholdsConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ThresholdsMode ¶
type ThresholdsMode string
ThresholdsMode ThresholdsMode absolute or percentage
swagger:model ThresholdsMode
func (ThresholdsMode) ContextValidate ¶
ContextValidate validates this thresholds mode based on context it is used
type TimeInterval ¶
type TimeInterval struct { // name Name string `json:"name,omitempty"` // time intervals TimeIntervals []*TimeIntervalItem `json:"time_intervals"` }
TimeInterval TimeInterval represents a named set of time intervals for which a route should be muted.
swagger:model TimeInterval
func (*TimeInterval) ContextValidate ¶
ContextValidate validate this time interval based on the context it is used
func (*TimeInterval) MarshalBinary ¶
func (m *TimeInterval) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TimeInterval) UnmarshalBinary ¶
func (m *TimeInterval) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TimeIntervalItem ¶
type TimeIntervalItem struct { // days of month DaysOfMonth []string `json:"days_of_month"` // location Location string `json:"location,omitempty"` // months Months []string `json:"months"` // times Times []*TimeIntervalTimeRange `json:"times"` // weekdays Weekdays []string `json:"weekdays"` // years Years []string `json:"years"` }
TimeIntervalItem time interval item
swagger:model TimeIntervalItem
func (*TimeIntervalItem) ContextValidate ¶
ContextValidate validate this time interval item based on the context it is used
func (*TimeIntervalItem) MarshalBinary ¶
func (m *TimeIntervalItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TimeIntervalItem) UnmarshalBinary ¶
func (m *TimeIntervalItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TimeIntervalTimeRange ¶
type TimeIntervalTimeRange struct { // end time EndTime string `json:"end_time,omitempty"` // start time StartTime string `json:"start_time,omitempty"` }
TimeIntervalTimeRange time interval time range
swagger:model TimeIntervalTimeRange
func (*TimeIntervalTimeRange) ContextValidate ¶
ContextValidate validates this time interval time range based on context it is used
func (*TimeIntervalTimeRange) MarshalBinary ¶
func (m *TimeIntervalTimeRange) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TimeIntervalTimeRange) UnmarshalBinary ¶
func (m *TimeIntervalTimeRange) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TimeRange ¶
type TimeRange struct { // from // Format: date-time From strfmt.DateTime `json:"from,omitempty"` // to // Format: date-time To strfmt.DateTime `json:"to,omitempty"` }
TimeRange Redefining this to avoid an import cycle
swagger:model TimeRange
func (*TimeRange) ContextValidate ¶
ContextValidate validates this time range based on context it is used
func (*TimeRange) MarshalBinary ¶
MarshalBinary interface implementation
func (*TimeRange) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Token ¶
type Token struct { // account Account string `json:"account,omitempty"` // anonymous ratio AnonymousRatio int64 `json:"anonymousRatio,omitempty"` // company Company string `json:"company,omitempty"` // details url DetailsURL string `json:"details_url,omitempty"` // exp Exp int64 `json:"exp,omitempty"` // iat Iat int64 `json:"iat,omitempty"` // included users IncludedUsers int64 `json:"included_users,omitempty"` // iss Iss string `json:"iss,omitempty"` // jti Jti string `json:"jti,omitempty"` // lexp Lexp int64 `json:"lexp,omitempty"` // lic exp warn days LicExpWarnDays int64 `json:"lic_exp_warn_days,omitempty"` // lid Lid string `json:"lid,omitempty"` // limit by LimitBy string `json:"limit_by,omitempty"` // max concurrent user sessions MaxConcurrentUserSessions int64 `json:"max_concurrent_user_sessions,omitempty"` // nbf Nbf int64 `json:"nbf,omitempty"` // prod Prod []string `json:"prod"` // slug Slug string `json:"slug,omitempty"` // status Status TokenStatus `json:"status,omitempty"` // sub Sub string `json:"sub,omitempty"` // tok exp warn days TokExpWarnDays int64 `json:"tok_exp_warn_days,omitempty"` // trial Trial bool `json:"trial,omitempty"` // trial exp TrialExp int64 `json:"trial_exp,omitempty"` // update days UpdateDays int64 `json:"update_days,omitempty"` // usage billing UsageBilling bool `json:"usage_billing,omitempty"` }
Token token
swagger:model Token
func (*Token) ContextValidate ¶
ContextValidate validate this token based on the context it is used
func (*Token) MarshalBinary ¶
MarshalBinary interface implementation
func (*Token) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TokenDTO ¶
type TokenDTO struct { // created // Example: 2022-03-23T10:31:02Z // Format: date-time Created strfmt.DateTime `json:"created,omitempty"` // expiration // Example: 2022-03-23T10:31:02Z // Format: date-time Expiration strfmt.DateTime `json:"expiration,omitempty"` // has expired // Example: false HasExpired bool `json:"hasExpired,omitempty"` // id // Example: 1 ID int64 `json:"id,omitempty"` // is revoked // Example: false IsRevoked bool `json:"isRevoked,omitempty"` // last used at // Example: 2022-03-23T10:31:02Z // Format: date-time LastUsedAt strfmt.DateTime `json:"lastUsedAt,omitempty"` // name // Example: grafana Name string `json:"name,omitempty"` // seconds until expiration // Example: 0 SecondsUntilExpiration float64 `json:"secondsUntilExpiration,omitempty"` }
TokenDTO token DTO
swagger:model TokenDTO
func (*TokenDTO) ContextValidate ¶
ContextValidate validates this token DTO based on context it is used
func (*TokenDTO) MarshalBinary ¶
MarshalBinary interface implementation
func (*TokenDTO) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TokenStatus ¶
type TokenStatus int64
TokenStatus token status
swagger:model TokenStatus
func (TokenStatus) ContextValidate ¶
ContextValidate validates this token status based on context it is used
type Transformation ¶
type Transformation struct { // expression Expression string `json:"expression,omitempty"` // field Field string `json:"field,omitempty"` // map value MapValue string `json:"mapValue,omitempty"` // type // Enum: [regex logfmt] Type string `json:"type,omitempty"` }
Transformation transformation
swagger:model Transformation
func (*Transformation) ContextValidate ¶
ContextValidate validates this transformation based on context it is used
func (*Transformation) MarshalBinary ¶
func (m *Transformation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Transformation) UnmarshalBinary ¶
func (m *Transformation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Transformations ¶
type Transformations []*Transformation
Transformations transformations
swagger:model Transformations
func (Transformations) ContextValidate ¶
ContextValidate validate this transformations based on the context it is used
type Type ¶
type Type string
Type +enum
swagger:model Type
func (Type) ContextValidate ¶
ContextValidate validates this type based on context it is used
type URL ¶
type URL struct { // force query ForceQuery bool `json:"ForceQuery,omitempty"` // fragment Fragment string `json:"Fragment,omitempty"` // host Host string `json:"Host,omitempty"` // omit host OmitHost bool `json:"OmitHost,omitempty"` // opaque Opaque string `json:"Opaque,omitempty"` // path Path string `json:"Path,omitempty"` // raw fragment RawFragment string `json:"RawFragment,omitempty"` // raw path RawPath string `json:"RawPath,omitempty"` // raw query RawQuery string `json:"RawQuery,omitempty"` // scheme Scheme string `json:"Scheme,omitempty"` // user User Userinfo `json:"User,omitempty"` }
URL A URL represents a parsed URL (technically, a URI reference).
The general form represented is:
[scheme:][//[userinfo@]host][/]path[?query][#fragment]
URLs that do not start with a slash after the scheme are interpreted as:
scheme:opaque[?query][#fragment]
The Host field contains the host and port subcomponents of the URL. When the port is present, it is separated from the host with a colon. When the host is an IPv6 address, it must be enclosed in square brackets: "[fe80::1]:80". The net.JoinHostPort function combines a host and port into a string suitable for the Host field, adding square brackets to the host when necessary.
Note that the Path field is stored in decoded form: /%47%6f%2f becomes /Go/. A consequence is that it is impossible to tell which slashes in the Path were slashes in the raw URL and which were %2f. This distinction is rarely important, but when it is, the code should use the [URL.EscapedPath] method, which preserves the original encoding of Path.
The RawPath field is an optional field which is only set when the default encoding of Path is different from the escaped path. See the EscapedPath method for more details.
URL's String method uses the EscapedPath method to obtain the path.
swagger:model URL
func (*URL) ContextValidate ¶
ContextValidate validates this URL based on context it is used
func (*URL) MarshalBinary ¶
MarshalBinary interface implementation
func (*URL) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Unstructured ¶
type Unstructured interface{}
Unstructured Unstructured allows objects that do not have Golang structs registered to be manipulated generically.
swagger:model Unstructured
type UpdateAnnotationsCmd ¶
type UpdateAnnotationsCmd struct { // data Data JSON `json:"data,omitempty"` // id ID int64 `json:"id,omitempty"` // tags Tags []string `json:"tags"` // text Text string `json:"text,omitempty"` // time Time int64 `json:"time,omitempty"` // time end TimeEnd int64 `json:"timeEnd,omitempty"` }
UpdateAnnotationsCmd update annotations cmd
swagger:model UpdateAnnotationsCmd
func (*UpdateAnnotationsCmd) ContextValidate ¶
ContextValidate validates this update annotations cmd based on context it is used
func (*UpdateAnnotationsCmd) MarshalBinary ¶
func (m *UpdateAnnotationsCmd) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateAnnotationsCmd) UnmarshalBinary ¶
func (m *UpdateAnnotationsCmd) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCorrelationCommand ¶
type UpdateCorrelationCommand struct { // config Config *CorrelationConfigUpdateDTO `json:"config,omitempty"` // Optional description of the correlation // Example: Logs to Traces Description string `json:"description,omitempty"` // Optional label identifying the correlation // Example: My label Label string `json:"label,omitempty"` // type Type CorrelationType `json:"type,omitempty"` }
UpdateCorrelationCommand UpdateCorrelationCommand is the command for updating a correlation
swagger:model UpdateCorrelationCommand
func (*UpdateCorrelationCommand) ContextValidate ¶
func (m *UpdateCorrelationCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update correlation command based on the context it is used
func (*UpdateCorrelationCommand) MarshalBinary ¶
func (m *UpdateCorrelationCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCorrelationCommand) UnmarshalBinary ¶
func (m *UpdateCorrelationCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateCorrelationResponseBody ¶
type UpdateCorrelationResponseBody struct { // message // Example: Correlation updated Message string `json:"message,omitempty"` // result Result *Correlation `json:"result,omitempty"` }
UpdateCorrelationResponseBody update correlation response body
swagger:model UpdateCorrelationResponseBody
func (*UpdateCorrelationResponseBody) ContextValidate ¶
func (m *UpdateCorrelationResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update correlation response body based on the context it is used
func (*UpdateCorrelationResponseBody) MarshalBinary ¶
func (m *UpdateCorrelationResponseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateCorrelationResponseBody) UnmarshalBinary ¶
func (m *UpdateCorrelationResponseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateDashboardACLCommand ¶
type UpdateDashboardACLCommand struct { // items Items []*DashboardACLUpdateItem `json:"items"` }
UpdateDashboardACLCommand update dashboard ACL command
swagger:model UpdateDashboardACLCommand
func (*UpdateDashboardACLCommand) ContextValidate ¶
func (m *UpdateDashboardACLCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update dashboard ACL command based on the context it is used
func (*UpdateDashboardACLCommand) MarshalBinary ¶
func (m *UpdateDashboardACLCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateDashboardACLCommand) UnmarshalBinary ¶
func (m *UpdateDashboardACLCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateDataSourceByIDOKBody ¶
type UpdateDataSourceByIDOKBody struct { // datasource // Required: true Datasource *DataSource `json:"datasource"` // ID Identifier of the new data source. // Example: 65 // Required: true ID *int64 `json:"id"` // Message Message of the deleted dashboard. // Example: Data source added // Required: true Message *string `json:"message"` // Name of the new data source. // Example: My Data source // Required: true Name *string `json:"name"` }
UpdateDataSourceByIDOKBody update data source by Id Ok body
swagger:model updateDataSourceByIdOkBody
func (*UpdateDataSourceByIDOKBody) ContextValidate ¶
func (m *UpdateDataSourceByIDOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update data source by Id Ok body based on the context it is used
func (*UpdateDataSourceByIDOKBody) MarshalBinary ¶
func (m *UpdateDataSourceByIDOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateDataSourceByIDOKBody) UnmarshalBinary ¶
func (m *UpdateDataSourceByIDOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateDataSourceByUIDOKBody ¶
type UpdateDataSourceByUIDOKBody struct { // datasource // Required: true Datasource *DataSource `json:"datasource"` // ID Identifier of the new data source. // Example: 65 // Required: true ID *int64 `json:"id"` // Message Message of the deleted dashboard. // Example: Data source added // Required: true Message *string `json:"message"` // Name of the new data source. // Example: My Data source // Required: true Name *string `json:"name"` }
UpdateDataSourceByUIDOKBody update data source by Uid Ok body
swagger:model updateDataSourceByUidOkBody
func (*UpdateDataSourceByUIDOKBody) ContextValidate ¶
func (m *UpdateDataSourceByUIDOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update data source by Uid Ok body based on the context it is used
func (*UpdateDataSourceByUIDOKBody) MarshalBinary ¶
func (m *UpdateDataSourceByUIDOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateDataSourceByUIDOKBody) UnmarshalBinary ¶
func (m *UpdateDataSourceByUIDOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateDataSourceCommand ¶
type UpdateDataSourceCommand struct { // access Access DsAccess `json:"access,omitempty"` // basic auth BasicAuth bool `json:"basicAuth,omitempty"` // basic auth user BasicAuthUser string `json:"basicAuthUser,omitempty"` // database Database string `json:"database,omitempty"` // is default IsDefault bool `json:"isDefault,omitempty"` // json data JSONData JSON `json:"jsonData,omitempty"` // name Name string `json:"name,omitempty"` // secure Json data SecureJSONData map[string]string `json:"secureJsonData,omitempty"` // type Type string `json:"type,omitempty"` // uid UID string `json:"uid,omitempty"` // url URL string `json:"url,omitempty"` // user User string `json:"user,omitempty"` // version Version int64 `json:"version,omitempty"` // with credentials WithCredentials bool `json:"withCredentials,omitempty"` }
UpdateDataSourceCommand Also acts as api DTO
swagger:model UpdateDataSourceCommand
func (*UpdateDataSourceCommand) ContextValidate ¶
func (m *UpdateDataSourceCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update data source command based on the context it is used
func (*UpdateDataSourceCommand) MarshalBinary ¶
func (m *UpdateDataSourceCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateDataSourceCommand) UnmarshalBinary ¶
func (m *UpdateDataSourceCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateFolderCommand ¶
type UpdateFolderCommand struct { // NewDescription it's an optional parameter used for overriding the existing folder description Description string `json:"description,omitempty"` // Overwrite only used by the legacy folder implementation Overwrite bool `json:"overwrite,omitempty"` // NewTitle it's an optional parameter used for overriding the existing folder title Title string `json:"title,omitempty"` // Version only used by the legacy folder implementation Version int64 `json:"version,omitempty"` }
UpdateFolderCommand UpdateFolderCommand captures the information required by the folder service to update a folder. Use Move to update a folder's parent folder.
swagger:model UpdateFolderCommand
func (*UpdateFolderCommand) ContextValidate ¶
ContextValidate validates this update folder command based on context it is used
func (*UpdateFolderCommand) MarshalBinary ¶
func (m *UpdateFolderCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateFolderCommand) UnmarshalBinary ¶
func (m *UpdateFolderCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgAddressForm ¶
type UpdateOrgAddressForm struct { // address1 Address1 string `json:"address1,omitempty"` // address2 Address2 string `json:"address2,omitempty"` // city City string `json:"city,omitempty"` // country Country string `json:"country,omitempty"` // state State string `json:"state,omitempty"` // zipcode Zipcode string `json:"zipcode,omitempty"` }
UpdateOrgAddressForm update org address form
swagger:model UpdateOrgAddressForm
func (*UpdateOrgAddressForm) ContextValidate ¶
ContextValidate validates this update org address form based on context it is used
func (*UpdateOrgAddressForm) MarshalBinary ¶
func (m *UpdateOrgAddressForm) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgAddressForm) UnmarshalBinary ¶
func (m *UpdateOrgAddressForm) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgForm ¶
type UpdateOrgForm struct { // name Name string `json:"name,omitempty"` }
UpdateOrgForm update org form
swagger:model UpdateOrgForm
func (*UpdateOrgForm) ContextValidate ¶
ContextValidate validates this update org form based on context it is used
func (*UpdateOrgForm) MarshalBinary ¶
func (m *UpdateOrgForm) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgForm) UnmarshalBinary ¶
func (m *UpdateOrgForm) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgUserCommand ¶
type UpdateOrgUserCommand struct { // role // Enum: [None Viewer Editor Admin] Role string `json:"role,omitempty"` }
UpdateOrgUserCommand update org user command
swagger:model UpdateOrgUserCommand
func (*UpdateOrgUserCommand) ContextValidate ¶
ContextValidate validates this update org user command based on context it is used
func (*UpdateOrgUserCommand) MarshalBinary ¶
func (m *UpdateOrgUserCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgUserCommand) UnmarshalBinary ¶
func (m *UpdateOrgUserCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdatePlaylistCommand ¶
type UpdatePlaylistCommand struct { // interval Interval string `json:"interval,omitempty"` // items Items []*PlaylistItem `json:"items"` // name Name string `json:"name,omitempty"` // uid UID string `json:"uid,omitempty"` }
UpdatePlaylistCommand update playlist command
swagger:model UpdatePlaylistCommand
func (*UpdatePlaylistCommand) ContextValidate ¶
ContextValidate validate this update playlist command based on the context it is used
func (*UpdatePlaylistCommand) MarshalBinary ¶
func (m *UpdatePlaylistCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdatePlaylistCommand) UnmarshalBinary ¶
func (m *UpdatePlaylistCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdatePrefsCmd ¶
type UpdatePrefsCmd struct { // cookies Cookies []CookieType `json:"cookies"` // The numerical :id of a favorited dashboard HomeDashboardID int64 `json:"homeDashboardId,omitempty"` // home dashboard UID HomeDashboardUID string `json:"homeDashboardUID,omitempty"` // language Language string `json:"language,omitempty"` Navbar *NavbarPreference `json:"navbar,omitempty"` // query history QueryHistory *QueryHistoryPreference `json:"queryHistory,omitempty"` // theme // Enum: [light dark system] Theme string `json:"theme,omitempty"` // timezone // Enum: [utc browser] Timezone string `json:"timezone,omitempty"` // week start WeekStart string `json:"weekStart,omitempty"` }
UpdatePrefsCmd update prefs cmd
swagger:model UpdatePrefsCmd
func (*UpdatePrefsCmd) ContextValidate ¶
ContextValidate validate this update prefs cmd based on the context it is used
func (*UpdatePrefsCmd) MarshalBinary ¶
func (m *UpdatePrefsCmd) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdatePrefsCmd) UnmarshalBinary ¶
func (m *UpdatePrefsCmd) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateProviderSettingsParamsBody ¶
type UpdateProviderSettingsParamsBody struct { // id ID string `json:"id,omitempty"` // provider Provider string `json:"provider,omitempty"` // settings Settings interface{} `json:"settings,omitempty"` }
UpdateProviderSettingsParamsBody update provider settings params body
swagger:model updateProviderSettingsParamsBody
func (*UpdateProviderSettingsParamsBody) ContextValidate ¶
func (m *UpdateProviderSettingsParamsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update provider settings params body based on context it is used
func (*UpdateProviderSettingsParamsBody) MarshalBinary ¶
func (m *UpdateProviderSettingsParamsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateProviderSettingsParamsBody) UnmarshalBinary ¶
func (m *UpdateProviderSettingsParamsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateQuotaCmd ¶
type UpdateQuotaCmd struct { // limit Limit int64 `json:"limit,omitempty"` // target Target string `json:"target,omitempty"` }
UpdateQuotaCmd update quota cmd
swagger:model UpdateQuotaCmd
func (*UpdateQuotaCmd) ContextValidate ¶
ContextValidate validates this update quota cmd based on context it is used
func (*UpdateQuotaCmd) MarshalBinary ¶
func (m *UpdateQuotaCmd) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateQuotaCmd) UnmarshalBinary ¶
func (m *UpdateQuotaCmd) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateRoleCommand ¶
type UpdateRoleCommand struct { // description Description string `json:"description,omitempty"` // display name DisplayName string `json:"displayName,omitempty"` // global Global bool `json:"global,omitempty"` // group Group string `json:"group,omitempty"` // hidden Hidden bool `json:"hidden,omitempty"` // name Name string `json:"name,omitempty"` // permissions Permissions []*Permission `json:"permissions"` // version Version int64 `json:"version,omitempty"` }
UpdateRoleCommand update role command
swagger:model UpdateRoleCommand
func (*UpdateRoleCommand) ContextValidate ¶
ContextValidate validate this update role command based on the context it is used
func (*UpdateRoleCommand) MarshalBinary ¶
func (m *UpdateRoleCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateRoleCommand) UnmarshalBinary ¶
func (m *UpdateRoleCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateServiceAccountForm ¶
type UpdateServiceAccountForm struct { // is disabled IsDisabled bool `json:"isDisabled,omitempty"` // name Name string `json:"name,omitempty"` // role // Enum: [None Viewer Editor Admin] Role string `json:"role,omitempty"` // service account Id ServiceAccountID int64 `json:"serviceAccountId,omitempty"` }
UpdateServiceAccountForm update service account form
swagger:model UpdateServiceAccountForm
func (*UpdateServiceAccountForm) ContextValidate ¶
func (m *UpdateServiceAccountForm) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update service account form based on context it is used
func (*UpdateServiceAccountForm) MarshalBinary ¶
func (m *UpdateServiceAccountForm) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateServiceAccountForm) UnmarshalBinary ¶
func (m *UpdateServiceAccountForm) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateServiceAccountOKBody ¶
type UpdateServiceAccountOKBody struct { // id ID int64 `json:"id,omitempty"` // message Message string `json:"message,omitempty"` // name Name string `json:"name,omitempty"` // serviceaccount Serviceaccount *ServiceAccountProfileDTO `json:"serviceaccount,omitempty"` }
UpdateServiceAccountOKBody update service account Ok body
swagger:model updateServiceAccountOkBody
func (*UpdateServiceAccountOKBody) ContextValidate ¶
func (m *UpdateServiceAccountOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update service account Ok body based on the context it is used
func (*UpdateServiceAccountOKBody) MarshalBinary ¶
func (m *UpdateServiceAccountOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateServiceAccountOKBody) UnmarshalBinary ¶
func (m *UpdateServiceAccountOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateTeamCommand ¶
type UpdateTeamCommand struct { // email Email string `json:"Email,omitempty"` // ID ID int64 `json:"ID,omitempty"` // name Name string `json:"Name,omitempty"` }
UpdateTeamCommand update team command
swagger:model UpdateTeamCommand
func (*UpdateTeamCommand) ContextValidate ¶
ContextValidate validates this update team command based on context it is used
func (*UpdateTeamCommand) MarshalBinary ¶
func (m *UpdateTeamCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateTeamCommand) UnmarshalBinary ¶
func (m *UpdateTeamCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateTeamLBACCommand ¶
type UpdateTeamLBACCommand struct { // rules Rules []*TeamLBACRule `json:"rules"` }
UpdateTeamLBACCommand update team l b a c command
swagger:model UpdateTeamLBACCommand
func (*UpdateTeamLBACCommand) ContextValidate ¶
ContextValidate validate this update team l b a c command based on the context it is used
func (*UpdateTeamLBACCommand) MarshalBinary ¶
func (m *UpdateTeamLBACCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateTeamLBACCommand) UnmarshalBinary ¶
func (m *UpdateTeamLBACCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateTeamLBACRulesAPIOKBody ¶
type UpdateTeamLBACRulesAPIOKBody struct { // id ID int64 `json:"id,omitempty"` // message Message string `json:"message,omitempty"` // name Name string `json:"name,omitempty"` // rules Rules []*TeamLBACRule `json:"rules"` // uid UID string `json:"uid,omitempty"` }
UpdateTeamLBACRulesAPIOKBody update team l b a c rules Api Ok body
swagger:model updateTeamLBACRulesApiOkBody
func (*UpdateTeamLBACRulesAPIOKBody) ContextValidate ¶
func (m *UpdateTeamLBACRulesAPIOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update team l b a c rules Api Ok body based on the context it is used
func (*UpdateTeamLBACRulesAPIOKBody) MarshalBinary ¶
func (m *UpdateTeamLBACRulesAPIOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateTeamLBACRulesAPIOKBody) UnmarshalBinary ¶
func (m *UpdateTeamLBACRulesAPIOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateTeamMemberCommand ¶
type UpdateTeamMemberCommand struct { // permission Permission PermissionType `json:"permission,omitempty"` }
UpdateTeamMemberCommand update team member command
swagger:model UpdateTeamMemberCommand
func (*UpdateTeamMemberCommand) ContextValidate ¶
func (m *UpdateTeamMemberCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update team member command based on the context it is used
func (*UpdateTeamMemberCommand) MarshalBinary ¶
func (m *UpdateTeamMemberCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateTeamMemberCommand) UnmarshalBinary ¶
func (m *UpdateTeamMemberCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateUserCommand ¶
type UpdateUserCommand struct { // email Email string `json:"email,omitempty"` // login Login string `json:"login,omitempty"` // name Name string `json:"name,omitempty"` // theme Theme string `json:"theme,omitempty"` }
UpdateUserCommand update user command
swagger:model UpdateUserCommand
func (*UpdateUserCommand) ContextValidate ¶
ContextValidate validates this update user command based on context it is used
func (*UpdateUserCommand) MarshalBinary ¶
func (m *UpdateUserCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateUserCommand) UnmarshalBinary ¶
func (m *UpdateUserCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserLookupDTO ¶
type UserLookupDTO struct { // avatar Url AvatarURL string `json:"avatarUrl,omitempty"` // login Login string `json:"login,omitempty"` // uid UID string `json:"uid,omitempty"` // user Id UserID int64 `json:"userId,omitempty"` }
UserLookupDTO user lookup DTO
swagger:model UserLookupDTO
func (*UserLookupDTO) ContextValidate ¶
ContextValidate validates this user lookup DTO based on context it is used
func (*UserLookupDTO) MarshalBinary ¶
func (m *UserLookupDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserLookupDTO) UnmarshalBinary ¶
func (m *UserLookupDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserOrgDTO ¶
type UserOrgDTO struct { // name Name string `json:"name,omitempty"` // org Id OrgID int64 `json:"orgId,omitempty"` // role // Enum: [None Viewer Editor Admin] Role string `json:"role,omitempty"` }
UserOrgDTO user org DTO
swagger:model UserOrgDTO
func (*UserOrgDTO) ContextValidate ¶
ContextValidate validates this user org DTO based on context it is used
func (*UserOrgDTO) MarshalBinary ¶
func (m *UserOrgDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserOrgDTO) UnmarshalBinary ¶
func (m *UserOrgDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserProfileDTO ¶
type UserProfileDTO struct { // access control AccessControl map[string]bool `json:"accessControl,omitempty"` // auth labels AuthLabels []string `json:"authLabels"` // avatar Url AvatarURL string `json:"avatarUrl,omitempty"` // created at // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt,omitempty"` // email Email string `json:"email,omitempty"` // id ID int64 `json:"id,omitempty"` // is disabled IsDisabled bool `json:"isDisabled,omitempty"` // is external IsExternal bool `json:"isExternal,omitempty"` // is externally synced IsExternallySynced bool `json:"isExternallySynced,omitempty"` // is grafana admin IsGrafanaAdmin bool `json:"isGrafanaAdmin,omitempty"` // is grafana admin externally synced IsGrafanaAdminExternallySynced bool `json:"isGrafanaAdminExternallySynced,omitempty"` // login Login string `json:"login,omitempty"` // name Name string `json:"name,omitempty"` // org Id OrgID int64 `json:"orgId,omitempty"` // theme Theme string `json:"theme,omitempty"` // uid UID string `json:"uid,omitempty"` // updated at // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"` }
UserProfileDTO user profile DTO
swagger:model UserProfileDTO
func (*UserProfileDTO) ContextValidate ¶
ContextValidate validates this user profile DTO based on context it is used
func (*UserProfileDTO) MarshalBinary ¶
func (m *UserProfileDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserProfileDTO) UnmarshalBinary ¶
func (m *UserProfileDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserSearchHitDTO ¶
type UserSearchHitDTO struct { // auth labels AuthLabels []string `json:"authLabels"` // avatar Url AvatarURL string `json:"avatarUrl,omitempty"` // email Email string `json:"email,omitempty"` // id ID int64 `json:"id,omitempty"` // is admin IsAdmin bool `json:"isAdmin,omitempty"` // is disabled IsDisabled bool `json:"isDisabled,omitempty"` // last seen at // Format: date-time LastSeenAt strfmt.DateTime `json:"lastSeenAt,omitempty"` // last seen at age LastSeenAtAge string `json:"lastSeenAtAge,omitempty"` // login Login string `json:"login,omitempty"` // name Name string `json:"name,omitempty"` // uid UID string `json:"uid,omitempty"` }
UserSearchHitDTO user search hit DTO
swagger:model UserSearchHitDTO
func (*UserSearchHitDTO) ContextValidate ¶
ContextValidate validates this user search hit DTO based on context it is used
func (*UserSearchHitDTO) MarshalBinary ¶
func (m *UserSearchHitDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserSearchHitDTO) UnmarshalBinary ¶
func (m *UserSearchHitDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserToken ¶
type UserToken struct { // auth token AuthToken string `json:"AuthToken,omitempty"` // auth token seen AuthTokenSeen bool `json:"AuthTokenSeen,omitempty"` // client Ip ClientIP string `json:"ClientIp,omitempty"` // created at CreatedAt int64 `json:"CreatedAt,omitempty"` // external session Id ExternalSessionID int64 `json:"ExternalSessionId,omitempty"` // Id ID int64 `json:"Id,omitempty"` // prev auth token PrevAuthToken string `json:"PrevAuthToken,omitempty"` // revoked at RevokedAt int64 `json:"RevokedAt,omitempty"` // rotated at RotatedAt int64 `json:"RotatedAt,omitempty"` // seen at SeenAt int64 `json:"SeenAt,omitempty"` // unhashed token UnhashedToken string `json:"UnhashedToken,omitempty"` // updated at UpdatedAt int64 `json:"UpdatedAt,omitempty"` // user agent UserAgent string `json:"UserAgent,omitempty"` // user Id UserID int64 `json:"UserId,omitempty"` }
UserToken UserToken represents a user token
swagger:model UserToken
func (*UserToken) ContextValidate ¶
ContextValidate validates this user token based on context it is used
func (*UserToken) MarshalBinary ¶
MarshalBinary interface implementation
func (*UserToken) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Userinfo ¶
type Userinfo interface{}
Userinfo The Userinfo type is an immutable encapsulation of username and password details for a URL. An existing Userinfo value is guaranteed to have a username set (potentially empty, as allowed by RFC 2396), and optionally a password.
swagger:model Userinfo
type ValidationError ¶
type ValidationError struct { // message // Example: error message Message string `json:"message,omitempty"` }
ValidationError validation error
swagger:model ValidationError
func (*ValidationError) ContextValidate ¶
ContextValidate validates this validation error based on context it is used
func (*ValidationError) MarshalBinary ¶
func (m *ValidationError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ValidationError) UnmarshalBinary ¶
func (m *ValidationError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ValueMapping ¶
type ValueMapping interface{}
ValueMapping ValueMapping allows mapping input values to text and color
swagger:model ValueMapping
type ValueMappings ¶
type ValueMappings []ValueMapping
ValueMappings value mappings
swagger:model ValueMappings
func (ValueMappings) ContextValidate ¶
ContextValidate validates this value mappings based on context it is used
type Vector ¶
type Vector []*Sample
Vector Vector is basically only an alias for []Sample, but the contract is that in a Vector, all Samples have the same timestamp.
swagger:model Vector
func (Vector) ContextValidate ¶
ContextValidate validate this vector based on the context it is used
type VersionInfo ¶
type VersionInfo struct { // branch // Required: true Branch *string `json:"branch"` // build date // Required: true BuildDate *string `json:"buildDate"` // build user // Required: true BuildUser *string `json:"buildUser"` // go version // Required: true GoVersion *string `json:"goVersion"` // revision // Required: true Revision *string `json:"revision"` // version // Required: true Version *string `json:"version"` }
VersionInfo VersionInfo version info
swagger:model versionInfo
func (*VersionInfo) ContextValidate ¶
ContextValidate validates this version info based on context it is used
func (*VersionInfo) MarshalBinary ¶
func (m *VersionInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VersionInfo) UnmarshalBinary ¶
func (m *VersionInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VictorOpsConfig ¶
type VictorOpsConfig struct { // api key APIKey Secret `json:"api_key,omitempty"` // api key file APIKeyFile string `json:"api_key_file,omitempty"` // api url APIURL *URL `json:"api_url,omitempty"` // custom fields CustomFields map[string]string `json:"custom_fields,omitempty"` // entity display name EntityDisplayName string `json:"entity_display_name,omitempty"` // http config HTTPConfig *HTTPClientConfig `json:"http_config,omitempty"` // message type MessageType string `json:"message_type,omitempty"` // monitoring tool MonitoringTool string `json:"monitoring_tool,omitempty"` // routing key RoutingKey string `json:"routing_key,omitempty"` // send resolved SendResolved bool `json:"send_resolved,omitempty"` // state message StateMessage string `json:"state_message,omitempty"` }
VictorOpsConfig VictorOpsConfig configures notifications via VictorOps.
swagger:model VictorOpsConfig
func (*VictorOpsConfig) ContextValidate ¶
ContextValidate validate this victor ops config based on the context it is used
func (*VictorOpsConfig) MarshalBinary ¶
func (m *VictorOpsConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VictorOpsConfig) UnmarshalBinary ¶
func (m *VictorOpsConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VisType ¶
type VisType string
VisType VisType is used to indicate how the data should be visualized in explore.
swagger:model VisType
func (VisType) ContextValidate ¶
ContextValidate validates this vis type based on context it is used
type WebexConfig ¶
type WebexConfig struct { // api url APIURL *URL `json:"api_url,omitempty"` // http config HTTPConfig *HTTPClientConfig `json:"http_config,omitempty"` // message Message string `json:"message,omitempty"` // room id RoomID string `json:"room_id,omitempty"` // send resolved SendResolved bool `json:"send_resolved,omitempty"` }
WebexConfig WebexConfig configures notifications via Webex.
swagger:model WebexConfig
func (*WebexConfig) ContextValidate ¶
ContextValidate validate this webex config based on the context it is used
func (*WebexConfig) MarshalBinary ¶
func (m *WebexConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WebexConfig) UnmarshalBinary ¶
func (m *WebexConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WebhookConfig ¶
type WebhookConfig struct { // http config HTTPConfig *HTTPClientConfig `json:"http_config,omitempty"` // MaxAlerts is the maximum number of alerts to be sent per webhook message. // Alerts exceeding this threshold will be truncated. Setting this to 0 // allows an unlimited number of alerts. MaxAlerts uint64 `json:"max_alerts,omitempty"` // send resolved SendResolved bool `json:"send_resolved,omitempty"` // url URL *SecretURL `json:"url,omitempty"` // url file URLFile string `json:"url_file,omitempty"` }
WebhookConfig WebhookConfig configures notifications via a generic webhook.
swagger:model WebhookConfig
func (*WebhookConfig) ContextValidate ¶
ContextValidate validate this webhook config based on the context it is used
func (*WebhookConfig) MarshalBinary ¶
func (m *WebhookConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WebhookConfig) UnmarshalBinary ¶
func (m *WebhookConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WechatConfig ¶
type WechatConfig struct { // agent id AgentID string `json:"agent_id,omitempty"` // api secret APISecret Secret `json:"api_secret,omitempty"` // api url APIURL *URL `json:"api_url,omitempty"` // corp id CorpID string `json:"corp_id,omitempty"` // http config HTTPConfig *HTTPClientConfig `json:"http_config,omitempty"` // message Message string `json:"message,omitempty"` // message type MessageType string `json:"message_type,omitempty"` // send resolved SendResolved bool `json:"send_resolved,omitempty"` // to party ToParty string `json:"to_party,omitempty"` // to tag ToTag string `json:"to_tag,omitempty"` // to user ToUser string `json:"to_user,omitempty"` }
WechatConfig WechatConfig configures notifications via Wechat.
swagger:model WechatConfig
func (*WechatConfig) ContextValidate ¶
ContextValidate validate this wechat config based on the context it is used
func (*WechatConfig) MarshalBinary ¶
func (m *WechatConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WechatConfig) UnmarshalBinary ¶
func (m *WechatConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files ¶
- ack.go
- active_sync_status_dto.go
- active_user_stats.go
- add_data_source_command.go
- add_data_source_ok_body.go
- add_invite_form.go
- add_org_user_command.go
- add_service_account_token_command.go
- add_team_member_command.go
- add_team_role_command.go
- add_user_role_command.go
- address.go
- admin_create_user_form.go
- admin_create_user_response.go
- admin_stats.go
- admin_update_user_password_form.go
- admin_update_user_permissions_form.go
- alert.go
- alert_discovery.go
- alert_group.go
- alert_instances_response.go
- alert_manager.go
- alert_managers_result.go
- alert_query.go
- alert_query_export.go
- alert_rule_editor_settings.go
- alert_rule_export.go
- alert_rule_group.go
- alert_rule_group_export.go
- alert_rule_metadata.go
- alert_rule_notification_settings.go
- alert_rule_notification_settings_export.go
- alert_rule_record_export.go
- alert_status.go
- alerting_file_export.go
- alerting_rule.go
- alertmanager_config.go
- annotation.go
- annotation_actions.go
- annotation_event.go
- annotation_panel_filter.go
- annotation_permission.go
- annotation_query.go
- annotation_target.go
- api_key_dto.go
- assignments.go
- attribute_type_and_value.go
- authorization.go
- basic_auth.go
- cache_config_response.go
- cache_config_setter.go
- calculate_dashboard_diff_params_body.go
- calculate_diff_target.go
- certificate.go
- change_user_password_command.go
- clear_help_flags_ok_body.go
- cloud_migration_session_list_response_dto.go
- cloud_migration_session_request_dto.go
- cloud_migration_session_response_dto.go
- cluster_status.go
- conf_float64.go
- contact_point_export.go
- contact_points.go
- cookie_preferences.go
- cookie_type.go
- correlation.go
- correlation_config.go
- correlation_config_update_dto.go
- correlation_type.go
- counter_reset_hint.go
- create_access_token_response_dto.go
- create_correlation_command.go
- create_correlation_response_body.go
- create_dashboard_snapshot_command.go
- create_dashboard_snapshot_ok_body.go
- create_folder_command.go
- create_library_element_command.go
- create_or_update_report.go
- create_org_command.go
- create_org_ok_body.go
- create_playlist_command.go
- create_query_in_query_history_command.go
- create_report_ok_body.go
- create_role_form.go
- create_service_account_form.go
- create_snapshot_response_dto.go
- create_team_command.go
- create_team_ok_body.go
- dashboard_acl_info_dto.go
- dashboard_acl_update_item.go
- dashboard_full_with_meta.go
- dashboard_meta.go
- dashboard_snapshot_dto.go
- dashboard_tag_cloud_item.go
- dashboard_version_meta.go
- data_link.go
- data_response.go
- data_source.go
- data_source_list.go
- data_source_list_item_dto.go
- data_source_ref.go
- data_topic.go
- delete_correlation_response_body.go
- delete_dashboard_by_uid_ok_body.go
- delete_data_source_by_name_ok_body.go
- delete_folder_ok_body.go
- delete_token_command.go
- descendant_counts.go
- description.go
- device_dto.go
- device_search_hit_dto.go
- discord_config.go
- ds_access.go
- duration.go
- email_config.go
- email_dto.go
- embedded_contact_point.go
- enum_field_config.go
- error_response_body.go
- error_type.go
- eval_alert_condition_command.go
- explore_panels_state.go
- ext_key_usage.go
- extension.go
- failed_user.go
- field.go
- field_config.go
- field_type_config.go
- find_tags_result.go
- float_histogram.go
- folder.go
- folder_search_hit.go
- forbidden_error.go
- frame.go
- frame_labels.go
- frame_meta.go
- frame_type.go
- frame_type_version.go
- frames.go
- get_access_token_response_dto.go
- get_annotation_tags_response.go
- get_data_source_id_by_name_ok_body.go
- get_group_mappings.go
- get_groups_response.go
- get_home_dashboard_response.go
- get_home_dashboard_response_all_of0.go
- get_home_dashboard_response_all_of1.go
- get_provider_settings_ok_body.go
- get_sharing_options_ok_body.go
- get_snapshot_response_dto.go
- gettable_alert.go
- gettable_api_alerting_config.go
- gettable_api_receiver.go
- gettable_extended_rule_node.go
- gettable_grafana_receiver.go
- gettable_grafana_rule.go
- gettable_grafana_silence.go
- gettable_rule_group_config.go
- gettable_silence.go
- global_config.go
- group.go
- group_attributes.go
- group_mapping.go
- group_mapping_request_body.go
- hard_delete_dashboard_by_uid_ok_body.go
- header.go
- headers.go
- health_response.go
- hit.go
- hit_list.go
- hit_type.go
- host_port.go
- http_client_config.go
- import_dashboard_input.go
- import_dashboard_request.go
- import_dashboard_response.go
- inhibit_rule.go
- inspect_type.go
- internal_data_link.go
- ip_mask.go
- ip_net.go
- json.go
- json_web_key.go
- key_usage.go
- label.go
- label_name.go
- label_names.go
- label_set.go
- label_value.go
- labels.go
- library_element_array_response.go
- library_element_connection_dto.go
- library_element_connections_response.go
- library_element_dto.go
- library_element_dto_meta.go
- library_element_dto_meta_user.go
- library_element_response.go
- library_element_search_response.go
- library_element_search_result.go
- link_transformation_config.go
- list_all_providers_settings_ok_body_items.go
- list_sort_options_ok_body.go
- m_s_teams_config.go
- mass_delete_annotations_cmd.go
- match_regexps.go
- match_type.go
- matcher.go
- matchers.go
- message_response.go
- metadata.go
- metric_request.go
- migrate_data_response_item_dto.go
- migrate_data_response_list_dto.go
- move_folder_command.go
- mute_time_interval.go
- mute_time_interval_export.go
- mute_timings.go
- name.go
- navbar_preference.go
- new_api_key_result.go
- not_found.go
- notice.go
- notice_severity.go
- notification_policy_export.go
- notification_template.go
- notification_template_content.go
- notification_templates.go
- o_auth2.go
- object_identifier.go
- object_matcher.go
- object_matchers.go
- ops_genie_config.go
- ops_genie_config_responder.go
- org_details_dto.go
- org_dto.go
- org_user_dto.go
- pagerduty_config.go
- pagerduty_image.go
- pagerduty_link.go
- password.go
- patch_annotations_cmd.go
- patch_library_element_command.go
- patch_prefs_cmd.go
- patch_query_comment_in_query_history_command.go
- peer_status.go
- permission.go
- permission_denied.go
- permission_type.go
- playlist.go
- playlist_dashboard.go
- playlist_item.go
- playlist_item_dto.go
- playlists.go
- post_annotation_ok_body.go
- post_annotations_cmd.go
- post_dashboard_ok_body.go
- post_graphite_annotation_ok_body.go
- post_graphite_annotations_cmd.go
- postable_alert.go
- postable_api_alerting_config.go
- postable_api_receiver.go
- postable_extended_rule_node.go
- postable_grafana_receiver.go
- postable_grafana_rule.go
- preferences.go
- prometheus_remote_write_target_json.go
- provenance.go
- provisioned_alert_rule.go
- provisioned_alert_rules.go
- proxy_header.go
- public_dashboard.go
- public_dashboard_dto.go
- public_dashboard_list_response.go
- public_dashboard_list_response_with_pagination.go
- public_error.go
- public_key_algorithm.go
- pushover_config.go
- query_data_response.go
- query_history_delete_query_response.go
- query_history_dto.go
- query_history_preference.go
- query_history_response.go
- query_history_search_response.go
- query_history_search_result.go
- query_stat.go
- quota_dto.go
- raw_message.go
- receiver.go
- receiver_export.go
- record.go
- recording_rule_json.go
- relative_time_range.go
- relative_time_range_export.go
- report.go
- report_branding_options.go
- report_dashboard.go
- report_dashboard_id.go
- report_email.go
- report_options.go
- report_schedule.go
- report_settings.go
- report_time_range.go
- resource_permission_dto.go
- response_details.go
- responses.go
- restore_dashboard_version_by_id_ok_body.go
- restore_dashboard_version_by_uid_ok_body.go
- restore_dashboard_version_command.go
- restore_deleted_dashboard_by_uid_ok_body.go
- restore_deleted_dashboard_command.go
- retrieve_j_w_k_s_ok_body.go
- revoke_auth_token_cmd.go
- role_assignments_dto.go
- role_dto.go
- roles_search_query.go
- route.go
- route_export.go
- rule_discovery.go
- rule_group.go
- sample.go
- save_dashboard_command.go
- search_device_query_result.go
- search_org_service_accounts_result.go
- search_org_users_query_result.go
- search_result.go
- search_result_item.go
- search_team_query_result.go
- search_user_query_result.go
- secret.go
- secret_url.go
- service_account_dto.go
- service_account_profile_dto.go
- set_help_flag_ok_body.go
- set_permission_command.go
- set_permissions_command.go
- set_resource_permission_command.go
- set_role_assignments_command.go
- set_team_memberships_command.go
- set_user_roles_command.go
- settings_bag.go
- share_type.go
- sig_v4_config.go
- signature_algorithm.go
- silence_metadata.go
- silence_status.go
- slack_action.go
- slack_config.go
- slack_confirmation_field.go
- slack_field.go
- snapshot_dto.go
- snapshot_list_response_dto.go
- snapshot_resource_stats.go
- sns_config.go
- source.go
- span.go
- state.go
- status.go
- success_response_body.go
- supported_transformation_types.go
- sync_result.go
- tags_dto.go
- team_dto.go
- team_group_dto.go
- team_group_mapping.go
- team_l_b_a_c_rule.go
- team_l_b_a_c_rules.go
- team_member_dto.go
- telegram_config.go
- temp_user_dto.go
- temp_user_status.go
- test_receiver_config_result.go
- test_receiver_result.go
- test_receivers_config_alert_params.go
- test_templates_error_result.go
- test_templates_result.go
- threshold.go
- thresholds_config.go
- thresholds_mode.go
- time_interval.go
- time_interval_item.go
- time_interval_time_range.go
- time_range.go
- tls_config.go
- tls_version.go
- token.go
- token_dto.go
- token_status.go
- transformation.go
- transformations.go
- type.go
- unstructured.go
- update_annotations_cmd.go
- update_correlation_command.go
- update_correlation_response_body.go
- update_dashboard_acl_command.go
- update_data_source_by_id_ok_body.go
- update_data_source_by_uid_ok_body.go
- update_data_source_command.go
- update_folder_command.go
- update_org_address_form.go
- update_org_form.go
- update_org_user_command.go
- update_playlist_command.go
- update_prefs_cmd.go
- update_provider_settings_params_body.go
- update_quota_cmd.go
- update_role_command.go
- update_service_account_form.go
- update_service_account_ok_body.go
- update_team_command.go
- update_team_l_b_a_c_command.go
- update_team_l_b_a_c_rules_api_ok_body.go
- update_team_member_command.go
- update_user_command.go
- url.go
- user_lookup_dto.go
- user_org_dto.go
- user_profile_dto.go
- user_search_hit_dto.go
- user_token.go
- userinfo.go
- validation_error.go
- value_mapping.go
- value_mappings.go
- vector.go
- version_info.go
- victor_ops_config.go
- vis_type.go
- webex_config.go
- webhook_config.go
- wechat_config.go