v1alpha1

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2019 License: Apache-2.0 Imports: 9 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 GrafanaDashboardKind = "GrafanaDashboard"
View Source
const GrafanaDataSourceKind = "GrafanaDataSource"

Variables

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

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

Functions

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

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 +k8s:openapi-gen=true

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.

type GrafanaConfig added in v1.2.0

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"`
	AuthGoogle                    GrafanaConfigAuthGoogle                    `json:"auth.google,omitempty" ini:"auth.google,omitempty"`
	AuthGithub                    GrafanaConfigAuthGithub                    `json:"auth.github,omitempty" ini:"auth.github,omitempty"`
	AuthGenericOauth              GrafanaConfigAuthGenericOauth              `json:"auth.generic_oauth,omitempty" ini:"auth.generic_oauth,omitempty"`
	AuthLdap                      GrafanaConfigAuthLdap                      `json:"auth.ldap,omitempty" ini:"auth.ldap,omitempty"`
	AuthProxy                     GrafanaConfigAuthProxy                     `json:"auth.proxy,omitempty" ini:"auth.proxy,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"`
	Log                           GrafanaConfigLog                           `json:"log,omitempty" ini:"log,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"`
	Panels                        GrafanaConfigPanels                        `json:"panels,omitempty" ini:"panels,omitempty"`
	Plugins                       GrafanaConfigPlugins                       `json:"plugins,omitempty" ini:"plugins,omitempty"`
}

GrafanaConfig is the configuration for grafana

func (*GrafanaConfig) DeepCopy added in v1.2.0

func (in *GrafanaConfig) DeepCopy() *GrafanaConfig

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

func (*GrafanaConfig) DeepCopyInto added in v1.2.0

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 added in v1.2.0

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

func (*GrafanaConfigAlerting) DeepCopy added in v1.2.0

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

func (*GrafanaConfigAlerting) DeepCopyInto added in v1.2.0

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 added in v1.2.0

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

func (*GrafanaConfigAnalytics) DeepCopy added in v1.2.0

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

func (*GrafanaConfigAnalytics) DeepCopyInto added in v1.2.0

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 added in v1.2.0

type GrafanaConfigAuth struct {
	LoginCookieName                  string `json:"login_cookie_name,omitempty" ini:"login_cookie_name,omitempty"`
	LoginMaximumInactiveLifetimeDays int    `json:"login_maximum_inactive_lifetime_days,omitempty" ini:"login_maximum_inactive_lifetime_days,omitempty"`
	LoginMaximumLifetimeDays         int    `json:"login_maximum_lifetime_days,omitempty" ini:"login_maximum_lifetime_days,omitempty"`
	TokenRotationIntervalMinutes     int    `json:"token_rotation_interval_minutes,omitempty" ini:"token_rotation_interval_minutes,omitempty"`
	DisableLoginForm                 bool   `json:"disable_login_form,omitempty" ini:"disable_login_form,omitempty"`
	DisableSignoutMenu               bool   `json:"disable_signout_menu,omitempty" ini:"disable_signout_menu,omitempty"`
	SignoutRedirectUrl               string `json:"signout_redirect_url,omitempty" ini:"signout_redirect_url,omitempty"`
	OauthAutoLogin                   bool   `json:"oauth_auto_login,omitempty" ini:"oauth_auto_login,omitempty"`
}

func (*GrafanaConfigAuth) DeepCopy added in v1.2.0

func (in *GrafanaConfigAuth) DeepCopy() *GrafanaConfigAuth

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

func (*GrafanaConfigAuth) DeepCopyInto added in v1.2.0

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 added in v1.2.0

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

func (*GrafanaConfigAuthAnonymous) DeepCopy added in v1.2.0

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

func (*GrafanaConfigAuthAnonymous) DeepCopyInto added in v1.2.0

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

type GrafanaConfigAuthBasic added in v1.2.0

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

func (*GrafanaConfigAuthBasic) DeepCopy added in v1.2.0

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

