Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=amp.aws.upbound.io +versionName=v1beta2
Index ¶
- Constants
- Variables
- type LoggingConfigurationInitParameters
- type LoggingConfigurationObservation
- type LoggingConfigurationParameters
- type Workspace
- func (in *Workspace) DeepCopy() *Workspace
- func (in *Workspace) DeepCopyInto(out *Workspace)
- func (in *Workspace) DeepCopyObject() runtime.Object
- func (mg *Workspace) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Workspace) GetConnectionDetailsMapping() map[string]string
- func (mg *Workspace) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Workspace) GetID() string
- func (tr *Workspace) GetInitParameters() (map[string]any, error)
- func (mg *Workspace) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Workspace) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Workspace) GetObservation() (map[string]any, error)
- func (tr *Workspace) GetParameters() (map[string]any, error)
- func (mg *Workspace) GetProviderConfigReference() *xpv1.Reference
- func (mg *Workspace) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Workspace) GetTerraformResourceType() string
- func (tr *Workspace) GetTerraformSchemaVersion() int
- func (mg *Workspace) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Workspace) Hub()
- func (tr *Workspace) LateInitialize(attrs []byte) (bool, error)
- func (mg *Workspace) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Workspace) SetConditions(c ...xpv1.Condition)
- func (mg *Workspace) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Workspace) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Workspace) SetObservation(obs map[string]any) error
- func (tr *Workspace) SetParameters(params map[string]any) error
- func (mg *Workspace) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Workspace) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Workspace) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type WorkspaceInitParameters
- type WorkspaceList
- type WorkspaceObservation
- type WorkspaceParameters
- type WorkspaceSpec
- type WorkspaceStatus
Constants ¶
const ( CRDGroup = "amp.aws.upbound.io" CRDVersion = "v1beta2" )
Package type metadata.
Variables ¶
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 ( Workspace_Kind = "Workspace" Workspace_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Workspace_Kind}.String() Workspace_KindAPIVersion = Workspace_Kind + "." + CRDGroupVersion.String() Workspace_GroupVersionKind = CRDGroupVersion.WithKind(Workspace_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type LoggingConfigurationInitParameters ¶
type LoggingConfigurationInitParameters struct { // The ARN of the CloudWatch log group to which the vended log data will be published. This log group must exist. LogGroupArn *string `json:"logGroupArn,omitempty" tf:"log_group_arn,omitempty"` }
func (*LoggingConfigurationInitParameters) DeepCopy ¶
func (in *LoggingConfigurationInitParameters) DeepCopy() *LoggingConfigurationInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingConfigurationInitParameters.
func (*LoggingConfigurationInitParameters) DeepCopyInto ¶
func (in *LoggingConfigurationInitParameters) DeepCopyInto(out *LoggingConfigurationInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoggingConfigurationObservation ¶
type LoggingConfigurationObservation struct { // The ARN of the CloudWatch log group to which the vended log data will be published. This log group must exist. LogGroupArn *string `json:"logGroupArn,omitempty" tf:"log_group_arn,omitempty"` }
func (*LoggingConfigurationObservation) DeepCopy ¶
func (in *LoggingConfigurationObservation) DeepCopy() *LoggingConfigurationObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingConfigurationObservation.
func (*LoggingConfigurationObservation) DeepCopyInto ¶
func (in *LoggingConfigurationObservation) DeepCopyInto(out *LoggingConfigurationObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoggingConfigurationParameters ¶
type LoggingConfigurationParameters struct { // The ARN of the CloudWatch log group to which the vended log data will be published. This log group must exist. // +kubebuilder:validation:Optional LogGroupArn *string `json:"logGroupArn" tf:"log_group_arn,omitempty"` }
func (*LoggingConfigurationParameters) DeepCopy ¶
func (in *LoggingConfigurationParameters) DeepCopy() *LoggingConfigurationParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingConfigurationParameters.
func (*LoggingConfigurationParameters) DeepCopyInto ¶
func (in *LoggingConfigurationParameters) DeepCopyInto(out *LoggingConfigurationParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Workspace ¶
type Workspace struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec WorkspaceSpec `json:"spec"` Status WorkspaceStatus `json:"status,omitempty"` }
Workspace is the Schema for the Workspaces API. Manages an Amazon Managed Service for Prometheus (AMP) Workspace +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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,aws}
func (*Workspace) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Workspace.
func (*Workspace) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Workspace) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Workspace) GetCondition ¶
func (mg *Workspace) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Workspace.
func (*Workspace) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Workspace
func (*Workspace) GetDeletionPolicy ¶
func (mg *Workspace) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Workspace.
func (*Workspace) GetInitParameters ¶
GetInitParameters of this Workspace
func (*Workspace) GetManagementPolicies ¶
func (mg *Workspace) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Workspace.
func (*Workspace) GetMergedParameters ¶
GetInitParameters of this Workspace
func (*Workspace) GetObservation ¶
GetObservation of this Workspace
func (*Workspace) GetParameters ¶
GetParameters of this Workspace
func (*Workspace) GetProviderConfigReference ¶
GetProviderConfigReference of this Workspace.
func (*Workspace) GetPublishConnectionDetailsTo ¶
func (mg *Workspace) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Workspace.
func (*Workspace) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Workspace
func (*Workspace) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Workspace) GetWriteConnectionSecretToReference ¶
func (mg *Workspace) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Workspace.
func (*Workspace) LateInitialize ¶
LateInitialize this Workspace using its observed tfState. returns True if there are any spec changes for the resource.
func (*Workspace) ResolveReferences ¶
func (*Workspace) SetConditions ¶
SetConditions of this Workspace.
func (*Workspace) SetDeletionPolicy ¶
func (mg *Workspace) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Workspace.
func (*Workspace) SetManagementPolicies ¶
func (mg *Workspace) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Workspace.
func (*Workspace) SetObservation ¶
SetObservation for this Workspace
func (*Workspace) SetParameters ¶
SetParameters for this Workspace
func (*Workspace) SetProviderConfigReference ¶
SetProviderConfigReference of this Workspace.
func (*Workspace) SetPublishConnectionDetailsTo ¶
func (mg *Workspace) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Workspace.
func (*Workspace) SetWriteConnectionSecretToReference ¶
func (mg *Workspace) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Workspace.
type WorkspaceInitParameters ¶
type WorkspaceInitParameters struct { // The alias of the prometheus workspace. See more in AWS Docs. Alias *string `json:"alias,omitempty" tf:"alias,omitempty"` // The ARN for the KMS encryption key. If this argument is not provided, then the AWS owned encryption key will be used to encrypt the data in the workspace. See more in AWS Docs // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key KMSKeyArn *string `json:"kmsKeyArn,omitempty" tf:"kms_key_arn,omitempty"` // Reference to a Key in kms to populate kmsKeyArn. // +kubebuilder:validation:Optional KMSKeyArnRef *v1.Reference `json:"kmsKeyArnRef,omitempty" tf:"-"` // Selector for a Key in kms to populate kmsKeyArn. // +kubebuilder:validation:Optional KMSKeyArnSelector *v1.Selector `json:"kmsKeyArnSelector,omitempty" tf:"-"` // Logging configuration for the workspace. See Logging Configuration below for details. LoggingConfiguration *LoggingConfigurationInitParameters `json:"loggingConfiguration,omitempty" tf:"logging_configuration,omitempty"` // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` }
func (*WorkspaceInitParameters) DeepCopy ¶
func (in *WorkspaceInitParameters) DeepCopy() *WorkspaceInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceInitParameters.
func (*WorkspaceInitParameters) DeepCopyInto ¶
func (in *WorkspaceInitParameters) DeepCopyInto(out *WorkspaceInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkspaceList ¶
type WorkspaceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Workspace `json:"items"` }
WorkspaceList contains a list of Workspaces
func (*WorkspaceList) DeepCopy ¶
func (in *WorkspaceList) DeepCopy() *WorkspaceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceList.
func (*WorkspaceList) DeepCopyInto ¶
func (in *WorkspaceList) DeepCopyInto(out *WorkspaceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WorkspaceList) DeepCopyObject ¶
func (in *WorkspaceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*WorkspaceList) GetItems ¶
func (l *WorkspaceList) GetItems() []resource.Managed
GetItems of this WorkspaceList.
type WorkspaceObservation ¶
type WorkspaceObservation struct { // The alias of the prometheus workspace. See more in AWS Docs. Alias *string `json:"alias,omitempty" tf:"alias,omitempty"` // Amazon Resource Name (ARN) of the workspace. Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` // Identifier of the workspace ID *string `json:"id,omitempty" tf:"id,omitempty"` // The ARN for the KMS encryption key. If this argument is not provided, then the AWS owned encryption key will be used to encrypt the data in the workspace. See more in AWS Docs KMSKeyArn *string `json:"kmsKeyArn,omitempty" tf:"kms_key_arn,omitempty"` // Logging configuration for the workspace. See Logging Configuration below for details. LoggingConfiguration *LoggingConfigurationObservation `json:"loggingConfiguration,omitempty" tf:"logging_configuration,omitempty"` // Prometheus endpoint available for this workspace. PrometheusEndpoint *string `json:"prometheusEndpoint,omitempty" tf:"prometheus_endpoint,omitempty"` // Key-value map of resource tags. // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block. // +mapType=granular TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"` }
func (*WorkspaceObservation) DeepCopy ¶
func (in *WorkspaceObservation) DeepCopy() *WorkspaceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceObservation.
func (*WorkspaceObservation) DeepCopyInto ¶
func (in *WorkspaceObservation) DeepCopyInto(out *WorkspaceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkspaceParameters ¶
type WorkspaceParameters struct { // The alias of the prometheus workspace. See more in AWS Docs. // +kubebuilder:validation:Optional Alias *string `json:"alias,omitempty" tf:"alias,omitempty"` // The ARN for the KMS encryption key. If this argument is not provided, then the AWS owned encryption key will be used to encrypt the data in the workspace. See more in AWS Docs // +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key // +kubebuilder:validation:Optional KMSKeyArn *string `json:"kmsKeyArn,omitempty" tf:"kms_key_arn,omitempty"` // Reference to a Key in kms to populate kmsKeyArn. // +kubebuilder:validation:Optional KMSKeyArnRef *v1.Reference `json:"kmsKeyArnRef,omitempty" tf:"-"` // Selector for a Key in kms to populate kmsKeyArn. // +kubebuilder:validation:Optional KMSKeyArnSelector *v1.Selector `json:"kmsKeyArnSelector,omitempty" tf:"-"` // Logging configuration for the workspace. See Logging Configuration below for details. // +kubebuilder:validation:Optional LoggingConfiguration *LoggingConfigurationParameters `json:"loggingConfiguration,omitempty" tf:"logging_configuration,omitempty"` // Region is the region you'd like your resource to be created in. // +upjet:crd:field:TFTag=- // +kubebuilder:validation:Required Region *string `json:"region" tf:"-"` // Key-value map of resource tags. // +kubebuilder:validation:Optional // +mapType=granular Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` }
func (*WorkspaceParameters) DeepCopy ¶
func (in *WorkspaceParameters) DeepCopy() *WorkspaceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceParameters.
func (*WorkspaceParameters) DeepCopyInto ¶
func (in *WorkspaceParameters) DeepCopyInto(out *WorkspaceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkspaceSpec ¶
type WorkspaceSpec struct { v1.ResourceSpec `json:",inline"` ForProvider WorkspaceParameters `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 WorkspaceInitParameters `json:"initProvider,omitempty"` }
WorkspaceSpec defines the desired state of Workspace
func (*WorkspaceSpec) DeepCopy ¶
func (in *WorkspaceSpec) DeepCopy() *WorkspaceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceSpec.
func (*WorkspaceSpec) DeepCopyInto ¶
func (in *WorkspaceSpec) DeepCopyInto(out *WorkspaceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkspaceStatus ¶
type WorkspaceStatus struct { v1.ResourceStatus `json:",inline"` AtProvider WorkspaceObservation `json:"atProvider,omitempty"` }
WorkspaceStatus defines the observed state of Workspace.
func (*WorkspaceStatus) DeepCopy ¶
func (in *WorkspaceStatus) DeepCopy() *WorkspaceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceStatus.
func (*WorkspaceStatus) DeepCopyInto ¶
func (in *WorkspaceStatus) DeepCopyInto(out *WorkspaceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.