v1alpha1

package
v4.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2022 License: Apache-2.0 Imports: 21 Imported by: 13

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the integreatly v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=integreatly.org

Package v1alpha1 contains API Schema definitions for the integreatly.org v1alpha1 API group +kubebuilder:object:generate=true +groupName=integreatly.org

Index

Constants

View Source
const GrafanaNotificationChannelKind = "GrafanaNotificationChannel"

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "integreatly.org", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

func Gunzip added in v4.5.0

func Gunzip(compressed []byte) ([]byte, error)

func Gzip added in v4.5.1

func Gzip(content string) ([]byte, error)

Types

type Grafana

type Grafana struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   GrafanaSpec   `json:"spec,omitempty"`
	Status GrafanaStatus `json:"status,omitempty"`
}

Grafana is the Schema for the grafanas API +kubebuilder:object:root=true +kubebuilder:subresource:status

func (*Grafana) DeepCopy

func (in *Grafana) DeepCopy() *Grafana

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Grafana.

func (*Grafana) DeepCopyInto

func (in *Grafana) DeepCopyInto(out *Grafana)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Grafana) DeepCopyObject

func (in *Grafana) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Grafana) GetPreferServiceValue

func (cr *Grafana) GetPreferServiceValue() bool

func (*Grafana) GetScheme added in v4.5.1

func (cr *Grafana) GetScheme() v1.URIScheme

func (*Grafana) UsedPersistentVolume

func (g *Grafana) UsedPersistentVolume() bool

type GrafanaClient

type GrafanaClient struct {
	// +nullable
	TimeoutSeconds *int `json:"timeout,omitempty"`
	// +nullable
	PreferService *bool `json:"preferService,omitempty"`
}

GrafanaClient contains the Grafana API client settings

func (*GrafanaClient) DeepCopy

func (in *GrafanaClient) DeepCopy() *GrafanaClient

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaClient.

func (*GrafanaClient) DeepCopyInto

func (in *GrafanaClient) DeepCopyInto(out *GrafanaClient)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfig

type GrafanaConfig struct {
	Paths                         *GrafanaConfigPaths                         `json:"paths,omitempty" ini:"paths,omitempty"`
	Server                        *GrafanaConfigServer                        `json:"server,omitempty" ini:"server,omitempty"`
	Database                      *GrafanaConfigDatabase                      `json:"database,omitempty" ini:"database,omitempty"`
	RemoteCache                   *GrafanaConfigRemoteCache                   `json:"remote_cache,omitempty" ini:"remote_cache,omitempty"`
	Security                      *GrafanaConfigSecurity                      `json:"security,omitempty" ini:"security,omitempty"`
	Users                         *GrafanaConfigUsers                         `json:"users,omitempty" ini:"users,omitempty"`
	Auth                          *GrafanaConfigAuth                          `json:"auth,omitempty" ini:"auth,omitempty"`
	AuthBasic                     *GrafanaConfigAuthBasic                     `json:"auth.basic,omitempty" ini:"auth.basic,omitempty"`
	AuthAnonymous                 *GrafanaConfigAuthAnonymous                 `json:"auth.anonymous,omitempty" ini:"auth.anonymous,omitempty"`
	AuthAzureAD                   *GrafanaConfigAuthAzureAD                   `json:"auth.azuread,omitempty" ini:"auth.azuread,omitempty"`
	AuthGoogle                    *GrafanaConfigAuthGoogle                    `json:"auth.google,omitempty" ini:"auth.google,omitempty"`
	AuthGithub                    *GrafanaConfigAuthGithub                    `json:"auth.github,omitempty" ini:"auth.github,omitempty"`
	AuthGitlab                    *GrafanaConfigAuthGitlab                    `json:"auth.gitlab,omitempty" ini:"auth.gitlab,omitempty"`
	AuthGenericOauth              *GrafanaConfigAuthGenericOauth              `json:"auth.generic_oauth,omitempty" ini:"auth.generic_oauth,omitempty"`
	AuthOkta                      *GrafanaConfigAuthOkta                      `json:"auth.okta,omitempty" ini:"auth.okta,omitempty"`
	AuthLdap                      *GrafanaConfigAuthLdap                      `json:"auth.ldap,omitempty" ini:"auth.ldap,omitempty"`
	AuthProxy                     *GrafanaConfigAuthProxy                     `json:"auth.proxy,omitempty" ini:"auth.proxy,omitempty"`
	AuthSaml                      *GrafanaConfigAuthSaml                      `json:"auth.saml,omitempty" ini:"auth.saml,omitempty"`
	DataProxy                     *GrafanaConfigDataProxy                     `json:"dataproxy,omitempty" ini:"dataproxy,omitempty"`
	Analytics                     *GrafanaConfigAnalytics                     `json:"analytics,omitempty" ini:"analytics,omitempty"`
	Dashboards                    *GrafanaConfigDashboards                    `json:"dashboards,omitempty" ini:"dashboards,omitempty"`
	Smtp                          *GrafanaConfigSmtp                          `json:"smtp,omitempty" ini:"smtp,omitempty"`
	Live                          *GrafanaConfigLive                          `json:"live,omitempty" ini:"live,omitempty"`
	Log                           *GrafanaConfigLog                           `json:"log,omitempty" ini:"log,omitempty"`
	LogConsole                    *GrafanaConfigLogConsole                    `json:"log.console,omitempty" ini:"log.console,omitempty"`
	LogFrontend                   *GrafanaConfigLogFrontend                   `json:"log.frontend,omitempty" ini:"log.frontend,omitempty"`
	Metrics                       *GrafanaConfigMetrics                       `json:"metrics,omitempty" ini:"metrics,omitempty"`
	MetricsGraphite               *GrafanaConfigMetricsGraphite               `json:"metrics.graphite,omitempty" ini:"metrics.graphite,omitempty"`
	Snapshots                     *GrafanaConfigSnapshots                     `json:"snapshots,omitempty" ini:"snapshots,omitempty"`
	ExternalImageStorage          *GrafanaConfigExternalImageStorage          `json:"external_image_storage,omitempty" ini:"external_image_storage,omitempty"`
	ExternalImageStorageS3        *GrafanaConfigExternalImageStorageS3        `json:"external_image_storage.s3,omitempty" ini:"external_image_storage.s3,omitempty"`
	ExternalImageStorageWebdav    *GrafanaConfigExternalImageStorageWebdav    `json:"external_image_storage.webdav,omitempty" ini:"external_image_storage.webdav,omitempty"`
	ExternalImageStorageGcs       *GrafanaConfigExternalImageStorageGcs       `json:"external_image_storage.gcs,omitempty" ini:"external_image_storage.gcs,omitempty"`
	ExternalImageStorageAzureBlob *GrafanaConfigExternalImageStorageAzureBlob `json:"external_image_storage.azure_blob,omitempty" ini:"external_image_storage.azure_blob,omitempty"`
	Alerting                      *GrafanaConfigAlerting                      `json:"alerting,omitempty" ini:"alerting,omitempty"`
	UnifiedAlerting               *GrafanaConfigUnifiedAlerting               `json:"unified_alerting,omitempty" ini:"unified_alerting,omitempty"`
	Panels                        *GrafanaConfigPanels                        `json:"panels,omitempty" ini:"panels,omitempty"`
	Plugins                       *GrafanaConfigPlugins                       `json:"plugins,omitempty" ini:"plugins,omitempty"`
	Rendering                     *GrafanaConfigRendering                     `json:"rendering,omitempty" ini:"rendering,omitempty"`
	FeatureToggles                *GrafanaConfigFeatureToggles                `json:"feature_toggles,omitempty" ini:"feature_toggles,omitempty"`
}

GrafanaConfig is the configuration for grafana

func (*GrafanaConfig) DeepCopy

func (in *GrafanaConfig) DeepCopy() *GrafanaConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfig.

func (*GrafanaConfig) DeepCopyInto

