Versions in this module Expand all Collapse all v0 v0.9.4 Aug 17, 2022 Changes in this version + const ErrAlerting + const ErrError + const ErrOK + const NoData + const NoDataAlerting + const NoDataOk + type Alert struct + DashboardID int64 + DashboardSlug string + DashboardUID string + EvalDate string + ExecutionError string + ID int64 + Name string + NewStateDate string + PanelID int64 + State string + URL string + type AlertNotification struct + DisableResolveMessage bool + Frequency string + ID int64 + IsDefault bool + Name string + SecureFields interface{} + SecureSettings interface{} + SendReminder bool + Settings interface{} + Type string + UID string + type AlertQuery struct + DatasourceUID string + Model interface{} + QueryType string + RefID string + RelativeTimeRange RelativeTimeRange + type AlertRule struct + Annotations map[string]string + Condition string + Data []*AlertQuery + ExecErrState ExecErrState + FolderUID string + For string + ForDuration time.Duration + ID int64 + Labels map[string]string + NoDataState NoDataState + OrgID int64 + Provenance string + RuleGroup string + Title string + UID string + Updated time.Time + type AlertingMessageTemplate struct + Name string + Template string + type Annotation struct + AlertID int64 + DashboardID int64 + ID int64 + IsRegion bool + Metric string + NewState string + PanelID int64 + PrevState string + RegionID int64 + Tags []string + Text string + Time int64 + TimeEnd int64 + Type string + UserID int64 + UserName string + type BuiltInRoleAssignment struct + BuiltinRole string + Global bool + RoleUID string + type Client struct + func New(baseURL string, cfg Config) (*Client, error) + func (c *Client) AddDatasourcePermission(id int64, item *DatasourcePermissionAddPayload) error + func (c *Client) AddOrgUser(orgID int64, user, role string) error + func (c *Client) AddTeam(name string, email string) (int64, error) + func (c *Client) AddTeamMember(id int64, userID int64) error + func (c *Client) Alert(id int64) (Alert, error) + func (c *Client) AlertNotification(id int64) (*AlertNotification, error) + func (c *Client) AlertNotifications() ([]AlertNotification, error) + func (c *Client) AlertRule(uid string) (AlertRule, error) + func (c *Client) AlertRuleGroup(folderUID string, name string) (RuleGroup, error) + func (c *Client) Alerts(params url.Values) ([]Alert, error) + func (c *Client) Annotations(params url.Values) ([]Annotation, error) + func (c *Client) ContactPoint(uid string) (ContactPoint, error) + func (c *Client) ContactPoints() ([]ContactPoint, error) + func (c *Client) ContactPointsByName(name string) ([]ContactPoint, error) + func (c *Client) CreateAPIKey(request CreateAPIKeyRequest) (CreateAPIKeyResponse, error) + func (c *Client) CreateCloudAPIKey(org string, input *CreateCloudAPIKeyInput) (*CloudAPIKey, error) + func (c *Client) CreateGrafanaAPIKeyFromCloud(stack string, input *CreateAPIKeyRequest) (*CreateAPIKeyResponse, error) + func (c *Client) CreateServiceAccount(request CreateServiceAccountRequest) (*ServiceAccountDTO, error) + func (c *Client) CreateServiceAccountToken(request CreateServiceAccountTokenRequest) (*CreateServiceAccountTokenResponse, error) + func (c *Client) CreateTemporaryStackGrafanaClient(stackSlug, tempKeyPrefix string, tempKeyDuration time.Duration) (tempClient *Client, cleanup func() error, err error) + func (c *Client) CreateUser(user User) (int64, error) + func (c *Client) Dashboard(slug string) (*Dashboard, error) + func (c *Client) DashboardByUID(uid string) (*Dashboard, error) + func (c *Client) DashboardPermissions(id int64) ([]*DashboardPermission, error) + func (c *Client) Dashboards() ([]FolderDashboardSearchResponse, error) + func (c *Client) DashboardsByIDs(ids []int64) ([]FolderDashboardSearchResponse, error) + func (c *Client) DataSource(id int64) (*DataSource, error) + func (c *Client) DataSourceByUID(uid string) (*DataSource, error) + func (c *Client) DataSourceIDByName(name string) (int64, error) + func (c *Client) DataSources() ([]*DataSource, error) + func (c *Client) DatasourcePermissions(id int64) (*DatasourcePermissionsResponse, error) + func (c *Client) DeleteAPIKey(id int64) (DeleteAPIKeyResponse, error) + func (c *Client) DeleteAlertNotification(id int64) error + func (c *Client) DeleteAlertRule(uid string) error + func (c *Client) DeleteAnnotation(id int64) (string, error) + func (c *Client) DeleteAnnotationByRegionID(id int64) (string, error) + func (c *Client) DeleteBuiltInRoleAssignment(builtInRole BuiltInRoleAssignment) error + func (c *Client) DeleteCloudAPIKey(org string, keyName string) error + func (c *Client) DeleteContactPoint(uid string) error + func (c *Client) DeleteDashboard(slug string) error + func (c *Client) DeleteDashboardByUID(uid string) error + func (c *Client) DeleteDataSource(id int64) error + func (c *Client) DeleteFolder(id string) error + func (c *Client) DeleteLibraryPanel(uid string) (*LibraryPanelDeleteResponse, error) + func (c *Client) DeleteMessageTemplate(name string) error + func (c *Client) DeleteMuteTiming(name string) error + func (c *Client) DeleteOrg(id int64) error + func (c *Client) DeletePlaylist(idOrUID string) error + func (c *Client) DeleteReport(id int64) error + func (c *Client) DeleteRole(uid string, global bool) error + func (c *Client) DeleteServiceAccount(serviceAccountID int64) (*DeleteServiceAccountResponse, error) + func (c *Client) DeleteServiceAccountToken(serviceAccountID, tokenID int64) (*DeleteServiceAccountResponse, error) + func (c *Client) DeleteStack(stackSlug string) error + func (c *Client) DeleteTeam(id int64) error + func (c *Client) DeleteTeamGroup(id int64, groupID string) error + func (c *Client) DeleteUser(id int64) error + func (c *Client) DisableDatasourcePermissions(id int64) error + func (c *Client) EnableDatasourcePermissions(id int64) error + func (c *Client) Folder(id int64) (*Folder, error) + func (c *Client) FolderByUID(uid string) (*Folder, error) + func (c *Client) FolderDashboardSearch(params url.Values) (resp []FolderDashboardSearchResponse, err error) + func (c *Client) FolderPermissions(fid string) ([]*FolderPermission, error) + func (c *Client) Folders() ([]Folder, error) + func (c *Client) GetAPIKeys(includeExpired bool) ([]*GetAPIKeysResponse, error) + func (c *Client) GetBuiltInRoleAssignments() (map[string][]*Role, error) + func (c *Client) GetCloudPluginInstallation(stackSlug string, pluginSlug string) (*CloudPluginInstallation, error) + func (c *Client) GetCloudRegionBySlug(slug string) (CloudRegion, error) + func (c *Client) GetCloudRegions() (CloudRegionsResponse, error) + func (c *Client) GetRole(uid string) (*Role, error) + func (c *Client) GetServiceAccountTokens(serviceAccountID int64) ([]GetServiceAccountTokensResponse, error) + func (c *Client) GetServiceAccounts() ([]ServiceAccountDTO, error) + func (c *Client) InstallCloudPlugin(stackSlug string, pluginSlug string, pluginVersion string) (*CloudPluginInstallation, error) + func (c *Client) IsCloudPluginInstalled(stackSlug string, pluginSlug string) (bool, error) + func (c *Client) LibraryPanelByName(name string) (*LibraryPanel, error) + func (c *Client) LibraryPanelByUID(uid string) (*LibraryPanel, error) + func (c *Client) LibraryPanelConnectedDashboards(uid string) ([]FolderDashboardSearchResponse, error) + func (c *Client) LibraryPanelConnections(uid string) (*[]LibraryPanelConnection, error) + func (c *Client) LibraryPanels() ([]LibraryPanel, error) + func (c *Client) ListCloudAPIKeys(org string) (*ListCloudAPIKeysOutput, error) + func (c *Client) MessageTemplate(name string) (*AlertingMessageTemplate, error) + func (c *Client) MessageTemplates() ([]AlertingMessageTemplate, error) + func (c *Client) MuteTiming(name string) (MuteTiming, error) + func (c *Client) MuteTimings() ([]MuteTiming, error) + func (c *Client) NewAlertNotification(a *AlertNotification) (int64, error) + func (c *Client) NewAlertRule(ar *AlertRule) (string, error) + func (c *Client) NewAnnotation(a *Annotation) (int64, error) + func (c *Client) NewBuiltInRoleAssignment(builtInRoleAssignment BuiltInRoleAssignment) (*BuiltInRoleAssignment, error) + func (c *Client) NewContactPoint(p *ContactPoint) (string, error) + func (c *Client) NewDashboard(dashboard Dashboard) (*DashboardSaveResponse, error) + func (c *Client) NewDataSource(s *DataSource) (int64, error) + func (c *Client) NewDataSourceFromRawData(data []byte) (int64, error) + func (c *Client) NewFolder(title string, uid ...string) (Folder, error) + func (c *Client) NewGraphiteAnnotation(gfa *GraphiteAnnotation) (int64, error) + func (c *Client) NewLibraryPanel(panel LibraryPanel) (*LibraryPanel, error) + func (c *Client) NewMuteTiming(mt *MuteTiming) error + func (c *Client) NewOrg(name string) (int64, error) + func (c *Client) NewPlaylist(playlist Playlist) (string, error) + func (c *Client) NewReport(report Report) (int64, error) + func (c *Client) NewRole(role Role) (*Role, error) + func (c *Client) NewSnapshot(snapshot Snapshot) (*SnapshotCreateResponse, error) + func (c *Client) NewStack(stack *CreateStackInput) (int64, error) + func (c *Client) NewTeamGroup(id int64, groupID string) error + func (c *Client) NotificationPolicyTree() (NotificationPolicyTree, error) + func (c *Client) Org(id int64) (Org, error) + func (c *Client) OrgByName(name string) (Org, error) + func (c *Client) OrgUsers(orgID int64) ([]OrgUser, error) + func (c *Client) OrgUsersCurrent() ([]OrgUser, error) + func (c *Client) Orgs() ([]Org, error) + func (c *Client) PatchAnnotation(id int64, a *Annotation) (string, error) + func (c *Client) PatchLibraryPanel(uid string, panel LibraryPanel) (*LibraryPanel, error) + func (c *Client) PauseAlert(id int64) (PauseAlertResponse, error) + func (c *Client) PauseAllAlerts() (PauseAllAlertsResponse, error) + func (c *Client) Playlist(idOrUID string) (*Playlist, error) + func (c *Client) PluginByID(pluginID int64) (*Plugin, error) + func (c *Client) PluginBySlug(slug string) (*Plugin, error) + func (c *Client) RemoveDatasourcePermission(id, permissionID int64) error + func (c *Client) RemoveMemberFromTeam(id int64, userID int64) error + func (c *Client) RemoveOrgUser(orgID, userID int64) error + func (c *Client) Report(id int64) (*Report, error) + func (c *Client) ResetNotificationPolicyTree() error + func (c *Client) SaveDashboard(model map[string]interface{}, overwrite bool) (*DashboardSaveResponse, error) + func (c *Client) SearchTeam(query string) (*SearchTeam, error) + func (c *Client) SetAlertRuleGroup(group RuleGroup) error + func (c *Client) SetMessageTemplate(name, content string) error + func (c *Client) SetNotificationPolicyTree(np *NotificationPolicyTree) error + func (c *Client) StackByID(id int64) (Stack, error) + func (c *Client) StackBySlug(slug string) (Stack, error) + func (c *Client) Stacks() (StackItems, error) + func (c *Client) Team(id int64) (*Team, error) + func (c *Client) TeamGroups(id int64) ([]TeamGroup, error) + func (c *Client) TeamMembers(id int64) ([]*TeamMember, error) + func (c *Client) TeamPreferences(id int64) (*Preferences, error) + func (c *Client) UninstallCloudPlugin(stackSlug string, pluginSlug string) error + func (c *Client) UpdateAlertNotification(a *AlertNotification) error + func (c *Client) UpdateAlertRule(ar *AlertRule) error + func (c *Client) UpdateAnnotation(id int64, a *Annotation) (string, error) + func (c *Client) UpdateContactPoint(p *ContactPoint) error + func (c *Client) UpdateDashboardPermissions(id int64, items *PermissionItems) error + func (c *Client) UpdateDataSource(s *DataSource) error + func (c *Client) UpdateDataSourceFromRawData(id int64, data []byte) error + func (c *Client) UpdateFolder(uid string, title string, newUID ...string) error + func (c *Client) UpdateFolderPermissions(fid string, items *PermissionItems) error + func (c *Client) UpdateMuteTiming(mt *MuteTiming) error + func (c *Client) UpdateOrg(id int64, name string) error + func (c *Client) UpdateOrgUser(orgID, userID int64, role string) error + func (c *Client) UpdatePlaylist(playlist Playlist) error + func (c *Client) UpdateReport(report Report) error + func (c *Client) UpdateRole(role Role) error + func (c *Client) UpdateServiceAccount(serviceAccountID int64, request UpdateServiceAccountRequest) (*ServiceAccountDTO, error) + func (c *Client) UpdateStack(id int64, stack *UpdateStackInput) error + func (c *Client) UpdateTeam(id int64, name string, email string) error + func (c *Client) UpdateTeamPreferences(id int64, preferences Preferences) error + func (c *Client) UpdateUserPassword(id int64, password string) error + func (c *Client) UpdateUserPermissions(id int64, isAdmin bool) error + func (c *Client) User(id int64) (user User, err error) + func (c *Client) UserByEmail(email string) (user User, err error) + func (c *Client) UserUpdate(u User) error + func (c *Client) Users() (users []UserSearch, err error) + type CloudAPIKey struct + Expiration string + ID int + Name string + Role string + Token string + type CloudPluginInstallation struct + ID int + InstanceID int + InstanceSlug string + InstanceURL string + PluginID int + PluginName string + PluginSlug string + Version string + type CloudRegion struct + AMClusterID int + AMClusterName string + AMClusterSlug string + AMClusterURL string + CreatedAt string + Description string + HGClusterID int + HGClusterName string + HGClusterSlug string + HGClusterURL string + HLClusterID int + HLClusterName string + HLClusterSlug string + HLClusterURL string + HMGraphiteClusterID int + HMGraphiteClusterName string + HMGraphiteClusterSlug string + HMGraphiteClusterURL string + HMPromClusterID int + HMPromClusterName string + HMPromClusterSlug string + HMPromClusterURL string + HTClusterID int + HTClusterName string + HTClusterSlug string + HTClusterURL string + HostedExportersAPIURL string + ID int + IncidentsAPIURL string + IntegrationsAPIURL string + MachineLearningAPIURL string + Name string + Slug string + StackStateServiceURL string + Status string + SyntheticMonitoringAPIURL string + UpdatedAt string + Visibility string + type CloudRegionsResponse struct + Items []CloudRegion + type Config struct + APIKey string + BasicAuth *url.Userinfo + Client *http.Client + HTTPHeaders map[string]string + NumRetries int + OrgID int64 + type ContactPoint struct + DisableResolveMessage bool + Name string + Provenance string + Settings map[string]interface{} + Type string + UID string + type CreateAPIKeyRequest struct + Name string + Role string + SecondsToLive int64 + type CreateAPIKeyResponse struct + ID int64 + Key string + Name string + type CreateCloudAPIKeyInput struct + Name string + Role string + type CreateServiceAccountRequest struct + IsDisabled *bool + Name string + Role string + type CreateServiceAccountTokenRequest struct + Name string + SecondsToLive int64 + ServiceAccountID int64 + type CreateServiceAccountTokenResponse struct + ID int64 + Key string + Name string + type CreateStackInput struct + Description string + Name string + Region string + Slug string + URL string + type Dashboard struct + Folder int64 + Message string + Meta DashboardMeta + Model map[string]interface{} + Overwrite bool + type DashboardMeta struct + Folder int64 + IsStarred bool + Slug string + URL string + type DashboardPermission struct + DashboardID int64 + DashboardUID string + Inherited bool + IsFolder bool + Permission int64 + PermissionName string + Role string + TeamID int64 + UserID int64 + type DashboardSaveResponse struct + ID int64 + Slug string + Status string + UID string + Version int64 + type DataSource struct + Access string + BasicAuth bool + BasicAuthPassword string + BasicAuthUser string + Database string + HTTPHeaders map[string]string + ID int64 + IsDefault bool + JSONData JSONData + Name string + OrgID int64 + Password string + ReadOnly bool + SecureJSONData SecureJSONData + Type string + UID string + URL string + User string + func (ds *DataSource) MarshalJSON() ([]byte, error) + func (ds *DataSource) UnmarshalJSON(b []byte) (err error) + type DatasourcePermission struct + DatasourceID int64 + ID int64 + Permission DatasourcePermissionType + PermissionName string + TeamID int64 + UserEmail string + UserID int64 + type DatasourcePermissionAddPayload struct + Permission DatasourcePermissionType + TeamID int64 + UserID int64 + type DatasourcePermissionType int + const DatasourcePermissionQuery + type DatasourcePermissionsResponse struct + DatasourceID int64 + Enabled bool + Permissions []*DatasourcePermission + type DayOfMonthRange string + type DeleteAPIKeyResponse struct + Message string + type DeleteServiceAccountResponse struct + Message string + type ExecErrState string + type Folder struct + ID int64 + Title string + UID string + URL string + type FolderDashboardSearchResponse struct + FolderID uint + FolderTitle string + FolderUID string + FolderURL string + ID uint + IsStarred bool + Slug string + Tags []string + Title string + Type string + UID string + URI string + URL string + type FolderPayload struct + Overwrite bool + Title string + UID string + type FolderPermission struct + DashboardID int64 + FolderID int64 + FolderUID string + ID int64 + IsFolder bool + Permission int64 + PermissionName string + Role string + TeamID int64 + UserID int64 + type GetAPIKeysResponse struct + Expiration time.Time + ID int64 + Name string + Role string + type GetServiceAccountTokensResponse struct + Created time.Time + Expiration *time.Time + HasExpired bool + ID int64 + Name string + SecondsUntilExpiration *float64 + type GraphiteAnnotation struct + Data string + Tags []string + What string + When int64 + type JSONData struct + AlertmanagerUID string + AssumeRoleArn string + AuthType string + AuthenticationType string + AzureLogAnalyticsSameAs bool + Catalog string + ClientEmail string + ClientID string + CloudName string + ConnMaxLifetime int64 + CustomMetricsNamespaces string + Database string + DefaultBucket string + DefaultProject string + DefaultRegion string + DerivedFields []LokiDerivedField + Encrypt string + Endpoint string + EsVersion string + ExternalID string + GitHubURL string + GraphiteVersion string + HTTPMethod string + Implementation string + Interval string + LogAnalyticsClientID string + LogAnalyticsDefaultWorkspace string + LogAnalyticsTenantID string + LogLevelField string + LogMessageField string + ManageAlerts bool + MaxConcurrentShardRequests int64 + MaxIdleConns int64 + MaxLines int + MaxOpenConns int64 + OrgSlug string + Organization string + OutputLocation string + PostgresVersion int64 + Profile string + QueryTimeout string + SigV4AssumeRoleArn string + SigV4Auth bool + SigV4AuthType string + SigV4ExternalID string + SigV4Profile string + SigV4Region string + Sslmode string + SubscriptionID string + TLSAuth bool + TLSAuthWithCACert bool + TLSConfigurationMethod string + TLSSkipVerify bool + TenantID string + TimeField string + TimeInterval string + Timescaledb bool + TokenURI string + TracingDatasourceUID string + TsdbResolution int64 + TsdbVersion int64 + URL string + Version string + Workgroup string + XpackEnabled bool + func (jd *JSONData) UnmarshalJSON(b []byte) (err error) + func (jd JSONData) MarshalJSON() ([]byte, error) + type LibraryPanel struct + Description string + Folder int64 + ID int64 + Kind int64 + Meta LibraryPanelMeta + Model map[string]interface{} + Name string + OrgID int64 + Type string + UID string + Version int64 + type LibraryPanelConnection struct + Created time.Time + CreatedBy LibraryPanelMetaUser + DashboardID int64 + ID int64 + Kind int64 + PanelID int64 + type LibraryPanelCreateResponse struct + Result LibraryPanel + type LibraryPanelDeleteResponse struct + ID int64 + Message string + type LibraryPanelGetAllResponse struct + Elements []LibraryPanel + Page int64 + PerPage int64 + TotalCount int64 + type LibraryPanelMeta struct + ConnectedDashboards int64 + Created time.Time + CreatedBy LibraryPanelMetaUser + FolderName string + FolderUID string + Updated time.Time + UpdatedBy LibraryPanelMetaUser + type LibraryPanelMetaUser struct + AvatarURL string + ID int64 + Name string + type ListCloudAPIKeysOutput struct + Items []*CloudAPIKey + type LokiDerivedField struct + DatasourceUID string + MatcherRegex string + Name string + URL string + type MatchType int + const MatchEqual + const MatchNotEqual + const MatchNotRegexp + const MatchRegexp + func (m MatchType) String() string + type Matcher struct + Name string + Type MatchType + Value string + type Matchers []Matcher + func (m *Matchers) UnmarshalJSON(data []byte) error + func (m Matchers) MarshalJSON() ([]byte, error) + type MonthRange string + type MuteTiming struct + Name string + Provenance string + TimeIntervals []TimeInterval + type NoDataState string + type NotificationPolicyTree struct + GroupBy []string + GroupInterval string + GroupWait string + Provenance string + Receiver string + RepeatInterval string + Routes []SpecificPolicy + type Org struct + ID int64 + Name string + type OrgUser struct + Email string + Login string + OrgID int64 + Role string + UserID int64 + type PauseAlertRequest struct + Paused bool + type PauseAlertResponse struct + AlertID int64 + Message string + State string + type PauseAllAlertsResponse struct + AlertsAffected int64 + Message string + State string + type Permission struct + Action string + Scope string + type PermissionItem struct + Permission int64 + Role string + TeamID int64 + UserID int64 + type PermissionItems struct + Items []*PermissionItem + type Playlist struct + ID int + Interval string + Items []PlaylistItem + Name string + UID string + func (p *Playlist) QueryID() string + type PlaylistItem struct + Order int + Title string + Type string + Value string + type Plugin struct + Description string + ID int + Name string + Slug string + Version string + type Preferences struct + HomeDashboardID int64 + Theme string + Timezone string + type RelativeTimeRange struct + From time.Duration + To time.Duration + type Report struct + DashboardID int64 + DashboardUID string + EnableCSV bool + EnableDashboardURL bool + ID int64 + Message string + Name string + Options ReportOptions + OrgID int64 + Recipients string + ReplyTo string + Schedule ReportSchedule + State string + UserID int64 + type ReportOptions struct + Layout string + Orientation string + TimeRange ReportTimeRange + type ReportSchedule struct + EndDate *time.Time + Frequency string + IntervalAmount int64 + IntervalFrequency string + StartDate *time.Time + TimeZone string + WorkdaysOnly bool + type ReportTimeRange struct + From string + To string + type RetrieveServiceAccountResponse struct + Page int64 + PerPage int64 + ServiceAccounts []ServiceAccountDTO + TotalCount int64 + type Role struct + Description string + DisplayName string + Global bool + Group string + Hidden bool + Name string + Permissions []Permission + UID string + Version int64 + type RuleGroup struct + FolderUID string + Interval int64 + Rules []AlertRule + Title string + type SearchTeam struct + Page int64 + PerPage int64 + Teams []*Team + TotalCount int64 + type SecureJSONData struct + AccessKey string + AccessToken string + AuthToken string + BasicAuthPassword string + ClientSecret string + Password string + PrivateKey string + SecretKey string + SigV4AccessKey string + SigV4SecretKey string + TLSCACert string + TLSClientCert string + TLSClientKey string + func (sjd SecureJSONData) MarshalJSON() ([]byte, error) + type ServiceAccountDTO struct + AvatarURL string + ID int64 + IsDisabled bool + Login string + Name string + OrgID int64 + Role string + Tokens int64 + type Snapshot struct + Expires int64 + Model map[string]interface{} + type SnapshotCreateResponse struct + DeleteKey string + DeleteURL string + ID int64 + Key string + URL string + type SpecificPolicy struct + Continue bool + GroupBy []string + GroupInterval string + GroupWait string + MuteTimeIntervals []string + ObjectMatchers Matchers + Receiver string + RepeatInterval string + Routes []SpecificPolicy + type Stack struct + AlertQuota int + AmInstanceGeneratorURL string + AmInstanceID int + AmInstanceName string + AmInstanceStatus string + AmInstanceURL string + BillableUserCnt int + BillingActiveUsers int + BillingEndDate time.Time + BillingStartDate time.Time + ClusterID int + ClusterName string + ClusterSlug string + CreatedAt time.Time + CreatedBy string + CurrentActiveAdminUsers int + CurrentActiveEditorUsers int + CurrentActiveUsers int + CurrentActiveViewerUsers int + CustomAuth bool + CustomDomain bool + DailyAdminCnt int + DailyEditorCnt int + DailyUserCnt int + DailyViewerCnt int + DashboardCnt int + DashboardQuota int + DatasourceCnts struct{} + Description string + Gateway string + HlInstanceCurrentUsage float64 + HlInstanceID int + HlInstanceName string + HlInstanceStatus string + HlInstanceURL string + HmInstanceGraphiteCurrentUsage float64 + HmInstanceGraphiteID int + HmInstanceGraphiteName string + HmInstanceGraphiteStatus string + HmInstanceGraphiteType string + HmInstanceGraphiteURL string + HmInstancePromCurrentActiveSeries int + HmInstancePromCurrentUsage float64 + HmInstancePromID int + HmInstancePromName string + HmInstancePromStatus string + HmInstancePromURL string + HtInstanceID int + HtInstanceName string + HtInstanceStatus string + HtInstanceURL string + ID int64 + Links []struct{ ... } + MachineLearning int + Name string + OrgID int64 + OrgName string + OrgSlug string + Plan string + PlanName string + RegionID int + RegionSlug string + RunningVersion string + Slug string + Ssl bool + Status string + Support bool + Trial int + TrialExpiresAt time.Time + URL string + UpdatedAt time.Time + UpdatedBy string + UserQuota int + Version string + type StackItems struct + Items []*Stack + type Team struct + AvatarURL string + Email string + ID int64 + MemberCount int64 + Name string + OrgID int64 + Permission int64 + type TeamGroup struct + GroupID string + OrgID int64 + TeamID int64 + type TeamMember struct + AvatarURL string + Email string + Login string + OrgID int64 + Permission int64 + TeamID int64 + UserID int64 + type TimeInterval struct + DaysOfMonth []DayOfMonthRange + Months []MonthRange + Times []TimeRange + Weekdays []WeekdayRange + Years []YearRange + type TimeRange struct + EndMinute string + StartMinute string + type UpdateServiceAccountRequest struct + IsDisabled *bool + Name string + Role string + type UpdateStackInput struct + Description string + Name string + Slug string + type User struct + AuthLabels []string + AvatarURL string + CreatedAt time.Time + Email string + ID int64 + IsAdmin bool + IsDisabled bool + IsExternal bool + Login string + Name string + OrgID int64 + Password string + Theme string + UpdatedAt time.Time + type UserSearch struct + AuthLabels []string + AvatarURL string + Email string + ID int64 + IsAdmin bool + IsDisabled bool + LastSeenAt time.Time + LastSeenAtAge string + Login string + Name string + type WeekdayRange string + type YearRange string