v1alpha1

package
v0.0.0-...-30237b5 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=third.mongodbatlas.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "third.mongodbatlas.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 (
	PartyIntegration_Kind             = "PartyIntegration"
	PartyIntegration_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: PartyIntegration_Kind}.String()
	PartyIntegration_KindAPIVersion   = PartyIntegration_Kind + "." + CRDGroupVersion.String()
	PartyIntegration_GroupVersionKind = CRDGroupVersion.WithKind(PartyIntegration_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type PartyIntegration

type PartyIntegration struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.projectId)",message="projectId is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.type)",message="type is a required parameter"
	Spec   PartyIntegrationSpec   `json:"spec"`
	Status PartyIntegrationStatus `json:"status,omitempty"`
}

PartyIntegration is the Schema for the PartyIntegrations API. Provides a Third-Party Integration Settings resource. +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,mongodbatlas}

func (*PartyIntegration) DeepCopy

func (in *PartyIntegration) DeepCopy() *PartyIntegration

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

func (*PartyIntegration) DeepCopyInto

func (in *PartyIntegration) DeepCopyInto(out *PartyIntegration)

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

func (*PartyIntegration) DeepCopyObject

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

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

func (*PartyIntegration) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this PartyIntegration

func (*PartyIntegration) GetID

func (tr *PartyIntegration) GetID() string

GetID returns ID of underlying Terraform resource of this PartyIntegration

func (*PartyIntegration) GetObservation

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

GetObservation of this PartyIntegration

func (*PartyIntegration) GetParameters

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

GetParameters of this PartyIntegration

func (*PartyIntegration) GetTerraformResourceType

func (mg *PartyIntegration) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this PartyIntegration

func (*PartyIntegration) GetTerraformSchemaVersion

func (tr *PartyIntegration) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*PartyIntegration) LateInitialize

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

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

func (*PartyIntegration) SetObservation

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

SetObservation for this PartyIntegration

func (*PartyIntegration) SetParameters

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

SetParameters for this PartyIntegration

type PartyIntegrationList

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

PartyIntegrationList contains a list of PartyIntegrations

func (*PartyIntegrationList) DeepCopy

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

func (*PartyIntegrationList) DeepCopyInto

func (in *PartyIntegrationList) DeepCopyInto(out *PartyIntegrationList)

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

func (*PartyIntegrationList) DeepCopyObject

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

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

type PartyIntegrationObservation

type PartyIntegrationObservation struct {
	ChannelName *string `json:"channelName,omitempty" tf:"channel_name,omitempty"`

	// Whether your cluster has Prometheus enabled.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The unique ID for the project to get all Third-Party service integrations
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// PagerDuty region that indicates the API Uniform Resource Locator (URL) to use, either "US" or "EU". PagerDuty will use "US" by default.
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// Your Prometheus protocol scheme configured for requests.
	Scheme *string `json:"scheme,omitempty" tf:"scheme,omitempty"`

	TeamName *string `json:"teamName,omitempty" tf:"team_name,omitempty"`

	// Third-Party Integration Settings type
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// Your webhook URL.
	URL *string `json:"url,omitempty" tf:"url,omitempty"`
}

func (*PartyIntegrationObservation) DeepCopy

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

func (*PartyIntegrationObservation) DeepCopyInto

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

type PartyIntegrationParameters

type PartyIntegrationParameters struct {

	// Your API Key.
	// +kubebuilder:validation:Optional
	APIKeySecretRef *v1.SecretKeySelector `json:"apiKeySecretRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	ChannelName *string `json:"channelName,omitempty" tf:"channel_name,omitempty"`

	// Whether your cluster has Prometheus enabled.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// Your Microsoft Teams incoming webhook URL.
	// +kubebuilder:validation:Optional
	MicrosoftTeamsWebhookURLSecretRef *v1.SecretKeySelector `json:"microsoftTeamsWebhookUrlSecretRef,omitempty" tf:"-"`

	// Your Prometheus password.
	// +kubebuilder:validation:Optional
	PasswordSecretRef *v1.SecretKeySelector `json:"passwordSecretRef,omitempty" tf:"-"`

	// The unique ID for the project to get all Third-Party service integrations
	// +kubebuilder:validation:Optional
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// PagerDuty region that indicates the API Uniform Resource Locator (URL) to use, either "US" or "EU". PagerDuty will use "US" by default.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// An optional field for your Routing Key.
	// +kubebuilder:validation:Optional
	RoutingKeySecretRef *v1.SecretKeySelector `json:"routingKeySecretRef,omitempty" tf:"-"`

	// Your Prometheus protocol scheme configured for requests.
	// +kubebuilder:validation:Optional
	Scheme *string `json:"scheme,omitempty" tf:"scheme,omitempty"`

	// An optional field for your webhook secret.
	// +kubebuilder:validation:Optional
	SecretSecretRef *v1.SecretKeySelector `json:"secretSecretRef,omitempty" tf:"-"`

	// Indicates which service discovery method is used, either file or http.
	// +kubebuilder:validation:Optional
	ServiceDiscoverySecretRef *v1.SecretKeySelector `json:"serviceDiscoverySecretRef,omitempty" tf:"-"`

	// Your Service Key.
	// +kubebuilder:validation:Optional
	ServiceKeySecretRef *v1.SecretKeySelector `json:"serviceKeySecretRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	TeamName *string `json:"teamName,omitempty" tf:"team_name,omitempty"`

	// Third-Party Integration Settings type
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// Your webhook URL.
	// +kubebuilder:validation:Optional
	URL *string `json:"url,omitempty" tf:"url,omitempty"`

	// Your Prometheus username.
	// +kubebuilder:validation:Optional
	UserNameSecretRef *v1.SecretKeySelector `json:"userNameSecretRef,omitempty" tf:"-"`
}

func (*PartyIntegrationParameters) DeepCopy

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

func (*PartyIntegrationParameters) DeepCopyInto

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

type PartyIntegrationSpec

type PartyIntegrationSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     PartyIntegrationParameters `json:"forProvider"`
}

PartyIntegrationSpec defines the desired state of PartyIntegration

func (*PartyIntegrationSpec) DeepCopy

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

func (*PartyIntegrationSpec) DeepCopyInto

func (in *PartyIntegrationSpec) DeepCopyInto(out *PartyIntegrationSpec)

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

type PartyIntegrationStatus

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

PartyIntegrationStatus defines the observed state of PartyIntegration.

func (*PartyIntegrationStatus) DeepCopy

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

func (*PartyIntegrationStatus) DeepCopyInto

func (in *PartyIntegrationStatus) DeepCopyInto(out *PartyIntegrationStatus)

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