v1alpha1

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=oss.grafana.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "oss.grafana.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	APIKey_Kind             = "APIKey"
	APIKey_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: APIKey_Kind}.String()
	APIKey_KindAPIVersion   = APIKey_Kind + "." + CRDGroupVersion.String()
	APIKey_GroupVersionKind = CRDGroupVersion.WithKind(APIKey_Kind)
)

Repository type metadata.

View Source
var (
	Dashboard_Kind             = "Dashboard"
	Dashboard_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Dashboard_Kind}.String()
	Dashboard_KindAPIVersion   = Dashboard_Kind + "." + CRDGroupVersion.String()
	Dashboard_GroupVersionKind = CRDGroupVersion.WithKind(Dashboard_Kind)
)

Repository type metadata.

View Source
var (
	DashboardPermission_Kind             = "DashboardPermission"
	DashboardPermission_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: DashboardPermission_Kind}.String()
	DashboardPermission_KindAPIVersion   = DashboardPermission_Kind + "." + CRDGroupVersion.String()
	DashboardPermission_GroupVersionKind = CRDGroupVersion.WithKind(DashboardPermission_Kind)
)

Repository type metadata.

View Source
var (
	DataSource_Kind             = "DataSource"
	DataSource_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: DataSource_Kind}.String()
	DataSource_KindAPIVersion   = DataSource_Kind + "." + CRDGroupVersion.String()
	DataSource_GroupVersionKind = CRDGroupVersion.WithKind(DataSource_Kind)
)

Repository type metadata.

View Source
var (
	Folder_Kind             = "Folder"
	Folder_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Folder_Kind}.String()
	Folder_KindAPIVersion   = Folder_Kind + "." + CRDGroupVersion.String()
	Folder_GroupVersionKind = CRDGroupVersion.WithKind(Folder_Kind)
)

Repository type metadata.

View Source
var (
	FolderPermission_Kind             = "FolderPermission"
	FolderPermission_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: FolderPermission_Kind}.String()
	FolderPermission_KindAPIVersion   = FolderPermission_Kind + "." + CRDGroupVersion.String()
	FolderPermission_GroupVersionKind = CRDGroupVersion.WithKind(FolderPermission_Kind)
)

Repository type metadata.

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	Team_Kind             = "Team"
	Team_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Team_Kind}.String()
	Team_KindAPIVersion   = Team_Kind + "." + CRDGroupVersion.String()
	Team_GroupVersionKind = CRDGroupVersion.WithKind(Team_Kind)
)

Repository type metadata.

View Source
var (
	User_Kind             = "User"
	User_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: User_Kind}.String()
	User_KindAPIVersion   = User_Kind + "." + CRDGroupVersion.String()
	User_GroupVersionKind = CRDGroupVersion.WithKind(User_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type APIKey

type APIKey struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              APIKeySpec   `json:"spec"`
	Status            APIKeyStatus `json:"status,omitempty"`
}

APIKey is the Schema for the APIKeys API. <no value> +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,grafana}

func (*APIKey) DeepCopy

func (in *APIKey) DeepCopy() *APIKey

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

func (*APIKey) DeepCopyInto

func (in *APIKey) DeepCopyInto(out *APIKey)

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

func (*APIKey) DeepCopyObject

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

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

func (*APIKey) GetCondition

func (mg *APIKey) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this APIKey.

func (*APIKey) GetConnectionDetailsMapping

func (tr *APIKey) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this APIKey

func (*APIKey) GetDeletionPolicy

func (mg *APIKey) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this APIKey.

func (*APIKey) GetID

func (tr *APIKey) GetID() string

GetID returns ID of underlying Terraform resource of this APIKey

func (*APIKey) GetObservation

func (tr *APIKey) GetObservation() (map[string]any, error)

GetObservation of this APIKey

func (*APIKey) GetParameters

func (tr *APIKey) GetParameters() (map[string]any, error)

GetParameters of this APIKey

func (*APIKey) GetProviderConfigReference

func (mg *APIKey) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this APIKey.

func (*APIKey) GetProviderReference

func (mg *APIKey) GetProviderReference() *xpv1.Reference

GetProviderReference of this APIKey. Deprecated: Use GetProviderConfigReference.

func (*APIKey) GetPublishConnectionDetailsTo

func (mg *APIKey) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this APIKey.

func (*APIKey) GetTerraformResourceType

func (mg *APIKey) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this APIKey

func (*APIKey) GetTerraformSchemaVersion

func (tr *APIKey) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*APIKey) GetWriteConnectionSecretToReference

func (mg *APIKey) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this APIKey.

func (*APIKey) LateInitialize

func (tr *APIKey) LateInitialize(attrs []byte) (bool, error)

LateInitialize this APIKey using its observed tfState. returns True if there are any spec changes for the resource.

func (*APIKey) ResolveReferences

func (mg *APIKey) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this APIKey.

func (*APIKey) SetConditions

func (mg *APIKey) SetConditions(c ...xpv1.Condition)

SetConditions of this APIKey.

func (*APIKey) SetDeletionPolicy

func (mg *APIKey) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this APIKey.

func (*APIKey) SetObservation

func (tr *APIKey) SetObservation(obs map[string]any) error

SetObservation for this APIKey

func (*APIKey) SetParameters

func (tr *APIKey) SetParameters(params map[string]any) error

SetParameters for this APIKey

func (*APIKey) SetProviderConfigReference

func (mg *APIKey) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this APIKey.

func (*APIKey) SetProviderReference

func (mg *APIKey) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this APIKey. Deprecated: Use SetProviderConfigReference.

func (*APIKey) SetPublishConnectionDetailsTo

func (mg *APIKey) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this APIKey.

func (*APIKey) SetWriteConnectionSecretToReference

func (mg *APIKey) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this APIKey.

type APIKeyList

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

APIKeyList contains a list of APIKeys

func (*APIKeyList) DeepCopy

func (in *APIKeyList) DeepCopy() *APIKeyList

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

func (*APIKeyList) DeepCopyInto

func (in *APIKeyList) DeepCopyInto(out *APIKeyList)

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

func (*APIKeyList) DeepCopyObject

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

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

func (*APIKeyList) GetItems

func (l *APIKeyList) GetItems() []resource.Managed

GetItems of this APIKeyList.

type APIKeyObservation

