Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=oss.grafana.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type APIKey
- func (in *APIKey) DeepCopy() *APIKey
- func (in *APIKey) DeepCopyInto(out *APIKey)
- func (in *APIKey) DeepCopyObject() runtime.Object
- func (mg *APIKey) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *APIKey) GetConnectionDetailsMapping() map[string]string
- func (mg *APIKey) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *APIKey) GetID() string
- func (tr *APIKey) GetInitParameters() (map[string]any, error)
- func (mg *APIKey) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *APIKey) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *APIKey) GetObservation() (map[string]any, error)
- func (tr *APIKey) GetParameters() (map[string]any, error)
- func (mg *APIKey) GetProviderConfigReference() *xpv1.Reference
- func (mg *APIKey) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *APIKey) GetTerraformResourceType() string
- func (tr *APIKey) GetTerraformSchemaVersion() int
- func (mg *APIKey) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *APIKey) Hub()
- func (tr *APIKey) LateInitialize(attrs []byte) (bool, error)
- func (mg *APIKey) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *APIKey) SetConditions(c ...xpv1.Condition)
- func (mg *APIKey) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *APIKey) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *APIKey) SetObservation(obs map[string]any) error
- func (tr *APIKey) SetParameters(params map[string]any) error
- func (mg *APIKey) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *APIKey) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *APIKey) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type APIKeyInitParameters
- type APIKeyList
- type APIKeyObservation
- type APIKeyParameters
- type APIKeySpec
- type APIKeyStatus
- type Annotation
- func (in *Annotation) DeepCopy() *Annotation
- func (in *Annotation) DeepCopyInto(out *Annotation)
- func (in *Annotation) DeepCopyObject() runtime.Object
- func (mg *Annotation) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Annotation) GetConnectionDetailsMapping() map[string]string
- func (mg *Annotation) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Annotation) GetID() string
- func (tr *Annotation) GetInitParameters() (map[string]any, error)
- func (mg *Annotation) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Annotation) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Annotation) GetObservation() (map[string]any, error)
- func (tr *Annotation) GetParameters() (map[string]any, error)
- func (mg *Annotation) GetProviderConfigReference() *xpv1.Reference
- func (mg *Annotation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Annotation) GetTerraformResourceType() string
- func (tr *Annotation) GetTerraformSchemaVersion() int
- func (mg *Annotation) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Annotation) Hub()
- func (tr *Annotation) LateInitialize(attrs []byte) (bool, error)
- func (mg *Annotation) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Annotation) SetConditions(c ...xpv1.Condition)
- func (mg *Annotation) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Annotation) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Annotation) SetObservation(obs map[string]any) error
- func (tr *Annotation) SetParameters(params map[string]any) error
- func (mg *Annotation) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Annotation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Annotation) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type AnnotationInitParameters
- type AnnotationList
- type AnnotationObservation
- type AnnotationParameters
- type AnnotationSpec
- type AnnotationStatus
- type Dashboard
- func (in *Dashboard) DeepCopy() *Dashboard
- func (in *Dashboard) DeepCopyInto(out *Dashboard)
- func (in *Dashboard) DeepCopyObject() runtime.Object
- func (mg *Dashboard) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Dashboard) GetConnectionDetailsMapping() map[string]string
- func (mg *Dashboard) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Dashboard) GetID() string
- func (tr *Dashboard) GetInitParameters() (map[string]any, error)
- func (mg *Dashboard) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Dashboard) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Dashboard) GetObservation() (map[string]any, error)
- func (tr *Dashboard) GetParameters() (map[string]any, error)
- func (mg *Dashboard) GetProviderConfigReference() *xpv1.Reference
- func (mg *Dashboard) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Dashboard) GetTerraformResourceType() string
- func (tr *Dashboard) GetTerraformSchemaVersion() int
- func (mg *Dashboard) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Dashboard) Hub()
- func (tr *Dashboard) LateInitialize(attrs []byte) (bool, error)
- func (mg *Dashboard) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Dashboard) SetConditions(c ...xpv1.Condition)
- func (mg *Dashboard) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Dashboard) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Dashboard) SetObservation(obs map[string]any) error
- func (tr *Dashboard) SetParameters(params map[string]any) error
- func (mg *Dashboard) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Dashboard) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Dashboard) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type DashboardInitParameters
- type DashboardList
- type DashboardObservation
- type DashboardParameters
- type DashboardPermission
- func (in *DashboardPermission) DeepCopy() *DashboardPermission
- func (in *DashboardPermission) DeepCopyInto(out *DashboardPermission)
- func (in *DashboardPermission) DeepCopyObject() runtime.Object
- func (mg *DashboardPermission) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *DashboardPermission) GetConnectionDetailsMapping() map[string]string
- func (mg *DashboardPermission) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *DashboardPermission) GetID() string
- func (tr *DashboardPermission) GetInitParameters() (map[string]any, error)
- func (mg *DashboardPermission) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *DashboardPermission) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *DashboardPermission) GetObservation() (map[string]any, error)
- func (tr *DashboardPermission) GetParameters() (map[string]any, error)
- func (mg *DashboardPermission) GetProviderConfigReference() *xpv1.Reference
- func (mg *DashboardPermission) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *DashboardPermission) GetTerraformResourceType() string
- func (tr *DashboardPermission) GetTerraformSchemaVersion() int
- func (mg *DashboardPermission) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *DashboardPermission) Hub()
- func (tr *DashboardPermission) LateInitialize(attrs []byte) (bool, error)
- func (mg *DashboardPermission) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *DashboardPermission) SetConditions(c ...xpv1.Condition)
- func (mg *DashboardPermission) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *DashboardPermission) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *DashboardPermission) SetObservation(obs map[string]any) error
- func (tr *DashboardPermission) SetParameters(params map[string]any) error
- func (mg *DashboardPermission) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *DashboardPermission) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *DashboardPermission) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type DashboardPermissionInitParameters
- type DashboardPermissionList
- type DashboardPermissionObservation
- type DashboardPermissionParameters
- type DashboardPermissionSpec
- type DashboardPermissionStatus
- type DashboardPublic
- func (in *DashboardPublic) DeepCopy() *DashboardPublic
- func (in *DashboardPublic) DeepCopyInto(out *DashboardPublic)
- func (in *DashboardPublic) DeepCopyObject() runtime.Object
- func (mg *DashboardPublic) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *DashboardPublic) GetConnectionDetailsMapping() map[string]string
- func (mg *DashboardPublic) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *DashboardPublic) GetID() string
- func (tr *DashboardPublic) GetInitParameters() (map[string]any, error)
- func (mg *DashboardPublic) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *DashboardPublic) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *DashboardPublic) GetObservation() (map[string]any, error)
- func (tr *DashboardPublic) GetParameters() (map[string]any, error)
- func (mg *DashboardPublic) GetProviderConfigReference() *xpv1.Reference
- func (mg *DashboardPublic) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *DashboardPublic) GetTerraformResourceType() string
- func (tr *DashboardPublic) GetTerraformSchemaVersion() int
- func (mg *DashboardPublic) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *DashboardPublic) Hub()
- func (tr *DashboardPublic) LateInitialize(attrs []byte) (bool, error)
- func (mg *DashboardPublic) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *DashboardPublic) SetConditions(c ...xpv1.Condition)
- func (mg *DashboardPublic) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *DashboardPublic) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *DashboardPublic) SetObservation(obs map[string]any) error
- func (tr *DashboardPublic) SetParameters(params map[string]any) error
- func (mg *DashboardPublic) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *DashboardPublic) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *DashboardPublic) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type DashboardPublicInitParameters
- type DashboardPublicList
- type DashboardPublicObservation
- type DashboardPublicParameters
- type DashboardPublicSpec
- type DashboardPublicStatus
- type DashboardSpec
- type DashboardStatus
- type DataSource
- func (in *DataSource) DeepCopy() *DataSource
- func (in *DataSource) DeepCopyInto(out *DataSource)
- func (in *DataSource) DeepCopyObject() runtime.Object
- func (mg *DataSource) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *DataSource) GetConnectionDetailsMapping() map[string]string
- func (mg *DataSource) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *DataSource) GetID() string
- func (tr *DataSource) GetInitParameters() (map[string]any, error)
- func (mg *DataSource) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *DataSource) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *DataSource) GetObservation() (map[string]any, error)
- func (tr *DataSource) GetParameters() (map[string]any, error)
- func (mg *DataSource) GetProviderConfigReference() *xpv1.Reference
- func (mg *DataSource) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *DataSource) GetTerraformResourceType() string
- func (tr *DataSource) GetTerraformSchemaVersion() int
- func (mg *DataSource) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *DataSource) Hub()
- func (tr *DataSource) LateInitialize(attrs []byte) (bool, error)
- func (mg *DataSource) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *DataSource) SetConditions(c ...xpv1.Condition)
- func (mg *DataSource) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *DataSource) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *DataSource) SetObservation(obs map[string]any) error
- func (tr *DataSource) SetParameters(params map[string]any) error
- func (mg *DataSource) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *DataSource) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *DataSource) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type DataSourceInitParameters
- type DataSourceList
- type DataSourceObservation
- type DataSourceParameters
- type DataSourceSpec
- type DataSourceStatus
- type Folder
- func (in *Folder) DeepCopy() *Folder
- func (in *Folder) DeepCopyInto(out *Folder)
- func (in *Folder) DeepCopyObject() runtime.Object
- func (mg *Folder) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Folder) GetConnectionDetailsMapping() map[string]string
- func (mg *Folder) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Folder) GetID() string
- func (tr *Folder) GetInitParameters() (map[string]any, error)
- func (mg *Folder) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Folder) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Folder) GetObservation() (map[string]any, error)
- func (tr *Folder) GetParameters() (map[string]any, error)
- func (mg *Folder) GetProviderConfigReference() *xpv1.Reference
- func (mg *Folder) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Folder) GetTerraformResourceType() string
- func (tr *Folder) GetTerraformSchemaVersion() int
- func (mg *Folder) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Folder) Hub()
- func (tr *Folder) LateInitialize(attrs []byte) (bool, error)
- func (mg *Folder) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Folder) SetConditions(c ...xpv1.Condition)
- func (mg *Folder) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Folder) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Folder) SetObservation(obs map[string]any) error
- func (tr *Folder) SetParameters(params map[string]any) error
- func (mg *Folder) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Folder) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Folder) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type FolderInitParameters
- type FolderList
- type FolderObservation
- type FolderParameters
- type FolderPermission
- func (in *FolderPermission) DeepCopy() *FolderPermission
- func (in *FolderPermission) DeepCopyInto(out *FolderPermission)
- func (in *FolderPermission) DeepCopyObject() runtime.Object
- func (mg *FolderPermission) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *FolderPermission) GetConnectionDetailsMapping() map[string]string
- func (mg *FolderPermission) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *FolderPermission) GetID() string
- func (tr *FolderPermission) GetInitParameters() (map[string]any, error)
- func (mg *FolderPermission) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *FolderPermission) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *FolderPermission) GetObservation() (map[string]any, error)
- func (tr *FolderPermission) GetParameters() (map[string]any, error)
- func (mg *FolderPermission) GetProviderConfigReference() *xpv1.Reference
- func (mg *FolderPermission) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *FolderPermission) GetTerraformResourceType() string
- func (tr *FolderPermission) GetTerraformSchemaVersion() int
- func (mg *FolderPermission) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *FolderPermission) Hub()
- func (tr *FolderPermission) LateInitialize(attrs []byte) (bool, error)
- func (mg *FolderPermission) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *FolderPermission) SetConditions(c ...xpv1.Condition)
- func (mg *FolderPermission) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *FolderPermission) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *FolderPermission) SetObservation(obs map[string]any) error
- func (tr *FolderPermission) SetParameters(params map[string]any) error
- func (mg *FolderPermission) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *FolderPermission) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *FolderPermission) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type FolderPermissionInitParameters
- type FolderPermissionList
- type FolderPermissionObservation
- type FolderPermissionParameters
- type FolderPermissionPermissionsInitParameters
- type FolderPermissionPermissionsObservation
- type FolderPermissionPermissionsParameters
- type FolderPermissionSpec
- type FolderPermissionStatus
- type FolderSpec
- type FolderStatus
- type ItemInitParameters
- type ItemObservation
- type ItemParameters
- type LibraryPanel
- func (in *LibraryPanel) DeepCopy() *LibraryPanel
- func (in *LibraryPanel) DeepCopyInto(out *LibraryPanel)
- func (in *LibraryPanel) DeepCopyObject() runtime.Object
- func (mg *LibraryPanel) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *LibraryPanel) GetConnectionDetailsMapping() map[string]string
- func (mg *LibraryPanel) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *LibraryPanel) GetID() string
- func (tr *LibraryPanel) GetInitParameters() (map[string]any, error)
- func (mg *LibraryPanel) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *LibraryPanel) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *LibraryPanel) GetObservation() (map[string]any, error)
- func (tr *LibraryPanel) GetParameters() (map[string]any, error)
- func (mg *LibraryPanel) GetProviderConfigReference() *xpv1.Reference
- func (mg *LibraryPanel) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *LibraryPanel) GetTerraformResourceType() string
- func (tr *LibraryPanel) GetTerraformSchemaVersion() int
- func (mg *LibraryPanel) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *LibraryPanel) Hub()
- func (tr *LibraryPanel) LateInitialize(attrs []byte) (bool, error)
- func (mg *LibraryPanel) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *LibraryPanel) SetConditions(c ...xpv1.Condition)
- func (mg *LibraryPanel) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *LibraryPanel) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *LibraryPanel) SetObservation(obs map[string]any) error
- func (tr *LibraryPanel) SetParameters(params map[string]any) error
- func (mg *LibraryPanel) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *LibraryPanel) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *LibraryPanel) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type LibraryPanelInitParameters
- type LibraryPanelList
- type LibraryPanelObservation
- type LibraryPanelParameters
- type LibraryPanelSpec
- type LibraryPanelStatus
- type Oauth2SettingsInitParameters
- type Oauth2SettingsObservation
- type Oauth2SettingsParameters
- type Organization
- func (in *Organization) DeepCopy() *Organization
- func (in *Organization) DeepCopyInto(out *Organization)
- func (in *Organization) DeepCopyObject() runtime.Object
- func (mg *Organization) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Organization) GetConnectionDetailsMapping() map[string]string
- func (mg *Organization) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Organization) GetID() string
- func (tr *Organization) GetInitParameters() (map[string]any, error)
- func (mg *Organization) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Organization) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Organization) GetObservation() (map[string]any, error)
- func (tr *Organization) GetParameters() (map[string]any, error)
- func (mg *Organization) GetProviderConfigReference() *xpv1.Reference
- func (mg *Organization) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Organization) GetTerraformResourceType() string
- func (tr *Organization) GetTerraformSchemaVersion() int
- func (mg *Organization) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Organization) Hub()
- func (tr *Organization) LateInitialize(attrs []byte) (bool, error)
- func (mg *Organization) SetConditions(c ...xpv1.Condition)
- func (mg *Organization) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Organization) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Organization) SetObservation(obs map[string]any) error
- func (tr *Organization) SetParameters(params map[string]any) error
- func (mg *Organization) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Organization) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Organization) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type OrganizationInitParameters
- type OrganizationList
- type OrganizationObservation
- type OrganizationParameters
- type OrganizationPreferences
- func (in *OrganizationPreferences) DeepCopy() *OrganizationPreferences
- func (in *OrganizationPreferences) DeepCopyInto(out *OrganizationPreferences)
- func (in *OrganizationPreferences) DeepCopyObject() runtime.Object
- func (mg *OrganizationPreferences) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *OrganizationPreferences) GetConnectionDetailsMapping() map[string]string
- func (mg *OrganizationPreferences) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *OrganizationPreferences) GetID() string
- func (tr *OrganizationPreferences) GetInitParameters() (map[string]any, error)
- func (mg *OrganizationPreferences) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *OrganizationPreferences) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *OrganizationPreferences) GetObservation() (map[string]any, error)
- func (tr *OrganizationPreferences) GetParameters() (map[string]any, error)
- func (mg *OrganizationPreferences) GetProviderConfigReference() *xpv1.Reference
- func (mg *OrganizationPreferences) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *OrganizationPreferences) GetTerraformResourceType() string
- func (tr *OrganizationPreferences) GetTerraformSchemaVersion() int
- func (mg *OrganizationPreferences) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *OrganizationPreferences) Hub()
- func (tr *OrganizationPreferences) LateInitialize(attrs []byte) (bool, error)
- func (mg *OrganizationPreferences) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *OrganizationPreferences) SetConditions(c ...xpv1.Condition)
- func (mg *OrganizationPreferences) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *OrganizationPreferences) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *OrganizationPreferences) SetObservation(obs map[string]any) error
- func (tr *OrganizationPreferences) SetParameters(params map[string]any) error
- func (mg *OrganizationPreferences) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *OrganizationPreferences) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *OrganizationPreferences) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type OrganizationPreferencesInitParameters
- type OrganizationPreferencesList
- func (in *OrganizationPreferencesList) DeepCopy() *OrganizationPreferencesList
- func (in *OrganizationPreferencesList) DeepCopyInto(out *OrganizationPreferencesList)
- func (in *OrganizationPreferencesList) DeepCopyObject() runtime.Object
- func (l *OrganizationPreferencesList) GetItems() []resource.Managed
- type OrganizationPreferencesObservation
- type OrganizationPreferencesParameters
- type OrganizationPreferencesSpec
- type OrganizationPreferencesStatus
- type OrganizationSpec
- type OrganizationStatus
- type PermissionsInitParameters
- type PermissionsObservation
- type PermissionsParameters
- type Playlist
- func (in *Playlist) DeepCopy() *Playlist
- func (in *Playlist) DeepCopyInto(out *Playlist)
- func (in *Playlist) DeepCopyObject() runtime.Object
- func (mg *Playlist) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Playlist) GetConnectionDetailsMapping() map[string]string
- func (mg *Playlist) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Playlist) GetID() string
- func (tr *Playlist) GetInitParameters() (map[string]any, error)
- func (mg *Playlist) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Playlist) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Playlist) GetObservation() (map[string]any, error)
- func (tr *Playlist) GetParameters() (map[string]any, error)
- func (mg *Playlist) GetProviderConfigReference() *xpv1.Reference
- func (mg *Playlist) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Playlist) GetTerraformResourceType() string
- func (tr *Playlist) GetTerraformSchemaVersion() int
- func (mg *Playlist) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Playlist) Hub()
- func (tr *Playlist) LateInitialize(attrs []byte) (bool, error)
- func (mg *Playlist) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Playlist) SetConditions(c ...xpv1.Condition)
- func (mg *Playlist) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Playlist) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Playlist) SetObservation(obs map[string]any) error
- func (tr *Playlist) SetParameters(params map[string]any) error
- func (mg *Playlist) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Playlist) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Playlist) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type PlaylistInitParameters
- type PlaylistList
- type PlaylistObservation
- type PlaylistParameters
- type PlaylistSpec
- type PlaylistStatus
- type PreferencesInitParameters
- type PreferencesObservation
- type PreferencesParameters
- type ServiceAccount
- func (in *ServiceAccount) DeepCopy() *ServiceAccount
- func (in *ServiceAccount) DeepCopyInto(out *ServiceAccount)
- func (in *ServiceAccount) DeepCopyObject() runtime.Object
- func (mg *ServiceAccount) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *ServiceAccount) GetConnectionDetailsMapping() map[string]string
- func (mg *ServiceAccount) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *ServiceAccount) GetID() string
- func (tr *ServiceAccount) GetInitParameters() (map[string]any, error)
- func (mg *ServiceAccount) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *ServiceAccount) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *ServiceAccount) GetObservation() (map[string]any, error)
- func (tr *ServiceAccount) GetParameters() (map[string]any, error)
- func (mg *ServiceAccount) GetProviderConfigReference() *xpv1.Reference
- func (mg *ServiceAccount) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *ServiceAccount) GetTerraformResourceType() string
- func (tr *ServiceAccount) GetTerraformSchemaVersion() int
- func (mg *ServiceAccount) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *ServiceAccount) Hub()
- func (tr *ServiceAccount) LateInitialize(attrs []byte) (bool, error)
- func (mg *ServiceAccount) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *ServiceAccount) SetConditions(c ...xpv1.Condition)
- func (mg *ServiceAccount) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *ServiceAccount) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *ServiceAccount) SetObservation(obs map[string]any) error
- func (tr *ServiceAccount) SetParameters(params map[string]any) error
- func (mg *ServiceAccount) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *ServiceAccount) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *ServiceAccount) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ServiceAccountInitParameters
- type ServiceAccountList
- type ServiceAccountObservation
- type ServiceAccountParameters
- type ServiceAccountPermission
- func (in *ServiceAccountPermission) DeepCopy() *ServiceAccountPermission
- func (in *ServiceAccountPermission) DeepCopyInto(out *ServiceAccountPermission)
- func (in *ServiceAccountPermission) DeepCopyObject() runtime.Object
- func (mg *ServiceAccountPermission) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *ServiceAccountPermission) GetConnectionDetailsMapping() map[string]string
- func (mg *ServiceAccountPermission) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *ServiceAccountPermission) GetID() string
- func (tr *ServiceAccountPermission) GetInitParameters() (map[string]any, error)
- func (mg *ServiceAccountPermission) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *ServiceAccountPermission) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *ServiceAccountPermission) GetObservation() (map[string]any, error)
- func (tr *ServiceAccountPermission) GetParameters() (map[string]any, error)
- func (mg *ServiceAccountPermission) GetProviderConfigReference() *xpv1.Reference
- func (mg *ServiceAccountPermission) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *ServiceAccountPermission) GetTerraformResourceType() string
- func (tr *ServiceAccountPermission) GetTerraformSchemaVersion() int
- func (mg *ServiceAccountPermission) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *ServiceAccountPermission) Hub()
- func (tr *ServiceAccountPermission) LateInitialize(attrs []byte) (bool, error)
- func (mg *ServiceAccountPermission) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *ServiceAccountPermission) SetConditions(c ...xpv1.Condition)
- func (mg *ServiceAccountPermission) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *ServiceAccountPermission) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *ServiceAccountPermission) SetObservation(obs map[string]any) error
- func (tr *ServiceAccountPermission) SetParameters(params map[string]any) error
- func (mg *ServiceAccountPermission) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *ServiceAccountPermission) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *ServiceAccountPermission) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ServiceAccountPermissionInitParameters
- type ServiceAccountPermissionList
- func (in *ServiceAccountPermissionList) DeepCopy() *ServiceAccountPermissionList
- func (in *ServiceAccountPermissionList) DeepCopyInto(out *ServiceAccountPermissionList)
- func (in *ServiceAccountPermissionList) DeepCopyObject() runtime.Object
- func (l *ServiceAccountPermissionList) GetItems() []resource.Managed
- type ServiceAccountPermissionObservation
- type ServiceAccountPermissionParameters
- type ServiceAccountPermissionPermissionsInitParameters
- type ServiceAccountPermissionPermissionsObservation
- type ServiceAccountPermissionPermissionsParameters
- type ServiceAccountPermissionSpec
- type ServiceAccountPermissionStatus
- type ServiceAccountSpec
- type ServiceAccountStatus
- type ServiceAccountToken
- func (in *ServiceAccountToken) DeepCopy() *ServiceAccountToken
- func (in *ServiceAccountToken) DeepCopyInto(out *ServiceAccountToken)
- func (in *ServiceAccountToken) DeepCopyObject() runtime.Object
- func (mg *ServiceAccountToken) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *ServiceAccountToken) GetConnectionDetailsMapping() map[string]string
- func (mg *ServiceAccountToken) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *ServiceAccountToken) GetID() string
- func (tr *ServiceAccountToken) GetInitParameters() (map[string]any, error)
- func (mg *ServiceAccountToken) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *ServiceAccountToken) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *ServiceAccountToken) GetObservation() (map[string]any, error)
- func (tr *ServiceAccountToken) GetParameters() (map[string]any, error)
- func (mg *ServiceAccountToken) GetProviderConfigReference() *xpv1.Reference
- func (mg *ServiceAccountToken) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *ServiceAccountToken) GetTerraformResourceType() string
- func (tr *ServiceAccountToken) GetTerraformSchemaVersion() int
- func (mg *ServiceAccountToken) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *ServiceAccountToken) Hub()
- func (tr *ServiceAccountToken) LateInitialize(attrs []byte) (bool, error)
- func (mg *ServiceAccountToken) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *ServiceAccountToken) SetConditions(c ...xpv1.Condition)
- func (mg *ServiceAccountToken) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *ServiceAccountToken) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *ServiceAccountToken) SetObservation(obs map[string]any) error
- func (tr *ServiceAccountToken) SetParameters(params map[string]any) error
- func (mg *ServiceAccountToken) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *ServiceAccountToken) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *ServiceAccountToken) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ServiceAccountTokenInitParameters
- type ServiceAccountTokenList
- type ServiceAccountTokenObservation
- type ServiceAccountTokenParameters
- type ServiceAccountTokenSpec
- type ServiceAccountTokenStatus
- type SsoSettings
- func (in *SsoSettings) DeepCopy() *SsoSettings
- func (in *SsoSettings) DeepCopyInto(out *SsoSettings)
- func (in *SsoSettings) DeepCopyObject() runtime.Object
- func (mg *SsoSettings) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *SsoSettings) GetConnectionDetailsMapping() map[string]string
- func (mg *SsoSettings) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *SsoSettings) GetID() string
- func (tr *SsoSettings) GetInitParameters() (map[string]any, error)
- func (mg *SsoSettings) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *SsoSettings) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *SsoSettings) GetObservation() (map[string]any, error)
- func (tr *SsoSettings) GetParameters() (map[string]any, error)
- func (mg *SsoSettings) GetProviderConfigReference() *xpv1.Reference
- func (mg *SsoSettings) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *SsoSettings) GetTerraformResourceType() string
- func (tr *SsoSettings) GetTerraformSchemaVersion() int
- func (mg *SsoSettings) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *SsoSettings) Hub()
- func (tr *SsoSettings) LateInitialize(attrs []byte) (bool, error)
- func (mg *SsoSettings) SetConditions(c ...xpv1.Condition)
- func (mg *SsoSettings) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *SsoSettings) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *SsoSettings) SetObservation(obs map[string]any) error
- func (tr *SsoSettings) SetParameters(params map[string]any) error
- func (mg *SsoSettings) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *SsoSettings) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *SsoSettings) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type SsoSettingsInitParameters
- type SsoSettingsList
- type SsoSettingsObservation
- type SsoSettingsParameters
- type SsoSettingsSpec
- type SsoSettingsStatus
- type Team
- func (in *Team) DeepCopy() *Team
- func (in *Team) DeepCopyInto(out *Team)
- func (in *Team) DeepCopyObject() runtime.Object
- func (mg *Team) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Team) GetConnectionDetailsMapping() map[string]string
- func (mg *Team) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Team) GetID() string
- func (tr *Team) GetInitParameters() (map[string]any, error)
- func (mg *Team) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Team) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Team) GetObservation() (map[string]any, error)
- func (tr *Team) GetParameters() (map[string]any, error)
- func (mg *Team) GetProviderConfigReference() *xpv1.Reference
- func (mg *Team) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Team) GetTerraformResourceType() string
- func (tr *Team) GetTerraformSchemaVersion() int
- func (mg *Team) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Team) Hub()
- func (tr *Team) LateInitialize(attrs []byte) (bool, error)
- func (mg *Team) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Team) SetConditions(c ...xpv1.Condition)
- func (mg *Team) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Team) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Team) SetObservation(obs map[string]any) error
- func (tr *Team) SetParameters(params map[string]any) error
- func (mg *Team) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Team) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Team) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type TeamInitParameters
- type TeamList
- type TeamObservation
- type TeamParameters
- type TeamSpec
- type TeamStatus
- type TeamSyncInitParameters
- type TeamSyncObservation
- type TeamSyncParameters
- type User
- func (in *User) DeepCopy() *User
- func (in *User) DeepCopyInto(out *User)
- func (in *User) DeepCopyObject() runtime.Object
- func (mg *User) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *User) GetConnectionDetailsMapping() map[string]string
- func (mg *User) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *User) GetID() string
- func (tr *User) GetInitParameters() (map[string]any, error)
- func (mg *User) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *User) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *User) GetObservation() (map[string]any, error)
- func (tr *User) GetParameters() (map[string]any, error)
- func (mg *User) GetProviderConfigReference() *xpv1.Reference
- func (mg *User) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *User) GetTerraformResourceType() string
- func (tr *User) GetTerraformSchemaVersion() int
- func (mg *User) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *User) Hub()
- func (tr *User) LateInitialize(attrs []byte) (bool, error)
- func (mg *User) SetConditions(c ...xpv1.Condition)
- func (mg *User) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *User) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *User) SetObservation(obs map[string]any) error
- func (tr *User) SetParameters(params map[string]any) error
- func (mg *User) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *User) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *User) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type UserInitParameters
- type UserList
- type UserObservation
- type UserParameters
- type UserSpec
- type UserStatus
Constants ¶
const ( CRDGroup = "oss.grafana.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( Annotation_Kind = "Annotation" Annotation_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Annotation_Kind}.String() Annotation_KindAPIVersion = Annotation_Kind + "." + CRDGroupVersion.String() Annotation_GroupVersionKind = CRDGroupVersion.WithKind(Annotation_Kind) )
Repository type metadata.
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.
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.
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.
var ( DashboardPublic_Kind = "DashboardPublic" DashboardPublic_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DashboardPublic_Kind}.String() DashboardPublic_KindAPIVersion = DashboardPublic_Kind + "." + CRDGroupVersion.String() DashboardPublic_GroupVersionKind = CRDGroupVersion.WithKind(DashboardPublic_Kind) )
Repository type metadata.
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.
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.
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.
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 )
var ( LibraryPanel_Kind = "LibraryPanel" LibraryPanel_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: LibraryPanel_Kind}.String() LibraryPanel_KindAPIVersion = LibraryPanel_Kind + "." + CRDGroupVersion.String() LibraryPanel_GroupVersionKind = CRDGroupVersion.WithKind(LibraryPanel_Kind) )
Repository type metadata.
var ( Organization_Kind = "Organization" Organization_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Organization_Kind}.String() Organization_KindAPIVersion = Organization_Kind + "." + CRDGroupVersion.String() Organization_GroupVersionKind = CRDGroupVersion.WithKind(Organization_Kind) )
Repository type metadata.
var ( OrganizationPreferences_Kind = "OrganizationPreferences" OrganizationPreferences_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: OrganizationPreferences_Kind}.String() OrganizationPreferences_KindAPIVersion = OrganizationPreferences_Kind + "." + CRDGroupVersion.String() OrganizationPreferences_GroupVersionKind = CRDGroupVersion.WithKind(OrganizationPreferences_Kind) )
Repository type metadata.
var ( Playlist_Kind = "Playlist" Playlist_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Playlist_Kind}.String() Playlist_KindAPIVersion = Playlist_Kind + "." + CRDGroupVersion.String() Playlist_GroupVersionKind = CRDGroupVersion.WithKind(Playlist_Kind) )
Repository type metadata.
var ( ServiceAccount_Kind = "ServiceAccount" ServiceAccount_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ServiceAccount_Kind}.String() ServiceAccount_KindAPIVersion = ServiceAccount_Kind + "." + CRDGroupVersion.String() ServiceAccount_GroupVersionKind = CRDGroupVersion.WithKind(ServiceAccount_Kind) )
Repository type metadata.
var ( ServiceAccountPermission_Kind = "ServiceAccountPermission" ServiceAccountPermission_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ServiceAccountPermission_Kind}.String() ServiceAccountPermission_KindAPIVersion = ServiceAccountPermission_Kind + "." + CRDGroupVersion.String() ServiceAccountPermission_GroupVersionKind = CRDGroupVersion.WithKind(ServiceAccountPermission_Kind) )
Repository type metadata.
var ( ServiceAccountToken_Kind = "ServiceAccountToken" ServiceAccountToken_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ServiceAccountToken_Kind}.String() ServiceAccountToken_KindAPIVersion = ServiceAccountToken_Kind + "." + CRDGroupVersion.String() ServiceAccountToken_GroupVersionKind = CRDGroupVersion.WithKind(ServiceAccountToken_Kind) )
Repository type metadata.
var ( SsoSettings_Kind = "SsoSettings" SsoSettings_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: SsoSettings_Kind}.String() SsoSettings_KindAPIVersion = SsoSettings_Kind + "." + CRDGroupVersion.String() SsoSettings_GroupVersionKind = CRDGroupVersion.WithKind(SsoSettings_Kind) )
Repository type metadata.
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.
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"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.role) || (has(self.initProvider) && has(self.initProvider.role))",message="spec.forProvider.role is a required parameter" Spec APIKeySpec `json:"spec"` Status APIKeyStatus `json:"status,omitempty"` }
APIKey is the Schema for the APIKeys API. Manages Grafana API Keys. HTTP API https://grafana. +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:resource:scope=Cluster,categories={crossplane,managed,grafana}
func (*APIKey) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIKey.
func (*APIKey) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*APIKey) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this APIKey
func (*APIKey) GetDeletionPolicy ¶
func (mg *APIKey) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this APIKey.
func (*APIKey) GetInitParameters ¶ added in v0.8.0
GetInitParameters of this APIKey
func (*APIKey) GetManagementPolicies ¶ added in v0.8.0
func (mg *APIKey) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this APIKey.
func (*APIKey) GetMergedParameters ¶ added in v0.10.1
GetInitParameters of this APIKey
func (*APIKey) GetObservation ¶
GetObservation of this APIKey
func (*APIKey) GetParameters ¶
GetParameters of this APIKey
func (*APIKey) GetProviderConfigReference ¶
GetProviderConfigReference of this APIKey.
func (*APIKey) GetPublishConnectionDetailsTo ¶
func (mg *APIKey) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this APIKey.
func (*APIKey) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this APIKey
func (*APIKey) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*APIKey) GetWriteConnectionSecretToReference ¶
func (mg *APIKey) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this APIKey.
func (*APIKey) Hub ¶ added in v0.10.1
func (tr *APIKey) Hub()
Hub marks this type as a conversion hub.
func (*APIKey) LateInitialize ¶
LateInitialize this APIKey using its observed tfState. returns True if there are any spec changes for the resource.
func (*APIKey) ResolveReferences ¶
ResolveReferences of this APIKey.
func (*APIKey) SetConditions ¶
SetConditions of this APIKey.
func (*APIKey) SetDeletionPolicy ¶
func (mg *APIKey) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this APIKey.
func (*APIKey) SetManagementPolicies ¶ added in v0.8.0
func (mg *APIKey) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this APIKey.
func (*APIKey) SetObservation ¶
SetObservation for this APIKey
func (*APIKey) SetParameters ¶
SetParameters for this APIKey
func (*APIKey) SetProviderConfigReference ¶
SetProviderConfigReference of this APIKey.
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 APIKeyInitParameters ¶ added in v0.8.0
type APIKeyInitParameters struct { // (String) Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Organization // +crossplane:generate:reference:refFieldName=OrganizationRef // +crossplane:generate:reference:selectorFieldName=OrganizationSelector OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Reference to a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationRef *v1.Reference `json:"organizationRef,omitempty" tf:"-"` // Selector for a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationSelector *v1.Selector `json:"organizationSelector,omitempty" tf:"-"` // (String) Role *string `json:"role,omitempty" tf:"role,omitempty"` // (Number) SecondsToLive *float64 `json:"secondsToLive,omitempty" tf:"seconds_to_live,omitempty"` }
func (*APIKeyInitParameters) DeepCopy ¶ added in v0.8.0
func (in *APIKeyInitParameters) DeepCopy() *APIKeyInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIKeyInitParameters.
func (*APIKeyInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *APIKeyInitParameters) DeepCopyInto(out *APIKeyInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 { // (String) Expiration *string `json:"expiration,omitempty" tf:"expiration,omitempty"` // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (String) Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // (String) Role *string `json:"role,omitempty" tf:"role,omitempty"` // (Number) SecondsToLive *float64 `json:"secondsToLive,omitempty" tf:"seconds_to_live,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 { // (String) // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Organization // +crossplane:generate:reference:refFieldName=OrganizationRef // +crossplane:generate:reference:selectorFieldName=OrganizationSelector // +kubebuilder:validation:Optional OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Reference to a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationRef *v1.Reference `json:"organizationRef,omitempty" tf:"-"` // Selector for a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationSelector *v1.Selector `json:"organizationSelector,omitempty" tf:"-"` // (String) // +kubebuilder:validation:Optional Role *string `json:"role,omitempty" tf:"role,omitempty"` // (Number) // +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"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider APIKeyInitParameters `json:"initProvider,omitempty"` }
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 Annotation ¶ added in v0.11.0
type Annotation struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.text) || (has(self.initProvider) && has(self.initProvider.text))",message="spec.forProvider.text is a required parameter" Spec AnnotationSpec `json:"spec"` Status AnnotationStatus `json:"status,omitempty"` }
Annotation is the Schema for the Annotations API. Official documentation https://grafana.com/docs/grafana/latest/dashboards/build-dashboards/annotate-visualizations/HTTP API https://grafana.com/docs/grafana/latest/developers/http_api/annotations/ +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:resource:scope=Cluster,categories={crossplane,managed,grafana}
func (*Annotation) DeepCopy ¶ added in v0.11.0
func (in *Annotation) DeepCopy() *Annotation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Annotation.
func (*Annotation) DeepCopyInto ¶ added in v0.11.0
func (in *Annotation) DeepCopyInto(out *Annotation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Annotation) DeepCopyObject ¶ added in v0.11.0
func (in *Annotation) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Annotation) GetCondition ¶ added in v0.11.0
func (mg *Annotation) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Annotation.
func (*Annotation) GetConnectionDetailsMapping ¶ added in v0.11.0
func (tr *Annotation) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this Annotation
func (*Annotation) GetDeletionPolicy ¶ added in v0.11.0
func (mg *Annotation) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Annotation.
func (*Annotation) GetID ¶ added in v0.11.0
func (tr *Annotation) GetID() string
GetID returns ID of underlying Terraform resource of this Annotation
func (*Annotation) GetInitParameters ¶ added in v0.11.0
func (tr *Annotation) GetInitParameters() (map[string]any, error)
GetInitParameters of this Annotation
func (*Annotation) GetManagementPolicies ¶ added in v0.11.0
func (mg *Annotation) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Annotation.
func (*Annotation) GetMergedParameters ¶ added in v0.11.0
func (tr *Annotation) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this Annotation
func (*Annotation) GetObservation ¶ added in v0.11.0
func (tr *Annotation) GetObservation() (map[string]any, error)
GetObservation of this Annotation
func (*Annotation) GetParameters ¶ added in v0.11.0
func (tr *Annotation) GetParameters() (map[string]any, error)
GetParameters of this Annotation
func (*Annotation) GetProviderConfigReference ¶ added in v0.11.0
func (mg *Annotation) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this Annotation.
func (*Annotation) GetPublishConnectionDetailsTo ¶ added in v0.11.0
func (mg *Annotation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Annotation.
func (*Annotation) GetTerraformResourceType ¶ added in v0.11.0
func (mg *Annotation) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this Annotation
func (*Annotation) GetTerraformSchemaVersion ¶ added in v0.11.0
func (tr *Annotation) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Annotation) GetWriteConnectionSecretToReference ¶ added in v0.11.0
func (mg *Annotation) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Annotation.
func (*Annotation) Hub ¶ added in v0.11.0
func (tr *Annotation) Hub()
Hub marks this type as a conversion hub.
func (*Annotation) LateInitialize ¶ added in v0.11.0
func (tr *Annotation) LateInitialize(attrs []byte) (bool, error)
LateInitialize this Annotation using its observed tfState. returns True if there are any spec changes for the resource.
func (*Annotation) ResolveReferences ¶ added in v0.11.0
ResolveReferences of this Annotation.
func (*Annotation) SetConditions ¶ added in v0.11.0
func (mg *Annotation) SetConditions(c ...xpv1.Condition)
SetConditions of this Annotation.
func (*Annotation) SetDeletionPolicy ¶ added in v0.11.0
func (mg *Annotation) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Annotation.
func (*Annotation) SetManagementPolicies ¶ added in v0.11.0
func (mg *Annotation) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Annotation.
func (*Annotation) SetObservation ¶ added in v0.11.0
func (tr *Annotation) SetObservation(obs map[string]any) error
SetObservation for this Annotation
func (*Annotation) SetParameters ¶ added in v0.11.0
func (tr *Annotation) SetParameters(params map[string]any) error
SetParameters for this Annotation
func (*Annotation) SetProviderConfigReference ¶ added in v0.11.0
func (mg *Annotation) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this Annotation.
func (*Annotation) SetPublishConnectionDetailsTo ¶ added in v0.11.0
func (mg *Annotation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Annotation.
func (*Annotation) SetWriteConnectionSecretToReference ¶ added in v0.11.0
func (mg *Annotation) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Annotation.
type AnnotationInitParameters ¶ added in v0.11.0
type AnnotationInitParameters struct { // Reference to a Dashboard in oss to populate dashboardUid. // +kubebuilder:validation:Optional DashboardRef *v1.Reference `json:"dashboardRef,omitempty" tf:"-"` // Selector for a Dashboard in oss to populate dashboardUid. // +kubebuilder:validation:Optional DashboardSelector *v1.Selector `json:"dashboardSelector,omitempty" tf:"-"` // (String) The ID of the dashboard on which to create the annotation. // The ID of the dashboard on which to create the annotation. // +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.UIDExtractor() // +crossplane:generate:reference:refFieldName=DashboardRef // +crossplane:generate:reference:selectorFieldName=DashboardSelector DashboardUID *string `json:"dashboardUid,omitempty" tf:"dashboard_uid,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Organization // +crossplane:generate:reference:refFieldName=OrganizationRef // +crossplane:generate:reference:selectorFieldName=OrganizationSelector OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Reference to a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationRef *v1.Reference `json:"organizationRef,omitempty" tf:"-"` // Selector for a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationSelector *v1.Selector `json:"organizationSelector,omitempty" tf:"-"` // (Number) The ID of the dashboard panel on which to create the annotation. // The ID of the dashboard panel on which to create the annotation. PanelID *float64 `json:"panelId,omitempty" tf:"panel_id,omitempty"` // (Set of String) The tags to associate with the annotation. // The tags to associate with the annotation. // +listType=set Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"` // (String) The text to associate with the annotation. // The text to associate with the annotation. Text *string `json:"text,omitempty" tf:"text,omitempty"` // formatted time string indicating the annotation's time. // The RFC 3339-formatted time string indicating the annotation's time. Time *string `json:"time,omitempty" tf:"time,omitempty"` // formatted time string indicating the annotation's end time. // The RFC 3339-formatted time string indicating the annotation's end time. TimeEnd *string `json:"timeEnd,omitempty" tf:"time_end,omitempty"` }
func (*AnnotationInitParameters) DeepCopy ¶ added in v0.11.0
func (in *AnnotationInitParameters) DeepCopy() *AnnotationInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnnotationInitParameters.
func (*AnnotationInitParameters) DeepCopyInto ¶ added in v0.11.0
func (in *AnnotationInitParameters) DeepCopyInto(out *AnnotationInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AnnotationList ¶ added in v0.11.0
type AnnotationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Annotation `json:"items"` }
AnnotationList contains a list of Annotations
func (*AnnotationList) DeepCopy ¶ added in v0.11.0
func (in *AnnotationList) DeepCopy() *AnnotationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnnotationList.
func (*AnnotationList) DeepCopyInto ¶ added in v0.11.0
func (in *AnnotationList) DeepCopyInto(out *AnnotationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AnnotationList) DeepCopyObject ¶ added in v0.11.0
func (in *AnnotationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AnnotationList) GetItems ¶ added in v0.11.0
func (l *AnnotationList) GetItems() []resource.Managed
GetItems of this AnnotationList.
type AnnotationObservation ¶ added in v0.11.0
type AnnotationObservation struct { // (String) The ID of the dashboard on which to create the annotation. // The ID of the dashboard on which to create the annotation. DashboardUID *string `json:"dashboardUid,omitempty" tf:"dashboard_uid,omitempty"` // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // (Number) The ID of the dashboard panel on which to create the annotation. // The ID of the dashboard panel on which to create the annotation. PanelID *float64 `json:"panelId,omitempty" tf:"panel_id,omitempty"` // (Set of String) The tags to associate with the annotation. // The tags to associate with the annotation. // +listType=set Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"` // (String) The text to associate with the annotation. // The text to associate with the annotation. Text *string `json:"text,omitempty" tf:"text,omitempty"` // formatted time string indicating the annotation's time. // The RFC 3339-formatted time string indicating the annotation's time. Time *string `json:"time,omitempty" tf:"time,omitempty"` // formatted time string indicating the annotation's end time. // The RFC 3339-formatted time string indicating the annotation's end time. TimeEnd *string `json:"timeEnd,omitempty" tf:"time_end,omitempty"` }
func (*AnnotationObservation) DeepCopy ¶ added in v0.11.0
func (in *AnnotationObservation) DeepCopy() *AnnotationObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnnotationObservation.
func (*AnnotationObservation) DeepCopyInto ¶ added in v0.11.0
func (in *AnnotationObservation) DeepCopyInto(out *AnnotationObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AnnotationParameters ¶ added in v0.11.0
type AnnotationParameters struct { // Reference to a Dashboard in oss to populate dashboardUid. // +kubebuilder:validation:Optional DashboardRef *v1.Reference `json:"dashboardRef,omitempty" tf:"-"` // Selector for a Dashboard in oss to populate dashboardUid. // +kubebuilder:validation:Optional DashboardSelector *v1.Selector `json:"dashboardSelector,omitempty" tf:"-"` // (String) The ID of the dashboard on which to create the annotation. // The ID of the dashboard on which to create the annotation. // +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.UIDExtractor() // +crossplane:generate:reference:refFieldName=DashboardRef // +crossplane:generate:reference:selectorFieldName=DashboardSelector // +kubebuilder:validation:Optional DashboardUID *string `json:"dashboardUid,omitempty" tf:"dashboard_uid,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Organization // +crossplane:generate:reference:refFieldName=OrganizationRef // +crossplane:generate:reference:selectorFieldName=OrganizationSelector // +kubebuilder:validation:Optional OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Reference to a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationRef *v1.Reference `json:"organizationRef,omitempty" tf:"-"` // Selector for a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationSelector *v1.Selector `json:"organizationSelector,omitempty" tf:"-"` // (Number) The ID of the dashboard panel on which to create the annotation. // The ID of the dashboard panel on which to create the annotation. // +kubebuilder:validation:Optional PanelID *float64 `json:"panelId,omitempty" tf:"panel_id,omitempty"` // (Set of String) The tags to associate with the annotation. // The tags to associate with the annotation. // +kubebuilder:validation:Optional // +listType=set Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"` // (String) The text to associate with the annotation. // The text to associate with the annotation. // +kubebuilder:validation:Optional Text *string `json:"text,omitempty" tf:"text,omitempty"` // formatted time string indicating the annotation's time. // The RFC 3339-formatted time string indicating the annotation's time. // +kubebuilder:validation:Optional Time *string `json:"time,omitempty" tf:"time,omitempty"` // formatted time string indicating the annotation's end time. // The RFC 3339-formatted time string indicating the annotation's end time. // +kubebuilder:validation:Optional TimeEnd *string `json:"timeEnd,omitempty" tf:"time_end,omitempty"` }
func (*AnnotationParameters) DeepCopy ¶ added in v0.11.0
func (in *AnnotationParameters) DeepCopy() *AnnotationParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnnotationParameters.
func (*AnnotationParameters) DeepCopyInto ¶ added in v0.11.0
func (in *AnnotationParameters) DeepCopyInto(out *AnnotationParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AnnotationSpec ¶ added in v0.11.0
type AnnotationSpec struct { v1.ResourceSpec `json:",inline"` ForProvider AnnotationParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider AnnotationInitParameters `json:"initProvider,omitempty"` }
AnnotationSpec defines the desired state of Annotation
func (*AnnotationSpec) DeepCopy ¶ added in v0.11.0
func (in *AnnotationSpec) DeepCopy() *AnnotationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnnotationSpec.
func (*AnnotationSpec) DeepCopyInto ¶ added in v0.11.0
func (in *AnnotationSpec) DeepCopyInto(out *AnnotationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AnnotationStatus ¶ added in v0.11.0
type AnnotationStatus struct { v1.ResourceStatus `json:",inline"` AtProvider AnnotationObservation `json:"atProvider,omitempty"` }
AnnotationStatus defines the observed state of Annotation.
func (*AnnotationStatus) DeepCopy ¶ added in v0.11.0
func (in *AnnotationStatus) DeepCopy() *AnnotationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnnotationStatus.
func (*AnnotationStatus) DeepCopyInto ¶ added in v0.11.0
func (in *AnnotationStatus) DeepCopyInto(out *AnnotationStatus)
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"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.configJson) || (has(self.initProvider) && has(self.initProvider.configJson))",message="spec.forProvider.configJson is a required parameter" Spec DashboardSpec `json:"spec"` Status DashboardStatus `json:"status,omitempty"` }
Dashboard is the Schema for the Dashboards API. Manages Grafana dashboards. Official documentation https://grafana.com/docs/grafana/latest/dashboards/HTTP API https://grafana.com/docs/grafana/latest/developers/http_api/dashboard/ +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:resource:scope=Cluster,categories={crossplane,managed,grafana}
func (*Dashboard) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Dashboard.
func (*Dashboard) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Dashboard) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this Dashboard
func (*Dashboard) GetDeletionPolicy ¶
func (mg *Dashboard) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Dashboard.
func (*Dashboard) GetInitParameters ¶ added in v0.8.0
GetInitParameters of this Dashboard
func (*Dashboard) GetManagementPolicies ¶ added in v0.8.0
func (mg *Dashboard) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Dashboard.
func (*Dashboard) GetMergedParameters ¶ added in v0.10.1
GetInitParameters of this Dashboard
func (*Dashboard) GetObservation ¶
GetObservation of this Dashboard
func (*Dashboard) GetParameters ¶
GetParameters of this Dashboard
func (*Dashboard) GetProviderConfigReference ¶
GetProviderConfigReference of this Dashboard.
func (*Dashboard) GetPublishConnectionDetailsTo ¶
func (mg *Dashboard) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Dashboard.
func (*Dashboard) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Dashboard
func (*Dashboard) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Dashboard) GetWriteConnectionSecretToReference ¶
func (mg *Dashboard) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Dashboard.
func (*Dashboard) Hub ¶ added in v0.10.1
func (tr *Dashboard) Hub()
Hub marks this type as a conversion hub.
func (*Dashboard) LateInitialize ¶
LateInitialize this Dashboard using its observed tfState. returns True if there are any spec changes for the resource.
func (*Dashboard) ResolveReferences ¶
ResolveReferences of this Dashboard.
func (*Dashboard) SetConditions ¶
SetConditions of this Dashboard.
func (*Dashboard) SetDeletionPolicy ¶
func (mg *Dashboard) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Dashboard.
func (*Dashboard) SetManagementPolicies ¶ added in v0.8.0
func (mg *Dashboard) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Dashboard.
func (*Dashboard) SetObservation ¶
SetObservation for this Dashboard
func (*Dashboard) SetParameters ¶
SetParameters for this Dashboard
func (*Dashboard) SetProviderConfigReference ¶
SetProviderConfigReference of this Dashboard.
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 DashboardInitParameters ¶ added in v0.8.0
type DashboardInitParameters struct { // (String) The complete dashboard model JSON. // The complete dashboard model JSON. ConfigJSON *string `json:"configJson,omitempty" tf:"config_json,omitempty"` // (String) The id or UID of the folder to save the dashboard in. // The id or UID of the folder to save the dashboard in. // +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 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:"-"` // (String) Set a commit message for the version history. // Set a commit message for the version history. Message *string `json:"message,omitempty" tf:"message,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Organization // +crossplane:generate:reference:refFieldName=OrganizationRef // +crossplane:generate:reference:selectorFieldName=OrganizationSelector OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Reference to a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationRef *v1.Reference `json:"organizationRef,omitempty" tf:"-"` // Selector for a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationSelector *v1.Selector `json:"organizationSelector,omitempty" tf:"-"` // (Boolean) Set to true if you want to overwrite existing dashboard with newer version, same dashboard title in folder or same dashboard uid. // Set to true if you want to overwrite existing dashboard with newer version, same dashboard title in folder or same dashboard uid. Overwrite *bool `json:"overwrite,omitempty" tf:"overwrite,omitempty"` }
func (*DashboardInitParameters) DeepCopy ¶ added in v0.8.0
func (in *DashboardInitParameters) DeepCopy() *DashboardInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardInitParameters.
func (*DashboardInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *DashboardInitParameters) DeepCopyInto(out *DashboardInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 { // (String) The complete dashboard model JSON. // The complete dashboard model JSON. ConfigJSON *string `json:"configJson,omitempty" tf:"config_json,omitempty"` // (Number) The numeric ID of the dashboard computed by Grafana. // The numeric ID of the dashboard computed by Grafana. DashboardID *float64 `json:"dashboardId,omitempty" tf:"dashboard_id,omitempty"` // (String) The id or UID of the folder to save the dashboard in. // The id or UID of the folder to save the dashboard in. Folder *string `json:"folder,omitempty" tf:"folder,omitempty"` // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (String) Set a commit message for the version history. // Set a commit message for the version history. Message *string `json:"message,omitempty" tf:"message,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // (Boolean) Set to true if you want to overwrite existing dashboard with newer version, same dashboard title in folder or same dashboard uid. // Set to true if you want to overwrite existing dashboard with newer version, same dashboard title in folder or same dashboard uid. Overwrite *bool `json:"overwrite,omitempty" tf:"overwrite,omitempty"` // (String) 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. // 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"` // (String) The full URL of the dashboard. // The full URL of the dashboard. URL *string `json:"url,omitempty" tf:"url,omitempty"` // (Number) 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. // 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 ¶
func (in *DashboardObservation) DeepCopy() *DashboardObservation
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 { // (String) The complete dashboard model JSON. // The complete dashboard model JSON. // +kubebuilder:validation:Optional ConfigJSON *string `json:"configJson,omitempty" tf:"config_json,omitempty"` // (String) The id or UID of the folder to save the dashboard in. // The id or UID of the folder to save the dashboard in. // +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 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:"-"` // (String) Set a commit message for the version history. // Set a commit message for the version history. // +kubebuilder:validation:Optional Message *string `json:"message,omitempty" tf:"message,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Organization // +crossplane:generate:reference:refFieldName=OrganizationRef // +crossplane:generate:reference:selectorFieldName=OrganizationSelector // +kubebuilder:validation:Optional OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Reference to a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationRef *v1.Reference `json:"organizationRef,omitempty" tf:"-"` // Selector for a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationSelector *v1.Selector `json:"organizationSelector,omitempty" tf:"-"` // (Boolean) Set to true if you want to overwrite existing dashboard with newer version, same dashboard title in folder or same dashboard uid. // 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. Manages the entire set of permissions for a dashboard. Permissions that aren't specified when applying this resource will be removed. +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: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) GetInitParameters ¶ added in v0.8.0
func (tr *DashboardPermission) GetInitParameters() (map[string]any, error)
GetInitParameters of this DashboardPermission
func (*DashboardPermission) GetManagementPolicies ¶ added in v0.8.0
func (mg *DashboardPermission) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this DashboardPermission.
func (*DashboardPermission) GetMergedParameters ¶ added in v0.10.1
func (tr *DashboardPermission) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters 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) 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) Hub ¶ added in v0.10.1
func (tr *DashboardPermission) Hub()
Hub marks this type as a conversion hub.
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 ¶
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) SetManagementPolicies ¶ added in v0.8.0
func (mg *DashboardPermission) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies 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) 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 DashboardPermissionInitParameters ¶ added in v0.8.0
type DashboardPermissionInitParameters struct { // Reference to a Dashboard in oss to populate dashboardUid. // +kubebuilder:validation:Optional DashboardRef *v1.Reference `json:"dashboardRef,omitempty" tf:"-"` // Selector for a Dashboard in oss to populate dashboardUid. // +kubebuilder:validation:Optional DashboardSelector *v1.Selector `json:"dashboardSelector,omitempty" tf:"-"` // (String) UID of the dashboard to apply permissions to. // UID 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.UIDExtractor() // +crossplane:generate:reference:refFieldName=DashboardRef // +crossplane:generate:reference:selectorFieldName=DashboardSelector DashboardUID *string `json:"dashboardUid,omitempty" tf:"dashboard_uid,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Organization // +crossplane:generate:reference:refFieldName=OrganizationRef // +crossplane:generate:reference:selectorFieldName=OrganizationSelector OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Reference to a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationRef *v1.Reference `json:"organizationRef,omitempty" tf:"-"` // Selector for a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationSelector *v1.Selector `json:"organizationSelector,omitempty" tf:"-"` // (Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema) // The permission items to add/update. Items that are omitted from the list will be removed. Permissions []PermissionsInitParameters `json:"permissions,omitempty" tf:"permissions,omitempty"` }
func (*DashboardPermissionInitParameters) DeepCopy ¶ added in v0.8.0
func (in *DashboardPermissionInitParameters) DeepCopy() *DashboardPermissionInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardPermissionInitParameters.
func (*DashboardPermissionInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *DashboardPermissionInitParameters) DeepCopyInto(out *DashboardPermissionInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 ¶
func (in *DashboardPermissionList) DeepCopy() *DashboardPermissionList
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 { // (String) UID of the dashboard to apply permissions to. // UID of the dashboard to apply permissions to. DashboardUID *string `json:"dashboardUid,omitempty" tf:"dashboard_uid,omitempty"` // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // (Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema) // The permission items to add/update. Items that are omitted from the list will be removed. Permissions []PermissionsObservation `json:"permissions,omitempty" tf:"permissions,omitempty"` }
func (*DashboardPermissionObservation) DeepCopy ¶
func (in *DashboardPermissionObservation) DeepCopy() *DashboardPermissionObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardPermissionObservation.
func (*DashboardPermissionObservation) DeepCopyInto ¶
func (in *DashboardPermissionObservation) DeepCopyInto(out *DashboardPermissionObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DashboardPermissionParameters ¶
type DashboardPermissionParameters struct { // Reference to a Dashboard in oss to populate dashboardUid. // +kubebuilder:validation:Optional DashboardRef *v1.Reference `json:"dashboardRef,omitempty" tf:"-"` // Selector for a Dashboard in oss to populate dashboardUid. // +kubebuilder:validation:Optional DashboardSelector *v1.Selector `json:"dashboardSelector,omitempty" tf:"-"` // (String) UID of the dashboard to apply permissions to. // UID 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.UIDExtractor() // +crossplane:generate:reference:refFieldName=DashboardRef // +crossplane:generate:reference:selectorFieldName=DashboardSelector // +kubebuilder:validation:Optional DashboardUID *string `json:"dashboardUid,omitempty" tf:"dashboard_uid,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Organization // +crossplane:generate:reference:refFieldName=OrganizationRef // +crossplane:generate:reference:selectorFieldName=OrganizationSelector // +kubebuilder:validation:Optional OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Reference to a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationRef *v1.Reference `json:"organizationRef,omitempty" tf:"-"` // Selector for a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationSelector *v1.Selector `json:"organizationSelector,omitempty" tf:"-"` // (Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema) // The permission items to add/update. Items that are omitted from the list will be removed. // +kubebuilder:validation:Optional Permissions []PermissionsParameters `json:"permissions,omitempty" tf:"permissions,omitempty"` }
func (*DashboardPermissionParameters) DeepCopy ¶
func (in *DashboardPermissionParameters) DeepCopy() *DashboardPermissionParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardPermissionParameters.
func (*DashboardPermissionParameters) DeepCopyInto ¶
func (in *DashboardPermissionParameters) DeepCopyInto(out *DashboardPermissionParameters)
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"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider DashboardPermissionInitParameters `json:"initProvider,omitempty"` }
DashboardPermissionSpec defines the desired state of DashboardPermission
func (*DashboardPermissionSpec) DeepCopy ¶
func (in *DashboardPermissionSpec) DeepCopy() *DashboardPermissionSpec
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 ¶
func (in *DashboardPermissionStatus) DeepCopy() *DashboardPermissionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardPermissionStatus.
func (*DashboardPermissionStatus) DeepCopyInto ¶
func (in *DashboardPermissionStatus) DeepCopyInto(out *DashboardPermissionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DashboardPublic ¶ added in v0.11.0
type DashboardPublic struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DashboardPublicSpec `json:"spec"` Status DashboardPublicStatus `json:"status,omitempty"` }
DashboardPublic is the Schema for the DashboardPublics API. Manages Grafana public dashboards. Note: This resource is available only with Grafana 10.2+. Official documentation https://grafana.com/docs/grafana/latest/dashboards/dashboard-public/HTTP API https://grafana.com/docs/grafana/next/developers/http_api/dashboard_public/ +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:resource:scope=Cluster,categories={crossplane,managed,grafana}
func (*DashboardPublic) DeepCopy ¶ added in v0.11.0
func (in *DashboardPublic) DeepCopy() *DashboardPublic
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardPublic.
func (*DashboardPublic) DeepCopyInto ¶ added in v0.11.0
func (in *DashboardPublic) DeepCopyInto(out *DashboardPublic)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DashboardPublic) DeepCopyObject ¶ added in v0.11.0
func (in *DashboardPublic) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DashboardPublic) GetCondition ¶ added in v0.11.0
func (mg *DashboardPublic) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this DashboardPublic.
func (*DashboardPublic) GetConnectionDetailsMapping ¶ added in v0.11.0
func (tr *DashboardPublic) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this DashboardPublic
func (*DashboardPublic) GetDeletionPolicy ¶ added in v0.11.0
func (mg *DashboardPublic) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this DashboardPublic.
func (*DashboardPublic) GetID ¶ added in v0.11.0
func (tr *DashboardPublic) GetID() string
GetID returns ID of underlying Terraform resource of this DashboardPublic
func (*DashboardPublic) GetInitParameters ¶ added in v0.11.0
func (tr *DashboardPublic) GetInitParameters() (map[string]any, error)
GetInitParameters of this DashboardPublic
func (*DashboardPublic) GetManagementPolicies ¶ added in v0.11.0
func (mg *DashboardPublic) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this DashboardPublic.
func (*DashboardPublic) GetMergedParameters ¶ added in v0.11.0
func (tr *DashboardPublic) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this DashboardPublic
func (*DashboardPublic) GetObservation ¶ added in v0.11.0
func (tr *DashboardPublic) GetObservation() (map[string]any, error)
GetObservation of this DashboardPublic
func (*DashboardPublic) GetParameters ¶ added in v0.11.0
func (tr *DashboardPublic) GetParameters() (map[string]any, error)
GetParameters of this DashboardPublic
func (*DashboardPublic) GetProviderConfigReference ¶ added in v0.11.0
func (mg *DashboardPublic) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this DashboardPublic.
func (*DashboardPublic) GetPublishConnectionDetailsTo ¶ added in v0.11.0
func (mg *DashboardPublic) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this DashboardPublic.
func (*DashboardPublic) GetTerraformResourceType ¶ added in v0.11.0
func (mg *DashboardPublic) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this DashboardPublic
func (*DashboardPublic) GetTerraformSchemaVersion ¶ added in v0.11.0
func (tr *DashboardPublic) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*DashboardPublic) GetWriteConnectionSecretToReference ¶ added in v0.11.0
func (mg *DashboardPublic) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this DashboardPublic.
func (*DashboardPublic) Hub ¶ added in v0.11.0
func (tr *DashboardPublic) Hub()
Hub marks this type as a conversion hub.
func (*DashboardPublic) LateInitialize ¶ added in v0.11.0
func (tr *DashboardPublic) LateInitialize(attrs []byte) (bool, error)
LateInitialize this DashboardPublic using its observed tfState. returns True if there are any spec changes for the resource.
func (*DashboardPublic) ResolveReferences ¶ added in v0.11.0
ResolveReferences of this DashboardPublic.
func (*DashboardPublic) SetConditions ¶ added in v0.11.0
func (mg *DashboardPublic) SetConditions(c ...xpv1.Condition)
SetConditions of this DashboardPublic.
func (*DashboardPublic) SetDeletionPolicy ¶ added in v0.11.0
func (mg *DashboardPublic) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this DashboardPublic.
func (*DashboardPublic) SetManagementPolicies ¶ added in v0.11.0
func (mg *DashboardPublic) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this DashboardPublic.
func (*DashboardPublic) SetObservation ¶ added in v0.11.0
func (tr *DashboardPublic) SetObservation(obs map[string]any) error
SetObservation for this DashboardPublic
func (*DashboardPublic) SetParameters ¶ added in v0.11.0
func (tr *DashboardPublic) SetParameters(params map[string]any) error
SetParameters for this DashboardPublic
func (*DashboardPublic) SetProviderConfigReference ¶ added in v0.11.0
func (mg *DashboardPublic) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this DashboardPublic.
func (*DashboardPublic) SetPublishConnectionDetailsTo ¶ added in v0.11.0
func (mg *DashboardPublic) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this DashboardPublic.
func (*DashboardPublic) SetWriteConnectionSecretToReference ¶ added in v0.11.0
func (mg *DashboardPublic) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this DashboardPublic.
type DashboardPublicInitParameters ¶ added in v0.11.0
type DashboardPublicInitParameters struct { // (String) A public unique identifier of a public dashboard. This is used to construct its URL. It's automatically generated if not provided when creating a public dashboard. // A public unique identifier of a public dashboard. This is used to construct its URL. It's automatically generated if not provided when creating a public dashboard. AccessToken *string `json:"accessToken,omitempty" tf:"access_token,omitempty"` // (Boolean) Set to true to show annotations. The default value is false. // Set to `true` to show annotations. The default value is `false`. AnnotationsEnabled *bool `json:"annotationsEnabled,omitempty" tf:"annotations_enabled,omitempty"` // Reference to a Dashboard in oss to populate dashboardUid. // +kubebuilder:validation:Optional DashboardRef *v1.Reference `json:"dashboardRef,omitempty" tf:"-"` // Selector for a Dashboard in oss to populate dashboardUid. // +kubebuilder:validation:Optional DashboardSelector *v1.Selector `json:"dashboardSelector,omitempty" tf:"-"` // (String) The unique identifier of the original dashboard. // The unique identifier of the original dashboard. // +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.UIDExtractor() // +crossplane:generate:reference:refFieldName=DashboardRef // +crossplane:generate:reference:selectorFieldName=DashboardSelector DashboardUID *string `json:"dashboardUid,omitempty" tf:"dashboard_uid,omitempty"` // (Boolean) Set to true to enable the public dashboard. The default value is false. // Set to `true` to enable the public dashboard. The default value is `false`. IsEnabled *bool `json:"isEnabled,omitempty" tf:"is_enabled,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Organization // +crossplane:generate:reference:refFieldName=OrganizationRef // +crossplane:generate:reference:selectorFieldName=OrganizationSelector OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Reference to a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationRef *v1.Reference `json:"organizationRef,omitempty" tf:"-"` // Selector for a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationSelector *v1.Selector `json:"organizationSelector,omitempty" tf:"-"` // Set the share mode. The default value is `public`. Share *string `json:"share,omitempty" tf:"share,omitempty"` // (Boolean) Set to true to enable the time picker in the public dashboard. The default value is false. // Set to `true` to enable the time picker in the public dashboard. The default value is `false`. TimeSelectionEnabled *bool `json:"timeSelectionEnabled,omitempty" tf:"time_selection_enabled,omitempty"` // (String) The unique identifier of a public dashboard. It's automatically generated if not provided when creating a public dashboard. // The unique identifier of a public dashboard. It's automatically generated if not provided when creating a public dashboard. UID *string `json:"uid,omitempty" tf:"uid,omitempty"` }
func (*DashboardPublicInitParameters) DeepCopy ¶ added in v0.11.0
func (in *DashboardPublicInitParameters) DeepCopy() *DashboardPublicInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardPublicInitParameters.
func (*DashboardPublicInitParameters) DeepCopyInto ¶ added in v0.11.0
func (in *DashboardPublicInitParameters) DeepCopyInto(out *DashboardPublicInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DashboardPublicList ¶ added in v0.11.0
type DashboardPublicList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DashboardPublic `json:"items"` }
DashboardPublicList contains a list of DashboardPublics
func (*DashboardPublicList) DeepCopy ¶ added in v0.11.0
func (in *DashboardPublicList) DeepCopy() *DashboardPublicList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardPublicList.
func (*DashboardPublicList) DeepCopyInto ¶ added in v0.11.0
func (in *DashboardPublicList) DeepCopyInto(out *DashboardPublicList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DashboardPublicList) DeepCopyObject ¶ added in v0.11.0
func (in *DashboardPublicList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DashboardPublicList) GetItems ¶ added in v0.11.0
func (l *DashboardPublicList) GetItems() []resource.Managed
GetItems of this DashboardPublicList.
type DashboardPublicObservation ¶ added in v0.11.0
type DashboardPublicObservation struct { // (String) A public unique identifier of a public dashboard. This is used to construct its URL. It's automatically generated if not provided when creating a public dashboard. // A public unique identifier of a public dashboard. This is used to construct its URL. It's automatically generated if not provided when creating a public dashboard. AccessToken *string `json:"accessToken,omitempty" tf:"access_token,omitempty"` // (Boolean) Set to true to show annotations. The default value is false. // Set to `true` to show annotations. The default value is `false`. AnnotationsEnabled *bool `json:"annotationsEnabled,omitempty" tf:"annotations_enabled,omitempty"` // (String) The unique identifier of the original dashboard. // The unique identifier of the original dashboard. DashboardUID *string `json:"dashboardUid,omitempty" tf:"dashboard_uid,omitempty"` // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (Boolean) Set to true to enable the public dashboard. The default value is false. // Set to `true` to enable the public dashboard. The default value is `false`. IsEnabled *bool `json:"isEnabled,omitempty" tf:"is_enabled,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Set the share mode. The default value is `public`. Share *string `json:"share,omitempty" tf:"share,omitempty"` // (Boolean) Set to true to enable the time picker in the public dashboard. The default value is false. // Set to `true` to enable the time picker in the public dashboard. The default value is `false`. TimeSelectionEnabled *bool `json:"timeSelectionEnabled,omitempty" tf:"time_selection_enabled,omitempty"` // (String) The unique identifier of a public dashboard. It's automatically generated if not provided when creating a public dashboard. // The unique identifier of a public dashboard. It's automatically generated if not provided when creating a public dashboard. UID *string `json:"uid,omitempty" tf:"uid,omitempty"` }
func (*DashboardPublicObservation) DeepCopy ¶ added in v0.11.0
func (in *DashboardPublicObservation) DeepCopy() *DashboardPublicObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardPublicObservation.
func (*DashboardPublicObservation) DeepCopyInto ¶ added in v0.11.0
func (in *DashboardPublicObservation) DeepCopyInto(out *DashboardPublicObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DashboardPublicParameters ¶ added in v0.11.0
type DashboardPublicParameters struct { // (String) A public unique identifier of a public dashboard. This is used to construct its URL. It's automatically generated if not provided when creating a public dashboard. // A public unique identifier of a public dashboard. This is used to construct its URL. It's automatically generated if not provided when creating a public dashboard. // +kubebuilder:validation:Optional AccessToken *string `json:"accessToken,omitempty" tf:"access_token,omitempty"` // (Boolean) Set to true to show annotations. The default value is false. // Set to `true` to show annotations. The default value is `false`. // +kubebuilder:validation:Optional AnnotationsEnabled *bool `json:"annotationsEnabled,omitempty" tf:"annotations_enabled,omitempty"` // Reference to a Dashboard in oss to populate dashboardUid. // +kubebuilder:validation:Optional DashboardRef *v1.Reference `json:"dashboardRef,omitempty" tf:"-"` // Selector for a Dashboard in oss to populate dashboardUid. // +kubebuilder:validation:Optional DashboardSelector *v1.Selector `json:"dashboardSelector,omitempty" tf:"-"` // (String) The unique identifier of the original dashboard. // The unique identifier of the original dashboard. // +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.UIDExtractor() // +crossplane:generate:reference:refFieldName=DashboardRef // +crossplane:generate:reference:selectorFieldName=DashboardSelector // +kubebuilder:validation:Optional DashboardUID *string `json:"dashboardUid,omitempty" tf:"dashboard_uid,omitempty"` // (Boolean) Set to true to enable the public dashboard. The default value is false. // Set to `true` to enable the public dashboard. The default value is `false`. // +kubebuilder:validation:Optional IsEnabled *bool `json:"isEnabled,omitempty" tf:"is_enabled,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Organization // +crossplane:generate:reference:refFieldName=OrganizationRef // +crossplane:generate:reference:selectorFieldName=OrganizationSelector // +kubebuilder:validation:Optional OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Reference to a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationRef *v1.Reference `json:"organizationRef,omitempty" tf:"-"` // Selector for a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationSelector *v1.Selector `json:"organizationSelector,omitempty" tf:"-"` // Set the share mode. The default value is `public`. // +kubebuilder:validation:Optional Share *string `json:"share,omitempty" tf:"share,omitempty"` // (Boolean) Set to true to enable the time picker in the public dashboard. The default value is false. // Set to `true` to enable the time picker in the public dashboard. The default value is `false`. // +kubebuilder:validation:Optional TimeSelectionEnabled *bool `json:"timeSelectionEnabled,omitempty" tf:"time_selection_enabled,omitempty"` // (String) The unique identifier of a public dashboard. It's automatically generated if not provided when creating a public dashboard. // The unique identifier of a public dashboard. It's automatically generated if not provided when creating a public dashboard. // +kubebuilder:validation:Optional UID *string `json:"uid,omitempty" tf:"uid,omitempty"` }
func (*DashboardPublicParameters) DeepCopy ¶ added in v0.11.0
func (in *DashboardPublicParameters) DeepCopy() *DashboardPublicParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardPublicParameters.
func (*DashboardPublicParameters) DeepCopyInto ¶ added in v0.11.0
func (in *DashboardPublicParameters) DeepCopyInto(out *DashboardPublicParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DashboardPublicSpec ¶ added in v0.11.0
type DashboardPublicSpec struct { v1.ResourceSpec `json:",inline"` ForProvider DashboardPublicParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider DashboardPublicInitParameters `json:"initProvider,omitempty"` }
DashboardPublicSpec defines the desired state of DashboardPublic
func (*DashboardPublicSpec) DeepCopy ¶ added in v0.11.0
func (in *DashboardPublicSpec) DeepCopy() *DashboardPublicSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardPublicSpec.
func (*DashboardPublicSpec) DeepCopyInto ¶ added in v0.11.0
func (in *DashboardPublicSpec) DeepCopyInto(out *DashboardPublicSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DashboardPublicStatus ¶ added in v0.11.0
type DashboardPublicStatus struct { v1.ResourceStatus `json:",inline"` AtProvider DashboardPublicObservation `json:"atProvider,omitempty"` }
DashboardPublicStatus defines the observed state of DashboardPublic.
func (*DashboardPublicStatus) DeepCopy ¶ added in v0.11.0
func (in *DashboardPublicStatus) DeepCopy() *DashboardPublicStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardPublicStatus.
func (*DashboardPublicStatus) DeepCopyInto ¶ added in v0.11.0
func (in *DashboardPublicStatus) DeepCopyInto(out *DashboardPublicStatus)
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"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider DashboardInitParameters `json:"initProvider,omitempty"` }
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"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter" Spec DataSourceSpec `json:"spec"` Status DataSourceStatus `json:"status,omitempty"` }
DataSource is the Schema for the DataSources API. Official documentation https://grafana.com/docs/grafana/latest/datasources/HTTP API https://grafana.com/docs/grafana/latest/developers/http_api/data_source/ The required arguments for this resource vary depending on the type of data source selected (via the 'type' argument). +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: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) GetInitParameters ¶ added in v0.8.0
func (tr *DataSource) GetInitParameters() (map[string]any, error)
GetInitParameters of this DataSource
func (*DataSource) GetManagementPolicies ¶ added in v0.8.0
func (mg *DataSource) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this DataSource.
func (*DataSource) GetMergedParameters ¶ added in v0.10.1
func (tr *DataSource) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters 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) 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) Hub ¶ added in v0.10.1
func (tr *DataSource) Hub()
Hub marks this type as a conversion hub.
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) ResolveReferences ¶ added in v0.7.0
ResolveReferences of this DataSource.
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) SetManagementPolicies ¶ added in v0.8.0
func (mg *DataSource) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies 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) 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 DataSourceInitParameters ¶ added in v0.8.0
type DataSourceInitParameters struct { // (String) The method by which Grafana will access the data source: proxy or direct. Defaults to proxy. // The method by which Grafana will access the data source: `proxy` or `direct`. Defaults to `proxy`. AccessMode *string `json:"accessMode,omitempty" tf:"access_mode,omitempty"` // (Boolean) Whether to enable basic auth for the data source. Defaults to false. // Whether to enable basic auth for the data source. Defaults to `false`. BasicAuthEnabled *bool `json:"basicAuthEnabled,omitempty" tf:"basic_auth_enabled,omitempty"` // (String) Basic auth username. Defaults to “. // Basic auth username. Defaults to “. BasicAuthUsername *string `json:"basicAuthUsername,omitempty" tf:"basic_auth_username,omitempty"` // (String) The name of the database to use on the selected data source server. Defaults to “. // (Required by some data source types) The name of the database to use on the selected data source server. Defaults to “. DatabaseName *string `json:"databaseName,omitempty" tf:"database_name,omitempty"` // (Boolean) Whether to set the data source as default. This should only be true to a single data source. Defaults to false. // Whether to set the data source as default. This should only be `true` to a single data source. Defaults to `false`. IsDefault *bool `json:"isDefault,omitempty" tf:"is_default,omitempty"` // (String) Serialized JSON string containing the json data. 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. Note that keys in this map are usually camelCased. // Serialized JSON string containing the json data. 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. Note that keys in this map are usually camelCased. JSONDataEncoded *string `json:"jsonDataEncoded,omitempty" tf:"json_data_encoded,omitempty"` // (String) A unique name for the data source. // A unique name for the data source. Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Organization // +crossplane:generate:reference:refFieldName=OrganizationRef // +crossplane:generate:reference:selectorFieldName=OrganizationSelector OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Reference to a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationRef *v1.Reference `json:"organizationRef,omitempty" tf:"-"` // Selector for a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationSelector *v1.Selector `json:"organizationSelector,omitempty" tf:"-"` // (String) The data source type. Must be one of the supported data source keywords. // The data source type. Must be one of the supported data source keywords. Type *string `json:"type,omitempty" tf:"type,omitempty"` // (String) Unique identifier. If unset, this will be automatically generated. // Unique identifier. If unset, this will be automatically generated. UID *string `json:"uid,omitempty" tf:"uid,omitempty"` // (String) The URL for the data source. The type of URL required varies depending on the chosen data source type. // The URL for the data source. The type of URL required varies depending on the chosen data source type. URL *string `json:"url,omitempty" tf:"url,omitempty"` // (String) The username to use to authenticate to the data source. Defaults to “. // (Required by some data source types) The username to use to authenticate to the data source. Defaults to “. Username *string `json:"username,omitempty" tf:"username,omitempty"` }
func (*DataSourceInitParameters) DeepCopy ¶ added in v0.8.0
func (in *DataSourceInitParameters) DeepCopy() *DataSourceInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataSourceInitParameters.
func (*DataSourceInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *DataSourceInitParameters) DeepCopyInto(out *DataSourceInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 { // (String) The method by which Grafana will access the data source: proxy or direct. Defaults to proxy. // The method by which Grafana will access the data source: `proxy` or `direct`. Defaults to `proxy`. AccessMode *string `json:"accessMode,omitempty" tf:"access_mode,omitempty"` // (Boolean) Whether to enable basic auth for the data source. Defaults to false. // Whether to enable basic auth for the data source. Defaults to `false`. BasicAuthEnabled *bool `json:"basicAuthEnabled,omitempty" tf:"basic_auth_enabled,omitempty"` // (String) Basic auth username. Defaults to “. // Basic auth username. Defaults to “. BasicAuthUsername *string `json:"basicAuthUsername,omitempty" tf:"basic_auth_username,omitempty"` // (String) The name of the database to use on the selected data source server. Defaults to “. // (Required by some data source types) The name of the database to use on the selected data source server. Defaults to “. DatabaseName *string `json:"databaseName,omitempty" tf:"database_name,omitempty"` // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (Boolean) Whether to set the data source as default. This should only be true to a single data source. Defaults to false. // Whether to set the data source as default. This should only be `true` to a single data source. Defaults to `false`. IsDefault *bool `json:"isDefault,omitempty" tf:"is_default,omitempty"` // (String) Serialized JSON string containing the json data. 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. Note that keys in this map are usually camelCased. // Serialized JSON string containing the json data. 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. Note that keys in this map are usually camelCased. JSONDataEncoded *string `json:"jsonDataEncoded,omitempty" tf:"json_data_encoded,omitempty"` // (String) A unique name for the data source. // A unique name for the data source. Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // (String) The data source type. Must be one of the supported data source keywords. // The data source type. Must be one of the supported data source keywords. Type *string `json:"type,omitempty" tf:"type,omitempty"` // (String) Unique identifier. If unset, this will be automatically generated. // Unique identifier. If unset, this will be automatically generated. UID *string `json:"uid,omitempty" tf:"uid,omitempty"` // (String) The URL for the data source. The type of URL required varies depending on the chosen data source type. // The URL for the data source. The type of URL required varies depending on the chosen data source type. URL *string `json:"url,omitempty" tf:"url,omitempty"` // (String) The username to use to authenticate to the data source. Defaults to “. // (Required by some data source types) The username to use to authenticate to the data source. Defaults to “. Username *string `json:"username,omitempty" tf:"username,omitempty"` }
func (*DataSourceObservation) DeepCopy ¶
func (in *DataSourceObservation) DeepCopy() *DataSourceObservation
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 { // (String) The method by which Grafana will access the data source: proxy or direct. Defaults to proxy. // 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"` // (Boolean) Whether to enable basic auth for the data source. Defaults to false. // 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"` // (String) Basic auth username. Defaults to “. // Basic auth username. Defaults to “. // +kubebuilder:validation:Optional BasicAuthUsername *string `json:"basicAuthUsername,omitempty" tf:"basic_auth_username,omitempty"` // (String) The name of the database to use on the selected data source server. Defaults to “. // (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"` // (Map of String, Sensitive) Custom HTTP headers // Custom HTTP headers // +kubebuilder:validation:Optional HTTPHeadersSecretRef *v1.SecretReference `json:"httpHeadersSecretRef,omitempty" tf:"-"` // (Boolean) Whether to set the data source as default. This should only be true to a single data source. Defaults to false. // 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"` // (String) Serialized JSON string containing the json data. 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. Note that keys in this map are usually camelCased. // Serialized JSON string containing the json data. 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. Note that keys in this map are usually camelCased. // +kubebuilder:validation:Optional JSONDataEncoded *string `json:"jsonDataEncoded,omitempty" tf:"json_data_encoded,omitempty"` // (String) A unique name for the data source. // A unique name for the data source. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Organization // +crossplane:generate:reference:refFieldName=OrganizationRef // +crossplane:generate:reference:selectorFieldName=OrganizationSelector // +kubebuilder:validation:Optional OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Reference to a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationRef *v1.Reference `json:"organizationRef,omitempty" tf:"-"` // Selector for a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationSelector *v1.Selector `json:"organizationSelector,omitempty" tf:"-"` // (String, Sensitive) Serialized JSON string containing the secure json data. 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. Note that keys in this map are usually camelCased. // Serialized JSON string containing the secure json data. 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. Note that keys in this map are usually camelCased. // +kubebuilder:validation:Optional SecureJSONDataEncodedSecretRef *v1.SecretKeySelector `json:"secureJsonDataEncodedSecretRef,omitempty" tf:"-"` // (String) The data source type. Must be one of the supported data source keywords. // The data source type. Must be one of the supported data source keywords. // +kubebuilder:validation:Optional Type *string `json:"type,omitempty" tf:"type,omitempty"` // (String) Unique identifier. If unset, this will be automatically generated. // Unique identifier. If unset, this will be automatically generated. // +kubebuilder:validation:Optional UID *string `json:"uid,omitempty" tf:"uid,omitempty"` // (String) The URL for the data source. The type of URL required varies depending on the chosen data source type. // 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"` // (String) The username to use to authenticate to the data source. Defaults to “. // (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 ¶
func (in *DataSourceParameters) DeepCopy() *DataSourceParameters
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"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider DataSourceInitParameters `json:"initProvider,omitempty"` }
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"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.title) || (has(self.initProvider) && has(self.initProvider.title))",message="spec.forProvider.title is a required parameter" Spec FolderSpec `json:"spec"` Status FolderStatus `json:"status,omitempty"` }
Folder is the Schema for the Folders API. Official documentation https://grafana.com/docs/grafana/latest/dashboards/manage-dashboards/HTTP API https://grafana.com/docs/grafana/latest/developers/http_api/folder/ +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:resource:scope=Cluster,categories={crossplane,managed,grafana}
func (*Folder) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Folder.
func (*Folder) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Folder) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this Folder
func (*Folder) GetDeletionPolicy ¶
func (mg *Folder) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Folder.
func (*Folder) GetInitParameters ¶ added in v0.8.0
GetInitParameters of this Folder
func (*Folder) GetManagementPolicies ¶ added in v0.8.0
func (mg *Folder) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Folder.
func (*Folder) GetMergedParameters ¶ added in v0.10.1
GetInitParameters of this Folder
func (*Folder) GetObservation ¶
GetObservation of this Folder
func (*Folder) GetParameters ¶
GetParameters of this Folder
func (*Folder) GetProviderConfigReference ¶
GetProviderConfigReference of this Folder.
func (*Folder) GetPublishConnectionDetailsTo ¶
func (mg *Folder) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Folder.
func (*Folder) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Folder
func (*Folder) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Folder) GetWriteConnectionSecretToReference ¶
func (mg *Folder) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Folder.
func (*Folder) Hub ¶ added in v0.10.1
func (tr *Folder) Hub()
Hub marks this type as a conversion hub.
func (*Folder) LateInitialize ¶
LateInitialize this Folder using its observed tfState. returns True if there are any spec changes for the resource.
func (*Folder) ResolveReferences ¶ added in v0.7.0
ResolveReferences of this Folder.
func (*Folder) SetConditions ¶
SetConditions of this Folder.
func (*Folder) SetDeletionPolicy ¶
func (mg *Folder) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Folder.
func (*Folder) SetManagementPolicies ¶ added in v0.8.0
func (mg *Folder) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Folder.
func (*Folder) SetObservation ¶
SetObservation for this Folder
func (*Folder) SetParameters ¶
SetParameters for this Folder
func (*Folder) SetProviderConfigReference ¶
SetProviderConfigReference of this Folder.
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 FolderInitParameters ¶ added in v0.8.0
type FolderInitParameters struct { // Reference to a Folder in oss to populate parentFolderUid. // +kubebuilder:validation:Optional FolderRef *v1.Reference `json:"folderRef,omitempty" tf:"-"` // Selector for a Folder in oss to populate parentFolderUid. // +kubebuilder:validation:Optional FolderSelector *v1.Selector `json:"folderSelector,omitempty" tf:"-"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Organization // +crossplane:generate:reference:refFieldName=OrganizationRef // +crossplane:generate:reference:selectorFieldName=OrganizationSelector OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Reference to a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationRef *v1.Reference `json:"organizationRef,omitempty" tf:"-"` // Selector for a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationSelector *v1.Selector `json:"organizationSelector,omitempty" tf:"-"` // (String) The uid of the parent folder. If set, the folder will be nested. If not set, the folder will be created in the root folder. Note: This requires the nestedFolders feature flag to be enabled on your Grafana instance. // The uid of the parent folder. If set, the folder will be nested. If not set, the folder will be created in the root folder. Note: This requires the nestedFolders feature flag to be enabled on your Grafana instance. // +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 ParentFolderUID *string `json:"parentFolderUid,omitempty" tf:"parent_folder_uid,omitempty"` // (Boolean) Prevent deletion of the folder if it is not empty (contains dashboards or alert rules). Defaults to false. // Prevent deletion of the folder if it is not empty (contains dashboards or alert rules). Defaults to `false`. PreventDestroyIfNotEmpty *bool `json:"preventDestroyIfNotEmpty,omitempty" tf:"prevent_destroy_if_not_empty,omitempty"` // (String) The title of the folder. // The title of the folder. Title *string `json:"title,omitempty" tf:"title,omitempty"` // (String) Unique identifier. // Unique identifier. UID *string `json:"uid,omitempty" tf:"uid,omitempty"` }
func (*FolderInitParameters) DeepCopy ¶ added in v0.8.0
func (in *FolderInitParameters) DeepCopy() *FolderInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FolderInitParameters.
func (*FolderInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *FolderInitParameters) DeepCopyInto(out *FolderInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 { // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // (String) The uid of the parent folder. If set, the folder will be nested. If not set, the folder will be created in the root folder. Note: This requires the nestedFolders feature flag to be enabled on your Grafana instance. // The uid of the parent folder. If set, the folder will be nested. If not set, the folder will be created in the root folder. Note: This requires the nestedFolders feature flag to be enabled on your Grafana instance. ParentFolderUID *string `json:"parentFolderUid,omitempty" tf:"parent_folder_uid,omitempty"` // (Boolean) Prevent deletion of the folder if it is not empty (contains dashboards or alert rules). Defaults to false. // Prevent deletion of the folder if it is not empty (contains dashboards or alert rules). Defaults to `false`. PreventDestroyIfNotEmpty *bool `json:"preventDestroyIfNotEmpty,omitempty" tf:"prevent_destroy_if_not_empty,omitempty"` // (String) The title of the folder. // The title of the folder. Title *string `json:"title,omitempty" tf:"title,omitempty"` // (String) Unique identifier. // Unique identifier. UID *string `json:"uid,omitempty" tf:"uid,omitempty"` // (String) The full URL of the folder. // 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 { // Reference to a Folder in oss to populate parentFolderUid. // +kubebuilder:validation:Optional FolderRef *v1.Reference `json:"folderRef,omitempty" tf:"-"` // Selector for a Folder in oss to populate parentFolderUid. // +kubebuilder:validation:Optional FolderSelector *v1.Selector `json:"folderSelector,omitempty" tf:"-"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Organization // +crossplane:generate:reference:refFieldName=OrganizationRef // +crossplane:generate:reference:selectorFieldName=OrganizationSelector // +kubebuilder:validation:Optional OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Reference to a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationRef *v1.Reference `json:"organizationRef,omitempty" tf:"-"` // Selector for a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationSelector *v1.Selector `json:"organizationSelector,omitempty" tf:"-"` // (String) The uid of the parent folder. If set, the folder will be nested. If not set, the folder will be created in the root folder. Note: This requires the nestedFolders feature flag to be enabled on your Grafana instance. // The uid of the parent folder. If set, the folder will be nested. If not set, the folder will be created in the root folder. Note: This requires the nestedFolders feature flag to be enabled on your Grafana instance. // +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 ParentFolderUID *string `json:"parentFolderUid,omitempty" tf:"parent_folder_uid,omitempty"` // (Boolean) Prevent deletion of the folder if it is not empty (contains dashboards or alert rules). Defaults to false. // Prevent deletion of the folder if it is not empty (contains dashboards or alert rules). Defaults to `false`. // +kubebuilder:validation:Optional PreventDestroyIfNotEmpty *bool `json:"preventDestroyIfNotEmpty,omitempty" tf:"prevent_destroy_if_not_empty,omitempty"` // (String) The title of the folder. // The title of the folder. // +kubebuilder:validation:Optional Title *string `json:"title,omitempty" tf:"title,omitempty"` // (String) Unique identifier. // 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. Manages the entire set of permissions for a folder. Permissions that aren't specified when applying this resource will be removed. +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: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) GetInitParameters ¶ added in v0.8.0
func (tr *FolderPermission) GetInitParameters() (map[string]any, error)
GetInitParameters of this FolderPermission
func (*FolderPermission) GetManagementPolicies ¶ added in v0.8.0
func (mg *FolderPermission) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this FolderPermission.
func (*FolderPermission) GetMergedParameters ¶ added in v0.10.1
func (tr *FolderPermission) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters 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) 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) Hub ¶ added in v0.10.1
func (tr *FolderPermission) Hub()
Hub marks this type as a conversion hub.
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 ¶
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) SetManagementPolicies ¶ added in v0.8.0
func (mg *FolderPermission) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies 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) 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 FolderPermissionInitParameters ¶ added in v0.8.0
type FolderPermissionInitParameters 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:"-"` // (String) The UID of the folder. // 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 FolderUID *string `json:"folderUid,omitempty" tf:"folder_uid,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Organization // +crossplane:generate:reference:refFieldName=OrganizationRef // +crossplane:generate:reference:selectorFieldName=OrganizationSelector OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Reference to a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationRef *v1.Reference `json:"organizationRef,omitempty" tf:"-"` // Selector for a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationSelector *v1.Selector `json:"organizationSelector,omitempty" tf:"-"` // (Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema) // The permission items to add/update. Items that are omitted from the list will be removed. Permissions []FolderPermissionPermissionsInitParameters `json:"permissions,omitempty" tf:"permissions,omitempty"` }
func (*FolderPermissionInitParameters) DeepCopy ¶ added in v0.8.0
func (in *FolderPermissionInitParameters) DeepCopy() *FolderPermissionInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FolderPermissionInitParameters.
func (*FolderPermissionInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *FolderPermissionInitParameters) DeepCopyInto(out *FolderPermissionInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 ¶
func (in *FolderPermissionList) DeepCopy() *FolderPermissionList
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 { // (String) The UID of the folder. // The UID of the folder. FolderUID *string `json:"folderUid,omitempty" tf:"folder_uid,omitempty"` // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // (Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema) // The permission items to add/update. Items that are omitted from the list will be removed. Permissions []FolderPermissionPermissionsObservation `json:"permissions,omitempty" tf:"permissions,omitempty"` }
func (*FolderPermissionObservation) DeepCopy ¶
func (in *FolderPermissionObservation) DeepCopy() *FolderPermissionObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FolderPermissionObservation.
func (*FolderPermissionObservation) DeepCopyInto ¶
func (in *FolderPermissionObservation) DeepCopyInto(out *FolderPermissionObservation)
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:"-"` // (String) The UID of the folder. // 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"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Organization // +crossplane:generate:reference:refFieldName=OrganizationRef // +crossplane:generate:reference:selectorFieldName=OrganizationSelector // +kubebuilder:validation:Optional OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Reference to a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationRef *v1.Reference `json:"organizationRef,omitempty" tf:"-"` // Selector for a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationSelector *v1.Selector `json:"organizationSelector,omitempty" tf:"-"` // (Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema) // The permission items to add/update. Items that are omitted from the list will be removed. // +kubebuilder:validation:Optional Permissions []FolderPermissionPermissionsParameters `json:"permissions,omitempty" tf:"permissions,omitempty"` }
func (*FolderPermissionParameters) DeepCopy ¶
func (in *FolderPermissionParameters) DeepCopy() *FolderPermissionParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FolderPermissionParameters.
func (*FolderPermissionParameters) DeepCopyInto ¶
func (in *FolderPermissionParameters) DeepCopyInto(out *FolderPermissionParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FolderPermissionPermissionsInitParameters ¶ added in v0.8.0
type FolderPermissionPermissionsInitParameters struct { // (String) Permission to associate with item. Must be one of View, Edit, or Admin. // Permission to associate with item. Must be one of `View`, `Edit`, or `Admin`. Permission *string `json:"permission,omitempty" tf:"permission,omitempty"` // (String) Manage permissions for Viewer or Editor roles. // Manage permissions for `Viewer` or `Editor` roles. Role *string `json:"role,omitempty" tf:"role,omitempty"` // (String) ID of the team to manage permissions for. Defaults to 0. // ID of the team to manage permissions for. Defaults to `0`. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Team // +crossplane:generate:reference:refFieldName=TeamRef // +crossplane:generate:reference:selectorFieldName=TeamSelector TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"` // Reference to a Team in oss to populate teamId. // +kubebuilder:validation:Optional TeamRef *v1.Reference `json:"teamRef,omitempty" tf:"-"` // Selector for a Team in oss to populate teamId. // +kubebuilder:validation:Optional TeamSelector *v1.Selector `json:"teamSelector,omitempty" tf:"-"` // (String) ID of the user or service account to manage permissions for. Defaults to 0. // ID of the user or service account to manage permissions for. Defaults to `0`. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.User // +crossplane:generate:reference:refFieldName=UserRef // +crossplane:generate:reference:selectorFieldName=UserSelector UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"` // Reference to a User in oss to populate userId. // +kubebuilder:validation:Optional UserRef *v1.Reference `json:"userRef,omitempty" tf:"-"` // Selector for a User in oss to populate userId. // +kubebuilder:validation:Optional UserSelector *v1.Selector `json:"userSelector,omitempty" tf:"-"` }
func (*FolderPermissionPermissionsInitParameters) DeepCopy ¶ added in v0.8.0
func (in *FolderPermissionPermissionsInitParameters) DeepCopy() *FolderPermissionPermissionsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FolderPermissionPermissionsInitParameters.
func (*FolderPermissionPermissionsInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *FolderPermissionPermissionsInitParameters) DeepCopyInto(out *FolderPermissionPermissionsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FolderPermissionPermissionsObservation ¶
type FolderPermissionPermissionsObservation struct { // (String) Permission to associate with item. Must be one of View, Edit, or Admin. // Permission to associate with item. Must be one of `View`, `Edit`, or `Admin`. Permission *string `json:"permission,omitempty" tf:"permission,omitempty"` // (String) Manage permissions for Viewer or Editor roles. // Manage permissions for `Viewer` or `Editor` roles. Role *string `json:"role,omitempty" tf:"role,omitempty"` // (String) ID of the team to manage permissions for. Defaults to 0. // ID of the team to manage permissions for. Defaults to `0`. TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"` // (String) ID of the user or service account to manage permissions for. Defaults to 0. // ID of the user or service account to manage permissions for. Defaults to `0`. UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"` }
func (*FolderPermissionPermissionsObservation) DeepCopy ¶
func (in *FolderPermissionPermissionsObservation) DeepCopy() *FolderPermissionPermissionsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FolderPermissionPermissionsObservation.
func (*FolderPermissionPermissionsObservation) DeepCopyInto ¶
func (in *FolderPermissionPermissionsObservation) DeepCopyInto(out *FolderPermissionPermissionsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FolderPermissionPermissionsParameters ¶
type FolderPermissionPermissionsParameters struct { // (String) Permission to associate with item. Must be one of View, Edit, or Admin. // Permission to associate with item. Must be one of `View`, `Edit`, or `Admin`. // +kubebuilder:validation:Optional Permission *string `json:"permission" tf:"permission,omitempty"` // (String) Manage permissions for Viewer or Editor roles. // Manage permissions for `Viewer` or `Editor` roles. // +kubebuilder:validation:Optional Role *string `json:"role,omitempty" tf:"role,omitempty"` // (String) ID of the team to manage permissions for. Defaults to 0. // ID of the team to manage permissions for. Defaults to `0`. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Team // +crossplane:generate:reference:refFieldName=TeamRef // +crossplane:generate:reference:selectorFieldName=TeamSelector // +kubebuilder:validation:Optional TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"` // Reference to a Team in oss to populate teamId. // +kubebuilder:validation:Optional TeamRef *v1.Reference `json:"teamRef,omitempty" tf:"-"` // Selector for a Team in oss to populate teamId. // +kubebuilder:validation:Optional TeamSelector *v1.Selector `json:"teamSelector,omitempty" tf:"-"` // (String) ID of the user or service account to manage permissions for. Defaults to 0. // ID of the user or service account to manage permissions for. Defaults to `0`. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.User // +crossplane:generate:reference:refFieldName=UserRef // +crossplane:generate:reference:selectorFieldName=UserSelector // +kubebuilder:validation:Optional UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"` // Reference to a User in oss to populate userId. // +kubebuilder:validation:Optional UserRef *v1.Reference `json:"userRef,omitempty" tf:"-"` // Selector for a User in oss to populate userId. // +kubebuilder:validation:Optional UserSelector *v1.Selector `json:"userSelector,omitempty" tf:"-"` }
func (*FolderPermissionPermissionsParameters) DeepCopy ¶
func (in *FolderPermissionPermissionsParameters) DeepCopy() *FolderPermissionPermissionsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FolderPermissionPermissionsParameters.
func (*FolderPermissionPermissionsParameters) DeepCopyInto ¶
func (in *FolderPermissionPermissionsParameters) DeepCopyInto(out *FolderPermissionPermissionsParameters)
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"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider FolderPermissionInitParameters `json:"initProvider,omitempty"` }
FolderPermissionSpec defines the desired state of FolderPermission
func (*FolderPermissionSpec) DeepCopy ¶
func (in *FolderPermissionSpec) DeepCopy() *FolderPermissionSpec
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 ¶
func (in *FolderPermissionStatus) DeepCopy() *FolderPermissionStatus
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"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider FolderInitParameters `json:"initProvider,omitempty"` }
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 ItemInitParameters ¶ added in v0.11.0
type ItemInitParameters struct { // (Number) Order *float64 `json:"order,omitempty" tf:"order,omitempty"` // (String) Title *string `json:"title,omitempty" tf:"title,omitempty"` // (String) Type *string `json:"type,omitempty" tf:"type,omitempty"` // (String) Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*ItemInitParameters) DeepCopy ¶ added in v0.11.0
func (in *ItemInitParameters) DeepCopy() *ItemInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItemInitParameters.
func (*ItemInitParameters) DeepCopyInto ¶ added in v0.11.0
func (in *ItemInitParameters) DeepCopyInto(out *ItemInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ItemObservation ¶ added in v0.11.0
type ItemObservation struct { // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (Number) Order *float64 `json:"order,omitempty" tf:"order,omitempty"` // (String) Title *string `json:"title,omitempty" tf:"title,omitempty"` // (String) Type *string `json:"type,omitempty" tf:"type,omitempty"` // (String) Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*ItemObservation) DeepCopy ¶ added in v0.11.0
func (in *ItemObservation) DeepCopy() *ItemObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItemObservation.
func (*ItemObservation) DeepCopyInto ¶ added in v0.11.0
func (in *ItemObservation) DeepCopyInto(out *ItemObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ItemParameters ¶ added in v0.11.0
type ItemParameters struct { // (Number) // +kubebuilder:validation:Optional Order *float64 `json:"order" tf:"order,omitempty"` // (String) // +kubebuilder:validation:Optional Title *string `json:"title" tf:"title,omitempty"` // (String) // +kubebuilder:validation:Optional Type *string `json:"type,omitempty" tf:"type,omitempty"` // (String) // +kubebuilder:validation:Optional Value *string `json:"value,omitempty" tf:"value,omitempty"` }
func (*ItemParameters) DeepCopy ¶ added in v0.11.0
func (in *ItemParameters) DeepCopy() *ItemParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItemParameters.
func (*ItemParameters) DeepCopyInto ¶ added in v0.11.0
func (in *ItemParameters) DeepCopyInto(out *ItemParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LibraryPanel ¶ added in v0.11.0
type LibraryPanel struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.modelJson) || (has(self.initProvider) && has(self.initProvider.modelJson))",message="spec.forProvider.modelJson is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec LibraryPanelSpec `json:"spec"` Status LibraryPanelStatus `json:"status,omitempty"` }
LibraryPanel is the Schema for the LibraryPanels API. Manages Grafana library panels. Official documentation https://grafana.com/docs/grafana/latest/dashboards/build-dashboards/manage-library-panels/HTTP API https://grafana.com/docs/grafana/latest/developers/http_api/library_element/ +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:resource:scope=Cluster,categories={crossplane,managed,grafana}
func (*LibraryPanel) DeepCopy ¶ added in v0.11.0
func (in *LibraryPanel) DeepCopy() *LibraryPanel
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LibraryPanel.
func (*LibraryPanel) DeepCopyInto ¶ added in v0.11.0
func (in *LibraryPanel) DeepCopyInto(out *LibraryPanel)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LibraryPanel) DeepCopyObject ¶ added in v0.11.0
func (in *LibraryPanel) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*LibraryPanel) GetCondition ¶ added in v0.11.0
func (mg *LibraryPanel) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this LibraryPanel.
func (*LibraryPanel) GetConnectionDetailsMapping ¶ added in v0.11.0
func (tr *LibraryPanel) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this LibraryPanel
func (*LibraryPanel) GetDeletionPolicy ¶ added in v0.11.0
func (mg *LibraryPanel) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this LibraryPanel.
func (*LibraryPanel) GetID ¶ added in v0.11.0
func (tr *LibraryPanel) GetID() string
GetID returns ID of underlying Terraform resource of this LibraryPanel
func (*LibraryPanel) GetInitParameters ¶ added in v0.11.0
func (tr *LibraryPanel) GetInitParameters() (map[string]any, error)
GetInitParameters of this LibraryPanel
func (*LibraryPanel) GetManagementPolicies ¶ added in v0.11.0
func (mg *LibraryPanel) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this LibraryPanel.
func (*LibraryPanel) GetMergedParameters ¶ added in v0.11.0
func (tr *LibraryPanel) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this LibraryPanel
func (*LibraryPanel) GetObservation ¶ added in v0.11.0
func (tr *LibraryPanel) GetObservation() (map[string]any, error)
GetObservation of this LibraryPanel
func (*LibraryPanel) GetParameters ¶ added in v0.11.0
func (tr *LibraryPanel) GetParameters() (map[string]any, error)
GetParameters of this LibraryPanel
func (*LibraryPanel) GetProviderConfigReference ¶ added in v0.11.0
func (mg *LibraryPanel) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this LibraryPanel.
func (*LibraryPanel) GetPublishConnectionDetailsTo ¶ added in v0.11.0
func (mg *LibraryPanel) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this LibraryPanel.
func (*LibraryPanel) GetTerraformResourceType ¶ added in v0.11.0
func (mg *LibraryPanel) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this LibraryPanel
func (*LibraryPanel) GetTerraformSchemaVersion ¶ added in v0.11.0
func (tr *LibraryPanel) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*LibraryPanel) GetWriteConnectionSecretToReference ¶ added in v0.11.0
func (mg *LibraryPanel) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this LibraryPanel.
func (*LibraryPanel) Hub ¶ added in v0.11.0
func (tr *LibraryPanel) Hub()
Hub marks this type as a conversion hub.
func (*LibraryPanel) LateInitialize ¶ added in v0.11.0
func (tr *LibraryPanel) LateInitialize(attrs []byte) (bool, error)
LateInitialize this LibraryPanel using its observed tfState. returns True if there are any spec changes for the resource.
func (*LibraryPanel) ResolveReferences ¶ added in v0.11.0
ResolveReferences of this LibraryPanel.
func (*LibraryPanel) SetConditions ¶ added in v0.11.0
func (mg *LibraryPanel) SetConditions(c ...xpv1.Condition)
SetConditions of this LibraryPanel.
func (*LibraryPanel) SetDeletionPolicy ¶ added in v0.11.0
func (mg *LibraryPanel) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this LibraryPanel.
func (*LibraryPanel) SetManagementPolicies ¶ added in v0.11.0
func (mg *LibraryPanel) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this LibraryPanel.
func (*LibraryPanel) SetObservation ¶ added in v0.11.0
func (tr *LibraryPanel) SetObservation(obs map[string]any) error
SetObservation for this LibraryPanel
func (*LibraryPanel) SetParameters ¶ added in v0.11.0
func (tr *LibraryPanel) SetParameters(params map[string]any) error
SetParameters for this LibraryPanel
func (*LibraryPanel) SetProviderConfigReference ¶ added in v0.11.0
func (mg *LibraryPanel) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this LibraryPanel.
func (*LibraryPanel) SetPublishConnectionDetailsTo ¶ added in v0.11.0
func (mg *LibraryPanel) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this LibraryPanel.
func (*LibraryPanel) SetWriteConnectionSecretToReference ¶ added in v0.11.0
func (mg *LibraryPanel) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this LibraryPanel.
type LibraryPanelInitParameters ¶ added in v0.11.0
type LibraryPanelInitParameters struct { // (String) ID of the folder where the library panel is stored. // ID of the folder where the library panel is stored. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Folder // +crossplane:generate:reference:refFieldName=FolderRef // +crossplane:generate:reference:selectorFieldName=FolderSelector FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"` // Reference to a Folder in oss to populate folderId. // +kubebuilder:validation:Optional FolderRef *v1.Reference `json:"folderRef,omitempty" tf:"-"` // Selector for a Folder in oss to populate folderId. // +kubebuilder:validation:Optional FolderSelector *v1.Selector `json:"folderSelector,omitempty" tf:"-"` // (String) The JSON model for the library panel. // The JSON model for the library panel. ModelJSON *string `json:"modelJson,omitempty" tf:"model_json,omitempty"` // (String) Name of the library panel. // Name of the library panel. Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Organization // +crossplane:generate:reference:refFieldName=OrganizationRef // +crossplane:generate:reference:selectorFieldName=OrganizationSelector OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Reference to a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationRef *v1.Reference `json:"organizationRef,omitempty" tf:"-"` // Selector for a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationSelector *v1.Selector `json:"organizationSelector,omitempty" tf:"-"` // (String) The unique identifier (UID) of a library panel uniquely identifies library panels between multiple Grafana installs. It’s automatically generated unless you specify it during library panel creation.The UID provides consistent URLs for accessing library panels and when syncing library panels between multiple Grafana installs. // The unique identifier (UID) of a library panel uniquely identifies library panels between multiple Grafana installs. It’s automatically generated unless you specify it during library panel creation.The UID provides consistent URLs for accessing library panels and when syncing library panels between multiple Grafana installs. UID *string `json:"uid,omitempty" tf:"uid,omitempty"` }
func (*LibraryPanelInitParameters) DeepCopy ¶ added in v0.11.0
func (in *LibraryPanelInitParameters) DeepCopy() *LibraryPanelInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LibraryPanelInitParameters.
func (*LibraryPanelInitParameters) DeepCopyInto ¶ added in v0.11.0
func (in *LibraryPanelInitParameters) DeepCopyInto(out *LibraryPanelInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LibraryPanelList ¶ added in v0.11.0
type LibraryPanelList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []LibraryPanel `json:"items"` }
LibraryPanelList contains a list of LibraryPanels
func (*LibraryPanelList) DeepCopy ¶ added in v0.11.0
func (in *LibraryPanelList) DeepCopy() *LibraryPanelList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LibraryPanelList.
func (*LibraryPanelList) DeepCopyInto ¶ added in v0.11.0
func (in *LibraryPanelList) DeepCopyInto(out *LibraryPanelList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LibraryPanelList) DeepCopyObject ¶ added in v0.11.0
func (in *LibraryPanelList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*LibraryPanelList) GetItems ¶ added in v0.11.0
func (l *LibraryPanelList) GetItems() []resource.Managed
GetItems of this LibraryPanelList.
type LibraryPanelObservation ¶ added in v0.11.0
type LibraryPanelObservation struct { // (String) Timestamp when the library panel was created. // Timestamp when the library panel was created. Created *string `json:"created,omitempty" tf:"created,omitempty"` // (List of Number) Numerical IDs of Grafana dashboards containing the library panel. // Numerical IDs of Grafana dashboards containing the library panel. DashboardIds []*float64 `json:"dashboardIds,omitempty" tf:"dashboard_ids,omitempty"` // (String) Description of the library panel. // Description of the library panel. Description *string `json:"description,omitempty" tf:"description,omitempty"` // (String) ID of the folder where the library panel is stored. // ID of the folder where the library panel is stored. FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"` // (String) Name of the folder containing the library panel. // Name of the folder containing the library panel. FolderName *string `json:"folderName,omitempty" tf:"folder_name,omitempty"` // (String) Unique ID (UID) of the folder containing the library panel. // Unique ID (UID) of the folder containing the library panel. FolderUID *string `json:"folderUid,omitempty" tf:"folder_uid,omitempty"` // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (String) The JSON model for the library panel. // The JSON model for the library panel. ModelJSON *string `json:"modelJson,omitempty" tf:"model_json,omitempty"` // (String) Name of the library panel. // Name of the library panel. Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // (Number) The numeric ID of the library panel computed by Grafana. // The numeric ID of the library panel computed by Grafana. PanelID *float64 `json:"panelId,omitempty" tf:"panel_id,omitempty"` // (String) Type of the library panel (eg. text). // Type of the library panel (eg. text). Type *string `json:"type,omitempty" tf:"type,omitempty"` // (String) The unique identifier (UID) of a library panel uniquely identifies library panels between multiple Grafana installs. It’s automatically generated unless you specify it during library panel creation.The UID provides consistent URLs for accessing library panels and when syncing library panels between multiple Grafana installs. // The unique identifier (UID) of a library panel uniquely identifies library panels between multiple Grafana installs. It’s automatically generated unless you specify it during library panel creation.The UID provides consistent URLs for accessing library panels and when syncing library panels between multiple Grafana installs. UID *string `json:"uid,omitempty" tf:"uid,omitempty"` // (String) Timestamp when the library panel was last modified. // Timestamp when the library panel was last modified. Updated *string `json:"updated,omitempty" tf:"updated,omitempty"` // (Number) Version of the library panel. // Version of the library panel. Version *float64 `json:"version,omitempty" tf:"version,omitempty"` }
func (*LibraryPanelObservation) DeepCopy ¶ added in v0.11.0
func (in *LibraryPanelObservation) DeepCopy() *LibraryPanelObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LibraryPanelObservation.
func (*LibraryPanelObservation) DeepCopyInto ¶ added in v0.11.0
func (in *LibraryPanelObservation) DeepCopyInto(out *LibraryPanelObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LibraryPanelParameters ¶ added in v0.11.0
type LibraryPanelParameters struct { // (String) ID of the folder where the library panel is stored. // ID of the folder where the library panel is stored. // +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 FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"` // Reference to a Folder in oss to populate folderId. // +kubebuilder:validation:Optional FolderRef *v1.Reference `json:"folderRef,omitempty" tf:"-"` // Selector for a Folder in oss to populate folderId. // +kubebuilder:validation:Optional FolderSelector *v1.Selector `json:"folderSelector,omitempty" tf:"-"` // (String) The JSON model for the library panel. // The JSON model for the library panel. // +kubebuilder:validation:Optional ModelJSON *string `json:"modelJson,omitempty" tf:"model_json,omitempty"` // (String) Name of the library panel. // Name of the library panel. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Organization // +crossplane:generate:reference:refFieldName=OrganizationRef // +crossplane:generate:reference:selectorFieldName=OrganizationSelector // +kubebuilder:validation:Optional OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Reference to a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationRef *v1.Reference `json:"organizationRef,omitempty" tf:"-"` // Selector for a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationSelector *v1.Selector `json:"organizationSelector,omitempty" tf:"-"` // (String) The unique identifier (UID) of a library panel uniquely identifies library panels between multiple Grafana installs. It’s automatically generated unless you specify it during library panel creation.The UID provides consistent URLs for accessing library panels and when syncing library panels between multiple Grafana installs. // The unique identifier (UID) of a library panel uniquely identifies library panels between multiple Grafana installs. It’s automatically generated unless you specify it during library panel creation.The UID provides consistent URLs for accessing library panels and when syncing library panels between multiple Grafana installs. // +kubebuilder:validation:Optional UID *string `json:"uid,omitempty" tf:"uid,omitempty"` }
func (*LibraryPanelParameters) DeepCopy ¶ added in v0.11.0
func (in *LibraryPanelParameters) DeepCopy() *LibraryPanelParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LibraryPanelParameters.
func (*LibraryPanelParameters) DeepCopyInto ¶ added in v0.11.0
func (in *LibraryPanelParameters) DeepCopyInto(out *LibraryPanelParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LibraryPanelSpec ¶ added in v0.11.0
type LibraryPanelSpec struct { v1.ResourceSpec `json:",inline"` ForProvider LibraryPanelParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider LibraryPanelInitParameters `json:"initProvider,omitempty"` }
LibraryPanelSpec defines the desired state of LibraryPanel
func (*LibraryPanelSpec) DeepCopy ¶ added in v0.11.0
func (in *LibraryPanelSpec) DeepCopy() *LibraryPanelSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LibraryPanelSpec.
func (*LibraryPanelSpec) DeepCopyInto ¶ added in v0.11.0
func (in *LibraryPanelSpec) DeepCopyInto(out *LibraryPanelSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LibraryPanelStatus ¶ added in v0.11.0
type LibraryPanelStatus struct { v1.ResourceStatus `json:",inline"` AtProvider LibraryPanelObservation `json:"atProvider,omitempty"` }
LibraryPanelStatus defines the observed state of LibraryPanel.
func (*LibraryPanelStatus) DeepCopy ¶ added in v0.11.0
func (in *LibraryPanelStatus) DeepCopy() *LibraryPanelStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LibraryPanelStatus.
func (*LibraryPanelStatus) DeepCopyInto ¶ added in v0.11.0
func (in *LibraryPanelStatus) DeepCopyInto(out *LibraryPanelStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Oauth2SettingsInitParameters ¶ added in v0.11.0
type Oauth2SettingsInitParameters struct { // (String) The user information endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers. // The user information endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers. APIURL *string `json:"apiUrl,omitempty" tf:"api_url,omitempty"` // (Boolean) If enabled, it will automatically sync the Grafana server administrator role. // If enabled, it will automatically sync the Grafana server administrator role. AllowAssignGrafanaAdmin *bool `json:"allowAssignGrafanaAdmin,omitempty" tf:"allow_assign_grafana_admin,omitempty"` // (Boolean) If not enabled, only existing Grafana users can log in using OAuth. // If not enabled, only existing Grafana users can log in using OAuth. AllowSignUp *bool `json:"allowSignUp,omitempty" tf:"allow_sign_up,omitempty"` // or space-separated domains. The user should belong to at least one domain to log in. // List of comma- or space-separated domains. The user should belong to at least one domain to log in. AllowedDomains *string `json:"allowedDomains,omitempty" tf:"allowed_domains,omitempty"` // or space-separated groups. The user should be a member of at least one group to log in. For Generic OAuth, if you configure allowed_groups, you must also configure groups_attribute_path. // List of comma- or space-separated groups. The user should be a member of at least one group to log in. For Generic OAuth, if you configure allowed_groups, you must also configure groups_attribute_path. AllowedGroups *string `json:"allowedGroups,omitempty" tf:"allowed_groups,omitempty"` // or space-separated organizations. The user should be a member of at least one organization to log in. // List of comma- or space-separated organizations. The user should be a member of at least one organization to log in. AllowedOrganizations *string `json:"allowedOrganizations,omitempty" tf:"allowed_organizations,omitempty"` // (String) It determines how client_id and client_secret are sent to Oauth2 provider. Possible values are AutoDetect, InParams, InHeader. Default is AutoDetect. // It determines how client_id and client_secret are sent to Oauth2 provider. Possible values are AutoDetect, InParams, InHeader. Default is AutoDetect. AuthStyle *string `json:"authStyle,omitempty" tf:"auth_style,omitempty"` // (String) The authorization endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers. // The authorization endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers. AuthURL *string `json:"authUrl,omitempty" tf:"auth_url,omitempty"` // (Boolean) Log in automatically, skipping the login screen. // Log in automatically, skipping the login screen. AutoLogin *bool `json:"autoLogin,omitempty" tf:"auto_login,omitempty"` // (String) The client Id of your OAuth2 app. // The client Id of your OAuth2 app. ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"` // (Map of String) Custom fields to configure for OAuth2 such as the force_use_graph_api field. // Custom fields to configure for OAuth2 such as the [force_use_graph_api](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-authentication/azuread/#force-fetching-groups-from-microsoft-graph-api) field. // +mapType=granular Custom map[string]*string `json:"custom,omitempty" tf:"custom,omitempty"` // (Boolean) Define allowed groups. // Define allowed groups. DefineAllowedGroups *bool `json:"defineAllowedGroups,omitempty" tf:"define_allowed_groups,omitempty"` // (Boolean) Define allowed teams ids. // Define allowed teams ids. DefineAllowedTeamsIds *bool `json:"defineAllowedTeamsIds,omitempty" tf:"define_allowed_teams_ids,omitempty"` // (String) Name of the key to use for user email lookup within the attributes map of OAuth2 ID token. Only applicable to Generic OAuth. // Name of the key to use for user email lookup within the attributes map of OAuth2 ID token. Only applicable to Generic OAuth. EmailAttributeName *string `json:"emailAttributeName,omitempty" tf:"email_attribute_name,omitempty"` // (String) JMESPath expression to use for user email lookup from the user information. Only applicable to Generic OAuth. // JMESPath expression to use for user email lookup from the user information. Only applicable to Generic OAuth. EmailAttributePath *string `json:"emailAttributePath,omitempty" tf:"email_attribute_path,omitempty"` // (Boolean) If enabled, no scopes will be sent to the OAuth2 provider. // If enabled, no scopes will be sent to the OAuth2 provider. EmptyScopes *bool `json:"emptyScopes,omitempty" tf:"empty_scopes,omitempty"` // (Boolean) Define whether this configuration is enabled for the specified provider. Defaults to true. // Define whether this configuration is enabled for the specified provider. Defaults to `true`. Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // (String) JMESPath expression to use for user group lookup. If you configure allowed_groups, you must also configure groups_attribute_path. // JMESPath expression to use for user group lookup. If you configure allowed_groups, you must also configure groups_attribute_path. GroupsAttributePath *string `json:"groupsAttributePath,omitempty" tf:"groups_attribute_path,omitempty"` // (String) The name of the key used to extract the ID token from the returned OAuth2 token. Only applicable to Generic OAuth. // The name of the key used to extract the ID token from the returned OAuth2 token. Only applicable to Generic OAuth. IDTokenAttributeName *string `json:"idTokenAttributeName,omitempty" tf:"id_token_attribute_name,omitempty"` // (String) JMESPath expression to use for user login lookup from the user ID token. Only applicable to Generic OAuth. // JMESPath expression to use for user login lookup from the user ID token. Only applicable to Generic OAuth. LoginAttributePath *string `json:"loginAttributePath,omitempty" tf:"login_attribute_path,omitempty"` // (String) Helpful if you use more than one identity providers or SSO protocols. // Helpful if you use more than one identity providers or SSO protocols. Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String) JMESPath expression to use for user name lookup from the user ID token. This name will be used as the user’s display name. Only applicable to Generic OAuth. // JMESPath expression to use for user name lookup from the user ID token. This name will be used as the user’s display name. Only applicable to Generic OAuth. NameAttributePath *string `json:"nameAttributePath,omitempty" tf:"name_attribute_path,omitempty"` // (String) JMESPath expression to use for Grafana role lookup. // JMESPath expression to use for Grafana role lookup. RoleAttributePath *string `json:"roleAttributePath,omitempty" tf:"role_attribute_path,omitempty"` // (Boolean) If enabled, denies user login if the Grafana role cannot be extracted using Role attribute path. // If enabled, denies user login if the Grafana role cannot be extracted using Role attribute path. RoleAttributeStrict *bool `json:"roleAttributeStrict,omitempty" tf:"role_attribute_strict,omitempty"` // or space-separated OAuth2 scopes. // List of comma- or space-separated OAuth2 scopes. Scopes *string `json:"scopes,omitempty" tf:"scopes,omitempty"` // (String) The URL to redirect the user to after signing out from Grafana. // The URL to redirect the user to after signing out from Grafana. SignoutRedirectURL *string `json:"signoutRedirectUrl,omitempty" tf:"signout_redirect_url,omitempty"` // (Boolean) Prevent synchronizing users’ organization roles from your IdP. // Prevent synchronizing users’ organization roles from your IdP. SkipOrgRoleSync *bool `json:"skipOrgRoleSync,omitempty" tf:"skip_org_role_sync,omitempty"` // (String) The path to the trusted certificate authority list. Is not applicable on Grafana Cloud. // The path to the trusted certificate authority list. Is not applicable on Grafana Cloud. TLSClientCA *string `json:"tlsClientCa,omitempty" tf:"tls_client_ca,omitempty"` // (String) The path to the certificate. Is not applicable on Grafana Cloud. // The path to the certificate. Is not applicable on Grafana Cloud. TLSClientCert *string `json:"tlsClientCert,omitempty" tf:"tls_client_cert,omitempty"` // (String) The path to the key. Is not applicable on Grafana Cloud. // The path to the key. Is not applicable on Grafana Cloud. TLSClientKey *string `json:"tlsClientKey,omitempty" tf:"tls_client_key,omitempty"` // in-the-middle attacks. // If enabled, the client accepts any certificate presented by the server and any host name in that certificate. You should only use this for testing, because this mode leaves SSL/TLS susceptible to man-in-the-middle attacks. TLSSkipVerifyInsecure *bool `json:"tlsSkipVerifyInsecure,omitempty" tf:"tls_skip_verify_insecure,omitempty"` // (String) String list of Team Ids. If set, the user must be a member of one of the given teams to log in. If you configure team_ids, you must also configure teams_url and team_ids_attribute_path. // String list of Team Ids. If set, the user must be a member of one of the given teams to log in. If you configure team_ids, you must also configure teams_url and team_ids_attribute_path. TeamIds *string `json:"teamIds,omitempty" tf:"team_ids,omitempty"` // (String) The JMESPath expression to use for Grafana Team Id lookup within the results returned by the teams_url endpoint. Only applicable to Generic OAuth. // The JMESPath expression to use for Grafana Team Id lookup within the results returned by the teams_url endpoint. Only applicable to Generic OAuth. TeamIdsAttributePath *string `json:"teamIdsAttributePath,omitempty" tf:"team_ids_attribute_path,omitempty"` // (String) The URL used to query for Team Ids. If not set, the default value is /teams. If you configure teams_url, you must also configure team_ids_attribute_path. Only applicable to Generic OAuth. // The URL used to query for Team Ids. If not set, the default value is /teams. If you configure teams_url, you must also configure team_ids_attribute_path. Only applicable to Generic OAuth. TeamsURL *string `json:"teamsUrl,omitempty" tf:"teams_url,omitempty"` // (String) The token endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers. // The token endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers. TokenURL *string `json:"tokenUrl,omitempty" tf:"token_url,omitempty"` // (Boolean) If enabled, Grafana will use Proof Key for Code Exchange (PKCE) with the OAuth2 Authorization Code Grant. // If enabled, Grafana will use Proof Key for Code Exchange (PKCE) with the OAuth2 Authorization Code Grant. UsePkce *bool `json:"usePkce,omitempty" tf:"use_pkce,omitempty"` // (Boolean) If enabled, Grafana will fetch a new access token using the refresh token provided by the OAuth2 provider. // If enabled, Grafana will fetch a new access token using the refresh token provided by the OAuth2 provider. UseRefreshToken *bool `json:"useRefreshToken,omitempty" tf:"use_refresh_token,omitempty"` }
func (*Oauth2SettingsInitParameters) DeepCopy ¶ added in v0.11.0
func (in *Oauth2SettingsInitParameters) DeepCopy() *Oauth2SettingsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2SettingsInitParameters.
func (*Oauth2SettingsInitParameters) DeepCopyInto ¶ added in v0.11.0
func (in *Oauth2SettingsInitParameters) DeepCopyInto(out *Oauth2SettingsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Oauth2SettingsObservation ¶ added in v0.11.0
type Oauth2SettingsObservation struct { // (String) The user information endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers. // The user information endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers. APIURL *string `json:"apiUrl,omitempty" tf:"api_url,omitempty"` // (Boolean) If enabled, it will automatically sync the Grafana server administrator role. // If enabled, it will automatically sync the Grafana server administrator role. AllowAssignGrafanaAdmin *bool `json:"allowAssignGrafanaAdmin,omitempty" tf:"allow_assign_grafana_admin,omitempty"` // (Boolean) If not enabled, only existing Grafana users can log in using OAuth. // If not enabled, only existing Grafana users can log in using OAuth. AllowSignUp *bool `json:"allowSignUp,omitempty" tf:"allow_sign_up,omitempty"` // or space-separated domains. The user should belong to at least one domain to log in. // List of comma- or space-separated domains. The user should belong to at least one domain to log in. AllowedDomains *string `json:"allowedDomains,omitempty" tf:"allowed_domains,omitempty"` // or space-separated groups. The user should be a member of at least one group to log in. For Generic OAuth, if you configure allowed_groups, you must also configure groups_attribute_path. // List of comma- or space-separated groups. The user should be a member of at least one group to log in. For Generic OAuth, if you configure allowed_groups, you must also configure groups_attribute_path. AllowedGroups *string `json:"allowedGroups,omitempty" tf:"allowed_groups,omitempty"` // or space-separated organizations. The user should be a member of at least one organization to log in. // List of comma- or space-separated organizations. The user should be a member of at least one organization to log in. AllowedOrganizations *string `json:"allowedOrganizations,omitempty" tf:"allowed_organizations,omitempty"` // (String) It determines how client_id and client_secret are sent to Oauth2 provider. Possible values are AutoDetect, InParams, InHeader. Default is AutoDetect. // It determines how client_id and client_secret are sent to Oauth2 provider. Possible values are AutoDetect, InParams, InHeader. Default is AutoDetect. AuthStyle *string `json:"authStyle,omitempty" tf:"auth_style,omitempty"` // (String) The authorization endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers. // The authorization endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers. AuthURL *string `json:"authUrl,omitempty" tf:"auth_url,omitempty"` // (Boolean) Log in automatically, skipping the login screen. // Log in automatically, skipping the login screen. AutoLogin *bool `json:"autoLogin,omitempty" tf:"auto_login,omitempty"` // (String) The client Id of your OAuth2 app. // The client Id of your OAuth2 app. ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"` // (Map of String) Custom fields to configure for OAuth2 such as the force_use_graph_api field. // Custom fields to configure for OAuth2 such as the [force_use_graph_api](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-authentication/azuread/#force-fetching-groups-from-microsoft-graph-api) field. // +mapType=granular Custom map[string]*string `json:"custom,omitempty" tf:"custom,omitempty"` // (Boolean) Define allowed groups. // Define allowed groups. DefineAllowedGroups *bool `json:"defineAllowedGroups,omitempty" tf:"define_allowed_groups,omitempty"` // (Boolean) Define allowed teams ids. // Define allowed teams ids. DefineAllowedTeamsIds *bool `json:"defineAllowedTeamsIds,omitempty" tf:"define_allowed_teams_ids,omitempty"` // (String) Name of the key to use for user email lookup within the attributes map of OAuth2 ID token. Only applicable to Generic OAuth. // Name of the key to use for user email lookup within the attributes map of OAuth2 ID token. Only applicable to Generic OAuth. EmailAttributeName *string `json:"emailAttributeName,omitempty" tf:"email_attribute_name,omitempty"` // (String) JMESPath expression to use for user email lookup from the user information. Only applicable to Generic OAuth. // JMESPath expression to use for user email lookup from the user information. Only applicable to Generic OAuth. EmailAttributePath *string `json:"emailAttributePath,omitempty" tf:"email_attribute_path,omitempty"` // (Boolean) If enabled, no scopes will be sent to the OAuth2 provider. // If enabled, no scopes will be sent to the OAuth2 provider. EmptyScopes *bool `json:"emptyScopes,omitempty" tf:"empty_scopes,omitempty"` // (Boolean) Define whether this configuration is enabled for the specified provider. Defaults to true. // Define whether this configuration is enabled for the specified provider. Defaults to `true`. Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // (String) JMESPath expression to use for user group lookup. If you configure allowed_groups, you must also configure groups_attribute_path. // JMESPath expression to use for user group lookup. If you configure allowed_groups, you must also configure groups_attribute_path. GroupsAttributePath *string `json:"groupsAttributePath,omitempty" tf:"groups_attribute_path,omitempty"` // (String) The name of the key used to extract the ID token from the returned OAuth2 token. Only applicable to Generic OAuth. // The name of the key used to extract the ID token from the returned OAuth2 token. Only applicable to Generic OAuth. IDTokenAttributeName *string `json:"idTokenAttributeName,omitempty" tf:"id_token_attribute_name,omitempty"` // (String) JMESPath expression to use for user login lookup from the user ID token. Only applicable to Generic OAuth. // JMESPath expression to use for user login lookup from the user ID token. Only applicable to Generic OAuth. LoginAttributePath *string `json:"loginAttributePath,omitempty" tf:"login_attribute_path,omitempty"` // (String) Helpful if you use more than one identity providers or SSO protocols. // Helpful if you use more than one identity providers or SSO protocols. Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String) JMESPath expression to use for user name lookup from the user ID token. This name will be used as the user’s display name. Only applicable to Generic OAuth. // JMESPath expression to use for user name lookup from the user ID token. This name will be used as the user’s display name. Only applicable to Generic OAuth. NameAttributePath *string `json:"nameAttributePath,omitempty" tf:"name_attribute_path,omitempty"` // (String) JMESPath expression to use for Grafana role lookup. // JMESPath expression to use for Grafana role lookup. RoleAttributePath *string `json:"roleAttributePath,omitempty" tf:"role_attribute_path,omitempty"` // (Boolean) If enabled, denies user login if the Grafana role cannot be extracted using Role attribute path. // If enabled, denies user login if the Grafana role cannot be extracted using Role attribute path. RoleAttributeStrict *bool `json:"roleAttributeStrict,omitempty" tf:"role_attribute_strict,omitempty"` // or space-separated OAuth2 scopes. // List of comma- or space-separated OAuth2 scopes. Scopes *string `json:"scopes,omitempty" tf:"scopes,omitempty"` // (String) The URL to redirect the user to after signing out from Grafana. // The URL to redirect the user to after signing out from Grafana. SignoutRedirectURL *string `json:"signoutRedirectUrl,omitempty" tf:"signout_redirect_url,omitempty"` // (Boolean) Prevent synchronizing users’ organization roles from your IdP. // Prevent synchronizing users’ organization roles from your IdP. SkipOrgRoleSync *bool `json:"skipOrgRoleSync,omitempty" tf:"skip_org_role_sync,omitempty"` // (String) The path to the trusted certificate authority list. Is not applicable on Grafana Cloud. // The path to the trusted certificate authority list. Is not applicable on Grafana Cloud. TLSClientCA *string `json:"tlsClientCa,omitempty" tf:"tls_client_ca,omitempty"` // (String) The path to the certificate. Is not applicable on Grafana Cloud. // The path to the certificate. Is not applicable on Grafana Cloud. TLSClientCert *string `json:"tlsClientCert,omitempty" tf:"tls_client_cert,omitempty"` // (String) The path to the key. Is not applicable on Grafana Cloud. // The path to the key. Is not applicable on Grafana Cloud. TLSClientKey *string `json:"tlsClientKey,omitempty" tf:"tls_client_key,omitempty"` // in-the-middle attacks. // If enabled, the client accepts any certificate presented by the server and any host name in that certificate. You should only use this for testing, because this mode leaves SSL/TLS susceptible to man-in-the-middle attacks. TLSSkipVerifyInsecure *bool `json:"tlsSkipVerifyInsecure,omitempty" tf:"tls_skip_verify_insecure,omitempty"` // (String) String list of Team Ids. If set, the user must be a member of one of the given teams to log in. If you configure team_ids, you must also configure teams_url and team_ids_attribute_path. // String list of Team Ids. If set, the user must be a member of one of the given teams to log in. If you configure team_ids, you must also configure teams_url and team_ids_attribute_path. TeamIds *string `json:"teamIds,omitempty" tf:"team_ids,omitempty"` // (String) The JMESPath expression to use for Grafana Team Id lookup within the results returned by the teams_url endpoint. Only applicable to Generic OAuth. // The JMESPath expression to use for Grafana Team Id lookup within the results returned by the teams_url endpoint. Only applicable to Generic OAuth. TeamIdsAttributePath *string `json:"teamIdsAttributePath,omitempty" tf:"team_ids_attribute_path,omitempty"` // (String) The URL used to query for Team Ids. If not set, the default value is /teams. If you configure teams_url, you must also configure team_ids_attribute_path. Only applicable to Generic OAuth. // The URL used to query for Team Ids. If not set, the default value is /teams. If you configure teams_url, you must also configure team_ids_attribute_path. Only applicable to Generic OAuth. TeamsURL *string `json:"teamsUrl,omitempty" tf:"teams_url,omitempty"` // (String) The token endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers. // The token endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers. TokenURL *string `json:"tokenUrl,omitempty" tf:"token_url,omitempty"` // (Boolean) If enabled, Grafana will use Proof Key for Code Exchange (PKCE) with the OAuth2 Authorization Code Grant. // If enabled, Grafana will use Proof Key for Code Exchange (PKCE) with the OAuth2 Authorization Code Grant. UsePkce *bool `json:"usePkce,omitempty" tf:"use_pkce,omitempty"` // (Boolean) If enabled, Grafana will fetch a new access token using the refresh token provided by the OAuth2 provider. // If enabled, Grafana will fetch a new access token using the refresh token provided by the OAuth2 provider. UseRefreshToken *bool `json:"useRefreshToken,omitempty" tf:"use_refresh_token,omitempty"` }
func (*Oauth2SettingsObservation) DeepCopy ¶ added in v0.11.0
func (in *Oauth2SettingsObservation) DeepCopy() *Oauth2SettingsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2SettingsObservation.
func (*Oauth2SettingsObservation) DeepCopyInto ¶ added in v0.11.0
func (in *Oauth2SettingsObservation) DeepCopyInto(out *Oauth2SettingsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Oauth2SettingsParameters ¶ added in v0.11.0
type Oauth2SettingsParameters struct { // (String) The user information endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers. // The user information endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers. // +kubebuilder:validation:Optional APIURL *string `json:"apiUrl,omitempty" tf:"api_url,omitempty"` // (Boolean) If enabled, it will automatically sync the Grafana server administrator role. // If enabled, it will automatically sync the Grafana server administrator role. // +kubebuilder:validation:Optional AllowAssignGrafanaAdmin *bool `json:"allowAssignGrafanaAdmin,omitempty" tf:"allow_assign_grafana_admin,omitempty"` // (Boolean) If not enabled, only existing Grafana users can log in using OAuth. // If not enabled, only existing Grafana users can log in using OAuth. // +kubebuilder:validation:Optional AllowSignUp *bool `json:"allowSignUp,omitempty" tf:"allow_sign_up,omitempty"` // or space-separated domains. The user should belong to at least one domain to log in. // List of comma- or space-separated domains. The user should belong to at least one domain to log in. // +kubebuilder:validation:Optional AllowedDomains *string `json:"allowedDomains,omitempty" tf:"allowed_domains,omitempty"` // or space-separated groups. The user should be a member of at least one group to log in. For Generic OAuth, if you configure allowed_groups, you must also configure groups_attribute_path. // List of comma- or space-separated groups. The user should be a member of at least one group to log in. For Generic OAuth, if you configure allowed_groups, you must also configure groups_attribute_path. // +kubebuilder:validation:Optional AllowedGroups *string `json:"allowedGroups,omitempty" tf:"allowed_groups,omitempty"` // or space-separated organizations. The user should be a member of at least one organization to log in. // List of comma- or space-separated organizations. The user should be a member of at least one organization to log in. // +kubebuilder:validation:Optional AllowedOrganizations *string `json:"allowedOrganizations,omitempty" tf:"allowed_organizations,omitempty"` // (String) It determines how client_id and client_secret are sent to Oauth2 provider. Possible values are AutoDetect, InParams, InHeader. Default is AutoDetect. // It determines how client_id and client_secret are sent to Oauth2 provider. Possible values are AutoDetect, InParams, InHeader. Default is AutoDetect. // +kubebuilder:validation:Optional AuthStyle *string `json:"authStyle,omitempty" tf:"auth_style,omitempty"` // (String) The authorization endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers. // The authorization endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers. // +kubebuilder:validation:Optional AuthURL *string `json:"authUrl,omitempty" tf:"auth_url,omitempty"` // (Boolean) Log in automatically, skipping the login screen. // Log in automatically, skipping the login screen. // +kubebuilder:validation:Optional AutoLogin *bool `json:"autoLogin,omitempty" tf:"auto_login,omitempty"` // (String) The client Id of your OAuth2 app. // The client Id of your OAuth2 app. // +kubebuilder:validation:Optional ClientID *string `json:"clientId" tf:"client_id,omitempty"` // (String, Sensitive) The client secret of your OAuth2 app. // The client secret of your OAuth2 app. // +kubebuilder:validation:Optional ClientSecretSecretRef *v1.SecretKeySelector `json:"clientSecretSecretRef,omitempty" tf:"-"` // (Map of String) Custom fields to configure for OAuth2 such as the force_use_graph_api field. // Custom fields to configure for OAuth2 such as the [force_use_graph_api](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-authentication/azuread/#force-fetching-groups-from-microsoft-graph-api) field. // +kubebuilder:validation:Optional // +mapType=granular Custom map[string]*string `json:"custom,omitempty" tf:"custom,omitempty"` // (Boolean) Define allowed groups. // Define allowed groups. // +kubebuilder:validation:Optional DefineAllowedGroups *bool `json:"defineAllowedGroups,omitempty" tf:"define_allowed_groups,omitempty"` // (Boolean) Define allowed teams ids. // Define allowed teams ids. // +kubebuilder:validation:Optional DefineAllowedTeamsIds *bool `json:"defineAllowedTeamsIds,omitempty" tf:"define_allowed_teams_ids,omitempty"` // (String) Name of the key to use for user email lookup within the attributes map of OAuth2 ID token. Only applicable to Generic OAuth. // Name of the key to use for user email lookup within the attributes map of OAuth2 ID token. Only applicable to Generic OAuth. // +kubebuilder:validation:Optional EmailAttributeName *string `json:"emailAttributeName,omitempty" tf:"email_attribute_name,omitempty"` // (String) JMESPath expression to use for user email lookup from the user information. Only applicable to Generic OAuth. // JMESPath expression to use for user email lookup from the user information. Only applicable to Generic OAuth. // +kubebuilder:validation:Optional EmailAttributePath *string `json:"emailAttributePath,omitempty" tf:"email_attribute_path,omitempty"` // (Boolean) If enabled, no scopes will be sent to the OAuth2 provider. // If enabled, no scopes will be sent to the OAuth2 provider. // +kubebuilder:validation:Optional EmptyScopes *bool `json:"emptyScopes,omitempty" tf:"empty_scopes,omitempty"` // (Boolean) Define whether this configuration is enabled for the specified provider. Defaults to true. // Define whether this configuration is enabled for the specified provider. Defaults to `true`. // +kubebuilder:validation:Optional Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"` // (String) JMESPath expression to use for user group lookup. If you configure allowed_groups, you must also configure groups_attribute_path. // JMESPath expression to use for user group lookup. If you configure allowed_groups, you must also configure groups_attribute_path. // +kubebuilder:validation:Optional GroupsAttributePath *string `json:"groupsAttributePath,omitempty" tf:"groups_attribute_path,omitempty"` // (String) The name of the key used to extract the ID token from the returned OAuth2 token. Only applicable to Generic OAuth. // The name of the key used to extract the ID token from the returned OAuth2 token. Only applicable to Generic OAuth. // +kubebuilder:validation:Optional IDTokenAttributeName *string `json:"idTokenAttributeName,omitempty" tf:"id_token_attribute_name,omitempty"` // (String) JMESPath expression to use for user login lookup from the user ID token. Only applicable to Generic OAuth. // JMESPath expression to use for user login lookup from the user ID token. Only applicable to Generic OAuth. // +kubebuilder:validation:Optional LoginAttributePath *string `json:"loginAttributePath,omitempty" tf:"login_attribute_path,omitempty"` // (String) Helpful if you use more than one identity providers or SSO protocols. // Helpful if you use more than one identity providers or SSO protocols. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String) JMESPath expression to use for user name lookup from the user ID token. This name will be used as the user’s display name. Only applicable to Generic OAuth. // JMESPath expression to use for user name lookup from the user ID token. This name will be used as the user’s display name. Only applicable to Generic OAuth. // +kubebuilder:validation:Optional NameAttributePath *string `json:"nameAttributePath,omitempty" tf:"name_attribute_path,omitempty"` // (String) JMESPath expression to use for Grafana role lookup. // JMESPath expression to use for Grafana role lookup. // +kubebuilder:validation:Optional RoleAttributePath *string `json:"roleAttributePath,omitempty" tf:"role_attribute_path,omitempty"` // (Boolean) If enabled, denies user login if the Grafana role cannot be extracted using Role attribute path. // If enabled, denies user login if the Grafana role cannot be extracted using Role attribute path. // +kubebuilder:validation:Optional RoleAttributeStrict *bool `json:"roleAttributeStrict,omitempty" tf:"role_attribute_strict,omitempty"` // or space-separated OAuth2 scopes. // List of comma- or space-separated OAuth2 scopes. // +kubebuilder:validation:Optional Scopes *string `json:"scopes,omitempty" tf:"scopes,omitempty"` // (String) The URL to redirect the user to after signing out from Grafana. // The URL to redirect the user to after signing out from Grafana. // +kubebuilder:validation:Optional SignoutRedirectURL *string `json:"signoutRedirectUrl,omitempty" tf:"signout_redirect_url,omitempty"` // (Boolean) Prevent synchronizing users’ organization roles from your IdP. // Prevent synchronizing users’ organization roles from your IdP. // +kubebuilder:validation:Optional SkipOrgRoleSync *bool `json:"skipOrgRoleSync,omitempty" tf:"skip_org_role_sync,omitempty"` // (String) The path to the trusted certificate authority list. Is not applicable on Grafana Cloud. // The path to the trusted certificate authority list. Is not applicable on Grafana Cloud. // +kubebuilder:validation:Optional TLSClientCA *string `json:"tlsClientCa,omitempty" tf:"tls_client_ca,omitempty"` // (String) The path to the certificate. Is not applicable on Grafana Cloud. // The path to the certificate. Is not applicable on Grafana Cloud. // +kubebuilder:validation:Optional TLSClientCert *string `json:"tlsClientCert,omitempty" tf:"tls_client_cert,omitempty"` // (String) The path to the key. Is not applicable on Grafana Cloud. // The path to the key. Is not applicable on Grafana Cloud. // +kubebuilder:validation:Optional TLSClientKey *string `json:"tlsClientKey,omitempty" tf:"tls_client_key,omitempty"` // in-the-middle attacks. // If enabled, the client accepts any certificate presented by the server and any host name in that certificate. You should only use this for testing, because this mode leaves SSL/TLS susceptible to man-in-the-middle attacks. // +kubebuilder:validation:Optional TLSSkipVerifyInsecure *bool `json:"tlsSkipVerifyInsecure,omitempty" tf:"tls_skip_verify_insecure,omitempty"` // (String) String list of Team Ids. If set, the user must be a member of one of the given teams to log in. If you configure team_ids, you must also configure teams_url and team_ids_attribute_path. // String list of Team Ids. If set, the user must be a member of one of the given teams to log in. If you configure team_ids, you must also configure teams_url and team_ids_attribute_path. // +kubebuilder:validation:Optional TeamIds *string `json:"teamIds,omitempty" tf:"team_ids,omitempty"` // (String) The JMESPath expression to use for Grafana Team Id lookup within the results returned by the teams_url endpoint. Only applicable to Generic OAuth. // The JMESPath expression to use for Grafana Team Id lookup within the results returned by the teams_url endpoint. Only applicable to Generic OAuth. // +kubebuilder:validation:Optional TeamIdsAttributePath *string `json:"teamIdsAttributePath,omitempty" tf:"team_ids_attribute_path,omitempty"` // (String) The URL used to query for Team Ids. If not set, the default value is /teams. If you configure teams_url, you must also configure team_ids_attribute_path. Only applicable to Generic OAuth. // The URL used to query for Team Ids. If not set, the default value is /teams. If you configure teams_url, you must also configure team_ids_attribute_path. Only applicable to Generic OAuth. // +kubebuilder:validation:Optional TeamsURL *string `json:"teamsUrl,omitempty" tf:"teams_url,omitempty"` // (String) The token endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers. // The token endpoint of your OAuth2 provider. Required for azuread, okta and generic_oauth providers. // +kubebuilder:validation:Optional TokenURL *string `json:"tokenUrl,omitempty" tf:"token_url,omitempty"` // (Boolean) If enabled, Grafana will use Proof Key for Code Exchange (PKCE) with the OAuth2 Authorization Code Grant. // If enabled, Grafana will use Proof Key for Code Exchange (PKCE) with the OAuth2 Authorization Code Grant. // +kubebuilder:validation:Optional UsePkce *bool `json:"usePkce,omitempty" tf:"use_pkce,omitempty"` // (Boolean) If enabled, Grafana will fetch a new access token using the refresh token provided by the OAuth2 provider. // If enabled, Grafana will fetch a new access token using the refresh token provided by the OAuth2 provider. // +kubebuilder:validation:Optional UseRefreshToken *bool `json:"useRefreshToken,omitempty" tf:"use_refresh_token,omitempty"` }
func (*Oauth2SettingsParameters) DeepCopy ¶ added in v0.11.0
func (in *Oauth2SettingsParameters) DeepCopy() *Oauth2SettingsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2SettingsParameters.
func (*Oauth2SettingsParameters) DeepCopyInto ¶ added in v0.11.0
func (in *Oauth2SettingsParameters) DeepCopyInto(out *Oauth2SettingsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Organization ¶ added in v0.2.0
type Organization struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec OrganizationSpec `json:"spec"` Status OrganizationStatus `json:"status,omitempty"` }
Organization is the Schema for the Organizations API. Official documentation https://grafana.com/docs/grafana/latest/administration/organization-management/HTTP API https://grafana.com/docs/grafana/latest/developers/http_api/org/ This resource represents an instance-scoped resource and uses Grafana's admin APIs. It does not work with API tokens or service accounts which are org-scoped. You must use basic auth. +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:resource:scope=Cluster,categories={crossplane,managed,grafana}
func (*Organization) DeepCopy ¶ added in v0.2.0
func (in *Organization) DeepCopy() *Organization
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Organization.
func (*Organization) DeepCopyInto ¶ added in v0.2.0
func (in *Organization) DeepCopyInto(out *Organization)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Organization) DeepCopyObject ¶ added in v0.2.0
func (in *Organization) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Organization) GetCondition ¶ added in v0.2.0
func (mg *Organization) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Organization.
func (*Organization) GetConnectionDetailsMapping ¶ added in v0.2.0
func (tr *Organization) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this Organization
func (*Organization) GetDeletionPolicy ¶ added in v0.2.0
func (mg *Organization) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Organization.
func (*Organization) GetID ¶ added in v0.2.0
func (tr *Organization) GetID() string
GetID returns ID of underlying Terraform resource of this Organization
func (*Organization) GetInitParameters ¶ added in v0.8.0
func (tr *Organization) GetInitParameters() (map[string]any, error)
GetInitParameters of this Organization
func (*Organization) GetManagementPolicies ¶ added in v0.8.0
func (mg *Organization) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Organization.
func (*Organization) GetMergedParameters ¶ added in v0.10.1
func (tr *Organization) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this Organization
func (*Organization) GetObservation ¶ added in v0.2.0
func (tr *Organization) GetObservation() (map[string]any, error)
GetObservation of this Organization
func (*Organization) GetParameters ¶ added in v0.2.0
func (tr *Organization) GetParameters() (map[string]any, error)
GetParameters of this Organization
func (*Organization) GetProviderConfigReference ¶ added in v0.2.0
func (mg *Organization) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this Organization.
func (*Organization) GetPublishConnectionDetailsTo ¶ added in v0.2.0
func (mg *Organization) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Organization.
func (*Organization) GetTerraformResourceType ¶ added in v0.2.0
func (mg *Organization) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this Organization
func (*Organization) GetTerraformSchemaVersion ¶ added in v0.2.0
func (tr *Organization) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Organization) GetWriteConnectionSecretToReference ¶ added in v0.2.0
func (mg *Organization) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Organization.
func (*Organization) Hub ¶ added in v0.10.1
func (tr *Organization) Hub()
Hub marks this type as a conversion hub.
func (*Organization) LateInitialize ¶ added in v0.2.0
func (tr *Organization) LateInitialize(attrs []byte) (bool, error)
LateInitialize this Organization using its observed tfState. returns True if there are any spec changes for the resource.
func (*Organization) SetConditions ¶ added in v0.2.0
func (mg *Organization) SetConditions(c ...xpv1.Condition)
SetConditions of this Organization.
func (*Organization) SetDeletionPolicy ¶ added in v0.2.0
func (mg *Organization) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Organization.
func (*Organization) SetManagementPolicies ¶ added in v0.8.0
func (mg *Organization) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Organization.
func (*Organization) SetObservation ¶ added in v0.2.0
func (tr *Organization) SetObservation(obs map[string]any) error
SetObservation for this Organization
func (*Organization) SetParameters ¶ added in v0.2.0
func (tr *Organization) SetParameters(params map[string]any) error
SetParameters for this Organization
func (*Organization) SetProviderConfigReference ¶ added in v0.2.0
func (mg *Organization) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this Organization.
func (*Organization) SetPublishConnectionDetailsTo ¶ added in v0.2.0
func (mg *Organization) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Organization.
func (*Organization) SetWriteConnectionSecretToReference ¶ added in v0.2.0
func (mg *Organization) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Organization.
type OrganizationInitParameters ¶ added in v0.8.0
type OrganizationInitParameters struct { // (String) The login name of the configured default admin user for the Grafana // installation. If unset, this value defaults to admin, the Grafana default. // Defaults to admin. // The login name of the configured default admin user for the Grafana // installation. If unset, this value defaults to admin, the Grafana default. // Defaults to `admin`. AdminUser *string `json:"adminUser,omitempty" tf:"admin_user,omitempty"` // (Set of String) A list of email addresses corresponding to users who should be given admin // access to the organization. Note: users specified here must already exist in // Grafana unless 'create_users' is set to true. // A list of email addresses corresponding to users who should be given admin // access to the organization. Note: users specified here must already exist in // Grafana unless 'create_users' is set to true. // +listType=set Admins []*string `json:"admins,omitempty" tf:"admins,omitempty"` // (Boolean) Whether or not to create Grafana users specified in the organization's // membership if they don't already exist in Grafana. If unspecified, this // parameter defaults to true, creating placeholder users with the name, login, // and email set to the email of the user, and a random password. Setting this // option to false will cause an error to be thrown for any users that do not // already exist in Grafana. // Defaults to true. // Whether or not to create Grafana users specified in the organization's // membership if they don't already exist in Grafana. If unspecified, this // parameter defaults to true, creating placeholder users with the name, login, // and email set to the email of the user, and a random password. Setting this // option to false will cause an error to be thrown for any users that do not // already exist in Grafana. // Defaults to `true`. CreateUsers *bool `json:"createUsers,omitempty" tf:"create_users,omitempty"` // (Set of String) A list of email addresses corresponding to users who should be given editor // access to the organization. Note: users specified here must already exist in // Grafana unless 'create_users' is set to true. // A list of email addresses corresponding to users who should be given editor // access to the organization. Note: users specified here must already exist in // Grafana unless 'create_users' is set to true. // +listType=set Editors []*string `json:"editors,omitempty" tf:"editors,omitempty"` // (String) The display name for the Grafana organization created. // The display name for the Grafana organization created. Name *string `json:"name,omitempty" tf:"name,omitempty"` // (Set of String) A list of email addresses corresponding to users who should be given none access to the organization. // Note: users specified here must already exist in Grafana, unless 'create_users' is // set to true. This feature is only available in Grafana 10.2+. // A list of email addresses corresponding to users who should be given none access to the organization. // Note: users specified here must already exist in Grafana, unless 'create_users' is // set to true. This feature is only available in Grafana 10.2+. // +listType=set UsersWithoutAccess []*string `json:"usersWithoutAccess,omitempty" tf:"users_without_access,omitempty"` // (Set of String) A list of email addresses corresponding to users who should be given viewer // access to the organization. Note: users specified here must already exist in // Grafana unless 'create_users' is set to true. // A list of email addresses corresponding to users who should be given viewer // access to the organization. Note: users specified here must already exist in // Grafana unless 'create_users' is set to true. // +listType=set Viewers []*string `json:"viewers,omitempty" tf:"viewers,omitempty"` }
func (*OrganizationInitParameters) DeepCopy ¶ added in v0.8.0
func (in *OrganizationInitParameters) DeepCopy() *OrganizationInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationInitParameters.
func (*OrganizationInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *OrganizationInitParameters) DeepCopyInto(out *OrganizationInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OrganizationList ¶ added in v0.2.0
type OrganizationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Organization `json:"items"` }
OrganizationList contains a list of Organizations
func (*OrganizationList) DeepCopy ¶ added in v0.2.0
func (in *OrganizationList) DeepCopy() *OrganizationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationList.
func (*OrganizationList) DeepCopyInto ¶ added in v0.2.0
func (in *OrganizationList) DeepCopyInto(out *OrganizationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OrganizationList) DeepCopyObject ¶ added in v0.2.0
func (in *OrganizationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OrganizationList) GetItems ¶ added in v0.2.0
func (l *OrganizationList) GetItems() []resource.Managed
GetItems of this OrganizationList.
type OrganizationObservation ¶ added in v0.2.0
type OrganizationObservation struct { // (String) The login name of the configured default admin user for the Grafana // installation. If unset, this value defaults to admin, the Grafana default. // Defaults to admin. // The login name of the configured default admin user for the Grafana // installation. If unset, this value defaults to admin, the Grafana default. // Defaults to `admin`. AdminUser *string `json:"adminUser,omitempty" tf:"admin_user,omitempty"` // (Set of String) A list of email addresses corresponding to users who should be given admin // access to the organization. Note: users specified here must already exist in // Grafana unless 'create_users' is set to true. // A list of email addresses corresponding to users who should be given admin // access to the organization. Note: users specified here must already exist in // Grafana unless 'create_users' is set to true. // +listType=set Admins []*string `json:"admins,omitempty" tf:"admins,omitempty"` // (Boolean) Whether or not to create Grafana users specified in the organization's // membership if they don't already exist in Grafana. If unspecified, this // parameter defaults to true, creating placeholder users with the name, login, // and email set to the email of the user, and a random password. Setting this // option to false will cause an error to be thrown for any users that do not // already exist in Grafana. // Defaults to true. // Whether or not to create Grafana users specified in the organization's // membership if they don't already exist in Grafana. If unspecified, this // parameter defaults to true, creating placeholder users with the name, login, // and email set to the email of the user, and a random password. Setting this // option to false will cause an error to be thrown for any users that do not // already exist in Grafana. // Defaults to `true`. CreateUsers *bool `json:"createUsers,omitempty" tf:"create_users,omitempty"` // (Set of String) A list of email addresses corresponding to users who should be given editor // access to the organization. Note: users specified here must already exist in // Grafana unless 'create_users' is set to true. // A list of email addresses corresponding to users who should be given editor // access to the organization. Note: users specified here must already exist in // Grafana unless 'create_users' is set to true. // +listType=set Editors []*string `json:"editors,omitempty" tf:"editors,omitempty"` // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (String) The display name for the Grafana organization created. // The display name for the Grafana organization created. Name *string `json:"name,omitempty" tf:"name,omitempty"` // (Number) The organization id assigned to this organization by Grafana. // The organization id assigned to this organization by Grafana. OrgID *float64 `json:"orgId,omitempty" tf:"org_id,omitempty"` // (Set of String) A list of email addresses corresponding to users who should be given none access to the organization. // Note: users specified here must already exist in Grafana, unless 'create_users' is // set to true. This feature is only available in Grafana 10.2+. // A list of email addresses corresponding to users who should be given none access to the organization. // Note: users specified here must already exist in Grafana, unless 'create_users' is // set to true. This feature is only available in Grafana 10.2+. // +listType=set UsersWithoutAccess []*string `json:"usersWithoutAccess,omitempty" tf:"users_without_access,omitempty"` // (Set of String) A list of email addresses corresponding to users who should be given viewer // access to the organization. Note: users specified here must already exist in // Grafana unless 'create_users' is set to true. // A list of email addresses corresponding to users who should be given viewer // access to the organization. Note: users specified here must already exist in // Grafana unless 'create_users' is set to true. // +listType=set Viewers []*string `json:"viewers,omitempty" tf:"viewers,omitempty"` }
func (*OrganizationObservation) DeepCopy ¶ added in v0.2.0
func (in *OrganizationObservation) DeepCopy() *OrganizationObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationObservation.
func (*OrganizationObservation) DeepCopyInto ¶ added in v0.2.0
func (in *OrganizationObservation) DeepCopyInto(out *OrganizationObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OrganizationParameters ¶ added in v0.2.0
type OrganizationParameters struct { // (String) The login name of the configured default admin user for the Grafana // installation. If unset, this value defaults to admin, the Grafana default. // Defaults to admin. // The login name of the configured default admin user for the Grafana // installation. If unset, this value defaults to admin, the Grafana default. // Defaults to `admin`. // +kubebuilder:validation:Optional AdminUser *string `json:"adminUser,omitempty" tf:"admin_user,omitempty"` // (Set of String) A list of email addresses corresponding to users who should be given admin // access to the organization. Note: users specified here must already exist in // Grafana unless 'create_users' is set to true. // A list of email addresses corresponding to users who should be given admin // access to the organization. Note: users specified here must already exist in // Grafana unless 'create_users' is set to true. // +kubebuilder:validation:Optional // +listType=set Admins []*string `json:"admins,omitempty" tf:"admins,omitempty"` // (Boolean) Whether or not to create Grafana users specified in the organization's // membership if they don't already exist in Grafana. If unspecified, this // parameter defaults to true, creating placeholder users with the name, login, // and email set to the email of the user, and a random password. Setting this // option to false will cause an error to be thrown for any users that do not // already exist in Grafana. // Defaults to true. // Whether or not to create Grafana users specified in the organization's // membership if they don't already exist in Grafana. If unspecified, this // parameter defaults to true, creating placeholder users with the name, login, // and email set to the email of the user, and a random password. Setting this // option to false will cause an error to be thrown for any users that do not // already exist in Grafana. // Defaults to `true`. // +kubebuilder:validation:Optional CreateUsers *bool `json:"createUsers,omitempty" tf:"create_users,omitempty"` // (Set of String) A list of email addresses corresponding to users who should be given editor // access to the organization. Note: users specified here must already exist in // Grafana unless 'create_users' is set to true. // A list of email addresses corresponding to users who should be given editor // access to the organization. Note: users specified here must already exist in // Grafana unless 'create_users' is set to true. // +kubebuilder:validation:Optional // +listType=set Editors []*string `json:"editors,omitempty" tf:"editors,omitempty"` // (String) The display name for the Grafana organization created. // The display name for the Grafana organization created. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // (Set of String) A list of email addresses corresponding to users who should be given none access to the organization. // Note: users specified here must already exist in Grafana, unless 'create_users' is // set to true. This feature is only available in Grafana 10.2+. // A list of email addresses corresponding to users who should be given none access to the organization. // Note: users specified here must already exist in Grafana, unless 'create_users' is // set to true. This feature is only available in Grafana 10.2+. // +kubebuilder:validation:Optional // +listType=set UsersWithoutAccess []*string `json:"usersWithoutAccess,omitempty" tf:"users_without_access,omitempty"` // (Set of String) A list of email addresses corresponding to users who should be given viewer // access to the organization. Note: users specified here must already exist in // Grafana unless 'create_users' is set to true. // A list of email addresses corresponding to users who should be given viewer // access to the organization. Note: users specified here must already exist in // Grafana unless 'create_users' is set to true. // +kubebuilder:validation:Optional // +listType=set Viewers []*string `json:"viewers,omitempty" tf:"viewers,omitempty"` }
func (*OrganizationParameters) DeepCopy ¶ added in v0.2.0
func (in *OrganizationParameters) DeepCopy() *OrganizationParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationParameters.
func (*OrganizationParameters) DeepCopyInto ¶ added in v0.2.0
func (in *OrganizationParameters) DeepCopyInto(out *OrganizationParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OrganizationPreferences ¶ added in v0.7.0
type OrganizationPreferences struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OrganizationPreferencesSpec `json:"spec"` Status OrganizationPreferencesStatus `json:"status,omitempty"` }
OrganizationPreferences is the Schema for the OrganizationPreferencess API. Official documentation https://grafana.com/docs/grafana/latest/administration/organization-management/HTTP API https://grafana.com/docs/grafana/latest/developers/http_api/preferences/#get-current-org-prefs +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:resource:scope=Cluster,categories={crossplane,managed,grafana}
func (*OrganizationPreferences) DeepCopy ¶ added in v0.7.0
func (in *OrganizationPreferences) DeepCopy() *OrganizationPreferences
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationPreferences.
func (*OrganizationPreferences) DeepCopyInto ¶ added in v0.7.0
func (in *OrganizationPreferences) DeepCopyInto(out *OrganizationPreferences)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OrganizationPreferences) DeepCopyObject ¶ added in v0.7.0
func (in *OrganizationPreferences) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OrganizationPreferences) GetCondition ¶ added in v0.7.0
func (mg *OrganizationPreferences) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this OrganizationPreferences.
func (*OrganizationPreferences) GetConnectionDetailsMapping ¶ added in v0.7.0
func (tr *OrganizationPreferences) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this OrganizationPreferences
func (*OrganizationPreferences) GetDeletionPolicy ¶ added in v0.7.0
func (mg *OrganizationPreferences) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this OrganizationPreferences.
func (*OrganizationPreferences) GetID ¶ added in v0.7.0
func (tr *OrganizationPreferences) GetID() string
GetID returns ID of underlying Terraform resource of this OrganizationPreferences
func (*OrganizationPreferences) GetInitParameters ¶ added in v0.8.0
func (tr *OrganizationPreferences) GetInitParameters() (map[string]any, error)
GetInitParameters of this OrganizationPreferences
func (*OrganizationPreferences) GetManagementPolicies ¶ added in v0.8.0
func (mg *OrganizationPreferences) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this OrganizationPreferences.
func (*OrganizationPreferences) GetMergedParameters ¶ added in v0.10.1
func (tr *OrganizationPreferences) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this OrganizationPreferences
func (*OrganizationPreferences) GetObservation ¶ added in v0.7.0
func (tr *OrganizationPreferences) GetObservation() (map[string]any, error)
GetObservation of this OrganizationPreferences
func (*OrganizationPreferences) GetParameters ¶ added in v0.7.0
func (tr *OrganizationPreferences) GetParameters() (map[string]any, error)
GetParameters of this OrganizationPreferences
func (*OrganizationPreferences) GetProviderConfigReference ¶ added in v0.7.0
func (mg *OrganizationPreferences) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this OrganizationPreferences.
func (*OrganizationPreferences) GetPublishConnectionDetailsTo ¶ added in v0.7.0
func (mg *OrganizationPreferences) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this OrganizationPreferences.
func (*OrganizationPreferences) GetTerraformResourceType ¶ added in v0.7.0
func (mg *OrganizationPreferences) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this OrganizationPreferences
func (*OrganizationPreferences) GetTerraformSchemaVersion ¶ added in v0.7.0
func (tr *OrganizationPreferences) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*OrganizationPreferences) GetWriteConnectionSecretToReference ¶ added in v0.7.0
func (mg *OrganizationPreferences) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this OrganizationPreferences.
func (*OrganizationPreferences) Hub ¶ added in v0.10.1
func (tr *OrganizationPreferences) Hub()
Hub marks this type as a conversion hub.
func (*OrganizationPreferences) LateInitialize ¶ added in v0.7.0
func (tr *OrganizationPreferences) LateInitialize(attrs []byte) (bool, error)
LateInitialize this OrganizationPreferences using its observed tfState. returns True if there are any spec changes for the resource.
func (*OrganizationPreferences) ResolveReferences ¶ added in v0.7.0
ResolveReferences of this OrganizationPreferences.
func (*OrganizationPreferences) SetConditions ¶ added in v0.7.0
func (mg *OrganizationPreferences) SetConditions(c ...xpv1.Condition)
SetConditions of this OrganizationPreferences.
func (*OrganizationPreferences) SetDeletionPolicy ¶ added in v0.7.0
func (mg *OrganizationPreferences) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this OrganizationPreferences.
func (*OrganizationPreferences) SetManagementPolicies ¶ added in v0.8.0
func (mg *OrganizationPreferences) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this OrganizationPreferences.
func (*OrganizationPreferences) SetObservation ¶ added in v0.7.0
func (tr *OrganizationPreferences) SetObservation(obs map[string]any) error
SetObservation for this OrganizationPreferences
func (*OrganizationPreferences) SetParameters ¶ added in v0.7.0
func (tr *OrganizationPreferences) SetParameters(params map[string]any) error
SetParameters for this OrganizationPreferences
func (*OrganizationPreferences) SetProviderConfigReference ¶ added in v0.7.0
func (mg *OrganizationPreferences) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this OrganizationPreferences.
func (*OrganizationPreferences) SetPublishConnectionDetailsTo ¶ added in v0.7.0
func (mg *OrganizationPreferences) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this OrganizationPreferences.
func (*OrganizationPreferences) SetWriteConnectionSecretToReference ¶ added in v0.7.0
func (mg *OrganizationPreferences) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this OrganizationPreferences.
type OrganizationPreferencesInitParameters ¶ added in v0.8.0
type OrganizationPreferencesInitParameters struct { // (Number, Deprecated) The Organization home dashboard ID. Deprecated: Use home_dashboard_uid instead. // The Organization home dashboard ID. Deprecated: Use `home_dashboard_uid` instead. HomeDashboardID *float64 `json:"homeDashboardId,omitempty" tf:"home_dashboard_id,omitempty"` // (String) The Organization home dashboard UID. This is only available in Grafana 9.0+. // The Organization home dashboard UID. This is only available in Grafana 9.0+. HomeDashboardUID *string `json:"homeDashboardUid,omitempty" tf:"home_dashboard_uid,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Organization // +crossplane:generate:reference:refFieldName=OrganizationRef // +crossplane:generate:reference:selectorFieldName=OrganizationSelector OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Reference to a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationRef *v1.Reference `json:"organizationRef,omitempty" tf:"-"` // Selector for a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationSelector *v1.Selector `json:"organizationSelector,omitempty" tf:"-"` // (String) The Organization theme. Available values are light, dark, system, or an empty string for the default. // The Organization theme. Available values are `light`, `dark`, `system`, or an empty string for the default. Theme *string `json:"theme,omitempty" tf:"theme,omitempty"` // (String) The Organization timezone. Available values are utc, browser, or an empty string for the default. // The Organization timezone. Available values are `utc`, `browser`, or an empty string for the default. Timezone *string `json:"timezone,omitempty" tf:"timezone,omitempty"` // (String) The Organization week start day. Available values are sunday, monday, saturday, or an empty string for the default. Defaults to “. // The Organization week start day. Available values are `sunday`, `monday`, `saturday`, or an empty string for the default. Defaults to “. WeekStart *string `json:"weekStart,omitempty" tf:"week_start,omitempty"` }
func (*OrganizationPreferencesInitParameters) DeepCopy ¶ added in v0.8.0
func (in *OrganizationPreferencesInitParameters) DeepCopy() *OrganizationPreferencesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationPreferencesInitParameters.
func (*OrganizationPreferencesInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *OrganizationPreferencesInitParameters) DeepCopyInto(out *OrganizationPreferencesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OrganizationPreferencesList ¶ added in v0.7.0
type OrganizationPreferencesList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OrganizationPreferences `json:"items"` }
OrganizationPreferencesList contains a list of OrganizationPreferencess
func (*OrganizationPreferencesList) DeepCopy ¶ added in v0.7.0
func (in *OrganizationPreferencesList) DeepCopy() *OrganizationPreferencesList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationPreferencesList.
func (*OrganizationPreferencesList) DeepCopyInto ¶ added in v0.7.0
func (in *OrganizationPreferencesList) DeepCopyInto(out *OrganizationPreferencesList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OrganizationPreferencesList) DeepCopyObject ¶ added in v0.7.0
func (in *OrganizationPreferencesList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OrganizationPreferencesList) GetItems ¶ added in v0.7.0
func (l *OrganizationPreferencesList) GetItems() []resource.Managed
GetItems of this OrganizationPreferencesList.
type OrganizationPreferencesObservation ¶ added in v0.7.0
type OrganizationPreferencesObservation struct { // (Number, Deprecated) The Organization home dashboard ID. Deprecated: Use home_dashboard_uid instead. // The Organization home dashboard ID. Deprecated: Use `home_dashboard_uid` instead. HomeDashboardID *float64 `json:"homeDashboardId,omitempty" tf:"home_dashboard_id,omitempty"` // (String) The Organization home dashboard UID. This is only available in Grafana 9.0+. // The Organization home dashboard UID. This is only available in Grafana 9.0+. HomeDashboardUID *string `json:"homeDashboardUid,omitempty" tf:"home_dashboard_uid,omitempty"` // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // (String) The Organization theme. Available values are light, dark, system, or an empty string for the default. // The Organization theme. Available values are `light`, `dark`, `system`, or an empty string for the default. Theme *string `json:"theme,omitempty" tf:"theme,omitempty"` // (String) The Organization timezone. Available values are utc, browser, or an empty string for the default. // The Organization timezone. Available values are `utc`, `browser`, or an empty string for the default. Timezone *string `json:"timezone,omitempty" tf:"timezone,omitempty"` // (String) The Organization week start day. Available values are sunday, monday, saturday, or an empty string for the default. Defaults to “. // The Organization week start day. Available values are `sunday`, `monday`, `saturday`, or an empty string for the default. Defaults to “. WeekStart *string `json:"weekStart,omitempty" tf:"week_start,omitempty"` }
func (*OrganizationPreferencesObservation) DeepCopy ¶ added in v0.7.0
func (in *OrganizationPreferencesObservation) DeepCopy() *OrganizationPreferencesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationPreferencesObservation.
func (*OrganizationPreferencesObservation) DeepCopyInto ¶ added in v0.7.0
func (in *OrganizationPreferencesObservation) DeepCopyInto(out *OrganizationPreferencesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OrganizationPreferencesParameters ¶ added in v0.7.0
type OrganizationPreferencesParameters struct { // (Number, Deprecated) The Organization home dashboard ID. Deprecated: Use home_dashboard_uid instead. // The Organization home dashboard ID. Deprecated: Use `home_dashboard_uid` instead. // +kubebuilder:validation:Optional HomeDashboardID *float64 `json:"homeDashboardId,omitempty" tf:"home_dashboard_id,omitempty"` // (String) The Organization home dashboard UID. This is only available in Grafana 9.0+. // The Organization home dashboard UID. This is only available in Grafana 9.0+. // +kubebuilder:validation:Optional HomeDashboardUID *string `json:"homeDashboardUid,omitempty" tf:"home_dashboard_uid,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Organization // +crossplane:generate:reference:refFieldName=OrganizationRef // +crossplane:generate:reference:selectorFieldName=OrganizationSelector // +kubebuilder:validation:Optional OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Reference to a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationRef *v1.Reference `json:"organizationRef,omitempty" tf:"-"` // Selector for a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationSelector *v1.Selector `json:"organizationSelector,omitempty" tf:"-"` // (String) The Organization theme. Available values are light, dark, system, or an empty string for the default. // The Organization theme. Available values are `light`, `dark`, `system`, or an empty string for the default. // +kubebuilder:validation:Optional Theme *string `json:"theme,omitempty" tf:"theme,omitempty"` // (String) The Organization timezone. Available values are utc, browser, or an empty string for the default. // The Organization timezone. Available values are `utc`, `browser`, or an empty string for the default. // +kubebuilder:validation:Optional Timezone *string `json:"timezone,omitempty" tf:"timezone,omitempty"` // (String) The Organization week start day. Available values are sunday, monday, saturday, or an empty string for the default. Defaults to “. // The Organization week start day. Available values are `sunday`, `monday`, `saturday`, or an empty string for the default. Defaults to “. // +kubebuilder:validation:Optional WeekStart *string `json:"weekStart,omitempty" tf:"week_start,omitempty"` }
func (*OrganizationPreferencesParameters) DeepCopy ¶ added in v0.7.0
func (in *OrganizationPreferencesParameters) DeepCopy() *OrganizationPreferencesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationPreferencesParameters.
func (*OrganizationPreferencesParameters) DeepCopyInto ¶ added in v0.7.0
func (in *OrganizationPreferencesParameters) DeepCopyInto(out *OrganizationPreferencesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OrganizationPreferencesSpec ¶ added in v0.7.0
type OrganizationPreferencesSpec struct { v1.ResourceSpec `json:",inline"` ForProvider OrganizationPreferencesParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider OrganizationPreferencesInitParameters `json:"initProvider,omitempty"` }
OrganizationPreferencesSpec defines the desired state of OrganizationPreferences
func (*OrganizationPreferencesSpec) DeepCopy ¶ added in v0.7.0
func (in *OrganizationPreferencesSpec) DeepCopy() *OrganizationPreferencesSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationPreferencesSpec.
func (*OrganizationPreferencesSpec) DeepCopyInto ¶ added in v0.7.0
func (in *OrganizationPreferencesSpec) DeepCopyInto(out *OrganizationPreferencesSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OrganizationPreferencesStatus ¶ added in v0.7.0
type OrganizationPreferencesStatus struct { v1.ResourceStatus `json:",inline"` AtProvider OrganizationPreferencesObservation `json:"atProvider,omitempty"` }
OrganizationPreferencesStatus defines the observed state of OrganizationPreferences.
func (*OrganizationPreferencesStatus) DeepCopy ¶ added in v0.7.0
func (in *OrganizationPreferencesStatus) DeepCopy() *OrganizationPreferencesStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationPreferencesStatus.
func (*OrganizationPreferencesStatus) DeepCopyInto ¶ added in v0.7.0
func (in *OrganizationPreferencesStatus) DeepCopyInto(out *OrganizationPreferencesStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OrganizationSpec ¶ added in v0.2.0
type OrganizationSpec struct { v1.ResourceSpec `json:",inline"` ForProvider OrganizationParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider OrganizationInitParameters `json:"initProvider,omitempty"` }
OrganizationSpec defines the desired state of Organization
func (*OrganizationSpec) DeepCopy ¶ added in v0.2.0
func (in *OrganizationSpec) DeepCopy() *OrganizationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationSpec.
func (*OrganizationSpec) DeepCopyInto ¶ added in v0.2.0
func (in *OrganizationSpec) DeepCopyInto(out *OrganizationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OrganizationStatus ¶ added in v0.2.0
type OrganizationStatus struct { v1.ResourceStatus `json:",inline"` AtProvider OrganizationObservation `json:"atProvider,omitempty"` }
OrganizationStatus defines the observed state of Organization.
func (*OrganizationStatus) DeepCopy ¶ added in v0.2.0
func (in *OrganizationStatus) DeepCopy() *OrganizationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OrganizationStatus.
func (*OrganizationStatus) DeepCopyInto ¶ added in v0.2.0
func (in *OrganizationStatus) DeepCopyInto(out *OrganizationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PermissionsInitParameters ¶ added in v0.8.0
type PermissionsInitParameters struct { // (String) Permission to associate with item. Must be one of View, Edit, or Admin. // Permission to associate with item. Must be one of `View`, `Edit`, or `Admin`. Permission *string `json:"permission,omitempty" tf:"permission,omitempty"` // (String) Manage permissions for Viewer or Editor roles. // Manage permissions for `Viewer` or `Editor` roles. Role *string `json:"role,omitempty" tf:"role,omitempty"` // (String) ID of the team to manage permissions for. Defaults to 0. // ID of the team to manage permissions for. Defaults to `0`. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Team // +crossplane:generate:reference:refFieldName=TeamRef // +crossplane:generate:reference:selectorFieldName=TeamSelector TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"` // Reference to a Team in oss to populate teamId. // +kubebuilder:validation:Optional TeamRef *v1.Reference `json:"teamRef,omitempty" tf:"-"` // Selector for a Team in oss to populate teamId. // +kubebuilder:validation:Optional TeamSelector *v1.Selector `json:"teamSelector,omitempty" tf:"-"` // (String) ID of the user or service account to manage permissions for. Defaults to 0. // ID of the user or service account to manage permissions for. Defaults to `0`. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.User // +crossplane:generate:reference:refFieldName=UserRef // +crossplane:generate:reference:selectorFieldName=UserSelector UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"` // Reference to a User in oss to populate userId. // +kubebuilder:validation:Optional UserRef *v1.Reference `json:"userRef,omitempty" tf:"-"` // Selector for a User in oss to populate userId. // +kubebuilder:validation:Optional UserSelector *v1.Selector `json:"userSelector,omitempty" tf:"-"` }
func (*PermissionsInitParameters) DeepCopy ¶ added in v0.8.0
func (in *PermissionsInitParameters) DeepCopy() *PermissionsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PermissionsInitParameters.
func (*PermissionsInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *PermissionsInitParameters) DeepCopyInto(out *PermissionsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PermissionsObservation ¶
type PermissionsObservation struct { // (String) Permission to associate with item. Must be one of View, Edit, or Admin. // Permission to associate with item. Must be one of `View`, `Edit`, or `Admin`. Permission *string `json:"permission,omitempty" tf:"permission,omitempty"` // (String) Manage permissions for Viewer or Editor roles. // Manage permissions for `Viewer` or `Editor` roles. Role *string `json:"role,omitempty" tf:"role,omitempty"` // (String) ID of the team to manage permissions for. Defaults to 0. // ID of the team to manage permissions for. Defaults to `0`. TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"` // (String) ID of the user or service account to manage permissions for. Defaults to 0. // ID of the user or service account to manage permissions for. Defaults to `0`. UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"` }
func (*PermissionsObservation) DeepCopy ¶
func (in *PermissionsObservation) DeepCopy() *PermissionsObservation
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 { // (String) Permission to associate with item. Must be one of View, Edit, or Admin. // Permission to associate with item. Must be one of `View`, `Edit`, or `Admin`. // +kubebuilder:validation:Optional Permission *string `json:"permission" tf:"permission,omitempty"` // (String) Manage permissions for Viewer or Editor roles. // Manage permissions for `Viewer` or `Editor` roles. // +kubebuilder:validation:Optional Role *string `json:"role,omitempty" tf:"role,omitempty"` // (String) ID of the team to manage permissions for. Defaults to 0. // ID of the team to manage permissions for. Defaults to `0`. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Team // +crossplane:generate:reference:refFieldName=TeamRef // +crossplane:generate:reference:selectorFieldName=TeamSelector // +kubebuilder:validation:Optional TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"` // Reference to a Team in oss to populate teamId. // +kubebuilder:validation:Optional TeamRef *v1.Reference `json:"teamRef,omitempty" tf:"-"` // Selector for a Team in oss to populate teamId. // +kubebuilder:validation:Optional TeamSelector *v1.Selector `json:"teamSelector,omitempty" tf:"-"` // (String) ID of the user or service account to manage permissions for. Defaults to 0. // ID of the user or service account to manage permissions for. Defaults to `0`. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.User // +crossplane:generate:reference:refFieldName=UserRef // +crossplane:generate:reference:selectorFieldName=UserSelector // +kubebuilder:validation:Optional UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"` // Reference to a User in oss to populate userId. // +kubebuilder:validation:Optional UserRef *v1.Reference `json:"userRef,omitempty" tf:"-"` // Selector for a User in oss to populate userId. // +kubebuilder:validation:Optional UserSelector *v1.Selector `json:"userSelector,omitempty" tf:"-"` }
func (*PermissionsParameters) DeepCopy ¶
func (in *PermissionsParameters) DeepCopy() *PermissionsParameters
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 Playlist ¶ added in v0.11.0
type Playlist struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.interval) || (has(self.initProvider) && has(self.initProvider.interval))",message="spec.forProvider.interval is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.item) || (has(self.initProvider) && has(self.initProvider.item))",message="spec.forProvider.item is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec PlaylistSpec `json:"spec"` Status PlaylistStatus `json:"status,omitempty"` }
Playlist is the Schema for the Playlists API. Official documentation https://grafana.com/docs/grafana/latest/dashboards/create-manage-playlists/HTTP API https://grafana.com/docs/grafana/latest/developers/http_api/playlist/ +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:resource:scope=Cluster,categories={crossplane,managed,grafana}
func (*Playlist) DeepCopy ¶ added in v0.11.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Playlist.
func (*Playlist) DeepCopyInto ¶ added in v0.11.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Playlist) DeepCopyObject ¶ added in v0.11.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Playlist) GetCondition ¶ added in v0.11.0
func (mg *Playlist) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Playlist.
func (*Playlist) GetConnectionDetailsMapping ¶ added in v0.11.0
GetConnectionDetailsMapping for this Playlist
func (*Playlist) GetDeletionPolicy ¶ added in v0.11.0
func (mg *Playlist) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Playlist.
func (*Playlist) GetID ¶ added in v0.11.0
GetID returns ID of underlying Terraform resource of this Playlist
func (*Playlist) GetInitParameters ¶ added in v0.11.0
GetInitParameters of this Playlist
func (*Playlist) GetManagementPolicies ¶ added in v0.11.0
func (mg *Playlist) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Playlist.
func (*Playlist) GetMergedParameters ¶ added in v0.11.0
GetInitParameters of this Playlist
func (*Playlist) GetObservation ¶ added in v0.11.0
GetObservation of this Playlist
func (*Playlist) GetParameters ¶ added in v0.11.0
GetParameters of this Playlist
func (*Playlist) GetProviderConfigReference ¶ added in v0.11.0
GetProviderConfigReference of this Playlist.
func (*Playlist) GetPublishConnectionDetailsTo ¶ added in v0.11.0
func (mg *Playlist) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Playlist.
func (*Playlist) GetTerraformResourceType ¶ added in v0.11.0
GetTerraformResourceType returns Terraform resource type for this Playlist
func (*Playlist) GetTerraformSchemaVersion ¶ added in v0.11.0
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Playlist) GetWriteConnectionSecretToReference ¶ added in v0.11.0
func (mg *Playlist) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Playlist.
func (*Playlist) Hub ¶ added in v0.11.0
func (tr *Playlist) Hub()
Hub marks this type as a conversion hub.
func (*Playlist) LateInitialize ¶ added in v0.11.0
LateInitialize this Playlist using its observed tfState. returns True if there are any spec changes for the resource.
func (*Playlist) ResolveReferences ¶ added in v0.11.0
ResolveReferences of this Playlist.
func (*Playlist) SetConditions ¶ added in v0.11.0
SetConditions of this Playlist.
func (*Playlist) SetDeletionPolicy ¶ added in v0.11.0
func (mg *Playlist) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Playlist.
func (*Playlist) SetManagementPolicies ¶ added in v0.11.0
func (mg *Playlist) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Playlist.
func (*Playlist) SetObservation ¶ added in v0.11.0
SetObservation for this Playlist
func (*Playlist) SetParameters ¶ added in v0.11.0
SetParameters for this Playlist
func (*Playlist) SetProviderConfigReference ¶ added in v0.11.0
SetProviderConfigReference of this Playlist.
func (*Playlist) SetPublishConnectionDetailsTo ¶ added in v0.11.0
func (mg *Playlist) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Playlist.
func (*Playlist) SetWriteConnectionSecretToReference ¶ added in v0.11.0
func (mg *Playlist) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Playlist.
type PlaylistInitParameters ¶ added in v0.11.0
type PlaylistInitParameters struct { // (String) Interval *string `json:"interval,omitempty" tf:"interval,omitempty"` // (Block Set, Min: 1) (see below for nested schema) Item []ItemInitParameters `json:"item,omitempty" tf:"item,omitempty"` // (String) The name of the playlist. // The name of the playlist. Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Organization // +crossplane:generate:reference:refFieldName=OrganizationRef // +crossplane:generate:reference:selectorFieldName=OrganizationSelector OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Reference to a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationRef *v1.Reference `json:"organizationRef,omitempty" tf:"-"` // Selector for a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationSelector *v1.Selector `json:"organizationSelector,omitempty" tf:"-"` }
func (*PlaylistInitParameters) DeepCopy ¶ added in v0.11.0
func (in *PlaylistInitParameters) DeepCopy() *PlaylistInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlaylistInitParameters.
func (*PlaylistInitParameters) DeepCopyInto ¶ added in v0.11.0
func (in *PlaylistInitParameters) DeepCopyInto(out *PlaylistInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlaylistList ¶ added in v0.11.0
type PlaylistList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Playlist `json:"items"` }
PlaylistList contains a list of Playlists
func (*PlaylistList) DeepCopy ¶ added in v0.11.0
func (in *PlaylistList) DeepCopy() *PlaylistList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlaylistList.
func (*PlaylistList) DeepCopyInto ¶ added in v0.11.0
func (in *PlaylistList) DeepCopyInto(out *PlaylistList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PlaylistList) DeepCopyObject ¶ added in v0.11.0
func (in *PlaylistList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PlaylistList) GetItems ¶ added in v0.11.0
func (l *PlaylistList) GetItems() []resource.Managed
GetItems of this PlaylistList.
type PlaylistObservation ¶ added in v0.11.0
type PlaylistObservation struct { // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (String) Interval *string `json:"interval,omitempty" tf:"interval,omitempty"` // (Block Set, Min: 1) (see below for nested schema) Item []ItemObservation `json:"item,omitempty" tf:"item,omitempty"` // (String) The name of the playlist. // The name of the playlist. Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` }
func (*PlaylistObservation) DeepCopy ¶ added in v0.11.0
func (in *PlaylistObservation) DeepCopy() *PlaylistObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlaylistObservation.
func (*PlaylistObservation) DeepCopyInto ¶ added in v0.11.0
func (in *PlaylistObservation) DeepCopyInto(out *PlaylistObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlaylistParameters ¶ added in v0.11.0
type PlaylistParameters struct { // (String) // +kubebuilder:validation:Optional Interval *string `json:"interval,omitempty" tf:"interval,omitempty"` // (Block Set, Min: 1) (see below for nested schema) // +kubebuilder:validation:Optional Item []ItemParameters `json:"item,omitempty" tf:"item,omitempty"` // (String) The name of the playlist. // The name of the playlist. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Organization // +crossplane:generate:reference:refFieldName=OrganizationRef // +crossplane:generate:reference:selectorFieldName=OrganizationSelector // +kubebuilder:validation:Optional OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Reference to a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationRef *v1.Reference `json:"organizationRef,omitempty" tf:"-"` // Selector for a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationSelector *v1.Selector `json:"organizationSelector,omitempty" tf:"-"` }
func (*PlaylistParameters) DeepCopy ¶ added in v0.11.0
func (in *PlaylistParameters) DeepCopy() *PlaylistParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlaylistParameters.
func (*PlaylistParameters) DeepCopyInto ¶ added in v0.11.0
func (in *PlaylistParameters) DeepCopyInto(out *PlaylistParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlaylistSpec ¶ added in v0.11.0
type PlaylistSpec struct { v1.ResourceSpec `json:",inline"` ForProvider PlaylistParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider PlaylistInitParameters `json:"initProvider,omitempty"` }
PlaylistSpec defines the desired state of Playlist
func (*PlaylistSpec) DeepCopy ¶ added in v0.11.0
func (in *PlaylistSpec) DeepCopy() *PlaylistSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlaylistSpec.
func (*PlaylistSpec) DeepCopyInto ¶ added in v0.11.0
func (in *PlaylistSpec) DeepCopyInto(out *PlaylistSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlaylistStatus ¶ added in v0.11.0
type PlaylistStatus struct { v1.ResourceStatus `json:",inline"` AtProvider PlaylistObservation `json:"atProvider,omitempty"` }
PlaylistStatus defines the observed state of Playlist.
func (*PlaylistStatus) DeepCopy ¶ added in v0.11.0
func (in *PlaylistStatus) DeepCopy() *PlaylistStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlaylistStatus.
func (*PlaylistStatus) DeepCopyInto ¶ added in v0.11.0
func (in *PlaylistStatus) DeepCopyInto(out *PlaylistStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PreferencesInitParameters ¶ added in v0.8.0
type PreferencesInitParameters struct { // (String) The UID of the dashboard to display when a team member logs in. Defaults to “. // The UID of the dashboard to display when a team member logs in. Defaults to “. HomeDashboardUID *string `json:"homeDashboardUid,omitempty" tf:"home_dashboard_uid,omitempty"` // (String) The default theme for this team. Available themes are light, dark, system, or an empty string for the default theme. Defaults to “. // The default theme for this team. Available themes are `light`, `dark`, `system`, or an empty string for the default theme. Defaults to “. Theme *string `json:"theme,omitempty" tf:"theme,omitempty"` // (String) The default timezone for this team. Available values are utc, browser, or an empty string for the default. Defaults to “. // The default timezone for this team. Available values are `utc`, `browser`, or an empty string for the default. Defaults to “. Timezone *string `json:"timezone,omitempty" tf:"timezone,omitempty"` // (String) The default week start day for this team. Available values are sunday, monday, saturday, or an empty string for the default. Defaults to “. // The default week start day for this team. Available values are `sunday`, `monday`, `saturday`, or an empty string for the default. Defaults to “. WeekStart *string `json:"weekStart,omitempty" tf:"week_start,omitempty"` }
func (*PreferencesInitParameters) DeepCopy ¶ added in v0.8.0
func (in *PreferencesInitParameters) DeepCopy() *PreferencesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreferencesInitParameters.
func (*PreferencesInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *PreferencesInitParameters) DeepCopyInto(out *PreferencesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PreferencesObservation ¶ added in v0.4.0
type PreferencesObservation struct { // (String) The UID of the dashboard to display when a team member logs in. Defaults to “. // The UID of the dashboard to display when a team member logs in. Defaults to “. HomeDashboardUID *string `json:"homeDashboardUid,omitempty" tf:"home_dashboard_uid,omitempty"` // (String) The default theme for this team. Available themes are light, dark, system, or an empty string for the default theme. Defaults to “. // The default theme for this team. Available themes are `light`, `dark`, `system`, or an empty string for the default theme. Defaults to “. Theme *string `json:"theme,omitempty" tf:"theme,omitempty"` // (String) The default timezone for this team. Available values are utc, browser, or an empty string for the default. Defaults to “. // The default timezone for this team. Available values are `utc`, `browser`, or an empty string for the default. Defaults to “. Timezone *string `json:"timezone,omitempty" tf:"timezone,omitempty"` // (String) The default week start day for this team. Available values are sunday, monday, saturday, or an empty string for the default. Defaults to “. // The default week start day for this team. Available values are `sunday`, `monday`, `saturday`, or an empty string for the default. Defaults to “. WeekStart *string `json:"weekStart,omitempty" tf:"week_start,omitempty"` }
func (*PreferencesObservation) DeepCopy ¶ added in v0.4.0
func (in *PreferencesObservation) DeepCopy() *PreferencesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreferencesObservation.
func (*PreferencesObservation) DeepCopyInto ¶ added in v0.4.0
func (in *PreferencesObservation) DeepCopyInto(out *PreferencesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PreferencesParameters ¶ added in v0.4.0
type PreferencesParameters struct { // (String) The UID of the dashboard to display when a team member logs in. Defaults to “. // The UID of the dashboard to display when a team member logs in. Defaults to “. // +kubebuilder:validation:Optional HomeDashboardUID *string `json:"homeDashboardUid,omitempty" tf:"home_dashboard_uid,omitempty"` // (String) The default theme for this team. Available themes are light, dark, system, or an empty string for the default theme. Defaults to “. // The default theme for this team. Available themes are `light`, `dark`, `system`, or an empty string for the default theme. Defaults to “. // +kubebuilder:validation:Optional Theme *string `json:"theme,omitempty" tf:"theme,omitempty"` // (String) The default timezone for this team. Available values are utc, browser, or an empty string for the default. Defaults to “. // The default timezone for this team. Available values are `utc`, `browser`, or an empty string for the default. Defaults to “. // +kubebuilder:validation:Optional Timezone *string `json:"timezone,omitempty" tf:"timezone,omitempty"` // (String) The default week start day for this team. Available values are sunday, monday, saturday, or an empty string for the default. Defaults to “. // The default week start day for this team. Available values are `sunday`, `monday`, `saturday`, or an empty string for the default. Defaults to “. // +kubebuilder:validation:Optional WeekStart *string `json:"weekStart,omitempty" tf:"week_start,omitempty"` }
func (*PreferencesParameters) DeepCopy ¶ added in v0.4.0
func (in *PreferencesParameters) DeepCopy() *PreferencesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PreferencesParameters.
func (*PreferencesParameters) DeepCopyInto ¶ added in v0.4.0
func (in *PreferencesParameters) DeepCopyInto(out *PreferencesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceAccount ¶ added in v0.7.0
type ServiceAccount struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec ServiceAccountSpec `json:"spec"` Status ServiceAccountStatus `json:"status,omitempty"` }
ServiceAccount is the Schema for the ServiceAccounts API. Note: This resource is available only with Grafana 9.1+. Official documentation https://grafana.com/docs/grafana/latest/administration/service-accounts/HTTP API https://grafana.com/docs/grafana/latest/developers/http_api/serviceaccount/#service-account-api +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:resource:scope=Cluster,categories={crossplane,managed,grafana}
func (*ServiceAccount) DeepCopy ¶ added in v0.7.0
func (in *ServiceAccount) DeepCopy() *ServiceAccount
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccount.
func (*ServiceAccount) DeepCopyInto ¶ added in v0.7.0
func (in *ServiceAccount) DeepCopyInto(out *ServiceAccount)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceAccount) DeepCopyObject ¶ added in v0.7.0
func (in *ServiceAccount) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ServiceAccount) GetCondition ¶ added in v0.7.0
func (mg *ServiceAccount) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this ServiceAccount.
func (*ServiceAccount) GetConnectionDetailsMapping ¶ added in v0.7.0
func (tr *ServiceAccount) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this ServiceAccount
func (*ServiceAccount) GetDeletionPolicy ¶ added in v0.7.0
func (mg *ServiceAccount) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this ServiceAccount.
func (*ServiceAccount) GetID ¶ added in v0.7.0
func (tr *ServiceAccount) GetID() string
GetID returns ID of underlying Terraform resource of this ServiceAccount
func (*ServiceAccount) GetInitParameters ¶ added in v0.8.0
func (tr *ServiceAccount) GetInitParameters() (map[string]any, error)
GetInitParameters of this ServiceAccount
func (*ServiceAccount) GetManagementPolicies ¶ added in v0.8.0
func (mg *ServiceAccount) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this ServiceAccount.
func (*ServiceAccount) GetMergedParameters ¶ added in v0.10.1
func (tr *ServiceAccount) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this ServiceAccount
func (*ServiceAccount) GetObservation ¶ added in v0.7.0
func (tr *ServiceAccount) GetObservation() (map[string]any, error)
GetObservation of this ServiceAccount
func (*ServiceAccount) GetParameters ¶ added in v0.7.0
func (tr *ServiceAccount) GetParameters() (map[string]any, error)
GetParameters of this ServiceAccount
func (*ServiceAccount) GetProviderConfigReference ¶ added in v0.7.0
func (mg *ServiceAccount) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this ServiceAccount.
func (*ServiceAccount) GetPublishConnectionDetailsTo ¶ added in v0.7.0
func (mg *ServiceAccount) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this ServiceAccount.
func (*ServiceAccount) GetTerraformResourceType ¶ added in v0.7.0
func (mg *ServiceAccount) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this ServiceAccount
func (*ServiceAccount) GetTerraformSchemaVersion ¶ added in v0.7.0
func (tr *ServiceAccount) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*ServiceAccount) GetWriteConnectionSecretToReference ¶ added in v0.7.0
func (mg *ServiceAccount) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this ServiceAccount.
func (*ServiceAccount) Hub ¶ added in v0.10.1
func (tr *ServiceAccount) Hub()
Hub marks this type as a conversion hub.
func (*ServiceAccount) LateInitialize ¶ added in v0.7.0
func (tr *ServiceAccount) LateInitialize(attrs []byte) (bool, error)
LateInitialize this ServiceAccount using its observed tfState. returns True if there are any spec changes for the resource.
func (*ServiceAccount) ResolveReferences ¶ added in v0.7.0
ResolveReferences of this ServiceAccount.
func (*ServiceAccount) SetConditions ¶ added in v0.7.0
func (mg *ServiceAccount) SetConditions(c ...xpv1.Condition)
SetConditions of this ServiceAccount.
func (*ServiceAccount) SetDeletionPolicy ¶ added in v0.7.0
func (mg *ServiceAccount) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this ServiceAccount.
func (*ServiceAccount) SetManagementPolicies ¶ added in v0.8.0
func (mg *ServiceAccount) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this ServiceAccount.
func (*ServiceAccount) SetObservation ¶ added in v0.7.0
func (tr *ServiceAccount) SetObservation(obs map[string]any) error
SetObservation for this ServiceAccount
func (*ServiceAccount) SetParameters ¶ added in v0.7.0
func (tr *ServiceAccount) SetParameters(params map[string]any) error
SetParameters for this ServiceAccount
func (*ServiceAccount) SetProviderConfigReference ¶ added in v0.7.0
func (mg *ServiceAccount) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this ServiceAccount.
func (*ServiceAccount) SetPublishConnectionDetailsTo ¶ added in v0.7.0
func (mg *ServiceAccount) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this ServiceAccount.
func (*ServiceAccount) SetWriteConnectionSecretToReference ¶ added in v0.7.0
func (mg *ServiceAccount) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this ServiceAccount.
type ServiceAccountInitParameters ¶ added in v0.8.0
type ServiceAccountInitParameters struct { // (Boolean) The disabled status for the service account. Defaults to false. // The disabled status for the service account. Defaults to `false`. IsDisabled *bool `json:"isDisabled,omitempty" tf:"is_disabled,omitempty"` // (String) The name of the service account. // The name of the service account. Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Organization // +crossplane:generate:reference:refFieldName=OrganizationRef // +crossplane:generate:reference:selectorFieldName=OrganizationSelector OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Reference to a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationRef *v1.Reference `json:"organizationRef,omitempty" tf:"-"` // Selector for a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationSelector *v1.Selector `json:"organizationSelector,omitempty" tf:"-"` // (String) The basic role of the service account in the organization. // The basic role of the service account in the organization. Role *string `json:"role,omitempty" tf:"role,omitempty"` }
func (*ServiceAccountInitParameters) DeepCopy ¶ added in v0.8.0
func (in *ServiceAccountInitParameters) DeepCopy() *ServiceAccountInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountInitParameters.
func (*ServiceAccountInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *ServiceAccountInitParameters) DeepCopyInto(out *ServiceAccountInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceAccountList ¶ added in v0.7.0
type ServiceAccountList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ServiceAccount `json:"items"` }
ServiceAccountList contains a list of ServiceAccounts
func (*ServiceAccountList) DeepCopy ¶ added in v0.7.0
func (in *ServiceAccountList) DeepCopy() *ServiceAccountList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountList.
func (*ServiceAccountList) DeepCopyInto ¶ added in v0.7.0
func (in *ServiceAccountList) DeepCopyInto(out *ServiceAccountList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceAccountList) DeepCopyObject ¶ added in v0.7.0
func (in *ServiceAccountList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ServiceAccountList) GetItems ¶ added in v0.7.0
func (l *ServiceAccountList) GetItems() []resource.Managed
GetItems of this ServiceAccountList.
type ServiceAccountObservation ¶ added in v0.7.0
type ServiceAccountObservation struct { // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (Boolean) The disabled status for the service account. Defaults to false. // The disabled status for the service account. Defaults to `false`. IsDisabled *bool `json:"isDisabled,omitempty" tf:"is_disabled,omitempty"` // (String) The name of the service account. // The name of the service account. Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // (String) The basic role of the service account in the organization. // The basic role of the service account in the organization. Role *string `json:"role,omitempty" tf:"role,omitempty"` }
func (*ServiceAccountObservation) DeepCopy ¶ added in v0.7.0
func (in *ServiceAccountObservation) DeepCopy() *ServiceAccountObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountObservation.
func (*ServiceAccountObservation) DeepCopyInto ¶ added in v0.7.0
func (in *ServiceAccountObservation) DeepCopyInto(out *ServiceAccountObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceAccountParameters ¶ added in v0.7.0
type ServiceAccountParameters struct { // (Boolean) The disabled status for the service account. Defaults to false. // The disabled status for the service account. Defaults to `false`. // +kubebuilder:validation:Optional IsDisabled *bool `json:"isDisabled,omitempty" tf:"is_disabled,omitempty"` // (String) The name of the service account. // The name of the service account. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Organization // +crossplane:generate:reference:refFieldName=OrganizationRef // +crossplane:generate:reference:selectorFieldName=OrganizationSelector // +kubebuilder:validation:Optional OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Reference to a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationRef *v1.Reference `json:"organizationRef,omitempty" tf:"-"` // Selector for a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationSelector *v1.Selector `json:"organizationSelector,omitempty" tf:"-"` // (String) The basic role of the service account in the organization. // The basic role of the service account in the organization. // +kubebuilder:validation:Optional Role *string `json:"role,omitempty" tf:"role,omitempty"` }
func (*ServiceAccountParameters) DeepCopy ¶ added in v0.7.0
func (in *ServiceAccountParameters) DeepCopy() *ServiceAccountParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountParameters.
func (*ServiceAccountParameters) DeepCopyInto ¶ added in v0.7.0
func (in *ServiceAccountParameters) DeepCopyInto(out *ServiceAccountParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceAccountPermission ¶ added in v0.7.0
type ServiceAccountPermission struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ServiceAccountPermissionSpec `json:"spec"` Status ServiceAccountPermissionStatus `json:"status,omitempty"` }
ServiceAccountPermission is the Schema for the ServiceAccountPermissions API. Manages the entire set of permissions for a service account. Permissions that aren't specified when applying this resource will be removed. Note: This resource is available from Grafana 9.2.4 onwards. Official documentation https://grafana.com/docs/grafana/latest/administration/service-accounts/#manage-users-and-teams-permissions-for-a-service-account-in-grafana +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:resource:scope=Cluster,categories={crossplane,managed,grafana}
func (*ServiceAccountPermission) DeepCopy ¶ added in v0.7.0
func (in *ServiceAccountPermission) DeepCopy() *ServiceAccountPermission
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountPermission.
func (*ServiceAccountPermission) DeepCopyInto ¶ added in v0.7.0
func (in *ServiceAccountPermission) DeepCopyInto(out *ServiceAccountPermission)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceAccountPermission) DeepCopyObject ¶ added in v0.7.0
func (in *ServiceAccountPermission) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ServiceAccountPermission) GetCondition ¶ added in v0.7.0
func (mg *ServiceAccountPermission) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this ServiceAccountPermission.
func (*ServiceAccountPermission) GetConnectionDetailsMapping ¶ added in v0.7.0
func (tr *ServiceAccountPermission) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this ServiceAccountPermission
func (*ServiceAccountPermission) GetDeletionPolicy ¶ added in v0.7.0
func (mg *ServiceAccountPermission) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this ServiceAccountPermission.
func (*ServiceAccountPermission) GetID ¶ added in v0.7.0
func (tr *ServiceAccountPermission) GetID() string
GetID returns ID of underlying Terraform resource of this ServiceAccountPermission
func (*ServiceAccountPermission) GetInitParameters ¶ added in v0.8.0
func (tr *ServiceAccountPermission) GetInitParameters() (map[string]any, error)
GetInitParameters of this ServiceAccountPermission
func (*ServiceAccountPermission) GetManagementPolicies ¶ added in v0.8.0
func (mg *ServiceAccountPermission) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this ServiceAccountPermission.
func (*ServiceAccountPermission) GetMergedParameters ¶ added in v0.10.1
func (tr *ServiceAccountPermission) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this ServiceAccountPermission
func (*ServiceAccountPermission) GetObservation ¶ added in v0.7.0
func (tr *ServiceAccountPermission) GetObservation() (map[string]any, error)
GetObservation of this ServiceAccountPermission
func (*ServiceAccountPermission) GetParameters ¶ added in v0.7.0
func (tr *ServiceAccountPermission) GetParameters() (map[string]any, error)
GetParameters of this ServiceAccountPermission
func (*ServiceAccountPermission) GetProviderConfigReference ¶ added in v0.7.0
func (mg *ServiceAccountPermission) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this ServiceAccountPermission.
func (*ServiceAccountPermission) GetPublishConnectionDetailsTo ¶ added in v0.7.0
func (mg *ServiceAccountPermission) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this ServiceAccountPermission.
func (*ServiceAccountPermission) GetTerraformResourceType ¶ added in v0.7.0
func (mg *ServiceAccountPermission) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this ServiceAccountPermission
func (*ServiceAccountPermission) GetTerraformSchemaVersion ¶ added in v0.7.0
func (tr *ServiceAccountPermission) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*ServiceAccountPermission) GetWriteConnectionSecretToReference ¶ added in v0.7.0
func (mg *ServiceAccountPermission) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this ServiceAccountPermission.
func (*ServiceAccountPermission) Hub ¶ added in v0.10.1
func (tr *ServiceAccountPermission) Hub()
Hub marks this type as a conversion hub.
func (*ServiceAccountPermission) LateInitialize ¶ added in v0.7.0
func (tr *ServiceAccountPermission) LateInitialize(attrs []byte) (bool, error)
LateInitialize this ServiceAccountPermission using its observed tfState. returns True if there are any spec changes for the resource.
func (*ServiceAccountPermission) ResolveReferences ¶ added in v0.7.0
ResolveReferences of this ServiceAccountPermission.
func (*ServiceAccountPermission) SetConditions ¶ added in v0.7.0
func (mg *ServiceAccountPermission) SetConditions(c ...xpv1.Condition)
SetConditions of this ServiceAccountPermission.
func (*ServiceAccountPermission) SetDeletionPolicy ¶ added in v0.7.0
func (mg *ServiceAccountPermission) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this ServiceAccountPermission.
func (*ServiceAccountPermission) SetManagementPolicies ¶ added in v0.8.0
func (mg *ServiceAccountPermission) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this ServiceAccountPermission.
func (*ServiceAccountPermission) SetObservation ¶ added in v0.7.0
func (tr *ServiceAccountPermission) SetObservation(obs map[string]any) error
SetObservation for this ServiceAccountPermission
func (*ServiceAccountPermission) SetParameters ¶ added in v0.7.0
func (tr *ServiceAccountPermission) SetParameters(params map[string]any) error
SetParameters for this ServiceAccountPermission
func (*ServiceAccountPermission) SetProviderConfigReference ¶ added in v0.7.0
func (mg *ServiceAccountPermission) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this ServiceAccountPermission.
func (*ServiceAccountPermission) SetPublishConnectionDetailsTo ¶ added in v0.7.0
func (mg *ServiceAccountPermission) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this ServiceAccountPermission.
func (*ServiceAccountPermission) SetWriteConnectionSecretToReference ¶ added in v0.7.0
func (mg *ServiceAccountPermission) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this ServiceAccountPermission.
type ServiceAccountPermissionInitParameters ¶ added in v0.8.0
type ServiceAccountPermissionInitParameters struct { // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Organization // +crossplane:generate:reference:refFieldName=OrganizationRef // +crossplane:generate:reference:selectorFieldName=OrganizationSelector OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Reference to a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationRef *v1.Reference `json:"organizationRef,omitempty" tf:"-"` // Selector for a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationSelector *v1.Selector `json:"organizationSelector,omitempty" tf:"-"` // (Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema) // The permission items to add/update. Items that are omitted from the list will be removed. Permissions []ServiceAccountPermissionPermissionsInitParameters `json:"permissions,omitempty" tf:"permissions,omitempty"` // (String) The id of the service account. // The id of the service account. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.ServiceAccount // +crossplane:generate:reference:refFieldName=ServiceAccountRef // +crossplane:generate:reference:selectorFieldName=ServiceAccountSelector ServiceAccountID *string `json:"serviceAccountId,omitempty" tf:"service_account_id,omitempty"` // Reference to a ServiceAccount in oss to populate serviceAccountId. // +kubebuilder:validation:Optional ServiceAccountRef *v1.Reference `json:"serviceAccountRef,omitempty" tf:"-"` // Selector for a ServiceAccount in oss to populate serviceAccountId. // +kubebuilder:validation:Optional ServiceAccountSelector *v1.Selector `json:"serviceAccountSelector,omitempty" tf:"-"` }
func (*ServiceAccountPermissionInitParameters) DeepCopy ¶ added in v0.8.0
func (in *ServiceAccountPermissionInitParameters) DeepCopy() *ServiceAccountPermissionInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountPermissionInitParameters.
func (*ServiceAccountPermissionInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *ServiceAccountPermissionInitParameters) DeepCopyInto(out *ServiceAccountPermissionInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceAccountPermissionList ¶ added in v0.7.0
type ServiceAccountPermissionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ServiceAccountPermission `json:"items"` }
ServiceAccountPermissionList contains a list of ServiceAccountPermissions
func (*ServiceAccountPermissionList) DeepCopy ¶ added in v0.7.0
func (in *ServiceAccountPermissionList) DeepCopy() *ServiceAccountPermissionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountPermissionList.
func (*ServiceAccountPermissionList) DeepCopyInto ¶ added in v0.7.0
func (in *ServiceAccountPermissionList) DeepCopyInto(out *ServiceAccountPermissionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceAccountPermissionList) DeepCopyObject ¶ added in v0.7.0
func (in *ServiceAccountPermissionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ServiceAccountPermissionList) GetItems ¶ added in v0.7.0
func (l *ServiceAccountPermissionList) GetItems() []resource.Managed
GetItems of this ServiceAccountPermissionList.
type ServiceAccountPermissionObservation ¶ added in v0.7.0
type ServiceAccountPermissionObservation struct { // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // (Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema) // The permission items to add/update. Items that are omitted from the list will be removed. Permissions []ServiceAccountPermissionPermissionsObservation `json:"permissions,omitempty" tf:"permissions,omitempty"` // (String) The id of the service account. // The id of the service account. ServiceAccountID *string `json:"serviceAccountId,omitempty" tf:"service_account_id,omitempty"` }
func (*ServiceAccountPermissionObservation) DeepCopy ¶ added in v0.7.0
func (in *ServiceAccountPermissionObservation) DeepCopy() *ServiceAccountPermissionObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountPermissionObservation.
func (*ServiceAccountPermissionObservation) DeepCopyInto ¶ added in v0.7.0
func (in *ServiceAccountPermissionObservation) DeepCopyInto(out *ServiceAccountPermissionObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceAccountPermissionParameters ¶ added in v0.7.0
type ServiceAccountPermissionParameters struct { // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Organization // +crossplane:generate:reference:refFieldName=OrganizationRef // +crossplane:generate:reference:selectorFieldName=OrganizationSelector // +kubebuilder:validation:Optional OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Reference to a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationRef *v1.Reference `json:"organizationRef,omitempty" tf:"-"` // Selector for a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationSelector *v1.Selector `json:"organizationSelector,omitempty" tf:"-"` // (Block Set) The permission items to add/update. Items that are omitted from the list will be removed. (see below for nested schema) // The permission items to add/update. Items that are omitted from the list will be removed. // +kubebuilder:validation:Optional Permissions []ServiceAccountPermissionPermissionsParameters `json:"permissions,omitempty" tf:"permissions,omitempty"` // (String) The id of the service account. // The id of the service account. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.ServiceAccount // +crossplane:generate:reference:refFieldName=ServiceAccountRef // +crossplane:generate:reference:selectorFieldName=ServiceAccountSelector // +kubebuilder:validation:Optional ServiceAccountID *string `json:"serviceAccountId,omitempty" tf:"service_account_id,omitempty"` // Reference to a ServiceAccount in oss to populate serviceAccountId. // +kubebuilder:validation:Optional ServiceAccountRef *v1.Reference `json:"serviceAccountRef,omitempty" tf:"-"` // Selector for a ServiceAccount in oss to populate serviceAccountId. // +kubebuilder:validation:Optional ServiceAccountSelector *v1.Selector `json:"serviceAccountSelector,omitempty" tf:"-"` }
func (*ServiceAccountPermissionParameters) DeepCopy ¶ added in v0.7.0
func (in *ServiceAccountPermissionParameters) DeepCopy() *ServiceAccountPermissionParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountPermissionParameters.
func (*ServiceAccountPermissionParameters) DeepCopyInto ¶ added in v0.7.0
func (in *ServiceAccountPermissionParameters) DeepCopyInto(out *ServiceAccountPermissionParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceAccountPermissionPermissionsInitParameters ¶ added in v0.8.0
type ServiceAccountPermissionPermissionsInitParameters struct { // (String) Permission to associate with item. Must be Edit or Admin. // Permission to associate with item. Must be `Edit` or `Admin`. Permission *string `json:"permission,omitempty" tf:"permission,omitempty"` // (String) ID of the team to manage permissions for. Specify either this or user_id. Defaults to 0. // ID of the team to manage permissions for. Specify either this or `user_id`. Defaults to `0`. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Team // +crossplane:generate:reference:refFieldName=TeamRef // +crossplane:generate:reference:selectorFieldName=TeamSelector TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"` // Reference to a Team in oss to populate teamId. // +kubebuilder:validation:Optional TeamRef *v1.Reference `json:"teamRef,omitempty" tf:"-"` // Selector for a Team in oss to populate teamId. // +kubebuilder:validation:Optional TeamSelector *v1.Selector `json:"teamSelector,omitempty" tf:"-"` // (String) ID of the user or service account to manage permissions for. Specify either this or team_id. Defaults to 0. // ID of the user or service account to manage permissions for. Specify either this or `team_id`. Defaults to `0`. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.User // +crossplane:generate:reference:refFieldName=UserRef // +crossplane:generate:reference:selectorFieldName=UserSelector UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"` // Reference to a User in oss to populate userId. // +kubebuilder:validation:Optional UserRef *v1.Reference `json:"userRef,omitempty" tf:"-"` // Selector for a User in oss to populate userId. // +kubebuilder:validation:Optional UserSelector *v1.Selector `json:"userSelector,omitempty" tf:"-"` }
func (*ServiceAccountPermissionPermissionsInitParameters) DeepCopy ¶ added in v0.8.0
func (in *ServiceAccountPermissionPermissionsInitParameters) DeepCopy() *ServiceAccountPermissionPermissionsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountPermissionPermissionsInitParameters.
func (*ServiceAccountPermissionPermissionsInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *ServiceAccountPermissionPermissionsInitParameters) DeepCopyInto(out *ServiceAccountPermissionPermissionsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceAccountPermissionPermissionsObservation ¶ added in v0.7.0
type ServiceAccountPermissionPermissionsObservation struct { // (String) Permission to associate with item. Must be Edit or Admin. // Permission to associate with item. Must be `Edit` or `Admin`. Permission *string `json:"permission,omitempty" tf:"permission,omitempty"` // (String) ID of the team to manage permissions for. Specify either this or user_id. Defaults to 0. // ID of the team to manage permissions for. Specify either this or `user_id`. Defaults to `0`. TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"` // (String) ID of the user or service account to manage permissions for. Specify either this or team_id. Defaults to 0. // ID of the user or service account to manage permissions for. Specify either this or `team_id`. Defaults to `0`. UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"` }
func (*ServiceAccountPermissionPermissionsObservation) DeepCopy ¶ added in v0.7.0
func (in *ServiceAccountPermissionPermissionsObservation) DeepCopy() *ServiceAccountPermissionPermissionsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountPermissionPermissionsObservation.
func (*ServiceAccountPermissionPermissionsObservation) DeepCopyInto ¶ added in v0.7.0
func (in *ServiceAccountPermissionPermissionsObservation) DeepCopyInto(out *ServiceAccountPermissionPermissionsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceAccountPermissionPermissionsParameters ¶ added in v0.7.0
type ServiceAccountPermissionPermissionsParameters struct { // (String) Permission to associate with item. Must be Edit or Admin. // Permission to associate with item. Must be `Edit` or `Admin`. // +kubebuilder:validation:Optional Permission *string `json:"permission" tf:"permission,omitempty"` // (String) ID of the team to manage permissions for. Specify either this or user_id. Defaults to 0. // ID of the team to manage permissions for. Specify either this or `user_id`. Defaults to `0`. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Team // +crossplane:generate:reference:refFieldName=TeamRef // +crossplane:generate:reference:selectorFieldName=TeamSelector // +kubebuilder:validation:Optional TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"` // Reference to a Team in oss to populate teamId. // +kubebuilder:validation:Optional TeamRef *v1.Reference `json:"teamRef,omitempty" tf:"-"` // Selector for a Team in oss to populate teamId. // +kubebuilder:validation:Optional TeamSelector *v1.Selector `json:"teamSelector,omitempty" tf:"-"` // (String) ID of the user or service account to manage permissions for. Specify either this or team_id. Defaults to 0. // ID of the user or service account to manage permissions for. Specify either this or `team_id`. Defaults to `0`. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.User // +crossplane:generate:reference:refFieldName=UserRef // +crossplane:generate:reference:selectorFieldName=UserSelector // +kubebuilder:validation:Optional UserID *string `json:"userId,omitempty" tf:"user_id,omitempty"` // Reference to a User in oss to populate userId. // +kubebuilder:validation:Optional UserRef *v1.Reference `json:"userRef,omitempty" tf:"-"` // Selector for a User in oss to populate userId. // +kubebuilder:validation:Optional UserSelector *v1.Selector `json:"userSelector,omitempty" tf:"-"` }
func (*ServiceAccountPermissionPermissionsParameters) DeepCopy ¶ added in v0.7.0
func (in *ServiceAccountPermissionPermissionsParameters) DeepCopy() *ServiceAccountPermissionPermissionsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountPermissionPermissionsParameters.
func (*ServiceAccountPermissionPermissionsParameters) DeepCopyInto ¶ added in v0.7.0
func (in *ServiceAccountPermissionPermissionsParameters) DeepCopyInto(out *ServiceAccountPermissionPermissionsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceAccountPermissionSpec ¶ added in v0.7.0
type ServiceAccountPermissionSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ServiceAccountPermissionParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider ServiceAccountPermissionInitParameters `json:"initProvider,omitempty"` }
ServiceAccountPermissionSpec defines the desired state of ServiceAccountPermission
func (*ServiceAccountPermissionSpec) DeepCopy ¶ added in v0.7.0
func (in *ServiceAccountPermissionSpec) DeepCopy() *ServiceAccountPermissionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountPermissionSpec.
func (*ServiceAccountPermissionSpec) DeepCopyInto ¶ added in v0.7.0
func (in *ServiceAccountPermissionSpec) DeepCopyInto(out *ServiceAccountPermissionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceAccountPermissionStatus ¶ added in v0.7.0
type ServiceAccountPermissionStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ServiceAccountPermissionObservation `json:"atProvider,omitempty"` }
ServiceAccountPermissionStatus defines the observed state of ServiceAccountPermission.
func (*ServiceAccountPermissionStatus) DeepCopy ¶ added in v0.7.0
func (in *ServiceAccountPermissionStatus) DeepCopy() *ServiceAccountPermissionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountPermissionStatus.
func (*ServiceAccountPermissionStatus) DeepCopyInto ¶ added in v0.7.0
func (in *ServiceAccountPermissionStatus) DeepCopyInto(out *ServiceAccountPermissionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceAccountSpec ¶ added in v0.7.0
type ServiceAccountSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ServiceAccountParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider ServiceAccountInitParameters `json:"initProvider,omitempty"` }
ServiceAccountSpec defines the desired state of ServiceAccount
func (*ServiceAccountSpec) DeepCopy ¶ added in v0.7.0
func (in *ServiceAccountSpec) DeepCopy() *ServiceAccountSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountSpec.
func (*ServiceAccountSpec) DeepCopyInto ¶ added in v0.7.0
func (in *ServiceAccountSpec) DeepCopyInto(out *ServiceAccountSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceAccountStatus ¶ added in v0.7.0
type ServiceAccountStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ServiceAccountObservation `json:"atProvider,omitempty"` }
ServiceAccountStatus defines the observed state of ServiceAccount.
func (*ServiceAccountStatus) DeepCopy ¶ added in v0.7.0
func (in *ServiceAccountStatus) DeepCopy() *ServiceAccountStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountStatus.
func (*ServiceAccountStatus) DeepCopyInto ¶ added in v0.7.0
func (in *ServiceAccountStatus) DeepCopyInto(out *ServiceAccountStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceAccountToken ¶ added in v0.7.0
type ServiceAccountToken struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec ServiceAccountTokenSpec `json:"spec"` Status ServiceAccountTokenStatus `json:"status,omitempty"` }
ServiceAccountToken is the Schema for the ServiceAccountTokens API. Note: This resource is available only with Grafana 9.1+. Official documentation https://grafana.com/docs/grafana/latest/administration/service-accounts/HTTP API https://grafana.com/docs/grafana/latest/developers/http_api/serviceaccount/#service-account-api +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:resource:scope=Cluster,categories={crossplane,managed,grafana}
func (*ServiceAccountToken) DeepCopy ¶ added in v0.7.0
func (in *ServiceAccountToken) DeepCopy() *ServiceAccountToken
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountToken.
func (*ServiceAccountToken) DeepCopyInto ¶ added in v0.7.0
func (in *ServiceAccountToken) DeepCopyInto(out *ServiceAccountToken)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceAccountToken) DeepCopyObject ¶ added in v0.7.0
func (in *ServiceAccountToken) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ServiceAccountToken) GetCondition ¶ added in v0.7.0
func (mg *ServiceAccountToken) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this ServiceAccountToken.
func (*ServiceAccountToken) GetConnectionDetailsMapping ¶ added in v0.7.0
func (tr *ServiceAccountToken) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this ServiceAccountToken
func (*ServiceAccountToken) GetDeletionPolicy ¶ added in v0.7.0
func (mg *ServiceAccountToken) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this ServiceAccountToken.
func (*ServiceAccountToken) GetID ¶ added in v0.7.0
func (tr *ServiceAccountToken) GetID() string
GetID returns ID of underlying Terraform resource of this ServiceAccountToken
func (*ServiceAccountToken) GetInitParameters ¶ added in v0.8.0
func (tr *ServiceAccountToken) GetInitParameters() (map[string]any, error)
GetInitParameters of this ServiceAccountToken
func (*ServiceAccountToken) GetManagementPolicies ¶ added in v0.8.0
func (mg *ServiceAccountToken) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this ServiceAccountToken.
func (*ServiceAccountToken) GetMergedParameters ¶ added in v0.10.1
func (tr *ServiceAccountToken) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this ServiceAccountToken
func (*ServiceAccountToken) GetObservation ¶ added in v0.7.0
func (tr *ServiceAccountToken) GetObservation() (map[string]any, error)
GetObservation of this ServiceAccountToken
func (*ServiceAccountToken) GetParameters ¶ added in v0.7.0
func (tr *ServiceAccountToken) GetParameters() (map[string]any, error)
GetParameters of this ServiceAccountToken
func (*ServiceAccountToken) GetProviderConfigReference ¶ added in v0.7.0
func (mg *ServiceAccountToken) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this ServiceAccountToken.
func (*ServiceAccountToken) GetPublishConnectionDetailsTo ¶ added in v0.7.0
func (mg *ServiceAccountToken) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this ServiceAccountToken.
func (*ServiceAccountToken) GetTerraformResourceType ¶ added in v0.7.0
func (mg *ServiceAccountToken) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this ServiceAccountToken
func (*ServiceAccountToken) GetTerraformSchemaVersion ¶ added in v0.7.0
func (tr *ServiceAccountToken) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*ServiceAccountToken) GetWriteConnectionSecretToReference ¶ added in v0.7.0
func (mg *ServiceAccountToken) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this ServiceAccountToken.
func (*ServiceAccountToken) Hub ¶ added in v0.10.1
func (tr *ServiceAccountToken) Hub()
Hub marks this type as a conversion hub.
func (*ServiceAccountToken) LateInitialize ¶ added in v0.7.0
func (tr *ServiceAccountToken) LateInitialize(attrs []byte) (bool, error)
LateInitialize this ServiceAccountToken using its observed tfState. returns True if there are any spec changes for the resource.
func (*ServiceAccountToken) ResolveReferences ¶ added in v0.7.0
ResolveReferences of this ServiceAccountToken.
func (*ServiceAccountToken) SetConditions ¶ added in v0.7.0
func (mg *ServiceAccountToken) SetConditions(c ...xpv1.Condition)
SetConditions of this ServiceAccountToken.
func (*ServiceAccountToken) SetDeletionPolicy ¶ added in v0.7.0
func (mg *ServiceAccountToken) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this ServiceAccountToken.
func (*ServiceAccountToken) SetManagementPolicies ¶ added in v0.8.0
func (mg *ServiceAccountToken) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this ServiceAccountToken.
func (*ServiceAccountToken) SetObservation ¶ added in v0.7.0
func (tr *ServiceAccountToken) SetObservation(obs map[string]any) error
SetObservation for this ServiceAccountToken
func (*ServiceAccountToken) SetParameters ¶ added in v0.7.0
func (tr *ServiceAccountToken) SetParameters(params map[string]any) error
SetParameters for this ServiceAccountToken
func (*ServiceAccountToken) SetProviderConfigReference ¶ added in v0.7.0
func (mg *ServiceAccountToken) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this ServiceAccountToken.
func (*ServiceAccountToken) SetPublishConnectionDetailsTo ¶ added in v0.7.0
func (mg *ServiceAccountToken) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this ServiceAccountToken.
func (*ServiceAccountToken) SetWriteConnectionSecretToReference ¶ added in v0.7.0
func (mg *ServiceAccountToken) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this ServiceAccountToken.
type ServiceAccountTokenInitParameters ¶ added in v0.8.0
type ServiceAccountTokenInitParameters struct { // (String) The name of the service account token. // The name of the service account token. Name *string `json:"name,omitempty" tf:"name,omitempty"` // (Number) The key expiration in seconds. It is optional. If it is a positive number an expiration date for the key is set. If it is null, zero or is omitted completely (unless api_key_max_seconds_to_live configuration option is set) the key will never expire. // The key expiration in seconds. It is optional. If it is a positive number an expiration date for the key is set. If it is null, zero or is omitted completely (unless `api_key_max_seconds_to_live` configuration option is set) the key will never expire. SecondsToLive *float64 `json:"secondsToLive,omitempty" tf:"seconds_to_live,omitempty"` // (String) The ID of the service account to which the token belongs. // The ID of the service account to which the token belongs. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.ServiceAccount // +crossplane:generate:reference:refFieldName=ServiceAccountRef // +crossplane:generate:reference:selectorFieldName=ServiceAccountSelector ServiceAccountID *string `json:"serviceAccountId,omitempty" tf:"service_account_id,omitempty"` // Reference to a ServiceAccount in oss to populate serviceAccountId. // +kubebuilder:validation:Optional ServiceAccountRef *v1.Reference `json:"serviceAccountRef,omitempty" tf:"-"` // Selector for a ServiceAccount in oss to populate serviceAccountId. // +kubebuilder:validation:Optional ServiceAccountSelector *v1.Selector `json:"serviceAccountSelector,omitempty" tf:"-"` }
func (*ServiceAccountTokenInitParameters) DeepCopy ¶ added in v0.8.0
func (in *ServiceAccountTokenInitParameters) DeepCopy() *ServiceAccountTokenInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountTokenInitParameters.
func (*ServiceAccountTokenInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *ServiceAccountTokenInitParameters) DeepCopyInto(out *ServiceAccountTokenInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceAccountTokenList ¶ added in v0.7.0
type ServiceAccountTokenList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ServiceAccountToken `json:"items"` }
ServiceAccountTokenList contains a list of ServiceAccountTokens
func (*ServiceAccountTokenList) DeepCopy ¶ added in v0.7.0
func (in *ServiceAccountTokenList) DeepCopy() *ServiceAccountTokenList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountTokenList.
func (*ServiceAccountTokenList) DeepCopyInto ¶ added in v0.7.0
func (in *ServiceAccountTokenList) DeepCopyInto(out *ServiceAccountTokenList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceAccountTokenList) DeepCopyObject ¶ added in v0.7.0
func (in *ServiceAccountTokenList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ServiceAccountTokenList) GetItems ¶ added in v0.7.0
func (l *ServiceAccountTokenList) GetItems() []resource.Managed
GetItems of this ServiceAccountTokenList.
type ServiceAccountTokenObservation ¶ added in v0.7.0
type ServiceAccountTokenObservation struct { // (String) The expiration date of the service account token. // The expiration date of the service account token. Expiration *string `json:"expiration,omitempty" tf:"expiration,omitempty"` // (Boolean) The status of the service account token. // The status of the service account token. HasExpired *bool `json:"hasExpired,omitempty" tf:"has_expired,omitempty"` // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (String) The name of the service account token. // The name of the service account token. Name *string `json:"name,omitempty" tf:"name,omitempty"` // (Number) The key expiration in seconds. It is optional. If it is a positive number an expiration date for the key is set. If it is null, zero or is omitted completely (unless api_key_max_seconds_to_live configuration option is set) the key will never expire. // The key expiration in seconds. It is optional. If it is a positive number an expiration date for the key is set. If it is null, zero or is omitted completely (unless `api_key_max_seconds_to_live` configuration option is set) the key will never expire. SecondsToLive *float64 `json:"secondsToLive,omitempty" tf:"seconds_to_live,omitempty"` // (String) The ID of the service account to which the token belongs. // The ID of the service account to which the token belongs. ServiceAccountID *string `json:"serviceAccountId,omitempty" tf:"service_account_id,omitempty"` }
func (*ServiceAccountTokenObservation) DeepCopy ¶ added in v0.7.0
func (in *ServiceAccountTokenObservation) DeepCopy() *ServiceAccountTokenObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountTokenObservation.
func (*ServiceAccountTokenObservation) DeepCopyInto ¶ added in v0.7.0
func (in *ServiceAccountTokenObservation) DeepCopyInto(out *ServiceAccountTokenObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceAccountTokenParameters ¶ added in v0.7.0
type ServiceAccountTokenParameters struct { // (String) The name of the service account token. // The name of the service account token. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // (Number) The key expiration in seconds. It is optional. If it is a positive number an expiration date for the key is set. If it is null, zero or is omitted completely (unless api_key_max_seconds_to_live configuration option is set) the key will never expire. // The key expiration in seconds. It is optional. If it is a positive number an expiration date for the key is set. If it is null, zero or is omitted completely (unless `api_key_max_seconds_to_live` configuration option is set) the key will never expire. // +kubebuilder:validation:Optional SecondsToLive *float64 `json:"secondsToLive,omitempty" tf:"seconds_to_live,omitempty"` // (String) The ID of the service account to which the token belongs. // The ID of the service account to which the token belongs. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.ServiceAccount // +crossplane:generate:reference:refFieldName=ServiceAccountRef // +crossplane:generate:reference:selectorFieldName=ServiceAccountSelector // +kubebuilder:validation:Optional ServiceAccountID *string `json:"serviceAccountId,omitempty" tf:"service_account_id,omitempty"` // Reference to a ServiceAccount in oss to populate serviceAccountId. // +kubebuilder:validation:Optional ServiceAccountRef *v1.Reference `json:"serviceAccountRef,omitempty" tf:"-"` // Selector for a ServiceAccount in oss to populate serviceAccountId. // +kubebuilder:validation:Optional ServiceAccountSelector *v1.Selector `json:"serviceAccountSelector,omitempty" tf:"-"` }
func (*ServiceAccountTokenParameters) DeepCopy ¶ added in v0.7.0
func (in *ServiceAccountTokenParameters) DeepCopy() *ServiceAccountTokenParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountTokenParameters.
func (*ServiceAccountTokenParameters) DeepCopyInto ¶ added in v0.7.0
func (in *ServiceAccountTokenParameters) DeepCopyInto(out *ServiceAccountTokenParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceAccountTokenSpec ¶ added in v0.7.0
type ServiceAccountTokenSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ServiceAccountTokenParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider ServiceAccountTokenInitParameters `json:"initProvider,omitempty"` }
ServiceAccountTokenSpec defines the desired state of ServiceAccountToken
func (*ServiceAccountTokenSpec) DeepCopy ¶ added in v0.7.0
func (in *ServiceAccountTokenSpec) DeepCopy() *ServiceAccountTokenSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountTokenSpec.
func (*ServiceAccountTokenSpec) DeepCopyInto ¶ added in v0.7.0
func (in *ServiceAccountTokenSpec) DeepCopyInto(out *ServiceAccountTokenSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceAccountTokenStatus ¶ added in v0.7.0
type ServiceAccountTokenStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ServiceAccountTokenObservation `json:"atProvider,omitempty"` }
ServiceAccountTokenStatus defines the observed state of ServiceAccountToken.
func (*ServiceAccountTokenStatus) DeepCopy ¶ added in v0.7.0
func (in *ServiceAccountTokenStatus) DeepCopy() *ServiceAccountTokenStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountTokenStatus.
func (*ServiceAccountTokenStatus) DeepCopyInto ¶ added in v0.7.0
func (in *ServiceAccountTokenStatus) DeepCopyInto(out *ServiceAccountTokenStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SsoSettings ¶ added in v0.11.0
type SsoSettings struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.oauth2Settings) || (has(self.initProvider) && has(self.initProvider.oauth2Settings))",message="spec.forProvider.oauth2Settings is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.providerName) || (has(self.initProvider) && has(self.initProvider.providerName))",message="spec.forProvider.providerName is a required parameter" Spec SsoSettingsSpec `json:"spec"` Status SsoSettingsStatus `json:"status,omitempty"` }
SsoSettings is the Schema for the SsoSettingss API. Manages Grafana SSO Settings for OAuth2. SAML support will be added soon. Official documentation https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-authentication/HTTP API https://grafana.com/docs/grafana/latest/developers/http_api/sso-settings/ +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:resource:scope=Cluster,categories={crossplane,managed,grafana}
func (*SsoSettings) DeepCopy ¶ added in v0.11.0
func (in *SsoSettings) DeepCopy() *SsoSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SsoSettings.
func (*SsoSettings) DeepCopyInto ¶ added in v0.11.0
func (in *SsoSettings) DeepCopyInto(out *SsoSettings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SsoSettings) DeepCopyObject ¶ added in v0.11.0
func (in *SsoSettings) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SsoSettings) GetCondition ¶ added in v0.11.0
func (mg *SsoSettings) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this SsoSettings.
func (*SsoSettings) GetConnectionDetailsMapping ¶ added in v0.11.0
func (tr *SsoSettings) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this SsoSettings
func (*SsoSettings) GetDeletionPolicy ¶ added in v0.11.0
func (mg *SsoSettings) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this SsoSettings.
func (*SsoSettings) GetID ¶ added in v0.11.0
func (tr *SsoSettings) GetID() string
GetID returns ID of underlying Terraform resource of this SsoSettings
func (*SsoSettings) GetInitParameters ¶ added in v0.11.0
func (tr *SsoSettings) GetInitParameters() (map[string]any, error)
GetInitParameters of this SsoSettings
func (*SsoSettings) GetManagementPolicies ¶ added in v0.11.0
func (mg *SsoSettings) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this SsoSettings.
func (*SsoSettings) GetMergedParameters ¶ added in v0.11.0
func (tr *SsoSettings) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this SsoSettings
func (*SsoSettings) GetObservation ¶ added in v0.11.0
func (tr *SsoSettings) GetObservation() (map[string]any, error)
GetObservation of this SsoSettings
func (*SsoSettings) GetParameters ¶ added in v0.11.0
func (tr *SsoSettings) GetParameters() (map[string]any, error)
GetParameters of this SsoSettings
func (*SsoSettings) GetProviderConfigReference ¶ added in v0.11.0
func (mg *SsoSettings) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this SsoSettings.
func (*SsoSettings) GetPublishConnectionDetailsTo ¶ added in v0.11.0
func (mg *SsoSettings) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this SsoSettings.
func (*SsoSettings) GetTerraformResourceType ¶ added in v0.11.0
func (mg *SsoSettings) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this SsoSettings
func (*SsoSettings) GetTerraformSchemaVersion ¶ added in v0.11.0
func (tr *SsoSettings) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*SsoSettings) GetWriteConnectionSecretToReference ¶ added in v0.11.0
func (mg *SsoSettings) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this SsoSettings.
func (*SsoSettings) Hub ¶ added in v0.11.0
func (tr *SsoSettings) Hub()
Hub marks this type as a conversion hub.
func (*SsoSettings) LateInitialize ¶ added in v0.11.0
func (tr *SsoSettings) LateInitialize(attrs []byte) (bool, error)
LateInitialize this SsoSettings using its observed tfState. returns True if there are any spec changes for the resource.
func (*SsoSettings) SetConditions ¶ added in v0.11.0
func (mg *SsoSettings) SetConditions(c ...xpv1.Condition)
SetConditions of this SsoSettings.
func (*SsoSettings) SetDeletionPolicy ¶ added in v0.11.0
func (mg *SsoSettings) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this SsoSettings.
func (*SsoSettings) SetManagementPolicies ¶ added in v0.11.0
func (mg *SsoSettings) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this SsoSettings.
func (*SsoSettings) SetObservation ¶ added in v0.11.0
func (tr *SsoSettings) SetObservation(obs map[string]any) error
SetObservation for this SsoSettings
func (*SsoSettings) SetParameters ¶ added in v0.11.0
func (tr *SsoSettings) SetParameters(params map[string]any) error
SetParameters for this SsoSettings
func (*SsoSettings) SetProviderConfigReference ¶ added in v0.11.0
func (mg *SsoSettings) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this SsoSettings.
func (*SsoSettings) SetPublishConnectionDetailsTo ¶ added in v0.11.0
func (mg *SsoSettings) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this SsoSettings.
func (*SsoSettings) SetWriteConnectionSecretToReference ¶ added in v0.11.0
func (mg *SsoSettings) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this SsoSettings.
type SsoSettingsInitParameters ¶ added in v0.11.0
type SsoSettingsInitParameters struct { // (Block Set, Min: 1, Max: 1) The SSO settings set. (see below for nested schema) // The SSO settings set. Oauth2Settings []Oauth2SettingsInitParameters `json:"oauth2Settings,omitempty" tf:"oauth2_settings,omitempty"` // (String) The name of the SSO provider. Supported values: github, gitlab, google, azuread, okta, generic_oauth. // The name of the SSO provider. Supported values: github, gitlab, google, azuread, okta, generic_oauth. ProviderName *string `json:"providerName,omitempty" tf:"provider_name,omitempty"` }
func (*SsoSettingsInitParameters) DeepCopy ¶ added in v0.11.0
func (in *SsoSettingsInitParameters) DeepCopy() *SsoSettingsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SsoSettingsInitParameters.
func (*SsoSettingsInitParameters) DeepCopyInto ¶ added in v0.11.0
func (in *SsoSettingsInitParameters) DeepCopyInto(out *SsoSettingsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SsoSettingsList ¶ added in v0.11.0
type SsoSettingsList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SsoSettings `json:"items"` }
SsoSettingsList contains a list of SsoSettingss
func (*SsoSettingsList) DeepCopy ¶ added in v0.11.0
func (in *SsoSettingsList) DeepCopy() *SsoSettingsList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SsoSettingsList.
func (*SsoSettingsList) DeepCopyInto ¶ added in v0.11.0
func (in *SsoSettingsList) DeepCopyInto(out *SsoSettingsList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SsoSettingsList) DeepCopyObject ¶ added in v0.11.0
func (in *SsoSettingsList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SsoSettingsList) GetItems ¶ added in v0.11.0
func (l *SsoSettingsList) GetItems() []resource.Managed
GetItems of this SsoSettingsList.
type SsoSettingsObservation ¶ added in v0.11.0
type SsoSettingsObservation struct { // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (Block Set, Min: 1, Max: 1) The SSO settings set. (see below for nested schema) // The SSO settings set. Oauth2Settings []Oauth2SettingsObservation `json:"oauth2Settings,omitempty" tf:"oauth2_settings,omitempty"` // (String) The name of the SSO provider. Supported values: github, gitlab, google, azuread, okta, generic_oauth. // The name of the SSO provider. Supported values: github, gitlab, google, azuread, okta, generic_oauth. ProviderName *string `json:"providerName,omitempty" tf:"provider_name,omitempty"` }
func (*SsoSettingsObservation) DeepCopy ¶ added in v0.11.0
func (in *SsoSettingsObservation) DeepCopy() *SsoSettingsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SsoSettingsObservation.
func (*SsoSettingsObservation) DeepCopyInto ¶ added in v0.11.0
func (in *SsoSettingsObservation) DeepCopyInto(out *SsoSettingsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SsoSettingsParameters ¶ added in v0.11.0
type SsoSettingsParameters struct { // (Block Set, Min: 1, Max: 1) The SSO settings set. (see below for nested schema) // The SSO settings set. // +kubebuilder:validation:Optional Oauth2Settings []Oauth2SettingsParameters `json:"oauth2Settings,omitempty" tf:"oauth2_settings,omitempty"` // (String) The name of the SSO provider. Supported values: github, gitlab, google, azuread, okta, generic_oauth. // The name of the SSO provider. Supported values: github, gitlab, google, azuread, okta, generic_oauth. // +kubebuilder:validation:Optional ProviderName *string `json:"providerName,omitempty" tf:"provider_name,omitempty"` }
func (*SsoSettingsParameters) DeepCopy ¶ added in v0.11.0
func (in *SsoSettingsParameters) DeepCopy() *SsoSettingsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SsoSettingsParameters.
func (*SsoSettingsParameters) DeepCopyInto ¶ added in v0.11.0
func (in *SsoSettingsParameters) DeepCopyInto(out *SsoSettingsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SsoSettingsSpec ¶ added in v0.11.0
type SsoSettingsSpec struct { v1.ResourceSpec `json:",inline"` ForProvider SsoSettingsParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider SsoSettingsInitParameters `json:"initProvider,omitempty"` }
SsoSettingsSpec defines the desired state of SsoSettings
func (*SsoSettingsSpec) DeepCopy ¶ added in v0.11.0
func (in *SsoSettingsSpec) DeepCopy() *SsoSettingsSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SsoSettingsSpec.
func (*SsoSettingsSpec) DeepCopyInto ¶ added in v0.11.0
func (in *SsoSettingsSpec) DeepCopyInto(out *SsoSettingsSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SsoSettingsStatus ¶ added in v0.11.0
type SsoSettingsStatus struct { v1.ResourceStatus `json:",inline"` AtProvider SsoSettingsObservation `json:"atProvider,omitempty"` }
SsoSettingsStatus defines the observed state of SsoSettings.
func (*SsoSettingsStatus) DeepCopy ¶ added in v0.11.0
func (in *SsoSettingsStatus) DeepCopy() *SsoSettingsStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SsoSettingsStatus.
func (*SsoSettingsStatus) DeepCopyInto ¶ added in v0.11.0
func (in *SsoSettingsStatus) DeepCopyInto(out *SsoSettingsStatus)
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"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec TeamSpec `json:"spec"` Status TeamStatus `json:"status,omitempty"` }
Team is the Schema for the Teams API. Official documentation https://grafana.com/docs/grafana/latest/administration/team-management/HTTP API https://grafana.com/docs/grafana/latest/developers/http_api/team/ +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:resource:scope=Cluster,categories={crossplane,managed,grafana}
func (*Team) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Team.
func (*Team) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Team) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this Team
func (*Team) GetDeletionPolicy ¶
func (mg *Team) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Team.
func (*Team) GetInitParameters ¶ added in v0.8.0
GetInitParameters of this Team
func (*Team) GetManagementPolicies ¶ added in v0.8.0
func (mg *Team) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Team.
func (*Team) GetMergedParameters ¶ added in v0.10.1
GetInitParameters of this Team
func (*Team) GetObservation ¶
GetObservation of this Team
func (*Team) GetParameters ¶
GetParameters of this Team
func (*Team) GetProviderConfigReference ¶
GetProviderConfigReference of this Team.
func (*Team) GetPublishConnectionDetailsTo ¶
func (mg *Team) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Team.
func (*Team) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Team
func (*Team) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Team) GetWriteConnectionSecretToReference ¶
func (mg *Team) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Team.
func (*Team) LateInitialize ¶
LateInitialize this Team using its observed tfState. returns True if there are any spec changes for the resource.
func (*Team) ResolveReferences ¶
ResolveReferences of this Team.
func (*Team) SetConditions ¶
SetConditions of this Team.
func (*Team) SetDeletionPolicy ¶
func (mg *Team) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Team.
func (*Team) SetManagementPolicies ¶ added in v0.8.0
func (mg *Team) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Team.
func (*Team) SetObservation ¶
SetObservation for this Team
func (*Team) SetParameters ¶
SetParameters for this Team
func (*Team) SetProviderConfigReference ¶
SetProviderConfigReference of this Team.
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 TeamInitParameters ¶ added in v0.8.0
type TeamInitParameters struct { // (String) An email address for the team. // An email address for the team. Email *string `json:"email,omitempty" tf:"email,omitempty"` // (Boolean) Ignores team members that have been added to team by Team Sync. // Team Sync can be provisioned using grafana_team_external_group resource. // Defaults to true. // Ignores team members that have been added to team by [Team Sync](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-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`. 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:"-"` // (Set of String) 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. // 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 // +listType=set Members []*string `json:"members,omitempty" tf:"members,omitempty"` // (String) The display name for the Grafana team created. // The display name for the Grafana team created. Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Organization // +crossplane:generate:reference:refFieldName=OrganizationRef // +crossplane:generate:reference:selectorFieldName=OrganizationSelector OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Reference to a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationRef *v1.Reference `json:"organizationRef,omitempty" tf:"-"` // Selector for a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationSelector *v1.Selector `json:"organizationSelector,omitempty" tf:"-"` // (Block List, Max: 1) (see below for nested schema) Preferences []PreferencesInitParameters `json:"preferences,omitempty" tf:"preferences,omitempty"` // (Block List, Max: 1) Sync external auth provider groups with this Grafana team. Only available in Grafana Enterprise. // Sync external auth provider groups with this Grafana team. Only available in Grafana Enterprise. // * [Official documentation](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-team-sync/) // * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/team_sync/) TeamSync []TeamSyncInitParameters `json:"teamSync,omitempty" tf:"team_sync,omitempty"` }
func (*TeamInitParameters) DeepCopy ¶ added in v0.8.0
func (in *TeamInitParameters) DeepCopy() *TeamInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamInitParameters.
func (*TeamInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *TeamInitParameters) DeepCopyInto(out *TeamInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamList.
func (*TeamList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TeamList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TeamObservation ¶
type TeamObservation struct { // (String) An email address for the team. // An email address for the team. Email *string `json:"email,omitempty" tf:"email,omitempty"` // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (Boolean) Ignores team members that have been added to team by Team Sync. // Team Sync can be provisioned using grafana_team_external_group resource. // Defaults to true. // Ignores team members that have been added to team by [Team Sync](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-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`. IgnoreExternallySyncedMembers *bool `json:"ignoreExternallySyncedMembers,omitempty" tf:"ignore_externally_synced_members,omitempty"` // (Set of String) 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. // 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. // +listType=set Members []*string `json:"members,omitempty" tf:"members,omitempty"` // (String) The display name for the Grafana team created. // The display name for the Grafana team created. Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // (Block List, Max: 1) (see below for nested schema) Preferences []PreferencesObservation `json:"preferences,omitempty" tf:"preferences,omitempty"` // (Number) The team id assigned to this team by Grafana. // The team id assigned to this team by Grafana. TeamID *float64 `json:"teamId,omitempty" tf:"team_id,omitempty"` // (Block List, Max: 1) Sync external auth provider groups with this Grafana team. Only available in Grafana Enterprise. // Sync external auth provider groups with this Grafana team. Only available in Grafana Enterprise. // * [Official documentation](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-team-sync/) // * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/team_sync/) TeamSync []TeamSyncObservation `json:"teamSync,omitempty" tf:"team_sync,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 { // (String) An email address for the team. // An email address for the team. // +kubebuilder:validation:Optional Email *string `json:"email,omitempty" tf:"email,omitempty"` // (Boolean) Ignores team members that have been added to team by Team Sync. // Team Sync can be provisioned using grafana_team_external_group resource. // Defaults to true. // Ignores team members that have been added to team by [Team Sync](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-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:"-"` // (Set of String) 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. // 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 // +listType=set Members []*string `json:"members,omitempty" tf:"members,omitempty"` // (String) The display name for the Grafana team created. // The display name for the Grafana team created. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String) The Organization ID. If not set, the Org ID defined in the provider block will be used. // The Organization ID. If not set, the Org ID defined in the provider block will be used. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Organization // +crossplane:generate:reference:refFieldName=OrganizationRef // +crossplane:generate:reference:selectorFieldName=OrganizationSelector // +kubebuilder:validation:Optional OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"` // Reference to a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationRef *v1.Reference `json:"organizationRef,omitempty" tf:"-"` // Selector for a Organization in oss to populate orgId. // +kubebuilder:validation:Optional OrganizationSelector *v1.Selector `json:"organizationSelector,omitempty" tf:"-"` // (Block List, Max: 1) (see below for nested schema) // +kubebuilder:validation:Optional Preferences []PreferencesParameters `json:"preferences,omitempty" tf:"preferences,omitempty"` // (Block List, Max: 1) Sync external auth provider groups with this Grafana team. Only available in Grafana Enterprise. // Sync external auth provider groups with this Grafana team. Only available in Grafana Enterprise. // * [Official documentation](https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-team-sync/) // * [HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/team_sync/) // +kubebuilder:validation:Optional TeamSync []TeamSyncParameters `json:"teamSync,omitempty" tf:"team_sync,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"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider TeamInitParameters `json:"initProvider,omitempty"` }
TeamSpec defines the desired state of Team
func (*TeamSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamSpec.
func (*TeamSpec) DeepCopyInto ¶
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 TeamSyncInitParameters ¶ added in v0.8.0
type TeamSyncInitParameters struct { // (Set of String) // +listType=set Groups []*string `json:"groups,omitempty" tf:"groups,omitempty"` }
func (*TeamSyncInitParameters) DeepCopy ¶ added in v0.8.0
func (in *TeamSyncInitParameters) DeepCopy() *TeamSyncInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamSyncInitParameters.
func (*TeamSyncInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *TeamSyncInitParameters) DeepCopyInto(out *TeamSyncInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TeamSyncObservation ¶ added in v0.7.0
type TeamSyncObservation struct { // (Set of String) // +listType=set Groups []*string `json:"groups,omitempty" tf:"groups,omitempty"` }
func (*TeamSyncObservation) DeepCopy ¶ added in v0.7.0
func (in *TeamSyncObservation) DeepCopy() *TeamSyncObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamSyncObservation.
func (*TeamSyncObservation) DeepCopyInto ¶ added in v0.7.0
func (in *TeamSyncObservation) DeepCopyInto(out *TeamSyncObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TeamSyncParameters ¶ added in v0.7.0
type TeamSyncParameters struct { // (Set of String) // +kubebuilder:validation:Optional // +listType=set Groups []*string `json:"groups,omitempty" tf:"groups,omitempty"` }
func (*TeamSyncParameters) DeepCopy ¶ added in v0.7.0
func (in *TeamSyncParameters) DeepCopy() *TeamSyncParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamSyncParameters.
func (*TeamSyncParameters) DeepCopyInto ¶ added in v0.7.0
func (in *TeamSyncParameters) DeepCopyInto(out *TeamSyncParameters)
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"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.email) || (has(self.initProvider) && has(self.initProvider.email))",message="spec.forProvider.email is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.passwordSecretRef)",message="spec.forProvider.passwordSecretRef is a required parameter" Spec UserSpec `json:"spec"` Status UserStatus `json:"status,omitempty"` }
User is the Schema for the Users API. Official documentation https://grafana.com/docs/grafana/latest/administration/user-management/server-user-management/HTTP API https://grafana.com/docs/grafana/latest/developers/http_api/user/ This resource represents an instance-scoped resource and uses Grafana's admin APIs. It does not work with API tokens or service accounts which are org-scoped. You must use basic auth. +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:resource:scope=Cluster,categories={crossplane,managed,grafana}
func (*User) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new User.
func (*User) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*User) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this User
func (*User) GetDeletionPolicy ¶
func (mg *User) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this User.
func (*User) GetInitParameters ¶ added in v0.8.0
GetInitParameters of this User
func (*User) GetManagementPolicies ¶ added in v0.8.0
func (mg *User) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this User.
func (*User) GetMergedParameters ¶ added in v0.10.1
GetInitParameters of this User
func (*User) GetObservation ¶
GetObservation of this User
func (*User) GetParameters ¶
GetParameters of this User
func (*User) GetProviderConfigReference ¶
GetProviderConfigReference of this User.
func (*User) GetPublishConnectionDetailsTo ¶
func (mg *User) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this User.
func (*User) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this User
func (*User) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*User) GetWriteConnectionSecretToReference ¶
func (mg *User) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this User.
func (*User) LateInitialize ¶
LateInitialize this User using its observed tfState. returns True if there are any spec changes for the resource.
func (*User) SetConditions ¶
SetConditions of this User.
func (*User) SetDeletionPolicy ¶
func (mg *User) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this User.
func (*User) SetManagementPolicies ¶ added in v0.8.0
func (mg *User) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this User.
func (*User) SetObservation ¶
SetObservation for this User
func (*User) SetParameters ¶
SetParameters for this User
func (*User) SetProviderConfigReference ¶
SetProviderConfigReference of this User.
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 UserInitParameters ¶ added in v0.8.0
type UserInitParameters struct { // (String) The email address of the Grafana user. // The email address of the Grafana user. Email *string `json:"email,omitempty" tf:"email,omitempty"` // (Boolean) Whether to make user an admin. Defaults to false. // Whether to make user an admin. Defaults to `false`. IsAdmin *bool `json:"isAdmin,omitempty" tf:"is_admin,omitempty"` // (String) The username for the Grafana user. // The username for the Grafana user. Login *string `json:"login,omitempty" tf:"login,omitempty"` // (String) The display name for the Grafana user. // The display name for the Grafana user. Name *string `json:"name,omitempty" tf:"name,omitempty"` }
func (*UserInitParameters) DeepCopy ¶ added in v0.8.0
func (in *UserInitParameters) DeepCopy() *UserInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserInitParameters.
func (*UserInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *UserInitParameters) DeepCopyInto(out *UserInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserList.
func (*UserList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UserList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type UserObservation ¶
type UserObservation struct { // (String) The email address of the Grafana user. // The email address of the Grafana user. Email *string `json:"email,omitempty" tf:"email,omitempty"` // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (Boolean) Whether to make user an admin. Defaults to false. // Whether to make user an admin. Defaults to `false`. IsAdmin *bool `json:"isAdmin,omitempty" tf:"is_admin,omitempty"` // (String) The username for the Grafana user. // The username for the Grafana user. Login *string `json:"login,omitempty" tf:"login,omitempty"` // (String) The display name for the Grafana user. // The display name for the Grafana user. Name *string `json:"name,omitempty" tf:"name,omitempty"` // (Number) The numerical ID of the Grafana user. // 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 { // (String) The email address of the Grafana user. // The email address of the Grafana user. // +kubebuilder:validation:Optional Email *string `json:"email,omitempty" tf:"email,omitempty"` // (Boolean) Whether to make user an admin. Defaults to false. // Whether to make user an admin. Defaults to `false`. // +kubebuilder:validation:Optional IsAdmin *bool `json:"isAdmin,omitempty" tf:"is_admin,omitempty"` // (String) The username for the Grafana user. // The username for the Grafana user. // +kubebuilder:validation:Optional Login *string `json:"login,omitempty" tf:"login,omitempty"` // (String) The display name for the Grafana user. // The display name for the Grafana user. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String, Sensitive) The password for the Grafana user. // The password for the Grafana user. // +kubebuilder:validation:Optional 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"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider UserInitParameters `json:"initProvider,omitempty"` }
UserSpec defines the desired state of User
func (*UserSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSpec.
func (*UserSpec) DeepCopyInto ¶
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.
Source Files ¶
- zz_annotation_terraformed.go
- zz_annotation_types.go
- zz_apikey_terraformed.go
- zz_apikey_types.go
- zz_dashboard_terraformed.go
- zz_dashboard_types.go
- zz_dashboardpermission_terraformed.go
- zz_dashboardpermission_types.go
- zz_dashboardpublic_terraformed.go
- zz_dashboardpublic_types.go
- zz_datasource_terraformed.go
- zz_datasource_types.go
- zz_folder_terraformed.go
- zz_folder_types.go
- zz_folderpermission_terraformed.go
- zz_folderpermission_types.go
- zz_generated.conversion_hubs.go
- zz_generated.deepcopy.go
- zz_generated.managed.go
- zz_generated.managedlist.go
- zz_generated.resolvers.go
- zz_groupversion_info.go
- zz_librarypanel_terraformed.go
- zz_librarypanel_types.go
- zz_organization_terraformed.go
- zz_organization_types.go
- zz_organizationpreferences_terraformed.go
- zz_organizationpreferences_types.go
- zz_playlist_terraformed.go
- zz_playlist_types.go
- zz_serviceaccount_terraformed.go
- zz_serviceaccount_types.go
- zz_serviceaccountpermission_terraformed.go
- zz_serviceaccountpermission_types.go
- zz_serviceaccounttoken_terraformed.go
- zz_serviceaccounttoken_types.go
- zz_ssosettings_terraformed.go
- zz_ssosettings_types.go
- zz_team_terraformed.go
- zz_team_types.go
- zz_user_terraformed.go
- zz_user_types.go