func (*GrafanaConfigAuthBasic) DeepCopyInto added in v1.2.0

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 added in v1.2.0

type GrafanaConfigAuthGenericOauth struct {
	Enabled        bool   `json:"enabled,omitempty" ini:"enabled,omitempty"`
	AllowSignUp    bool   `json:"allow_sign_up,omitempty" ini:"allow_sign_up,omitempty"`
	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"`
}

func (*GrafanaConfigAuthGenericOauth) DeepCopy added in v1.2.0

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

func (*GrafanaConfigAuthGenericOauth) DeepCopyInto added in v1.2.0

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

type GrafanaConfigAuthGithub added in v1.2.0

type GrafanaConfigAuthGithub struct {
	Enabled              bool   `json:"enabled,omitempty" ini:"enabled,omitempty"`
	AllowSignUp          bool   `json:"allow_sign_up,omitempty" ini:"allow_sign_up,omitempty"`
	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 added in v1.2.0

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

func (*GrafanaConfigAuthGithub) DeepCopyInto added in v1.2.0

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 added in v1.2.0

type GrafanaConfigAuthGitlab struct {
	Enabled       bool   `json:"enabled,omitempty" ini:"enabled,omitempty"`
	AllowSignUp   bool   `json:"allow_sign_up,omitempty" ini:"allow_sign_up,omitempty"`
	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 added in v1.2.0

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

func (*GrafanaConfigAuthGitlab) DeepCopyInto added in v1.2.0

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 added in v1.2.0

type GrafanaConfigAuthGoogle struct {
	Enabled        bool   `json:"enabled,omitempty" ini:"enabled,omitempty"`
	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,omitempty"`
}

func (*GrafanaConfigAuthGoogle) DeepCopy added in v1.2.0

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

func (*GrafanaConfigAuthGoogle) DeepCopyInto added in v1.2.0

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 added in v1.2.0

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

func (*GrafanaConfigAuthLdap) DeepCopy added in v1.2.0

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

func (*GrafanaConfigAuthLdap) DeepCopyInto added in v1.2.0

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

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

type GrafanaConfigAuthProxy added in v1.2.0

type GrafanaConfigAuthProxy struct {
	Enabled        bool   `json:"enabled,omitempty" ini:"enabled,omitempty"`
	HeaderName     string `json:"header_name,omitempty" ini:"header_name,omitempty"`
	HeaderProperty string `json:"header_property,omitempty" ini:"header_property,omitempty"`
	AutoSignUp     bool   `json:"auto_sign_up,omitempty" ini:"auto_sign_up,omitempty"`
	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"`
}

func (*GrafanaConfigAuthProxy) DeepCopy added in v1.2.0

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

func (*GrafanaConfigAuthProxy) DeepCopyInto added in v1.2.0

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

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

type GrafanaConfigDashboards added in v1.2.0

type GrafanaConfigDashboards struct {
	VersionsToKeep int `json:"versions_to_keep,omitempty" ini:"versions_to_keep,omitempty"`
}

func (*GrafanaConfigDashboards) DeepCopy added in v1.2.0

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

func (*GrafanaConfigDashboards) DeepCopyInto added in v1.2.0

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 added in v1.2.0

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

func (*GrafanaConfigDataProxy) DeepCopy added in v1.2.0

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

func (*GrafanaConfigDataProxy) DeepCopyInto added in v1.2.0

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 added in v1.2.0

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"`
	MaxIdleConn     int    `json:"max_idle_conn,omitempty" ini:"max_idle_conn,omitempty"`
	MaxOpenConn     int    `json:"max_open_conn,omitempty" ini:"max_open_conn,omitempty"`
	ConnMaxLifetime int    `json:"conn_max_lifetime,omitempty" ini:"conn_max_lifetime,omitempty"`
	LogQueries      bool   `json:"log_queries,omitempty" ini:"log_queries,omitempty"`
	CacheMode       string `json:"cache_mode,omitempty" ini:"cache_mode,omitempty"`
}

func (*GrafanaConfigDatabase) DeepCopy added in v1.2.0

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

func (*GrafanaConfigDatabase) DeepCopyInto added in v1.2.0

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 added in v1.2.0

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

func (*GrafanaConfigExternalImageStorage) DeepCopy added in v1.2.0

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

func (*GrafanaConfigExternalImageStorage) DeepCopyInto added in v1.2.0

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

type GrafanaConfigExternalImageStorageAzureBlob added in v1.2.0

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 added in v1.2.0

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

func (*GrafanaConfigExternalImageStorageAzureBlob) DeepCopyInto added in v1.2.0

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

type GrafanaConfigExternalImageStorageGcs added in v1.2.0

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 added in v1.2.0

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

func (*GrafanaConfigExternalImageStorageGcs) DeepCopyInto added in v1.2.0

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

type GrafanaConfigExternalImageStorageS3 added in v1.2.0

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 added in v1.2.0

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

func (*GrafanaConfigExternalImageStorageS3) DeepCopyInto added in v1.2.0

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

type GrafanaConfigExternalImageStorageWebdav added in v1.2.0

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 added in v1.2.0

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

func (*GrafanaConfigExternalImageStorageWebdav) DeepCopyInto added in v1.2.0

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

type GrafanaConfigLog added in v1.2.0

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 added in v1.2.0

func (in *GrafanaConfigLog) DeepCopy() *GrafanaConfigLog

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

func (*GrafanaConfigLog) DeepCopyInto added in v1.2.0

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

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

type GrafanaConfigMetrics added in v1.2.0

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

func (*GrafanaConfigMetrics) DeepCopy added in v1.2.0

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

func (*GrafanaConfigMetrics) DeepCopyInto added in v1.2.0

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 added in v1.2.0

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

func (*GrafanaConfigMetricsGraphite) DeepCopy added in v1.2.0

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

func (*GrafanaConfigMetricsGraphite) DeepCopyInto added in v1.2.0

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

type GrafanaConfigPanels added in v1.2.0

type GrafanaConfigPanels struct {
	DisableSanitizeHtml bool `json:"disable_sanitize_html,omitempty" ini:"disable_sanitize_html,omitempty"`
}

func (*GrafanaConfigPanels) DeepCopy added in v1.2.0

func (in *GrafanaConfigPanels) DeepCopy() *GrafanaConfigPanels

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

func (*GrafanaConfigPanels) DeepCopyInto added in v1.2.0

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 added in v1.2.0

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

func (*GrafanaConfigPaths) DeepCopy added in v1.2.0

func (in *GrafanaConfigPaths) DeepCopy() *GrafanaConfigPaths

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

func (*GrafanaConfigPaths) DeepCopyInto added in v1.2.0

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 added in v1.2.0

type GrafanaConfigPlugins struct {
	EnableAlpha bool `json:"enable_alpha,omitempty" ini:"enable_alpha,omitempty"`
}

func (*GrafanaConfigPlugins) DeepCopy added in v1.2.0

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

func (*GrafanaConfigPlugins) DeepCopyInto added in v1.2.0

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 added in v1.2.0

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

func (*GrafanaConfigRemoteCache) DeepCopy added in v1.2.0

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

func (*GrafanaConfigRemoteCache) DeepCopyInto added in v1.2.0

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

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

type GrafanaConfigSecurity added in v1.2.0

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

func (*GrafanaConfigSecurity) DeepCopy added in v1.2.0

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

func (*GrafanaConfigSecurity) DeepCopyInto added in v1.2.0

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 added in v1.2.0

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"`
	EnforceDomain    bool   `json:"enforce_domain,omitempty" ini:"enforce_domain,omitempty"`
	RootUrl          string `json:"root_url,omitempty" ini:"root_url,omitempty"`
	ServeFromSubPath bool   `json:"serve_from_sub_path,omitempty" ini:"serve_from_sub_path,omitempty"`
	StaticRootPath   string `json:"static_root_path,omitempty" ini:"static_root_path,omitempty"`
	EnableGzip       bool   `json:"enable_gzip,omitempty" ini:"enable_gzip,omitempty"`
	CertFile         string `json:"cert_file,omitempty" ini:"cert_file,omitempty"`
	CertKey          string `json:"cert_key,omitempty" ini:"cert_key,omitempty"`
	RouterLogging    bool   `json:"router_logging,omitempty" ini:"router_logging,omitempty"`
}