type APIKeyObservation struct {
	Expiration *string `json:"expiration,omitempty" tf:"expiration,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*APIKeyObservation) DeepCopy

func (in *APIKeyObservation) DeepCopy() *APIKeyObservation

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

func (*APIKeyObservation) DeepCopyInto

func (in *APIKeyObservation) DeepCopyInto(out *APIKeyObservation)

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

type APIKeyParameters

type APIKeyParameters struct {

	// Reference to a Stack in cloud to populate cloudStackSlug.
	// +kubebuilder:validation:Optional
	CloudStackRef *v1.Reference `json:"cloudStackRef,omitempty" tf:"-"`

	// Selector for a Stack in cloud to populate cloudStackSlug.
	// +kubebuilder:validation:Optional
	CloudStackSelector *v1.Selector `json:"cloudStackSelector,omitempty" tf:"-"`

	// If set, the API key will be created for the given Cloud stack. This can be used to bootstrap a management API key for a new stack. **Note**: This requires a cloud token to be configured.
	// +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/cloud/v1alpha1.Stack
	// +crossplane:generate:reference:extractor=github.com/grafana/crossplane-provider-grafana/config/grafana.CloudStackSlugExtractor()
	// +crossplane:generate:reference:refFieldName=CloudStackRef
	// +crossplane:generate:reference:selectorFieldName=CloudStackSelector
	// +kubebuilder:validation:Optional
	CloudStackSlug *string `json:"cloudStackSlug,omitempty" tf:"cloud_stack_slug,omitempty"`

	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// +kubebuilder:validation:Required
	Role *string `json:"role" tf:"role,omitempty"`

	// +kubebuilder:validation:Optional
	SecondsToLive *float64 `json:"secondsToLive,omitempty" tf:"seconds_to_live,omitempty"`
}

func (*APIKeyParameters) DeepCopy

func (in *APIKeyParameters) DeepCopy() *APIKeyParameters

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

func (*APIKeyParameters) DeepCopyInto

func (in *APIKeyParameters) DeepCopyInto(out *APIKeyParameters)

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

type APIKeySpec

type APIKeySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     APIKeyParameters `json:"forProvider"`
}

APIKeySpec defines the desired state of APIKey

func (*APIKeySpec) DeepCopy

func (in *APIKeySpec) DeepCopy() *APIKeySpec

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

func (*APIKeySpec) DeepCopyInto

func (in *APIKeySpec) DeepCopyInto(out *APIKeySpec)

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

type APIKeyStatus

type APIKeyStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        APIKeyObservation `json:"atProvider,omitempty"`
}

APIKeyStatus defines the observed state of APIKey.

func (*APIKeyStatus) DeepCopy

func (in *APIKeyStatus) DeepCopy() *APIKeyStatus

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

func (*APIKeyStatus) DeepCopyInto

func (in *APIKeyStatus) DeepCopyInto(out *APIKeyStatus)

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

type Dashboard

type Dashboard struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DashboardSpec   `json:"spec"`
	Status            DashboardStatus `json:"status,omitempty"`
}

Dashboard is the Schema for the Dashboards API. <no value> +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,grafana}

func (*Dashboard) DeepCopy

func (in *Dashboard) DeepCopy() *Dashboard

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

func (*Dashboard) DeepCopyInto

func (in *Dashboard) DeepCopyInto(out *Dashboard)

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

func (*Dashboard) DeepCopyObject

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

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

func (*Dashboard) GetCondition

func (mg *Dashboard) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Dashboard.

func (*Dashboard) GetConnectionDetailsMapping

func (tr *Dashboard) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Dashboard

func (*Dashboard) GetDeletionPolicy

func (mg *Dashboard) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Dashboard.

func (*Dashboard) GetID

func (tr *Dashboard) GetID() string

GetID returns ID of underlying Terraform resource of this Dashboard

func (*Dashboard) GetObservation

func (tr *Dashboard) GetObservation() (map[string]any, error)

GetObservation of this Dashboard

func (*Dashboard) GetParameters

func (tr *Dashboard) GetParameters() (map[string]any, error)

GetParameters of this Dashboard

func (*Dashboard) GetProviderConfigReference

func (mg *Dashboard) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Dashboard.

func (*Dashboard) GetProviderReference

func (mg *Dashboard) GetProviderReference() *xpv1.Reference

GetProviderReference of this Dashboard. Deprecated: Use GetProviderConfigReference.

func (*Dashboard) GetPublishConnectionDetailsTo

func (mg *Dashboard) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Dashboard.

func (*Dashboard) GetTerraformResourceType

func (mg *Dashboard) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Dashboard

func (*Dashboard) GetTerraformSchemaVersion

func (tr *Dashboard) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Dashboard) GetWriteConnectionSecretToReference

func (mg *Dashboard) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Dashboard.

func (*Dashboard) LateInitialize

func (tr *Dashboard) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Dashboard using its observed tfState. returns True if there are any spec changes for the resource.

func (*Dashboard) ResolveReferences

func (mg *Dashboard) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Dashboard.

func (*Dashboard) SetConditions

func (mg *Dashboard) SetConditions(c ...xpv1.Condition)

SetConditions of this Dashboard.

func (*Dashboard) SetDeletionPolicy

func (mg *Dashboard) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Dashboard.

func (*Dashboard) SetObservation

func (tr *Dashboard) SetObservation(obs map[string]any) error

SetObservation for this Dashboard

func (*Dashboard) SetParameters

func (tr *Dashboard) SetParameters(params map[string]any) error

SetParameters for this Dashboard

func (*Dashboard) SetProviderConfigReference

func (mg *Dashboard) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Dashboard.

func (*Dashboard) SetProviderReference

func (mg *Dashboard) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Dashboard. Deprecated: Use SetProviderConfigReference.

func (*Dashboard) SetPublishConnectionDetailsTo

func (mg *Dashboard) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Dashboard.

func (*Dashboard) SetWriteConnectionSecretToReference

func (mg *Dashboard) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Dashboard.

type DashboardList

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

DashboardList contains a list of Dashboards

func (*DashboardList) DeepCopy

func (in *DashboardList) DeepCopy() *DashboardList

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

func (*DashboardList) DeepCopyInto

func (in *DashboardList) DeepCopyInto(out *DashboardList)

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

func (*DashboardList) DeepCopyObject

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

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

func (*DashboardList) GetItems

func (l *DashboardList) GetItems() []resource.Managed

GetItems of this DashboardList.

type DashboardObservation

type DashboardObservation struct {

	// The numeric ID of the dashboard computed by Grafana.
	DashboardID *float64 `json:"dashboardId,omitempty" tf:"dashboard_id,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// URL friendly version of the dashboard title. This field is deprecated, please use `uid` instead.
	Slug *string `json:"slug,omitempty" tf:"slug,omitempty"`

	// The unique identifier of a dashboard. This is used to construct its URL. It's automatically generated if not provided when creating a dashboard. The uid allows having consistent URLs for accessing dashboards and when syncing dashboards between multiple Grafana installs.
	UID *string `json:"uid,omitempty" tf:"uid,omitempty"`

	// The full URL of the dashboard.
	URL *string `json:"url,omitempty" tf:"url,omitempty"`

	// Whenever you save a version of your dashboard, a copy of that version is saved so that previous versions of your dashboard are not lost.
	Version *float64 `json:"version,omitempty" tf:"version,omitempty"`
}

