v1alpha1

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Overview

+kubebuilder:object:generate=true +groupName=notification.cloudflare.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "notification.cloudflare.upbound.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 (
	Policy_Kind             = "Policy"
	Policy_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Policy_Kind}.String()
	Policy_KindAPIVersion   = Policy_Kind + "." + CRDGroupVersion.String()
	Policy_GroupVersionKind = CRDGroupVersion.WithKind(Policy_Kind)
)

Repository type metadata.

View Source
var (
	PolicyWebhooks_Kind             = "PolicyWebhooks"
	PolicyWebhooks_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: PolicyWebhooks_Kind}.String()
	PolicyWebhooks_KindAPIVersion   = PolicyWebhooks_Kind + "." + CRDGroupVersion.String()
	PolicyWebhooks_GroupVersionKind = CRDGroupVersion.WithKind(PolicyWebhooks_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type EmailIntegrationObservation

type EmailIntegrationObservation struct {
}

func (*EmailIntegrationObservation) DeepCopy

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

func (*EmailIntegrationObservation) DeepCopyInto

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

type EmailIntegrationParameters

type EmailIntegrationParameters struct {

	// +kubebuilder:validation:Required
	ID *string `json:"id" tf:"id,omitempty"`

	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*EmailIntegrationParameters) DeepCopy

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

func (*EmailIntegrationParameters) DeepCopyInto

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

type FiltersObservation

type FiltersObservation struct {
}

func (*FiltersObservation) DeepCopy

func (in *FiltersObservation) DeepCopy() *FiltersObservation

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

func (*FiltersObservation) DeepCopyInto

func (in *FiltersObservation) DeepCopyInto(out *FiltersObservation)

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

type FiltersParameters

type FiltersParameters struct {

	// State of the pool to alert on.
	// +kubebuilder:validation:Optional
	Enabled []*string `json:"enabled,omitempty" tf:"enabled,omitempty"`

	// Source configuration to alert on for pool or origin.
	// +kubebuilder:validation:Optional
	EventSource []*string `json:"eventSource,omitempty" tf:"event_source,omitempty"`

	// Stream event type to alert on.
	// +kubebuilder:validation:Optional
	EventType []*string `json:"eventType,omitempty" tf:"event_type,omitempty"`

	// Identifier health check. Required when using `filters.0.status`.
	// +kubebuilder:validation:Optional
	HealthCheckID []*string `json:"healthCheckId,omitempty" tf:"health_check_id,omitempty"`

	// Stream input id to alert on.
	// +kubebuilder:validation:Optional
	InputID []*string `json:"inputId,omitempty" tf:"input_id,omitempty"`

	// A numerical limit. Example: `100`.
	// +kubebuilder:validation:Optional
	Limit []*string `json:"limit,omitempty" tf:"limit,omitempty"`

	// Health status to alert on for pool or origin.
	// +kubebuilder:validation:Optional
	NewHealth []*string `json:"newHealth,omitempty" tf:"new_health,omitempty"`

	// Packets per second threshold for dos alert.
	// +kubebuilder:validation:Optional
	PacketsPerSecond []*string `json:"packetsPerSecond,omitempty" tf:"packets_per_second,omitempty"`

	// Load balancer pool identifier.
	// +kubebuilder:validation:Optional
	PoolID []*string `json:"poolId,omitempty" tf:"pool_id,omitempty"`

	// Product name. Available values: `worker_requests`, `worker_durable_objects_requests`, `worker_durable_objects_duration`, `worker_durable_objects_data_transfer`, `worker_durable_objects_stored_data`, `worker_durable_objects_storage_deletes`, `worker_durable_objects_storage_writes`, `worker_durable_objects_storage_reads`.
	// +kubebuilder:validation:Optional
	Product []*string `json:"product,omitempty" tf:"product,omitempty"`

	// Protocol to alert on for dos.
	// +kubebuilder:validation:Optional
	Protocol []*string `json:"protocol,omitempty" tf:"protocol,omitempty"`

	// Requests per second threshold for dos alert.
	// +kubebuilder:validation:Optional
	RequestsPerSecond []*string `json:"requestsPerSecond,omitempty" tf:"requests_per_second,omitempty"`

	// A numerical limit. Example: `99.9`.
	// +kubebuilder:validation:Optional
	SLO []*string `json:"slo,omitempty" tf:"slo,omitempty"`

	// +kubebuilder:validation:Optional
	Services []*string `json:"services,omitempty" tf:"services,omitempty"`

	// Status to alert on.
	// +kubebuilder:validation:Optional
	Status []*string `json:"status,omitempty" tf:"status,omitempty"`

	// Target host to alert on for dos.
	// +kubebuilder:validation:Optional
	TargetHost []*string `json:"targetHost,omitempty" tf:"target_host,omitempty"`

	// Target domain to alert on.
	// +kubebuilder:validation:Optional
	TargetZoneName []*string `json:"targetZoneName,omitempty" tf:"target_zone_name,omitempty"`

	// A list of zone identifiers.
	// +kubebuilder:validation:Optional
	Zones []*string `json:"zones,omitempty" tf:"zones,omitempty"`
}

func (*FiltersParameters) DeepCopy

func (in *FiltersParameters) DeepCopy() *FiltersParameters

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

func (*FiltersParameters) DeepCopyInto

func (in *FiltersParameters) DeepCopyInto(out *FiltersParameters)

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

type PagerdutyIntegrationObservation

type PagerdutyIntegrationObservation struct {
}

func (*PagerdutyIntegrationObservation) DeepCopy

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

func (*PagerdutyIntegrationObservation) DeepCopyInto

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

type PagerdutyIntegrationParameters

type PagerdutyIntegrationParameters struct {

	// +kubebuilder:validation:Required
	ID *string `json:"id" tf:"id,omitempty"`

	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*PagerdutyIntegrationParameters) DeepCopy

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

func (*PagerdutyIntegrationParameters) DeepCopyInto

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

type Policy

type Policy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PolicySpec   `json:"spec"`
	Status            PolicyStatus `json:"status,omitempty"`
}

Policy is the Schema for the Policys API. <no value> +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,cloudflare}

func (*Policy) DeepCopy

func (in *Policy) DeepCopy() *Policy

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

func (*Policy) DeepCopyInto

func (in *Policy) DeepCopyInto(out *Policy)

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

func (*Policy) DeepCopyObject

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

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

func (*Policy) GetCondition

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

GetCondition of this Policy.

func (*Policy) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Policy

func (*Policy) GetDeletionPolicy

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

GetDeletionPolicy of this Policy.

func (*Policy) GetID

func (tr *Policy) GetID() string

GetID returns ID of underlying Terraform resource of this Policy

func (*Policy) GetObservation

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

GetObservation of this Policy

func (*Policy) GetParameters

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

GetParameters of this Policy

func (*Policy) GetProviderConfigReference

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

GetProviderConfigReference of this Policy.

func (*Policy) GetProviderReference

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

GetProviderReference of this Policy. Deprecated: Use GetProviderConfigReference.

func (*Policy) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Policy.

func (*Policy) GetTerraformResourceType

func (mg *Policy) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Policy

func (*Policy) GetTerraformSchemaVersion

func (tr *Policy) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Policy) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Policy.

func (*Policy) LateInitialize

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

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

func (*Policy) ResolveReferences

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

ResolveReferences of this Policy.

func (*Policy) SetConditions

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

SetConditions of this Policy.

func (*Policy) SetDeletionPolicy

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

SetDeletionPolicy of this Policy.

func (*Policy) SetObservation

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

SetObservation for this Policy

func (*Policy) SetParameters

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

SetParameters for this Policy

func (*Policy) SetProviderConfigReference

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

SetProviderConfigReference of this Policy.

func (*Policy) SetProviderReference

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

SetProviderReference of this Policy. Deprecated: Use SetProviderConfigReference.

func (*Policy) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Policy.

func (*Policy) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Policy.

type PolicyList

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

PolicyList contains a list of Policys

func (*PolicyList) DeepCopy

func (in *PolicyList) DeepCopy() *PolicyList

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

func (*PolicyList) DeepCopyInto

func (in *PolicyList) DeepCopyInto(out *PolicyList)

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

func (*PolicyList) DeepCopyObject

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

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

func (*PolicyList) GetItems

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

GetItems of this PolicyList.

type PolicyObservation

type PolicyObservation struct {

	// When the notification policy was created.
	Created *string `json:"created,omitempty" tf:"created,omitempty"`

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

	// When the notification policy was last modified.
	Modified *string `json:"modified,omitempty" tf:"modified,omitempty"`
}

func (*PolicyObservation) DeepCopy

func (in *PolicyObservation) DeepCopy() *PolicyObservation

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

func (*PolicyObservation) DeepCopyInto

func (in *PolicyObservation) DeepCopyInto(out *PolicyObservation)

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

type PolicyParameters

type PolicyParameters struct {

	// The account identifier to target for the resource.
	// +crossplane:generate:reference:type=github.com/cdloh/provider-cloudflare/apis/account/v1alpha1.Account
	// +kubebuilder:validation:Optional
	AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"`

	// Reference to a Account in account to populate accountId.
	// +kubebuilder:validation:Optional
	AccountIDRef *v1.Reference `json:"accountIdRef,omitempty" tf:"-"`

	// Selector for a Account in account to populate accountId.
	// +kubebuilder:validation:Optional
	AccountIDSelector *v1.Selector `json:"accountIdSelector,omitempty" tf:"-"`

	// The event type that will trigger the dispatch of a notification. See the developer documentation for descriptions of [available alert types](https://developers.cloudflare.com/fundamentals/notifications/notification-available/). Available values: `billing_usage_alert`, `health_check_status_notification`, `g6_pool_toggle_alert`, `real_origin_monitoring`, `universal_ssl_event_type`, `dedicated_ssl_certificate_event_type`, `custom_ssl_certificate_event_type`, `access_custom_certificate_expiration_type`, `zone_aop_custom_certificate_expiration_type`, `bgp_hijack_notification`, `http_alert_origin_error`, `workers_alert`, `weekly_account_overview`, `expiring_service_token_alert`, `secondary_dns_all_primaries_failing`, `secondary_dns_zone_validation_warning`, `secondary_dns_primaries_failing`, `secondary_dns_zone_successfully_updated`, `dos_attack_l7`, `dos_attack_l4`, `advanced_ddos_attack_l7_alert`, `advanced_ddos_attack_l4_alert`, `fbm_volumetric_attack`, `fbm_auto_advertisement`, `load_balancing_pool_enablement_alert`, `load_balancing_health_alert`, `g6_health_alert`, `http_alert_edge_error`, `clickhouse_alert_fw_anomaly`, `clickhouse_alert_fw_ent_anomaly`, `failing_logpush_job_disabled_alert`, `scriptmonitor_alert_new_hosts`, `scriptmonitor_alert_new_scripts`, `scriptmonitor_alert_new_malicious_scripts`, `scriptmonitor_alert_new_malicious_url`, `scriptmonitor_alert_new_code_change_detections`, `scriptmonitor_alert_new_max_length_script_url`, `scriptmonitor_alert_new_malicious_hosts`, `sentinel_alert`, `hostname_aop_custom_certificate_expiration_type`, `stream_live_notifications`, `block_notification_new_block`, `block_notification_review_rejected`, `block_notification_review_accepted`, `web_analytics_metrics_update`, `workers_uptime`.
	// +kubebuilder:validation:Required
	AlertType *string `json:"alertType" tf:"alert_type,omitempty"`

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

	// The email id to which the notification should be dispatched. One of email, webhooks, or PagerDuty mechanisms is required.
	// +kubebuilder:validation:Optional
	EmailIntegration []EmailIntegrationParameters `json:"emailIntegration,omitempty" tf:"email_integration,omitempty"`

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

	// An optional nested block of filters that applies to the selected `alert_type`. A key-value map that specifies the type of filter and the values to match against (refer to the alert type block for available fields).
	// +kubebuilder:validation:Optional
	Filters []FiltersParameters `json:"filters,omitempty" tf:"filters,omitempty"`

	// The name of the notification policy.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// The unique id of a configured pagerduty endpoint to which the notification should be dispatched. One of email, webhooks, or PagerDuty mechanisms is required.
	// +kubebuilder:validation:Optional
	PagerdutyIntegration []PagerdutyIntegrationParameters `json:"pagerdutyIntegration,omitempty" tf:"pagerduty_integration,omitempty"`

	// The unique id of a configured webhooks endpoint to which the notification should be dispatched. One of email, webhooks, or PagerDuty mechanisms is required.
	// +kubebuilder:validation:Optional
	WebhooksIntegration []WebhooksIntegrationParameters `json:"webhooksIntegration,omitempty" tf:"webhooks_integration,omitempty"`
}

func (*PolicyParameters) DeepCopy

func (in *PolicyParameters) DeepCopy() *PolicyParameters

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

func (*PolicyParameters) DeepCopyInto

func (in *PolicyParameters) DeepCopyInto(out *PolicyParameters)

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

type PolicySpec

type PolicySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     PolicyParameters `json:"forProvider"`
}

PolicySpec defines the desired state of Policy

func (*PolicySpec) DeepCopy

func (in *PolicySpec) DeepCopy() *PolicySpec

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

func (*PolicySpec) DeepCopyInto

func (in *PolicySpec) DeepCopyInto(out *PolicySpec)

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

type PolicyStatus

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

PolicyStatus defines the observed state of Policy.

func (*PolicyStatus) DeepCopy

func (in *PolicyStatus) DeepCopy() *PolicyStatus

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

func (*PolicyStatus) DeepCopyInto

func (in *PolicyStatus) DeepCopyInto(out *PolicyStatus)

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

type PolicyWebhooks

type PolicyWebhooks struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PolicyWebhooksSpec   `json:"spec"`
	Status            PolicyWebhooksStatus `json:"status,omitempty"`
}

PolicyWebhooks is the Schema for the PolicyWebhookss API. <no value> +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,cloudflare}

func (*PolicyWebhooks) DeepCopy

func (in *PolicyWebhooks) DeepCopy() *PolicyWebhooks

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

func (*PolicyWebhooks) DeepCopyInto

func (in *PolicyWebhooks) DeepCopyInto(out *PolicyWebhooks)

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

func (*PolicyWebhooks) DeepCopyObject

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

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

func (*PolicyWebhooks) GetCondition

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

GetCondition of this PolicyWebhooks.

func (*PolicyWebhooks) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this PolicyWebhooks

func (*PolicyWebhooks) GetDeletionPolicy

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

GetDeletionPolicy of this PolicyWebhooks.

func (*PolicyWebhooks) GetID

func (tr *PolicyWebhooks) GetID() string

GetID returns ID of underlying Terraform resource of this PolicyWebhooks

func (*PolicyWebhooks) GetObservation

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

GetObservation of this PolicyWebhooks

func (*PolicyWebhooks) GetParameters

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

GetParameters of this PolicyWebhooks

func (*PolicyWebhooks) GetProviderConfigReference

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

GetProviderConfigReference of this PolicyWebhooks.

func (*PolicyWebhooks) GetProviderReference

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

GetProviderReference of this PolicyWebhooks. Deprecated: Use GetProviderConfigReference.

func (*PolicyWebhooks) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this PolicyWebhooks.

func (*PolicyWebhooks) GetTerraformResourceType

func (mg *PolicyWebhooks) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this PolicyWebhooks

func (*PolicyWebhooks) GetTerraformSchemaVersion

func (tr *PolicyWebhooks) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*PolicyWebhooks) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this PolicyWebhooks.

func (*PolicyWebhooks) LateInitialize

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

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

func (*PolicyWebhooks) ResolveReferences

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

ResolveReferences of this PolicyWebhooks.

func (*PolicyWebhooks) SetConditions

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

SetConditions of this PolicyWebhooks.

func (*PolicyWebhooks) SetDeletionPolicy

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

SetDeletionPolicy of this PolicyWebhooks.

func (*PolicyWebhooks) SetObservation

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

SetObservation for this PolicyWebhooks

func (*PolicyWebhooks) SetParameters

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

SetParameters for this PolicyWebhooks

func (*PolicyWebhooks) SetProviderConfigReference

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

SetProviderConfigReference of this PolicyWebhooks.

func (*PolicyWebhooks) SetProviderReference

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

SetProviderReference of this PolicyWebhooks. Deprecated: Use SetProviderConfigReference.

func (*PolicyWebhooks) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this PolicyWebhooks.

func (*PolicyWebhooks) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this PolicyWebhooks.

type PolicyWebhooksList

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

PolicyWebhooksList contains a list of PolicyWebhookss

func (*PolicyWebhooksList) DeepCopy

func (in *PolicyWebhooksList) DeepCopy() *PolicyWebhooksList

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

func (*PolicyWebhooksList) DeepCopyInto

func (in *PolicyWebhooksList) DeepCopyInto(out *PolicyWebhooksList)

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

func (*PolicyWebhooksList) DeepCopyObject

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

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

func (*PolicyWebhooksList) GetItems

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

GetItems of this PolicyWebhooksList.

type PolicyWebhooksObservation

type PolicyWebhooksObservation struct {
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

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

	LastFailure *string `json:"lastFailure,omitempty" tf:"last_failure,omitempty"`

	LastSuccess *string `json:"lastSuccess,omitempty" tf:"last_success,omitempty"`

	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*PolicyWebhooksObservation) DeepCopy

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

func (*PolicyWebhooksObservation) DeepCopyInto

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

type PolicyWebhooksParameters

type PolicyWebhooksParameters struct {

	// The account identifier to target for the resource.
	// +crossplane:generate:reference:type=github.com/cdloh/provider-cloudflare/apis/account/v1alpha1.Account
	// +kubebuilder:validation:Optional
	AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"`

	// Reference to a Account in account to populate accountId.
	// +kubebuilder:validation:Optional
	AccountIDRef *v1.Reference `json:"accountIdRef,omitempty" tf:"-"`

	// Selector for a Account in account to populate accountId.
	// +kubebuilder:validation:Optional
	AccountIDSelector *v1.Selector `json:"accountIdSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// +kubebuilder:validation:Optional
	Secret *string `json:"secret,omitempty" tf:"secret,omitempty"`

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

func (*PolicyWebhooksParameters) DeepCopy

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

func (*PolicyWebhooksParameters) DeepCopyInto

func (in *PolicyWebhooksParameters) DeepCopyInto(out *PolicyWebhooksParameters)

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

type PolicyWebhooksSpec

type PolicyWebhooksSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     PolicyWebhooksParameters `json:"forProvider"`
}

PolicyWebhooksSpec defines the desired state of PolicyWebhooks

func (*PolicyWebhooksSpec) DeepCopy

func (in *PolicyWebhooksSpec) DeepCopy() *PolicyWebhooksSpec

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

func (*PolicyWebhooksSpec) DeepCopyInto

func (in *PolicyWebhooksSpec) DeepCopyInto(out *PolicyWebhooksSpec)

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

type PolicyWebhooksStatus

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

PolicyWebhooksStatus defines the observed state of PolicyWebhooks.

func (*PolicyWebhooksStatus) DeepCopy

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

func (*PolicyWebhooksStatus) DeepCopyInto

func (in *PolicyWebhooksStatus) DeepCopyInto(out *PolicyWebhooksStatus)

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

type WebhooksIntegrationObservation

type WebhooksIntegrationObservation struct {
}

func (*WebhooksIntegrationObservation) DeepCopy

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

func (*WebhooksIntegrationObservation) DeepCopyInto

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

type WebhooksIntegrationParameters

type WebhooksIntegrationParameters struct {

	// +crossplane:generate:reference:type=PolicyWebhooks
	// +kubebuilder:validation:Optional
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Reference to a PolicyWebhooks to populate id.
	// +kubebuilder:validation:Optional
	IDRef *v1.Reference `json:"idRef,omitempty" tf:"-"`

	// Selector for a PolicyWebhooks to populate id.
	// +kubebuilder:validation:Optional
	IDSelector *v1.Selector `json:"idSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*WebhooksIntegrationParameters) DeepCopy

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

func (*WebhooksIntegrationParameters) DeepCopyInto

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