v1alpha1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=monitor.digitalocean.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "monitor.digitalocean.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	Alert_Kind             = "Alert"
	Alert_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Alert_Kind}.String()
	Alert_KindAPIVersion   = Alert_Kind + "." + CRDGroupVersion.String()
	Alert_GroupVersionKind = CRDGroupVersion.WithKind(Alert_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
)

Functions

This section is empty.

Types

type Alert

type Alert 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.alerts) || (has(self.initProvider) && has(self.initProvider.alerts))",message="spec.forProvider.alerts is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.compare) || (has(self.initProvider) && has(self.initProvider.compare))",message="spec.forProvider.compare is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.description) || (has(self.initProvider) && has(self.initProvider.description))",message="spec.forProvider.description is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.value) || (has(self.initProvider) && has(self.initProvider.value))",message="spec.forProvider.value is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.window) || (has(self.initProvider) && has(self.initProvider.window))",message="spec.forProvider.window is a required parameter"
	Spec   AlertSpec   `json:"spec"`
	Status AlertStatus `json:"status,omitempty"`
}

Alert is the Schema for the Alerts 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,do}

func (*Alert) DeepCopy

func (in *Alert) DeepCopy() *Alert

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

func (*Alert) DeepCopyInto

func (in *Alert) DeepCopyInto(out *Alert)

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

func (*Alert) DeepCopyObject

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

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

func (*Alert) GetCondition

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

GetCondition of this Alert.

func (*Alert) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Alert

func (*Alert) GetDeletionPolicy

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

GetDeletionPolicy of this Alert.

func (*Alert) GetID

func (tr *Alert) GetID() string

GetID returns ID of underlying Terraform resource of this Alert

func (*Alert) GetInitParameters

func (tr *Alert) GetInitParameters() (map[string]any, error)

GetInitParameters of this Alert

func (*Alert) GetManagementPolicies

func (mg *Alert) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Alert.

func (*Alert) GetObservation

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

GetObservation of this Alert

func (*Alert) GetParameters

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

GetParameters of this Alert

func (*Alert) GetProviderConfigReference

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

GetProviderConfigReference of this Alert.

func (*Alert) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Alert.

func (*Alert) GetTerraformResourceType

func (mg *Alert) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Alert

func (*Alert) GetTerraformSchemaVersion

func (tr *Alert) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Alert) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Alert.

func (*Alert) LateInitialize

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

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

func (*Alert) ResolveReferences

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

ResolveReferences of this Alert.

func (*Alert) SetConditions

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

SetConditions of this Alert.

func (*Alert) SetDeletionPolicy

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

SetDeletionPolicy of this Alert.

func (*Alert) SetManagementPolicies

func (mg *Alert) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Alert.

func (*Alert) SetObservation

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

SetObservation for this Alert

func (*Alert) SetParameters

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

SetParameters for this Alert

func (*Alert) SetProviderConfigReference

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

SetProviderConfigReference of this Alert.

func (*Alert) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Alert.

func (*Alert) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Alert.

type AlertInitParameters

type AlertInitParameters struct {

	// How to send notifications about the alerts. This is a list with one element, .
	// Note that for Slack, the DigitalOcean app needs to have permissions for your workspace. You can
	// read more in Slack's documentation
	// List with details how to notify about the alert. Support for Slack or email.
	Alerts []AlertsInitParameters `json:"alerts,omitempty" tf:"alerts,omitempty"`

	// The comparison for value.
	// This may be either GreaterThan or LessThan.
	// The comparison operator to use for value
	Compare *string `json:"compare,omitempty" tf:"compare,omitempty"`

	// The description of the alert.
	// Description of the alert policy
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The status of the alert.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// A list of tags. When an included tag is added to a resource, the alert policy will apply to it.
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The type of the alert.
	// This may be one of v1/insights/droplet/load_1, v1/insights/droplet/load_5, v1/insights/droplet/load_15,
	// v1/insights/droplet/memory_utilization_percent, v1/insights/droplet/disk_utilization_percent,
	// v1/insights/droplet/cpu, v1/insights/droplet/disk_read, v1/insights/droplet/disk_write,
	// v1/insights/droplet/public_outbound_bandwidth, v1/insights/droplet/public_inbound_bandwidth,
	// v1/insights/droplet/private_outbound_bandwidth, v1/insights/droplet/private_inbound_bandwidth,
	// v1/insights/lbaas/avg_cpu_utilization_percent, v1/insights/lbaas/connection_utilization_percent,
	// v1/insights/lbaas/droplet_health, v1/insights/lbaas/tls_connections_per_second_utilization_percent,
	// v1/insights/lbaas/increase_in_http_error_rate_percentage_5xx, v1/insights/lbaas/increase_in_http_error_rate_percentage_4xx,
	// v1/insights/lbaas/increase_in_http_error_rate_count_5xx, v1/insights/lbaas/increase_in_http_error_rate_count_4xx,
	// v1/insights/lbaas/high_http_request_response_time, v1/insights/lbaas/high_http_request_response_time_50p,
	// v1/insights/lbaas/high_http_request_response_time_95p, v1/insights/lbaas/high_http_request_response_time_99p,
	// v1/dbaas/alerts/load_15_alerts, v1/dbaas/alerts/cpu_alerts, v1/dbaas/alerts/memory_utilization_alerts, or
	// v1/dbaas/alerts/disk_utilization_alerts.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number.
	// DigitalOcean will show the correct unit in the web panel.
	Value *float64 `json:"value,omitempty" tf:"value,omitempty"`

	// The time frame of the alert. Either 5m, 10m, 30m, or 1h.
	Window *string `json:"window,omitempty" tf:"window,omitempty"`
}