func (*DashboardObservation) DeepCopy

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

func (*DashboardObservation) DeepCopyInto

func (in *DashboardObservation) DeepCopyInto(out *DashboardObservation)

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

type DashboardParameters

type DashboardParameters struct {

	// The complete dashboard model JSON.
	// +kubebuilder:validation:Required
	ConfigJSON *string `json:"configJson" tf:"config_json,omitempty"`

	// The id of the folder to save the dashboard in. This attribute is a string to reflect the type of the folder's id.
	// +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Folder
	// +crossplane:generate:reference:refFieldName=FolderRef
	// +crossplane:generate:reference:selectorFieldName=FolderSelector
	// +kubebuilder:validation:Optional
	Folder *string `json:"folder,omitempty" tf:"folder,omitempty"`

	// Reference to a Folder in oss to populate folder.
	// +kubebuilder:validation:Optional
	FolderRef *v1.Reference `json:"folderRef,omitempty" tf:"-"`

	// Selector for a Folder in oss to populate folder.
	// +kubebuilder:validation:Optional
	FolderSelector *v1.Selector `json:"folderSelector,omitempty" tf:"-"`

	// Set a commit message for the version history.
	// +kubebuilder:validation:Optional
	Message *string `json:"message,omitempty" tf:"message,omitempty"`

	// Set to true if you want to overwrite existing dashboard with newer version, same dashboard title in folder or same dashboard uid.
	// +kubebuilder:validation:Optional
	Overwrite *bool `json:"overwrite,omitempty" tf:"overwrite,omitempty"`
}

func (*DashboardParameters) DeepCopy

func (in *DashboardParameters) DeepCopy() *DashboardParameters

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

func (*DashboardParameters) DeepCopyInto

func (in *DashboardParameters) DeepCopyInto(out *DashboardParameters)

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

type DashboardPermission

type DashboardPermission struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DashboardPermissionSpec   `json:"spec"`
	Status            DashboardPermissionStatus `json:"status,omitempty"`
}

DashboardPermission is the Schema for the DashboardPermissions API. <no value> +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,grafana}

func (*DashboardPermission) DeepCopy

func (in *DashboardPermission) DeepCopy() *DashboardPermission

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

func (*DashboardPermission) DeepCopyInto

func (in *DashboardPermission) DeepCopyInto(out *DashboardPermission)

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

func (*DashboardPermission) DeepCopyObject

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

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

func (*DashboardPermission) GetCondition

func (mg *DashboardPermission) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this DashboardPermission.

func (*DashboardPermission) GetConnectionDetailsMapping

func (tr *DashboardPermission) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this DashboardPermission

func (*DashboardPermission) GetDeletionPolicy

func (mg *DashboardPermission) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this DashboardPermission.

func (*DashboardPermission) GetID

func (tr *DashboardPermission) GetID() string

GetID returns ID of underlying Terraform resource of this DashboardPermission

func (*DashboardPermission) GetObservation

func (tr *DashboardPermission) GetObservation() (map[string]any, error)

GetObservation of this DashboardPermission

func (*DashboardPermission) GetParameters

func (tr *DashboardPermission) GetParameters() (map[string]any, error)

GetParameters of this DashboardPermission

func (*DashboardPermission) GetProviderConfigReference

func (mg *DashboardPermission) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this DashboardPermission.

func (*DashboardPermission) GetProviderReference

func (mg *DashboardPermission) GetProviderReference() *xpv1.Reference

GetProviderReference of this DashboardPermission. Deprecated: Use GetProviderConfigReference.

func (*DashboardPermission) GetPublishConnectionDetailsTo

func (mg *DashboardPermission) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this DashboardPermission.

func (*DashboardPermission) GetTerraformResourceType

func (mg *DashboardPermission) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this DashboardPermission

func (*DashboardPermission) GetTerraformSchemaVersion

func (tr *DashboardPermission) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*DashboardPermission) GetWriteConnectionSecretToReference

func (mg *DashboardPermission) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this DashboardPermission.

func (*DashboardPermission) LateInitialize

func (tr *DashboardPermission) LateInitialize(attrs []byte) (bool, error)

LateInitialize this DashboardPermission using its observed tfState. returns True if there are any spec changes for the resource.

func (*DashboardPermission) ResolveReferences

func (mg *DashboardPermission) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this DashboardPermission.

func (*DashboardPermission) SetConditions

func (mg *DashboardPermission) SetConditions(c ...xpv1.Condition)

SetConditions of this DashboardPermission.

func (*DashboardPermission) SetDeletionPolicy

func (mg *DashboardPermission) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this DashboardPermission.

func (*DashboardPermission) SetObservation

func (tr *DashboardPermission) SetObservation(obs map[string]any) error

SetObservation for this DashboardPermission

func (*DashboardPermission) SetParameters

func (tr *DashboardPermission) SetParameters(params map[string]any) error

SetParameters for this DashboardPermission

func (*DashboardPermission) SetProviderConfigReference

func (mg *DashboardPermission) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this DashboardPermission.

func (*DashboardPermission) SetProviderReference

func (mg *DashboardPermission) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this DashboardPermission. Deprecated: Use SetProviderConfigReference.

func (*DashboardPermission) SetPublishConnectionDetailsTo

func (mg *DashboardPermission) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this DashboardPermission.

func (*DashboardPermission) SetWriteConnectionSecretToReference

func (mg *DashboardPermission) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this DashboardPermission.

type DashboardPermissionList

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

DashboardPermissionList contains a list of DashboardPermissions

func (*DashboardPermissionList) DeepCopy

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

func (*DashboardPermissionList) DeepCopyInto

func (in *DashboardPermissionList) DeepCopyInto(out *DashboardPermissionList)

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

func (*DashboardPermissionList) DeepCopyObject

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

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

func (*DashboardPermissionList) GetItems

func (l *DashboardPermissionList) GetItems() []resource.Managed

GetItems of this DashboardPermissionList.

type DashboardPermissionObservation

type DashboardPermissionObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*DashboardPermissionObservation) DeepCopy

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

func (*DashboardPermissionObservation) DeepCopyInto

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

type DashboardPermissionParameters

