v1beta1

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=amp.aws.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "amp.aws.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
var (
	AlertManagerDefinition_Kind             = "AlertManagerDefinition"
	AlertManagerDefinition_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: AlertManagerDefinition_Kind}.String()
	AlertManagerDefinition_KindAPIVersion   = AlertManagerDefinition_Kind + "." + CRDGroupVersion.String()
	AlertManagerDefinition_GroupVersionKind = CRDGroupVersion.WithKind(AlertManagerDefinition_Kind)
)

Repository type metadata.

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

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	RuleGroupNamespace_Kind             = "RuleGroupNamespace"
	RuleGroupNamespace_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: RuleGroupNamespace_Kind}.String()
	RuleGroupNamespace_KindAPIVersion   = RuleGroupNamespace_Kind + "." + CRDGroupVersion.String()
	RuleGroupNamespace_GroupVersionKind = CRDGroupVersion.WithKind(RuleGroupNamespace_Kind)
)

Repository type metadata.

View Source
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 AlertManagerDefinition

type AlertManagerDefinition struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AlertManagerDefinitionSpec   `json:"spec"`
	Status            AlertManagerDefinitionStatus `json:"status,omitempty"`
}

AlertManagerDefinition is the Schema for the AlertManagerDefinitions API. Manages an Amazon Managed Service for Prometheus (AMP) Alert Manager Definition +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*AlertManagerDefinition) DeepCopy

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

func (*AlertManagerDefinition) DeepCopyInto

func (in *AlertManagerDefinition) DeepCopyInto(out *AlertManagerDefinition)

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

func (*AlertManagerDefinition) DeepCopyObject

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

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

func (*AlertManagerDefinition) GetCondition

GetCondition of this AlertManagerDefinition.

func (*AlertManagerDefinition) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this AlertManagerDefinition

func (*AlertManagerDefinition) GetDeletionPolicy

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

GetDeletionPolicy of this AlertManagerDefinition.

func (*AlertManagerDefinition) GetID

func (tr *AlertManagerDefinition) GetID() string

GetID returns ID of underlying Terraform resource of this AlertManagerDefinition

func (*AlertManagerDefinition) GetObservation

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

GetObservation of this AlertManagerDefinition

func (*AlertManagerDefinition) GetParameters

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

GetParameters of this AlertManagerDefinition

func (*AlertManagerDefinition) GetProviderConfigReference

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

GetProviderConfigReference of this AlertManagerDefinition.

func (*AlertManagerDefinition) GetProviderReference

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

GetProviderReference of this AlertManagerDefinition. Deprecated: Use GetProviderConfigReference.

func (*AlertManagerDefinition) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this AlertManagerDefinition.

func (*AlertManagerDefinition) GetTerraformResourceType

func (mg *AlertManagerDefinition) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this AlertManagerDefinition

func (*AlertManagerDefinition) GetTerraformSchemaVersion

func (tr *AlertManagerDefinition) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*AlertManagerDefinition) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this AlertManagerDefinition.

func (*AlertManagerDefinition) LateInitialize

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

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

func (*AlertManagerDefinition) ResolveReferences

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

ResolveReferences of this AlertManagerDefinition.

func (*AlertManagerDefinition) SetConditions

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

SetConditions of this AlertManagerDefinition.

func (*AlertManagerDefinition) SetDeletionPolicy

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

SetDeletionPolicy of this AlertManagerDefinition.

func (*AlertManagerDefinition) SetObservation

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

SetObservation for this AlertManagerDefinition

func (*AlertManagerDefinition) SetParameters

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

SetParameters for this AlertManagerDefinition

func (*AlertManagerDefinition) SetProviderConfigReference

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

SetProviderConfigReference of this AlertManagerDefinition.

func (*AlertManagerDefinition) SetProviderReference

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

SetProviderReference of this AlertManagerDefinition. Deprecated: Use SetProviderConfigReference.

func (*AlertManagerDefinition) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this AlertManagerDefinition.

func (*AlertManagerDefinition) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this AlertManagerDefinition.

type AlertManagerDefinitionList

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

AlertManagerDefinitionList contains a list of AlertManagerDefinitions

func (*AlertManagerDefinitionList) DeepCopy

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

func (*AlertManagerDefinitionList) DeepCopyInto

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

func (*AlertManagerDefinitionList) DeepCopyObject

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

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

func (*AlertManagerDefinitionList) GetItems

GetItems of this AlertManagerDefinitionList.

type AlertManagerDefinitionObservation

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

func (*AlertManagerDefinitionObservation) DeepCopy

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

func (*AlertManagerDefinitionObservation) DeepCopyInto

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

type AlertManagerDefinitionParameters

