Documentation
¶
Index ¶
- Constants
- type APIKeyDTO
- type Ack
- type ActiveSyncStatusDTO
- type ActiveUserStats
- type AddCommand
- type AddDataSourceCommand
- type AddDataSourceOKBody
- type AddInviteForm
- type AddOrgUserCommand
- type AddPermissionOKBody
- 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 AlertListItemDTO
- type AlertManager
- type AlertManagersResult
- type AlertNotification
- type AlertNotificationLookup
- func (m *AlertNotificationLookup) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AlertNotificationLookup) MarshalBinary() ([]byte, error)
- func (m *AlertNotificationLookup) UnmarshalBinary(b []byte) error
- func (m *AlertNotificationLookup) Validate(formats strfmt.Registry) error
- type AlertQuery
- type AlertQueryExport
- type AlertRuleExport
- type AlertRuleGroup
- type AlertRuleGroupExport
- type AlertStateInfoDTO
- type AlertStateType
- type AlertStatus
- type AlertTestCommand
- type AlertTestResult
- type AlertTestResultLog
- type AlertingFileExport
- type AlertingRule
- type AlertmanagerConfig
- type AnnotationActions
- type AnnotationPermission
- type Authorization
- type BasicAuth
- type BrandingOptionsDTO
- 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 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 ClusterStatus
- type ConfFloat64
- type ConfigDTO
- type ContactPoints
- type CookieType
- type Correlation
- type CorrelationConfig
- type CorrelationConfigType
- 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 CounterResetHint
- type CreateAlertNotificationCommand
- func (m *CreateAlertNotificationCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateAlertNotificationCommand) MarshalBinary() ([]byte, error)
- func (m *CreateAlertNotificationCommand) UnmarshalBinary(b []byte) error
- func (m *CreateAlertNotificationCommand) 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 CreateOrUpdateConfigCmd
- func (m *CreateOrUpdateConfigCmd) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateOrUpdateConfigCmd) MarshalBinary() ([]byte, error)
- func (m *CreateOrUpdateConfigCmd) UnmarshalBinary(b []byte) error
- func (m *CreateOrUpdateConfigCmd) Validate(formats strfmt.Registry) error
- 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 CreateTeamCommand
- type CreateTeamOKBody
- type CustomPermissionsRecordDTO
- func (m *CustomPermissionsRecordDTO) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CustomPermissionsRecordDTO) MarshalBinary() ([]byte, error)
- func (m *CustomPermissionsRecordDTO) UnmarshalBinary(b []byte) error
- func (m *CustomPermissionsRecordDTO) Validate(formats strfmt.Registry) error
- 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 DashboardDTO
- type DashboardFullWithMeta
- type DashboardMeta
- type DashboardReportDTO
- type DashboardSnapshotDTO
- type DashboardTagCloudItem
- type DashboardVersionMeta
- type DataLink
- type DataResponse
- type DataSource
- type DataSourceList
- type DataSourceListItemDTO
- type DataSourcePermissionRuleDTO
- func (m *DataSourcePermissionRuleDTO) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DataSourcePermissionRuleDTO) MarshalBinary() ([]byte, error)
- func (m *DataSourcePermissionRuleDTO) UnmarshalBinary(b []byte) error
- func (m *DataSourcePermissionRuleDTO) Validate(formats strfmt.Registry) error
- type DataSourcePermissionsDTO
- func (m *DataSourcePermissionsDTO) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DataSourcePermissionsDTO) MarshalBinary() ([]byte, error)
- func (m *DataSourcePermissionsDTO) UnmarshalBinary(b []byte) error
- func (m *DataSourcePermissionsDTO) Validate(formats strfmt.Registry) error
- type DataTopic
- type DeleteAlertNotificationChannelByUIDOKBody
- func (m *DeleteAlertNotificationChannelByUIDOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DeleteAlertNotificationChannelByUIDOKBody) MarshalBinary() ([]byte, error)
- func (m *DeleteAlertNotificationChannelByUIDOKBody) UnmarshalBinary(b []byte) error
- func (m *DeleteAlertNotificationChannelByUIDOKBody) Validate(formats strfmt.Registry) error
- 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 DisablePermissionsOKBody
- func (m *DisablePermissionsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DisablePermissionsOKBody) MarshalBinary() ([]byte, error)
- func (m *DisablePermissionsOKBody) UnmarshalBinary(b []byte) error
- func (m *DisablePermissionsOKBody) Validate(formats strfmt.Registry) error
- type DiscordConfig
- type DsAccess
- type DsPermissionType
- type Duration
- type EmailConfig
- type EmbeddedContactPoint
- type EnablePermissionsOKBody
- func (m *EnablePermissionsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *EnablePermissionsOKBody) MarshalBinary() ([]byte, error)
- func (m *EnablePermissionsOKBody) UnmarshalBinary(b []byte) error
- func (m *EnablePermissionsOKBody) Validate(formats strfmt.Registry) error
- 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 EvalMatch
- type ExplorePanelsState
- type FailedUser
- type Field
- type FieldConfig
- type FieldTypeConfig
- type FindTagsResult
- type FloatHistogram
- type Folder
- type FolderSearchHit
- type Frame
- type FrameLabels
- type FrameMeta
- type FrameType
- type FrameTypeVersion
- type Frames
- 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 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 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 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 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 HTTPClientConfig
- type Header
- type Hit
- type HitList
- type HitType
- type HostPort
- 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 Integration
- type InternalDataLink
- type Item
- type ItemDTO
- type ItemType
- type JSON
- type Label
- type LabelName
- type LabelNames
- type LabelSet
- type LabelValue
- type Labels
- type LegacyAlert
- 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 ListSortOptionsOKBody
- 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 Metadata
- type MetricRequest
- type MigrateQueriesToQueryHistoryCommand
- func (m *MigrateQueriesToQueryHistoryCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *MigrateQueriesToQueryHistoryCommand) MarshalBinary() ([]byte, error)
- func (m *MigrateQueriesToQueryHistoryCommand) UnmarshalBinary(b []byte) error
- func (m *MigrateQueriesToQueryHistoryCommand) Validate(formats strfmt.Registry) error
- type MoveFolderCommand
- type MuteTimeInterval
- type MuteTimings
- type NewAPIKeyResult
- type Notice
- type NoticeSeverity
- 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 NotificationTestCommand
- func (m *NotificationTestCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *NotificationTestCommand) MarshalBinary() ([]byte, error)
- func (m *NotificationTestCommand) UnmarshalBinary(b []byte) error
- func (m *NotificationTestCommand) Validate(formats strfmt.Registry) error
- type OAuth2
- 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 OverrideLabels
- type PagerdutyConfig
- type PagerdutyImage
- type PagerdutyLink
- 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 PauseAlertCommand
- type PauseAlertOKBody
- type PauseAllAlertsCommand
- type PauseAllAlertsOKBody
- type PeerStatus
- type Permission
- type PermissionType
- type Playlist
- type PlaylistDashboard
- type PlaylistDashboardsSlice
- type PlaylistItem
- 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 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 QueryHistoryMigrationResponse
- func (m *QueryHistoryMigrationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *QueryHistoryMigrationResponse) MarshalBinary() ([]byte, error)
- func (m *QueryHistoryMigrationResponse) UnmarshalBinary(b []byte) error
- func (m *QueryHistoryMigrationResponse) 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 QueryToMigrate
- type QuotaDTO
- type RawMessage
- type Receiver
- type RecordingRuleJSON
- type Regexp
- type RelativeTimeRange
- type ReportEmailDTO
- type ReportOptionsDTO
- 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 RevokeAuthTokenCmd
- type RoleAssignmentsDTO
- type RoleDTO
- type Route
- type RuleDiscovery
- type RuleGroup
- type RuleType
- type SNSConfig
- type Sample
- type SaveDashboardCommand
- type ScheduleDTO
- 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 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 SetUserRolesCommand
- type SettingsBag
- type SettingsDTO
- type SigV4Config
- 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 Span
- type Spec
- type State
- type Status
- type SuccessResponseBody
- type SupportedTransformationTypes
- type SyncResult
- type TLSConfig
- type TLSVersion
- type TagsDTO
- type TeamDTO
- type TeamGroupDTO
- type TeamGroupMapping
- 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 TimeRange
- type TimeRangeDTO
- type Token
- type TokenDTO
- type TokenStatus
- type Transformation
- type Transformations
- type TrimDashboardCommand
- type TrimDashboardFullWithMeta
- func (m *TrimDashboardFullWithMeta) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *TrimDashboardFullWithMeta) MarshalBinary() ([]byte, error)
- func (m *TrimDashboardFullWithMeta) UnmarshalBinary(b []byte) error
- func (m *TrimDashboardFullWithMeta) Validate(formats strfmt.Registry) error
- type Type
- type URL
- type UpdateAlertNotificationCommand
- func (m *UpdateAlertNotificationCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateAlertNotificationCommand) MarshalBinary() ([]byte, error)
- func (m *UpdateAlertNotificationCommand) UnmarshalBinary(b []byte) error
- func (m *UpdateAlertNotificationCommand) Validate(formats strfmt.Registry) error
- type UpdateAlertNotificationWithUIDCommand
- func (m *UpdateAlertNotificationWithUIDCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateAlertNotificationWithUIDCommand) MarshalBinary() ([]byte, error)
- func (m *UpdateAlertNotificationWithUIDCommand) UnmarshalBinary(b []byte) error
- func (m *UpdateAlertNotificationWithUIDCommand) Validate(formats strfmt.Registry) error
- 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 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 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 ( // AddCommandRoleNone captures enum value "None" AddCommandRoleNone string = "None" // AddCommandRoleViewer captures enum value "Viewer" AddCommandRoleViewer string = "Viewer" // AddCommandRoleEditor captures enum value "Editor" AddCommandRoleEditor string = "Editor" // AddCommandRoleAdmin captures enum value "Admin" AddCommandRoleAdmin string = "Admin" )
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 ( // 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 ( // 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 ( // 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 d t o
swagger:model ApiKeyDTO
func (*APIKeyDTO) ContextValidate ¶
ContextValidate validate this Api key d t o 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 d t o 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 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 AddCommand ¶
type AddCommand struct { // name Name string `json:"name,omitempty"` // role // Enum: [None Viewer Editor Admin] Role string `json:"role,omitempty"` // seconds to live SecondsToLive int64 `json:"secondsToLive,omitempty"` }
AddCommand add command
swagger:model AddCommand
func (*AddCommand) ContextValidate ¶
ContextValidate validates this add command based on context it is used
func (*AddCommand) MarshalBinary ¶
func (m *AddCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddCommand) UnmarshalBinary ¶
func (m *AddCommand) 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 o k body
swagger:model addDataSourceOKBody
func (*AddDataSourceOKBody) ContextValidate ¶
ContextValidate validate this add data source o k 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 AddPermissionOKBody ¶
type AddPermissionOKBody struct { // message Message string `json:"message,omitempty"` // permission Id PermissionID int64 `json:"permissionId,omitempty"` }
AddPermissionOKBody add permission o k body
swagger:model addPermissionOKBody
func (*AddPermissionOKBody) ContextValidate ¶
ContextValidate validates this add permission o k body based on context it is used
func (*AddPermissionOKBody) MarshalBinary ¶
func (m *AddPermissionOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddPermissionOKBody) UnmarshalBinary ¶
func (m *AddPermissionOKBody) 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 string `json:"password,omitempty"` }
AdminCreateUserForm admin create user form
swagger:model AdminCreateUserForm
func (*AdminCreateUserForm) ContextValidate ¶
ContextValidate validates this admin create user form based on 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"` }
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 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 string `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 validates this admin update user password form based on 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 OverrideLabels `json:"annotations"` // labels // Required: true Labels OverrideLabels `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 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 AlertListItemDTO ¶
type AlertListItemDTO struct { // dashboard Id DashboardID int64 `json:"dashboardId,omitempty"` // dashboard slug DashboardSlug string `json:"dashboardSlug,omitempty"` // dashboard Uid DashboardUID string `json:"dashboardUid,omitempty"` // eval data EvalData JSON `json:"evalData,omitempty"` // eval date // Format: date-time EvalDate strfmt.DateTime `json:"evalDate,omitempty"` // execution error ExecutionError string `json:"executionError,omitempty"` // id ID int64 `json:"id,omitempty"` // name Name string `json:"name,omitempty"` // new state date // Format: date-time NewStateDate strfmt.DateTime `json:"newStateDate,omitempty"` // panel Id PanelID int64 `json:"panelId,omitempty"` // state State AlertStateType `json:"state,omitempty"` // url URL string `json:"url,omitempty"` }
AlertListItemDTO alert list item d t o
swagger:model AlertListItemDTO
func (*AlertListItemDTO) ContextValidate ¶
ContextValidate validate this alert list item d t o based on the context it is used
func (*AlertListItemDTO) MarshalBinary ¶
func (m *AlertListItemDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AlertListItemDTO) UnmarshalBinary ¶
func (m *AlertListItemDTO) 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 AlertNotification ¶
type AlertNotification struct { // created // Format: date-time Created strfmt.DateTime `json:"created,omitempty"` // disable resolve message DisableResolveMessage bool `json:"disableResolveMessage,omitempty"` // frequency Frequency string `json:"frequency,omitempty"` // id ID int64 `json:"id,omitempty"` // is default IsDefault bool `json:"isDefault,omitempty"` // name Name string `json:"name,omitempty"` // secure fields SecureFields map[string]bool `json:"secureFields,omitempty"` // send reminder SendReminder bool `json:"sendReminder,omitempty"` // settings Settings JSON `json:"settings,omitempty"` // type Type string `json:"type,omitempty"` // uid UID string `json:"uid,omitempty"` // updated // Format: date-time Updated strfmt.DateTime `json:"updated,omitempty"` }
AlertNotification alert notification
swagger:model AlertNotification
func (*AlertNotification) ContextValidate ¶
ContextValidate validates this alert notification based on context it is used
func (*AlertNotification) MarshalBinary ¶
func (m *AlertNotification) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AlertNotification) UnmarshalBinary ¶
func (m *AlertNotification) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AlertNotificationLookup ¶
type AlertNotificationLookup struct { // id ID int64 `json:"id,omitempty"` // is default IsDefault bool `json:"isDefault,omitempty"` // name Name string `json:"name,omitempty"` // type Type string `json:"type,omitempty"` // uid UID string `json:"uid,omitempty"` }
AlertNotificationLookup alert notification lookup
swagger:model AlertNotificationLookup
func (*AlertNotificationLookup) ContextValidate ¶
func (m *AlertNotificationLookup) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this alert notification lookup based on context it is used
func (*AlertNotificationLookup) MarshalBinary ¶
func (m *AlertNotificationLookup) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AlertNotificationLookup) UnmarshalBinary ¶
func (m *AlertNotificationLookup) 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 *RelativeTimeRange `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 AlertRuleExport ¶
type AlertRuleExport struct { // annotations Annotations map[string]string `json:"annotations,omitempty"` // condition Condition string `json:"condition,omitempty"` // dasboard Uid DasboardUID string `json:"dasboardUid,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"` // panel Id PanelID int64 `json:"panelId,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 AlertStateInfoDTO ¶
type AlertStateInfoDTO struct { // dashboard Id DashboardID int64 `json:"dashboardId,omitempty"` // id ID int64 `json:"id,omitempty"` // new state date // Format: date-time NewStateDate strfmt.DateTime `json:"newStateDate,omitempty"` // panel Id PanelID int64 `json:"panelId,omitempty"` // state State AlertStateType `json:"state,omitempty"` }
AlertStateInfoDTO alert state info d t o
swagger:model AlertStateInfoDTO
func (*AlertStateInfoDTO) ContextValidate ¶
ContextValidate validate this alert state info d t o based on the context it is used
func (*AlertStateInfoDTO) MarshalBinary ¶
func (m *AlertStateInfoDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AlertStateInfoDTO) UnmarshalBinary ¶
func (m *AlertStateInfoDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AlertStateType ¶
type AlertStateType string
AlertStateType alert state type
swagger:model AlertStateType
func (AlertStateType) ContextValidate ¶
ContextValidate validates this alert state type based on context it is used
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 AlertTestCommand ¶
type AlertTestCommand struct { // dashboard Dashboard JSON `json:"dashboard,omitempty"` // panel Id PanelID int64 `json:"panelId,omitempty"` }
AlertTestCommand alert test command
swagger:model AlertTestCommand
func (*AlertTestCommand) ContextValidate ¶
ContextValidate validates this alert test command based on context it is used
func (*AlertTestCommand) MarshalBinary ¶
func (m *AlertTestCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AlertTestCommand) UnmarshalBinary ¶
func (m *AlertTestCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AlertTestResult ¶
type AlertTestResult struct { // condition evals ConditionEvals string `json:"conditionEvals,omitempty"` // error Error string `json:"error,omitempty"` // firing Firing bool `json:"firing,omitempty"` // logs Logs []*AlertTestResultLog `json:"logs"` // matches Matches []*EvalMatch `json:"matches"` // state State AlertStateType `json:"state,omitempty"` // time ms TimeMs string `json:"timeMs,omitempty"` }
AlertTestResult alert test result
swagger:model AlertTestResult
func (*AlertTestResult) ContextValidate ¶
ContextValidate validate this alert test result based on the context it is used
func (*AlertTestResult) MarshalBinary ¶
func (m *AlertTestResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AlertTestResult) UnmarshalBinary ¶
func (m *AlertTestResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AlertTestResultLog ¶
type AlertTestResultLog struct { // data Data interface{} `json:"data,omitempty"` // message Message string `json:"message,omitempty"` }
AlertTestResultLog alert test result log
swagger:model AlertTestResultLog
func (*AlertTestResultLog) ContextValidate ¶
ContextValidate validates this alert test result log based on context it is used
func (*AlertTestResultLog) MarshalBinary ¶
func (m *AlertTestResultLog) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AlertTestResultLog) UnmarshalBinary ¶
func (m *AlertTestResultLog) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AlertingFileExport ¶
type AlertingFileExport struct { // api version APIVersion int64 `json:"apiVersion,omitempty"` // groups Groups []*AlertRuleGroupExport `json:"groups"` }
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 OverrideLabels `json:"annotations"` // duration Duration float64 `json:"duration,omitempty"` // evaluation time EvaluationTime float64 `json:"evaluationTime,omitempty"` // health // Required: true Health *string `json:"health"` // labels Labels OverrideLabels `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 *RuleType `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 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 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 Authorization ¶
type Authorization struct { // credentials Credentials Secret `json:"credentials,omitempty"` // credentials file CredentialsFile string `json:"credentials_file,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"` // username Username string `json:"username,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 BrandingOptionsDTO ¶
type BrandingOptionsDTO 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
BrandingOptionsDTO branding options d t o
swagger:model BrandingOptionsDTO
func (*BrandingOptionsDTO) ContextValidate ¶
ContextValidate validates this branding options d t o based on context it is used
func (*BrandingOptionsDTO) MarshalBinary ¶
func (m *BrandingOptionsDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BrandingOptionsDTO) UnmarshalBinary ¶
func (m *BrandingOptionsDTO) 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 ChangeUserPasswordCommand ¶
type ChangeUserPasswordCommand struct { // new password NewPassword string `json:"newPassword,omitempty"` // old password OldPassword string `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 validates this change user password command based on 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 o k body
swagger:model clearHelpFlagsOKBody
func (*ClearHelpFlagsOKBody) ContextValidate ¶
ContextValidate validates this clear help flags o k 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 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 ConfigDTO ¶
type ConfigDTO struct { // created // Format: date-time Created strfmt.DateTime `json:"created,omitempty"` // dashboard Id DashboardID int64 `json:"dashboardId,omitempty"` // dashboard name DashboardName string `json:"dashboardName,omitempty"` // dashboard Uid DashboardUID string `json:"dashboardUid,omitempty"` // dashboards Dashboards []*DashboardDTO `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 *ReportOptionsDTO `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 *ScheduleDTO `json:"schedule,omitempty"` // state State State `json:"state,omitempty"` // template vars TemplateVars interface{} `json:"templateVars,omitempty"` // updated // Format: date-time Updated strfmt.DateTime `json:"updated,omitempty"` // user Id UserID int64 `json:"userId,omitempty"` }
ConfigDTO ConfigDTO is model representation in transfer
swagger:model ConfigDTO
func (*ConfigDTO) ContextValidate ¶
ContextValidate validate this config d t o based on the context it is used
func (*ConfigDTO) MarshalBinary ¶
MarshalBinary interface implementation
func (*ConfigDTO) UnmarshalBinary ¶
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 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"` // 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"` // 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 // Required: true Type *CorrelationConfigType `json:"type"` }
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 CorrelationConfigType ¶
type CorrelationConfigType string
CorrelationConfigType correlation config type
swagger:model CorrelationConfigType
func (CorrelationConfigType) ContextValidate ¶
ContextValidate validates this correlation config type based on context it is used
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"` // type Type CorrelationConfigType `json:"type,omitempty"` }
CorrelationConfigUpdateDTO correlation config update d t o
swagger:model CorrelationConfigUpdateDTO
func (*CorrelationConfigUpdateDTO) ContextValidate ¶
func (m *CorrelationConfigUpdateDTO) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this correlation config update d t o 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 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 CreateAlertNotificationCommand ¶
type CreateAlertNotificationCommand struct { // disable resolve message DisableResolveMessage bool `json:"disableResolveMessage,omitempty"` // frequency Frequency string `json:"frequency,omitempty"` // is default IsDefault bool `json:"isDefault,omitempty"` // name Name string `json:"name,omitempty"` // secure settings SecureSettings map[string]string `json:"secureSettings,omitempty"` // send reminder SendReminder bool `json:"sendReminder,omitempty"` // settings Settings JSON `json:"settings,omitempty"` // type Type string `json:"type,omitempty"` // uid UID string `json:"uid,omitempty"` }
CreateAlertNotificationCommand create alert notification command
swagger:model CreateAlertNotificationCommand
func (*CreateAlertNotificationCommand) ContextValidate ¶
func (m *CreateAlertNotificationCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create alert notification command based on context it is used
func (*CreateAlertNotificationCommand) MarshalBinary ¶
func (m *CreateAlertNotificationCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateAlertNotificationCommand) UnmarshalBinary ¶
func (m *CreateAlertNotificationCommand) 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"` // Target data source UID to which the correlation is created. required if config.type = query // Example: PE1C5CBDA0504A6A3 TargetUID string `json:"targetUID,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 { // dashboard // Required: true Dashboard JSON `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"` // 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 o k body
swagger:model createDashboardSnapshotOKBody
func (*CreateDashboardSnapshotOKBody) ContextValidate ¶
func (m *CreateDashboardSnapshotOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create dashboard snapshot o k 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. 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 CreateOrUpdateConfigCmd ¶
type CreateOrUpdateConfigCmd struct { // dashboard Id DashboardID int64 `json:"dashboardId,omitempty"` // dashboard Uid DashboardUID string `json:"dashboardUid,omitempty"` // dashboards Dashboards []*DashboardDTO `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 *ReportOptionsDTO `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 *ScheduleDTO `json:"schedule,omitempty"` // state State State `json:"state,omitempty"` // template vars TemplateVars interface{} `json:"templateVars,omitempty"` }
CreateOrUpdateConfigCmd create or update config cmd
swagger:model CreateOrUpdateConfigCmd
func (*CreateOrUpdateConfigCmd) ContextValidate ¶
func (m *CreateOrUpdateConfigCmd) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create or update config cmd based on the context it is used
func (*CreateOrUpdateConfigCmd) MarshalBinary ¶
func (m *CreateOrUpdateConfigCmd) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateOrUpdateConfigCmd) UnmarshalBinary ¶
func (m *CreateOrUpdateConfigCmd) 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 o k body
swagger:model createOrgOKBody
func (*CreateOrgOKBody) ContextValidate ¶
ContextValidate validates this create org o k 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 o k body
swagger:model createReportOKBody
func (*CreateReportOKBody) ContextValidate ¶
ContextValidate validates this create report o k 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 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"` }
CreateTeamOKBody create team o k body
swagger:model createTeamOKBody
func (*CreateTeamOKBody) ContextValidate ¶
ContextValidate validates this create team o k 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 CustomPermissionsRecordDTO ¶
type CustomPermissionsRecordDTO struct { // custom permissions CustomPermissions string `json:"customPermissions,omitempty"` // grantee name GranteeName string `json:"granteeName,omitempty"` // grantee type GranteeType string `json:"granteeType,omitempty"` // grantee Url GranteeURL string `json:"granteeUrl,omitempty"` // id ID int64 `json:"id,omitempty"` // is folder IsFolder bool `json:"isFolder,omitempty"` // org Id OrgID int64 `json:"orgId,omitempty"` // org role OrgRole string `json:"orgRole,omitempty"` // slug Slug string `json:"slug,omitempty"` // title Title string `json:"title,omitempty"` // uid UID string `json:"uid,omitempty"` // url URL string `json:"url,omitempty"` // users count UsersCount int64 `json:"usersCount,omitempty"` }
CustomPermissionsRecordDTO custom permissions record d t o
swagger:model CustomPermissionsRecordDTO
func (*CustomPermissionsRecordDTO) ContextValidate ¶
func (m *CustomPermissionsRecordDTO) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this custom permissions record d t o based on context it is used
func (*CustomPermissionsRecordDTO) MarshalBinary ¶
func (m *CustomPermissionsRecordDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CustomPermissionsRecordDTO) UnmarshalBinary ¶
func (m *CustomPermissionsRecordDTO) 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"` // folder Id FolderID int64 `json:"folderId,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"` // 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"` }
DashboardACLInfoDTO dashboard ACL info d t o
swagger:model DashboardACLInfoDTO
func (*DashboardACLInfoDTO) ContextValidate ¶
ContextValidate validate this dashboard ACL info d t o 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 DashboardDTO ¶
type DashboardDTO struct { // dashboard Dashboard *DashboardReportDTO `json:"dashboard,omitempty"` // report variables ReportVariables interface{} `json:"reportVariables,omitempty"` // time range TimeRange *TimeRangeDTO `json:"timeRange,omitempty"` }
DashboardDTO dashboard d t o
swagger:model DashboardDTO
func (*DashboardDTO) ContextValidate ¶
ContextValidate validate this dashboard d t o based on the context it is used
func (*DashboardDTO) MarshalBinary ¶
func (m *DashboardDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DashboardDTO) UnmarshalBinary ¶
func (m *DashboardDTO) 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"` // 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"` // 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 access token PublicDashboardAccessToken string `json:"publicDashboardAccessToken,omitempty"` // public dashboard enabled PublicDashboardEnabled bool `json:"publicDashboardEnabled,omitempty"` // public dashboard Uid PublicDashboardUID string `json:"publicDashboardUid,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 DashboardReportDTO ¶
type DashboardReportDTO struct { // id ID int64 `json:"id,omitempty"` // name Name string `json:"name,omitempty"` // uid UID string `json:"uid,omitempty"` }
DashboardReportDTO dashboard report d t o
swagger:model DashboardReportDTO
func (*DashboardReportDTO) ContextValidate ¶
ContextValidate validates this dashboard report d t o based on context it is used
func (*DashboardReportDTO) MarshalBinary ¶
func (m *DashboardReportDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DashboardReportDTO) UnmarshalBinary ¶
func (m *DashboardReportDTO) 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"` // id ID int64 `json:"id,omitempty"` // key Key string `json:"key,omitempty"` // name Name string `json:"name,omitempty"` // org Id OrgID int64 `json:"orgId,omitempty"` // updated // Format: date-time Updated strfmt.DateTime `json:"updated,omitempty"` // user Id UserID int64 `json:"userId,omitempty"` }
DashboardSnapshotDTO DashboardSnapshotDTO without dashboard map
swagger:model DashboardSnapshotDTO
func (*DashboardSnapshotDTO) ContextValidate ¶
ContextValidate validates this dashboard snapshot d t o 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"` // 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 d t o
swagger:model DataSourceListItemDTO
func (*DataSourceListItemDTO) ContextValidate ¶
ContextValidate validate this data source list item d t o 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 DataSourcePermissionRuleDTO ¶
type DataSourcePermissionRuleDTO struct { // built in role BuiltInRole string `json:"builtInRole,omitempty"` // created // Format: date-time Created strfmt.DateTime `json:"created,omitempty"` // datasource Id DatasourceID int64 `json:"datasourceId,omitempty"` // id ID int64 `json:"id,omitempty"` // is managed IsManaged bool `json:"isManaged,omitempty"` // permission Permission DsPermissionType `json:"permission,omitempty"` // permission name PermissionName string `json:"permissionName,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"` // updated // Format: date-time Updated strfmt.DateTime `json:"updated,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"` }
DataSourcePermissionRuleDTO data source permission rule d t o
swagger:model DataSourcePermissionRuleDTO
func (*DataSourcePermissionRuleDTO) ContextValidate ¶
func (m *DataSourcePermissionRuleDTO) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this data source permission rule d t o based on the context it is used
func (*DataSourcePermissionRuleDTO) MarshalBinary ¶
func (m *DataSourcePermissionRuleDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DataSourcePermissionRuleDTO) UnmarshalBinary ¶
func (m *DataSourcePermissionRuleDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DataSourcePermissionsDTO ¶
type DataSourcePermissionsDTO struct { // datasource Id DatasourceID int64 `json:"datasourceId,omitempty"` // enabled Enabled bool `json:"enabled,omitempty"` // permissions Permissions []*DataSourcePermissionRuleDTO `json:"permissions"` }
DataSourcePermissionsDTO data source permissions d t o
swagger:model DataSourcePermissionsDTO
func (*DataSourcePermissionsDTO) ContextValidate ¶
func (m *DataSourcePermissionsDTO) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this data source permissions d t o based on the context it is used
func (*DataSourcePermissionsDTO) MarshalBinary ¶
func (m *DataSourcePermissionsDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DataSourcePermissionsDTO) UnmarshalBinary ¶
func (m *DataSourcePermissionsDTO) 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 DeleteAlertNotificationChannelByUIDOKBody ¶
type DeleteAlertNotificationChannelByUIDOKBody struct { // ID Identifier of the deleted notification channel. // Example: 65 // Required: true ID *int64 `json:"id"` // Message Message of the deleted notificatiton channel. // Required: true Message *string `json:"message"` }
DeleteAlertNotificationChannelByUIDOKBody delete alert notification channel by Uid o k body
swagger:model deleteAlertNotificationChannelByUidOKBody
func (*DeleteAlertNotificationChannelByUIDOKBody) ContextValidate ¶
func (m *DeleteAlertNotificationChannelByUIDOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete alert notification channel by Uid o k body based on context it is used
func (*DeleteAlertNotificationChannelByUIDOKBody) MarshalBinary ¶
func (m *DeleteAlertNotificationChannelByUIDOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteAlertNotificationChannelByUIDOKBody) UnmarshalBinary ¶
func (m *DeleteAlertNotificationChannelByUIDOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 { // ID Identifier of the deleted dashboard. // 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"` // Title Title of the deleted dashboard. // Example: My Dashboard // Required: true Title *string `json:"title"` }
DeleteDashboardByUIDOKBody delete dashboard by Uid o k 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 o k 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 o k 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 o k 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 o k body
swagger:model deleteFolderOKBody
func (*DeleteFolderOKBody) ContextValidate ¶
ContextValidate validates this delete folder o k 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 DisablePermissionsOKBody ¶
type DisablePermissionsOKBody 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"` }
DisablePermissionsOKBody disable permissions o k body
swagger:model disablePermissionsOKBody
func (*DisablePermissionsOKBody) ContextValidate ¶
func (m *DisablePermissionsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this disable permissions o k body based on the context it is used
func (*DisablePermissionsOKBody) MarshalBinary ¶
func (m *DisablePermissionsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DisablePermissionsOKBody) UnmarshalBinary ¶
func (m *DisablePermissionsOKBody) 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"` }
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 DsPermissionType ¶
type DsPermissionType int64
DsPermissionType Datasource permission Description: `0` - No Access `1` - Query `2` - Edit Enum: 0,1,2
swagger:model DsPermissionType
func (DsPermissionType) ContextValidate ¶
ContextValidate validates this ds permission type 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 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 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 EnablePermissionsOKBody ¶
type EnablePermissionsOKBody 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"` }
EnablePermissionsOKBody enable permissions o k body
swagger:model enablePermissionsOKBody
func (*EnablePermissionsOKBody) ContextValidate ¶
func (m *EnablePermissionsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this enable permissions o k body based on the context it is used
func (*EnablePermissionsOKBody) MarshalBinary ¶
func (m *EnablePermissionsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EnablePermissionsOKBody) UnmarshalBinary ¶
func (m *EnablePermissionsOKBody) 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 EvalMatch ¶
type EvalMatch struct { // metric Metric string `json:"metric,omitempty"` // tags Tags map[string]string `json:"tags,omitempty"` // value Value string `json:"value,omitempty"` }
EvalMatch eval match
swagger:model EvalMatch
func (*EvalMatch) ContextValidate ¶
ContextValidate validates this eval match based on context it is used
func (*EvalMatch) MarshalBinary ¶
MarshalBinary interface implementation
func (*EvalMatch) UnmarshalBinary ¶
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 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"` // id ID int64 `json:"id,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 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"` // 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"` }
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.
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 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 o k 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 o k 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 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 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 o k body
swagger:model getSharingOptionsOKBody
func (*GetSharingOptionsOKBody) ContextValidate ¶
func (m *GetSharingOptionsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get sharing options o k 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 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"` // mute time intervals 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"` }
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"` // 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 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"` // 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"` // namespace id NamespaceID int64 `json:"namespace_id,omitempty"` // namespace uid NamespaceUID string `json:"namespace_uid,omitempty"` // no data state // Enum: [Alerting NoData OK] NoDataState string `json:"no_data_state,omitempty"` // org Id OrgID int64 `json:"orgId,omitempty"` // provenance Provenance Provenance `json:"provenance,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 GettableRuleGroupConfig ¶
type GettableRuleGroupConfig struct { // interval Interval Duration `json:"interval,omitempty"` // name Name string `json:"name,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 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"` // 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 Header `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 Header ¶
Header header
swagger:model Header
func (Header) ContextValidate ¶
ContextValidate validate this header based on the context it is used
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 starred IsStarred bool `json:"isStarred,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 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"` // folder Id 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"` // folder Id 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 Integration ¶
type Integration struct { // A timestamp indicating the last attempt to deliver a notification regardless of the outcome. // Format: date-time // Format: date-time LastNotifyAttempt strfmt.DateTime `json:"lastNotifyAttempt,omitempty"` // Duration of the last attempt to deliver a notification in humanized format (`1s` or `15ms`, etc). LastNotifyAttemptDuration string `json:"lastNotifyAttemptDuration,omitempty"` // Error string for the last attempt to deliver a notification. Empty if the last attempt was successful. LastNotifyAttemptError string `json:"lastNotifyAttemptError,omitempty"` // name // Required: true Name *string `json:"name"` // send resolved // Required: true SendResolved *bool `json:"sendResolved"` }
Integration integration
swagger:model integration
func (*Integration) ContextValidate ¶
ContextValidate validates this integration based on context it is used
func (*Integration) MarshalBinary ¶
func (m *Integration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Integration) UnmarshalBinary ¶
func (m *Integration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 Item ¶
type Item struct { // Title is an unused property -- it will be removed in the future Title string `json:"title,omitempty"` // type Type ItemType `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"` }
Item Item defines model for Item.
swagger:model Item
func (*Item) ContextValidate ¶
ContextValidate validate this item based on the context it is used
func (*Item) MarshalBinary ¶
MarshalBinary interface implementation
func (*Item) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ItemDTO ¶
type ItemDTO 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"` }
ItemDTO item d t o
swagger:model ItemDTO
func (*ItemDTO) ContextValidate ¶
ContextValidate validates this item d t o based on context it is used
func (*ItemDTO) MarshalBinary ¶
MarshalBinary interface implementation
func (*ItemDTO) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ItemType ¶
type ItemType string
ItemType Type of the item.
swagger:model ItemType
func (ItemType) ContextValidate ¶
ContextValidate validates this item type 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 LegacyAlert ¶
type LegacyAlert struct { // created // Format: date-time Created strfmt.DateTime `json:"Created,omitempty"` // dashboard ID DashboardID int64 `json:"DashboardID,omitempty"` // eval data EvalData JSON `json:"EvalData,omitempty"` // execution error ExecutionError string `json:"ExecutionError,omitempty"` // for For Duration `json:"For,omitempty"` // frequency Frequency int64 `json:"Frequency,omitempty"` // handler Handler int64 `json:"Handler,omitempty"` // ID ID int64 `json:"ID,omitempty"` // message Message string `json:"Message,omitempty"` // name Name string `json:"Name,omitempty"` // new state date // Format: date-time NewStateDate strfmt.DateTime `json:"NewStateDate,omitempty"` // org ID OrgID int64 `json:"OrgID,omitempty"` // panel ID PanelID int64 `json:"PanelID,omitempty"` // settings Settings JSON `json:"Settings,omitempty"` // severity Severity string `json:"Severity,omitempty"` // silenced Silenced bool `json:"Silenced,omitempty"` // state State AlertStateType `json:"State,omitempty"` // state changes StateChanges int64 `json:"StateChanges,omitempty"` // updated // Format: date-time Updated strfmt.DateTime `json:"Updated,omitempty"` // version Version int64 `json:"Version,omitempty"` }
LegacyAlert legacy alert
swagger:model LegacyAlert
func (*LegacyAlert) ContextValidate ¶
ContextValidate validate this legacy alert based on the context it is used
func (*LegacyAlert) MarshalBinary ¶
func (m *LegacyAlert) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LegacyAlert) UnmarshalBinary ¶
func (m *LegacyAlert) 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 d t o 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"` // folder Id 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 d t o 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 d t o 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 d t o 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 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 o k body
swagger:model listSortOptionsOKBody
func (*ListSortOptionsOKBody) ContextValidate ¶
ContextValidate validates this list sort options o k 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 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 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"` // public dashboard access token PublicDashboardAccessToken string `json:"publicDashboardAccessToken,omitempty"` // 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 MigrateQueriesToQueryHistoryCommand ¶
type MigrateQueriesToQueryHistoryCommand struct { // Array of queries to store in query history. Queries []*QueryToMigrate `json:"queries"` }
MigrateQueriesToQueryHistoryCommand MigrateQueriesToQueryHistoryCommand is the command used for migration of old queries into query history
swagger:model MigrateQueriesToQueryHistoryCommand
func (*MigrateQueriesToQueryHistoryCommand) ContextValidate ¶
func (m *MigrateQueriesToQueryHistoryCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this migrate queries to query history command based on the context it is used
func (*MigrateQueriesToQueryHistoryCommand) MarshalBinary ¶
func (m *MigrateQueriesToQueryHistoryCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MigrateQueriesToQueryHistoryCommand) UnmarshalBinary ¶
func (m *MigrateQueriesToQueryHistoryCommand) 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 []*TimeInterval `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 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 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 NotificationTemplate ¶
type NotificationTemplate struct { // name Name string `json:"name,omitempty"` // provenance Provenance Provenance `json:"provenance,omitempty"` // template Template string `json:"template,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"` }
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 NotificationTestCommand ¶
type NotificationTestCommand struct { // disable resolve message DisableResolveMessage bool `json:"disableResolveMessage,omitempty"` // frequency Frequency string `json:"frequency,omitempty"` // id ID int64 `json:"id,omitempty"` // name Name string `json:"name,omitempty"` // secure settings SecureSettings map[string]string `json:"secureSettings,omitempty"` // send reminder SendReminder bool `json:"sendReminder,omitempty"` // settings Settings JSON `json:"settings,omitempty"` // type Type string `json:"type,omitempty"` }
NotificationTestCommand notification test command
swagger:model NotificationTestCommand
func (*NotificationTestCommand) ContextValidate ¶
func (m *NotificationTestCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this notification test command based on context it is used
func (*NotificationTestCommand) MarshalBinary ¶
func (m *NotificationTestCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NotificationTestCommand) UnmarshalBinary ¶
func (m *NotificationTestCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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"` // 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 Header `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 ObjectMatchers ¶
type ObjectMatchers = Matchers
ObjectMatchers object matchers
swagger:model ObjectMatchers
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 d t o
swagger:model OrgDTO
func (*OrgDTO) ContextValidate ¶
ContextValidate validates this org d t o 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 d t o
swagger:model OrgDetailsDTO
func (*OrgDetailsDTO) ContextValidate ¶
ContextValidate validate this org details d t o 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"` // user Id UserID int64 `json:"userId,omitempty"` }
OrgUserDTO org user d t o
swagger:model OrgUserDTO
func (*OrgUserDTO) ContextValidate ¶
ContextValidate validates this org user d t o 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 OverrideLabels ¶
OverrideLabels override the labels type with a map for generation.
The custom marshaling for labels.Labels ends up doing this anyways.
swagger:model overrideLabels
func (OverrideLabels) ContextValidate ¶
ContextValidate validates this override labels based on context it is used
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 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. 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"` // 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 PauseAlertCommand ¶
type PauseAlertCommand struct { // alert Id AlertID int64 `json:"alertId,omitempty"` // paused Paused bool `json:"paused,omitempty"` }
PauseAlertCommand pause alert command
swagger:model PauseAlertCommand
func (*PauseAlertCommand) ContextValidate ¶
ContextValidate validates this pause alert command based on context it is used
func (*PauseAlertCommand) MarshalBinary ¶
func (m *PauseAlertCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PauseAlertCommand) UnmarshalBinary ¶
func (m *PauseAlertCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PauseAlertOKBody ¶
type PauseAlertOKBody struct { // alert Id // Required: true AlertID *int64 `json:"alertId"` // message // Required: true Message *string `json:"message"` // Alert result state // required true State string `json:"state,omitempty"` }
PauseAlertOKBody pause alert o k body
swagger:model pauseAlertOKBody
func (*PauseAlertOKBody) ContextValidate ¶
ContextValidate validates this pause alert o k body based on context it is used
func (*PauseAlertOKBody) MarshalBinary ¶
func (m *PauseAlertOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PauseAlertOKBody) UnmarshalBinary ¶
func (m *PauseAlertOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PauseAllAlertsCommand ¶
type PauseAllAlertsCommand struct { // paused Paused bool `json:"paused,omitempty"` }
PauseAllAlertsCommand pause all alerts command
swagger:model PauseAllAlertsCommand
func (*PauseAllAlertsCommand) ContextValidate ¶
ContextValidate validates this pause all alerts command based on context it is used
func (*PauseAllAlertsCommand) MarshalBinary ¶
func (m *PauseAllAlertsCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PauseAllAlertsCommand) UnmarshalBinary ¶
func (m *PauseAllAlertsCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PauseAllAlertsOKBody ¶
type PauseAllAlertsOKBody struct { // AlertsAffected is the number of the affected alerts. // Required: true AlertsAffected *int64 `json:"alertsAffected"` // message // Required: true Message *string `json:"message"` // Alert result state // required true State string `json:"state,omitempty"` }
PauseAllAlertsOKBody pause all alerts o k body
swagger:model pauseAllAlertsOKBody
func (*PauseAllAlertsOKBody) ContextValidate ¶
ContextValidate validates this pause all alerts o k body based on context it is used
func (*PauseAllAlertsOKBody) MarshalBinary ¶
func (m *PauseAllAlertsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PauseAllAlertsOKBody) UnmarshalBinary ¶
func (m *PauseAllAlertsOKBody) 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 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 PlaylistDashboardsSlice ¶
type PlaylistDashboardsSlice []*PlaylistDashboard
PlaylistDashboardsSlice playlist dashboards slice
swagger:model PlaylistDashboardsSlice
func (PlaylistDashboardsSlice) ContextValidate ¶
func (m PlaylistDashboardsSlice) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this playlist dashboards slice based on the context it is used
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 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 o k body
swagger:model postAnnotationOKBody
func (*PostAnnotationOKBody) ContextValidate ¶
ContextValidate validates this post annotation o k 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 { // ID The unique identifier (id) of the created/updated dashboard. // Example: 1 // Required: true ID *string `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 o k body
swagger:model postDashboardOKBody
func (*PostDashboardOKBody) ContextValidate ¶
ContextValidate validates this post dashboard o k 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 o k body
swagger:model postGraphiteAnnotationOKBody
func (*PostGraphiteAnnotationOKBody) ContextValidate ¶
func (m *PostGraphiteAnnotationOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this post graphite annotation o k 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"` // mute time intervals 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"` }
PostableAPIAlertingConfig postable Api alerting config
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"` // 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 postable Api receiver
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"` // 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"` // no data state // Enum: [Alerting NoData OK] NoDataState string `json:"no_data_state,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 { // UID for the home dashboard HomeDashboardUID string `json:"homeDashboardUID,omitempty"` // Selected language (beta) Language string `json:"language,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 Preferences defines model for 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 For *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"` // org ID // Required: true OrgID *int64 `json:"orgID"` // provenance Provenance Provenance `json:"provenance,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 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 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"` // 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 { // responses Responses Responses `json:"Responses,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 d t o
swagger:model QueryHistoryDTO
func (*QueryHistoryDTO) ContextValidate ¶
ContextValidate validates this query history d t o 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 QueryHistoryMigrationResponse ¶
type QueryHistoryMigrationResponse struct { // message Message string `json:"message,omitempty"` // starred count StarredCount int64 `json:"starredCount,omitempty"` // total count TotalCount int64 `json:"totalCount,omitempty"` }
QueryHistoryMigrationResponse query history migration response
swagger:model QueryHistoryMigrationResponse
func (*QueryHistoryMigrationResponse) ContextValidate ¶
func (m *QueryHistoryMigrationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this query history migration response based on context it is used
func (*QueryHistoryMigrationResponse) MarshalBinary ¶
func (m *QueryHistoryMigrationResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*QueryHistoryMigrationResponse) UnmarshalBinary ¶
func (m *QueryHistoryMigrationResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type QueryHistoryPreference ¶
type QueryHistoryPreference struct { // home tab HomeTab string `json:"homeTab,omitempty"` }
QueryHistoryPreference query history preference
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 QueryToMigrate ¶
type QueryToMigrate struct { // comment Comment string `json:"comment,omitempty"` // created at CreatedAt int64 `json:"createdAt,omitempty"` // datasource Uid DatasourceUID string `json:"datasourceUid,omitempty"` // queries Queries JSON `json:"queries,omitempty"` // starred Starred bool `json:"starred,omitempty"` }
QueryToMigrate query to migrate
swagger:model QueryToMigrate
func (*QueryToMigrate) ContextValidate ¶
ContextValidate validates this query to migrate based on context it is used
func (*QueryToMigrate) MarshalBinary ¶
func (m *QueryToMigrate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*QueryToMigrate) UnmarshalBinary ¶
func (m *QueryToMigrate) UnmarshalBinary(b []byte) error
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 d t o
swagger:model QuotaDTO
func (*QuotaDTO) ContextValidate ¶
ContextValidate validates this quota d t o based on context it is used
func (*QuotaDTO) MarshalBinary ¶
MarshalBinary interface implementation
func (*QuotaDTO) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Receiver ¶
type Receiver struct { // active // Required: true Active *bool `json:"active"` // integrations // Required: true Integrations []*Integration `json:"integrations"` // name // Required: true Name *string `json:"name"` }
Receiver receiver
swagger:model receiver
func (*Receiver) ContextValidate ¶
ContextValidate validate this receiver based on the context it is used
func (*Receiver) MarshalBinary ¶
MarshalBinary interface implementation
func (*Receiver) 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 Regexp ¶
type Regexp interface{}
Regexp Regexp is the representation of a compiled regular expression.
A Regexp is safe for concurrent use by multiple goroutines, except for configuration methods, such as Longest.
swagger:model Regexp
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 ReportEmailDTO ¶
type ReportEmailDTO struct { // email Email string `json:"email,omitempty"` // 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"` }
ReportEmailDTO report email d t o
swagger:model ReportEmailDTO
func (*ReportEmailDTO) ContextValidate ¶
ContextValidate validates this report email d t o based on context it is used
func (*ReportEmailDTO) MarshalBinary ¶
func (m *ReportEmailDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ReportEmailDTO) UnmarshalBinary ¶
func (m *ReportEmailDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ReportOptionsDTO ¶
type ReportOptionsDTO struct { // layout Layout string `json:"layout,omitempty"` // orientation Orientation string `json:"orientation,omitempty"` // time range TimeRange *TimeRangeDTO `json:"timeRange,omitempty"` }
ReportOptionsDTO report options d t o
swagger:model ReportOptionsDTO
func (*ReportOptionsDTO) ContextValidate ¶
ContextValidate validate this report options d t o based on the context it is used
func (*ReportOptionsDTO) MarshalBinary ¶
func (m *ReportOptionsDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ReportOptionsDTO) UnmarshalBinary ¶
func (m *ReportOptionsDTO) 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 { // ID The unique identifier (id) of the created/updated dashboard. // Example: 1 // Required: true ID *string `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 o k 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 o k 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 { // ID The unique identifier (id) of the created/updated dashboard. // Example: 1 // Required: true ID *string `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 o k 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 o k 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 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 d t o
swagger:model RoleAssignmentsDTO
func (*RoleAssignmentsDTO) ContextValidate ¶
ContextValidate validates this role assignments d t o 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"` // 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 d t o
swagger:model RoleDTO
func (*RoleDTO) ContextValidate ¶
ContextValidate validate this role d t o based on the context it is used
func (*RoleDTO) MarshalBinary ¶
MarshalBinary interface implementation
func (*RoleDTO) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Route ¶
type Route 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"` // 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 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 RuleType ¶
type RuleType string
RuleType RuleType models the type of a rule.
swagger:model RuleType
func (RuleType) ContextValidate ¶
ContextValidate validates this rule type based on context it is used
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 s n s config
swagger:model SNSConfig
func (*SNSConfig) ContextValidate ¶
ContextValidate validate this s n s 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 { // h H *FloatHistogram `json:"H,omitempty"` // metric Metric Labels `json:"Metric,omitempty"` // t T int64 `json:"T,omitempty"` // v V float64 `json:"V,omitempty"` }
Sample Sample is a single sample belonging to a metric.
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"` // folder Id 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 ScheduleDTO ¶
type ScheduleDTO struct { // day Day string `json:"day,omitempty"` // 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"` // hour Hour int64 `json:"hour,omitempty"` // interval amount IntervalAmount int64 `json:"intervalAmount,omitempty"` // interval frequency IntervalFrequency string `json:"intervalFrequency,omitempty"` // minute Minute int64 `json:"minute,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"` }
ScheduleDTO schedule d t o
swagger:model ScheduleDTO
func (*ScheduleDTO) ContextValidate ¶
ContextValidate validates this schedule d t o based on context it is used
func (*ScheduleDTO) MarshalBinary ¶
func (m *ScheduleDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ScheduleDTO) UnmarshalBinary ¶
func (m *ScheduleDTO) 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"` // 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"` }
ServiceAccountDTO swagger: model
swagger:model ServiceAccountDTO
func (*ServiceAccountDTO) ContextValidate ¶
ContextValidate validates this service account d t o 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"` // 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"` // role // Example: Editor Role string `json:"role,omitempty"` // teams // Example: [] Teams []string `json:"teams"` // tokens Tokens int64 `json:"tokens,omitempty"` // updated at // Example: 2022-03-21T14:35:33Z // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"` }
ServiceAccountProfileDTO service account profile d t o
swagger:model ServiceAccountProfileDTO
func (*ServiceAccountProfileDTO) ContextValidate ¶
func (m *ServiceAccountProfileDTO) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this service account profile d t o 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 o k body
swagger:model setHelpFlagOKBody
func (*SetHelpFlagOKBody) ContextValidate ¶
ContextValidate validates this set help flag o k 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 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 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 SettingsDTO ¶
type SettingsDTO struct { // branding Branding *BrandingOptionsDTO `json:"branding,omitempty"` // id ID int64 `json:"id,omitempty"` // org Id OrgID int64 `json:"orgId,omitempty"` // user Id UserID int64 `json:"userId,omitempty"` }
SettingsDTO settings d t o
swagger:model SettingsDTO
func (*SettingsDTO) ContextValidate ¶
ContextValidate validate this settings d t o based on the context it is used
func (*SettingsDTO) MarshalBinary ¶
func (m *SettingsDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SettingsDTO) UnmarshalBinary ¶
func (m *SettingsDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 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 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 Spec ¶
type Spec struct { // UID for the home dashboard HomeDashboardUID string `json:"homeDashboardUID,omitempty"` // Selected language (beta) Language string `json:"language,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"` }
Spec Spec defines model for Spec.
swagger:model Spec
func (*Spec) ContextValidate ¶
ContextValidate validate this spec based on the context it is used
func (*Spec) MarshalBinary ¶
MarshalBinary interface implementation
func (*Spec) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type State ¶
type State string
State state
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 { // The CA cert to use for the targets. CaFile string `json:"ca_file,omitempty"` // The client cert file for the targets. CertFile string `json:"cert_file,omitempty"` // Disable target certificate validation. InsecureSkipVerify bool `json:"insecure_skip_verify,omitempty"` // The client key file for the targets. KeyFile string `json:"key_file,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 d t o 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 d t o
swagger:model TeamDTO
func (*TeamDTO) ContextValidate ¶
ContextValidate validate this team d t o 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 d t o
swagger:model TeamGroupDTO
func (*TeamGroupDTO) ContextValidate ¶
ContextValidate validates this team group d t o 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 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 d t o
swagger:model TeamMemberDTO
func (*TeamMemberDTO) ContextValidate ¶
ContextValidate validate this team member d t o 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 d t o
swagger:model TempUserDTO
func (*TempUserDTO) ContextValidate ¶
ContextValidate validate this temp user d t o 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 { // days of month DaysOfMonth []string `json:"days_of_month"` // location Location string `json:"location,omitempty"` // months Months []string `json:"months"` // times Times []*TimeRange `json:"times"` // weekdays Weekdays []string `json:"weekdays"` // years Years []string `json:"years"` }
TimeInterval TimeInterval describes intervals of time. ContainsTime will tell you if a golang time is contained within the interval.
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 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 TimeRangeDTO ¶
type TimeRangeDTO struct { // from From string `json:"from,omitempty"` // to To string `json:"to,omitempty"` }
TimeRangeDTO time range d t o
swagger:model TimeRangeDTO
func (*TimeRangeDTO) ContextValidate ¶
ContextValidate validates this time range d t o based on context it is used
func (*TimeRangeDTO) MarshalBinary ¶
func (m *TimeRangeDTO) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TimeRangeDTO) UnmarshalBinary ¶
func (m *TimeRangeDTO) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Token ¶
type Token struct { // account Account string `json:"account,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 d t o
swagger:model TokenDTO
func (*TokenDTO) ContextValidate ¶
ContextValidate validates this token d t o 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 TrimDashboardCommand ¶
type TrimDashboardCommand struct { // dashboard Dashboard JSON `json:"dashboard,omitempty"` // meta Meta JSON `json:"meta,omitempty"` }
TrimDashboardCommand trim dashboard command
swagger:model TrimDashboardCommand
func (*TrimDashboardCommand) ContextValidate ¶
ContextValidate validates this trim dashboard command based on context it is used
func (*TrimDashboardCommand) MarshalBinary ¶
func (m *TrimDashboardCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TrimDashboardCommand) UnmarshalBinary ¶
func (m *TrimDashboardCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TrimDashboardFullWithMeta ¶
type TrimDashboardFullWithMeta struct { // dashboard Dashboard JSON `json:"dashboard,omitempty"` // meta Meta JSON `json:"meta,omitempty"` }
TrimDashboardFullWithMeta trim dashboard full with meta
swagger:model TrimDashboardFullWithMeta
func (*TrimDashboardFullWithMeta) ContextValidate ¶
func (m *TrimDashboardFullWithMeta) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this trim dashboard full with meta based on context it is used
func (*TrimDashboardFullWithMeta) MarshalBinary ¶
func (m *TrimDashboardFullWithMeta) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TrimDashboardFullWithMeta) UnmarshalBinary ¶
func (m *TrimDashboardFullWithMeta) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Type ¶
type Type string
Type type
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 URL is a custom URL type that allows validation at configuration load time.
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 UpdateAlertNotificationCommand ¶
type UpdateAlertNotificationCommand struct { // disable resolve message DisableResolveMessage bool `json:"disableResolveMessage,omitempty"` // frequency Frequency string `json:"frequency,omitempty"` // id ID int64 `json:"id,omitempty"` // is default IsDefault bool `json:"isDefault,omitempty"` // name Name string `json:"name,omitempty"` // secure settings SecureSettings map[string]string `json:"secureSettings,omitempty"` // send reminder SendReminder bool `json:"sendReminder,omitempty"` // settings Settings JSON `json:"settings,omitempty"` // type Type string `json:"type,omitempty"` // uid UID string `json:"uid,omitempty"` }
UpdateAlertNotificationCommand update alert notification command
swagger:model UpdateAlertNotificationCommand
func (*UpdateAlertNotificationCommand) ContextValidate ¶
func (m *UpdateAlertNotificationCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update alert notification command based on context it is used
func (*UpdateAlertNotificationCommand) MarshalBinary ¶
func (m *UpdateAlertNotificationCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateAlertNotificationCommand) UnmarshalBinary ¶
func (m *UpdateAlertNotificationCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateAlertNotificationWithUIDCommand ¶
type UpdateAlertNotificationWithUIDCommand struct { // disable resolve message DisableResolveMessage bool `json:"disableResolveMessage,omitempty"` // frequency Frequency string `json:"frequency,omitempty"` // is default IsDefault bool `json:"isDefault,omitempty"` // name Name string `json:"name,omitempty"` // secure settings SecureSettings map[string]string `json:"secureSettings,omitempty"` // send reminder SendReminder bool `json:"sendReminder,omitempty"` // settings Settings JSON `json:"settings,omitempty"` // type Type string `json:"type,omitempty"` // uid UID string `json:"uid,omitempty"` }
UpdateAlertNotificationWithUIDCommand update alert notification with Uid command
swagger:model UpdateAlertNotificationWithUidCommand
func (*UpdateAlertNotificationWithUIDCommand) ContextValidate ¶
func (m *UpdateAlertNotificationWithUIDCommand) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update alert notification with Uid command based on context it is used
func (*UpdateAlertNotificationWithUIDCommand) MarshalBinary ¶
func (m *UpdateAlertNotificationWithUIDCommand) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateAlertNotificationWithUIDCommand) UnmarshalBinary ¶
func (m *UpdateAlertNotificationWithUIDCommand) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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"` }
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 o k 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 o k 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 o k 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 o k 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"` // NewUID it's an optional parameter used for overriding the existing folder UID // Starting with 10.0, this is deprecated. It will be removed in a future release. // Please avoid using it because it can result in folder loosing its permissions. UID string `json:"uid,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"` // 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 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 o k body
swagger:model updateServiceAccountOKBody
func (*UpdateServiceAccountOKBody) ContextValidate ¶
func (m *UpdateServiceAccountOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update service account o k 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 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"` // user Id UserID int64 `json:"userId,omitempty"` }
UserLookupDTO user lookup d t o
swagger:model UserLookupDTO
func (*UserLookupDTO) ContextValidate ¶
ContextValidate validates this user lookup d t o 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 d t o
swagger:model UserOrgDTO
func (*UserOrgDTO) ContextValidate ¶
ContextValidate validates this user org d t o 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"` // 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"` // updated at // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"` }
UserProfileDTO user profile d t o
swagger:model UserProfileDTO
func (*UserProfileDTO) ContextValidate ¶
ContextValidate validates this user profile d t o 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"` }
UserSearchHitDTO user search hit d t o
swagger:model UserSearchHitDTO
func (*UserSearchHitDTO) ContextValidate ¶
ContextValidate validates this user search hit d t o 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"` // 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 { // msg // Example: error message Msg string `json:"msg,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 model.Samples, 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_d_t_o.go
- active_user_stats.go
- add_command.go
- add_data_source_command.go
- add_data_source_o_k_body.go
- add_invite_form.go
- add_org_user_command.go
- add_permission_o_k_body.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_list_item_d_t_o.go
- alert_manager.go
- alert_managers_result.go
- alert_notification.go
- alert_notification_lookup.go
- alert_query.go
- alert_query_export.go
- alert_rule_export.go
- alert_rule_group.go
- alert_rule_group_export.go
- alert_state_info_d_t_o.go
- alert_state_type.go
- alert_status.go
- alert_test_command.go
- alert_test_result.go
- alert_test_result_log.go
- alerting_file_export.go
- alerting_rule.go
- alertmanager_config.go
- annotation_actions.go
- annotation_permission.go
- api_key_d_t_o.go
- authorization.go
- basic_auth.go
- branding_options_d_t_o.go
- calculate_dashboard_diff_params_body.go
- calculate_diff_target.go
- change_user_password_command.go
- clear_help_flags_o_k_body.go
- cluster_status.go
- conf_float64.go
- config_d_t_o.go
- contact_points.go
- cookie_type.go
- correlation.go
- correlation_config.go
- correlation_config_type.go
- correlation_config_update_d_t_o.go
- counter_reset_hint.go
- create_alert_notification_command.go
- create_correlation_command.go
- create_correlation_response_body.go
- create_dashboard_snapshot_command.go
- create_dashboard_snapshot_o_k_body.go
- create_folder_command.go
- create_library_element_command.go
- create_or_update_config_cmd.go
- create_org_command.go
- create_org_o_k_body.go
- create_playlist_command.go
- create_query_in_query_history_command.go
- create_report_o_k_body.go
- create_role_form.go
- create_service_account_form.go
- create_team_command.go
- create_team_o_k_body.go
- custom_permissions_record_d_t_o.go
- dashboard_acl_info_d_t_o.go
- dashboard_acl_update_item.go
- dashboard_d_t_o.go
- dashboard_full_with_meta.go
- dashboard_meta.go
- dashboard_report_d_t_o.go
- dashboard_snapshot_d_t_o.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_d_t_o.go
- data_source_permission_rule_d_t_o.go
- data_source_permissions_d_t_o.go
- data_topic.go
- delete_alert_notification_channel_by_uid_o_k_body.go
- delete_correlation_response_body.go
- delete_dashboard_by_uid_o_k_body.go
- delete_data_source_by_name_o_k_body.go
- delete_folder_o_k_body.go
- delete_token_command.go
- descendant_counts.go
- disable_permissions_o_k_body.go
- discord_config.go
- ds_access.go
- ds_permission_type.go
- duration.go
- email_config.go
- embedded_contact_point.go
- enable_permissions_o_k_body.go
- enum_field_config.go
- error_response_body.go
- error_type.go
- eval_alert_condition_command.go
- eval_match.go
- explore_panels_state.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
- frame.go
- frame_labels.go
- frame_meta.go
- frame_type.go
- frame_type_version.go
- frames.go
- get_annotation_tags_response.go
- get_data_source_id_by_name_o_k_body.go
- get_home_dashboard_response.go
- get_home_dashboard_response_all_of0.go
- get_home_dashboard_response_all_of1.go
- get_sharing_options_o_k_body.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_rule_group_config.go
- gettable_silence.go
- global_config.go
- header.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
- integration.go
- internal_data_link.go
- item.go
- item_d_t_o.go
- item_type.go
- json.go
- label.go
- label_name.go
- label_names.go
- label_set.go
- label_value.go
- labels.go
- legacy_alert.go
- library_element_connection_d_t_o.go
- library_element_connections_response.go
- library_element_d_t_o.go
- library_element_d_t_o_meta.go
- library_element_d_t_o_meta_user.go
- library_element_response.go
- library_element_search_response.go
- library_element_search_result.go
- link_transformation_config.go
- list_sort_options_o_k_body.go
- mass_delete_annotations_cmd.go
- match_regexps.go
- match_type.go
- matcher.go
- matchers.go
- metadata.go
- metric_request.go
- migrate_queries_to_query_history_command.go
- move_folder_command.go
- mute_time_interval.go
- mute_timings.go
- new_api_key_result.go
- notice.go
- notice_severity.go
- notification_template.go
- notification_template_content.go
- notification_templates.go
- notification_test_command.go
- o_auth2.go
- object_matchers.go
- ops_genie_config.go
- ops_genie_config_responder.go
- org_d_t_o.go
- org_details_d_t_o.go
- org_user_d_t_o.go
- override_labels.go
- pagerduty_config.go
- pagerduty_image.go
- pagerduty_link.go
- patch_annotations_cmd.go
- patch_library_element_command.go
- patch_prefs_cmd.go
- patch_query_comment_in_query_history_command.go
- pause_alert_command.go
- pause_alert_o_k_body.go
- pause_all_alerts_command.go
- pause_all_alerts_o_k_body.go
- peer_status.go
- permission.go
- permission_type.go
- playlist.go
- playlist_dashboard.go
- playlist_dashboards_slice.go
- playlist_item.go
- playlists.go
- post_annotation_o_k_body.go
- post_annotations_cmd.go
- post_dashboard_o_k_body.go
- post_graphite_annotation_o_k_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
- pushover_config.go
- query_data_response.go
- query_history_d_t_o.go
- query_history_delete_query_response.go
- query_history_migration_response.go
- query_history_preference.go
- query_history_response.go
- query_history_search_response.go
- query_history_search_result.go
- query_stat.go
- query_to_migrate.go
- quota_d_t_o.go
- raw_message.go
- receiver.go
- recording_rule_json.go
- regexp.go
- relative_time_range.go
- report_email_d_t_o.go
- report_options_d_t_o.go
- response_details.go
- responses.go
- restore_dashboard_version_by_id_o_k_body.go
- restore_dashboard_version_by_uid_o_k_body.go
- restore_dashboard_version_command.go
- revoke_auth_token_cmd.go
- role_assignments_d_t_o.go
- role_d_t_o.go
- route.go
- rule_discovery.go
- rule_group.go
- rule_type.go
- s_n_s_config.go
- sample.go
- save_dashboard_command.go
- schedule_d_t_o.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_d_t_o.go
- service_account_profile_d_t_o.go
- set_help_flag_o_k_body.go
- set_role_assignments_command.go
- set_user_roles_command.go
- settings_bag.go
- settings_d_t_o.go
- sig_v4_config.go
- silence_status.go
- slack_action.go
- slack_config.go
- slack_confirmation_field.go
- slack_field.go
- span.go
- spec.go
- state.go
- status.go
- success_response_body.go
- supported_transformation_types.go
- sync_result.go
- tags_d_t_o.go
- team_d_t_o.go
- team_group_d_t_o.go
- team_group_mapping.go
- team_member_d_t_o.go
- telegram_config.go
- temp_user_d_t_o.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_range.go
- time_range_d_t_o.go
- tls_config.go
- tls_version.go
- token.go
- token_d_t_o.go
- token_status.go
- transformation.go
- transformations.go
- trim_dashboard_command.go
- trim_dashboard_full_with_meta.go
- type.go
- update_alert_notification_command.go
- update_alert_notification_with_uid_command.go
- update_annotations_cmd.go
- update_correlation_command.go
- update_correlation_response_body.go
- update_dashboard_acl_command.go
- update_data_source_by_id_o_k_body.go
- update_data_source_by_uid_o_k_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_quota_cmd.go
- update_role_command.go
- update_service_account_form.go
- update_service_account_o_k_body.go
- update_team_command.go
- update_team_member_command.go
- update_user_command.go
- url.go
- user_lookup_d_t_o.go
- user_org_d_t_o.go
- user_profile_d_t_o.go
- user_search_hit_d_t_o.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