type DashboardPermissionParameters struct {

	// ID of the dashboard to apply permissions to.
	// +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Dashboard
	// +crossplane:generate:reference:extractor=github.com/grafana/crossplane-provider-grafana/config/grafana.DashboardIDExtractor()
	// +crossplane:generate:reference:refFieldName=DashboardRef
	// +crossplane:generate:reference:selectorFieldName=DashboardSelector
	// +kubebuilder:validation:Optional
	DashboardID *string `json:"dashboardId,omitempty" tf:"dashboard_id,omitempty"`

	// Reference to a Dashboard in oss to populate dashboardId.
	// +kubebuilder:validation:Optional
	DashboardRef *v1.Reference `json:"dashboardRef,omitempty" tf:"-"`

	// Selector for a Dashboard in oss to populate dashboardId.
	// +kubebuilder:validation:Optional
	DashboardSelector *v1.Selector `json:"dashboardSelector,omitempty" tf:"-"`

	// The permission items to add/update. Items that are omitted from the list will be removed.
	// +kubebuilder:validation:Required
	Permissions []PermissionsParameters `json:"permissions" tf:"permissions,omitempty"`
}

func (*DashboardPermissionParameters) DeepCopy

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

func (*DashboardPermissionParameters) DeepCopyInto

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

type DashboardPermissionSpec

type DashboardPermissionSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DashboardPermissionParameters `json:"forProvider"`
}

DashboardPermissionSpec defines the desired state of DashboardPermission

func (*DashboardPermissionSpec) DeepCopy

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

func (*DashboardPermissionSpec) DeepCopyInto

func (in *DashboardPermissionSpec) DeepCopyInto(out *DashboardPermissionSpec)

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

type DashboardPermissionStatus

type DashboardPermissionStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        DashboardPermissionObservation `json:"atProvider,omitempty"`
}

DashboardPermissionStatus defines the observed state of DashboardPermission.

func (*DashboardPermissionStatus) DeepCopy

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

func (*DashboardPermissionStatus) DeepCopyInto

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

type DashboardSpec

type DashboardSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DashboardParameters `json:"forProvider"`
}

DashboardSpec defines the desired state of Dashboard

func (*DashboardSpec) DeepCopy

func (in *DashboardSpec) DeepCopy() *DashboardSpec

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

func (*DashboardSpec) DeepCopyInto

func (in *DashboardSpec) DeepCopyInto(out *DashboardSpec)

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

type DashboardStatus

type DashboardStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        DashboardObservation `json:"atProvider,omitempty"`
}

DashboardStatus defines the observed state of Dashboard.

func (*DashboardStatus) DeepCopy

func (in *DashboardStatus) DeepCopy() *DashboardStatus

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

func (*DashboardStatus) DeepCopyInto

func (in *DashboardStatus) DeepCopyInto(out *DashboardStatus)

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

type DataSource

type DataSource struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DataSourceSpec   `json:"spec"`
	Status            DataSourceStatus `json:"status,omitempty"`
}

DataSource is the Schema for the DataSources API. <no value> +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,grafana}

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.

func (*DataSource) DeepCopyObject

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

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

func (*DataSource) GetCondition

func (mg *DataSource) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this DataSource.

func (*DataSource) GetConnectionDetailsMapping

func (tr *DataSource) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this DataSource

func (*DataSource) GetDeletionPolicy

func (mg *DataSource) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this DataSource.

func (*DataSource) GetID

func (tr *DataSource) GetID() string

GetID returns ID of underlying Terraform resource of this DataSource

func (*DataSource) GetObservation

func (tr *DataSource) GetObservation() (map[string]any, error)

GetObservation of this DataSource

func (*DataSource) GetParameters

func (tr *DataSource) GetParameters() (map[string]any, error)

GetParameters of this DataSource

func (*DataSource) GetProviderConfigReference

func (mg *DataSource) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this DataSource.

func (*DataSource) GetProviderReference

func (mg *DataSource) GetProviderReference() *xpv1.Reference

GetProviderReference of this DataSource. Deprecated: Use GetProviderConfigReference.

func (*DataSource) GetPublishConnectionDetailsTo

func (mg *DataSource) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this DataSource.

func (*DataSource) GetTerraformResourceType

func (mg *DataSource) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this DataSource

func (*DataSource) GetTerraformSchemaVersion

func (tr *DataSource) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*DataSource) GetWriteConnectionSecretToReference

func (mg *DataSource) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this DataSource.

func (*DataSource) LateInitialize

func (tr *DataSource) LateInitialize(attrs []byte) (bool, error)

LateInitialize this DataSource using its observed tfState. returns True if there are any spec changes for the resource.

func (*DataSource) SetConditions

func (mg *DataSource) SetConditions(c ...xpv1.Condition)

SetConditions of this DataSource.

func (*DataSource) SetDeletionPolicy

func (mg *DataSource) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this DataSource.

func (*DataSource) SetObservation

func (tr *DataSource) SetObservation(obs map[string]any) error

SetObservation for this DataSource

func (*DataSource) SetParameters

func (tr *DataSource) SetParameters(params map[string]any) error

SetParameters for this DataSource

func (*DataSource) SetProviderConfigReference

func (mg *DataSource) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this DataSource.

func (*DataSource) SetProviderReference

func (mg *DataSource) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this DataSource. Deprecated: Use SetProviderConfigReference.

func (*DataSource) SetPublishConnectionDetailsTo

func (mg *DataSource) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this DataSource.

func (*DataSource) SetWriteConnectionSecretToReference

func (mg *DataSource) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this DataSource.

type DataSourceList

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

DataSourceList contains a list of DataSources

func (*DataSourceList) DeepCopy

func (in *DataSourceList) DeepCopy() *DataSourceList

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

func (*DataSourceList) DeepCopyInto

func (in *DataSourceList) DeepCopyInto(out *DataSourceList)

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

func (*DataSourceList) DeepCopyObject

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

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

func (*DataSourceList) GetItems

func (l *DataSourceList) GetItems() []resource.Managed

GetItems of this DataSourceList.

type DataSourceObservation

type DataSourceObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*DataSourceObservation) DeepCopy

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

func (*DataSourceObservation) DeepCopyInto

func (in *DataSourceObservation) DeepCopyInto(out *DataSourceObservation)

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

type DataSourceParameters