func (*AlertInitParameters) DeepCopy

func (in *AlertInitParameters) DeepCopy() *AlertInitParameters

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

func (*AlertInitParameters) DeepCopyInto

func (in *AlertInitParameters) DeepCopyInto(out *AlertInitParameters)

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

type AlertList

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

AlertList contains a list of Alerts

func (*AlertList) DeepCopy

func (in *AlertList) DeepCopy() *AlertList

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

func (*AlertList) DeepCopyInto

func (in *AlertList) DeepCopyInto(out *AlertList)

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

func (*AlertList) DeepCopyObject

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

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

func (*AlertList) GetItems

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

GetItems of this AlertList.

type AlertObservation

type AlertObservation struct {

	// How to send notifications about the alerts. This is a list with one element, .
	// Note that for Slack, the DigitalOcean app needs to have permissions for your workspace. You can
	// read more in Slack's documentation
	// List with details how to notify about the alert. Support for Slack or email.
	Alerts []AlertsObservation `json:"alerts,omitempty" tf:"alerts,omitempty"`

	// The comparison for value.
	// This may be either GreaterThan or LessThan.
	// The comparison operator to use for value
	Compare *string `json:"compare,omitempty" tf:"compare,omitempty"`

	// The description of the alert.
	// Description of the alert policy
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The status of the alert.
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// A list of IDs for the resources to which the alert policy applies.
	// The droplets to apply the alert policy to
	Entities []*string `json:"entities,omitempty" tf:"entities,omitempty"`

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

	// A list of tags. When an included tag is added to a resource, the alert policy will apply to it.
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The type of the alert.
	// This may be one of v1/insights/droplet/load_1, v1/insights/droplet/load_5, v1/insights/droplet/load_15,
	// v1/insights/droplet/memory_utilization_percent, v1/insights/droplet/disk_utilization_percent,
	// v1/insights/droplet/cpu, v1/insights/droplet/disk_read, v1/insights/droplet/disk_write,
	// v1/insights/droplet/public_outbound_bandwidth, v1/insights/droplet/public_inbound_bandwidth,
	// v1/insights/droplet/private_outbound_bandwidth, v1/insights/droplet/private_inbound_bandwidth,
	// v1/insights/lbaas/avg_cpu_utilization_percent, v1/insights/lbaas/connection_utilization_percent,
	// v1/insights/lbaas/droplet_health, v1/insights/lbaas/tls_connections_per_second_utilization_percent,
	// v1/insights/lbaas/increase_in_http_error_rate_percentage_5xx, v1/insights/lbaas/increase_in_http_error_rate_percentage_4xx,
	// v1/insights/lbaas/increase_in_http_error_rate_count_5xx, v1/insights/lbaas/increase_in_http_error_rate_count_4xx,
	// v1/insights/lbaas/high_http_request_response_time, v1/insights/lbaas/high_http_request_response_time_50p,
	// v1/insights/lbaas/high_http_request_response_time_95p, v1/insights/lbaas/high_http_request_response_time_99p,
	// v1/dbaas/alerts/load_15_alerts, v1/dbaas/alerts/cpu_alerts, v1/dbaas/alerts/memory_utilization_alerts, or
	// v1/dbaas/alerts/disk_utilization_alerts.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// The uuid of the alert.
	UUID *string `json:"uuid,omitempty" tf:"uuid,omitempty"`

	// The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number.
	// DigitalOcean will show the correct unit in the web panel.
	Value *float64 `json:"value,omitempty" tf:"value,omitempty"`

	// The time frame of the alert. Either 5m, 10m, 30m, or 1h.
	Window *string `json:"window,omitempty" tf:"window,omitempty"`
}

func (*AlertObservation) DeepCopy

func (in *AlertObservation) DeepCopy() *AlertObservation

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

func (*AlertObservation) DeepCopyInto

func (in *AlertObservation) DeepCopyInto(out *AlertObservation)

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

type AlertParameters

type AlertParameters struct {

	// How to send notifications about the alerts. This is a list with one element, .
	// Note that for Slack, the DigitalOcean app needs to have permissions for your workspace. You can
	// read more in Slack's documentation
	// List with details how to notify about the alert. Support for Slack or email.
	// +kubebuilder:validation:Optional
	Alerts []AlertsParameters `json:"alerts,omitempty" tf:"alerts,omitempty"`

	// The comparison for value.
	// This may be either GreaterThan or LessThan.
	// The comparison operator to use for value
	// +kubebuilder:validation:Optional
	Compare *string `json:"compare,omitempty" tf:"compare,omitempty"`

	// The description of the alert.
	// Description of the alert policy
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The status of the alert.
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// A list of IDs for the resources to which the alert policy applies.
	// The droplets to apply the alert policy to
	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-upjet-digitalocean/apis/droplet/v1alpha1.Droplet
	// +kubebuilder:validation:Optional
	Entities []*string `json:"entities,omitempty" tf:"entities,omitempty"`

	// References to Droplet in droplet to populate entities.
	// +kubebuilder:validation:Optional
	EntitiesRefs []v1.Reference `json:"entitiesRefs,omitempty" tf:"-"`

	// Selector for a list of Droplet in droplet to populate entities.
	// +kubebuilder:validation:Optional
	EntitiesSelector *v1.Selector `json:"entitiesSelector,omitempty" tf:"-"`

	// A list of tags. When an included tag is added to a resource, the alert policy will apply to it.
	// +kubebuilder:validation:Optional
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The type of the alert.
	// This may be one of v1/insights/droplet/load_1, v1/insights/droplet/load_5, v1/insights/droplet/load_15,
	// v1/insights/droplet/memory_utilization_percent, v1/insights/droplet/disk_utilization_percent,
	// v1/insights/droplet/cpu, v1/insights/droplet/disk_read, v1/insights/droplet/disk_write,
	// v1/insights/droplet/public_outbound_bandwidth, v1/insights/droplet/public_inbound_bandwidth,
	// v1/insights/droplet/private_outbound_bandwidth, v1/insights/droplet/private_inbound_bandwidth,
	// v1/insights/lbaas/avg_cpu_utilization_percent, v1/insights/lbaas/connection_utilization_percent,
	// v1/insights/lbaas/droplet_health, v1/insights/lbaas/tls_connections_per_second_utilization_percent,
	// v1/insights/lbaas/increase_in_http_error_rate_percentage_5xx, v1/insights/lbaas/increase_in_http_error_rate_percentage_4xx,
	// v1/insights/lbaas/increase_in_http_error_rate_count_5xx, v1/insights/lbaas/increase_in_http_error_rate_count_4xx,
	// v1/insights/lbaas/high_http_request_response_time, v1/insights/lbaas/high_http_request_response_time_50p,
	// v1/insights/lbaas/high_http_request_response_time_95p, v1/insights/lbaas/high_http_request_response_time_99p,
	// v1/dbaas/alerts/load_15_alerts, v1/dbaas/alerts/cpu_alerts, v1/dbaas/alerts/memory_utilization_alerts, or
	// v1/dbaas/alerts/disk_utilization_alerts.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// The value to start alerting at, e.g., 90% or 85Mbps. This is a floating-point number.
	// DigitalOcean will show the correct unit in the web panel.
	// +kubebuilder:validation:Optional
	Value *float64 `json:"value,omitempty" tf:"value,omitempty"`

	// The time frame of the alert. Either 5m, 10m, 30m, or 1h.
	// +kubebuilder:validation:Optional
	Window *string `json:"window,omitempty" tf:"window,omitempty"`
}