func (in *GrafanaConfig) DeepCopyInto(out *GrafanaConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfigAlerting

type GrafanaConfigAlerting struct {
	// +nullable
	Enabled *bool `json:"enabled,omitempty" ini:"enabled"`
	// +nullable
	ExecuteAlerts      *bool  `json:"execute_alerts,omitempty" ini:"execute_alerts"`
	ErrorOrTimeout     string `json:"error_or_timeout,omitempty" ini:"error_or_timeout,omitempty"`
	NodataOrNullvalues string `json:"nodata_or_nullvalues,omitempty" ini:"nodata_or_nullvalues,omitempty"`
	// +nullable
	ConcurrentRenderLimit *int `json:"concurrent_render_limit,omitempty" ini:"concurrent_render_limit,omitempty"`
	// +nullable
	EvaluationTimeoutSeconds *int `json:"evaluation_timeout_seconds,omitempty" ini:"evaluation_timeout_seconds,omitempty"`
	// +nullable
	NotificationTimeoutSeconds *int `json:"notification_timeout_seconds,omitempty" ini:"notification_timeout_seconds,omitempty"`
	// +nullable
	MaxAttempts *int `json:"max_attempts,omitempty" ini:"max_attempts,omitempty"`
}

func (*GrafanaConfigAlerting) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfigAlerting.

func (*GrafanaConfigAlerting) DeepCopyInto

func (in *GrafanaConfigAlerting) DeepCopyInto(out *GrafanaConfigAlerting)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfigAnalytics

type GrafanaConfigAnalytics struct {
	// +nullable
	ReportingEnabled    *bool  `json:"reporting_enabled,omitempty" ini:"reporting_enabled"`
	GoogleAnalyticsUaId string `json:"google_analytics_ua_id,omitempty" ini:"google_analytics_ua_id,omitempty"`
	// +nullable
	CheckForUpdates *bool `json:"check_for_updates,omitempty" ini:"check_for_updates"`
}

func (*GrafanaConfigAnalytics) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfigAnalytics.

func (*GrafanaConfigAnalytics) DeepCopyInto

func (in *GrafanaConfigAnalytics) DeepCopyInto(out *GrafanaConfigAnalytics)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfigAuth

type GrafanaConfigAuth struct {
	LoginCookieName string `json:"login_cookie_name,omitempty" ini:"login_cookie_name,omitempty"`
	// +nullable
	LoginMaximumInactiveLifetimeDays     *int   `json:"login_maximum_inactive_lifetime_days,omitempty" ini:"login_maximum_inactive_lifetime_days,omitempty"`
	LoginMaximumInactiveLifetimeDuration string `json:"login_maximum_inactive_lifetime_duration,omitempty" ini:"login_maximum_inactive_lifetime_duration,omitempty"`
	// +nullable
	LoginMaximumLifetimeDays     *int   `json:"login_maximum_lifetime_days,omitempty" ini:"login_maximum_lifetime_days,omitempty"`
	LoginMaximumLifetimeDuration string `json:"login_maximum_lifetime_duration,omitempty" ini:"login_maximum_lifetime_duration,omitempty"`
	// +nullable
	TokenRotationIntervalMinutes *int `json:"token_rotation_interval_minutes,omitempty" ini:"token_rotation_interval_minutes,omitempty"`
	// +nullable
	DisableLoginForm *bool `json:"disable_login_form,omitempty" ini:"disable_login_form"`
	// +nullable
	DisableSignoutMenu *bool `json:"disable_signout_menu,omitempty" ini:"disable_signout_menu"`
	// +nullable
	SigV4AuthEnabled   *bool  `json:"sigv4_auth_enabled,omitempty" ini:"sigv4_auth_enabled"`
	SignoutRedirectUrl string `json:"signout_redirect_url,omitempty" ini:"signout_redirect_url,omitempty"`
	// +nullable
	OauthAutoLogin *bool `json:"oauth_auto_login,omitempty" ini:"oauth_auto_login"`
}

func (*GrafanaConfigAuth) DeepCopy

func (in *GrafanaConfigAuth) DeepCopy() *GrafanaConfigAuth

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfigAuth.

func (*GrafanaConfigAuth) DeepCopyInto

func (in *GrafanaConfigAuth) DeepCopyInto(out *GrafanaConfigAuth)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfigAuthAnonymous

type GrafanaConfigAuthAnonymous struct {
	// +nullable
	Enabled *bool  `json:"enabled,omitempty" ini:"enabled"`
	OrgName string `json:"org_name,omitempty" ini:"org_name,omitempty"`
	OrgRole string `json:"org_role,omitempty" ini:"org_role,omitempty"`
}

func (*GrafanaConfigAuthAnonymous) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfigAuthAnonymous.

func (*GrafanaConfigAuthAnonymous) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfigAuthAzureAD

type GrafanaConfigAuthAzureAD struct {
	// +nullable
	Enabled *bool `json:"enabled,omitempty" ini:"enabled"`
	// +nullable
	AllowSignUp    *bool  `json:"allow_sign_up,omitempty" ini:"allow_sign_up"`
	ClientId       string `json:"client_id,omitempty" ini:"client_id,omitempty"`
	ClientSecret   string `json:"client_secret,omitempty" ini:"client_secret,omitempty"`
	Scopes         string `json:"scopes,omitempty" ini:"scopes,omitempty"`
	AuthUrl        string `json:"auth_url,omitempty" ini:"auth_url,omitempty"`
	TokenUrl       string `json:"token_url,omitempty" ini:"token_url,omitempty"`
	AllowedDomains string `json:"allowed_domains,omitempty" ini:"allowed_domains,omitempty"`
	AllowedGroups  string `json:"allowed_groups,omitempty" ini:"allowed_groups,omitempty"`
}

func (*GrafanaConfigAuthAzureAD) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfigAuthAzureAD.

func (*GrafanaConfigAuthAzureAD) DeepCopyInto

func (in *GrafanaConfigAuthAzureAD) DeepCopyInto(out *GrafanaConfigAuthAzureAD)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfigAuthBasic

type GrafanaConfigAuthBasic struct {
	// +nullable
	Enabled *bool `json:"enabled,omitempty" ini:"enabled"`
}

func (*GrafanaConfigAuthBasic) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfigAuthBasic.

func (*GrafanaConfigAuthBasic) DeepCopyInto

func (in *GrafanaConfigAuthBasic) DeepCopyInto(out *GrafanaConfigAuthBasic)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfigAuthGenericOauth

type GrafanaConfigAuthGenericOauth struct {
	// +nullable
	Enabled *bool `json:"enabled,omitempty" ini:"enabled"`
	// +nullable
	AllowSignUp          *bool  `json:"allow_sign_up,omitempty" ini:"allow_sign_up"`
	ClientId             string `json:"client_id,omitempty" ini:"client_id,omitempty"`
	ClientSecret         string `json:"client_secret,omitempty" ini:"client_secret,omitempty"`
	Scopes               string `json:"scopes,omitempty" ini:"scopes,omitempty"`
	AuthUrl              string `json:"auth_url,omitempty" ini:"auth_url,omitempty"`
	TokenUrl             string `json:"token_url,omitempty" ini:"token_url,omitempty"`
	ApiUrl               string `json:"api_url,omitempty" ini:"api_url,omitempty"`
	TeamsURL             string `json:"teams_url,omitempty" ini:"teams_url,omitempty"`
	TeamIds              string `json:"team_ids,omitempty" ini:"team_ids,omitempty"`
	TeamIdsAttributePath string `json:"team_ids_attribute_path,omitempty" ini:"team_ids_attribute_path,omitempty"`
	AllowedDomains       string `json:"allowed_domains,omitempty" ini:"allowed_domains,omitempty"`
	RoleAttributePath    string `json:"role_attribute_path,omitempty" ini:"role_attribute_path,omitempty"`
	// +nullable
	RoleAttributeStrict *bool  `json:"role_attribute_strict,omitempty" ini:"role_attribute_strict,omitempty"`
	EmailAttributePath  string `json:"email_attribute_path,omitempty" ini:"email_attribute_path,omitempty"`
	// +nullable
	TLSSkipVerifyInsecure *bool  `json:"tls_skip_verify_insecure,omitempty" ini:"tls_skip_verify_insecure,omitempty"`
	TLSClientCert         string `json:"tls_client_cert,omitempty" ini:"tls_client_cert,omitempty"`
	TLSClientKey          string `json:"tls_client_key,omitempty" ini:"tls_client_key,omitempty"`
	TLSClientCa           string `json:"tls_client_ca,omitempty" ini:"tls_auth_ca,omitempty"`
}

func (*GrafanaConfigAuthGenericOauth) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfigAuthGenericOauth.

func (*GrafanaConfigAuthGenericOauth) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfigAuthGithub

type GrafanaConfigAuthGithub struct {
	// +nullable
	Enabled *bool `json:"enabled,omitempty" ini:"enabled"`
	// +nullable
	AllowSignUp          *bool  `json:"allow_sign_up,omitempty" ini:"allow_sign_up"`
	ClientId             string `json:"client_id,omitempty" ini:"client_id,omitempty"`
	ClientSecret         string `json:"client_secret,omitempty" ini:"client_secret,omitempty"`
	Scopes               string `json:"scopes,omitempty" ini:"scopes,omitempty"`
	AuthUrl              string `json:"auth_url,omitempty" ini:"auth_url,omitempty"`
	TokenUrl             string `json:"token_url,omitempty" ini:"token_url,omitempty"`
	ApiUrl               string `json:"api_url,omitempty" ini:"api_url,omitempty"`
	TeamIds              string `json:"team_ids,omitempty" ini:"team_ids,omitempty"`
	AllowedOrganizations string `json:"allowed_organizations,omitempty" ini:"allowed_organizations,omitempty"`
}

func (*GrafanaConfigAuthGithub) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfigAuthGithub.

func (*GrafanaConfigAuthGithub) DeepCopyInto

func (in *GrafanaConfigAuthGithub) DeepCopyInto(out *GrafanaConfigAuthGithub)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfigAuthGitlab

type GrafanaConfigAuthGitlab struct {
	// +nullable
	Enabled *bool `json:"enabled,omitempty" ini:"enabled"`
	// +nullable
	AllowSignUp   *bool  `json:"allow_sign_up,omitempty" ini:"allow_sign_up"`
	ClientId      string `json:"client_id,omitempty" ini:"client_id,omitempty"`
	ClientSecret  string `json:"client_secret,omitempty" ini:"client_secret,omitempty"`
	Scopes        string `json:"scopes,omitempty" ini:"scopes,omitempty"`
	AuthUrl       string `json:"auth_url,omitempty" ini:"auth_url,omitempty"`
	TokenUrl      string `json:"token_url,omitempty" ini:"token_url,omitempty"`
	ApiUrl        string `json:"api_url,omitempty" ini:"api_url,omitempty"`
	AllowedGroups string `json:"allowed_groups,omitempty" ini:"allowed_groups,omitempty"`
}

func (*GrafanaConfigAuthGitlab) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfigAuthGitlab.

func (*GrafanaConfigAuthGitlab) DeepCopyInto

func (in *GrafanaConfigAuthGitlab) DeepCopyInto(out *GrafanaConfigAuthGitlab)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfigAuthGoogle

type GrafanaConfigAuthGoogle struct {
	// +nullable
	Enabled        *bool  `json:"enabled,omitempty" ini:"enabled"`
	ClientId       string `json:"client_id,omitempty" ini:"client_id,omitempty"`
	ClientSecret   string `json:"client_secret,omitempty" ini:"client_secret,omitempty"`
	Scopes         string `json:"scopes,omitempty" ini:"scopes,omitempty"`
	AuthUrl        string `json:"auth_url,omitempty" ini:"auth_url,omitempty"`
	TokenUrl       string `json:"token_url,omitempty" ini:"token_url,omitempty"`
	AllowedDomains string `json:"allowed_domains,omitempty" ini:"allowed_domains,omitempty"`
	AllowSignUp    *bool  `json:"allow_sign_up,omitempty" ini:"allow_sign_up"`
}

func (*GrafanaConfigAuthGoogle) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfigAuthGoogle.

func (*GrafanaConfigAuthGoogle) DeepCopyInto

func (in *GrafanaConfigAuthGoogle) DeepCopyInto(out *GrafanaConfigAuthGoogle)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfigAuthLdap

type GrafanaConfigAuthLdap struct {
	// +nullable
	Enabled *bool `json:"enabled,omitempty" ini:"enabled"`
	// +nullable
	AllowSignUp *bool  `json:"allow_sign_up,omitempty" ini:"allow_sign_up"`
	ConfigFile  string `json:"config_file,omitempty" ini:"config_file,omitempty"`
}

func (*GrafanaConfigAuthLdap) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfigAuthLdap.

func (*GrafanaConfigAuthLdap) DeepCopyInto

func (in *GrafanaConfigAuthLdap) DeepCopyInto(out *GrafanaConfigAuthLdap)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfigAuthOkta

type GrafanaConfigAuthOkta struct {
	// +nullable
	Enabled *bool  `json:"enabled,omitempty" ini:"enabled"`
	Name    string `json:"name,omitempty" ini:"name,omitempty"`
	// +nullable
	AllowSignUp       *bool  `json:"allow_sign_up,omitempty" ini:"allow_sign_up"`
	ClientId          string `json:"client_id,omitempty" ini:"client_id,omitempty"`
	ClientSecret      string `json:"client_secret,omitempty" ini:"client_secret,omitempty"`
	Scopes            string `json:"scopes,omitempty" ini:"scopes,omitempty"`
	AuthUrl           string `json:"auth_url,omitempty" ini:"auth_url,omitempty"`
	TokenUrl          string `json:"token_url,omitempty" ini:"token_url,omitempty"`
	ApiUrl            string `json:"api_url,omitempty" ini:"api_url,omitempty"`
	AllowedDomains    string `json:"allowed_domains,omitempty" ini:"allowed_domains,omitempty"`
	AllowedGroups     string `json:"allowed_groups,omitempty" ini:"allowed_groups,omitempty"`
	RoleAttributePath string `json:"role_attribute_path,omitempty" ini:"role_attribute_path,omitempty"`
	// +nullable
	RoleAttributeStrict *bool `json:"role_attribute_strict,omitempty" ini:"role_attribute_strict,omitempty"`
}

func (*GrafanaConfigAuthOkta) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfigAuthOkta.

func (*GrafanaConfigAuthOkta) DeepCopyInto

func (in *GrafanaConfigAuthOkta) DeepCopyInto(out *GrafanaConfigAuthOkta)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfigAuthProxy

type GrafanaConfigAuthProxy struct {
	// +nullable
	Enabled        *bool  `json:"enabled,omitempty" ini:"enabled"`
	HeaderName     string `json:"header_name,omitempty" ini:"header_name,omitempty"`
	HeaderProperty string `json:"header_property,omitempty" ini:"header_property,omitempty"`
	// +nullable
	AutoSignUp  *bool  `json:"auto_sign_up,omitempty" ini:"auto_sign_up"`
	LdapSyncTtl string `json:"ldap_sync_ttl,omitempty" ini:"ldap_sync_ttl,omitempty"`
	Whitelist   string `json:"whitelist,omitempty" ini:"whitelist,omitempty"`
	Headers     string `json:"headers,omitempty" ini:"headers,omitempty"`
	// +nullable
	EnableLoginToken *bool `json:"enable_login_token,omitempty" ini:"enable_login_token"`
}

func (*GrafanaConfigAuthProxy) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfigAuthProxy.

func (*GrafanaConfigAuthProxy) DeepCopyInto

func (in *GrafanaConfigAuthProxy) DeepCopyInto(out *GrafanaConfigAuthProxy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfigAuthSaml

type GrafanaConfigAuthSaml struct {
	// +nullable
	Enabled *bool `json:"enabled,omitempty" ini:"enabled"`
	// +nullable
	SingleLogout *bool `json:"single_logout,omitempty" ini:"single_logout,omitempty"`
	// +nullable
	AllowIdpInitiated        *bool  `json:"allow_idp_initiated,omitempty" ini:"allow_idp_initiated,omitempty"`
	CertificatePath          string `json:"certificate_path,omitempty" ini:"certificate_path"`
	KeyPath                  string `json:"private_key_path,omitempty" ini:"private_key_path"`
	SignatureAlgorithm       string `json:"signature_algorithm,omitempty" ini:"signature_algorithm,omitempty"`
	IdpUrl                   string `json:"idp_metadata_url,omitempty" ini:"idp_metadata_url"`
	MaxIssueDelay            string `json:"max_issue_delay,omitempty" ini:"max_issue_delay,omitempty"`
	MetadataValidDuration    string `json:"metadata_valid_duration,omitempty" ini:"metadata_valid_duration,omitempty"`
	RelayState               string `json:"relay_state,omitempty" ini:"relay_state,omitempty"`
	AssertionAttributeName   string `json:"assertion_attribute_name,omitempty" ini:"assertion_attribute_name,omitempty"`
	AssertionAttributeLogin  string `json:"assertion_attribute_login,omitempty" ini:"assertion_attribute_login,omitempty"`
	AssertionAttributeEmail  string `json:"assertion_attribute_email,omitempty" ini:"assertion_attribute_email,omitempty"`
	AssertionAttributeGroups string `json:"assertion_attribute_groups,omitempty" ini:"assertion_attribute_groups,omitempty"`
	AssertionAttributeRole   string `json:"assertion_attribute_role,omitempty" ini:"assertion_attribute_role,omitempty"`
	AssertionAttributeOrg    string `json:"assertion_attribute_org,omitempty" ini:"assertion_attribute_org,omitempty"`
	AllowedOrganizations     string `json:"allowed_organizations,omitempty" ini:"allowed_organizations,omitempty"`
	OrgMapping               string `json:"org_mapping,omitempty" ini:"org_mapping,omitempty"`
	RoleValuesEditor         string `json:"role_values_editor,omitempty" ini:"role_values_editor,omitempty"`
	RoleValuesAdmin          string `json:"role_values_admin,omitempty" ini:"role_values_admin,omitempty"`
	RoleValuesGrafanaAdmin   string `json:"role_values_grafana_admin,omitempty" ini:"role_values_grafana_admin,omitempty"`
}

func (*GrafanaConfigAuthSaml) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfigAuthSaml.

func (*GrafanaConfigAuthSaml) DeepCopyInto

func (in *GrafanaConfigAuthSaml) DeepCopyInto(out *GrafanaConfigAuthSaml)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfigDashboards

type GrafanaConfigDashboards struct {
	// +nullable
	VersionsToKeep           *int   `json:"versions_to_keep,omitempty" ini:"versions_to_keep,omitempty"`
	DefaultHomeDashboardPath string `json:"default_home_dashboard_path,omitempty" ini:"default_home_dashboard_path,omitempty"`
}

func (*GrafanaConfigDashboards) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfigDashboards.

func (*GrafanaConfigDashboards) DeepCopyInto

func (in *GrafanaConfigDashboards) DeepCopyInto(out *GrafanaConfigDashboards)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfigDataProxy

type GrafanaConfigDataProxy struct {
	// +nullable
	Logging *bool `json:"logging,omitempty" ini:"logging"`
	// +nullable
	Timeout *int `json:"timeout,omitempty" ini:"timeout,omitempty"`
	// +nullable
	SendUserHeader *bool `json:"send_user_header,omitempty" ini:"send_user_header,omitempty"`
}

func (*GrafanaConfigDataProxy) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfigDataProxy.

func (*GrafanaConfigDataProxy) DeepCopyInto

func (in *GrafanaConfigDataProxy) DeepCopyInto(out *GrafanaConfigDataProxy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfigDatabase

type GrafanaConfigDatabase struct {
	Url            string `json:"url,omitempty" ini:"url,omitempty"`
	Type           string `json:"type,omitempty" ini:"type,omitempty"`
	Path           string `json:"path,omitempty" ini:"path,omitempty"`
	Host           string `json:"host,omitempty" ini:"host,omitempty"`
	Name           string `json:"name,omitempty" ini:"name,omitempty"`
	User           string `json:"user,omitempty" ini:"user,omitempty"`
	Password       string `json:"password,omitempty" ini:"password,omitempty"`
	SslMode        string `json:"ssl_mode,omitempty" ini:"ssl_mode,omitempty"`
	CaCertPath     string `json:"ca_cert_path,omitempty" ini:"ca_cert_path,omitempty"`
	ClientKeyPath  string `json:"client_key_path,omitempty" ini:"client_key_path,omitempty"`
	ClientCertPath string `json:"client_cert_path,omitempty" ini:"client_cert_path,omitempty"`
	ServerCertName string `json:"server_cert_name,omitempty" ini:"server_cert_name,omitempty"`
	// +nullable
	MaxIdleConn *int `json:"max_idle_conn,omitempty" ini:"max_idle_conn,omitempty"`
	// +nullable
	MaxOpenConn *int `json:"max_open_conn,omitempty" ini:"max_open_conn,omitempty"`
	// +nullable
	ConnMaxLifetime *int `json:"conn_max_lifetime,omitempty" ini:"conn_max_lifetime,omitempty"`
	// +nullable
	LogQueries *bool  `json:"log_queries,omitempty" ini:"log_queries"`
	CacheMode  string `json:"cache_mode,omitempty" ini:"cache_mode,omitempty"`
}

func (*GrafanaConfigDatabase) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfigDatabase.

func (*GrafanaConfigDatabase) DeepCopyInto

func (in *GrafanaConfigDatabase) DeepCopyInto(out *GrafanaConfigDatabase)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfigExternalImageStorage

type GrafanaConfigExternalImageStorage struct {
	Provider string `json:"provider,omitempty" ini:"provider,omitempty"`
}

func (*GrafanaConfigExternalImageStorage) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfigExternalImageStorage.

func (*GrafanaConfigExternalImageStorage) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfigExternalImageStorageAzureBlob

type GrafanaConfigExternalImageStorageAzureBlob struct {
	AccountName   string `json:"account_name,omitempty" ini:"account_name,omitempty"`
	AccountKey    string `json:"account_key,omitempty" ini:"account_key,omitempty"`
	ContainerName string `json:"container_name,omitempty" ini:"container_name,omitempty"`
}

func (*GrafanaConfigExternalImageStorageAzureBlob) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfigExternalImageStorageAzureBlob.

func (*GrafanaConfigExternalImageStorageAzureBlob) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfigExternalImageStorageGcs

type GrafanaConfigExternalImageStorageGcs struct {
	KeyFile string `json:"key_file,omitempty" ini:"key_file,omitempty"`
	Bucket  string `json:"bucket,omitempty" ini:"bucket,omitempty"`
	Path    string `json:"path,omitempty" ini:"path,omitempty"`
}

func (*GrafanaConfigExternalImageStorageGcs) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfigExternalImageStorageGcs.

func (*GrafanaConfigExternalImageStorageGcs) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfigExternalImageStorageS3

type GrafanaConfigExternalImageStorageS3 struct {
	Bucket    string `json:"bucket,omitempty" ini:"bucket,omitempty"`
	Region    string `json:"region,omitempty" ini:"region,omitempty"`
	Path      string `json:"path,omitempty" ini:"path,omitempty"`
	BucketUrl string `json:"bucket_url,omitempty" ini:"bucket_url,omitempty"`
	AccessKey string `json:"access_key,omitempty" ini:"access_key,omitempty"`
	SecretKey string `json:"secret_key,omitempty" ini:"secret_key,omitempty"`
}

func (*GrafanaConfigExternalImageStorageS3) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfigExternalImageStorageS3.

func (*GrafanaConfigExternalImageStorageS3) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfigExternalImageStorageWebdav

type GrafanaConfigExternalImageStorageWebdav struct {
	Url       string `json:"url,omitempty" ini:"url,omitempty"`
	PublicUrl string `json:"public_url,omitempty" ini:"public_url,omitempty"`
	Username  string `json:"username,omitempty" ini:"username,omitempty"`
	Password  string `json:"password,omitempty" ini:"password,omitempty"`
}

func (*GrafanaConfigExternalImageStorageWebdav) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfigExternalImageStorageWebdav.

func (*GrafanaConfigExternalImageStorageWebdav) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfigFeatureToggles

type GrafanaConfigFeatureToggles struct {
	Enable string `json:"enable,omitempty" ini:"enable,omitempty"`
}

func (*GrafanaConfigFeatureToggles) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfigFeatureToggles.

func (*GrafanaConfigFeatureToggles) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfigLive

type GrafanaConfigLive struct {
	// +nullable
	MaxConnections *int   `json:"max_connections,omitempty" ini:"max_connections,omitempty"`
	AllowedOrigins string `json:"allowed_origins,omitempty" ini:"allowed_origins,omitempty"`
}

func (*GrafanaConfigLive) DeepCopy

func (in *GrafanaConfigLive) DeepCopy() *GrafanaConfigLive

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfigLive.

func (*GrafanaConfigLive) DeepCopyInto

func (in *GrafanaConfigLive) DeepCopyInto(out *GrafanaConfigLive)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfigLog

type GrafanaConfigLog struct {
	Mode    string `json:"mode,omitempty" ini:"mode,omitempty"`
	Level   string `json:"level,omitempty" ini:"level,omitempty"`
	Filters string `json:"filters,omitempty" ini:"filters,omitempty"`
}

func (*GrafanaConfigLog) DeepCopy

func (in *GrafanaConfigLog) DeepCopy() *GrafanaConfigLog

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfigLog.

func (*GrafanaConfigLog) DeepCopyInto

func (in *GrafanaConfigLog) DeepCopyInto(out *GrafanaConfigLog)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfigLogConsole

type GrafanaConfigLogConsole struct {
	Level  string `json:"level,omitempty" ini:"level,omitempty"`
	Format string `json:"format,omitempty" ini:"format,omitempty"`
}

func (*GrafanaConfigLogConsole) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfigLogConsole.

func (*GrafanaConfigLogConsole) DeepCopyInto

func (in *GrafanaConfigLogConsole) DeepCopyInto(out *GrafanaConfigLogConsole)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfigLogFrontend

type GrafanaConfigLogFrontend struct {
	// +nullable
	Enabled        *bool  `json:"enabled,omitempty" ini:"enabled,omitempty"`
	SentryDsn      string `json:"sentry_dsn,omitempty" ini:"sentry_dsn,omitempty"`
	CustomEndpoint string `json:"custom_endpoint,omitempty" ini:"custom_endpoint,omitempty"`
	SampleRate     string `json:"sample_rate,omitempty" ini:"sample_rate,omitempty"`
	// +nullable
	LogEndpointRequestsPerSecondLimit *int `json:"log_endpoint_requests_per_second_limit,omitempty" ini:"log_endpoint_requests_per_second_limit,omitempty"`
	// +nullable
	LogEndpointBurstLimit *int `json:"log_endpoint_burst_limit,omitempty" ini:"log_endpoint_burst_limit,omitempty"`
}

func (*GrafanaConfigLogFrontend) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfigLogFrontend.

func (*GrafanaConfigLogFrontend) DeepCopyInto

func (in *GrafanaConfigLogFrontend) DeepCopyInto(out *GrafanaConfigLogFrontend)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfigMetrics

type GrafanaConfigMetrics struct {
	// +nullable
	Enabled           *bool  `json:"enabled,omitempty" ini:"enabled"`
	BasicAuthUsername string `json:"basic_auth_username,omitempty" ini:"basic_auth_username,omitempty"`
	BasicAuthPassword string `json:"basic_auth_password,omitempty" ini:"basic_auth_password,omitempty"`
	// +nullable
	IntervalSeconds *int `json:"interval_seconds,omitempty" ini:"interval_seconds,omitempty"`
}

func (*GrafanaConfigMetrics) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfigMetrics.

func (*GrafanaConfigMetrics) DeepCopyInto

func (in *GrafanaConfigMetrics) DeepCopyInto(out *GrafanaConfigMetrics)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfigMetricsGraphite

type GrafanaConfigMetricsGraphite struct {
	Address string `json:"address,omitempty" ini:"address,omitempty"`
	Prefix  string `json:"prefix,omitempty" ini:"prefix,omitempty"`
}

func (*GrafanaConfigMetricsGraphite) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfigMetricsGraphite.

func (*GrafanaConfigMetricsGraphite) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfigPanels

type GrafanaConfigPanels struct {
	// +nullable
	DisableSanitizeHtml *bool `json:"disable_sanitize_html,omitempty" ini:"disable_sanitize_html"`
}

func (*GrafanaConfigPanels) DeepCopy

func (in *GrafanaConfigPanels) DeepCopy() *GrafanaConfigPanels

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfigPanels.

func (*GrafanaConfigPanels) DeepCopyInto

func (in *GrafanaConfigPanels) DeepCopyInto(out *GrafanaConfigPanels)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfigPaths

type GrafanaConfigPaths struct {
	TempDataLifetime string `json:"temp_data_lifetime,omitempty" ini:"temp_data_lifetime,omitempty"`
}

func (*GrafanaConfigPaths) DeepCopy

func (in *GrafanaConfigPaths) DeepCopy() *GrafanaConfigPaths

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfigPaths.

func (*GrafanaConfigPaths) DeepCopyInto

func (in *GrafanaConfigPaths) DeepCopyInto(out *GrafanaConfigPaths)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfigPlugins

type GrafanaConfigPlugins struct {
	// +nullable
	// Set to true if you want to test alpha plugins that are not yet ready for general usage. Default is false.
	EnableAlpha *bool `json:"enable_alpha,omitempty" ini:"enable_alpha"`
	// Enter a comma-separated list of plugin identifiers to identify plugins to load even if they are unsigned. Plugins with modified signatures are never loaded.
	// We do not recommend using this option. For more information, refer to https://grafana.com/docs/grafana/next/administration/plugin-management/#plugin-signatures
	AllowLoadingUnsignedPlugins string `json:"allow_loading_unsigned_plugins,omitempty" ini:"allow_loading_unsigned_plugins"`
	// +nullable
	// Available to Grafana administrators only, enables installing / uninstalling / updating plugins directly from the Grafana UI. Set to true by default. Setting it to false will hide the install / uninstall / update controls.
	// For more information, refer to https://grafana.com/docs/grafana/next/administration/plugin-management/#plugin-catalog
	PluginAdminEnabled *bool `json:"plugin_admin_enabled" ini:"plugin_admin_enabled"`
	// Custom install/learn more URL for enterprise plugins. Defaults to https://grafana.com/grafana/plugins/.
	PluginCatalogURL string `json:"plugin_catalog_url,omitempty" ini:"plugin_catalog_url"`
	// Enter a comma-separated list of plugin identifiers to hide in the plugin catalog.
	PluginCatalogHiddenPlugins string `json:"plugin_catalog_hidden_plugins,omitempty" ini:"plugin_catalog_hidden_plugins"`
}

func (*GrafanaConfigPlugins) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfigPlugins.

func (*GrafanaConfigPlugins) DeepCopyInto

func (in *GrafanaConfigPlugins) DeepCopyInto(out *GrafanaConfigPlugins)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfigRemoteCache

type GrafanaConfigRemoteCache struct {
	Type    string `json:"type,omitempty" ini:"type,omitempty"`
	ConnStr string `json:"connstr,omitempty" ini:"connstr,omitempty"`
}

func (*GrafanaConfigRemoteCache) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfigRemoteCache.

func (*GrafanaConfigRemoteCache) DeepCopyInto

func (in *GrafanaConfigRemoteCache) DeepCopyInto(out *GrafanaConfigRemoteCache)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfigRendering

type GrafanaConfigRendering struct {
	ServerURL   string `json:"server_url,omitempty" ini:"server_url"`
	CallbackURL string `json:"callback_url,omitempty" ini:"callback_url"`
	// +nullable
	ConcurrentRenderRequestLimit *int `json:"concurrent_render_request_limit,omitempty" ini:"concurrent_render_request_limit,omitempty"`
}

func (*GrafanaConfigRendering) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfigRendering.

func (*GrafanaConfigRendering) DeepCopyInto

func (in *GrafanaConfigRendering) DeepCopyInto(out *GrafanaConfigRendering)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfigSecurity

type GrafanaConfigSecurity struct {
	AdminUser     string `json:"admin_user,omitempty" ini:"admin_user,omitempty"`
	AdminPassword string `json:"admin_password,omitempty" ini:"admin_password,omitempty"`
	// +nullable
	LoginRememberDays *int   `json:"login_remember_days,omitempty" ini:"login_remember_days,omitempty"`
	SecretKey         string `json:"secret_key,omitempty" ini:"secret_key,omitempty"`
	// +nullable
	DisableGravatar          *bool  `json:"disable_gravatar,omitempty" ini:"disable_gravatar"`
	DataSourceProxyWhitelist string `json:"data_source_proxy_whitelist,omitempty" ini:"data_source_proxy_whitelist,omitempty"`
	// +nullable
	CookieSecure   *bool  `json:"cookie_secure,omitempty" ini:"cookie_secure"`
	CookieSamesite string `json:"cookie_samesite,omitempty" ini:"cookie_samesite,omitempty"`
	// +nullable
	AllowEmbedding *bool `json:"allow_embedding,omitempty" ini:"allow_embedding"`
	// +nullable
	StrictTransportSecurity *bool `json:"strict_transport_security,omitempty" ini:"strict_transport_security"`
	// +nullable
	StrictTransportSecurityMaxAgeSeconds *int `json:"strict_transport_security_max_age_seconds,omitempty" ini:"strict_transport_security_max_age_seconds,omitempty"`
	// +nullable
	StrictTransportSecurityPreload *bool `json:"strict_transport_security_preload,omitempty" ini:"strict_transport_security_preload"`
	// +nullable
	StrictTransportSecuritySubdomains *bool `json:"strict_transport_security_subdomains,omitempty" ini:"strict_transport_security_subdomains"`
	// +nullable
	XContentTypeOptions *bool `json:"x_content_type_options,omitempty" ini:"x_content_type_options"`
	// +nullable
	XXssProtection *bool `json:"x_xss_protection,omitempty" ini:"x_xss_protection"`
}

func (*GrafanaConfigSecurity) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfigSecurity.

func (*GrafanaConfigSecurity) DeepCopyInto

func (in *GrafanaConfigSecurity) DeepCopyInto(out *GrafanaConfigSecurity)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfigServer

type GrafanaConfigServer struct {
	HttpAddr string `json:"http_addr,omitempty" ini:"http_addr,omitempty"`
	HttpPort string `json:"http_port,omitempty" ini:"http_port,omitempty"`
	// +kubebuilder:validation:Enum=http;https
	Protocol string `json:"protocol,omitempty" ini:"protocol,omitempty"`
	Socket   string `json:"socket,omitempty" ini:"socket,omitempty"`
	Domain   string `json:"domain,omitempty" ini:"domain,omitempty"`
	// +nullable
	EnforceDomain *bool  `json:"enforce_domain,omitempty" ini:"enforce_domain"`
	RootUrl       string `json:"root_url,omitempty" ini:"root_url,omitempty"`
	// +nullable
	ServeFromSubPath *bool  `json:"serve_from_sub_path,omitempty" ini:"serve_from_sub_path"`
	StaticRootPath   string `json:"static_root_path,omitempty" ini:"static_root_path,omitempty"`
	// +nullable
	EnableGzip *bool  `json:"enable_gzip,omitempty" ini:"enable_gzip"`
	CertFile   string `json:"cert_file,omitempty" ini:"cert_file,omitempty"`
	CertKey    string `json:"cert_key,omitempty" ini:"cert_key,omitempty"`
	// +nullable
	RouterLogging *bool `json:"router_logging,omitempty" ini:"router_logging"`
}

func (*GrafanaConfigServer) DeepCopy

func (in *GrafanaConfigServer) DeepCopy() *GrafanaConfigServer

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfigServer.

func (*GrafanaConfigServer) DeepCopyInto

func (in *GrafanaConfigServer) DeepCopyInto(out *GrafanaConfigServer)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfigSmtp

type GrafanaConfigSmtp struct {
	// +nullable
	Enabled  *bool  `json:"enabled,omitempty" ini:"enabled"`
	Host     string `json:"host,omitempty" ini:"host,omitempty"`
	User     string `json:"user,omitempty" ini:"user,omitempty"`
	Password string `json:"password,omitempty" ini:"password,omitempty"`
	CertFile string `json:"cert_file,omitempty" ini:"cert_file,omitempty"`
	KeyFile  string `json:"key_file,omitempty" ini:"key_file,omitempty"`
	// +nullable
	SkipVerify   *bool  `json:"skip_verify,omitempty" ini:"skip_verify"`
	FromAddress  string `json:"from_address,omitempty" ini:"from_address,omitempty"`
	FromName     string `json:"from_name,omitempty" ini:"from_name,omitempty"`
	EhloIdentity string `json:"ehlo_identity,omitempty" ini:"ehlo_identity,omitempty"`
}

func (*GrafanaConfigSmtp) DeepCopy

func (in *GrafanaConfigSmtp) DeepCopy() *GrafanaConfigSmtp

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfigSmtp.

func (*GrafanaConfigSmtp) DeepCopyInto

func (in *GrafanaConfigSmtp) DeepCopyInto(out *GrafanaConfigSmtp)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfigSnapshots

type GrafanaConfigSnapshots struct {
	// +nullable
	ExternalEnabled      *bool  `json:"external_enabled,omitempty" ini:"external_enabled"`
	ExternalSnapshotUrl  string `json:"external_snapshot_url,omitempty" ini:"external_snapshot_url,omitempty"`
	ExternalSnapshotName string `json:"external_snapshot_name,omitempty" ini:"external_snapshot_name,omitempty"`
	// +nullable
	SnapshotRemoveExpired *bool `json:"snapshot_remove_expired,omitempty" ini:"snapshot_remove_expired"`
}

func (*GrafanaConfigSnapshots) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfigSnapshots.

func (*GrafanaConfigSnapshots) DeepCopyInto

func (in *GrafanaConfigSnapshots) DeepCopyInto(out *GrafanaConfigSnapshots)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfigUnifiedAlerting added in v4.1.0

type GrafanaConfigUnifiedAlerting struct {
	// +nullable
	Enabled           *bool  `json:"enabled,omitempty" ini:"enabled"`
	ExecuteAlerts     *bool  `json:"execute_alerts,omitempty" ini:"execute_alerts"`
	EvaluationTimeout string `json:"evaluation_timeout,omitempty" ini:"evaluation_timeout,omitempty"`
	MaxAttempts       *int   `json:"max_attempts,omitempty" ini:"max_attempts,omitempty"`
	MinInterval       string `json:"min_interval,omitempty" ini:"min_interval,omitempty"`
}

func (*GrafanaConfigUnifiedAlerting) DeepCopy added in v4.1.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfigUnifiedAlerting.

func (*GrafanaConfigUnifiedAlerting) DeepCopyInto added in v4.1.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaConfigUsers

type GrafanaConfigUsers struct {
	// +nullable
	AllowSignUp *bool `json:"allow_sign_up,omitempty" ini:"allow_sign_up"`
	// +nullable
	AllowOrgCreate *bool `json:"allow_org_create,omitempty" ini:"allow_org_create"`
	// +nullable
	AutoAssignOrg     *bool  `json:"auto_assign_org,omitempty" ini:"auto_assign_org"`
	AutoAssignOrgId   string `json:"auto_assign_org_id,omitempty" ini:"auto_assign_org_id,omitempty"`
	AutoAssignOrgRole string `json:"auto_assign_org_role,omitempty" ini:"auto_assign_org_role,omitempty"`
	// +nullable
	ViewersCanEdit *bool `json:"viewers_can_edit,omitempty" ini:"viewers_can_edit"`
	// +nullable
	EditorsCanAdmin *bool  `json:"editors_can_admin,omitempty" ini:"editors_can_admin"`
	LoginHint       string `json:"login_hint,omitempty" ini:"login_hint,omitempty"`
	PasswordHint    string `json:"password_hint,omitempty" ini:"password_hint,omitempty"`
	DefaultTheme    string `json:"default_theme,omitempty" ini:"default_theme,omitempty"`
}

func (*GrafanaConfigUsers) DeepCopy

func (in *GrafanaConfigUsers) DeepCopy() *GrafanaConfigUsers

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaConfigUsers.

func (*GrafanaConfigUsers) DeepCopyInto

func (in *GrafanaConfigUsers) DeepCopyInto(out *GrafanaConfigUsers)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaDashboard

type GrafanaDashboard struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   GrafanaDashboardSpec   `json:"spec,omitempty"`
	Status GrafanaDashboardStatus `json:"status,omitempty"`
}

GrafanaDashboard is the Schema for the grafanadashboards API +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:object:root=true +kubebuilder:subresource:status

func (*GrafanaDashboard) DeepCopy

func (in *GrafanaDashboard) DeepCopy() *GrafanaDashboard

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaDashboard.

func (*GrafanaDashboard) DeepCopyInto

func (in *GrafanaDashboard) DeepCopyInto(out *GrafanaDashboard)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GrafanaDashboard) DeepCopyObject

func (in *GrafanaDashboard) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*GrafanaDashboard) GetContentCache added in v4.8.0