type DataSourceParameters struct {

	// The method by which Grafana will access the data source: `proxy` or `direct`. Defaults to `proxy`.
	// +kubebuilder:validation:Optional
	AccessMode *string `json:"accessMode,omitempty" tf:"access_mode,omitempty"`

	// Whether to enable basic auth for the data source. Defaults to `false`.
	// +kubebuilder:validation:Optional
	BasicAuthEnabled *bool `json:"basicAuthEnabled,omitempty" tf:"basic_auth_enabled,omitempty"`

	// Basic auth username. Defaults to “.
	// +kubebuilder:validation:Optional
	BasicAuthUsername *string `json:"basicAuthUsername,omitempty" tf:"basic_auth_username,omitempty"`

	// (Required by some data source types) The name of the database to use on the selected data source server. Defaults to “.
	// +kubebuilder:validation:Optional
	DatabaseName *string `json:"databaseName,omitempty" tf:"database_name,omitempty"`

	// Custom HTTP headers
	// +kubebuilder:validation:Optional
	HTTPHeadersSecretRef *v1.SecretReference `json:"httpHeadersSecretRef,omitempty" tf:"-"`

	// Whether to set the data source as default. This should only be `true` to a single data source. Defaults to `false`.
	// +kubebuilder:validation:Optional
	IsDefault *bool `json:"isDefault,omitempty" tf:"is_default,omitempty"`

	// Serialized JSON string containing the json data. Replaces the json_data attribute, this attribute can be used to pass configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI.
	// +kubebuilder:validation:Optional
	JSONDataEncoded *string `json:"jsonDataEncoded,omitempty" tf:"json_data_encoded,omitempty"`

	// A unique name for the data source.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Serialized JSON string containing the secure json data. Replaces the secure_json_data attribute, this attribute can be used to pass secure configuration options to the data source. To figure out what options a datasource has available, see its docs or inspect the network data when saving it from the Grafana UI.
	// +kubebuilder:validation:Optional
	SecureJSONDataEncodedSecretRef *v1.SecretKeySelector `json:"secureJsonDataEncodedSecretRef,omitempty" tf:"-"`

	// The data source type. Must be one of the supported data source keywords.
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`

	// Unique identifier. If unset, this will be automatically generated.
	// +kubebuilder:validation:Optional
	UID *string `json:"uid,omitempty" tf:"uid,omitempty"`

	// The URL for the data source. The type of URL required varies depending on the chosen data source type.
	// +kubebuilder:validation:Optional
	URL *string `json:"url,omitempty" tf:"url,omitempty"`

	// (Required by some data source types) The username to use to authenticate to the data source. Defaults to “.
	// +kubebuilder:validation:Optional
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*DataSourceParameters) DeepCopy

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

func (*DataSourceParameters) DeepCopyInto

func (in *DataSourceParameters) DeepCopyInto(out *DataSourceParameters)

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

type DataSourceSpec

type DataSourceSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DataSourceParameters `json:"forProvider"`
}

DataSourceSpec defines the desired state of DataSource

func (*DataSourceSpec) DeepCopy

func (in *DataSourceSpec) DeepCopy() *DataSourceSpec

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

func (*DataSourceSpec) DeepCopyInto

func (in *DataSourceSpec) DeepCopyInto(out *DataSourceSpec)

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

type DataSourceStatus

type DataSourceStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        DataSourceObservation `json:"atProvider,omitempty"`
}

DataSourceStatus defines the observed state of DataSource.

func (*DataSourceStatus) DeepCopy

func (in *DataSourceStatus) DeepCopy() *DataSourceStatus

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

func (*DataSourceStatus) DeepCopyInto

func (in *DataSourceStatus) DeepCopyInto(out *DataSourceStatus)

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

type Folder

type Folder struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              FolderSpec   `json:"spec"`
	Status            FolderStatus `json:"status,omitempty"`
}

Folder is the Schema for the Folders API. <no value> +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,grafana}

func (*Folder) DeepCopy

func (in *Folder) DeepCopy() *Folder

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

func (*Folder) DeepCopyInto

func (in *Folder) DeepCopyInto(out *Folder)

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

func (*Folder) DeepCopyObject

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

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

func (*Folder) GetCondition

func (mg *Folder) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Folder.

func (*Folder) GetConnectionDetailsMapping

func (tr *Folder) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Folder

func (*Folder) GetDeletionPolicy

func (mg *Folder) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Folder.

func (*Folder) GetID

func (tr *Folder) GetID() string

GetID returns ID of underlying Terraform resource of this Folder

func (*Folder) GetObservation

func (tr *Folder) GetObservation() (map[string]any, error)

GetObservation of this Folder

func (*Folder) GetParameters

func (tr *Folder) GetParameters() (map[string]any, error)

GetParameters of this Folder

func (*Folder) GetProviderConfigReference

func (mg *Folder) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Folder.

func (*Folder) GetProviderReference

func (mg *Folder) GetProviderReference() *xpv1.Reference

GetProviderReference of this Folder. Deprecated: Use GetProviderConfigReference.

func (*Folder) GetPublishConnectionDetailsTo

func (mg *Folder) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Folder.

func (*Folder) GetTerraformResourceType

func (mg *Folder) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Folder

func (*Folder) GetTerraformSchemaVersion

func (tr *Folder) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Folder) GetWriteConnectionSecretToReference

func (mg *Folder) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Folder.

func (*Folder) LateInitialize

func (tr *Folder) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Folder using its observed tfState. returns True if there are any spec changes for the resource.

func (*Folder) SetConditions

func (mg *Folder) SetConditions(c ...xpv1.Condition)

SetConditions of this Folder.

func (*Folder) SetDeletionPolicy

func (mg *Folder) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Folder.

func (*Folder) SetObservation

func (tr *Folder) SetObservation(obs map[string]any) error

SetObservation for this Folder

func (*Folder) SetParameters

func (tr *Folder) SetParameters(params map[string]any) error

SetParameters for this Folder

func (*Folder) SetProviderConfigReference

func (mg *Folder) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Folder.

func (*Folder) SetProviderReference

func (mg *Folder) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Folder. Deprecated: Use SetProviderConfigReference.

func (*Folder) SetPublishConnectionDetailsTo

func (mg *Folder) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Folder.

func (*Folder) SetWriteConnectionSecretToReference

func (mg *Folder) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Folder.

type FolderList

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

FolderList contains a list of Folders

func (*FolderList) DeepCopy

func (in *FolderList) DeepCopy() *FolderList

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

func (*FolderList) DeepCopyInto

func (in *FolderList) DeepCopyInto(out *FolderList)

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

func (*FolderList) DeepCopyObject

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

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

func (*FolderList) GetItems

func (l *FolderList) GetItems() []resource.Managed

GetItems of this FolderList.

type FolderObservation

type FolderObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The full URL of the folder.
	URL *string `json:"url,omitempty" tf:"url,omitempty"`
}

func (*FolderObservation) DeepCopy

func (in *FolderObservation) DeepCopy() *FolderObservation

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

func (*FolderObservation) DeepCopyInto

func (in *FolderObservation) DeepCopyInto(out *FolderObservation)

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

type FolderParameters

type FolderParameters struct {

	// The title of the folder.
	// +kubebuilder:validation:Required
	Title *string `json:"title" tf:"title,omitempty"`

	// Unique identifier.
	// +kubebuilder:validation:Optional
	UID *string `json:"uid,omitempty" tf:"uid,omitempty"`
}

func (*FolderParameters) DeepCopy

func (in *FolderParameters) DeepCopy() *FolderParameters

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

func (*FolderParameters) DeepCopyInto

func (in *FolderParameters) DeepCopyInto(out *FolderParameters)

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

type FolderPermission

type FolderPermission struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              FolderPermissionSpec   `json:"spec"`
	Status            FolderPermissionStatus `json:"status,omitempty"`
}

FolderPermission is the Schema for the FolderPermissions API. <no value> +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,grafana}

func (*FolderPermission) DeepCopy

func (in *FolderPermission) DeepCopy() *FolderPermission

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

func (*FolderPermission) DeepCopyInto

func (in *FolderPermission) DeepCopyInto(out *FolderPermission)

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

func (*FolderPermission) DeepCopyObject

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

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

func (*FolderPermission) GetCondition

func (mg *FolderPermission) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this FolderPermission.

func (*FolderPermission) GetConnectionDetailsMapping

func (tr *FolderPermission) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this FolderPermission

func (*FolderPermission) GetDeletionPolicy

func (mg *FolderPermission) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this FolderPermission.

func (*FolderPermission) GetID

func (tr *FolderPermission) GetID() string

GetID returns ID of underlying Terraform resource of this FolderPermission

func (*FolderPermission) GetObservation

func (tr *FolderPermission) GetObservation() (map[string]any, error)

GetObservation of this FolderPermission

func (*FolderPermission) GetParameters

func (tr *FolderPermission) GetParameters() (map[string]any, error)

GetParameters of this FolderPermission

func (*FolderPermission) GetProviderConfigReference

func (mg *FolderPermission) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this FolderPermission.

func (*FolderPermission) GetProviderReference

func (mg *FolderPermission) GetProviderReference() *xpv1.Reference

GetProviderReference of this FolderPermission. Deprecated: Use GetProviderConfigReference.

func (*FolderPermission) GetPublishConnectionDetailsTo

func (mg *FolderPermission) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this FolderPermission.

func (*FolderPermission) GetTerraformResourceType

func (mg *FolderPermission) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this FolderPermission

func (*FolderPermission) GetTerraformSchemaVersion

func (tr *FolderPermission) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*FolderPermission) GetWriteConnectionSecretToReference

func (mg *FolderPermission) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this FolderPermission.

func (*FolderPermission) LateInitialize

func (tr *FolderPermission) LateInitialize(attrs []byte) (bool, error)

LateInitialize this FolderPermission using its observed tfState. returns True if there are any spec changes for the resource.

func (*FolderPermission) ResolveReferences

func (mg *FolderPermission) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this FolderPermission.

func (*FolderPermission) SetConditions

func (mg *FolderPermission) SetConditions(c ...xpv1.Condition)

SetConditions of this FolderPermission.

func (*FolderPermission) SetDeletionPolicy

func (mg *FolderPermission) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this FolderPermission.

func (*FolderPermission) SetObservation

func (tr *FolderPermission) SetObservation(obs map[string]any) error

SetObservation for this FolderPermission

func (*FolderPermission) SetParameters

func (tr *FolderPermission) SetParameters(params map[string]any) error

SetParameters for this FolderPermission

func (*FolderPermission) SetProviderConfigReference

func (mg *FolderPermission) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this FolderPermission.

func (*FolderPermission) SetProviderReference

func (mg *FolderPermission) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this FolderPermission. Deprecated: Use SetProviderConfigReference.

func (*FolderPermission) SetPublishConnectionDetailsTo

func (mg *FolderPermission) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this FolderPermission.

func (*FolderPermission) SetWriteConnectionSecretToReference

func (mg *FolderPermission) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this FolderPermission.

type FolderPermissionList

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

FolderPermissionList contains a list of FolderPermissions

func (*FolderPermissionList) DeepCopy

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

func (*FolderPermissionList) DeepCopyInto

func (in *FolderPermissionList) DeepCopyInto(out *FolderPermissionList)

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

func (*FolderPermissionList) DeepCopyObject

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

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

func (*FolderPermissionList) GetItems

func (l *FolderPermissionList) GetItems() []resource.Managed

GetItems of this FolderPermissionList.

type FolderPermissionObservation

type FolderPermissionObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*FolderPermissionObservation) DeepCopy

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

func (*FolderPermissionObservation) DeepCopyInto

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

type FolderPermissionParameters

type FolderPermissionParameters struct {

	// Reference to a Folder in oss to populate folderUid.
	// +kubebuilder:validation:Optional
	FolderRef *v1.Reference `json:"folderRef,omitempty" tf:"-"`

	// Selector for a Folder in oss to populate folderUid.
	// +kubebuilder:validation:Optional
	FolderSelector *v1.Selector `json:"folderSelector,omitempty" tf:"-"`

	// The UID of the folder.
	// +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Folder
	// +crossplane:generate:reference:extractor=github.com/grafana/crossplane-provider-grafana/config/grafana.UIDExtractor()
	// +crossplane:generate:reference:refFieldName=FolderRef
	// +crossplane:generate:reference:selectorFieldName=FolderSelector
	// +kubebuilder:validation:Optional
	FolderUID *string `json:"folderUid,omitempty" tf:"folder_uid,omitempty"`

	// The permission items to add/update. Items that are omitted from the list will be removed.
	// +kubebuilder:validation:Required
	Permissions []FolderPermissionPermissionsParameters `json:"permissions" tf:"permissions,omitempty"`
}

func (*FolderPermissionParameters) DeepCopy

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

func (*FolderPermissionParameters) DeepCopyInto

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

type FolderPermissionPermissionsObservation

type FolderPermissionPermissionsObservation struct {
}

func (*FolderPermissionPermissionsObservation) DeepCopy

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

func (*FolderPermissionPermissionsObservation) DeepCopyInto

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

type FolderPermissionPermissionsParameters

type FolderPermissionPermissionsParameters struct {

	// Permission to associate with item. Must be one of `View`, `Edit`, or `Admin`.
	// +kubebuilder:validation:Required
	Permission *string `json:"permission" tf:"permission,omitempty"`

	// Manage permissions for `Viewer` or `Editor` roles.
	// +kubebuilder:validation:Optional
	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	// ID of the team to manage permissions for. Defaults to `0`.
	// +kubebuilder:validation:Optional
	TeamID *float64 `json:"teamId,omitempty" tf:"team_id,omitempty"`

	// ID of the user to manage permissions for. Defaults to `0`.
	// +kubebuilder:validation:Optional
	UserID *float64 `json:"userId,omitempty" tf:"user_id,omitempty"`
}

func (*FolderPermissionPermissionsParameters) DeepCopy

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

func (*FolderPermissionPermissionsParameters) DeepCopyInto

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

type FolderPermissionSpec

type FolderPermissionSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     FolderPermissionParameters `json:"forProvider"`
}

FolderPermissionSpec defines the desired state of FolderPermission

func (*FolderPermissionSpec) DeepCopy

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

func (*FolderPermissionSpec) DeepCopyInto

func (in *FolderPermissionSpec) DeepCopyInto(out *FolderPermissionSpec)

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

type FolderPermissionStatus

type FolderPermissionStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        FolderPermissionObservation `json:"atProvider,omitempty"`
}

FolderPermissionStatus defines the observed state of FolderPermission.

func (*FolderPermissionStatus) DeepCopy

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

func (*FolderPermissionStatus) DeepCopyInto

func (in *FolderPermissionStatus) DeepCopyInto(out *FolderPermissionStatus)

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

type FolderSpec

type FolderSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     FolderParameters `json:"forProvider"`
}

FolderSpec defines the desired state of Folder

func (*FolderSpec) DeepCopy

func (in *FolderSpec) DeepCopy() *FolderSpec

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

func (*FolderSpec) DeepCopyInto

func (in *FolderSpec) DeepCopyInto(out *FolderSpec)

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

type FolderStatus

type FolderStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        FolderObservation `json:"atProvider,omitempty"`
}

FolderStatus defines the observed state of Folder.

func (*FolderStatus) DeepCopy

func (in *FolderStatus) DeepCopy() *FolderStatus

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

func (*FolderStatus) DeepCopyInto

func (in *FolderStatus) DeepCopyInto(out *FolderStatus)

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

type PermissionsObservation

type PermissionsObservation struct {
}

func (*PermissionsObservation) DeepCopy

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

func (*PermissionsObservation) DeepCopyInto

func (in *PermissionsObservation) DeepCopyInto(out *PermissionsObservation)

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

type PermissionsParameters

type PermissionsParameters struct {

	// Permission to associate with item. Must be one of `View`, `Edit`, or `Admin`.
	// +kubebuilder:validation:Required
	Permission *string `json:"permission" tf:"permission,omitempty"`

	// Manage permissions for `Viewer` or `Editor` roles.
	// +kubebuilder:validation:Optional
	Role *string `json:"role,omitempty" tf:"role,omitempty"`

	// ID of the team to manage permissions for. Defaults to `0`.
	// +kubebuilder:validation:Optional
	TeamID *float64 `json:"teamId,omitempty" tf:"team_id,omitempty"`

	// ID of the user to manage permissions for. Defaults to `0`.
	// +kubebuilder:validation:Optional
	UserID *float64 `json:"userId,omitempty" tf:"user_id,omitempty"`
}

func (*PermissionsParameters) DeepCopy

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

func (*PermissionsParameters) DeepCopyInto

func (in *PermissionsParameters) DeepCopyInto(out *PermissionsParameters)

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

type Team

type Team struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              TeamSpec   `json:"spec"`
	Status            TeamStatus `json:"status,omitempty"`
}

Team is the Schema for the Teams API. <no value> +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,grafana}

func (*Team) DeepCopy

func (in *Team) DeepCopy() *Team

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

func (*Team) DeepCopyInto

func (in *Team) DeepCopyInto(out *Team)

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

func (*Team) DeepCopyObject

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

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

func (*Team) GetCondition

func (mg *Team) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Team.

func (*Team) GetConnectionDetailsMapping

func (tr *Team) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Team

func (*Team) GetDeletionPolicy

func (mg *Team) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Team.

func (*Team) GetID

func (tr *Team) GetID() string

GetID returns ID of underlying Terraform resource of this Team

func (*Team) GetObservation

func (tr *Team) GetObservation() (map[string]any, error)

GetObservation of this Team

func (*Team) GetParameters

func (tr *Team) GetParameters() (map[string]any, error)

GetParameters of this Team

func (*Team) GetProviderConfigReference

func (mg *Team) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Team.

func (*Team) GetProviderReference

func (mg *Team) GetProviderReference() *xpv1.Reference

GetProviderReference of this Team. Deprecated: Use GetProviderConfigReference.

func (*Team) GetPublishConnectionDetailsTo

func (mg *Team) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Team.

func (*Team) GetTerraformResourceType

func (mg *Team) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Team

func (*Team) GetTerraformSchemaVersion

func (tr *Team) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Team) GetWriteConnectionSecretToReference

func (mg *Team) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Team.

func (*Team) LateInitialize

func (tr *Team) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Team using its observed tfState. returns True if there are any spec changes for the resource.

func (*Team) ResolveReferences

func (mg *Team) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Team.

func (*Team) SetConditions

func (mg *Team) SetConditions(c ...xpv1.Condition)

SetConditions of this Team.

func (*Team) SetDeletionPolicy

func (mg *Team) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Team.

func (*Team) SetObservation

func (tr *Team) SetObservation(obs map[string]any) error

SetObservation for this Team

func (*Team) SetParameters

func (tr *Team) SetParameters(params map[string]any) error

SetParameters for this Team

func (*Team) SetProviderConfigReference

func (mg *Team) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Team.

func (*Team) SetProviderReference

func (mg *Team) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Team. Deprecated: Use SetProviderConfigReference.

func (*Team) SetPublishConnectionDetailsTo

func (mg *Team) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Team.

func (*Team) SetWriteConnectionSecretToReference

func (mg *Team) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Team.

type TeamList

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

TeamList contains a list of Teams

func (*TeamList) DeepCopy

func (in *TeamList) DeepCopy() *TeamList

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

func (*TeamList) DeepCopyInto

func (in *TeamList) DeepCopyInto(out *TeamList)

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

func (*TeamList) DeepCopyObject

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

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

func (*TeamList) GetItems

func (l *TeamList) GetItems() []resource.Managed

GetItems of this TeamList.

type TeamObservation

type TeamObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The team id assigned to this team by Grafana.
	TeamID *float64 `json:"teamId,omitempty" tf:"team_id,omitempty"`
}

func (*TeamObservation) DeepCopy

func (in *TeamObservation) DeepCopy() *TeamObservation

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

func (*TeamObservation) DeepCopyInto

func (in *TeamObservation) DeepCopyInto(out *TeamObservation)

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

type TeamParameters

type TeamParameters struct {

	// An email address for the team.
	// +kubebuilder:validation:Optional
	Email *string `json:"email,omitempty" tf:"email,omitempty"`

	// Ignores team members that have been added to team by [Team Sync](https://grafana.com/docs/grafana/latest/enterprise/team-sync/).
	// Team Sync can be provisioned using [grafana_team_external_group resource](https://registry.io/providers/grafana/grafana/latest/docs/resources/team_external_group).
	// Defaults to `true`.
	// +kubebuilder:validation:Optional
	IgnoreExternallySyncedMembers *bool `json:"ignoreExternallySyncedMembers,omitempty" tf:"ignore_externally_synced_members,omitempty"`

	// References to User in oss to populate members.
	// +kubebuilder:validation:Optional
	MemberRefs []v1.Reference `json:"memberRefs,omitempty" tf:"-"`

	// Selector for a list of User in oss to populate members.
	// +kubebuilder:validation:Optional
	MemberSelector *v1.Selector `json:"memberSelector,omitempty" tf:"-"`

	// A set of email addresses corresponding to users who should be given membership
	// to the team. Note: users specified here must already exist in Grafana.
	// +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.User
	// +crossplane:generate:reference:extractor=github.com/grafana/crossplane-provider-grafana/config/grafana.UserEmailExtractor()
	// +crossplane:generate:reference:refFieldName=MemberRefs
	// +crossplane:generate:reference:selectorFieldName=MemberSelector
	// +kubebuilder:validation:Optional
	Members []*string `json:"members,omitempty" tf:"members,omitempty"`

	// The display name for the Grafana team created.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`
}

