Versions in this module Expand all Collapse all v5 v5.0.1 Feb 2, 2024 Changes in this version + var AddToScheme = SchemeBuilder.AddToScheme + var GroupVersion = schema.GroupVersion + var SchemeBuilder = &scheme.Builder + func Gunzip(compressed []byte) ([]byte, error) + func Gzip(content []byte) ([]byte, error) + func Merge(base, overrides interface{}) error + type DashboardSourceType string + const DashboardSourceConfigMap + const DashboardSourceJsonnetProject + const DashboardSourceTypeGrafanaCom + const DashboardSourceTypeGzipJson + const DashboardSourceTypeJsonnet + const DashboardSourceTypeRawJson + const DashboardSourceTypeUrl + const DefaultResyncPeriod + type DeploymentV1 struct + ObjectMeta ObjectMeta + Spec DeploymentV1Spec + func (in *DeploymentV1) DeepCopy() *DeploymentV1 + func (in *DeploymentV1) DeepCopyInto(out *DeploymentV1) + type DeploymentV1PodSpec struct + ActiveDeadlineSeconds *int64 + Affinity *v14.Affinity + AutomountServiceAccountToken *bool + Containers []v14.Container + DNSConfig *v14.PodDNSConfig + DNSPolicy v14.DNSPolicy + DeprecatedServiceAccount string + EnableServiceLinks *bool + EphemeralContainers []v14.EphemeralContainer + HostAliases []v14.HostAlias + HostIPC bool + HostNetwork bool + HostPID bool + HostUsers *bool + Hostname string + ImagePullSecrets []v14.LocalObjectReference + InitContainers []v14.Container + NodeName string + NodeSelector map[string]string + OS *v14.PodOS + Overhead v14.ResourceList + PreemptionPolicy *v14.PreemptionPolicy + Priority *int32 + PriorityClassName string + ReadinessGates []v14.PodReadinessGate + RestartPolicy v14.RestartPolicy + RuntimeClassName *string + SchedulerName string + SecurityContext *v14.PodSecurityContext + ServiceAccountName string + SetHostnameAsFQDN *bool + ShareProcessNamespace *bool + Subdomain string + TerminationGracePeriodSeconds *int64 + Tolerations []v14.Toleration + TopologySpreadConstraints []v14.TopologySpreadConstraint + Volumes []v14.Volume + func (in *DeploymentV1PodSpec) DeepCopy() *DeploymentV1PodSpec + func (in *DeploymentV1PodSpec) DeepCopyInto(out *DeploymentV1PodSpec) + type DeploymentV1PodTemplateSpec struct + Spec *DeploymentV1PodSpec + func (in *DeploymentV1PodTemplateSpec) DeepCopy() *DeploymentV1PodTemplateSpec + func (in *DeploymentV1PodTemplateSpec) DeepCopyInto(out *DeploymentV1PodTemplateSpec) + type DeploymentV1Spec struct + MinReadySeconds int32 + Paused bool + ProgressDeadlineSeconds *int32 + Replicas *int32 + RevisionHistoryLimit *int32 + Selector *metav1.LabelSelector + Strategy *v13.DeploymentStrategy + Template *DeploymentV1PodTemplateSpec + func (in *DeploymentV1Spec) DeepCopy() *DeploymentV1Spec + func (in *DeploymentV1Spec) DeepCopyInto(out *DeploymentV1Spec) + type External struct + AdminPassword *v1.SecretKeySelector + AdminUser *v1.SecretKeySelector + ApiKey *v1.SecretKeySelector + URL string + func (in *External) DeepCopy() *External + func (in *External) DeepCopyInto(out *External) + type Grafana struct + Spec GrafanaSpec + Status GrafanaStatus + func (in *Grafana) DeepCopy() *Grafana + func (in *Grafana) DeepCopyInto(out *Grafana) + func (in *Grafana) DeepCopyObject() runtime.Object + func (in *Grafana) IsExternal() bool + func (in *Grafana) IsInternal() bool + func (in *Grafana) PreferIngress() bool + type GrafanaClient struct + PreferIngress *bool + TimeoutSeconds *int + func (in *GrafanaClient) DeepCopy() *GrafanaClient + func (in *GrafanaClient) DeepCopyInto(out *GrafanaClient) + type GrafanaComDashboardReference struct + Id int + Revision *int + func (in *GrafanaComDashboardReference) DeepCopy() *GrafanaComDashboardReference + func (in *GrafanaComDashboardReference) DeepCopyInto(out *GrafanaComDashboardReference) + type GrafanaDashboard struct + Spec GrafanaDashboardSpec + Status GrafanaDashboardStatus + func (in *GrafanaDashboard) DeepCopy() *GrafanaDashboard + func (in *GrafanaDashboard) DeepCopyInto(out *GrafanaDashboard) + func (in *GrafanaDashboard) DeepCopyObject() runtime.Object + func (in *GrafanaDashboard) GetContentCache() []byte + func (in *GrafanaDashboard) GetResyncPeriod() time.Duration + func (in *GrafanaDashboard) GetSourceTypes() []DashboardSourceType + func (in *GrafanaDashboard) IsAllowCrossNamespaceImport() bool + func (in *GrafanaDashboard) IsUpdatedUID(uid string) bool + func (in *GrafanaDashboard) ResyncPeriodHasElapsed() bool + func (in *GrafanaDashboard) Unchanged(hash string) bool + type GrafanaDashboardDatasource struct + DatasourceName string + InputName string + func (in *GrafanaDashboardDatasource) DeepCopy() *GrafanaDashboardDatasource + func (in *GrafanaDashboardDatasource) DeepCopyInto(out *GrafanaDashboardDatasource) + type GrafanaDashboardEnv struct + Name string + Value string + ValueFrom GrafanaDashboardEnvFromSource + func (in *GrafanaDashboardEnv) DeepCopy() *GrafanaDashboardEnv + func (in *GrafanaDashboardEnv) DeepCopyInto(out *GrafanaDashboardEnv) + type GrafanaDashboardEnvFromSource struct + ConfigMapKeyRef *v1.ConfigMapKeySelector + SecretKeyRef *v1.SecretKeySelector + func (in *GrafanaDashboardEnvFromSource) DeepCopy() *GrafanaDashboardEnvFromSource + func (in *GrafanaDashboardEnvFromSource) DeepCopyInto(out *GrafanaDashboardEnvFromSource) + type GrafanaDashboardList struct + Items []GrafanaDashboard + func (in *GrafanaDashboardList) DeepCopy() *GrafanaDashboardList + func (in *GrafanaDashboardList) DeepCopyInto(out *GrafanaDashboardList) + func (in *GrafanaDashboardList) DeepCopyObject() runtime.Object + func (in *GrafanaDashboardList) Find(namespace string, name string) *GrafanaDashboard + type GrafanaDashboardSpec struct + AllowCrossNamespaceImport *bool + ConfigMapRef *v1.ConfigMapKeySelector + ContentCacheDuration metav1.Duration + Datasources []GrafanaDashboardDatasource + Envs []GrafanaDashboardEnv + EnvsFrom []GrafanaDashboardEnvFromSource + FolderTitle string + GrafanaCom *GrafanaComDashboardReference + GzipJson []byte + InstanceSelector *metav1.LabelSelector + Json string + Jsonnet string + JsonnetProjectBuild *JsonnetProjectBuild + Plugins PluginList + ResyncPeriod string + Url string + func (in *GrafanaDashboardSpec) DeepCopy() *GrafanaDashboardSpec + func (in *GrafanaDashboardSpec) DeepCopyInto(out *GrafanaDashboardSpec) + type GrafanaDashboardStatus struct + ContentCache []byte + ContentTimestamp metav1.Time + ContentUrl string + Hash string + LastResync metav1.Time + NoMatchingInstances bool + UID string + func (in *GrafanaDashboardStatus) DeepCopy() *GrafanaDashboardStatus + func (in *GrafanaDashboardStatus) DeepCopyInto(out *GrafanaDashboardStatus) + type GrafanaDatasource struct + Spec GrafanaDatasourceSpec + Status GrafanaDatasourceStatus + func (in *GrafanaDatasource) DeepCopy() *GrafanaDatasource + func (in *GrafanaDatasource) DeepCopyInto(out *GrafanaDatasource) + func (in *GrafanaDatasource) DeepCopyObject() runtime.Object + func (in *GrafanaDatasource) ExpandVariables(variables map[string][]byte) ([]byte, error) + func (in *GrafanaDatasource) GetResyncPeriod() time.Duration + func (in *GrafanaDatasource) IsAllowCrossNamespaceImport() bool + func (in *GrafanaDatasource) IsUpdatedUID(uid string) bool + func (in *GrafanaDatasource) ResyncPeriodHasElapsed() bool + func (in *GrafanaDatasource) Unchanged(hash string) bool + type GrafanaDatasourceInternal struct + Access string + BasicAuth *bool + BasicAuthUser string + Database string + Editable *bool + IsDefault *bool + JSONData json.RawMessage + Name string + OrgID *int64 + SecureJSONData json.RawMessage + Type string + UID string + URL string + User string + func (in *GrafanaDatasourceInternal) DeepCopy() *GrafanaDatasourceInternal + func (in *GrafanaDatasourceInternal) DeepCopyInto(out *GrafanaDatasourceInternal) + type GrafanaDatasourceList struct + Items []GrafanaDatasource + func (in *GrafanaDatasourceList) DeepCopy() *GrafanaDatasourceList + func (in *GrafanaDatasourceList) DeepCopyInto(out *GrafanaDatasourceList) + func (in *GrafanaDatasourceList) DeepCopyObject() runtime.Object + func (in *GrafanaDatasourceList) Find(namespace string, name string) *GrafanaDatasource + type GrafanaDatasourceSpec struct + AllowCrossNamespaceImport *bool + Datasource *GrafanaDatasourceInternal + InstanceSelector *metav1.LabelSelector + Plugins PluginList + ResyncPeriod string + ValuesFrom []GrafanaDatasourceValueFrom + func (in *GrafanaDatasourceSpec) DeepCopy() *GrafanaDatasourceSpec + func (in *GrafanaDatasourceSpec) DeepCopyInto(out *GrafanaDatasourceSpec) + type GrafanaDatasourceStatus struct + Hash string + LastMessage string + LastResync metav1.Time + NoMatchingInstances bool + UID string + func (in *GrafanaDatasourceStatus) DeepCopy() *GrafanaDatasourceStatus + func (in *GrafanaDatasourceStatus) DeepCopyInto(out *GrafanaDatasourceStatus) + type GrafanaDatasourceValueFrom struct + TargetPath string + ValueFrom GrafanaDatasourceValueFromSource + func (in *GrafanaDatasourceValueFrom) DeepCopy() *GrafanaDatasourceValueFrom + func (in *GrafanaDatasourceValueFrom) DeepCopyInto(out *GrafanaDatasourceValueFrom) + type GrafanaDatasourceValueFromSource struct + ConfigMapKeyRef *v1.ConfigMapKeySelector + SecretKeyRef *v1.SecretKeySelector + func (in *GrafanaDatasourceValueFromSource) DeepCopy() *GrafanaDatasourceValueFromSource + func (in *GrafanaDatasourceValueFromSource) DeepCopyInto(out *GrafanaDatasourceValueFromSource) + type GrafanaFolder struct + Spec GrafanaFolderSpec + Status GrafanaFolderStatus + func (in *GrafanaFolder) DeepCopy() *GrafanaFolder + func (in *GrafanaFolder) DeepCopyInto(out *GrafanaFolder) + func (in *GrafanaFolder) DeepCopyObject() runtime.Object + func (in *GrafanaFolder) GetResyncPeriod() time.Duration + func (in *GrafanaFolder) GetTitle() string + func (in *GrafanaFolder) Hash() string + func (in *GrafanaFolder) IsAllowCrossNamespaceImport() bool + func (in *GrafanaFolder) ResyncPeriodHasElapsed() bool + func (in *GrafanaFolder) Unchanged() bool + type GrafanaFolderList struct + Items []GrafanaFolder + func (in *GrafanaFolderList) DeepCopy() *GrafanaFolderList + func (in *GrafanaFolderList) DeepCopyInto(out *GrafanaFolderList) + func (in *GrafanaFolderList) DeepCopyObject() runtime.Object + func (in *GrafanaFolderList) Find(namespace string, name string) *GrafanaFolder + type GrafanaFolderSpec struct + AllowCrossNamespaceImport *bool + InstanceSelector *metav1.LabelSelector + Permissions string + ResyncPeriod string + Title string + func (in *GrafanaFolderSpec) DeepCopy() *GrafanaFolderSpec + func (in *GrafanaFolderSpec) DeepCopyInto(out *GrafanaFolderSpec) + type GrafanaFolderStatus struct + Hash string + LastResync metav1.Time + NoMatchingInstances bool + func (in *GrafanaFolderStatus) DeepCopy() *GrafanaFolderStatus + func (in *GrafanaFolderStatus) DeepCopyInto(out *GrafanaFolderStatus) + type GrafanaList struct + Items []Grafana + func (in *GrafanaList) DeepCopy() *GrafanaList + func (in *GrafanaList) DeepCopyInto(out *GrafanaList) + func (in *GrafanaList) DeepCopyObject() runtime.Object + type GrafanaPlugin struct + Name string + Version string + func (in *GrafanaPlugin) DeepCopy() *GrafanaPlugin + func (in *GrafanaPlugin) DeepCopyInto(out *GrafanaPlugin) + type GrafanaPreferences struct + HomeDashboardUID string + func (in *GrafanaPreferences) DeepCopy() *GrafanaPreferences + func (in *GrafanaPreferences) DeepCopyInto(out *GrafanaPreferences) + type GrafanaSpec struct + Client *GrafanaClient + Config map[string]map[string]string + Deployment *DeploymentV1 + External *External + Ingress *IngressNetworkingV1 + Jsonnet *JsonnetConfig + PersistentVolumeClaim *PersistentVolumeClaimV1 + Preferences *GrafanaPreferences + Route *RouteOpenshiftV1 + Service *ServiceV1 + ServiceAccount *ServiceAccountV1 + func (in *GrafanaSpec) DeepCopy() *GrafanaSpec + func (in *GrafanaSpec) DeepCopyInto(out *GrafanaSpec) + type GrafanaStatus struct + AdminUrl string + Dashboards NamespacedResourceList + Datasources NamespacedResourceList + Folders NamespacedResourceList + LastMessage string + Stage OperatorStageName + StageStatus OperatorStageStatus + func (in *GrafanaStatus) DeepCopy() *GrafanaStatus + func (in *GrafanaStatus) DeepCopyInto(out *GrafanaStatus) + type IngressNetworkingV1 struct + ObjectMeta ObjectMeta + Spec *v1.IngressSpec + func (in *IngressNetworkingV1) DeepCopy() *IngressNetworkingV1 + func (in *IngressNetworkingV1) DeepCopyInto(out *IngressNetworkingV1) + type JsonnetConfig struct + LibraryLabelSelector *metav1.LabelSelector + func (in *JsonnetConfig) DeepCopy() *JsonnetConfig + func (in *JsonnetConfig) DeepCopyInto(out *JsonnetConfig) + type JsonnetProjectBuild struct + FileName string + GzipJsonnetProject []byte + JPath []string + func (in *JsonnetProjectBuild) DeepCopy() *JsonnetProjectBuild + func (in *JsonnetProjectBuild) DeepCopyInto(out *JsonnetProjectBuild) + type NamespacedResource string + func (in NamespacedResource) Name() string + func (in NamespacedResource) Namespace() string + func (in NamespacedResource) Split() (string, string, string) + func (in NamespacedResource) Uid() string + type NamespacedResourceList []NamespacedResource + func (in NamespacedResourceList) Add(namespace string, name string, uid string) NamespacedResourceList + func (in NamespacedResourceList) DeepCopy() NamespacedResourceList + func (in NamespacedResourceList) DeepCopyInto(out *NamespacedResourceList) + func (in NamespacedResourceList) Find(namespace string, name string) (bool, *string) + func (in NamespacedResourceList) ForNamespace(namespace string) NamespacedResourceList + func (in NamespacedResourceList) Remove(namespace string, name string) NamespacedResourceList + type ObjectMeta struct + Annotations map[string]string + Labels map[string]string + func (in *ObjectMeta) DeepCopy() *ObjectMeta + func (in *ObjectMeta) DeepCopyInto(out *ObjectMeta) + func (override *ObjectMeta) Merge(meta metav1.ObjectMeta) metav1.ObjectMeta + type OperatorReconcileVars struct + ConfigHash string + Plugins string + func (in *OperatorReconcileVars) DeepCopy() *OperatorReconcileVars + func (in *OperatorReconcileVars) DeepCopyInto(out *OperatorReconcileVars) + type OperatorStageName string + const OperatorStageAdminUser + const OperatorStageComplete + const OperatorStageDeployment + const OperatorStageGrafanaConfig + const OperatorStageIngress + const OperatorStagePlugins + const OperatorStagePvc + const OperatorStageService + const OperatorStageServiceAccount + type OperatorStageStatus string + const OperatorStageResultFailed + const OperatorStageResultInProgress + const OperatorStageResultSuccess + type PersistentVolumeClaimV1 struct + ObjectMeta ObjectMeta + Spec *PersistentVolumeClaimV1Spec + func (in *PersistentVolumeClaimV1) DeepCopy() *PersistentVolumeClaimV1 + func (in *PersistentVolumeClaimV1) DeepCopyInto(out *PersistentVolumeClaimV1) + type PersistentVolumeClaimV1Spec struct + AccessModes []v14.PersistentVolumeAccessMode + DataSource *v14.TypedLocalObjectReference + DataSourceRef *v14.TypedLocalObjectReference + Resources *v14.ResourceRequirements + Selector *metav1.LabelSelector + StorageClassName *string + VolumeMode *v14.PersistentVolumeMode + VolumeName string + func (in *PersistentVolumeClaimV1Spec) DeepCopy() *PersistentVolumeClaimV1Spec + func (in *PersistentVolumeClaimV1Spec) DeepCopyInto(out *PersistentVolumeClaimV1Spec) + type PluginList []GrafanaPlugin + func (in PluginList) DeepCopy() PluginList + func (in PluginList) DeepCopyInto(out *PluginList) + func (l PluginList) GetInstalledVersionOf(plugin *GrafanaPlugin) *GrafanaPlugin + func (l PluginList) HasExactVersionOf(plugin *GrafanaPlugin) bool + func (l PluginList) HasNewerVersionOf(plugin *GrafanaPlugin) (bool, error) + func (l PluginList) HasSomeVersionOf(plugin *GrafanaPlugin) bool + func (l PluginList) Hash() string + func (l PluginList) Sanitize() PluginList + func (l PluginList) String() string + func (l PluginList) Update(plugin *GrafanaPlugin) + func (l PluginList) VersionsOf(plugin *GrafanaPlugin) int + type PluginMap map[string]PluginList + func (in PluginMap) DeepCopy() PluginMap + func (in PluginMap) DeepCopyInto(out *PluginMap) + type RouteOpenShiftV1Spec struct + AlternateBackends []v12.RouteTargetReference + Host string + Path string + Port *v12.RoutePort + TLS *v12.TLSConfig + To *v12.RouteTargetReference + WildcardPolicy v12.WildcardPolicyType + func (in *RouteOpenShiftV1Spec) DeepCopy() *RouteOpenShiftV1Spec + func (in *RouteOpenShiftV1Spec) DeepCopyInto(out *RouteOpenShiftV1Spec) + type RouteOpenshiftV1 struct + ObjectMeta ObjectMeta + Spec *RouteOpenShiftV1Spec + func (in *RouteOpenshiftV1) DeepCopy() *RouteOpenshiftV1 + func (in *RouteOpenshiftV1) DeepCopyInto(out *RouteOpenshiftV1) + type ServiceAccountV1 struct + AutomountServiceAccountToken *bool + ImagePullSecrets []v14.LocalObjectReference + ObjectMeta ObjectMeta + Secrets []v14.ObjectReference + func (in *ServiceAccountV1) DeepCopy() *ServiceAccountV1 + func (in *ServiceAccountV1) DeepCopyInto(out *ServiceAccountV1) + type ServiceV1 struct + ObjectMeta ObjectMeta + Spec *v14.ServiceSpec + func (in *ServiceV1) DeepCopy() *ServiceV1 + func (in *ServiceV1) DeepCopyInto(out *ServiceV1)