v1alpha1

package
v0.0.0-...-d9b8979 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=integration.cloudamqp.jet.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "integration.cloudamqp.jet.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

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 (
	Log_Kind             = "Log"
	Log_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Log_Kind}.String()
	Log_KindAPIVersion   = Log_Kind + "." + CRDGroupVersion.String()
	Log_GroupVersionKind = CRDGroupVersion.WithKind(Log_Kind)
)

Repository type metadata.

View Source
var (
	Metric_Kind             = "Metric"
	Metric_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Metric_Kind}.String()
	Metric_KindAPIVersion   = Metric_Kind + "." + CRDGroupVersion.String()
	Metric_GroupVersionKind = CRDGroupVersion.WithKind(Metric_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Log

type Log struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              LogSpec   `json:"spec"`
	Status            LogStatus `json:"status,omitempty"`
}

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

func (*Log) DeepCopy

func (in *Log) DeepCopy() *Log

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

func (*Log) DeepCopyInto

func (in *Log) DeepCopyInto(out *Log)

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

func (*Log) DeepCopyObject

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

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

func (*Log) GetCondition

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

GetCondition of this Log.

func (*Log) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Log

func (*Log) GetDeletionPolicy

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

GetDeletionPolicy of this Log.

func (*Log) GetID

func (tr *Log) GetID() string

GetID returns ID of underlying Terraform resource of this Log

func (*Log) GetObservation

func (tr *Log) GetObservation() (map[string]interface{}, error)

GetObservation of this Log

func (*Log) GetParameters

func (tr *Log) GetParameters() (map[string]interface{}, error)

GetParameters of this Log

func (*Log) GetProviderConfigReference

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

GetProviderConfigReference of this Log.

func (*Log) GetProviderReference

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

GetProviderReference of this Log. Deprecated: Use GetProviderConfigReference.

func (*Log) GetTerraformResourceType

func (mg *Log) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Log

func (*Log) GetTerraformSchemaVersion

func (tr *Log) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Log) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Log.

func (*Log) LateInitialize

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

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

func (*Log) SetConditions

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

SetConditions of this Log.

func (*Log) SetDeletionPolicy

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

SetDeletionPolicy of this Log.

func (*Log) SetObservation

func (tr *Log) SetObservation(obs map[string]interface{}) error

SetObservation for this Log

func (*Log) SetParameters

func (tr *Log) SetParameters(params map[string]interface{}) error

SetParameters for this Log

func (*Log) SetProviderConfigReference

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

SetProviderConfigReference of this Log.

func (*Log) SetProviderReference

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

SetProviderReference of this Log. Deprecated: Use SetProviderConfigReference.

func (*Log) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Log.

type LogList

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

LogList contains a list of Logs

func (*LogList) DeepCopy

func (in *LogList) DeepCopy() *LogList

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

func (*LogList) DeepCopyInto

func (in *LogList) DeepCopyInto(out *LogList)

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

func (*LogList) DeepCopyObject

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

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

func (*LogList) GetItems

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

GetItems of this LogList.

type LogObservation

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

func (*LogObservation) DeepCopy

func (in *LogObservation) DeepCopy() *LogObservation

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

func (*LogObservation) DeepCopyInto

func (in *LogObservation) DeepCopyInto(out *LogObservation)

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

type LogParameters