func (*TeamParameters) DeepCopy

func (in *TeamParameters) DeepCopy() *TeamParameters

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

func (*TeamParameters) DeepCopyInto

func (in *TeamParameters) DeepCopyInto(out *TeamParameters)

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

type TeamSpec

type TeamSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     TeamParameters `json:"forProvider"`
}

TeamSpec defines the desired state of Team

func (*TeamSpec) DeepCopy

func (in *TeamSpec) DeepCopy() *TeamSpec

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

func (*TeamSpec) DeepCopyInto

func (in *TeamSpec) DeepCopyInto(out *TeamSpec)

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

type TeamStatus

type TeamStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        TeamObservation `json:"atProvider,omitempty"`
}

TeamStatus defines the observed state of Team.

func (*TeamStatus) DeepCopy

func (in *TeamStatus) DeepCopy() *TeamStatus

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

func (*TeamStatus) DeepCopyInto

func (in *TeamStatus) DeepCopyInto(out *TeamStatus)

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

type User

type User struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              UserSpec   `json:"spec"`
	Status            UserStatus `json:"status,omitempty"`
}

User is the Schema for the Users API. <no value> +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,grafana}

func (*User) DeepCopy

func (in *User) DeepCopy() *User

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

func (*User) DeepCopyInto

func (in *User) DeepCopyInto(out *User)

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