func (*GrafanaConfigServer) DeepCopy added in v1.2.0

func (in *GrafanaConfigServer) DeepCopy() *GrafanaConfigServer

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

func (*GrafanaConfigServer) DeepCopyInto added in v1.2.0

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 added in v1.2.0

type GrafanaConfigSmtp struct {
	Enabled      bool   `json:"enabled,omitempty" ini:"enabled,omitempty"`
	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"`
	SkipVerify   bool   `json:"skip_verify,omitempty" ini:"skip_verify,omitempty"`
	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 added in v1.2.0

func (in *GrafanaConfigSmtp) DeepCopy() *GrafanaConfigSmtp

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

func (*GrafanaConfigSmtp) DeepCopyInto added in v1.2.0

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 added in v1.2.0

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

func (*GrafanaConfigSnapshots) DeepCopy added in v1.2.0

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

func (*GrafanaConfigSnapshots) DeepCopyInto added in v1.2.0

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

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

type GrafanaConfigUsers added in v1.2.0

type GrafanaConfigUsers struct {
	AllowSignUp       bool   `json:"allow_sign_up,omitempty" ini:"allow_sign_up,omitempty"`
	AllowOrgCreate    bool   `json:"allow_org_create,omitempty" ini:"allow_org_create,omitempty"`
	AutoAssignOrg     bool   `json:"auto_assign_org,omitempty" ini:"auto_assign_org,omitempty"`
	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"`
	ViewersCanEdit    bool   `json:"viewers_can_edit,omitempty" ini:"viewers_can_edit,omitempty"`
	EditorsCanAdmin   bool   `json:"editors_can_admin,omitempty" ini:"editors_can_admin,omitempty"`
	LoginHint         string `json:"login_hint,omitempty" ini:"login_hint,omitempty"`
	PasswordHint      string `json:"password_hint,omitempty" ini:"password_hint,omitempty"`
}

func (*GrafanaConfigUsers) DeepCopy added in v1.2.0

func (in *GrafanaConfigUsers) DeepCopy() *GrafanaConfigUsers

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

func (*GrafanaConfigUsers) DeepCopyInto added in v1.2.0

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:openapi-gen=true

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) MatchesSelectors added in v1.3.1

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

Check if the dashboard matches at least one of the selectors

type GrafanaDashboardList

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

GrafanaDashboardList contains a list of GrafanaDashboard

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 GrafanaDashboardSpec

type GrafanaDashboardSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	Json    string     `json:"json"`
	Name    string     `json:"name"`
	Plugins PluginList `json:"plugins,omitempty"`
	Url     string     `json:"url,omitempty"`
}

GrafanaDashboardSpec defines the desired state of GrafanaDashboard

func (*GrafanaDashboardSpec) DeepCopy

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

func (*GrafanaDashboardSpec) DeepCopyInto

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

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

type GrafanaDashboardStatus

type GrafanaDashboardStatus struct {
	Messages   []GrafanaDashboardStatusMessage `json:"messages,omitempty"`
	Phase      int                             `json:"phase"`
	LastConfig string                          `json:"lastConfig,omitempty"`
}

GrafanaDashboardStatus defines the observed state of GrafanaDashboard

func (*GrafanaDashboardStatus) DeepCopy

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

func (*GrafanaDashboardStatus) DeepCopyInto

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

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

type GrafanaDashboardStatusMessage

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

func (*GrafanaDashboardStatusMessage) DeepCopy

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

func (*GrafanaDashboardStatusMessage) DeepCopyInto

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 +k8s:openapi-gen=true

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.