type LogParameters struct {

	// The API key for the integration service. (Datadog)
	// +kubebuilder:validation:Optional
	APIKeySecretRef *v1.SecretKeySelector `json:"apiKeySecretRef,omitempty" tf:"-"`

	// AWS access key identifier. (Cloudwatch)
	// +kubebuilder:validation:Optional
	AccessKeyIDSecretRef *v1.SecretKeySelector `json:"accessKeyIdSecretRef,omitempty" tf:"-"`

	// The client email. (Stackdriver)
	// +kubebuilder:validation:Optional
	ClientEmail *string `json:"clientEmail,omitempty" tf:"client_email,omitempty"`

	// Destination to send the logs. (Splunk)
	// +kubebuilder:validation:Optional
	HostPort *string `json:"hostPort,omitempty" tf:"host_port,omitempty"`

	// Instance identifier used to make proxy calls
	// +kubebuilder:validation:Required
	InstanceID *float64 `json:"instanceId" tf:"instance_id,omitempty"`

	// The private key. (Stackdriver)
	// +kubebuilder:validation:Optional
	PrivateKeySecretRef *v1.SecretKeySelector `json:"privateKeySecretRef,omitempty" tf:"-"`

	// Project ID. (Stackdriver)
	// +kubebuilder:validation:Optional
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// The region hosting integration service. (Cloudwatch, Datadog)
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// AWS secret access key. (Cloudwatch)
	// +kubebuilder:validation:Optional
	SecretAccessKeySecretRef *v1.SecretKeySelector `json:"secretAccessKeySecretRef,omitempty" tf:"-"`

	// (optional) tags. E.g. env=prod,region=europe. (Datadog)
	// +kubebuilder:validation:Optional
	Tags *string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The token used for authentication. (Loggly, Logentries, Splunk)
	// +kubebuilder:validation:Optional
	TokenSecretRef *v1.SecretKeySelector `json:"tokenSecretRef,omitempty" tf:"-"`

	// The URL to push the logs to. (Papertrail)
	// +kubebuilder:validation:Optional
	URL *string `json:"url,omitempty" tf:"url,omitempty"`
}

func (*LogParameters) DeepCopy

func (in *LogParameters) DeepCopy() *LogParameters

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

func (*LogParameters) DeepCopyInto

func (in *LogParameters) DeepCopyInto(out *LogParameters)

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

type LogSpec

type LogSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     LogParameters `json:"forProvider"`
}

LogSpec defines the desired state of Log

func (*LogSpec) DeepCopy

func (in *LogSpec) DeepCopy() *LogSpec

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

func (*LogSpec) DeepCopyInto

func (in *LogSpec) DeepCopyInto(out *LogSpec)

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

type LogStatus

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

LogStatus defines the observed state of Log.

func (*LogStatus) DeepCopy

func (in *LogStatus) DeepCopy() *LogStatus

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

func (*LogStatus) DeepCopyInto

func (in *LogStatus) DeepCopyInto(out *LogStatus)

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

type Metric

type Metric struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MetricSpec   `json:"spec"`
	Status            MetricStatus `json:"status,omitempty"`
}

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

func (*Metric) DeepCopy

func (in *Metric) DeepCopy() *Metric

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

func (*Metric) DeepCopyInto

func (in *Metric) DeepCopyInto(out *Metric)

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

func (*Metric) DeepCopyObject

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

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

func (*Metric) GetCondition

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

GetCondition of this Metric.

func (*Metric) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Metric

func (*Metric) GetDeletionPolicy

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

GetDeletionPolicy of this Metric.

func (*Metric) GetID

func (tr *Metric) GetID() string

GetID returns ID of underlying Terraform resource of this Metric

func (*Metric) GetObservation

func (tr *Metric) GetObservation() (map[string]interface{}, error)

GetObservation of this Metric

func (*Metric) GetParameters

func (tr *Metric) GetParameters() (map[string]interface{}, error)

GetParameters of this Metric

func (*Metric) GetProviderConfigReference

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

GetProviderConfigReference of this Metric.

func (*Metric) GetProviderReference

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

GetProviderReference of this Metric. Deprecated: Use GetProviderConfigReference.

func (*Metric) GetTerraformResourceType

func (mg *Metric) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Metric

func (*Metric) GetTerraformSchemaVersion

func (tr *Metric) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Metric) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Metric.

func (*Metric) LateInitialize

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

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

func (*Metric) SetConditions

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

SetConditions of this Metric.

func (*Metric) SetDeletionPolicy

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

SetDeletionPolicy of this Metric.

func (*Metric) SetObservation

func (tr *Metric) SetObservation(obs map[string]interface{}) error

SetObservation for this Metric

func (*Metric) SetParameters

func (tr *Metric) SetParameters(params map[string]interface{}) error

SetParameters for this Metric

func (*Metric) SetProviderConfigReference

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

SetProviderConfigReference of this Metric.

func (*Metric) SetProviderReference

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

SetProviderReference of this Metric. Deprecated: Use SetProviderConfigReference.

func (*Metric) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Metric.

type MetricList

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

MetricList contains a list of Metrics

func (*MetricList) DeepCopy