type AlertManagerDefinitionParameters struct {

	// the alert manager definition that you want to be applied. See more in AWS Docs.
	// +kubebuilder:validation:Required
	Definition *string `json:"definition" tf:"definition,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:"-"`

	// The id of the prometheus workspace the alert manager definition should be linked to
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/amp/v1beta1.Workspace
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	WorkspaceID *string `json:"workspaceId,omitempty" tf:"workspace_id,omitempty"`

	// Reference to a Workspace in amp to populate workspaceId.
	// +kubebuilder:validation:Optional
	WorkspaceIDRef *v1.Reference `json:"workspaceIdRef,omitempty" tf:"-"`

	// Selector for a Workspace in amp to populate workspaceId.
	// +kubebuilder:validation:Optional
	WorkspaceIDSelector *v1.Selector `json:"workspaceIdSelector,omitempty" tf:"-"`
}

func (*AlertManagerDefinitionParameters) DeepCopy

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

func (*AlertManagerDefinitionParameters) DeepCopyInto

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

type AlertManagerDefinitionSpec

type AlertManagerDefinitionSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     AlertManagerDefinitionParameters `json:"forProvider"`
}

AlertManagerDefinitionSpec defines the desired state of AlertManagerDefinition

func (*AlertManagerDefinitionSpec) DeepCopy

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

func (*AlertManagerDefinitionSpec) DeepCopyInto

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

type AlertManagerDefinitionStatus

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

AlertManagerDefinitionStatus defines the observed state of AlertManagerDefinition.

func (*AlertManagerDefinitionStatus) DeepCopy

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

func (*AlertManagerDefinitionStatus) DeepCopyInto

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

type RuleGroupNamespace

type RuleGroupNamespace struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RuleGroupNamespaceSpec   `json:"spec"`
	Status            RuleGroupNamespaceStatus `json:"status,omitempty"`
}

RuleGroupNamespace is the Schema for the RuleGroupNamespaces API. Manages an Amazon Managed Service for Prometheus (AMP) Rule Group Namespace +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*RuleGroupNamespace) DeepCopy

func (in *RuleGroupNamespace) DeepCopy() *RuleGroupNamespace

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

func (*RuleGroupNamespace) DeepCopyInto

func (in *RuleGroupNamespace) DeepCopyInto(out *RuleGroupNamespace)

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

func (*RuleGroupNamespace) DeepCopyObject

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

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

func (*RuleGroupNamespace) GetCondition

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

GetCondition of this RuleGroupNamespace.

func (*RuleGroupNamespace) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this RuleGroupNamespace

func (*RuleGroupNamespace) GetDeletionPolicy

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

GetDeletionPolicy of this RuleGroupNamespace.

func (*RuleGroupNamespace) GetID

func (tr *RuleGroupNamespace) GetID() string

GetID returns ID of underlying Terraform resource of this RuleGroupNamespace

func (*RuleGroupNamespace) GetObservation

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

GetObservation of this RuleGroupNamespace

func (*RuleGroupNamespace) GetParameters

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

GetParameters of this RuleGroupNamespace

func (*RuleGroupNamespace) GetProviderConfigReference

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

GetProviderConfigReference of this RuleGroupNamespace.

func (*RuleGroupNamespace) GetProviderReference

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

GetProviderReference of this RuleGroupNamespace. Deprecated: Use GetProviderConfigReference.

func (*RuleGroupNamespace) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this RuleGroupNamespace.

func (*RuleGroupNamespace) GetTerraformResourceType

func (mg *RuleGroupNamespace) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this RuleGroupNamespace

func (*RuleGroupNamespace) GetTerraformSchemaVersion

func (tr *RuleGroupNamespace) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*RuleGroupNamespace) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this RuleGroupNamespace.

func (*RuleGroupNamespace) LateInitialize

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

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

func (*RuleGroupNamespace) ResolveReferences

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

ResolveReferences of this RuleGroupNamespace.

func (*RuleGroupNamespace) SetConditions

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

SetConditions of this RuleGroupNamespace.

func (*RuleGroupNamespace) SetDeletionPolicy

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

SetDeletionPolicy of this RuleGroupNamespace.

func (*RuleGroupNamespace) SetObservation

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

SetObservation for this RuleGroupNamespace

func (*RuleGroupNamespace) SetParameters

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

SetParameters for this RuleGroupNamespace

func (*RuleGroupNamespace) SetProviderConfigReference

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

SetProviderConfigReference of this RuleGroupNamespace.

func (*RuleGroupNamespace) SetProviderReference

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

SetProviderReference of this RuleGroupNamespace. Deprecated: Use SetProviderConfigReference.

func (*RuleGroupNamespace) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this RuleGroupNamespace.

func (*RuleGroupNamespace) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this RuleGroupNamespace.