func (*AlertParameters) DeepCopy

func (in *AlertParameters) DeepCopy() *AlertParameters

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

func (*AlertParameters) DeepCopyInto

func (in *AlertParameters) DeepCopyInto(out *AlertParameters)

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

type AlertSpec

type AlertSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     AlertParameters `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 AlertInitParameters `json:"initProvider,omitempty"`
}

AlertSpec defines the desired state of Alert

func (*AlertSpec) DeepCopy

func (in *AlertSpec) DeepCopy() *AlertSpec

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

func (*AlertSpec) DeepCopyInto

func (in *AlertSpec) DeepCopyInto(out *AlertSpec)

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

type AlertStatus

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

AlertStatus defines the observed state of Alert.

func (*AlertStatus) DeepCopy

func (in *AlertStatus) DeepCopy() *AlertStatus

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

func (*AlertStatus) DeepCopyInto

func (in *AlertStatus) DeepCopyInto(out *AlertStatus)

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

type AlertsInitParameters

type AlertsInitParameters struct {

	// List of email addresses to sent notifications to
	Email []*string `json:"email,omitempty" tf:"email,omitempty"`

	Slack []SlackInitParameters `json:"slack,omitempty" tf:"slack,omitempty"`
}

func (*AlertsInitParameters) DeepCopy

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

func (*AlertsInitParameters) DeepCopyInto

func (in *AlertsInitParameters) DeepCopyInto(out *AlertsInitParameters)

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

type AlertsObservation

type AlertsObservation struct {

	// List of email addresses to sent notifications to
	Email []*string `json:"email,omitempty" tf:"email,omitempty"`

	Slack []SlackObservation `json:"slack,omitempty" tf:"slack,omitempty"`
}

func (*AlertsObservation) DeepCopy

func (in *AlertsObservation) DeepCopy() *AlertsObservation

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

func (*AlertsObservation) DeepCopyInto

func (in *AlertsObservation) DeepCopyInto(out *AlertsObservation)

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

type AlertsParameters

type AlertsParameters struct {

	// List of email addresses to sent notifications to
	// +kubebuilder:validation:Optional
	Email []*string `json:"email,omitempty" tf:"email,omitempty"`

	// +kubebuilder:validation:Optional
	Slack []SlackParameters `json:"slack,omitempty" tf:"slack,omitempty"`
}

func (*AlertsParameters) DeepCopy

func (in *AlertsParameters) DeepCopy() *AlertsParameters

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

func (*AlertsParameters) DeepCopyInto

func (in *AlertsParameters) DeepCopyInto(out *AlertsParameters)

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

type SlackInitParameters

type SlackInitParameters struct {

	// The Slack channel to send alerts to
	Channel *string `json:"channel,omitempty" tf:"channel,omitempty"`

	// The webhook URL for Slack
	URL *string `json:"url,omitempty" tf:"url,omitempty"`
}

func (*SlackInitParameters) DeepCopy

func (in *SlackInitParameters) DeepCopy() *SlackInitParameters

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

func (*SlackInitParameters) DeepCopyInto

func (in *SlackInitParameters) DeepCopyInto(out *SlackInitParameters)

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

type SlackObservation

type SlackObservation struct {

	// The Slack channel to send alerts to
	Channel *string `json:"channel,omitempty" tf:"channel,omitempty"`

	// The webhook URL for Slack
	URL *string `json:"url,omitempty" tf:"url,omitempty"`
}

func (*SlackObservation) DeepCopy

func (in *SlackObservation) DeepCopy() *SlackObservation

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

func (*SlackObservation) DeepCopyInto

func (in *SlackObservation) DeepCopyInto(out *SlackObservation)

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

type SlackParameters

type SlackParameters struct {

	// The Slack channel to send alerts to
	// +kubebuilder:validation:Optional
	Channel *string `json:"channel" tf:"channel,omitempty"`

	// The webhook URL for Slack
	// +kubebuilder:validation:Optional
	URL *string `json:"url" tf:"url,omitempty"`
}

func (*SlackParameters) DeepCopy

func (in *SlackParameters) DeepCopy() *SlackParameters

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

func (*SlackParameters) DeepCopyInto

func (in *SlackParameters) DeepCopyInto(out *SlackParameters)

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