func (in *MetricList) DeepCopy() *MetricList

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

func (*MetricList) DeepCopyInto

func (in *MetricList) DeepCopyInto(out *MetricList)

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

func (*MetricList) DeepCopyObject

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

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

func (*MetricList) GetItems

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

GetItems of this MetricList.

type MetricObservation

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

func (*MetricObservation) DeepCopy

func (in *MetricObservation) DeepCopy() *MetricObservation

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

func (*MetricObservation) DeepCopyInto

func (in *MetricObservation) DeepCopyInto(out *MetricObservation)

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

type MetricParameters

type MetricParameters struct {

	// The API key for the integration service. (Librato)
	// +kubebuilder:validation:Optional
	APIKey *string `json:"apiKey,omitempty" tf:"api_key,omitempty"`

	// AWS access key identifier. (Cloudwatch)
	// +kubebuilder:validation:Optional
	AccessKeyID *string `json:"accessKeyId,omitempty" tf:"access_key_id,omitempty"`

	// The client email. (Stackdriver)
	// +kubebuilder:validation:Optional
	ClientEmail *string `json:"clientEmail,omitempty" tf:"client_email,omitempty"`

	// The email address registred for the integration service. (Librato)
	// +kubebuilder:validation:Optional
	Email *string `json:"email,omitempty" tf:"email,omitempty"`

	// Instance identifier
	// +kubebuilder:validation:Required
	InstanceID *float64 `json:"instanceId" tf:"instance_id,omitempty"`

	// The license key registred for the integration service. (New Relic)
	// +kubebuilder:validation:Optional
	LicenseKey *string `json:"licenseKey,omitempty" tf:"license_key,omitempty"`

	// The private key. (Stackdriver)
	// +kubebuilder:validation:Optional
	PrivateKeySecretRef *v1.SecretKeySelector `json:"privateKeySecretRef,omitempty" tf:"-"`

	// Project ID. (Stackdriver)
	// +kubebuilder:validation:Optional
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// (optional) allowlist using regular expression
	// +kubebuilder:validation:Optional
	QueueAllowlist *string `json:"queueAllowlist,omitempty" tf:"queue_allowlist,omitempty"`

	// **Deprecated**
	// +kubebuilder:validation:Optional
	QueueWhitelist *string `json:"queueWhitelist,omitempty" tf:"queue_whitelist,omitempty"`

	// AWS region for Cloudwatch and [US/EU] for Data dog/New relic. (Cloudwatch, Data Dog, New Relic)
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// AWS secret key. (Cloudwatch)
	// +kubebuilder:validation:Optional
	SecretAccessKeySecretRef *v1.SecretKeySelector `json:"secretAccessKeySecretRef,omitempty" tf:"-"`

	// (optional) tags. E.g. env=prod,region=europe
	// +kubebuilder:validation:Optional
	Tags *string `json:"tags,omitempty" tf:"tags,omitempty"`

	// (optional) allowlist using regular expression
	// +kubebuilder:validation:Optional
	VhostAllowlist *string `json:"vhostAllowlist,omitempty" tf:"vhost_allowlist,omitempty"`

	// **Deprecated**
	// +kubebuilder:validation:Optional
	VhostWhitelist *string `json:"vhostWhitelist,omitempty" tf:"vhost_whitelist,omitempty"`
}

func (*MetricParameters) DeepCopy

func (in *MetricParameters) DeepCopy() *MetricParameters

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

func (*MetricParameters) DeepCopyInto

func (in *MetricParameters) DeepCopyInto(out *MetricParameters)

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

type MetricSpec

type MetricSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     MetricParameters `json:"forProvider"`
}

MetricSpec defines the desired state of Metric

func (*MetricSpec) DeepCopy

func (in *MetricSpec) DeepCopy() *MetricSpec

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

func (*MetricSpec) DeepCopyInto

func (in *MetricSpec) DeepCopyInto(out *MetricSpec)

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

type MetricStatus

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

MetricStatus defines the observed state of Metric.

func (*MetricStatus) DeepCopy

func (in *MetricStatus) DeepCopy() *MetricStatus

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

func (*MetricStatus) DeepCopyInto

func (in *MetricStatus) DeepCopyInto(out *MetricStatus)

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