Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the grafana v1alpha1 API group +kubebuilder:object:generate=true +groupName=grafana.extension.oam.dev
Index ¶
- Variables
- type Datasource
- type DatasourceRegistration
- type DatasourceRegistrationDeprecated
- type DatasourceRegistrationDeprecatedList
- type DatasourceRegistrationDeprecatedSpec
- type DatasourceRegistrationDeprecatedStatus
- type DatasourceRegistrationList
- type DatasourceRegistrationSpec
- type DatasourceRegistrationStatus
- type Grafana
- type ImportDashboard
- type ImportDashboardList
- type ImportDashboardSpec
- type ImportDashboardStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "grafana.extension.oam.dev", 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 Datasource ¶
type Datasource struct { Name string `json:"name"` Service string `json:"service"` // +kubebuilder:default:=default Namespace string `json:"namespace"` // +kubebuilder:default:=proxy Access string `json:"access,omitempty"` Type string `json:"type"` }
Datasource defines the information of a DataSource, like Loki, Prometheus
func (*Datasource) DeepCopy ¶
func (in *Datasource) DeepCopy() *Datasource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Datasource.
func (*Datasource) DeepCopyInto ¶
func (in *Datasource) DeepCopyInto(out *Datasource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatasourceRegistration ¶
type DatasourceRegistration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DatasourceRegistrationSpec `json:"spec,omitempty"` Status DatasourceRegistrationStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true
func (*DatasourceRegistration) DeepCopy ¶
func (in *DatasourceRegistration) DeepCopy() *DatasourceRegistration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatasourceRegistration.
func (*DatasourceRegistration) DeepCopyInto ¶
func (in *DatasourceRegistration) DeepCopyInto(out *DatasourceRegistration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DatasourceRegistration) DeepCopyObject ¶
func (in *DatasourceRegistration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DatasourceRegistrationDeprecated ¶
type DatasourceRegistrationDeprecated struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DatasourceRegistrationDeprecatedSpec `json:"spec,omitempty"` Status DatasourceRegistrationDeprecatedStatus `json:"status,omitempty"` }
DatasourceRegistrationDeprecated is the Schema for the DatasourceRegistrationDeprecated API +kubebuilder:object:root=true
func (*DatasourceRegistrationDeprecated) DeepCopy ¶
func (in *DatasourceRegistrationDeprecated) DeepCopy() *DatasourceRegistrationDeprecated
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatasourceRegistrationDeprecated.
func (*DatasourceRegistrationDeprecated) DeepCopyInto ¶
func (in *DatasourceRegistrationDeprecated) DeepCopyInto(out *DatasourceRegistrationDeprecated)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DatasourceRegistrationDeprecated) DeepCopyObject ¶
func (in *DatasourceRegistrationDeprecated) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DatasourceRegistrationDeprecatedList ¶
type DatasourceRegistrationDeprecatedList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DatasourceRegistrationDeprecated `json:"items"` }
DatasourceRegistrationDeprecatedList contains a list of DatasourceRegistrationDeprecated
func (*DatasourceRegistrationDeprecatedList) DeepCopy ¶
func (in *DatasourceRegistrationDeprecatedList) DeepCopy() *DatasourceRegistrationDeprecatedList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatasourceRegistrationDeprecatedList.
func (*DatasourceRegistrationDeprecatedList) DeepCopyInto ¶
func (in *DatasourceRegistrationDeprecatedList) DeepCopyInto(out *DatasourceRegistrationDeprecatedList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DatasourceRegistrationDeprecatedList) DeepCopyObject ¶
func (in *DatasourceRegistrationDeprecatedList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DatasourceRegistrationDeprecatedSpec ¶
type DatasourceRegistrationDeprecatedSpec struct { GrafanaURL string `json:"grafanaUrl"` CredentialSecret string `json:"credentialSecret"` // +kubebuilder:default:=default CredentialsSecretNamespace string `json:"credentialSecretNamespace,omitempty"` Name string `json:"name"` URL string `json:"url"` // +kubebuilder:default:=proxy Access string `json:"access,omitempty"` Type string `json:"type"` }
DatasourceRegistrationDeprecatedSpec defines the desired state of DatasourceRegistrationDeprecated
func (*DatasourceRegistrationDeprecatedSpec) DeepCopy ¶
func (in *DatasourceRegistrationDeprecatedSpec) DeepCopy() *DatasourceRegistrationDeprecatedSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatasourceRegistrationDeprecatedSpec.
func (*DatasourceRegistrationDeprecatedSpec) DeepCopyInto ¶
func (in *DatasourceRegistrationDeprecatedSpec) DeepCopyInto(out *DatasourceRegistrationDeprecatedSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatasourceRegistrationDeprecatedStatus ¶
type DatasourceRegistrationDeprecatedStatus struct { Success bool `json:"success,omitempty"` Message string `json:"message,omitempty"` }
DatasourceRegistrationDeprecatedStatus defines the observed state of DatasourceRegistrationDeprecated
func (*DatasourceRegistrationDeprecatedStatus) DeepCopy ¶
func (in *DatasourceRegistrationDeprecatedStatus) DeepCopy() *DatasourceRegistrationDeprecatedStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatasourceRegistrationDeprecatedStatus.
func (*DatasourceRegistrationDeprecatedStatus) DeepCopyInto ¶
func (in *DatasourceRegistrationDeprecatedStatus) DeepCopyInto(out *DatasourceRegistrationDeprecatedStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatasourceRegistrationList ¶
type DatasourceRegistrationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DatasourceRegistration `json:"items"` }
DatasourceRegistrationList contains a list of DatasourceRegistration
func (*DatasourceRegistrationList) DeepCopy ¶
func (in *DatasourceRegistrationList) DeepCopy() *DatasourceRegistrationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatasourceRegistrationList.
func (*DatasourceRegistrationList) DeepCopyInto ¶
func (in *DatasourceRegistrationList) DeepCopyInto(out *DatasourceRegistrationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DatasourceRegistrationList) DeepCopyObject ¶
func (in *DatasourceRegistrationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DatasourceRegistrationSpec ¶
type DatasourceRegistrationSpec struct { Grafana Grafana `json:"grafana"` Datasource Datasource `json:"datasource"` }
DatasourceRegistrationSpec defines the desired state of DatasourceRegistration
func (*DatasourceRegistrationSpec) DeepCopy ¶
func (in *DatasourceRegistrationSpec) DeepCopy() *DatasourceRegistrationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatasourceRegistrationSpec.
func (*DatasourceRegistrationSpec) DeepCopyInto ¶
func (in *DatasourceRegistrationSpec) DeepCopyInto(out *DatasourceRegistrationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatasourceRegistrationStatus ¶
type DatasourceRegistrationStatus struct { Success bool `json:"success,omitempty"` Message string `json:"message,omitempty"` }
DatasourceRegistrationStatus defines the observed state of DatasourceRegistration
func (*DatasourceRegistrationStatus) DeepCopy ¶
func (in *DatasourceRegistrationStatus) DeepCopy() *DatasourceRegistrationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatasourceRegistrationStatus.
func (*DatasourceRegistrationStatus) DeepCopyInto ¶
func (in *DatasourceRegistrationStatus) DeepCopyInto(out *DatasourceRegistrationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Grafana ¶
type Grafana struct { Service string `json:"service"` // +kubebuilder:default:=default Namespace string `json:"namespace"` CredentialSecret string `json:"credentialSecret"` // +kubebuilder:default:=default CredentialsSecretNamespace string `json:"credentialSecretNamespace,omitempty"` }
Grafana defines the access information for Grafana
func (*Grafana) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Grafana.
func (*Grafana) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImportDashboard ¶
type ImportDashboard struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ImportDashboardSpec `json:"spec,omitempty"` Status ImportDashboardStatus `json:"status,omitempty"` }
ImportDashboard is the Schema for the importdashboards API
func (*ImportDashboard) DeepCopy ¶
func (in *ImportDashboard) DeepCopy() *ImportDashboard
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImportDashboard.
func (*ImportDashboard) DeepCopyInto ¶
func (in *ImportDashboard) DeepCopyInto(out *ImportDashboard)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImportDashboard) DeepCopyObject ¶
func (in *ImportDashboard) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ImportDashboardList ¶
type ImportDashboardList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ImportDashboard `json:"items"` }
ImportDashboardList contains a list of ImportDashboard
func (*ImportDashboardList) DeepCopy ¶
func (in *ImportDashboardList) DeepCopy() *ImportDashboardList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImportDashboardList.
func (*ImportDashboardList) DeepCopyInto ¶
func (in *ImportDashboardList) DeepCopyInto(out *ImportDashboardList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImportDashboardList) DeepCopyObject ¶
func (in *ImportDashboardList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ImportDashboardSpec ¶
ImportDashboardSpec defines the desired state of ImportDashboard
func (*ImportDashboardSpec) DeepCopy ¶
func (in *ImportDashboardSpec) DeepCopy() *ImportDashboardSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImportDashboardSpec.
func (*ImportDashboardSpec) DeepCopyInto ¶
func (in *ImportDashboardSpec) DeepCopyInto(out *ImportDashboardSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImportDashboardStatus ¶
type ImportDashboardStatus struct { }
ImportDashboardStatus defines the observed state of ImportDashboard
func (*ImportDashboardStatus) DeepCopy ¶
func (in *ImportDashboardStatus) DeepCopy() *ImportDashboardStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImportDashboardStatus.
func (*ImportDashboardStatus) DeepCopyInto ¶
func (in *ImportDashboardStatus) DeepCopyInto(out *ImportDashboardStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.