Versions in this module Expand all Collapse all v0 v0.6.0 Jan 21, 2022 v0.5.0 Jan 21, 2022 Changes in this version + func NewHttpClient() (*http.Client, error) + func NewSyntheticMonitoringClient() (*smapi.Client, error) + func SpecToCheck(r *grizzly.Resource) (synthetic_monitoring.Check, error) + type CTClient interface + type CTService struct + type Dashboard map[string]interface + func (d *Dashboard) UID() string + type DashboardHandler struct + Provider Provider + func NewDashboardHandler(provider Provider) *DashboardHandler + func (h *DashboardHandler) APIVersion() string + func (h *DashboardHandler) Add(resource grizzly.Resource) error + func (h *DashboardHandler) FindResourceFiles(dir string) ([]string, error) + func (h *DashboardHandler) GetByUID(UID string) (*grizzly.Resource, error) + func (h *DashboardHandler) GetExtension() string + func (h *DashboardHandler) GetRemote(resource grizzly.Resource) (*grizzly.Resource, error) + func (h *DashboardHandler) GetUID(resource grizzly.Resource) (string, error) + func (h *DashboardHandler) Kind() string + func (h *DashboardHandler) ListRemote() ([]string, error) + func (h *DashboardHandler) Parse(m manifest.Manifest) (grizzly.Resources, error) + func (h *DashboardHandler) Prepare(existing, resource grizzly.Resource) *grizzly.Resource + func (h *DashboardHandler) Preview(resource grizzly.Resource, opts *grizzly.PreviewOpts) error + func (h *DashboardHandler) ResourceFilePath(resource grizzly.Resource, filetype string) string + func (h *DashboardHandler) Unprepare(resource grizzly.Resource) *grizzly.Resource + func (h *DashboardHandler) Update(existing, resource grizzly.Resource) error + func (h *DashboardHandler) Validate(resource grizzly.Resource) error + type DashboardWrapper struct + Dashboard Dashboard + FolderID int64 + Meta struct{ ... } + Overwrite bool + func (d *DashboardWrapper) UID() string + type DatasourceHandler struct + Provider Provider + func NewDatasourceHandler(provider Provider) *DatasourceHandler + func (h *DatasourceHandler) APIVersion() string + func (h *DatasourceHandler) Add(resource grizzly.Resource) error + func (h *DatasourceHandler) FindResourceFiles(dir string) ([]string, error) + func (h *DatasourceHandler) GetByUID(UID string) (*grizzly.Resource, error) + func (h *DatasourceHandler) GetExtension() string + func (h *DatasourceHandler) GetRemote(resource grizzly.Resource) (*grizzly.Resource, error) + func (h *DatasourceHandler) GetUID(resource grizzly.Resource) (string, error) + func (h *DatasourceHandler) Kind() string + func (h *DatasourceHandler) ListRemote() ([]string, error) + func (h *DatasourceHandler) Parse(m manifest.Manifest) (grizzly.Resources, error) + func (h *DatasourceHandler) Prepare(existing, resource grizzly.Resource) *grizzly.Resource + func (h *DatasourceHandler) ResourceFilePath(resource grizzly.Resource, filetype string) string + func (h *DatasourceHandler) Unprepare(resource grizzly.Resource) *grizzly.Resource + func (h *DatasourceHandler) Update(existing, resource grizzly.Resource) error + func (h *DatasourceHandler) Validate(resource grizzly.Resource) error + type ErrNon200Response struct + Response *http.Response + Type string + UID string + func NewErrNon200Response(typ, uid string, resp *http.Response) ErrNon200Response + func (e ErrNon200Response) Error() string + type ErrUidsMissing []string + func (e ErrUidsMissing) Error() string + type Folder map[string]interface + func (f *Folder) ID() float64 + func (f *Folder) UID() string + type FolderHandler struct + Provider Provider + func NewFolderHandler(provider Provider) *FolderHandler + func (h *FolderHandler) APIVersion() string + func (h *FolderHandler) Add(resource grizzly.Resource) error + func (h *FolderHandler) FindResourceFiles(dir string) ([]string, error) + func (h *FolderHandler) GetByUID(UID string) (*grizzly.Resource, error) + func (h *FolderHandler) GetExtension() string + func (h *FolderHandler) GetRemote(resource grizzly.Resource) (*grizzly.Resource, error) + func (h *FolderHandler) GetUID(resource grizzly.Resource) (string, error) + func (h *FolderHandler) Kind() string + func (h *FolderHandler) ListRemote() ([]string, error) + func (h *FolderHandler) Parse(m manifest.Manifest) (grizzly.Resources, error) + func (h *FolderHandler) Prepare(existing, resource grizzly.Resource) *grizzly.Resource + func (h *FolderHandler) ResourceFilePath(resource grizzly.Resource, filetype string) string + func (h *FolderHandler) Unprepare(resource grizzly.Resource) *grizzly.Resource + func (h *FolderHandler) Update(existing, resource grizzly.Resource) error + func (h *FolderHandler) Validate(resource grizzly.Resource) error + type Probes struct + ByID map[int64]synthetic_monitoring.Probe + ByName map[string]synthetic_monitoring.Probe + type PrometheusRuleGroup struct + Name string + Namespace string + Rules []map[string]interface{} + type PrometheusRuleGrouping struct + Groups []PrometheusRuleGroup + Namespace string + type Provider struct + func (p *Provider) APIVersion() string + func (p *Provider) GetHandlers() []grizzly.Handler + func (p *Provider) Group() string + func (p *Provider) Version() string + type RuleHandler struct + Provider Provider + func NewRuleHandler(provider Provider) *RuleHandler + func (h *RuleHandler) APIVersion() string + func (h *RuleHandler) Add(resource grizzly.Resource) error + func (h *RuleHandler) FindResourceFiles(dir string) ([]string, error) + func (h *RuleHandler) GetByUID(UID string) (*grizzly.Resource, error) + func (h *RuleHandler) GetExtension() string + func (h *RuleHandler) GetRemote(resource grizzly.Resource) (*grizzly.Resource, error) + func (h *RuleHandler) GetUID(resource grizzly.Resource) (string, error) + func (h *RuleHandler) Kind() string + func (h *RuleHandler) ListRemote() ([]string, error) + func (h *RuleHandler) Parse(m manifest.Manifest) (grizzly.Resources, error) + func (h *RuleHandler) Prepare(existing, resource grizzly.Resource) *grizzly.Resource + func (h *RuleHandler) ResourceFilePath(resource grizzly.Resource, filetype string) string + func (h *RuleHandler) Unprepare(resource grizzly.Resource) *grizzly.Resource + func (h *RuleHandler) Update(existing, resource grizzly.Resource) error + func (h *RuleHandler) Validate(resource grizzly.Resource) error + type SnapshotResp struct + DeleteKey string + DeleteURL string + Key string + URL string + type SyntheticMonitoringHandler struct + Provider Provider + func NewSyntheticMonitoringHandler(provider Provider) *SyntheticMonitoringHandler + func (h *SyntheticMonitoringHandler) APIVersion() string + func (h *SyntheticMonitoringHandler) Add(resource grizzly.Resource) error + func (h *SyntheticMonitoringHandler) FindResourceFiles(dir string) ([]string, error) + func (h *SyntheticMonitoringHandler) GetByUID(UID string) (*grizzly.Resource, error) + func (h *SyntheticMonitoringHandler) GetExtension() string + func (h *SyntheticMonitoringHandler) GetRemote(resource grizzly.Resource) (*grizzly.Resource, error) + func (h *SyntheticMonitoringHandler) GetUID(resource grizzly.Resource) (string, error) + func (h *SyntheticMonitoringHandler) Kind() string + func (h *SyntheticMonitoringHandler) ListRemote() ([]string, error) + func (h *SyntheticMonitoringHandler) Parse(m manifest.Manifest) (grizzly.Resources, error) + func (h *SyntheticMonitoringHandler) Prepare(existing, resource grizzly.Resource) *grizzly.Resource + func (h *SyntheticMonitoringHandler) ResourceFilePath(resource grizzly.Resource, filetype string) string + func (h *SyntheticMonitoringHandler) Unprepare(resource grizzly.Resource) *grizzly.Resource + func (h *SyntheticMonitoringHandler) Update(existing, resource grizzly.Resource) error + func (h *SyntheticMonitoringHandler) Validate(resource grizzly.Resource) error