func (*User) DeepCopyObject

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

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

func (*User) GetCondition

func (mg *User) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this User.

func (*User) GetConnectionDetailsMapping

func (tr *User) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this User

func (*User) GetDeletionPolicy

func (mg *User) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this User.

func (*User) GetID

func (tr *User) GetID() string

GetID returns ID of underlying Terraform resource of this User

func (*User) GetObservation

func (tr *User) GetObservation() (map[string]any, error)

GetObservation of this User

func (*User) GetParameters

func (tr *User) GetParameters() (map[string]any, error)

GetParameters of this User

func (*User) GetProviderConfigReference

func (mg *User) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this User.

func (*User) GetProviderReference

func (mg *User) GetProviderReference() *xpv1.Reference

GetProviderReference of this User. Deprecated: Use GetProviderConfigReference.

func (*User) GetPublishConnectionDetailsTo

func (mg *User) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this User.

func (*User) GetTerraformResourceType

func (mg *User) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this User

func (*User) GetTerraformSchemaVersion

func (tr *User) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*User) GetWriteConnectionSecretToReference

func (mg *User) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this User.

func (*User) LateInitialize

func (tr *User) LateInitialize(attrs []byte) (bool, error)

LateInitialize this User using its observed tfState. returns True if there are any spec changes for the resource.