func (d *GrafanaDashboard) GetContentCache(url string) string

func (*GrafanaDashboard) Hash

func (d *GrafanaDashboard) Hash() string

func (*GrafanaDashboard) MatchesSelectors

func (d *GrafanaDashboard) MatchesSelectors(s []*metav1.LabelSelector) (bool, error)

Check if the dashboard matches at least one of the selectors

func (*GrafanaDashboard) Parse

func (d *GrafanaDashboard) Parse(optional string) (map[string]interface{}, error)

func (*GrafanaDashboard) UID

func (d *GrafanaDashboard) UID() string

type GrafanaDashboardDatasource

type GrafanaDashboardDatasource struct {
	InputName      string `json:"inputName"`
	DatasourceName string `json:"datasourceName"`
}

func (*GrafanaDashboardDatasource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaDashboardDatasource.

func (*GrafanaDashboardDatasource) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaDashboardError added in v4.5.0

type GrafanaDashboardError struct {
	Code    int    `json:"code"`
	Message string `json:"error"`
	Retries int    `json:"retries,omitempty"`
}

func (*GrafanaDashboardError) DeepCopy added in v4.5.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaDashboardError.

func (*GrafanaDashboardError) DeepCopyInto added in v4.5.0

func (in *GrafanaDashboardError) DeepCopyInto(out *GrafanaDashboardError)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaDashboardGrafanaComSource

type GrafanaDashboardGrafanaComSource struct {
	Id       int  `json:"id"`
	Revision *int `json:"revision,omitempty"`
}

func (*GrafanaDashboardGrafanaComSource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaDashboardGrafanaComSource.

func (*GrafanaDashboardGrafanaComSource) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaDashboardList

type GrafanaDashboardList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []GrafanaDashboard `json:"items"`
}

GrafanaDashboardList contains a list of GrafanaDashboard +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:object:root=true

func (*GrafanaDashboardList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaDashboardList.

func (*GrafanaDashboardList) DeepCopyInto

func (in *GrafanaDashboardList) DeepCopyInto(out *GrafanaDashboardList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GrafanaDashboardList) DeepCopyObject

func (in *GrafanaDashboardList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GrafanaDashboardRef

type GrafanaDashboardRef struct {
	Name       string `json:"name"`
	Namespace  string `json:"namespace"`
	UID        string `json:"uid"`
	Hash       string `json:"hash"`
	FolderId   *int64 `json:"folderId"`
	FolderName string `json:"folderName"`
}

GrafanaDashboardRef is used to keep a dashboard reference without having access to the dashboard struct itself

func (*GrafanaDashboardRef) DeepCopy

func (in *GrafanaDashboardRef) DeepCopy() *GrafanaDashboardRef

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaDashboardRef.

func (*GrafanaDashboardRef) DeepCopyInto

func (in *GrafanaDashboardRef) DeepCopyInto(out *GrafanaDashboardRef)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaDashboardSpec

type GrafanaDashboardSpec struct {
	// Json is the dashboard's JSON
	Json string `json:"json,omitempty"`
	// GzipJson the dashboard's JSON compressed with Gzip. Base64-encoded when in YAML.
	GzipJson []byte     `json:"gzipJson,omitempty"`
	Jsonnet  string     `json:"jsonnet,omitempty"`
	Plugins  PluginList `json:"plugins,omitempty"`
	Url      string     `json:"url,omitempty"`
	// ConfigMapRef is a reference to a ConfigMap data field containing the dashboard's JSON
	ConfigMapRef *corev1.ConfigMapKeySelector `json:"configMapRef,omitempty"`
	// GzipConfigMapRef is a reference to a ConfigMap binaryData field containing
	// the dashboard's JSON, compressed with Gzip.
	GzipConfigMapRef *corev1.ConfigMapKeySelector      `json:"gzipConfigMapRef,omitempty"`
	Datasources      []GrafanaDashboardDatasource      `json:"datasources,omitempty"`
	CustomFolderName string                            `json:"customFolderName,omitempty"`
	GrafanaCom       *GrafanaDashboardGrafanaComSource `json:"grafanaCom,omitempty"`

	// ContentCacheDuration sets how often the operator should resync with the external source when using
	// the `grafanaCom.id` or `url` field to specify the source of the dashboard. The default value is
	// decided by the `dashboardContentCacheDuration` field in the `Grafana` resource. The default is 0 which
	// is interpreted as never refetching.
	ContentCacheDuration *metav1.Duration `json:"contentCacheDuration,omitempty"`
}

GrafanaDashboardSpec defines the desired state of GrafanaDashboard

func (*GrafanaDashboardSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaDashboardSpec.

func (*GrafanaDashboardSpec) DeepCopyInto

func (in *GrafanaDashboardSpec) DeepCopyInto(out *GrafanaDashboardSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaDashboardStatus

type GrafanaDashboardStatus struct {
	ContentCache     []byte                 `json:"contentCache,omitempty"`
	ContentTimestamp metav1.Time            `json:"contentTimestamp,omitempty"`
	ContentUrl       string                 `json:"contentUrl,omitempty"`
	Error            *GrafanaDashboardError `json:"error,omitempty"`
}

func (*GrafanaDashboardStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaDashboardStatus.

func (*GrafanaDashboardStatus) DeepCopyInto

func (in *GrafanaDashboardStatus) DeepCopyInto(out *GrafanaDashboardStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaDataSource

type GrafanaDataSource struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   GrafanaDataSourceSpec   `json:"spec,omitempty"`
	Status GrafanaDataSourceStatus `json:"status,omitempty"`
}

GrafanaDataSource is the Schema for the grafanadatasources API

func (*GrafanaDataSource) DeepCopy

func (in *GrafanaDataSource) DeepCopy() *GrafanaDataSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaDataSource.

func (*GrafanaDataSource) DeepCopyInto

func (in *GrafanaDataSource) DeepCopyInto(out *GrafanaDataSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GrafanaDataSource) DeepCopyObject

func (in *GrafanaDataSource) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*GrafanaDataSource) Filename

func (ds *GrafanaDataSource) Filename() string

Filename returns a unique per namespace key of the datasource

type GrafanaDataSourceFields

type GrafanaDataSourceFields struct {
	Name              string                          `json:"name"`
	Type              string                          `json:"type"`
	Uid               string                          `json:"uid,omitempty"`
	Access            string                          `json:"access,omitempty"`
	OrgId             int                             `json:"orgId,omitempty"`
	Url               string                          `json:"url,omitempty"`
	Password          string                          `json:"password,omitempty"`
	User              string                          `json:"user,omitempty"`
	Database          string                          `json:"database,omitempty"`
	BasicAuth         bool                            `json:"basicAuth,omitempty"`
	BasicAuthUser     string                          `json:"basicAuthUser,omitempty"`
	BasicAuthPassword string                          `json:"basicAuthPassword,omitempty"`
	WithCredentials   bool                            `json:"withCredentials,omitempty"`
	IsDefault         bool                            `json:"isDefault,omitempty"`
	JsonData          GrafanaDataSourceJsonData       `json:"jsonData,omitempty"`
	SecureJsonData    GrafanaDataSourceSecureJsonData `json:"secureJsonData,omitempty"`
	Version           int                             `json:"version,omitempty"`
	Editable          bool                            `json:"editable,omitempty"`
	// +kubebuilder:validation:Schemaless
	// +kubebuilder:pruning:PreserveUnknownFields
	// +kubebuilder:validation:Type=object
	// +optional
	// CustomJsonData will be used in place of jsonData, if present, and supports arbitrary JSON, not just those of official datasources
	CustomJsonData json.RawMessage `json:"customJsonData,omitempty"`
	// +kubebuilder:validation:Schemaless
	// +kubebuilder:pruning:PreserveUnknownFields
	// +kubebuilder:validation:Type=object
	// +optional
	// SecureCustomJsonData will be used in place of secureJsonData, if present, and supports arbitrary JSON, not just those of official datasources
	CustomSecureJsonData json.RawMessage `json:"customSecureJsonData,omitempty"`
}

func (*GrafanaDataSourceFields) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaDataSourceFields.

func (*GrafanaDataSourceFields) DeepCopyInto

func (in *GrafanaDataSourceFields) DeepCopyInto(out *GrafanaDataSourceFields)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaDataSourceJsonData

type GrafanaDataSourceJsonData struct {
	// HTTP Request timeout in seconds. Overrides dataproxy.timeout option
	Timeout                 int                `json:"timeout,omitempty"`
	QueryTimeout            string             `json:"queryTimeout,omitempty"`
	OauthPassThru           bool               `json:"oauthPassThru,omitempty"`
	TlsAuth                 bool               `json:"tlsAuth,omitempty"`
	TlsAuthWithCACert       bool               `json:"tlsAuthWithCACert,omitempty"`
	TlsSkipVerify           bool               `json:"tlsSkipVerify,omitempty"`
	GraphiteVersion         string             `json:"graphiteVersion,omitempty"`
	TimeInterval            string             `json:"timeInterval,omitempty"`
	EsVersion               intstr.IntOrString `json:"esVersion,omitempty"`
	TimeField               string             `json:"timeField,omitempty"`
	Interval                string             `json:"interval,omitempty"`
	LogMessageField         string             `json:"logMessageField,omitempty"`
	LogLevelField           string             `json:"logLevelField,omitempty"`
	AuthType                string             `json:"authType,omitempty"`
	AssumeRoleArn           string             `json:"assumeRoleArn,omitempty"`
	DefaultRegion           string             `json:"defaultRegion,omitempty"`
	CustomMetricsNamespaces string             `json:"customMetricsNamespaces,omitempty"`
	TsdbVersion             string             `json:"tsdbVersion,omitempty"`
	TsdbResolution          string             `json:"tsdbResolution,omitempty"`
	Sslmode                 string             `json:"sslmode,omitempty"`
	Encrypt                 string             `json:"encrypt,omitempty"`
	PostgresVersion         int                `json:"postgresVersion,omitempty"`
	Timescaledb             bool               `json:"timescaledb,omitempty"`
	MaxOpenConns            int                `json:"maxOpenConns,omitempty"`
	MaxIdleConns            int                `json:"maxIdleConns,omitempty"`
	ConnMaxLifetime         int                `json:"connMaxLifetime,omitempty"`
	// Useful fields for clickhouse datasource
	// See https://github.com/Vertamedia/clickhouse-grafana/tree/master/dist/README.md#configure-the-datasource-with-provisioning
	// See https://github.com/Vertamedia/clickhouse-grafana/tree/master/src/datasource.ts#L44
	AddCorsHeader               bool   `json:"addCorsHeader,omitempty"`
	DefaultDatabase             string `json:"defaultDatabase,omitempty"`
	UsePOST                     bool   `json:"usePOST,omitempty"`
	UseYandexCloudAuthorization bool   `json:"useYandexCloudAuthorization,omitempty"`
	XHeaderUser                 string `json:"xHeaderUser,omitempty"`
	XHeaderKey                  string `json:"xHeaderKey,omitempty"`
	// Custom HTTP headers for datasources
	// See https://grafana.com/docs/grafana/latest/administration/provisioning/#datasources
	HTTPHeaderName1 string `json:"httpHeaderName1,omitempty"`
	HTTPHeaderName2 string `json:"httpHeaderName2,omitempty"`
	HTTPHeaderName3 string `json:"httpHeaderName3,omitempty"`
	HTTPHeaderName4 string `json:"httpHeaderName4,omitempty"`
	HTTPHeaderName5 string `json:"httpHeaderName5,omitempty"`
	HTTPHeaderName6 string `json:"httpHeaderName6,omitempty"`
	HTTPHeaderName7 string `json:"httpHeaderName7,omitempty"`
	HTTPHeaderName8 string `json:"httpHeaderName8,omitempty"`
	HTTPHeaderName9 string `json:"httpHeaderName9,omitempty"`
	// Fields for Stackdriver data sources
	TokenUri           string `json:"tokenUri,omitempty"`
	ClientEmail        string `json:"clientEmail,omitempty"`
	AuthenticationType string `json:"authenticationType,omitempty"`
	DefaultProject     string `json:"defaultProject,omitempty"`
	// Fields for Azure data sources
	AppInsightsAppId             string `json:"appInsightsAppId,omitempty"`
	AzureLogAnalyticsSameAs      string `json:"azureLogAnalyticsSameAs,omitempty"`
	ClientId                     string `json:"clientId,omitempty"`
	ClusterURL                   string `json:"clusterUrl,omitempty"`
	CloudName                    string `json:"cloudName,omitempty"`
	LogAnalyticsDefaultWorkspace string `json:"logAnalyticsDefaultWorkspace,omitempty"`
	LogAnalyticsClientId         string `json:"logAnalyticsClientId,omitempty"`
	LogAnalyticsSubscriptionId   string `json:"logAnalyticsSubscriptionId,omitempty"`
	LogAnalyticsTenantId         string `json:"logAnalyticsTenantId,omitempty"`
	SubscriptionId               string `json:"subscriptionId,omitempty"`
	TenantId                     string `json:"tenantId,omitempty"`
	// Fields for InfluxDB data sources
	HTTPMode      string `json:"httpMode,omitempty"`
	Version       string `json:"version,omitempty"`
	Organization  string `json:"organization,omitempty"`
	DefaultBucket string `json:"defaultBucket,omitempty"`
	// Fields for Loki data sources
	MaxLines      int                                  `json:"maxLines,omitempty"`
	DerivedFields []GrafanaDataSourceJsonDerivedFields `json:"derivedFields,omitempty"`
	// Fields for Prometheus data sources
	CustomQueryParameters       string                                             `json:"customQueryParameters,omitempty"`
	HTTPMethod                  string                                             `json:"httpMethod,omitempty"`
	ExemplarTraceIdDestinations []GrafanaDataSourceJsonExemplarTraceIdDestinations `json:"exemplarTraceIdDestinations,omitempty"`
	// Fields for tracing data sources
	TracesToLogs GrafanaDataSourceJsonTracesToLogs `json:"tracesToLogs,omitempty"`
	ServiceMap   GrafanaDataSourceJsonServiceMap   `json:"serviceMap,omitempty"`
	NodeGraph    GrafanaDatasourceJsonNodeGraph    `json:"nodeGraph,omitempty"`
	Search       GrafanaDataSourceJsonSearch       `json:"search,omitempty"`
	// Fields for Github data sources
	GithubUrl string `json:"githubUrl,omitempty"`
	// Fields for Alertmanager data sources
	Implementation string `json:"implementation,omitempty"`
	// Fields for AWS Prometheus data sources
	SigV4Auth          bool   `json:"sigV4Auth,omitempty"`
	SigV4AuthType      string `json:"sigV4AuthType,omitempty"`
	SigV4ExternalId    string `json:"sigV4ExternalId,omitempty"`
	SigV4AssumeRoleArn string `json:"sigV4AssumeRoleArn,omitempty"`
	SigV4Region        string `json:"sigV4Region,omitempty"`
	SigV4Profile       string `json:"sigV4Profile,omitempty"`
	// Fields for Instana data sources
	// See https://github.com/instana/instana-grafana-datasource/blob/main/provisioning/datasources/datasource.yml
	Url               string `json:"url,omitempty"`
	ApiToken          string `json:"apiToken,omitempty"`
	UseProxy          bool   `json:"useProxy,omitempty"`
	ShowOffline       bool   `json:"showOffline,omitempty"`
	AllowInfraExplore bool   `json:"allowInfraExplore,omitempty"`
	// Extra field for MySQL data source
	Timezone string `json:"timezone,omitempty"`
	// Fields for Grafana Clickhouse data sources
	Server   string `json:"server,omitempty"`
	Port     int    `json:"port,omitempty"`
	Username string `json:"username,omitempty"`
	// ManageAlerts turns on alert management from UI
	ManageAlerts bool `json:"manageAlerts,omitempty"`
	// AlertManagerUID if null use the internal grafana alertmanager
	AlertManagerUID string `json:"alertmanagerUid,omitempty"`
}

GrafanaDataSourceJsonData contains the most common json options See https://grafana.com/docs/administration/provisioning/#datasources

func (*GrafanaDataSourceJsonData) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaDataSourceJsonData.

func (*GrafanaDataSourceJsonData) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaDataSourceJsonDerivedFields

type GrafanaDataSourceJsonDerivedFields struct {
	DatasourceUid string `json:"datasourceUid,omitempty"`
	MatcherRegex  string `json:"matcherRegex,omitempty"`
	Name          string `json:"name,omitempty"`
	Url           string `json:"url,omitempty"`
}

func (*GrafanaDataSourceJsonDerivedFields) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaDataSourceJsonDerivedFields.

func (*GrafanaDataSourceJsonDerivedFields) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaDataSourceJsonExemplarTraceIdDestinations added in v4.2.0

type GrafanaDataSourceJsonExemplarTraceIdDestinations struct {
	DatasourceUid   string `json:"datasourceUid,omitempty"`
	Name            string `json:"name,omitempty"`
	Url             string `json:"url,omitempty"`
	UrlDisplayLabel string `json:"urlDisplayLabel,omitempty"`
}

func (*GrafanaDataSourceJsonExemplarTraceIdDestinations) DeepCopy added in v4.2.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaDataSourceJsonExemplarTraceIdDestinations.

func (*GrafanaDataSourceJsonExemplarTraceIdDestinations) DeepCopyInto added in v4.2.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaDataSourceJsonSearch added in v4.2.0

type GrafanaDataSourceJsonSearch struct {
	Hide bool `json:"hide,omitempty"`
}

func (*GrafanaDataSourceJsonSearch) DeepCopy added in v4.2.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaDataSourceJsonSearch.

func (*GrafanaDataSourceJsonSearch) DeepCopyInto added in v4.2.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaDataSourceJsonServiceMap added in v4.2.0

type GrafanaDataSourceJsonServiceMap struct {
	DatasourceUid string `json:"datasourceUid,omitempty"`
}

func (*GrafanaDataSourceJsonServiceMap) DeepCopy added in v4.2.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaDataSourceJsonServiceMap.

func (*GrafanaDataSourceJsonServiceMap) DeepCopyInto added in v4.2.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaDataSourceJsonTracesToLogs

type GrafanaDataSourceJsonTracesToLogs struct {
	DatasourceUid      string   `json:"datasourceUid,omitempty"`
	SpanEndTimeShift   string   `json:"spanEndTimeShift,omitempty"`
	SpanStartTimeShift string   `json:"spanStartTimeShift,omitempty"`
	Tags               []string `json:"tags,omitempty"`
	FilterBySpanId     bool     `json:"filterBySpanID,omitempty"`
	FilterByTraceID    bool     `json:"filterByTraceID,omitempty"`
	LokiSearch         bool     `json:"lokiSearch,omitempty"`
}

func (*GrafanaDataSourceJsonTracesToLogs) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaDataSourceJsonTracesToLogs.

func (*GrafanaDataSourceJsonTracesToLogs) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaDataSourceList

type GrafanaDataSourceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []GrafanaDataSource `json:"items"`
}

GrafanaDataSourceList contains a list of GrafanaDataSource +kubebuilder:object:root=true

func (*GrafanaDataSourceList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaDataSourceList.

func (*GrafanaDataSourceList) DeepCopyInto

func (in *GrafanaDataSourceList) DeepCopyInto(out *GrafanaDataSourceList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GrafanaDataSourceList) DeepCopyObject

func (in *GrafanaDataSourceList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GrafanaDataSourceSecureJsonData

type GrafanaDataSourceSecureJsonData struct {
	TlsCaCert         string `json:"tlsCACert,omitempty"`
	TlsClientCert     string `json:"tlsClientCert,omitempty"`
	TlsClientKey      string `json:"tlsClientKey,omitempty"`
	Password          string `json:"password,omitempty"`
	BasicAuthPassword string `json:"basicAuthPassword,omitempty"`
	AccessKey         string `json:"accessKey,omitempty"`
	SecretKey         string `json:"secretKey,omitempty"`
	// Custom HTTP headers for datasources
	// See https://grafana.com/docs/grafana/latest/administration/provisioning/#datasources
	HTTPHeaderValue1 string `json:"httpHeaderValue1,omitempty"`
	HTTPHeaderValue2 string `json:"httpHeaderValue2,omitempty"`
	HTTPHeaderValue3 string `json:"httpHeaderValue3,omitempty"`
	HTTPHeaderValue4 string `json:"httpHeaderValue4,omitempty"`
	HTTPHeaderValue5 string `json:"httpHeaderValue5,omitempty"`
	HTTPHeaderValue6 string `json:"httpHeaderValue6,omitempty"`
	HTTPHeaderValue7 string `json:"httpHeaderValue7,omitempty"`
	HTTPHeaderValue8 string `json:"httpHeaderValue8,omitempty"`
	HTTPHeaderValue9 string `json:"httpHeaderValue9,omitempty"`
	// Fields for Stackdriver data sources
	PrivateKey string `json:"privateKey,omitempty"`
	// Fields for Azure data sources
	ClientSecret             string `json:"clientSecret,omitempty"`
	AppInsightsApiKey        string `json:"appInsightsApiKey,omitempty"`
	LogAnalyticsClientSecret string `json:"logAnalyticsClientSecret,omitempty"`
	// Fields for InfluxDB data sources
	Token string `json:"token,omitempty"`
	// Fields for Github data sources
	AccessToken string `json:"accessToken,omitempty"`
	// Fields for AWS data sources
	SigV4AccessKey string `json:"sigV4AccessKey,omitempty"`
	SigV4SecretKey string `json:"sigV4SecretKey,omitempty"`
}

GrafanaDataSourceSecureJsonData contains the most common secure json options See https://grafana.com/docs/administration/provisioning/#datasources

func (*GrafanaDataSourceSecureJsonData) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaDataSourceSecureJsonData.

func (*GrafanaDataSourceSecureJsonData) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaDataSourceSpec

type GrafanaDataSourceSpec struct {
	Datasources []GrafanaDataSourceFields `json:"datasources"`
	Name        string                    `json:"name"`
}

GrafanaDataSourceSpec defines the desired state of GrafanaDataSource

func (*GrafanaDataSourceSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaDataSourceSpec.

func (*GrafanaDataSourceSpec) DeepCopyInto

func (in *GrafanaDataSourceSpec) DeepCopyInto(out *GrafanaDataSourceSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaDataSourceStatus

type GrafanaDataSourceStatus struct {
	Phase   StatusPhase `json:"phase"`
	Message string      `json:"message"`
}

func (*GrafanaDataSourceStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaDataSourceStatus.

func (*GrafanaDataSourceStatus) DeepCopyInto

func (in *GrafanaDataSourceStatus) DeepCopyInto(out *GrafanaDataSourceStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaDataStorage

type GrafanaDataStorage struct {
	Annotations map[string]string               `json:"annotations,omitempty"`
	Labels      map[string]string               `json:"labels,omitempty"`
	AccessModes []v1.PersistentVolumeAccessMode `json:"accessModes,omitempty"`
	Size        resource.Quantity               `json:"size,omitempty"`
	Class       string                          `json:"class,omitempty"`
	VolumeName  string                          `json:"volumeName,omitempty"`
}

GrafanaDataStorage provides a means to configure the grafana data storage

func (*GrafanaDataStorage) DeepCopy

func (in *GrafanaDataStorage) DeepCopy() *GrafanaDataStorage

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaDataStorage.

func (*GrafanaDataStorage) DeepCopyInto

func (in *GrafanaDataStorage) DeepCopyInto(out *GrafanaDataStorage)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaDatasourceJsonNodeGraph added in v4.2.0

type GrafanaDatasourceJsonNodeGraph struct {
	Enabled bool `json:"enabled,omitempty"`
}

func (*GrafanaDatasourceJsonNodeGraph) DeepCopy added in v4.2.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaDatasourceJsonNodeGraph.

func (*GrafanaDatasourceJsonNodeGraph) DeepCopyInto added in v4.2.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaDeployment

type GrafanaDeployment struct {
	Annotations map[string]string `json:"annotations,omitempty"`
	Labels      map[string]string `json:"labels,omitempty"`
	// +nullable
	Replicas                      *int32                        `json:"replicas,omitempty"`
	NodeSelector                  map[string]string             `json:"nodeSelector,omitempty"`
	Tolerations                   []v1.Toleration               `json:"tolerations,omitempty"`
	Affinity                      *v1.Affinity                  `json:"affinity,omitempty"`
	TopologySpreadConstraints     []v1.TopologySpreadConstraint `json:"topologySpreadConstraints,omitempty"`
	SecurityContext               *v1.PodSecurityContext        `json:"securityContext,omitempty"`
	ContainerSecurityContext      *v1.SecurityContext           `json:"containerSecurityContext,omitempty"`
	TerminationGracePeriodSeconds *int64                        `json:"terminationGracePeriodSeconds,omitempty"`
	EnvFrom                       []v1.EnvFromSource            `json:"envFrom,omitempty"`
	Env                           []v1.EnvVar                   `json:"env,omitempty"`
	// +nullable
	SkipCreateAdminAccount *bool  `json:"skipCreateAdminAccount,omitempty"`
	PriorityClassName      string `json:"priorityClassName,omitempty"`
	// +nullable
	HostNetwork       *bool                      `json:"hostNetwork,omitempty"`
	ExtraVolumes      []v1.Volume                `json:"extraVolumes,omitempty"`
	ExtraVolumeMounts []v1.VolumeMount           `json:"extraVolumeMounts,omitempty"`
	Strategy          *appsv1.DeploymentStrategy `json:"strategy,omitempty"`
	HttpProxy         *GrafanaHttpProxy          `json:"httpProxy,omitempty"`
}

GrafanaDeployment provides a means to configure the deployment

func (*GrafanaDeployment) DeepCopy

func (in *GrafanaDeployment) DeepCopy() *GrafanaDeployment

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaDeployment.

func (*GrafanaDeployment) DeepCopyInto

func (in *GrafanaDeployment) DeepCopyInto(out *GrafanaDeployment)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaFolder added in v4.7.0

type GrafanaFolder struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec GrafanaFolderSpec `json:"spec,omitempty"`
}

GrafanaFolder is the Schema for the grafana folders and folderpermissions API +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:object:root=true

func (*GrafanaFolder) DeepCopy added in v4.7.0

func (in *GrafanaFolder) DeepCopy() *GrafanaFolder

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaFolder.

func (*GrafanaFolder) DeepCopyInto added in v4.7.0

func (in *GrafanaFolder) DeepCopyInto(out *GrafanaFolder)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GrafanaFolder) DeepCopyObject added in v4.7.0

func (in *GrafanaFolder) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*GrafanaFolder) GetPermissions added in v4.7.0

func (f *GrafanaFolder) GetPermissions() []*GrafanaPermissionItem

func (*GrafanaFolder) Hash added in v4.7.0

func (f *GrafanaFolder) Hash() string

func (*GrafanaFolder) MatchesSelectors added in v4.7.0

func (d *GrafanaFolder) MatchesSelectors(s []*metav1.LabelSelector) (bool, error)

Check if the dashboard-folder matches at least one of the selectors

type GrafanaFolderList added in v4.7.0

type GrafanaFolderList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []GrafanaFolder `json:"items"`
}

GrafanaFolderList contains a list of GrafanaFolder +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:object:root=true

func (*GrafanaFolderList) DeepCopy added in v4.7.0

func (in *GrafanaFolderList) DeepCopy() *GrafanaFolderList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaFolderList.

func (*GrafanaFolderList) DeepCopyInto added in v4.7.0

func (in *GrafanaFolderList) DeepCopyInto(out *GrafanaFolderList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GrafanaFolderList) DeepCopyObject added in v4.7.0

func (in *GrafanaFolderList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GrafanaFolderRef added in v4.7.0

type GrafanaFolderRef struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
	Hash      string `json:"hash"`
}

GrafanaFolderRef is used to keep a folder reference without having access to the folder-struct itself

func (*GrafanaFolderRef) DeepCopy added in v4.7.0

func (in *GrafanaFolderRef) DeepCopy() *GrafanaFolderRef

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaFolderRef.

func (*GrafanaFolderRef) DeepCopyInto added in v4.7.0

func (in *GrafanaFolderRef) DeepCopyInto(out *GrafanaFolderRef)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaFolderSpec added in v4.7.0

type GrafanaFolderSpec struct {
	// FolderName is the display-name of the folder and must match CustomFolderName of any GrafanaDashboard you want to put in
	FolderName string `json:"title"`

	// FolderPermissions shall contain the _complete_ permissions for the folder.
	// Any permission not listed here, will be removed from the folder.
	FolderPermissions []GrafanaPermissionItem `json:"permissions,omitempty"`
}

func (*GrafanaFolderSpec) DeepCopy added in v4.7.0

func (in *GrafanaFolderSpec) DeepCopy() *GrafanaFolderSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaFolderSpec.

func (*GrafanaFolderSpec) DeepCopyInto added in v4.7.0

func (in *GrafanaFolderSpec) DeepCopyInto(out *GrafanaFolderSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaHttpProxy

type GrafanaHttpProxy struct {
	Enabled   bool   `json:"enabled"`
	URL       string `json:"url,omitempty"`
	SecureURL string `json:"secureUrl,omitempty"`
	NoProxy   string `json:"noProxy,omitempty"`
}

GrafanaHttpProxy provides a means to configure the Grafana deployment to use an HTTP(S) proxy when making requests and resolving plugins.

func (*GrafanaHttpProxy) DeepCopy

func (in *GrafanaHttpProxy) DeepCopy() *GrafanaHttpProxy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaHttpProxy.

func (*GrafanaHttpProxy) DeepCopyInto

func (in *GrafanaHttpProxy) DeepCopyInto(out *GrafanaHttpProxy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaIngress

type GrafanaIngress struct {
	Annotations      map[string]string      `json:"annotations,omitempty"`
	Hostname         string                 `json:"hostname,omitempty"`
	Labels           map[string]string      `json:"labels,omitempty"`
	Path             string                 `json:"path,omitempty"`
	Enabled          bool                   `json:"enabled,omitempty"`
	TLSEnabled       bool                   `json:"tlsEnabled,omitempty"`
	TLSSecretName    string                 `json:"tlsSecretName,omitempty"`
	TargetPort       string                 `json:"targetPort,omitempty"`
	Termination      v12.TLSTerminationType `json:"termination,omitempty"`
	IngressClassName string                 `json:"ingressClassName,omitempty"`
	PathType         string                 `json:"pathType,omitempty"`
}

GrafanaIngress provides a means to configure the ingress created

func (*GrafanaIngress) DeepCopy

func (in *GrafanaIngress) DeepCopy() *GrafanaIngress

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaIngress.

func (*GrafanaIngress) DeepCopyInto

func (in *GrafanaIngress) DeepCopyInto(out *GrafanaIngress)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaList

type GrafanaList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Grafana `json:"items"`
}

GrafanaList contains a list of Grafana +kubebuilder:object:root=true

func (*GrafanaList) DeepCopy

func (in *GrafanaList) DeepCopy() *GrafanaList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaList.

func (*GrafanaList) DeepCopyInto

func (in *GrafanaList) DeepCopyInto(out *GrafanaList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GrafanaList) DeepCopyObject

func (in *GrafanaList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GrafanaNotificationChannel

type GrafanaNotificationChannel struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   GrafanaNotificationChannelSpec   `json:"spec,omitempty"`
	Status GrafanaNotificationChannelStatus `json:"status,omitempty"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:object:root=true +kubebuilder:subresource:status GrafanaNotificationChannel is the Schema for the GrafanaNotificationChannels API

func (*GrafanaNotificationChannel) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaNotificationChannel.

func (*GrafanaNotificationChannel) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GrafanaNotificationChannel) DeepCopyObject

func (in *GrafanaNotificationChannel) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*GrafanaNotificationChannel) MatchesSelectors

func (d *GrafanaNotificationChannel) MatchesSelectors(s []*metav1.LabelSelector) (bool, error)

Check if the notification channel matches at least one of the selectors

type GrafanaNotificationChannelList

type GrafanaNotificationChannelList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []GrafanaNotificationChannel `json:"items"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:object:root=true +kubebuilder:subresource:status GrafanaNotificationChannelList contains a list of GrafanaNotificationChannel

func (*GrafanaNotificationChannelList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaNotificationChannelList.

func (*GrafanaNotificationChannelList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GrafanaNotificationChannelList) DeepCopyObject

func (in *GrafanaNotificationChannelList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GrafanaNotificationChannelRef

type GrafanaNotificationChannelRef struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
	UID       string `json:"uid"`
	Hash      string `json:"hash"`
}

Used to keep a notification channel reference without having access to the notification channel struct itself

func (*GrafanaNotificationChannelRef) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaNotificationChannelRef.

func (*GrafanaNotificationChannelRef) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaNotificationChannelSpec

type GrafanaNotificationChannelSpec struct {
	Json string `json:"json"`
	Name string `json:"name"`
}

GrafanaNotificationChannelSpec defines the desired state of GrafanaNotificationChannel

func (*GrafanaNotificationChannelSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaNotificationChannelSpec.

func (*GrafanaNotificationChannelSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaNotificationChannelStatus

type GrafanaNotificationChannelStatus struct {
	Phase   StatusPhase `json:"phase"`
	UID     string      `json:"uid"`
	ID      uint        `json:"id"`
	Message string      `json:"message"`
	Hash    string      `json:"hash"`
}

GrafanaNotificationChannelStatus defines the observed state of GrafanaNotificationChannel

func (*GrafanaNotificationChannelStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaNotificationChannelStatus.

func (*GrafanaNotificationChannelStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaNotificationChannelStatusMessage

type GrafanaNotificationChannelStatusMessage struct {
	Message   string `json:"message"`
	Timestamp string `json:"timestamp"`
}

func (*GrafanaNotificationChannelStatusMessage) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaNotificationChannelStatusMessage.

func (*GrafanaNotificationChannelStatusMessage) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaPermissionItem added in v4.7.0

type GrafanaPermissionItem struct {
	PermissionTargetType string `json:"permissionTargetType"`
	PermissionTarget     string `json:"permissionTarget"`
	PermissionLevel      int    `json:"permissionLevel"`
}

func (*GrafanaPermissionItem) DeepCopy added in v4.7.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaPermissionItem.

func (*GrafanaPermissionItem) DeepCopyInto added in v4.7.0

func (in *GrafanaPermissionItem) DeepCopyInto(out *GrafanaPermissionItem)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaPlugin

type GrafanaPlugin struct {
	// +kubebuilder:validation:Required
	Name string `json:"name"`
	// +kubebuilder:validation:Required
	Version string `json:"version"`
}

GrafanaPlugin contains information about a single plugin +k8s:openapi-gen=true

func (*GrafanaPlugin) DeepCopy

func (in *GrafanaPlugin) DeepCopy() *GrafanaPlugin

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaPlugin.

func (*GrafanaPlugin) DeepCopyInto

func (in *GrafanaPlugin) DeepCopyInto(out *GrafanaPlugin)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaService

type GrafanaService struct {
	Name        string            `json:"name,omitempty"`
	Annotations map[string]string `json:"annotations,omitempty"`
	Labels      map[string]string `json:"labels,omitempty"`
	Type        v1.ServiceType    `json:"type,omitempty"`
	Ports       []v1.ServicePort  `json:"ports,omitempty"`
	ClusterIP   string            `json:"clusterIP,omitempty"`
}

GrafanaService provides a means to configure the service

func (*GrafanaService) DeepCopy

func (in *GrafanaService) DeepCopy() *GrafanaService

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaService.

func (*GrafanaService) DeepCopyInto

func (in *GrafanaService) DeepCopyInto(out *GrafanaService)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaServiceAccount

type GrafanaServiceAccount struct {
	Skip             *bool                     `json:"skip,omitempty"`
	Annotations      map[string]string         `json:"annotations,omitempty"`
	Labels           map[string]string         `json:"labels,omitempty"`
	ImagePullSecrets []v1.LocalObjectReference `json:"imagePullSecrets,omitempty"`
}

func (*GrafanaServiceAccount) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaServiceAccount.

func (*GrafanaServiceAccount) DeepCopyInto

func (in *GrafanaServiceAccount) DeepCopyInto(out *GrafanaServiceAccount)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaSpec

type GrafanaSpec struct {
	Config                     GrafanaConfig            `json:"config"`
	Containers                 []v1.Container           `json:"containers,omitempty"`
	DashboardLabelSelector     []*metav1.LabelSelector  `json:"dashboardLabelSelector,omitempty"`
	Ingress                    *GrafanaIngress          `json:"ingress,omitempty"`
	InitResources              *v1.ResourceRequirements `json:"initResources,omitempty"`
	Secrets                    []string                 `json:"secrets,omitempty"`
	ConfigMaps                 []string                 `json:"configMaps,omitempty"`
	Service                    *GrafanaService          `json:"service,omitempty"`
	Deployment                 *GrafanaDeployment       `json:"deployment,omitempty"`
	Resources                  *v1.ResourceRequirements `json:"resources,omitempty"`
	ServiceAccount             *GrafanaServiceAccount   `json:"serviceAccount,omitempty"`
	Client                     *GrafanaClient           `json:"client,omitempty"`
	DashboardNamespaceSelector *metav1.LabelSelector    `json:"dashboardNamespaceSelector,omitempty"`
	DataStorage                *GrafanaDataStorage      `json:"dataStorage,omitempty"`
	Jsonnet                    *JsonnetConfig           `json:"jsonnet,omitempty"`
	BaseImage                  string                   `json:"baseImage,omitempty"`
	InitImage                  string                   `json:"initImage,omitempty"`
	LivenessProbeSpec          *LivenessProbeSpec       `json:"livenessProbeSpec,omitempty"`
	ReadinessProbeSpec         *ReadinessProbeSpec      `json:"readinessProbeSpec,omitempty"`

	// DashboardContentCacheDuration sets a default for when a `GrafanaDashboard` resource doesn't specify a `contentCacheDuration`.
	// If left unset or 0 the default behavior is to cache indefinitely.
	DashboardContentCacheDuration metav1.Duration `json:"dashboardContentCacheDuration,omitempty"`
}

func (*GrafanaSpec) DeepCopy

func (in *GrafanaSpec) DeepCopy() *GrafanaSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaSpec.

func (*GrafanaSpec) DeepCopyInto

func (in *GrafanaSpec) DeepCopyInto(out *GrafanaSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GrafanaStatus

type GrafanaStatus struct {
	Phase               StatusPhase `json:"phase,omitempty"`
	PreviousServiceName string      `json:"previousServiceName,omitempty"`
	Message             string      `json:"message,omitempty"`
	// +nullable
	InstalledDashboards []*GrafanaDashboardRef `json:"dashboards,omitempty"`
	// +nullable
	InstalledPlugins PluginList `json:"installedPlugins,omitempty"`
	// +nullable
	FailedPlugins PluginList `json:"failedPlugins,omitempty"`
}

GrafanaStatus defines the observed state of Grafana

func (*GrafanaStatus) DeepCopy

func (in *GrafanaStatus) DeepCopy() *GrafanaStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrafanaStatus.

func (*GrafanaStatus) DeepCopyInto

func (in *GrafanaStatus) DeepCopyInto(out *GrafanaStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type JsonnetConfig

type JsonnetConfig struct {
	LibraryLabelSelector *metav1.LabelSelector `json:"libraryLabelSelector,omitempty"`
}

func (*JsonnetConfig) DeepCopy

func (in *JsonnetConfig) DeepCopy() *JsonnetConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JsonnetConfig.

func (*JsonnetConfig) DeepCopyInto

func (in *JsonnetConfig) DeepCopyInto(out *JsonnetConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LivenessProbeSpec

type LivenessProbeSpec struct {
	InitialDelaySeconds *int32 `json:"initialDelaySeconds,omitempty"`
	TimeOutSeconds      *int32 `json:"timeoutSeconds,omitempty"`
	PeriodSeconds       *int32 `json:"periodSeconds,omitempty"`
	SuccessThreshold    *int32 `json:"successThreshold,omitempty"`
	FailureThreshold    *int32 `json:"failureThreshold,omitempty"`
	// URIScheme identifies the scheme used for connection to a host for Get actions. Deprecated in favor of config.server.protocol.
	Scheme v1.URIScheme `json:"scheme,omitempty"`
}

func (*LivenessProbeSpec) DeepCopy

func (in *LivenessProbeSpec) DeepCopy() *LivenessProbeSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LivenessProbeSpec.

func (*LivenessProbeSpec) DeepCopyInto

func (in *LivenessProbeSpec) DeepCopyInto(out *LivenessProbeSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PluginList

type PluginList []GrafanaPlugin

func (PluginList) DeepCopy

func (in PluginList) DeepCopy() PluginList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PluginList.

func (PluginList) DeepCopyInto

func (in PluginList) DeepCopyInto(out *PluginList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (PluginList) GetInstalledVersionOf

func (l PluginList) GetInstalledVersionOf(plugin *GrafanaPlugin) *GrafanaPlugin

GetInstalledVersionOf gets the plugin from the list regardless of the version

func (PluginList) HasExactVersionOf

func (l PluginList) HasExactVersionOf(plugin *GrafanaPlugin) bool

HasExactVersionOf returns true if the list contains the same plugin in the same version

func (PluginList) HasNewerVersionOf

func (l PluginList) HasNewerVersionOf(plugin *GrafanaPlugin) (bool, error)

HasNewerVersionOf returns true if the list contains the same plugin but in a newer version

func (PluginList) HasSomeVersionOf

func (l PluginList) HasSomeVersionOf(plugin *GrafanaPlugin) bool

HasSomeVersionOf returns true if the list contains the same plugin in the exact or a different version

func (PluginList) VersionsOf

func (l PluginList) VersionsOf(plugin *GrafanaPlugin) int

VersionsOf returns the number of different versions of a given plugin in the list

type ReadinessProbeSpec

type ReadinessProbeSpec struct {
	InitialDelaySeconds *int32 `json:"initialDelaySeconds,omitempty"`
	TimeOutSeconds      *int32 `json:"timeoutSeconds,omitempty"`
	PeriodSeconds       *int32 `json:"periodSeconds,omitempty"`
	SuccessThreshold    *int32 `json:"successThreshold,omitempty"`
	FailureThreshold    *int32 `json:"failureThreshold,omitempty"`
	// URIScheme identifies the scheme used for connection to a host for Get actions. Deprecated in favor of config.server.protocol.
	Scheme v1.URIScheme `json:"scheme,omitempty"`
}

func (*ReadinessProbeSpec) DeepCopy

func (in *ReadinessProbeSpec) DeepCopy() *ReadinessProbeSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReadinessProbeSpec.

func (*ReadinessProbeSpec) DeepCopyInto

func (in *ReadinessProbeSpec) DeepCopyInto(out *ReadinessProbeSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type StatusPhase

type StatusPhase string
var (
	NoPhase          StatusPhase
	PhaseReconciling StatusPhase = "reconciling"
	PhaseFailing     StatusPhase = "failing"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL