Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=enterprise.grafana.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type DashboardsInitParameters
- type DashboardsObservation
- type DashboardsParameters
- type DataSourcePermission
- func (in *DataSourcePermission) DeepCopy() *DataSourcePermission
- func (in *DataSourcePermission) DeepCopyInto(out *DataSourcePermission)
- func (in *DataSourcePermission) DeepCopyObject() runtime.Object
- func (mg *DataSourcePermission) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *DataSourcePermission) GetConnectionDetailsMapping() map[string]string
- func (mg *DataSourcePermission) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *DataSourcePermission) GetID() string
- func (tr *DataSourcePermission) GetInitParameters() (map[string]any, error)
- func (mg *DataSourcePermission) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *DataSourcePermission) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *DataSourcePermission) GetObservation() (map[string]any, error)
- func (tr *DataSourcePermission) GetParameters() (map[string]any, error)
- func (mg *DataSourcePermission) GetProviderConfigReference() *xpv1.Reference
- func (mg *DataSourcePermission) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *DataSourcePermission) GetTerraformResourceType() string
- func (tr *DataSourcePermission) GetTerraformSchemaVersion() int
- func (mg *DataSourcePermission) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *DataSourcePermission) Hub()
- func (tr *DataSourcePermission) LateInitialize(attrs []byte) (bool, error)
- func (mg *DataSourcePermission) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *DataSourcePermission) SetConditions(c ...xpv1.Condition)
- func (mg *DataSourcePermission) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *DataSourcePermission) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *DataSourcePermission) SetObservation(obs map[string]any) error
- func (tr *DataSourcePermission) SetParameters(params map[string]any) error
- func (mg *DataSourcePermission) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *DataSourcePermission) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *DataSourcePermission) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type DataSourcePermissionInitParameters
- type DataSourcePermissionList
- type DataSourcePermissionObservation
- type DataSourcePermissionParameters
- type DataSourcePermissionSpec
- type DataSourcePermissionStatus
- type PermissionsInitParameters
- type PermissionsObservation
- type PermissionsParameters
- type Report
- func (in *Report) DeepCopy() *Report
- func (in *Report) DeepCopyInto(out *Report)
- func (in *Report) DeepCopyObject() runtime.Object
- func (mg *Report) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Report) GetConnectionDetailsMapping() map[string]string
- func (mg *Report) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Report) GetID() string
- func (tr *Report) GetInitParameters() (map[string]any, error)
- func (mg *Report) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Report) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Report) GetObservation() (map[string]any, error)
- func (tr *Report) GetParameters() (map[string]any, error)
- func (mg *Report) GetProviderConfigReference() *xpv1.Reference
- func (mg *Report) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Report) GetTerraformResourceType() string
- func (tr *Report) GetTerraformSchemaVersion() int
- func (mg *Report) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Report) Hub()
- func (tr *Report) LateInitialize(attrs []byte) (bool, error)
- func (mg *Report) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Report) SetConditions(c ...xpv1.Condition)
- func (mg *Report) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Report) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Report) SetObservation(obs map[string]any) error
- func (tr *Report) SetParameters(params map[string]any) error
- func (mg *Report) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Report) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Report) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ReportInitParameters
- type ReportList
- type ReportObservation
- type ReportParameters
- type ReportSpec
- type ReportStatus
- type ReportTimeRangeInitParameters
- type ReportTimeRangeObservation
- type ReportTimeRangeParameters
- type Role
- func (in *Role) DeepCopy() *Role
- func (in *Role) DeepCopyInto(out *Role)
- func (in *Role) DeepCopyObject() runtime.Object
- func (mg *Role) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Role) GetConnectionDetailsMapping() map[string]string
- func (mg *Role) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Role) GetID() string
- func (tr *Role) GetInitParameters() (map[string]any, error)
- func (mg *Role) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Role) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Role) GetObservation() (map[string]any, error)
- func (tr *Role) GetParameters() (map[string]any, error)
- func (mg *Role) GetProviderConfigReference() *xpv1.Reference
- func (mg *Role) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Role) GetTerraformResourceType() string
- func (tr *Role) GetTerraformSchemaVersion() int
- func (mg *Role) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Role) Hub()
- func (tr *Role) LateInitialize(attrs []byte) (bool, error)
- func (mg *Role) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Role) SetConditions(c ...xpv1.Condition)
- func (mg *Role) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Role) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Role) SetObservation(obs map[string]any) error
- func (tr *Role) SetParameters(params map[string]any) error
- func (mg *Role) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Role) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Role) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type RoleAssignment
- func (in *RoleAssignment) DeepCopy() *RoleAssignment
- func (in *RoleAssignment) DeepCopyInto(out *RoleAssignment)
- func (in *RoleAssignment) DeepCopyObject() runtime.Object
- func (mg *RoleAssignment) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *RoleAssignment) GetConnectionDetailsMapping() map[string]string
- func (mg *RoleAssignment) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *RoleAssignment) GetID() string
- func (tr *RoleAssignment) GetInitParameters() (map[string]any, error)
- func (mg *RoleAssignment) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *RoleAssignment) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *RoleAssignment) GetObservation() (map[string]any, error)
- func (tr *RoleAssignment) GetParameters() (map[string]any, error)
- func (mg *RoleAssignment) GetProviderConfigReference() *xpv1.Reference
- func (mg *RoleAssignment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *RoleAssignment) GetTerraformResourceType() string
- func (tr *RoleAssignment) GetTerraformSchemaVersion() int
- func (mg *RoleAssignment) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *RoleAssignment) Hub()
- func (tr *RoleAssignment) LateInitialize(attrs []byte) (bool, error)
- func (mg *RoleAssignment) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *RoleAssignment) SetConditions(c ...xpv1.Condition)
- func (mg *RoleAssignment) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *RoleAssignment) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *RoleAssignment) SetObservation(obs map[string]any) error
- func (tr *RoleAssignment) SetParameters(params map[string]any) error
- func (mg *RoleAssignment) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *RoleAssignment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *RoleAssignment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type RoleAssignmentInitParameters
- type RoleAssignmentList
- type RoleAssignmentObservation
- type RoleAssignmentParameters
- type RoleAssignmentSpec
- type RoleAssignmentStatus
- type RoleInitParameters
- type RoleList
- type RoleObservation
- type RoleParameters
- type RolePermissionsInitParameters
- type RolePermissionsObservation
- type RolePermissionsParameters
- type RoleSpec
- type RoleStatus
- type ScheduleInitParameters
- type ScheduleObservation
- type ScheduleParameters
- type TeamExternalGroup
- func (in *TeamExternalGroup) DeepCopy() *TeamExternalGroup
- func (in *TeamExternalGroup) DeepCopyInto(out *TeamExternalGroup)
- func (in *TeamExternalGroup) DeepCopyObject() runtime.Object
- func (mg *TeamExternalGroup) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *TeamExternalGroup) GetConnectionDetailsMapping() map[string]string
- func (mg *TeamExternalGroup) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *TeamExternalGroup) GetID() string
- func (tr *TeamExternalGroup) GetInitParameters() (map[string]any, error)
- func (mg *TeamExternalGroup) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *TeamExternalGroup) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *TeamExternalGroup) GetObservation() (map[string]any, error)
- func (tr *TeamExternalGroup) GetParameters() (map[string]any, error)
- func (mg *TeamExternalGroup) GetProviderConfigReference() *xpv1.Reference
- func (mg *TeamExternalGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *TeamExternalGroup) GetTerraformResourceType() string
- func (tr *TeamExternalGroup) GetTerraformSchemaVersion() int
- func (mg *TeamExternalGroup) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *TeamExternalGroup) Hub()
- func (tr *TeamExternalGroup) LateInitialize(attrs []byte) (bool, error)
- func (mg *TeamExternalGroup) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *TeamExternalGroup) SetConditions(c ...xpv1.Condition)
- func (mg *TeamExternalGroup) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *TeamExternalGroup) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *TeamExternalGroup) SetObservation(obs map[string]any) error
- func (tr *TeamExternalGroup) SetParameters(params map[string]any) error
- func (mg *TeamExternalGroup) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *TeamExternalGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *TeamExternalGroup) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type TeamExternalGroupInitParameters
- type TeamExternalGroupList
- type TeamExternalGroupObservation
- type TeamExternalGroupParameters
- type TeamExternalGroupSpec
- type TeamExternalGroupStatus
- type TimeRangeInitParameters
- type TimeRangeObservation
- type TimeRangeParameters
Constants ¶
const ( CRDGroup = "enterprise.grafana.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( DataSourcePermission_Kind = "DataSourcePermission" DataSourcePermission_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: DataSourcePermission_Kind}.String() DataSourcePermission_KindAPIVersion = DataSourcePermission_Kind + "." + CRDGroupVersion.String() DataSourcePermission_GroupVersionKind = CRDGroupVersion.WithKind(DataSourcePermission_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 ( Report_Kind = "Report" Report_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Report_Kind}.String() Report_KindAPIVersion = Report_Kind + "." + CRDGroupVersion.String() Report_GroupVersionKind = CRDGroupVersion.WithKind(Report_Kind) )
Repository type metadata.
var ( Role_Kind = "Role" Role_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Role_Kind}.String() Role_KindAPIVersion = Role_Kind + "." + CRDGroupVersion.String() Role_GroupVersionKind = CRDGroupVersion.WithKind(Role_Kind) )
Repository type metadata.
var ( RoleAssignment_Kind = "RoleAssignment" RoleAssignment_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: RoleAssignment_Kind}.String() RoleAssignment_KindAPIVersion = RoleAssignment_Kind + "." + CRDGroupVersion.String() RoleAssignment_GroupVersionKind = CRDGroupVersion.WithKind(RoleAssignment_Kind) )
Repository type metadata.
var ( TeamExternalGroup_Kind = "TeamExternalGroup" TeamExternalGroup_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: TeamExternalGroup_Kind}.String() TeamExternalGroup_KindAPIVersion = TeamExternalGroup_Kind + "." + CRDGroupVersion.String() TeamExternalGroup_GroupVersionKind = CRDGroupVersion.WithKind(TeamExternalGroup_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type DashboardsInitParameters ¶ added in v0.10.0
type DashboardsInitParameters struct { // (Map of String) Add report variables to the dashboard. Values should be separated by commas. // Add report variables to the dashboard. Values should be separated by commas. // +mapType=granular ReportVariables map[string]*string `json:"reportVariables,omitempty" tf:"report_variables,omitempty"` // (Block List, Max: 1, Deprecated) Time range of the report. (see below for nested schema) // Time range of the report. TimeRange []TimeRangeInitParameters `json:"timeRange,omitempty" tf:"time_range,omitempty"` // (String) Dashboard uid. // Dashboard uid. UID *string `json:"uid,omitempty" tf:"uid,omitempty"` }
func (*DashboardsInitParameters) DeepCopy ¶ added in v0.10.0
func (in *DashboardsInitParameters) DeepCopy() *DashboardsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardsInitParameters.
func (*DashboardsInitParameters) DeepCopyInto ¶ added in v0.10.0
func (in *DashboardsInitParameters) DeepCopyInto(out *DashboardsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DashboardsObservation ¶ added in v0.10.0
type DashboardsObservation struct { // (Map of String) Add report variables to the dashboard. Values should be separated by commas. // Add report variables to the dashboard. Values should be separated by commas. // +mapType=granular ReportVariables map[string]*string `json:"reportVariables,omitempty" tf:"report_variables,omitempty"` // (Block List, Max: 1, Deprecated) Time range of the report. (see below for nested schema) // Time range of the report. TimeRange []TimeRangeObservation `json:"timeRange,omitempty" tf:"time_range,omitempty"` // (String) Dashboard uid. // Dashboard uid. UID *string `json:"uid,omitempty" tf:"uid,omitempty"` }
func (*DashboardsObservation) DeepCopy ¶ added in v0.10.0
func (in *DashboardsObservation) DeepCopy() *DashboardsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardsObservation.
func (*DashboardsObservation) DeepCopyInto ¶ added in v0.10.0
func (in *DashboardsObservation) DeepCopyInto(out *DashboardsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DashboardsParameters ¶ added in v0.10.0
type DashboardsParameters struct { // (Map of String) Add report variables to the dashboard. Values should be separated by commas. // Add report variables to the dashboard. Values should be separated by commas. // +kubebuilder:validation:Optional // +mapType=granular ReportVariables map[string]*string `json:"reportVariables,omitempty" tf:"report_variables,omitempty"` // (Block List, Max: 1, Deprecated) Time range of the report. (see below for nested schema) // Time range of the report. // +kubebuilder:validation:Optional TimeRange []TimeRangeParameters `json:"timeRange,omitempty" tf:"time_range,omitempty"` // (String) Dashboard uid. // Dashboard uid. // +kubebuilder:validation:Optional UID *string `json:"uid" tf:"uid,omitempty"` }
func (*DashboardsParameters) DeepCopy ¶ added in v0.10.0
func (in *DashboardsParameters) DeepCopy() *DashboardsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardsParameters.
func (*DashboardsParameters) DeepCopyInto ¶ added in v0.10.0
func (in *DashboardsParameters) DeepCopyInto(out *DashboardsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataSourcePermission ¶ added in v0.11.0
type DataSourcePermission struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DataSourcePermissionSpec `json:"spec"` Status DataSourcePermissionStatus `json:"status,omitempty"` }
DataSourcePermission is the Schema for the DataSourcePermissions API. Manages the entire set of permissions for a datasource. 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 (*DataSourcePermission) DeepCopy ¶ added in v0.11.0
func (in *DataSourcePermission) DeepCopy() *DataSourcePermission
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataSourcePermission.
func (*DataSourcePermission) DeepCopyInto ¶ added in v0.11.0
func (in *DataSourcePermission) DeepCopyInto(out *DataSourcePermission)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DataSourcePermission) DeepCopyObject ¶ added in v0.11.0
func (in *DataSourcePermission) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DataSourcePermission) GetCondition ¶ added in v0.11.0
func (mg *DataSourcePermission) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this DataSourcePermission.
func (*DataSourcePermission) GetConnectionDetailsMapping ¶ added in v0.11.0
func (tr *DataSourcePermission) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this DataSourcePermission
func (*DataSourcePermission) GetDeletionPolicy ¶ added in v0.11.0
func (mg *DataSourcePermission) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this DataSourcePermission.
func (*DataSourcePermission) GetID ¶ added in v0.11.0
func (tr *DataSourcePermission) GetID() string
GetID returns ID of underlying Terraform resource of this DataSourcePermission
func (*DataSourcePermission) GetInitParameters ¶ added in v0.11.0
func (tr *DataSourcePermission) GetInitParameters() (map[string]any, error)
GetInitParameters of this DataSourcePermission
func (*DataSourcePermission) GetManagementPolicies ¶ added in v0.11.0
func (mg *DataSourcePermission) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this DataSourcePermission.
func (*DataSourcePermission) GetMergedParameters ¶ added in v0.11.0
func (tr *DataSourcePermission) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this DataSourcePermission
func (*DataSourcePermission) GetObservation ¶ added in v0.11.0
func (tr *DataSourcePermission) GetObservation() (map[string]any, error)
GetObservation of this DataSourcePermission
func (*DataSourcePermission) GetParameters ¶ added in v0.11.0
func (tr *DataSourcePermission) GetParameters() (map[string]any, error)
GetParameters of this DataSourcePermission
func (*DataSourcePermission) GetProviderConfigReference ¶ added in v0.11.0
func (mg *DataSourcePermission) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this DataSourcePermission.
func (*DataSourcePermission) GetPublishConnectionDetailsTo ¶ added in v0.11.0
func (mg *DataSourcePermission) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this DataSourcePermission.
func (*DataSourcePermission) GetTerraformResourceType ¶ added in v0.11.0
func (mg *DataSourcePermission) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this DataSourcePermission
func (*DataSourcePermission) GetTerraformSchemaVersion ¶ added in v0.11.0
func (tr *DataSourcePermission) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*DataSourcePermission) GetWriteConnectionSecretToReference ¶ added in v0.11.0
func (mg *DataSourcePermission) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this DataSourcePermission.
func (*DataSourcePermission) Hub ¶ added in v0.11.0
func (tr *DataSourcePermission) Hub()
Hub marks this type as a conversion hub.
func (*DataSourcePermission) LateInitialize ¶ added in v0.11.0
func (tr *DataSourcePermission) LateInitialize(attrs []byte) (bool, error)
LateInitialize this DataSourcePermission using its observed tfState. returns True if there are any spec changes for the resource.
func (*DataSourcePermission) ResolveReferences ¶ added in v0.11.0
ResolveReferences of this DataSourcePermission.
func (*DataSourcePermission) SetConditions ¶ added in v0.11.0
func (mg *DataSourcePermission) SetConditions(c ...xpv1.Condition)
SetConditions of this DataSourcePermission.
func (*DataSourcePermission) SetDeletionPolicy ¶ added in v0.11.0
func (mg *DataSourcePermission) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this DataSourcePermission.
func (*DataSourcePermission) SetManagementPolicies ¶ added in v0.11.0
func (mg *DataSourcePermission) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this DataSourcePermission.
func (*DataSourcePermission) SetObservation ¶ added in v0.11.0
func (tr *DataSourcePermission) SetObservation(obs map[string]any) error
SetObservation for this DataSourcePermission
func (*DataSourcePermission) SetParameters ¶ added in v0.11.0
func (tr *DataSourcePermission) SetParameters(params map[string]any) error
SetParameters for this DataSourcePermission
func (*DataSourcePermission) SetProviderConfigReference ¶ added in v0.11.0
func (mg *DataSourcePermission) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this DataSourcePermission.
func (*DataSourcePermission) SetPublishConnectionDetailsTo ¶ added in v0.11.0
func (mg *DataSourcePermission) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this DataSourcePermission.
func (*DataSourcePermission) SetWriteConnectionSecretToReference ¶ added in v0.11.0
func (mg *DataSourcePermission) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this DataSourcePermission.
type DataSourcePermissionInitParameters ¶ added in v0.11.0
type DataSourcePermissionInitParameters struct { // Reference to a DataSource in oss to populate datasourceId. // +kubebuilder:validation:Optional DataSourceRef *v1.Reference `json:"dataSourceRef,omitempty" tf:"-"` // Selector for a DataSource in oss to populate datasourceId. // +kubebuilder:validation:Optional DataSourceSelector *v1.Selector `json:"dataSourceSelector,omitempty" tf:"-"` // (String, Deprecated) Deprecated: Use datasource_uid instead. // Deprecated: Use `datasource_uid` instead. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.DataSource // +crossplane:generate:reference:refFieldName=DataSourceRef // +crossplane:generate:reference:selectorFieldName=DataSourceSelector DatasourceID *string `json:"datasourceId,omitempty" tf:"datasource_id,omitempty"` // (String) UID of the datasource to apply permissions to. // UID of the datasource to apply permissions to. DatasourceUID *string `json:"datasourceUid,omitempty" tf:"datasource_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 (*DataSourcePermissionInitParameters) DeepCopy ¶ added in v0.11.0
func (in *DataSourcePermissionInitParameters) DeepCopy() *DataSourcePermissionInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataSourcePermissionInitParameters.
func (*DataSourcePermissionInitParameters) DeepCopyInto ¶ added in v0.11.0
func (in *DataSourcePermissionInitParameters) DeepCopyInto(out *DataSourcePermissionInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataSourcePermissionList ¶ added in v0.11.0
type DataSourcePermissionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DataSourcePermission `json:"items"` }
DataSourcePermissionList contains a list of DataSourcePermissions
func (*DataSourcePermissionList) DeepCopy ¶ added in v0.11.0
func (in *DataSourcePermissionList) DeepCopy() *DataSourcePermissionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataSourcePermissionList.
func (*DataSourcePermissionList) DeepCopyInto ¶ added in v0.11.0
func (in *DataSourcePermissionList) DeepCopyInto(out *DataSourcePermissionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DataSourcePermissionList) DeepCopyObject ¶ added in v0.11.0
func (in *DataSourcePermissionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*DataSourcePermissionList) GetItems ¶ added in v0.11.0
func (l *DataSourcePermissionList) GetItems() []resource.Managed
GetItems of this DataSourcePermissionList.
type DataSourcePermissionObservation ¶ added in v0.11.0
type DataSourcePermissionObservation struct { // (String, Deprecated) Deprecated: Use datasource_uid instead. // Deprecated: Use `datasource_uid` instead. DatasourceID *string `json:"datasourceId,omitempty" tf:"datasource_id,omitempty"` // (String) UID of the datasource to apply permissions to. // UID of the datasource to apply permissions to. DatasourceUID *string `json:"datasourceUid,omitempty" tf:"datasource_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 (*DataSourcePermissionObservation) DeepCopy ¶ added in v0.11.0
func (in *DataSourcePermissionObservation) DeepCopy() *DataSourcePermissionObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataSourcePermissionObservation.
func (*DataSourcePermissionObservation) DeepCopyInto ¶ added in v0.11.0
func (in *DataSourcePermissionObservation) DeepCopyInto(out *DataSourcePermissionObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataSourcePermissionParameters ¶ added in v0.11.0
type DataSourcePermissionParameters struct { // Reference to a DataSource in oss to populate datasourceId. // +kubebuilder:validation:Optional DataSourceRef *v1.Reference `json:"dataSourceRef,omitempty" tf:"-"` // Selector for a DataSource in oss to populate datasourceId. // +kubebuilder:validation:Optional DataSourceSelector *v1.Selector `json:"dataSourceSelector,omitempty" tf:"-"` // (String, Deprecated) Deprecated: Use datasource_uid instead. // Deprecated: Use `datasource_uid` instead. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.DataSource // +crossplane:generate:reference:refFieldName=DataSourceRef // +crossplane:generate:reference:selectorFieldName=DataSourceSelector // +kubebuilder:validation:Optional DatasourceID *string `json:"datasourceId,omitempty" tf:"datasource_id,omitempty"` // (String) UID of the datasource to apply permissions to. // UID of the datasource to apply permissions to. // +kubebuilder:validation:Optional DatasourceUID *string `json:"datasourceUid,omitempty" tf:"datasource_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 (*DataSourcePermissionParameters) DeepCopy ¶ added in v0.11.0
func (in *DataSourcePermissionParameters) DeepCopy() *DataSourcePermissionParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataSourcePermissionParameters.
func (*DataSourcePermissionParameters) DeepCopyInto ¶ added in v0.11.0
func (in *DataSourcePermissionParameters) DeepCopyInto(out *DataSourcePermissionParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataSourcePermissionSpec ¶ added in v0.11.0
type DataSourcePermissionSpec struct { v1.ResourceSpec `json:",inline"` ForProvider DataSourcePermissionParameters `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 DataSourcePermissionInitParameters `json:"initProvider,omitempty"` }
DataSourcePermissionSpec defines the desired state of DataSourcePermission
func (*DataSourcePermissionSpec) DeepCopy ¶ added in v0.11.0
func (in *DataSourcePermissionSpec) DeepCopy() *DataSourcePermissionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataSourcePermissionSpec.
func (*DataSourcePermissionSpec) DeepCopyInto ¶ added in v0.11.0
func (in *DataSourcePermissionSpec) DeepCopyInto(out *DataSourcePermissionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataSourcePermissionStatus ¶ added in v0.11.0
type DataSourcePermissionStatus struct { v1.ResourceStatus `json:",inline"` AtProvider DataSourcePermissionObservation `json:"atProvider,omitempty"` }
DataSourcePermissionStatus defines the observed state of DataSourcePermission.
func (*DataSourcePermissionStatus) DeepCopy ¶ added in v0.11.0
func (in *DataSourcePermissionStatus) DeepCopy() *DataSourcePermissionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataSourcePermissionStatus.
func (*DataSourcePermissionStatus) DeepCopyInto ¶ added in v0.11.0
func (in *DataSourcePermissionStatus) DeepCopyInto(out *DataSourcePermissionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PermissionsInitParameters ¶ added in v0.11.0
type PermissionsInitParameters struct { // (String) Name of the basic role to manage permissions for. Options: Viewer, Editor or Admin. Can only be set from Grafana v9.2.3+. Defaults to “. // Name of the basic role to manage permissions for. Options: `Viewer`, `Editor` or `Admin`. Can only be set from Grafana v9.2.3+. Defaults to “. BuiltInRole *string `json:"builtInRole,omitempty" tf:"built_in_role,omitempty"` // (String) Permission to associate with item. Options: Query, Edit or Admin (Admin can only be used with Grafana v10.3.0+). // Permission to associate with item. Options: `Query`, `Edit` or `Admin` (`Admin` can only be used with Grafana v10.3.0+). Permission *string `json:"permission,omitempty" tf:"permission,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.11.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.11.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 ¶ added in v0.11.0
type PermissionsObservation struct { // (String) Name of the basic role to manage permissions for. Options: Viewer, Editor or Admin. Can only be set from Grafana v9.2.3+. Defaults to “. // Name of the basic role to manage permissions for. Options: `Viewer`, `Editor` or `Admin`. Can only be set from Grafana v9.2.3+. Defaults to “. BuiltInRole *string `json:"builtInRole,omitempty" tf:"built_in_role,omitempty"` // (String) Permission to associate with item. Options: Query, Edit or Admin (Admin can only be used with Grafana v10.3.0+). // Permission to associate with item. Options: `Query`, `Edit` or `Admin` (`Admin` can only be used with Grafana v10.3.0+). Permission *string `json:"permission,omitempty" tf:"permission,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 ¶ added in v0.11.0
func (in *PermissionsObservation) DeepCopy() *PermissionsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PermissionsObservation.
func (*PermissionsObservation) DeepCopyInto ¶ added in v0.11.0
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 ¶ added in v0.11.0
type PermissionsParameters struct { // (String) Name of the basic role to manage permissions for. Options: Viewer, Editor or Admin. Can only be set from Grafana v9.2.3+. Defaults to “. // Name of the basic role to manage permissions for. Options: `Viewer`, `Editor` or `Admin`. Can only be set from Grafana v9.2.3+. Defaults to “. // +kubebuilder:validation:Optional BuiltInRole *string `json:"builtInRole,omitempty" tf:"built_in_role,omitempty"` // (String) Permission to associate with item. Options: Query, Edit or Admin (Admin can only be used with Grafana v10.3.0+). // Permission to associate with item. Options: `Query`, `Edit` or `Admin` (`Admin` can only be used with Grafana v10.3.0+). // +kubebuilder:validation:Optional Permission *string `json:"permission" tf:"permission,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 ¶ added in v0.11.0
func (in *PermissionsParameters) DeepCopy() *PermissionsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PermissionsParameters.
func (*PermissionsParameters) DeepCopyInto ¶ added in v0.11.0
func (in *PermissionsParameters) DeepCopyInto(out *PermissionsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Report ¶
type Report 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.recipients) || (has(self.initProvider) && has(self.initProvider.recipients))",message="spec.forProvider.recipients is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.schedule) || (has(self.initProvider) && has(self.initProvider.schedule))",message="spec.forProvider.schedule is a required parameter" Spec ReportSpec `json:"spec"` Status ReportStatus `json:"status,omitempty"` }
Report is the Schema for the Reports API. Note: This resource is available only with Grafana Enterprise 7.+. Official documentation https://grafana.com/docs/grafana/latest/dashboards/create-reports/HTTP API https://grafana.com/docs/grafana/latest/developers/http_api/reporting/ +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 (*Report) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Report.
func (*Report) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Report) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Report) GetCondition ¶
func (mg *Report) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Report.
func (*Report) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Report
func (*Report) GetDeletionPolicy ¶
func (mg *Report) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Report.
func (*Report) GetInitParameters ¶ added in v0.8.0
GetInitParameters of this Report
func (*Report) GetManagementPolicies ¶ added in v0.8.0
func (mg *Report) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Report.
func (*Report) GetMergedParameters ¶ added in v0.10.1
GetInitParameters of this Report
func (*Report) GetObservation ¶
GetObservation of this Report
func (*Report) GetParameters ¶
GetParameters of this Report
func (*Report) GetProviderConfigReference ¶
GetProviderConfigReference of this Report.
func (*Report) GetPublishConnectionDetailsTo ¶
func (mg *Report) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Report.
func (*Report) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Report
func (*Report) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Report) GetWriteConnectionSecretToReference ¶
func (mg *Report) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Report.
func (*Report) Hub ¶ added in v0.10.1
func (tr *Report) Hub()
Hub marks this type as a conversion hub.
func (*Report) LateInitialize ¶
LateInitialize this Report using its observed tfState. returns True if there are any spec changes for the resource.
func (*Report) ResolveReferences ¶
ResolveReferences of this Report.
func (*Report) SetConditions ¶
SetConditions of this Report.
func (*Report) SetDeletionPolicy ¶
func (mg *Report) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Report.
func (*Report) SetManagementPolicies ¶ added in v0.8.0
func (mg *Report) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Report.
func (*Report) SetObservation ¶
SetObservation for this Report
func (*Report) SetParameters ¶
SetParameters for this Report
func (*Report) SetProviderConfigReference ¶
SetProviderConfigReference of this Report.
func (*Report) SetPublishConnectionDetailsTo ¶
func (mg *Report) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Report.
func (*Report) SetWriteConnectionSecretToReference ¶
func (mg *Report) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Report.
type ReportInitParameters ¶ added in v0.8.0
type ReportInitParameters 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, Deprecated) Dashboard to be sent in the report. // Dashboard to be sent in the report. // +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.OptionalFieldExtractor("uid") // +crossplane:generate:reference:refFieldName=DashboardRef // +crossplane:generate:reference:selectorFieldName=DashboardSelector DashboardUID *string `json:"dashboardUid,omitempty" tf:"dashboard_uid,omitempty"` // (Block List) List of dashboards to render into the report (see below for nested schema) // List of dashboards to render into the report Dashboards []DashboardsInitParameters `json:"dashboards,omitempty" tf:"dashboards,omitempty"` // (Set of String) Specifies what kind of attachment to generate for the report. Allowed values: pdf, csv, image. // Specifies what kind of attachment to generate for the report. Allowed values: `pdf`, `csv`, `image`. // +listType=set Formats []*string `json:"formats,omitempty" tf:"formats,omitempty"` // (Boolean) Whether to include a link to the dashboard in the report. Defaults to true. // Whether to include a link to the dashboard in the report. Defaults to `true`. IncludeDashboardLink *bool `json:"includeDashboardLink,omitempty" tf:"include_dashboard_link,omitempty"` // (Boolean) Whether to include a CSV file of table panel data. Defaults to false. // Whether to include a CSV file of table panel data. Defaults to `false`. IncludeTableCsv *bool `json:"includeTableCsv,omitempty" tf:"include_table_csv,omitempty"` // (String) Layout of the report. Allowed values: simple, grid. Defaults to grid. // Layout of the report. Allowed values: `simple`, `grid`. Defaults to `grid`. Layout *string `json:"layout,omitempty" tf:"layout,omitempty"` // (String) Message to be sent in the report. // Message to be sent in the report. Message *string `json:"message,omitempty" tf:"message,omitempty"` // (String) Name of the report. // Name of the report. 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) Orientation of the report. Allowed values: landscape, portrait. Defaults to landscape. // Orientation of the report. Allowed values: `landscape`, `portrait`. Defaults to `landscape`. Orientation *string `json:"orientation,omitempty" tf:"orientation,omitempty"` // (List of String) List of recipients of the report. // List of recipients of the report. Recipients []*string `json:"recipients,omitempty" tf:"recipients,omitempty"` // to email address of the report. // Reply-to email address of the report. ReplyTo *string `json:"replyTo,omitempty" tf:"reply_to,omitempty"` // (Block List, Min: 1, Max: 1) Schedule of the report. (see below for nested schema) // Schedule of the report. Schedule []ScheduleInitParameters `json:"schedule,omitempty" tf:"schedule,omitempty"` // (Block List, Max: 1, Deprecated) Time range of the report. (see below for nested schema) // Time range of the report. TimeRange []ReportTimeRangeInitParameters `json:"timeRange,omitempty" tf:"time_range,omitempty"` }
func (*ReportInitParameters) DeepCopy ¶ added in v0.8.0
func (in *ReportInitParameters) DeepCopy() *ReportInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReportInitParameters.
func (*ReportInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *ReportInitParameters) DeepCopyInto(out *ReportInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReportList ¶
type ReportList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Report `json:"items"` }
ReportList contains a list of Reports
func (*ReportList) DeepCopy ¶
func (in *ReportList) DeepCopy() *ReportList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReportList.
func (*ReportList) DeepCopyInto ¶
func (in *ReportList) DeepCopyInto(out *ReportList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ReportList) DeepCopyObject ¶
func (in *ReportList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ReportList) GetItems ¶
func (l *ReportList) GetItems() []resource.Managed
GetItems of this ReportList.
type ReportObservation ¶
type ReportObservation struct { // (String, Deprecated) Dashboard to be sent in the report. // Dashboard to be sent in the report. DashboardUID *string `json:"dashboardUid,omitempty" tf:"dashboard_uid,omitempty"` // (Block List) List of dashboards to render into the report (see below for nested schema) // List of dashboards to render into the report Dashboards []DashboardsObservation `json:"dashboards,omitempty" tf:"dashboards,omitempty"` // (Set of String) Specifies what kind of attachment to generate for the report. Allowed values: pdf, csv, image. // Specifies what kind of attachment to generate for the report. Allowed values: `pdf`, `csv`, `image`. // +listType=set Formats []*string `json:"formats,omitempty" tf:"formats,omitempty"` // (String) Generated identifier of the report. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (Boolean) Whether to include a link to the dashboard in the report. Defaults to true. // Whether to include a link to the dashboard in the report. Defaults to `true`. IncludeDashboardLink *bool `json:"includeDashboardLink,omitempty" tf:"include_dashboard_link,omitempty"` // (Boolean) Whether to include a CSV file of table panel data. Defaults to false. // Whether to include a CSV file of table panel data. Defaults to `false`. IncludeTableCsv *bool `json:"includeTableCsv,omitempty" tf:"include_table_csv,omitempty"` // (String) Layout of the report. Allowed values: simple, grid. Defaults to grid. // Layout of the report. Allowed values: `simple`, `grid`. Defaults to `grid`. Layout *string `json:"layout,omitempty" tf:"layout,omitempty"` // (String) Message to be sent in the report. // Message to be sent in the report. Message *string `json:"message,omitempty" tf:"message,omitempty"` // (String) Name of the report. // Name of the report. 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) Orientation of the report. Allowed values: landscape, portrait. Defaults to landscape. // Orientation of the report. Allowed values: `landscape`, `portrait`. Defaults to `landscape`. Orientation *string `json:"orientation,omitempty" tf:"orientation,omitempty"` // (List of String) List of recipients of the report. // List of recipients of the report. Recipients []*string `json:"recipients,omitempty" tf:"recipients,omitempty"` // to email address of the report. // Reply-to email address of the report. ReplyTo *string `json:"replyTo,omitempty" tf:"reply_to,omitempty"` // (Block List, Min: 1, Max: 1) Schedule of the report. (see below for nested schema) // Schedule of the report. Schedule []ScheduleObservation `json:"schedule,omitempty" tf:"schedule,omitempty"` // (Block List, Max: 1, Deprecated) Time range of the report. (see below for nested schema) // Time range of the report. TimeRange []ReportTimeRangeObservation `json:"timeRange,omitempty" tf:"time_range,omitempty"` }
func (*ReportObservation) DeepCopy ¶
func (in *ReportObservation) DeepCopy() *ReportObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReportObservation.
func (*ReportObservation) DeepCopyInto ¶
func (in *ReportObservation) DeepCopyInto(out *ReportObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReportParameters ¶
type ReportParameters 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, Deprecated) Dashboard to be sent in the report. // Dashboard to be sent in the report. // +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.OptionalFieldExtractor("uid") // +crossplane:generate:reference:refFieldName=DashboardRef // +crossplane:generate:reference:selectorFieldName=DashboardSelector // +kubebuilder:validation:Optional DashboardUID *string `json:"dashboardUid,omitempty" tf:"dashboard_uid,omitempty"` // (Block List) List of dashboards to render into the report (see below for nested schema) // List of dashboards to render into the report // +kubebuilder:validation:Optional Dashboards []DashboardsParameters `json:"dashboards,omitempty" tf:"dashboards,omitempty"` // (Set of String) Specifies what kind of attachment to generate for the report. Allowed values: pdf, csv, image. // Specifies what kind of attachment to generate for the report. Allowed values: `pdf`, `csv`, `image`. // +kubebuilder:validation:Optional // +listType=set Formats []*string `json:"formats,omitempty" tf:"formats,omitempty"` // (Boolean) Whether to include a link to the dashboard in the report. Defaults to true. // Whether to include a link to the dashboard in the report. Defaults to `true`. // +kubebuilder:validation:Optional IncludeDashboardLink *bool `json:"includeDashboardLink,omitempty" tf:"include_dashboard_link,omitempty"` // (Boolean) Whether to include a CSV file of table panel data. Defaults to false. // Whether to include a CSV file of table panel data. Defaults to `false`. // +kubebuilder:validation:Optional IncludeTableCsv *bool `json:"includeTableCsv,omitempty" tf:"include_table_csv,omitempty"` // (String) Layout of the report. Allowed values: simple, grid. Defaults to grid. // Layout of the report. Allowed values: `simple`, `grid`. Defaults to `grid`. // +kubebuilder:validation:Optional Layout *string `json:"layout,omitempty" tf:"layout,omitempty"` // (String) Message to be sent in the report. // Message to be sent in the report. // +kubebuilder:validation:Optional Message *string `json:"message,omitempty" tf:"message,omitempty"` // (String) Name of the report. // Name of the report. // +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) Orientation of the report. Allowed values: landscape, portrait. Defaults to landscape. // Orientation of the report. Allowed values: `landscape`, `portrait`. Defaults to `landscape`. // +kubebuilder:validation:Optional Orientation *string `json:"orientation,omitempty" tf:"orientation,omitempty"` // (List of String) List of recipients of the report. // List of recipients of the report. // +kubebuilder:validation:Optional Recipients []*string `json:"recipients,omitempty" tf:"recipients,omitempty"` // to email address of the report. // Reply-to email address of the report. // +kubebuilder:validation:Optional ReplyTo *string `json:"replyTo,omitempty" tf:"reply_to,omitempty"` // (Block List, Min: 1, Max: 1) Schedule of the report. (see below for nested schema) // Schedule of the report. // +kubebuilder:validation:Optional Schedule []ScheduleParameters `json:"schedule,omitempty" tf:"schedule,omitempty"` // (Block List, Max: 1, Deprecated) Time range of the report. (see below for nested schema) // Time range of the report. // +kubebuilder:validation:Optional TimeRange []ReportTimeRangeParameters `json:"timeRange,omitempty" tf:"time_range,omitempty"` }
func (*ReportParameters) DeepCopy ¶
func (in *ReportParameters) DeepCopy() *ReportParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReportParameters.
func (*ReportParameters) DeepCopyInto ¶
func (in *ReportParameters) DeepCopyInto(out *ReportParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReportSpec ¶
type ReportSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ReportParameters `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 ReportInitParameters `json:"initProvider,omitempty"` }
ReportSpec defines the desired state of Report
func (*ReportSpec) DeepCopy ¶
func (in *ReportSpec) DeepCopy() *ReportSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReportSpec.
func (*ReportSpec) DeepCopyInto ¶
func (in *ReportSpec) DeepCopyInto(out *ReportSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReportStatus ¶
type ReportStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ReportObservation `json:"atProvider,omitempty"` }
ReportStatus defines the observed state of Report.
func (*ReportStatus) DeepCopy ¶
func (in *ReportStatus) DeepCopy() *ReportStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReportStatus.
func (*ReportStatus) DeepCopyInto ¶
func (in *ReportStatus) DeepCopyInto(out *ReportStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReportTimeRangeInitParameters ¶ added in v0.10.0
type ReportTimeRangeInitParameters struct { // (String) Start of the time range. // Start of the time range. From *string `json:"from,omitempty" tf:"from,omitempty"` // (String) End of the time range. // End of the time range. To *string `json:"to,omitempty" tf:"to,omitempty"` }
func (*ReportTimeRangeInitParameters) DeepCopy ¶ added in v0.10.0
func (in *ReportTimeRangeInitParameters) DeepCopy() *ReportTimeRangeInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReportTimeRangeInitParameters.
func (*ReportTimeRangeInitParameters) DeepCopyInto ¶ added in v0.10.0
func (in *ReportTimeRangeInitParameters) DeepCopyInto(out *ReportTimeRangeInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReportTimeRangeObservation ¶ added in v0.10.0
type ReportTimeRangeObservation struct { // (String) Start of the time range. // Start of the time range. From *string `json:"from,omitempty" tf:"from,omitempty"` // (String) End of the time range. // End of the time range. To *string `json:"to,omitempty" tf:"to,omitempty"` }
func (*ReportTimeRangeObservation) DeepCopy ¶ added in v0.10.0
func (in *ReportTimeRangeObservation) DeepCopy() *ReportTimeRangeObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReportTimeRangeObservation.
func (*ReportTimeRangeObservation) DeepCopyInto ¶ added in v0.10.0
func (in *ReportTimeRangeObservation) DeepCopyInto(out *ReportTimeRangeObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReportTimeRangeParameters ¶ added in v0.10.0
type ReportTimeRangeParameters struct { // (String) Start of the time range. // Start of the time range. // +kubebuilder:validation:Optional From *string `json:"from,omitempty" tf:"from,omitempty"` // (String) End of the time range. // End of the time range. // +kubebuilder:validation:Optional To *string `json:"to,omitempty" tf:"to,omitempty"` }
func (*ReportTimeRangeParameters) DeepCopy ¶ added in v0.10.0
func (in *ReportTimeRangeParameters) DeepCopy() *ReportTimeRangeParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReportTimeRangeParameters.
func (*ReportTimeRangeParameters) DeepCopyInto ¶ added in v0.10.0
func (in *ReportTimeRangeParameters) DeepCopyInto(out *ReportTimeRangeParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Role ¶ added in v0.11.0
type Role 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 RoleSpec `json:"spec"` Status RoleStatus `json:"status,omitempty"` }
Role is the Schema for the Roles API. Note: This resource is available only with Grafana Enterprise 8.+. Official documentation https://grafana.com/docs/grafana/latest/administration/roles-and-permissions/access-control/HTTP API https://grafana.com/docs/grafana/latest/developers/http_api/access_control/ +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 (*Role) DeepCopy ¶ added in v0.11.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Role.
func (*Role) DeepCopyInto ¶ added in v0.11.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Role) DeepCopyObject ¶ added in v0.11.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Role) GetCondition ¶ added in v0.11.0
func (mg *Role) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Role.
func (*Role) GetConnectionDetailsMapping ¶ added in v0.11.0
GetConnectionDetailsMapping for this Role
func (*Role) GetDeletionPolicy ¶ added in v0.11.0
func (mg *Role) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Role.
func (*Role) GetID ¶ added in v0.11.0
GetID returns ID of underlying Terraform resource of this Role
func (*Role) GetInitParameters ¶ added in v0.11.0
GetInitParameters of this Role
func (*Role) GetManagementPolicies ¶ added in v0.11.0
func (mg *Role) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Role.
func (*Role) GetMergedParameters ¶ added in v0.11.0
GetInitParameters of this Role
func (*Role) GetObservation ¶ added in v0.11.0
GetObservation of this Role
func (*Role) GetParameters ¶ added in v0.11.0
GetParameters of this Role
func (*Role) GetProviderConfigReference ¶ added in v0.11.0
GetProviderConfigReference of this Role.
func (*Role) GetPublishConnectionDetailsTo ¶ added in v0.11.0
func (mg *Role) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Role.
func (*Role) GetTerraformResourceType ¶ added in v0.11.0
GetTerraformResourceType returns Terraform resource type for this Role
func (*Role) GetTerraformSchemaVersion ¶ added in v0.11.0
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Role) GetWriteConnectionSecretToReference ¶ added in v0.11.0
func (mg *Role) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Role.
func (*Role) LateInitialize ¶ added in v0.11.0
LateInitialize this Role using its observed tfState. returns True if there are any spec changes for the resource.
func (*Role) ResolveReferences ¶ added in v0.11.0
ResolveReferences of this Role.
func (*Role) SetConditions ¶ added in v0.11.0
SetConditions of this Role.
func (*Role) SetDeletionPolicy ¶ added in v0.11.0
func (mg *Role) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Role.
func (*Role) SetManagementPolicies ¶ added in v0.11.0
func (mg *Role) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Role.
func (*Role) SetObservation ¶ added in v0.11.0
SetObservation for this Role
func (*Role) SetParameters ¶ added in v0.11.0
SetParameters for this Role
func (*Role) SetProviderConfigReference ¶ added in v0.11.0
SetProviderConfigReference of this Role.
func (*Role) SetPublishConnectionDetailsTo ¶ added in v0.11.0
func (mg *Role) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Role.
func (*Role) SetWriteConnectionSecretToReference ¶ added in v0.11.0
func (mg *Role) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Role.
type RoleAssignment ¶ added in v0.11.0
type RoleAssignment struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RoleAssignmentSpec `json:"spec"` Status RoleAssignmentStatus `json:"status,omitempty"` }
RoleAssignment is the Schema for the RoleAssignments API. Manages the entire set of assignments for a role. Assignments that aren't specified when applying this resource will be removed. Note: This resource is available only with Grafana Enterprise 9.2+. +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 (*RoleAssignment) DeepCopy ¶ added in v0.11.0
func (in *RoleAssignment) DeepCopy() *RoleAssignment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleAssignment.
func (*RoleAssignment) DeepCopyInto ¶ added in v0.11.0
func (in *RoleAssignment) DeepCopyInto(out *RoleAssignment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RoleAssignment) DeepCopyObject ¶ added in v0.11.0
func (in *RoleAssignment) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RoleAssignment) GetCondition ¶ added in v0.11.0
func (mg *RoleAssignment) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this RoleAssignment.
func (*RoleAssignment) GetConnectionDetailsMapping ¶ added in v0.11.0
func (tr *RoleAssignment) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this RoleAssignment
func (*RoleAssignment) GetDeletionPolicy ¶ added in v0.11.0
func (mg *RoleAssignment) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this RoleAssignment.
func (*RoleAssignment) GetID ¶ added in v0.11.0
func (tr *RoleAssignment) GetID() string
GetID returns ID of underlying Terraform resource of this RoleAssignment
func (*RoleAssignment) GetInitParameters ¶ added in v0.11.0
func (tr *RoleAssignment) GetInitParameters() (map[string]any, error)
GetInitParameters of this RoleAssignment
func (*RoleAssignment) GetManagementPolicies ¶ added in v0.11.0
func (mg *RoleAssignment) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this RoleAssignment.
func (*RoleAssignment) GetMergedParameters ¶ added in v0.11.0
func (tr *RoleAssignment) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this RoleAssignment
func (*RoleAssignment) GetObservation ¶ added in v0.11.0
func (tr *RoleAssignment) GetObservation() (map[string]any, error)
GetObservation of this RoleAssignment
func (*RoleAssignment) GetParameters ¶ added in v0.11.0
func (tr *RoleAssignment) GetParameters() (map[string]any, error)
GetParameters of this RoleAssignment
func (*RoleAssignment) GetProviderConfigReference ¶ added in v0.11.0
func (mg *RoleAssignment) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this RoleAssignment.
func (*RoleAssignment) GetPublishConnectionDetailsTo ¶ added in v0.11.0
func (mg *RoleAssignment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this RoleAssignment.
func (*RoleAssignment) GetTerraformResourceType ¶ added in v0.11.0
func (mg *RoleAssignment) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this RoleAssignment
func (*RoleAssignment) GetTerraformSchemaVersion ¶ added in v0.11.0
func (tr *RoleAssignment) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*RoleAssignment) GetWriteConnectionSecretToReference ¶ added in v0.11.0
func (mg *RoleAssignment) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this RoleAssignment.
func (*RoleAssignment) Hub ¶ added in v0.11.0
func (tr *RoleAssignment) Hub()
Hub marks this type as a conversion hub.
func (*RoleAssignment) LateInitialize ¶ added in v0.11.0
func (tr *RoleAssignment) LateInitialize(attrs []byte) (bool, error)
LateInitialize this RoleAssignment using its observed tfState. returns True if there are any spec changes for the resource.
func (*RoleAssignment) ResolveReferences ¶ added in v0.11.0
ResolveReferences of this RoleAssignment.
func (*RoleAssignment) SetConditions ¶ added in v0.11.0
func (mg *RoleAssignment) SetConditions(c ...xpv1.Condition)
SetConditions of this RoleAssignment.
func (*RoleAssignment) SetDeletionPolicy ¶ added in v0.11.0
func (mg *RoleAssignment) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this RoleAssignment.
func (*RoleAssignment) SetManagementPolicies ¶ added in v0.11.0
func (mg *RoleAssignment) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this RoleAssignment.
func (*RoleAssignment) SetObservation ¶ added in v0.11.0
func (tr *RoleAssignment) SetObservation(obs map[string]any) error
SetObservation for this RoleAssignment
func (*RoleAssignment) SetParameters ¶ added in v0.11.0
func (tr *RoleAssignment) SetParameters(params map[string]any) error
SetParameters for this RoleAssignment
func (*RoleAssignment) SetProviderConfigReference ¶ added in v0.11.0
func (mg *RoleAssignment) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this RoleAssignment.
func (*RoleAssignment) SetPublishConnectionDetailsTo ¶ added in v0.11.0
func (mg *RoleAssignment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this RoleAssignment.
func (*RoleAssignment) SetWriteConnectionSecretToReference ¶ added in v0.11.0
func (mg *RoleAssignment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this RoleAssignment.
type RoleAssignmentInitParameters ¶ added in v0.11.0
type RoleAssignmentInitParameters 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:"-"` // Reference to a Role in enterprise to populate roleUid. // +kubebuilder:validation:Optional RoleRef *v1.Reference `json:"roleRef,omitempty" tf:"-"` // Selector for a Role in enterprise to populate roleUid. // +kubebuilder:validation:Optional RoleSelector *v1.Selector `json:"roleSelector,omitempty" tf:"-"` // (String) Grafana RBAC role UID. // Grafana RBAC role UID. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/enterprise/v1alpha1.Role // +crossplane:generate:reference:extractor=github.com/grafana/crossplane-provider-grafana/config/grafana.OptionalFieldExtractor("uid") // +crossplane:generate:reference:refFieldName=RoleRef // +crossplane:generate:reference:selectorFieldName=RoleSelector RoleUID *string `json:"roleUid,omitempty" tf:"role_uid,omitempty"` // References to ServiceAccount in oss to populate serviceAccounts. // +kubebuilder:validation:Optional ServiceAccountRefs []v1.Reference `json:"serviceAccountRefs,omitempty" tf:"-"` // Selector for a list of ServiceAccount in oss to populate serviceAccounts. // +kubebuilder:validation:Optional ServiceAccountSelector *v1.Selector `json:"serviceAccountSelector,omitempty" tf:"-"` // (Set of String) IDs of service accounts that the role should be assigned to. // IDs of service accounts that the role should be assigned to. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.ServiceAccount // +crossplane:generate:reference:refFieldName=ServiceAccountRefs // +crossplane:generate:reference:selectorFieldName=ServiceAccountSelector // +listType=set ServiceAccounts []*string `json:"serviceAccounts,omitempty" tf:"service_accounts,omitempty"` // References to Team in oss to populate teams. // +kubebuilder:validation:Optional TeamRefs []v1.Reference `json:"teamRefs,omitempty" tf:"-"` // Selector for a list of Team in oss to populate teams. // +kubebuilder:validation:Optional TeamSelector *v1.Selector `json:"teamSelector,omitempty" tf:"-"` // (Set of String) IDs of teams that the role should be assigned to. // IDs of teams that the role should be assigned to. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Team // +crossplane:generate:reference:refFieldName=TeamRefs // +crossplane:generate:reference:selectorFieldName=TeamSelector // +listType=set Teams []*string `json:"teams,omitempty" tf:"teams,omitempty"` // References to User in oss to populate users. // +kubebuilder:validation:Optional UserRefs []v1.Reference `json:"userRefs,omitempty" tf:"-"` // Selector for a list of User in oss to populate users. // +kubebuilder:validation:Optional UserSelector *v1.Selector `json:"userSelector,omitempty" tf:"-"` // (Set of Number) IDs of users that the role should be assigned to. // IDs of users that the role should be assigned to. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.User // +crossplane:generate:reference:refFieldName=UserRefs // +crossplane:generate:reference:selectorFieldName=UserSelector // +listType=set Users []*float64 `json:"users,omitempty" tf:"users,omitempty"` }
func (*RoleAssignmentInitParameters) DeepCopy ¶ added in v0.11.0
func (in *RoleAssignmentInitParameters) DeepCopy() *RoleAssignmentInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleAssignmentInitParameters.
func (*RoleAssignmentInitParameters) DeepCopyInto ¶ added in v0.11.0
func (in *RoleAssignmentInitParameters) DeepCopyInto(out *RoleAssignmentInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RoleAssignmentList ¶ added in v0.11.0
type RoleAssignmentList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []RoleAssignment `json:"items"` }
RoleAssignmentList contains a list of RoleAssignments
func (*RoleAssignmentList) DeepCopy ¶ added in v0.11.0
func (in *RoleAssignmentList) DeepCopy() *RoleAssignmentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleAssignmentList.
func (*RoleAssignmentList) DeepCopyInto ¶ added in v0.11.0
func (in *RoleAssignmentList) DeepCopyInto(out *RoleAssignmentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RoleAssignmentList) DeepCopyObject ¶ added in v0.11.0
func (in *RoleAssignmentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RoleAssignmentList) GetItems ¶ added in v0.11.0
func (l *RoleAssignmentList) GetItems() []resource.Managed
GetItems of this RoleAssignmentList.
type RoleAssignmentObservation ¶ added in v0.11.0
type RoleAssignmentObservation 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) Grafana RBAC role UID. // Grafana RBAC role UID. RoleUID *string `json:"roleUid,omitempty" tf:"role_uid,omitempty"` // (Set of String) IDs of service accounts that the role should be assigned to. // IDs of service accounts that the role should be assigned to. // +listType=set ServiceAccounts []*string `json:"serviceAccounts,omitempty" tf:"service_accounts,omitempty"` // (Set of String) IDs of teams that the role should be assigned to. // IDs of teams that the role should be assigned to. // +listType=set Teams []*string `json:"teams,omitempty" tf:"teams,omitempty"` // (Set of Number) IDs of users that the role should be assigned to. // IDs of users that the role should be assigned to. // +listType=set Users []*float64 `json:"users,omitempty" tf:"users,omitempty"` }
func (*RoleAssignmentObservation) DeepCopy ¶ added in v0.11.0
func (in *RoleAssignmentObservation) DeepCopy() *RoleAssignmentObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleAssignmentObservation.
func (*RoleAssignmentObservation) DeepCopyInto ¶ added in v0.11.0
func (in *RoleAssignmentObservation) DeepCopyInto(out *RoleAssignmentObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RoleAssignmentParameters ¶ added in v0.11.0
type RoleAssignmentParameters 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:"-"` // Reference to a Role in enterprise to populate roleUid. // +kubebuilder:validation:Optional RoleRef *v1.Reference `json:"roleRef,omitempty" tf:"-"` // Selector for a Role in enterprise to populate roleUid. // +kubebuilder:validation:Optional RoleSelector *v1.Selector `json:"roleSelector,omitempty" tf:"-"` // (String) Grafana RBAC role UID. // Grafana RBAC role UID. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/enterprise/v1alpha1.Role // +crossplane:generate:reference:extractor=github.com/grafana/crossplane-provider-grafana/config/grafana.OptionalFieldExtractor("uid") // +crossplane:generate:reference:refFieldName=RoleRef // +crossplane:generate:reference:selectorFieldName=RoleSelector // +kubebuilder:validation:Optional RoleUID *string `json:"roleUid,omitempty" tf:"role_uid,omitempty"` // References to ServiceAccount in oss to populate serviceAccounts. // +kubebuilder:validation:Optional ServiceAccountRefs []v1.Reference `json:"serviceAccountRefs,omitempty" tf:"-"` // Selector for a list of ServiceAccount in oss to populate serviceAccounts. // +kubebuilder:validation:Optional ServiceAccountSelector *v1.Selector `json:"serviceAccountSelector,omitempty" tf:"-"` // (Set of String) IDs of service accounts that the role should be assigned to. // IDs of service accounts that the role should be assigned to. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.ServiceAccount // +crossplane:generate:reference:refFieldName=ServiceAccountRefs // +crossplane:generate:reference:selectorFieldName=ServiceAccountSelector // +kubebuilder:validation:Optional // +listType=set ServiceAccounts []*string `json:"serviceAccounts,omitempty" tf:"service_accounts,omitempty"` // References to Team in oss to populate teams. // +kubebuilder:validation:Optional TeamRefs []v1.Reference `json:"teamRefs,omitempty" tf:"-"` // Selector for a list of Team in oss to populate teams. // +kubebuilder:validation:Optional TeamSelector *v1.Selector `json:"teamSelector,omitempty" tf:"-"` // (Set of String) IDs of teams that the role should be assigned to. // IDs of teams that the role should be assigned to. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.Team // +crossplane:generate:reference:refFieldName=TeamRefs // +crossplane:generate:reference:selectorFieldName=TeamSelector // +kubebuilder:validation:Optional // +listType=set Teams []*string `json:"teams,omitempty" tf:"teams,omitempty"` // References to User in oss to populate users. // +kubebuilder:validation:Optional UserRefs []v1.Reference `json:"userRefs,omitempty" tf:"-"` // Selector for a list of User in oss to populate users. // +kubebuilder:validation:Optional UserSelector *v1.Selector `json:"userSelector,omitempty" tf:"-"` // (Set of Number) IDs of users that the role should be assigned to. // IDs of users that the role should be assigned to. // +crossplane:generate:reference:type=github.com/grafana/crossplane-provider-grafana/apis/oss/v1alpha1.User // +crossplane:generate:reference:refFieldName=UserRefs // +crossplane:generate:reference:selectorFieldName=UserSelector // +kubebuilder:validation:Optional // +listType=set Users []*float64 `json:"users,omitempty" tf:"users,omitempty"` }
func (*RoleAssignmentParameters) DeepCopy ¶ added in v0.11.0
func (in *RoleAssignmentParameters) DeepCopy() *RoleAssignmentParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleAssignmentParameters.
func (*RoleAssignmentParameters) DeepCopyInto ¶ added in v0.11.0
func (in *RoleAssignmentParameters) DeepCopyInto(out *RoleAssignmentParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RoleAssignmentSpec ¶ added in v0.11.0
type RoleAssignmentSpec struct { v1.ResourceSpec `json:",inline"` ForProvider RoleAssignmentParameters `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 RoleAssignmentInitParameters `json:"initProvider,omitempty"` }
RoleAssignmentSpec defines the desired state of RoleAssignment
func (*RoleAssignmentSpec) DeepCopy ¶ added in v0.11.0
func (in *RoleAssignmentSpec) DeepCopy() *RoleAssignmentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleAssignmentSpec.
func (*RoleAssignmentSpec) DeepCopyInto ¶ added in v0.11.0
func (in *RoleAssignmentSpec) DeepCopyInto(out *RoleAssignmentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RoleAssignmentStatus ¶ added in v0.11.0
type RoleAssignmentStatus struct { v1.ResourceStatus `json:",inline"` AtProvider RoleAssignmentObservation `json:"atProvider,omitempty"` }
RoleAssignmentStatus defines the observed state of RoleAssignment.
func (*RoleAssignmentStatus) DeepCopy ¶ added in v0.11.0
func (in *RoleAssignmentStatus) DeepCopy() *RoleAssignmentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleAssignmentStatus.
func (*RoleAssignmentStatus) DeepCopyInto ¶ added in v0.11.0
func (in *RoleAssignmentStatus) DeepCopyInto(out *RoleAssignmentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RoleInitParameters ¶ added in v0.11.0
type RoleInitParameters struct { // (Boolean) Whether the role version should be incremented automatically on updates (and set to 1 on creation). This field or version should be set. // Whether the role version should be incremented automatically on updates (and set to 1 on creation). This field or `version` should be set. AutoIncrementVersion *bool `json:"autoIncrementVersion,omitempty" tf:"auto_increment_version,omitempty"` // (String) Description of the role. // Description of the role. Description *string `json:"description,omitempty" tf:"description,omitempty"` // (String) Display name of the role. Available with Grafana 8.5+. // Display name of the role. Available with Grafana 8.5+. DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // (Boolean) Boolean to state whether the role is available across all organizations or not. Defaults to false. // Boolean to state whether the role is available across all organizations or not. Defaults to `false`. Global *bool `json:"global,omitempty" tf:"global,omitempty"` // (String) Group of the role. Available with Grafana 8.5+. // Group of the role. Available with Grafana 8.5+. Group *string `json:"group,omitempty" tf:"group,omitempty"` // (Boolean) Boolean to state whether the role should be visible in the Grafana UI or not. Available with Grafana 8.5+. Defaults to false. // Boolean to state whether the role should be visible in the Grafana UI or not. Available with Grafana 8.5+. Defaults to `false`. Hidden *bool `json:"hidden,omitempty" tf:"hidden,omitempty"` // (String) Name of the role // Name of the role 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 Set) Specific set of actions granted by the role. (see below for nested schema) // Specific set of actions granted by the role. Permissions []RolePermissionsInitParameters `json:"permissions,omitempty" tf:"permissions,omitempty"` // (String) Unique identifier of the role. Used for assignments. // Unique identifier of the role. Used for assignments. UID *string `json:"uid,omitempty" tf:"uid,omitempty"` // (Number) Version of the role. A role is updated only on version increase. This field or auto_increment_version should be set. // Version of the role. A role is updated only on version increase. This field or `auto_increment_version` should be set. Version *float64 `json:"version,omitempty" tf:"version,omitempty"` }
func (*RoleInitParameters) DeepCopy ¶ added in v0.11.0
func (in *RoleInitParameters) DeepCopy() *RoleInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleInitParameters.
func (*RoleInitParameters) DeepCopyInto ¶ added in v0.11.0
func (in *RoleInitParameters) DeepCopyInto(out *RoleInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RoleList ¶ added in v0.11.0
type RoleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Role `json:"items"` }
RoleList contains a list of Roles
func (*RoleList) DeepCopy ¶ added in v0.11.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleList.
func (*RoleList) DeepCopyInto ¶ added in v0.11.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RoleList) DeepCopyObject ¶ added in v0.11.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RoleObservation ¶ added in v0.11.0
type RoleObservation struct { // (Boolean) Whether the role version should be incremented automatically on updates (and set to 1 on creation). This field or version should be set. // Whether the role version should be incremented automatically on updates (and set to 1 on creation). This field or `version` should be set. AutoIncrementVersion *bool `json:"autoIncrementVersion,omitempty" tf:"auto_increment_version,omitempty"` // (String) Description of the role. // Description of the role. Description *string `json:"description,omitempty" tf:"description,omitempty"` // (String) Display name of the role. Available with Grafana 8.5+. // Display name of the role. Available with Grafana 8.5+. DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // (Boolean) Boolean to state whether the role is available across all organizations or not. Defaults to false. // Boolean to state whether the role is available across all organizations or not. Defaults to `false`. Global *bool `json:"global,omitempty" tf:"global,omitempty"` // (String) Group of the role. Available with Grafana 8.5+. // Group of the role. Available with Grafana 8.5+. Group *string `json:"group,omitempty" tf:"group,omitempty"` // (Boolean) Boolean to state whether the role should be visible in the Grafana UI or not. Available with Grafana 8.5+. Defaults to false. // Boolean to state whether the role should be visible in the Grafana UI or not. Available with Grafana 8.5+. Defaults to `false`. Hidden *bool `json:"hidden,omitempty" tf:"hidden,omitempty"` // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (String) Name of the role // Name of the role 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 Set) Specific set of actions granted by the role. (see below for nested schema) // Specific set of actions granted by the role. Permissions []RolePermissionsObservation `json:"permissions,omitempty" tf:"permissions,omitempty"` // (String) Unique identifier of the role. Used for assignments. // Unique identifier of the role. Used for assignments. UID *string `json:"uid,omitempty" tf:"uid,omitempty"` // (Number) Version of the role. A role is updated only on version increase. This field or auto_increment_version should be set. // Version of the role. A role is updated only on version increase. This field or `auto_increment_version` should be set. Version *float64 `json:"version,omitempty" tf:"version,omitempty"` }
func (*RoleObservation) DeepCopy ¶ added in v0.11.0
func (in *RoleObservation) DeepCopy() *RoleObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleObservation.
func (*RoleObservation) DeepCopyInto ¶ added in v0.11.0
func (in *RoleObservation) DeepCopyInto(out *RoleObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RoleParameters ¶ added in v0.11.0
type RoleParameters struct { // (Boolean) Whether the role version should be incremented automatically on updates (and set to 1 on creation). This field or version should be set. // Whether the role version should be incremented automatically on updates (and set to 1 on creation). This field or `version` should be set. // +kubebuilder:validation:Optional AutoIncrementVersion *bool `json:"autoIncrementVersion,omitempty" tf:"auto_increment_version,omitempty"` // (String) Description of the role. // Description of the role. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // (String) Display name of the role. Available with Grafana 8.5+. // Display name of the role. Available with Grafana 8.5+. // +kubebuilder:validation:Optional DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // (Boolean) Boolean to state whether the role is available across all organizations or not. Defaults to false. // Boolean to state whether the role is available across all organizations or not. Defaults to `false`. // +kubebuilder:validation:Optional Global *bool `json:"global,omitempty" tf:"global,omitempty"` // (String) Group of the role. Available with Grafana 8.5+. // Group of the role. Available with Grafana 8.5+. // +kubebuilder:validation:Optional Group *string `json:"group,omitempty" tf:"group,omitempty"` // (Boolean) Boolean to state whether the role should be visible in the Grafana UI or not. Available with Grafana 8.5+. Defaults to false. // Boolean to state whether the role should be visible in the Grafana UI or not. Available with Grafana 8.5+. Defaults to `false`. // +kubebuilder:validation:Optional Hidden *bool `json:"hidden,omitempty" tf:"hidden,omitempty"` // (String) Name of the role // Name of the role // +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 Set) Specific set of actions granted by the role. (see below for nested schema) // Specific set of actions granted by the role. // +kubebuilder:validation:Optional Permissions []RolePermissionsParameters `json:"permissions,omitempty" tf:"permissions,omitempty"` // (String) Unique identifier of the role. Used for assignments. // Unique identifier of the role. Used for assignments. // +kubebuilder:validation:Optional UID *string `json:"uid,omitempty" tf:"uid,omitempty"` // (Number) Version of the role. A role is updated only on version increase. This field or auto_increment_version should be set. // Version of the role. A role is updated only on version increase. This field or `auto_increment_version` should be set. // +kubebuilder:validation:Optional Version *float64 `json:"version,omitempty" tf:"version,omitempty"` }
func (*RoleParameters) DeepCopy ¶ added in v0.11.0
func (in *RoleParameters) DeepCopy() *RoleParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleParameters.
func (*RoleParameters) DeepCopyInto ¶ added in v0.11.0
func (in *RoleParameters) DeepCopyInto(out *RoleParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RolePermissionsInitParameters ¶ added in v0.11.0
type RolePermissionsInitParameters struct { // (String) Specific action users granted with the role will be allowed to perform (for example: users:read) // Specific action users granted with the role will be allowed to perform (for example: `users:read`) Action *string `json:"action,omitempty" tf:"action,omitempty"` // (String) Scope to restrict the action to a set of resources (for example: users:* or roles:customrole1) Defaults to “. // Scope to restrict the action to a set of resources (for example: `users:*` or `roles:customrole1`) Defaults to “. Scope *string `json:"scope,omitempty" tf:"scope,omitempty"` }
func (*RolePermissionsInitParameters) DeepCopy ¶ added in v0.11.0
func (in *RolePermissionsInitParameters) DeepCopy() *RolePermissionsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RolePermissionsInitParameters.
func (*RolePermissionsInitParameters) DeepCopyInto ¶ added in v0.11.0
func (in *RolePermissionsInitParameters) DeepCopyInto(out *RolePermissionsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RolePermissionsObservation ¶ added in v0.11.0
type RolePermissionsObservation struct { // (String) Specific action users granted with the role will be allowed to perform (for example: users:read) // Specific action users granted with the role will be allowed to perform (for example: `users:read`) Action *string `json:"action,omitempty" tf:"action,omitempty"` // (String) Scope to restrict the action to a set of resources (for example: users:* or roles:customrole1) Defaults to “. // Scope to restrict the action to a set of resources (for example: `users:*` or `roles:customrole1`) Defaults to “. Scope *string `json:"scope,omitempty" tf:"scope,omitempty"` }
func (*RolePermissionsObservation) DeepCopy ¶ added in v0.11.0
func (in *RolePermissionsObservation) DeepCopy() *RolePermissionsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RolePermissionsObservation.
func (*RolePermissionsObservation) DeepCopyInto ¶ added in v0.11.0
func (in *RolePermissionsObservation) DeepCopyInto(out *RolePermissionsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RolePermissionsParameters ¶ added in v0.11.0
type RolePermissionsParameters struct { // (String) Specific action users granted with the role will be allowed to perform (for example: users:read) // Specific action users granted with the role will be allowed to perform (for example: `users:read`) // +kubebuilder:validation:Optional Action *string `json:"action" tf:"action,omitempty"` // (String) Scope to restrict the action to a set of resources (for example: users:* or roles:customrole1) Defaults to “. // Scope to restrict the action to a set of resources (for example: `users:*` or `roles:customrole1`) Defaults to “. // +kubebuilder:validation:Optional Scope *string `json:"scope,omitempty" tf:"scope,omitempty"` }
func (*RolePermissionsParameters) DeepCopy ¶ added in v0.11.0
func (in *RolePermissionsParameters) DeepCopy() *RolePermissionsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RolePermissionsParameters.
func (*RolePermissionsParameters) DeepCopyInto ¶ added in v0.11.0
func (in *RolePermissionsParameters) DeepCopyInto(out *RolePermissionsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RoleSpec ¶ added in v0.11.0
type RoleSpec struct { v1.ResourceSpec `json:",inline"` ForProvider RoleParameters `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 RoleInitParameters `json:"initProvider,omitempty"` }
RoleSpec defines the desired state of Role
func (*RoleSpec) DeepCopy ¶ added in v0.11.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleSpec.
func (*RoleSpec) DeepCopyInto ¶ added in v0.11.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RoleStatus ¶ added in v0.11.0
type RoleStatus struct { v1.ResourceStatus `json:",inline"` AtProvider RoleObservation `json:"atProvider,omitempty"` }
RoleStatus defines the observed state of Role.
func (*RoleStatus) DeepCopy ¶ added in v0.11.0
func (in *RoleStatus) DeepCopy() *RoleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleStatus.
func (*RoleStatus) DeepCopyInto ¶ added in v0.11.0
func (in *RoleStatus) DeepCopyInto(out *RoleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScheduleInitParameters ¶ added in v0.8.0
type ScheduleInitParameters struct { // (String) Custom interval of the report. // Note: This field is only available when frequency is set to custom. // Custom interval of the report. // **Note:** This field is only available when frequency is set to `custom`. CustomInterval *string `json:"customInterval,omitempty" tf:"custom_interval,omitempty"` // 01-02T15:04:05 format if you want to set a custom timezone // End time of the report. If empty, the report will be sent indefinitely (according to frequency). Note that times will be saved as UTC in Grafana. Use 2006-01-02T15:04:05 format if you want to set a custom timezone EndTime *string `json:"endTime,omitempty" tf:"end_time,omitempty"` // (String) Frequency of the report. Allowed values: never, once, hourly, daily, weekly, monthly, custom. // Frequency of the report. Allowed values: `never`, `once`, `hourly`, `daily`, `weekly`, `monthly`, `custom`. Frequency *string `json:"frequency,omitempty" tf:"frequency,omitempty"` // (Boolean) Send the report on the last day of the month Defaults to false. // Send the report on the last day of the month Defaults to `false`. LastDayOfMonth *bool `json:"lastDayOfMonth,omitempty" tf:"last_day_of_month,omitempty"` // 01-02T15:04:05 format if you want to set a custom timezone // Start time of the report. If empty, the start date will be set to the creation time. Note that times will be saved as UTC in Grafana. Use 2006-01-02T15:04:05 format if you want to set a custom timezone StartTime *string `json:"startTime,omitempty" tf:"start_time,omitempty"` // (String) Set the report time zone. Defaults to GMT. // Set the report time zone. Defaults to `GMT`. Timezone *string `json:"timezone,omitempty" tf:"timezone,omitempty"` // (Boolean) Whether to send the report only on work days. Defaults to false. // Whether to send the report only on work days. Defaults to `false`. WorkdaysOnly *bool `json:"workdaysOnly,omitempty" tf:"workdays_only,omitempty"` }
func (*ScheduleInitParameters) DeepCopy ¶ added in v0.8.0
func (in *ScheduleInitParameters) DeepCopy() *ScheduleInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduleInitParameters.
func (*ScheduleInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *ScheduleInitParameters) DeepCopyInto(out *ScheduleInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScheduleObservation ¶
type ScheduleObservation struct { // (String) Custom interval of the report. // Note: This field is only available when frequency is set to custom. // Custom interval of the report. // **Note:** This field is only available when frequency is set to `custom`. CustomInterval *string `json:"customInterval,omitempty" tf:"custom_interval,omitempty"` // 01-02T15:04:05 format if you want to set a custom timezone // End time of the report. If empty, the report will be sent indefinitely (according to frequency). Note that times will be saved as UTC in Grafana. Use 2006-01-02T15:04:05 format if you want to set a custom timezone EndTime *string `json:"endTime,omitempty" tf:"end_time,omitempty"` // (String) Frequency of the report. Allowed values: never, once, hourly, daily, weekly, monthly, custom. // Frequency of the report. Allowed values: `never`, `once`, `hourly`, `daily`, `weekly`, `monthly`, `custom`. Frequency *string `json:"frequency,omitempty" tf:"frequency,omitempty"` // (Boolean) Send the report on the last day of the month Defaults to false. // Send the report on the last day of the month Defaults to `false`. LastDayOfMonth *bool `json:"lastDayOfMonth,omitempty" tf:"last_day_of_month,omitempty"` // 01-02T15:04:05 format if you want to set a custom timezone // Start time of the report. If empty, the start date will be set to the creation time. Note that times will be saved as UTC in Grafana. Use 2006-01-02T15:04:05 format if you want to set a custom timezone StartTime *string `json:"startTime,omitempty" tf:"start_time,omitempty"` // (String) Set the report time zone. Defaults to GMT. // Set the report time zone. Defaults to `GMT`. Timezone *string `json:"timezone,omitempty" tf:"timezone,omitempty"` // (Boolean) Whether to send the report only on work days. Defaults to false. // Whether to send the report only on work days. Defaults to `false`. WorkdaysOnly *bool `json:"workdaysOnly,omitempty" tf:"workdays_only,omitempty"` }
func (*ScheduleObservation) DeepCopy ¶
func (in *ScheduleObservation) DeepCopy() *ScheduleObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduleObservation.
func (*ScheduleObservation) DeepCopyInto ¶
func (in *ScheduleObservation) DeepCopyInto(out *ScheduleObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScheduleParameters ¶
type ScheduleParameters struct { // (String) Custom interval of the report. // Note: This field is only available when frequency is set to custom. // Custom interval of the report. // **Note:** This field is only available when frequency is set to `custom`. // +kubebuilder:validation:Optional CustomInterval *string `json:"customInterval,omitempty" tf:"custom_interval,omitempty"` // 01-02T15:04:05 format if you want to set a custom timezone // End time of the report. If empty, the report will be sent indefinitely (according to frequency). Note that times will be saved as UTC in Grafana. Use 2006-01-02T15:04:05 format if you want to set a custom timezone // +kubebuilder:validation:Optional EndTime *string `json:"endTime,omitempty" tf:"end_time,omitempty"` // (String) Frequency of the report. Allowed values: never, once, hourly, daily, weekly, monthly, custom. // Frequency of the report. Allowed values: `never`, `once`, `hourly`, `daily`, `weekly`, `monthly`, `custom`. // +kubebuilder:validation:Optional Frequency *string `json:"frequency" tf:"frequency,omitempty"` // (Boolean) Send the report on the last day of the month Defaults to false. // Send the report on the last day of the month Defaults to `false`. // +kubebuilder:validation:Optional LastDayOfMonth *bool `json:"lastDayOfMonth,omitempty" tf:"last_day_of_month,omitempty"` // 01-02T15:04:05 format if you want to set a custom timezone // Start time of the report. If empty, the start date will be set to the creation time. Note that times will be saved as UTC in Grafana. Use 2006-01-02T15:04:05 format if you want to set a custom timezone // +kubebuilder:validation:Optional StartTime *string `json:"startTime,omitempty" tf:"start_time,omitempty"` // (String) Set the report time zone. Defaults to GMT. // Set the report time zone. Defaults to `GMT`. // +kubebuilder:validation:Optional Timezone *string `json:"timezone,omitempty" tf:"timezone,omitempty"` // (Boolean) Whether to send the report only on work days. Defaults to false. // Whether to send the report only on work days. Defaults to `false`. // +kubebuilder:validation:Optional WorkdaysOnly *bool `json:"workdaysOnly,omitempty" tf:"workdays_only,omitempty"` }
func (*ScheduleParameters) DeepCopy ¶
func (in *ScheduleParameters) DeepCopy() *ScheduleParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScheduleParameters.
func (*ScheduleParameters) DeepCopyInto ¶
func (in *ScheduleParameters) DeepCopyInto(out *ScheduleParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TeamExternalGroup ¶ added in v0.11.0
type TeamExternalGroup 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.groups) || (has(self.initProvider) && has(self.initProvider.groups))",message="spec.forProvider.groups is a required parameter" Spec TeamExternalGroupSpec `json:"spec"` Status TeamExternalGroupStatus `json:"status,omitempty"` }
TeamExternalGroup is the Schema for the TeamExternalGroups API. Equivalent to the the team_sync attribute of the grafana_team resource. Use one or the other to configure a team's external groups syncing config. +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 (*TeamExternalGroup) DeepCopy ¶ added in v0.11.0
func (in *TeamExternalGroup) DeepCopy() *TeamExternalGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamExternalGroup.
func (*TeamExternalGroup) DeepCopyInto ¶ added in v0.11.0
func (in *TeamExternalGroup) DeepCopyInto(out *TeamExternalGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TeamExternalGroup) DeepCopyObject ¶ added in v0.11.0
func (in *TeamExternalGroup) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TeamExternalGroup) GetCondition ¶ added in v0.11.0
func (mg *TeamExternalGroup) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this TeamExternalGroup.
func (*TeamExternalGroup) GetConnectionDetailsMapping ¶ added in v0.11.0
func (tr *TeamExternalGroup) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this TeamExternalGroup
func (*TeamExternalGroup) GetDeletionPolicy ¶ added in v0.11.0
func (mg *TeamExternalGroup) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this TeamExternalGroup.
func (*TeamExternalGroup) GetID ¶ added in v0.11.0
func (tr *TeamExternalGroup) GetID() string
GetID returns ID of underlying Terraform resource of this TeamExternalGroup
func (*TeamExternalGroup) GetInitParameters ¶ added in v0.11.0
func (tr *TeamExternalGroup) GetInitParameters() (map[string]any, error)
GetInitParameters of this TeamExternalGroup
func (*TeamExternalGroup) GetManagementPolicies ¶ added in v0.11.0
func (mg *TeamExternalGroup) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this TeamExternalGroup.
func (*TeamExternalGroup) GetMergedParameters ¶ added in v0.11.0
func (tr *TeamExternalGroup) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters of this TeamExternalGroup
func (*TeamExternalGroup) GetObservation ¶ added in v0.11.0
func (tr *TeamExternalGroup) GetObservation() (map[string]any, error)
GetObservation of this TeamExternalGroup
func (*TeamExternalGroup) GetParameters ¶ added in v0.11.0
func (tr *TeamExternalGroup) GetParameters() (map[string]any, error)
GetParameters of this TeamExternalGroup
func (*TeamExternalGroup) GetProviderConfigReference ¶ added in v0.11.0
func (mg *TeamExternalGroup) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this TeamExternalGroup.
func (*TeamExternalGroup) GetPublishConnectionDetailsTo ¶ added in v0.11.0
func (mg *TeamExternalGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this TeamExternalGroup.
func (*TeamExternalGroup) GetTerraformResourceType ¶ added in v0.11.0
func (mg *TeamExternalGroup) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this TeamExternalGroup
func (*TeamExternalGroup) GetTerraformSchemaVersion ¶ added in v0.11.0
func (tr *TeamExternalGroup) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*TeamExternalGroup) GetWriteConnectionSecretToReference ¶ added in v0.11.0
func (mg *TeamExternalGroup) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this TeamExternalGroup.
func (*TeamExternalGroup) Hub ¶ added in v0.11.0
func (tr *TeamExternalGroup) Hub()
Hub marks this type as a conversion hub.
func (*TeamExternalGroup) LateInitialize ¶ added in v0.11.0
func (tr *TeamExternalGroup) LateInitialize(attrs []byte) (bool, error)
LateInitialize this TeamExternalGroup using its observed tfState. returns True if there are any spec changes for the resource.
func (*TeamExternalGroup) ResolveReferences ¶ added in v0.11.0
ResolveReferences of this TeamExternalGroup.
func (*TeamExternalGroup) SetConditions ¶ added in v0.11.0
func (mg *TeamExternalGroup) SetConditions(c ...xpv1.Condition)
SetConditions of this TeamExternalGroup.
func (*TeamExternalGroup) SetDeletionPolicy ¶ added in v0.11.0
func (mg *TeamExternalGroup) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this TeamExternalGroup.
func (*TeamExternalGroup) SetManagementPolicies ¶ added in v0.11.0
func (mg *TeamExternalGroup) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this TeamExternalGroup.
func (*TeamExternalGroup) SetObservation ¶ added in v0.11.0
func (tr *TeamExternalGroup) SetObservation(obs map[string]any) error
SetObservation for this TeamExternalGroup
func (*TeamExternalGroup) SetParameters ¶ added in v0.11.0
func (tr *TeamExternalGroup) SetParameters(params map[string]any) error
SetParameters for this TeamExternalGroup
func (*TeamExternalGroup) SetProviderConfigReference ¶ added in v0.11.0
func (mg *TeamExternalGroup) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this TeamExternalGroup.
func (*TeamExternalGroup) SetPublishConnectionDetailsTo ¶ added in v0.11.0
func (mg *TeamExternalGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this TeamExternalGroup.
func (*TeamExternalGroup) SetWriteConnectionSecretToReference ¶ added in v0.11.0
func (mg *TeamExternalGroup) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this TeamExternalGroup.
type TeamExternalGroupInitParameters ¶ added in v0.11.0
type TeamExternalGroupInitParameters struct { // (Set of String) The team external groups list // The team external groups list // +listType=set Groups []*string `json:"groups,omitempty" tf:"groups,omitempty"` // (String) The Team ID // The Team ID // +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:"-"` }
func (*TeamExternalGroupInitParameters) DeepCopy ¶ added in v0.11.0
func (in *TeamExternalGroupInitParameters) DeepCopy() *TeamExternalGroupInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamExternalGroupInitParameters.
func (*TeamExternalGroupInitParameters) DeepCopyInto ¶ added in v0.11.0
func (in *TeamExternalGroupInitParameters) DeepCopyInto(out *TeamExternalGroupInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TeamExternalGroupList ¶ added in v0.11.0
type TeamExternalGroupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []TeamExternalGroup `json:"items"` }
TeamExternalGroupList contains a list of TeamExternalGroups
func (*TeamExternalGroupList) DeepCopy ¶ added in v0.11.0
func (in *TeamExternalGroupList) DeepCopy() *TeamExternalGroupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamExternalGroupList.
func (*TeamExternalGroupList) DeepCopyInto ¶ added in v0.11.0
func (in *TeamExternalGroupList) DeepCopyInto(out *TeamExternalGroupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TeamExternalGroupList) DeepCopyObject ¶ added in v0.11.0
func (in *TeamExternalGroupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TeamExternalGroupList) GetItems ¶ added in v0.11.0
func (l *TeamExternalGroupList) GetItems() []resource.Managed
GetItems of this TeamExternalGroupList.
type TeamExternalGroupObservation ¶ added in v0.11.0
type TeamExternalGroupObservation struct { // (Set of String) The team external groups list // The team external groups list // +listType=set Groups []*string `json:"groups,omitempty" tf:"groups,omitempty"` // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (String) The Team ID // The Team ID TeamID *string `json:"teamId,omitempty" tf:"team_id,omitempty"` }
func (*TeamExternalGroupObservation) DeepCopy ¶ added in v0.11.0
func (in *TeamExternalGroupObservation) DeepCopy() *TeamExternalGroupObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamExternalGroupObservation.
func (*TeamExternalGroupObservation) DeepCopyInto ¶ added in v0.11.0
func (in *TeamExternalGroupObservation) DeepCopyInto(out *TeamExternalGroupObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TeamExternalGroupParameters ¶ added in v0.11.0
type TeamExternalGroupParameters struct { // (Set of String) The team external groups list // The team external groups list // +kubebuilder:validation:Optional // +listType=set Groups []*string `json:"groups,omitempty" tf:"groups,omitempty"` // (String) The Team ID // The Team ID // +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:"-"` }
func (*TeamExternalGroupParameters) DeepCopy ¶ added in v0.11.0
func (in *TeamExternalGroupParameters) DeepCopy() *TeamExternalGroupParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamExternalGroupParameters.
func (*TeamExternalGroupParameters) DeepCopyInto ¶ added in v0.11.0
func (in *TeamExternalGroupParameters) DeepCopyInto(out *TeamExternalGroupParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TeamExternalGroupSpec ¶ added in v0.11.0
type TeamExternalGroupSpec struct { v1.ResourceSpec `json:",inline"` ForProvider TeamExternalGroupParameters `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 TeamExternalGroupInitParameters `json:"initProvider,omitempty"` }
TeamExternalGroupSpec defines the desired state of TeamExternalGroup
func (*TeamExternalGroupSpec) DeepCopy ¶ added in v0.11.0
func (in *TeamExternalGroupSpec) DeepCopy() *TeamExternalGroupSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamExternalGroupSpec.
func (*TeamExternalGroupSpec) DeepCopyInto ¶ added in v0.11.0
func (in *TeamExternalGroupSpec) DeepCopyInto(out *TeamExternalGroupSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TeamExternalGroupStatus ¶ added in v0.11.0
type TeamExternalGroupStatus struct { v1.ResourceStatus `json:",inline"` AtProvider TeamExternalGroupObservation `json:"atProvider,omitempty"` }
TeamExternalGroupStatus defines the observed state of TeamExternalGroup.
func (*TeamExternalGroupStatus) DeepCopy ¶ added in v0.11.0
func (in *TeamExternalGroupStatus) DeepCopy() *TeamExternalGroupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeamExternalGroupStatus.
func (*TeamExternalGroupStatus) DeepCopyInto ¶ added in v0.11.0
func (in *TeamExternalGroupStatus) DeepCopyInto(out *TeamExternalGroupStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TimeRangeInitParameters ¶ added in v0.8.0
type TimeRangeInitParameters struct { // (String) Start of the time range. // Start of the time range. From *string `json:"from,omitempty" tf:"from,omitempty"` // (String) End of the time range. // End of the time range. To *string `json:"to,omitempty" tf:"to,omitempty"` }
func (*TimeRangeInitParameters) DeepCopy ¶ added in v0.8.0
func (in *TimeRangeInitParameters) DeepCopy() *TimeRangeInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeRangeInitParameters.
func (*TimeRangeInitParameters) DeepCopyInto ¶ added in v0.8.0
func (in *TimeRangeInitParameters) DeepCopyInto(out *TimeRangeInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TimeRangeObservation ¶
type TimeRangeObservation struct { // (String) Start of the time range. // Start of the time range. From *string `json:"from,omitempty" tf:"from,omitempty"` // (String) End of the time range. // End of the time range. To *string `json:"to,omitempty" tf:"to,omitempty"` }
func (*TimeRangeObservation) DeepCopy ¶
func (in *TimeRangeObservation) DeepCopy() *TimeRangeObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeRangeObservation.
func (*TimeRangeObservation) DeepCopyInto ¶
func (in *TimeRangeObservation) DeepCopyInto(out *TimeRangeObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TimeRangeParameters ¶
type TimeRangeParameters struct { // (String) Start of the time range. // Start of the time range. // +kubebuilder:validation:Optional From *string `json:"from,omitempty" tf:"from,omitempty"` // (String) End of the time range. // End of the time range. // +kubebuilder:validation:Optional To *string `json:"to,omitempty" tf:"to,omitempty"` }
func (*TimeRangeParameters) DeepCopy ¶
func (in *TimeRangeParameters) DeepCopy() *TimeRangeParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeRangeParameters.
func (*TimeRangeParameters) DeepCopyInto ¶
func (in *TimeRangeParameters) DeepCopyInto(out *TimeRangeParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files ¶
- zz_datasourcepermission_terraformed.go
- zz_datasourcepermission_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_report_terraformed.go
- zz_report_types.go
- zz_role_terraformed.go
- zz_role_types.go
- zz_roleassignment_terraformed.go
- zz_roleassignment_types.go
- zz_teamexternalgroup_terraformed.go
- zz_teamexternalgroup_types.go