type RuleGroupNamespaceList

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

RuleGroupNamespaceList contains a list of RuleGroupNamespaces

func (*RuleGroupNamespaceList) DeepCopy

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

func (*RuleGroupNamespaceList) DeepCopyInto

func (in *RuleGroupNamespaceList) DeepCopyInto(out *RuleGroupNamespaceList)

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

func (*RuleGroupNamespaceList) DeepCopyObject

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

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

func (*RuleGroupNamespaceList) GetItems

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

GetItems of this RuleGroupNamespaceList.

type RuleGroupNamespaceObservation

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

func (*RuleGroupNamespaceObservation) DeepCopy

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

func (*RuleGroupNamespaceObservation) DeepCopyInto

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

type RuleGroupNamespaceParameters

type RuleGroupNamespaceParameters struct {

	// the rule group namespace data that you want to be applied. See more in AWS Docs.
	// +kubebuilder:validation:Required
	Data *string `json:"data" tf:"data,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:"-"`

	// The id of the prometheus workspace the rule group namespace should be linked to
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/amp/v1beta1.Workspace
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	WorkspaceID *string `json:"workspaceId,omitempty" tf:"workspace_id,omitempty"`

	// Reference to a Workspace in amp to populate workspaceId.
	// +kubebuilder:validation:Optional
	WorkspaceIDRef *v1.Reference `json:"workspaceIdRef,omitempty" tf:"-"`

	// Selector for a Workspace in amp to populate workspaceId.
	// +kubebuilder:validation:Optional
	WorkspaceIDSelector *v1.Selector `json:"workspaceIdSelector,omitempty" tf:"-"`
}

func (*RuleGroupNamespaceParameters) DeepCopy

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

func (*RuleGroupNamespaceParameters) DeepCopyInto

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

type RuleGroupNamespaceSpec

type RuleGroupNamespaceSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RuleGroupNamespaceParameters `json:"forProvider"`
}

RuleGroupNamespaceSpec defines the desired state of RuleGroupNamespace

func (*RuleGroupNamespaceSpec) DeepCopy

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

func (*RuleGroupNamespaceSpec) DeepCopyInto

func (in *RuleGroupNamespaceSpec) DeepCopyInto(out *RuleGroupNamespaceSpec)

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

type RuleGroupNamespaceStatus

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

RuleGroupNamespaceStatus defines the observed state of RuleGroupNamespace.

func (*RuleGroupNamespaceStatus) DeepCopy

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

func (*RuleGroupNamespaceStatus) DeepCopyInto

func (in *RuleGroupNamespaceStatus) DeepCopyInto(out *RuleGroupNamespaceStatus)

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="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*Workspace) DeepCopy

func (in *Workspace) DeepCopy() *Workspace

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

func (*Workspace) DeepCopyInto

func (in *Workspace) DeepCopyInto(out *Workspace)

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

func (*Workspace) DeepCopyObject

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

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

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

GetConnectionDetailsMapping for this Workspace

func (*Workspace) GetDeletionPolicy

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

GetDeletionPolicy of this Workspace.

func (*Workspace) GetID

func (tr *Workspace) GetID() string

GetID returns ID of underlying Terraform resource of this Workspace

func (*Workspace) GetObservation

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

GetObservation of this Workspace

func (*Workspace) GetParameters

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

GetParameters of this Workspace

func (*Workspace) GetProviderConfigReference

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

GetProviderConfigReference of this Workspace.

func (*Workspace) GetProviderReference

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

GetProviderReference of this Workspace. Deprecated: Use GetProviderConfigReference.

func (*Workspace) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Workspace.

func (*Workspace) GetTerraformResourceType

func (mg *Workspace) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Workspace

func (*Workspace) GetTerraformSchemaVersion

func (tr *Workspace) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Workspace) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Workspace.

func (*Workspace) LateInitialize

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

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

func (*Workspace) SetConditions

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

SetConditions of this Workspace.

func (*Workspace) SetDeletionPolicy

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

SetDeletionPolicy of this Workspace.

func (*Workspace) SetObservation

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

SetObservation for this Workspace

func (*Workspace) SetParameters

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

SetParameters for this Workspace

func (*Workspace) SetProviderConfigReference

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

SetProviderConfigReference of this Workspace.

func (*Workspace) SetProviderReference

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

SetProviderReference of this Workspace. Deprecated: Use SetProviderConfigReference.

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 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 {

	// 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"`

	// Prometheus endpoint available for this workspace.
	PrometheusEndpoint *string `json:"prometheusEndpoint,omitempty" tf:"prometheus_endpoint,omitempty"`

	// A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`
}

func (*WorkspaceObservation) DeepCopy

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"`

	// 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
	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"`
}

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.

Jump to

Keyboard shortcuts

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