type GrafanaDataSourceFields

type GrafanaDataSourceFields struct {
	Name              string                          `json:"name"`
	Type              string                          `json:"type"`
	Access            string                          `json:"access"`
	OrgId             int                             `json:"orgId,omitempty"`
	Url               string                          `json:"url"`
	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 added in v1.4.0

type GrafanaDataSourceJsonData struct {
	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               int    `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"`
}

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

func (*GrafanaDataSourceJsonData) DeepCopy added in v1.4.0

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

func (*GrafanaDataSourceJsonData) DeepCopyInto added in v1.4.0

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

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 added in v1.4.0

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

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

func (*GrafanaDataSourceSecureJsonData) DeepCopy added in v1.4.0

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

func (*GrafanaDataSourceSecureJsonData) DeepCopyInto added in v1.4.0

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

type GrafanaDataSourceSpec

type GrafanaDataSourceSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book.kubebuilder.io/beyond_basics/generating_crd.html
	Datasources []GrafanaDataSourceFields `json:"datasources"`
	Name        string                    `json:"name"`
}

GrafanaDataSourceSpec defines the desired state of GrafanaDataSource +k8s:openapi-gen=true

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      int    `json:"phase"`
	LastConfig string `json:"lastConfig"`
}

GrafanaDataSourceStatus defines the observed state of GrafanaDataSource +k8s:openapi-gen=true

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

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

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 GrafanaPlugin

type GrafanaPlugin struct {
	Name    string            `json:"name"`
	Version string            `json:"version"`
	Origin  *GrafanaDashboard `json:"-"`
}

GrafanaPlugin contains information about a single plugin

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 {
	Annotations map[string]string `json:"annotations,omitempty"`
	Labels      map[string]string `json:"labels,omitempty"`
	Type        string            `json:"type,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 GrafanaSpec

type GrafanaSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	AdminPassword          string                  `json:"adminPassword"`
	AdminUser              string                  `json:"adminUser"`
	Anonymous              bool                    `json:"anonymous"`
	BasicAuth              bool                    `json:"basicAuth"`
	Config                 GrafanaConfig           `json:"config"`
	Containers             []v1.Container          `json:"containers,omitempty"`
	DashboardLabelSelector []*metav1.LabelSelector `json:"dashboardLabelSelector,omitempty"`
	DisableLoginForm       bool                    `json:"disableLoginForm"`
	DisableSignoutMenu     bool                    `json:"disableSignoutMenu"`
	Ingress                GrafanaIngress          `json:"ingress,omitempty"`
	InitialReplicas        int                     `json:"initialReplicas,omitempty"`
	LogLevel               string                  `json:"logLevel"`
	Secrets                []string                `json:"secrets,omitempty"`
	ConfigMaps             []string                `json:"configMaps,omitempty"`
	Service                GrafanaService          `json:"service,omitempty"`
}

GrafanaSpec defines the desired state of Grafana +k8s:openapi-gen=true

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 {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	Phase            int        `json:"phase"`
	InstalledPlugins PluginList `json:"installedPlugins"`
	FailedPlugins    PluginList `json:"failedPlugins"`
	LastConfig       string     `json:"lastConfig"`
}

GrafanaStatus defines the observed state of Grafana +k8s:openapi-gen=true

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

Get the plugin from the list regardless of the version

func (PluginList) HasExactVersionOf

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

Returns true if the list contains the same plugin in the same version

func (PluginList) HasNewerVersionOf

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

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

func (PluginList) HasSomeVersionOf

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

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

func (PluginList) SetOrigin

func (l PluginList) SetOrigin(dashboard *GrafanaDashboard)

Set the originating dashboard for every plugin in the list

func (PluginList) VersionsOf

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

Returns the number of different versions of a given plugin in the list

Jump to

Keyboard shortcuts

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