func (*User) SetConditions

func (mg *User) SetConditions(c ...xpv1.Condition)

SetConditions of this User.

func (*User) SetDeletionPolicy

func (mg *User) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this User.

func (*User) SetObservation

func (tr *User) SetObservation(obs map[string]any) error

SetObservation for this User

func (*User) SetParameters

func (tr *User) SetParameters(params map[string]any) error

SetParameters for this User

func (*User) SetProviderConfigReference

func (mg *User) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this User.

func (*User) SetProviderReference

func (mg *User) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this User. Deprecated: Use SetProviderConfigReference.

func (*User) SetPublishConnectionDetailsTo

func (mg *User) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this User.

func (*User) SetWriteConnectionSecretToReference

func (mg *User) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this User.

type UserList

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

UserList contains a list of Users

func (*UserList) DeepCopy

func (in *UserList) DeepCopy() *UserList

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

func (*UserList) DeepCopyInto

func (in *UserList) DeepCopyInto(out *UserList)

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

func (*UserList) DeepCopyObject

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

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

func (*UserList) GetItems

func (l *UserList) GetItems() []resource.Managed

GetItems of this UserList.

type UserObservation

type UserObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The numerical ID of the Grafana user.
	UserID *float64 `json:"userId,omitempty" tf:"user_id,omitempty"`
}

func (*UserObservation) DeepCopy

func (in *UserObservation) DeepCopy() *UserObservation

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

func (*UserObservation) DeepCopyInto

func (in *UserObservation) DeepCopyInto(out *UserObservation)

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

type UserParameters

type UserParameters struct {

	// The email address of the Grafana user.
	// +kubebuilder:validation:Required
	Email *string `json:"email" tf:"email,omitempty"`

	// Whether to make user an admin. Defaults to `false`.
	// +kubebuilder:validation:Optional
	IsAdmin *bool `json:"isAdmin,omitempty" tf:"is_admin,omitempty"`

	// The username for the Grafana user.
	// +kubebuilder:validation:Optional
	Login *string `json:"login,omitempty" tf:"login,omitempty"`

	// The display name for the Grafana user.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The password for the Grafana user.
	// +kubebuilder:validation:Required
	PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"`
}

func (*UserParameters) DeepCopy

func (in *UserParameters) DeepCopy() *UserParameters

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

func (*UserParameters) DeepCopyInto

func (in *UserParameters) DeepCopyInto(out *UserParameters)

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

type UserSpec

type UserSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     UserParameters `json:"forProvider"`
}

UserSpec defines the desired state of User

func (*UserSpec) DeepCopy

func (in *UserSpec) DeepCopy() *UserSpec

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

func (*UserSpec) DeepCopyInto

func (in *UserSpec) DeepCopyInto(out *UserSpec)

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

type UserStatus

type UserStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        UserObservation `json:"atProvider,omitempty"`
}

UserStatus defines the observed state of User.

func (*UserStatus) DeepCopy

func (in *UserStatus) DeepCopy() *UserStatus

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

func (*UserStatus) DeepCopyInto

func (in *UserStatus) DeepCopyInto(out *UserStatus)

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

Jump to

Keyboard shortcuts

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