v1alpha1

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

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 v1alpha1 API group +k8s:deepcopy-gen=package,register +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

This section is empty.

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 added in v0.14.1

func (cr *Grafana) GetPreferServiceValue() bool

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"`
	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 added in v0.14.1

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 added in v0.14.1

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

func (*GrafanaConfigAuthOkta) DeepCopyInto added in v0.14.1

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 added in v0.14.1

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

func (*GrafanaConfigFeatureToggles) DeepCopy added in v0.14.1

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

func (*GrafanaConfigFeatureToggles) DeepCopyInto added in v0.14.1

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

type GrafanaConfigLive added in v0.14.1

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 added in v0.14.1

func (in *GrafanaConfigLive) DeepCopy() *GrafanaConfigLive

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

func (*GrafanaConfigLive) DeepCopyInto added in v0.14.1

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 added in v0.14.1

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

func (*GrafanaConfigLogConsole) DeepCopy added in v0.14.1

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

func (*GrafanaConfigLogConsole) DeepCopyInto added in v0.14.1

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 added in v0.14.1

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 added in v0.14.1

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

func (*GrafanaConfigLogFrontend) DeepCopyInto added in v0.14.1

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
	EnableAlpha *bool `json:"enable_alpha,omitempty" ini:"enable_alpha"`
}

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 added in v0.14.1

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 added in v0.14.1

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

func (*GrafanaConfigRendering) DeepCopyInto added in v0.14.1

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"`
	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 v0.14.1

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 v0.14.1

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

func (*GrafanaConfigUnifiedAlerting) DeepCopyInto added in v0.14.1

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) 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 GrafanaDashboardGrafanaComSource added in v0.14.1

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

func (*GrafanaDashboardGrafanaComSource) DeepCopy added in v0.14.1

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

func (*GrafanaDashboardGrafanaComSource) DeepCopyInto added in v0.14.1

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             string                            `json:"json,omitempty"`
	Jsonnet          string                            `json:"jsonnet,omitempty"`
	Plugins          PluginList                        `json:"plugins,omitempty"`
	Url              string                            `json:"url,omitempty"`
	ConfigMapRef     *corev1.ConfigMapKeySelector      `json:"configMapRef,omitempty"`
	Datasources      []GrafanaDashboardDatasource      `json:"datasources,omitempty"`
	CustomFolderName string                            `json:"customFolderName,omitempty"`
	GrafanaCom       *GrafanaDashboardGrafanaComSource `json:"grafanaCom,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 added in v0.14.1

type GrafanaDashboardStatus struct {
}

func (*GrafanaDashboardStatus) DeepCopy added in v0.14.1

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

func (*GrafanaDashboardStatus) DeepCopyInto added in v0.14.1

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"`
}

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 {
	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               string `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"`
}

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 added in v0.14.1

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 added in v0.14.1

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

func (*GrafanaDataSourceJsonDerivedFields) DeepCopyInto added in v0.14.1

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

type GrafanaDataSourceJsonExemplarTraceIdDestinations added in v0.14.1

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 v0.14.1

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

func (*GrafanaDataSourceJsonExemplarTraceIdDestinations) DeepCopyInto added in v0.14.1

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

type GrafanaDataSourceJsonSearch added in v0.14.1

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

func (*GrafanaDataSourceJsonSearch) DeepCopy added in v0.14.1

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

func (*GrafanaDataSourceJsonSearch) DeepCopyInto added in v0.14.1

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

type GrafanaDataSourceJsonServiceMap added in v0.14.1

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

func (*GrafanaDataSourceJsonServiceMap) DeepCopy added in v0.14.1

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

func (*GrafanaDataSourceJsonServiceMap) DeepCopyInto added in v0.14.1

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

type GrafanaDataSourceJsonTracesToLogs added in v0.14.1

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 added in v0.14.1

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

func (*GrafanaDataSourceJsonTracesToLogs) DeepCopyInto added in v0.14.1

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"`
}

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 v0.14.1

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

func (*GrafanaDatasourceJsonNodeGraph) DeepCopy added in v0.14.1

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

func (*GrafanaDatasourceJsonNodeGraph) DeepCopyInto added in v0.14.1

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"`
	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 GrafanaHttpProxy added in v0.14.1

type GrafanaHttpProxy struct {
	Enabled   bool   `json:"enabled"`
	URL       string `json:"url,omitempty"`
	SecureURL string `json:"secureUrl,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 added in v0.14.1

func (in *GrafanaHttpProxy) DeepCopy() *GrafanaHttpProxy

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

func (*GrafanaHttpProxy) DeepCopyInto added in v0.14.1

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 added in v0.14.1

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 added in v0.14.1

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

func (*GrafanaNotificationChannel) DeepCopyInto added in v0.14.1

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

func (*GrafanaNotificationChannel) DeepCopyObject added in v0.14.1

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

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

func (*GrafanaNotificationChannel) MatchesSelectors added in v0.14.1

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

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

type GrafanaNotificationChannelList added in v0.14.1

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 added in v0.14.1

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

func (*GrafanaNotificationChannelList) DeepCopyInto added in v0.14.1

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

func (*GrafanaNotificationChannelList) DeepCopyObject added in v0.14.1

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

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

type GrafanaNotificationChannelRef added in v0.14.1

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 added in v0.14.1

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

func (*GrafanaNotificationChannelRef) DeepCopyInto added in v0.14.1

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

type GrafanaNotificationChannelSpec added in v0.14.1

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

GrafanaNotificationChannelSpec defines the desired state of GrafanaNotificationChannel

func (*GrafanaNotificationChannelSpec) DeepCopy added in v0.14.1

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

func (*GrafanaNotificationChannelSpec) DeepCopyInto added in v0.14.1

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

type GrafanaNotificationChannelStatus added in v0.14.1

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 added in v0.14.1

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

func (*GrafanaNotificationChannelStatus) DeepCopyInto added in v0.14.1

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

type GrafanaNotificationChannelStatusMessage added in v0.14.1

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

func (*GrafanaNotificationChannelStatusMessage) DeepCopy added in v0.14.1

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

func (*GrafanaNotificationChannelStatusMessage) DeepCopyInto added in v0.14.1

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"`
}

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"`
	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"`
	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