v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=project.launchdarkly.com +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "project.launchdarkly.com"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	Environment_Kind             = "Environment"
	Environment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Environment_Kind}.String()
	Environment_KindAPIVersion   = Environment_Kind + "." + CRDGroupVersion.String()
	Environment_GroupVersionKind = CRDGroupVersion.WithKind(Environment_Kind)
)

Repository type metadata.

View Source
var (
	EnvironmentDestination_Kind             = "EnvironmentDestination"
	EnvironmentDestination_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: EnvironmentDestination_Kind}.String()
	EnvironmentDestination_KindAPIVersion   = EnvironmentDestination_Kind + "." + CRDGroupVersion.String()
	EnvironmentDestination_GroupVersionKind = CRDGroupVersion.WithKind(EnvironmentDestination_Kind)
)

Repository type metadata.

View Source
var (
	EnvironmentSegment_Kind             = "EnvironmentSegment"
	EnvironmentSegment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: EnvironmentSegment_Kind}.String()
	EnvironmentSegment_KindAPIVersion   = EnvironmentSegment_Kind + "." + CRDGroupVersion.String()
	EnvironmentSegment_GroupVersionKind = CRDGroupVersion.WithKind(EnvironmentSegment_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 (
	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.

View Source
var (
	Project_Kind             = "Project"
	Project_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Project_Kind}.String()
	Project_KindAPIVersion   = Project_Kind + "." + CRDGroupVersion.String()
	Project_GroupVersionKind = CRDGroupVersion.WithKind(Project_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ApprovalSettingsInitParameters

type ApprovalSettingsInitParameters struct {

	// (Boolean) Automatically apply changes that have been approved by all reviewers. This field is only applicable for approval service kinds other than launchdarkly.
	// Automatically apply changes that have been approved by all reviewers. This field is only applicable for approval service kinds other than `launchdarkly`.
	AutoApplyApprovedChanges *bool `json:"autoApplyApprovedChanges,omitempty" tf:"auto_apply_approved_changes,omitempty"`

	// (Boolean) Set to true if changes can be applied as long as the min_num_approvals is met, regardless of whether any reviewers have declined a request. Defaults to true.
	// Set to `true` if changes can be applied as long as the `min_num_approvals` is met, regardless of whether any reviewers have declined a request. Defaults to `true`.
	CanApplyDeclinedChanges *bool `json:"canApplyDeclinedChanges,omitempty" tf:"can_apply_declined_changes,omitempty"`

	// (Boolean) Set to true if requesters can approve or decline their own request. They may always comment. Defaults to false.
	// Set to `true` if requesters can approve or decline their own request. They may always comment. Defaults to `false`.
	CanReviewOwnRequest *bool `json:"canReviewOwnRequest,omitempty" tf:"can_review_own_request,omitempty"`

	// (Number) The number of approvals required before an approval request can be applied. This number must be between 1 and 5. Defaults to 1.
	// The number of approvals required before an approval request can be applied. This number must be between 1 and 5. Defaults to 1.
	MinNumApprovals *float64 `json:"minNumApprovals,omitempty" tf:"min_num_approvals,omitempty"`

	// (Boolean) Set to true for changes to flags in this environment to require approval. You may only set required to true if required_approval_tags is not set and vice versa. Defaults to false.
	// Set to `true` for changes to flags in this environment to require approval. You may only set `required` to true if `required_approval_tags` is not set and vice versa. Defaults to `false`.
	Required *bool `json:"required,omitempty" tf:"required,omitempty"`

	// (List of String) An array of tags used to specify which flags with those tags require approval. You may only set required_approval_tags if required is set to false and vice versa.
	// An array of tags used to specify which flags with those tags require approval. You may only set `required_approval_tags` if `required` is set to `false` and vice versa.
	RequiredApprovalTags []*string `json:"requiredApprovalTags,omitempty" tf:"required_approval_tags,omitempty"`

	// (Map of String) The configuration for the service associated with this approval. This is specific to each approval service. For a service_kind of servicenow, the following fields apply:
	// The configuration for the service associated with this approval. This is specific to each approval service. For a `service_kind` of `servicenow`, the following fields apply:
	//
	// - `template` (String) The sys_id of the Standard Change Request Template in ServiceNow that LaunchDarkly will use when creating the change request.
	// - `detail_column` (String) The name of the ServiceNow Change Request column LaunchDarkly uses to populate detailed approval request information. This is most commonly "justification".
	// +mapType=granular
	ServiceConfig map[string]*string `json:"serviceConfig,omitempty" tf:"service_config,omitempty"`

	// (String) The kind of service associated with this approval. This determines which platform is used for requesting approval. Valid values are servicenow, launchdarkly. If you use a value other than launchdarkly, you must have already configured the integration in the LaunchDarkly UI or your apply will fail.
	// The kind of service associated with this approval. This determines which platform is used for requesting approval. Valid values are `servicenow`, `launchdarkly`. If you use a value other than `launchdarkly`, you must have already configured the integration in the LaunchDarkly UI or your apply will fail.
	ServiceKind *string `json:"serviceKind,omitempty" tf:"service_kind,omitempty"`
}

func (*ApprovalSettingsInitParameters) DeepCopy

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

func (*ApprovalSettingsInitParameters) DeepCopyInto

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

type ApprovalSettingsObservation

type ApprovalSettingsObservation struct {

	// (Boolean) Automatically apply changes that have been approved by all reviewers. This field is only applicable for approval service kinds other than launchdarkly.
	// Automatically apply changes that have been approved by all reviewers. This field is only applicable for approval service kinds other than `launchdarkly`.
	AutoApplyApprovedChanges *bool `json:"autoApplyApprovedChanges,omitempty" tf:"auto_apply_approved_changes,omitempty"`

	// (Boolean) Set to true if changes can be applied as long as the min_num_approvals is met, regardless of whether any reviewers have declined a request. Defaults to true.
	// Set to `true` if changes can be applied as long as the `min_num_approvals` is met, regardless of whether any reviewers have declined a request. Defaults to `true`.
	CanApplyDeclinedChanges *bool `json:"canApplyDeclinedChanges,omitempty" tf:"can_apply_declined_changes,omitempty"`

	// (Boolean) Set to true if requesters can approve or decline their own request. They may always comment. Defaults to false.
	// Set to `true` if requesters can approve or decline their own request. They may always comment. Defaults to `false`.
	CanReviewOwnRequest *bool `json:"canReviewOwnRequest,omitempty" tf:"can_review_own_request,omitempty"`

	// (Number) The number of approvals required before an approval request can be applied. This number must be between 1 and 5. Defaults to 1.
	// The number of approvals required before an approval request can be applied. This number must be between 1 and 5. Defaults to 1.
	MinNumApprovals *float64 `json:"minNumApprovals,omitempty" tf:"min_num_approvals,omitempty"`

	// (Boolean) Set to true for changes to flags in this environment to require approval. You may only set required to true if required_approval_tags is not set and vice versa. Defaults to false.
	// Set to `true` for changes to flags in this environment to require approval. You may only set `required` to true if `required_approval_tags` is not set and vice versa. Defaults to `false`.
	Required *bool `json:"required,omitempty" tf:"required,omitempty"`

	// (List of String) An array of tags used to specify which flags with those tags require approval. You may only set required_approval_tags if required is set to false and vice versa.
	// An array of tags used to specify which flags with those tags require approval. You may only set `required_approval_tags` if `required` is set to `false` and vice versa.
	RequiredApprovalTags []*string `json:"requiredApprovalTags,omitempty" tf:"required_approval_tags,omitempty"`

	// (Map of String) The configuration for the service associated with this approval. This is specific to each approval service. For a service_kind of servicenow, the following fields apply:
	// The configuration for the service associated with this approval. This is specific to each approval service. For a `service_kind` of `servicenow`, the following fields apply:
	//
	// - `template` (String) The sys_id of the Standard Change Request Template in ServiceNow that LaunchDarkly will use when creating the change request.
	// - `detail_column` (String) The name of the ServiceNow Change Request column LaunchDarkly uses to populate detailed approval request information. This is most commonly "justification".
	// +mapType=granular
	ServiceConfig map[string]*string `json:"serviceConfig,omitempty" tf:"service_config,omitempty"`

	// (String) The kind of service associated with this approval. This determines which platform is used for requesting approval. Valid values are servicenow, launchdarkly. If you use a value other than launchdarkly, you must have already configured the integration in the LaunchDarkly UI or your apply will fail.
	// The kind of service associated with this approval. This determines which platform is used for requesting approval. Valid values are `servicenow`, `launchdarkly`. If you use a value other than `launchdarkly`, you must have already configured the integration in the LaunchDarkly UI or your apply will fail.
	ServiceKind *string `json:"serviceKind,omitempty" tf:"service_kind,omitempty"`
}

func (*ApprovalSettingsObservation) DeepCopy

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

func (*ApprovalSettingsObservation) DeepCopyInto

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

type ApprovalSettingsParameters

type ApprovalSettingsParameters struct {

	// (Boolean) Automatically apply changes that have been approved by all reviewers. This field is only applicable for approval service kinds other than launchdarkly.
	// Automatically apply changes that have been approved by all reviewers. This field is only applicable for approval service kinds other than `launchdarkly`.
	// +kubebuilder:validation:Optional
	AutoApplyApprovedChanges *bool `json:"autoApplyApprovedChanges,omitempty" tf:"auto_apply_approved_changes,omitempty"`

	// (Boolean) Set to true if changes can be applied as long as the min_num_approvals is met, regardless of whether any reviewers have declined a request. Defaults to true.
	// Set to `true` if changes can be applied as long as the `min_num_approvals` is met, regardless of whether any reviewers have declined a request. Defaults to `true`.
	// +kubebuilder:validation:Optional
	CanApplyDeclinedChanges *bool `json:"canApplyDeclinedChanges,omitempty" tf:"can_apply_declined_changes,omitempty"`

	// (Boolean) Set to true if requesters can approve or decline their own request. They may always comment. Defaults to false.
	// Set to `true` if requesters can approve or decline their own request. They may always comment. Defaults to `false`.
	// +kubebuilder:validation:Optional
	CanReviewOwnRequest *bool `json:"canReviewOwnRequest,omitempty" tf:"can_review_own_request,omitempty"`

	// (Number) The number of approvals required before an approval request can be applied. This number must be between 1 and 5. Defaults to 1.
	// The number of approvals required before an approval request can be applied. This number must be between 1 and 5. Defaults to 1.
	// +kubebuilder:validation:Optional
	MinNumApprovals *float64 `json:"minNumApprovals,omitempty" tf:"min_num_approvals,omitempty"`

	// (Boolean) Set to true for changes to flags in this environment to require approval. You may only set required to true if required_approval_tags is not set and vice versa. Defaults to false.
	// Set to `true` for changes to flags in this environment to require approval. You may only set `required` to true if `required_approval_tags` is not set and vice versa. Defaults to `false`.
	// +kubebuilder:validation:Optional
	Required *bool `json:"required,omitempty" tf:"required,omitempty"`

	// (List of String) An array of tags used to specify which flags with those tags require approval. You may only set required_approval_tags if required is set to false and vice versa.
	// An array of tags used to specify which flags with those tags require approval. You may only set `required_approval_tags` if `required` is set to `false` and vice versa.
	// +kubebuilder:validation:Optional
	RequiredApprovalTags []*string `json:"requiredApprovalTags,omitempty" tf:"required_approval_tags,omitempty"`

	// (Map of String) The configuration for the service associated with this approval. This is specific to each approval service. For a service_kind of servicenow, the following fields apply:
	// The configuration for the service associated with this approval. This is specific to each approval service. For a `service_kind` of `servicenow`, the following fields apply:
	//
	// - `template` (String) The sys_id of the Standard Change Request Template in ServiceNow that LaunchDarkly will use when creating the change request.
	// - `detail_column` (String) The name of the ServiceNow Change Request column LaunchDarkly uses to populate detailed approval request information. This is most commonly "justification".
	// +kubebuilder:validation:Optional
	// +mapType=granular
	ServiceConfig map[string]*string `json:"serviceConfig,omitempty" tf:"service_config,omitempty"`

	// (String) The kind of service associated with this approval. This determines which platform is used for requesting approval. Valid values are servicenow, launchdarkly. If you use a value other than launchdarkly, you must have already configured the integration in the LaunchDarkly UI or your apply will fail.
	// The kind of service associated with this approval. This determines which platform is used for requesting approval. Valid values are `servicenow`, `launchdarkly`. If you use a value other than `launchdarkly`, you must have already configured the integration in the LaunchDarkly UI or your apply will fail.
	// +kubebuilder:validation:Optional
	ServiceKind *string `json:"serviceKind,omitempty" tf:"service_kind,omitempty"`
}

func (*ApprovalSettingsParameters) DeepCopy

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

func (*ApprovalSettingsParameters) DeepCopyInto

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

type ClausesInitParameters

type ClausesInitParameters struct {

	// (String) The user attribute to operate on
	// The user attribute to operate on
	Attribute *string `json:"attribute,omitempty" tf:"attribute,omitempty"`

	// (String) The context kind associated with this segment target. To target on user contexts, use the included and excluded attributes.
	// The context kind associated with this rule clause. If omitted, defaults to `user`.
	ContextKind *string `json:"contextKind,omitempty" tf:"context_kind,omitempty"`

	// (Boolean) Whether to negate the rule clause.
	// Whether to negate the rule clause.
	Negate *bool `json:"negate,omitempty" tf:"negate,omitempty"`

	// (String) The operator associated with the rule clause. Available options are in, endsWith, startsWith, matches, contains, lessThan, lessThanOrEqual, greaterThanOrEqual, before, after, segmentMatch, semVerEqual, semVerLessThan, and semVerGreaterThan. Read LaunchDarkly's Operators documentation for more information.
	// The operator associated with the rule clause. Available options are `in`, `endsWith`, `startsWith`, `matches`, `contains`, `lessThan`, `lessThanOrEqual`, `greaterThanOrEqual`, `before`, `after`, `segmentMatch`, `semVerEqual`, `semVerLessThan`, and `semVerGreaterThan`. Read LaunchDarkly's [Operators](https://docs.launchdarkly.com/sdk/concepts/flag-evaluation-rules#operators) documentation for more information.
	Op *string `json:"op,omitempty" tf:"op,omitempty"`

	// (String) The type for each of the clause's values. Available types are boolean, string, and number. If omitted, value_type defaults to string.
	// The type for each of the clause's values. Available types are `boolean`, `string`, and `number`. If omitted, `value_type` defaults to `string`.
	ValueType *string `json:"valueType,omitempty" tf:"value_type,omitempty"`

	// (List of String) List of target object keys included in or excluded from the segment.
	// The list of values associated with the rule clause.
	Values []*string `json:"values,omitempty" tf:"values,omitempty"`
}

func (*ClausesInitParameters) DeepCopy

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

func (*ClausesInitParameters) DeepCopyInto

func (in *ClausesInitParameters) DeepCopyInto(out *ClausesInitParameters)

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

type ClausesObservation

type ClausesObservation struct {

	// (String) The user attribute to operate on
	// The user attribute to operate on
	Attribute *string `json:"attribute,omitempty" tf:"attribute,omitempty"`

	// (String) The context kind associated with this segment target. To target on user contexts, use the included and excluded attributes.
	// The context kind associated with this rule clause. If omitted, defaults to `user`.
	ContextKind *string `json:"contextKind,omitempty" tf:"context_kind,omitempty"`

	// (Boolean) Whether to negate the rule clause.
	// Whether to negate the rule clause.
	Negate *bool `json:"negate,omitempty" tf:"negate,omitempty"`

	// (String) The operator associated with the rule clause. Available options are in, endsWith, startsWith, matches, contains, lessThan, lessThanOrEqual, greaterThanOrEqual, before, after, segmentMatch, semVerEqual, semVerLessThan, and semVerGreaterThan. Read LaunchDarkly's Operators documentation for more information.
	// The operator associated with the rule clause. Available options are `in`, `endsWith`, `startsWith`, `matches`, `contains`, `lessThan`, `lessThanOrEqual`, `greaterThanOrEqual`, `before`, `after`, `segmentMatch`, `semVerEqual`, `semVerLessThan`, and `semVerGreaterThan`. Read LaunchDarkly's [Operators](https://docs.launchdarkly.com/sdk/concepts/flag-evaluation-rules#operators) documentation for more information.
	Op *string `json:"op,omitempty" tf:"op,omitempty"`

	// (String) The type for each of the clause's values. Available types are boolean, string, and number. If omitted, value_type defaults to string.
	// The type for each of the clause's values. Available types are `boolean`, `string`, and `number`. If omitted, `value_type` defaults to `string`.
	ValueType *string `json:"valueType,omitempty" tf:"value_type,omitempty"`

	// (List of String) List of target object keys included in or excluded from the segment.
	// The list of values associated with the rule clause.
	Values []*string `json:"values,omitempty" tf:"values,omitempty"`
}

func (*ClausesObservation) DeepCopy

func (in *ClausesObservation) DeepCopy() *ClausesObservation

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

func (*ClausesObservation) DeepCopyInto

func (in *ClausesObservation) DeepCopyInto(out *ClausesObservation)

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

type ClausesParameters

type ClausesParameters struct {

	// (String) The user attribute to operate on
	// The user attribute to operate on
	// +kubebuilder:validation:Optional
	Attribute *string `json:"attribute" tf:"attribute,omitempty"`

	// (String) The context kind associated with this segment target. To target on user contexts, use the included and excluded attributes.
	// The context kind associated with this rule clause. If omitted, defaults to `user`.
	// +kubebuilder:validation:Optional
	ContextKind *string `json:"contextKind,omitempty" tf:"context_kind,omitempty"`

	// (Boolean) Whether to negate the rule clause.
	// Whether to negate the rule clause.
	// +kubebuilder:validation:Optional
	Negate *bool `json:"negate,omitempty" tf:"negate,omitempty"`

	// (String) The operator associated with the rule clause. Available options are in, endsWith, startsWith, matches, contains, lessThan, lessThanOrEqual, greaterThanOrEqual, before, after, segmentMatch, semVerEqual, semVerLessThan, and semVerGreaterThan. Read LaunchDarkly's Operators documentation for more information.
	// The operator associated with the rule clause. Available options are `in`, `endsWith`, `startsWith`, `matches`, `contains`, `lessThan`, `lessThanOrEqual`, `greaterThanOrEqual`, `before`, `after`, `segmentMatch`, `semVerEqual`, `semVerLessThan`, and `semVerGreaterThan`. Read LaunchDarkly's [Operators](https://docs.launchdarkly.com/sdk/concepts/flag-evaluation-rules#operators) documentation for more information.
	// +kubebuilder:validation:Optional
	Op *string `json:"op" tf:"op,omitempty"`

	// (String) The type for each of the clause's values. Available types are boolean, string, and number. If omitted, value_type defaults to string.
	// The type for each of the clause's values. Available types are `boolean`, `string`, and `number`. If omitted, `value_type` defaults to `string`.
	// +kubebuilder:validation:Optional
	ValueType *string `json:"valueType,omitempty" tf:"value_type,omitempty"`

	// (List of String) List of target object keys included in or excluded from the segment.
	// The list of values associated with the rule clause.
	// +kubebuilder:validation:Optional
	Values []*string `json:"values" tf:"values,omitempty"`
}

func (*ClausesParameters) DeepCopy

func (in *ClausesParameters) DeepCopy() *ClausesParameters

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

func (*ClausesParameters) DeepCopyInto

func (in *ClausesParameters) DeepCopyInto(out *ClausesParameters)

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

type DefaultClientSideAvailabilityInitParameters

type DefaultClientSideAvailabilityInitParameters struct {

	// (Boolean)
	UsingEnvironmentID *bool `json:"usingEnvironmentId,omitempty" tf:"using_environment_id,omitempty"`

	// (Boolean)
	UsingMobileKey *bool `json:"usingMobileKey,omitempty" tf:"using_mobile_key,omitempty"`
}

func (*DefaultClientSideAvailabilityInitParameters) DeepCopy

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

func (*DefaultClientSideAvailabilityInitParameters) DeepCopyInto

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

type DefaultClientSideAvailabilityObservation

type DefaultClientSideAvailabilityObservation struct {

	// (Boolean)
	UsingEnvironmentID *bool `json:"usingEnvironmentId,omitempty" tf:"using_environment_id,omitempty"`

	// (Boolean)
	UsingMobileKey *bool `json:"usingMobileKey,omitempty" tf:"using_mobile_key,omitempty"`
}

func (*DefaultClientSideAvailabilityObservation) DeepCopy

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

func (*DefaultClientSideAvailabilityObservation) DeepCopyInto

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

type DefaultClientSideAvailabilityParameters

type DefaultClientSideAvailabilityParameters struct {

	// (Boolean)
	// +kubebuilder:validation:Optional
	UsingEnvironmentID *bool `json:"usingEnvironmentId" tf:"using_environment_id,omitempty"`

	// (Boolean)
	// +kubebuilder:validation:Optional
	UsingMobileKey *bool `json:"usingMobileKey" tf:"using_mobile_key,omitempty"`
}

func (*DefaultClientSideAvailabilityParameters) DeepCopy

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

func (*DefaultClientSideAvailabilityParameters) DeepCopyInto

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

type Environment

type Environment 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.color) || (has(self.initProvider) && has(self.initProvider.color))",message="spec.forProvider.color is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.key) || (has(self.initProvider) && has(self.initProvider.key))",message="spec.forProvider.key is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	Spec   EnvironmentSpec   `json:"spec"`
	Status EnvironmentStatus `json:"status,omitempty"`
}

Environment is the Schema for the Environments API. Provides a LaunchDarkly environment resource. This resource allows you to create and manage environments in your LaunchDarkly organization. In this case, you should always use the nested environments config blocks on your launchdarkly_project resource to manage your environments. -> Note: Mixing the use of nested environments blocks in the [launchdarkly_project] resource and launchdarkly_environment resources is not recommended. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,launchdarkly}

func (*Environment) DeepCopy

func (in *Environment) DeepCopy() *Environment

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

func (*Environment) DeepCopyInto

func (in *Environment) DeepCopyInto(out *Environment)

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

func (*Environment) DeepCopyObject

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

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

func (*Environment) GetCondition

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

GetCondition of this Environment.

func (*Environment) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Environment

func (*Environment) GetDeletionPolicy

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

GetDeletionPolicy of this Environment.

func (*Environment) GetID

func (tr *Environment) GetID() string

GetID returns ID of underlying Terraform resource of this Environment

func (*Environment) GetInitParameters

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

GetInitParameters of this Environment

func (*Environment) GetManagementPolicies

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

GetManagementPolicies of this Environment.

func (*Environment) GetMergedParameters

func (tr *Environment) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Environment

func (*Environment) GetObservation

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

GetObservation of this Environment

func (*Environment) GetParameters

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

GetParameters of this Environment

func (*Environment) GetProviderConfigReference

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

GetProviderConfigReference of this Environment.

func (*Environment) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Environment.

func (*Environment) GetTerraformResourceType

func (mg *Environment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Environment

func (*Environment) GetTerraformSchemaVersion

func (tr *Environment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Environment) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Environment.

func (*Environment) Hub

func (tr *Environment) Hub()

Hub marks this type as a conversion hub.

func (*Environment) LateInitialize

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

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

func (*Environment) ResolveReferences added in v0.2.0

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

ResolveReferences of this Environment.

func (*Environment) SetConditions

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

SetConditions of this Environment.

func (*Environment) SetDeletionPolicy

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

SetDeletionPolicy of this Environment.

func (*Environment) SetManagementPolicies

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

SetManagementPolicies of this Environment.

func (*Environment) SetObservation

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

SetObservation for this Environment

func (*Environment) SetParameters

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

SetParameters for this Environment

func (*Environment) SetProviderConfigReference

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

SetProviderConfigReference of this Environment.

func (*Environment) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Environment.

func (*Environment) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Environment.

type EnvironmentDestination

type EnvironmentDestination 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.config) || (has(self.initProvider) && has(self.initProvider.config))",message="spec.forProvider.config is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.kind) || (has(self.initProvider) && has(self.initProvider.kind))",message="spec.forProvider.kind is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	Spec   EnvironmentDestinationSpec   `json:"spec"`
	Status EnvironmentDestinationStatus `json:"status,omitempty"`
}

EnvironmentDestination is the Schema for the EnvironmentDestinations API. Provides a LaunchDarkly Data Export Destination resource. -> Note: Data Export is available to customers on an Enterprise LaunchDarkly plan. To learn more, read about our pricing https://launchdarkly.com/pricing/. To upgrade your plan, contact LaunchDarkly Sales https://launchdarkly.com/contact-sales/. Data Export Destinations are locations that receive exported data. This resource allows you to configure destinations for the export of raw analytics data, including feature flag requests, analytics events, custom events, and more. To learn more about data export, read Data Export Documentation https://docs.launchdarkly.com/integrations/data-export. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,launchdarkly}

func (*EnvironmentDestination) DeepCopy

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

func (*EnvironmentDestination) DeepCopyInto

func (in *EnvironmentDestination) DeepCopyInto(out *EnvironmentDestination)

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

func (*EnvironmentDestination) DeepCopyObject

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

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

func (*EnvironmentDestination) GetCondition

GetCondition of this EnvironmentDestination.

func (*EnvironmentDestination) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this EnvironmentDestination

func (*EnvironmentDestination) GetDeletionPolicy

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

GetDeletionPolicy of this EnvironmentDestination.

func (*EnvironmentDestination) GetID

func (tr *EnvironmentDestination) GetID() string

GetID returns ID of underlying Terraform resource of this EnvironmentDestination

func (*EnvironmentDestination) GetInitParameters

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

GetInitParameters of this EnvironmentDestination

func (*EnvironmentDestination) GetManagementPolicies

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

GetManagementPolicies of this EnvironmentDestination.

func (*EnvironmentDestination) GetMergedParameters

func (tr *EnvironmentDestination) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this EnvironmentDestination

func (*EnvironmentDestination) GetObservation

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

GetObservation of this EnvironmentDestination

func (*EnvironmentDestination) GetParameters

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

GetParameters of this EnvironmentDestination

func (*EnvironmentDestination) GetProviderConfigReference

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

GetProviderConfigReference of this EnvironmentDestination.

func (*EnvironmentDestination) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this EnvironmentDestination.

func (*EnvironmentDestination) GetTerraformResourceType

func (mg *EnvironmentDestination) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this EnvironmentDestination

func (*EnvironmentDestination) GetTerraformSchemaVersion

func (tr *EnvironmentDestination) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*EnvironmentDestination) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this EnvironmentDestination.

func (*EnvironmentDestination) Hub

func (tr *EnvironmentDestination) Hub()

Hub marks this type as a conversion hub.

func (*EnvironmentDestination) LateInitialize

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

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

func (*EnvironmentDestination) ResolveReferences added in v0.3.0

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

ResolveReferences of this EnvironmentDestination.

func (*EnvironmentDestination) SetConditions

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

SetConditions of this EnvironmentDestination.

func (*EnvironmentDestination) SetDeletionPolicy

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

SetDeletionPolicy of this EnvironmentDestination.

func (*EnvironmentDestination) SetManagementPolicies

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

SetManagementPolicies of this EnvironmentDestination.

func (*EnvironmentDestination) SetObservation

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

SetObservation for this EnvironmentDestination

func (*EnvironmentDestination) SetParameters

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

SetParameters for this EnvironmentDestination

func (*EnvironmentDestination) SetProviderConfigReference

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

SetProviderConfigReference of this EnvironmentDestination.

func (*EnvironmentDestination) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this EnvironmentDestination.

func (*EnvironmentDestination) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this EnvironmentDestination.

type EnvironmentDestinationInitParameters

type EnvironmentDestinationInitParameters struct {

	// specific configuration. To learn more, read Destination-Specific Configs
	// The destination-specific configuration. To learn more, read [Destination-Specific Configs](#destination-specific-configs)
	// +mapType=granular
	Config map[string]*string `json:"config,omitempty" tf:"config,omitempty"`

	// (String) The environment key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The environment key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// +crossplane:generate:reference:type=github.com/launchdarkly/crossplane-provider-launchdarkly/apis/project/v1alpha1.Environment
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("key", false)
	EnvKey *string `json:"envKey,omitempty" tf:"env_key,omitempty"`

	// Reference to a Environment in project to populate envKey.
	// +kubebuilder:validation:Optional
	EnvKeyRef *v1.Reference `json:"envKeyRef,omitempty" tf:"-"`

	// Selector for a Environment in project to populate envKey.
	// +kubebuilder:validation:Optional
	EnvKeySelector *v1.Selector `json:"envKeySelector,omitempty" tf:"-"`

	// pubsub, mparticle, azure-event-hubs, and segment. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The data export destination type. Available choices are `kinesis`, `google-pubsub`, `mparticle`, `azure-event-hubs`, and `segment`. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Kind *string `json:"kind,omitempty" tf:"kind,omitempty"`

	// readable name for your data export destination.
	// A human-readable name for your data export destination.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (Boolean) Whether the data export destination is on or not.
	// Whether the data export destination is on or not.
	On *bool `json:"on,omitempty" tf:"on,omitempty"`

	// (String) The LaunchDarkly project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The LaunchDarkly project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// +crossplane:generate:reference:type=github.com/launchdarkly/crossplane-provider-launchdarkly/apis/project/v1alpha1.Project
	ProjectKey *string `json:"projectKey,omitempty" tf:"project_key,omitempty"`

	// Reference to a Project in project to populate projectKey.
	// +kubebuilder:validation:Optional
	ProjectKeyRef *v1.Reference `json:"projectKeyRef,omitempty" tf:"-"`

	// Selector for a Project in project to populate projectKey.
	// +kubebuilder:validation:Optional
	ProjectKeySelector *v1.Selector `json:"projectKeySelector,omitempty" tf:"-"`

	// (Set of String) Tags associated with your resource.
	// Tags associated with your resource.
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*EnvironmentDestinationInitParameters) DeepCopy

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

func (*EnvironmentDestinationInitParameters) DeepCopyInto

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

type EnvironmentDestinationList

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

EnvironmentDestinationList contains a list of EnvironmentDestinations

func (*EnvironmentDestinationList) DeepCopy

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

func (*EnvironmentDestinationList) DeepCopyInto

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

func (*EnvironmentDestinationList) DeepCopyObject

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

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

func (*EnvironmentDestinationList) GetItems

GetItems of this EnvironmentDestinationList.

type EnvironmentDestinationObservation

type EnvironmentDestinationObservation struct {

	// specific configuration. To learn more, read Destination-Specific Configs
	// The destination-specific configuration. To learn more, read [Destination-Specific Configs](#destination-specific-configs)
	// +mapType=granular
	Config map[string]*string `json:"config,omitempty" tf:"config,omitempty"`

	// (String) The environment key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The environment key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	EnvKey *string `json:"envKey,omitempty" tf:"env_key,omitempty"`

	// (String) The ID of this resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// pubsub, mparticle, azure-event-hubs, and segment. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The data export destination type. Available choices are `kinesis`, `google-pubsub`, `mparticle`, `azure-event-hubs`, and `segment`. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Kind *string `json:"kind,omitempty" tf:"kind,omitempty"`

	// readable name for your data export destination.
	// A human-readable name for your data export destination.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (Boolean) Whether the data export destination is on or not.
	// Whether the data export destination is on or not.
	On *bool `json:"on,omitempty" tf:"on,omitempty"`

	// (String) The LaunchDarkly project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The LaunchDarkly project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	ProjectKey *string `json:"projectKey,omitempty" tf:"project_key,omitempty"`

	// (Set of String) Tags associated with your resource.
	// Tags associated with your resource.
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*EnvironmentDestinationObservation) DeepCopy

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

func (*EnvironmentDestinationObservation) DeepCopyInto

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

type EnvironmentDestinationParameters

type EnvironmentDestinationParameters struct {

	// specific configuration. To learn more, read Destination-Specific Configs
	// The destination-specific configuration. To learn more, read [Destination-Specific Configs](#destination-specific-configs)
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Config map[string]*string `json:"config,omitempty" tf:"config,omitempty"`

	// (String) The environment key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The environment key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// +crossplane:generate:reference:type=github.com/launchdarkly/crossplane-provider-launchdarkly/apis/project/v1alpha1.Environment
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("key", false)
	// +kubebuilder:validation:Optional
	EnvKey *string `json:"envKey,omitempty" tf:"env_key,omitempty"`

	// Reference to a Environment in project to populate envKey.
	// +kubebuilder:validation:Optional
	EnvKeyRef *v1.Reference `json:"envKeyRef,omitempty" tf:"-"`

	// Selector for a Environment in project to populate envKey.
	// +kubebuilder:validation:Optional
	EnvKeySelector *v1.Selector `json:"envKeySelector,omitempty" tf:"-"`

	// pubsub, mparticle, azure-event-hubs, and segment. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The data export destination type. Available choices are `kinesis`, `google-pubsub`, `mparticle`, `azure-event-hubs`, and `segment`. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// +kubebuilder:validation:Optional
	Kind *string `json:"kind,omitempty" tf:"kind,omitempty"`

	// readable name for your data export destination.
	// A human-readable name for your data export destination.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (Boolean) Whether the data export destination is on or not.
	// Whether the data export destination is on or not.
	// +kubebuilder:validation:Optional
	On *bool `json:"on,omitempty" tf:"on,omitempty"`

	// (String) The LaunchDarkly project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The LaunchDarkly project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// +crossplane:generate:reference:type=github.com/launchdarkly/crossplane-provider-launchdarkly/apis/project/v1alpha1.Project
	// +kubebuilder:validation:Optional
	ProjectKey *string `json:"projectKey,omitempty" tf:"project_key,omitempty"`

	// Reference to a Project in project to populate projectKey.
	// +kubebuilder:validation:Optional
	ProjectKeyRef *v1.Reference `json:"projectKeyRef,omitempty" tf:"-"`

	// Selector for a Project in project to populate projectKey.
	// +kubebuilder:validation:Optional
	ProjectKeySelector *v1.Selector `json:"projectKeySelector,omitempty" tf:"-"`

	// (Set of String) Tags associated with your resource.
	// Tags associated with your resource.
	// +kubebuilder:validation:Optional
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*EnvironmentDestinationParameters) DeepCopy

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

func (*EnvironmentDestinationParameters) DeepCopyInto

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

type EnvironmentDestinationSpec

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

EnvironmentDestinationSpec defines the desired state of EnvironmentDestination

func (*EnvironmentDestinationSpec) DeepCopy

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

func (*EnvironmentDestinationSpec) DeepCopyInto

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

type EnvironmentDestinationStatus

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

EnvironmentDestinationStatus defines the observed state of EnvironmentDestination.

func (*EnvironmentDestinationStatus) DeepCopy

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

func (*EnvironmentDestinationStatus) DeepCopyInto

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

type EnvironmentInitParameters

type EnvironmentInitParameters struct {

	// (Block List) (see below for nested schema)
	ApprovalSettings []ApprovalSettingsInitParameters `json:"approvalSettings,omitempty" tf:"approval_settings,omitempty"`

	// (String) The color swatch as an RGB hex value with no leading #. For example: 000000
	// The color swatch as an RGB hex value with no leading `#`. For example: `000000`
	Color *string `json:"color,omitempty" tf:"color,omitempty"`

	// (Boolean) Set to true if this environment requires confirmation for flag and segment changes. This field will default to false when not set.
	// Set to `true` if this environment requires confirmation for flag and segment changes. This field will default to `false` when not set.
	ConfirmChanges *bool `json:"confirmChanges,omitempty" tf:"confirm_changes,omitempty"`

	// (Boolean) Denotes whether the environment is critical.
	// Denotes whether the environment is critical.
	Critical *bool `json:"critical,omitempty" tf:"critical,omitempty"`

	// (Number) The TTL for the environment. This must be between 0 and 60 minutes. The TTL setting only applies to environments using the PHP SDK. This field will default to 0 when not set. To learn more, read TTL settings.
	// The TTL for the environment. This must be between 0 and 60 minutes. The TTL setting only applies to environments using the PHP SDK. This field will default to `0` when not set. To learn more, read [TTL settings](https://docs.launchdarkly.com/home/organize/environments#ttl-settings).
	DefaultTTL *float64 `json:"defaultTtl,omitempty" tf:"default_ttl,omitempty"`

	// (Boolean) Set to true to enable data export for every flag created in this environment after you configure this argument. This field will default to false when not set. To learn more, read Data Export.
	// Set to `true` to enable data export for every flag created in this environment after you configure this argument. This field will default to `false` when not set. To learn more, read [Data Export](https://docs.launchdarkly.com/home/data-export).
	DefaultTrackEvents *bool `json:"defaultTrackEvents,omitempty" tf:"default_track_events,omitempty"`

	// unique key for the environment. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The project-unique key for the environment. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// (String) The name of the environment.
	// The name of the environment.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String) The LaunchDarkly project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The LaunchDarkly project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// +crossplane:generate:reference:type=github.com/launchdarkly/crossplane-provider-launchdarkly/apis/project/v1alpha1.Project
	ProjectKey *string `json:"projectKey,omitempty" tf:"project_key,omitempty"`

	// Reference to a Project in project to populate projectKey.
	// +kubebuilder:validation:Optional
	ProjectKeyRef *v1.Reference `json:"projectKeyRef,omitempty" tf:"-"`

	// Selector for a Project in project to populate projectKey.
	// +kubebuilder:validation:Optional
	ProjectKeySelector *v1.Selector `json:"projectKeySelector,omitempty" tf:"-"`

	// (Boolean) Set to true if this environment requires comments for flag and segment changes. This field will default to false when not set.
	// Set to `true` if this environment requires comments for flag and segment changes. This field will default to `false` when not set.
	RequireComments *bool `json:"requireComments,omitempty" tf:"require_comments,omitempty"`

	// side SDK cannot impersonate another user. This field will default to false when not set.
	// Set to `true` to ensure a user of the client-side SDK cannot impersonate another user. This field will default to `false` when not set.
	SecureMode *bool `json:"secureMode,omitempty" tf:"secure_mode,omitempty"`

	// (Set of String) Tags associated with your resource.
	// Tags associated with your resource.
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*EnvironmentInitParameters) DeepCopy

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

func (*EnvironmentInitParameters) DeepCopyInto

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

type EnvironmentList

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

EnvironmentList contains a list of Environments

func (*EnvironmentList) DeepCopy

func (in *EnvironmentList) DeepCopy() *EnvironmentList

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

func (*EnvironmentList) DeepCopyInto

func (in *EnvironmentList) DeepCopyInto(out *EnvironmentList)

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

func (*EnvironmentList) DeepCopyObject

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

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

func (*EnvironmentList) GetItems

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

GetItems of this EnvironmentList.

type EnvironmentObservation

type EnvironmentObservation struct {

	// (Block List) (see below for nested schema)
	ApprovalSettings []ApprovalSettingsObservation `json:"approvalSettings,omitempty" tf:"approval_settings,omitempty"`

	// (String) The color swatch as an RGB hex value with no leading #. For example: 000000
	// The color swatch as an RGB hex value with no leading `#`. For example: `000000`
	Color *string `json:"color,omitempty" tf:"color,omitempty"`

	// (Boolean) Set to true if this environment requires confirmation for flag and segment changes. This field will default to false when not set.
	// Set to `true` if this environment requires confirmation for flag and segment changes. This field will default to `false` when not set.
	ConfirmChanges *bool `json:"confirmChanges,omitempty" tf:"confirm_changes,omitempty"`

	// (Boolean) Denotes whether the environment is critical.
	// Denotes whether the environment is critical.
	Critical *bool `json:"critical,omitempty" tf:"critical,omitempty"`

	// (Number) The TTL for the environment. This must be between 0 and 60 minutes. The TTL setting only applies to environments using the PHP SDK. This field will default to 0 when not set. To learn more, read TTL settings.
	// The TTL for the environment. This must be between 0 and 60 minutes. The TTL setting only applies to environments using the PHP SDK. This field will default to `0` when not set. To learn more, read [TTL settings](https://docs.launchdarkly.com/home/organize/environments#ttl-settings).
	DefaultTTL *float64 `json:"defaultTtl,omitempty" tf:"default_ttl,omitempty"`

	// (Boolean) Set to true to enable data export for every flag created in this environment after you configure this argument. This field will default to false when not set. To learn more, read Data Export.
	// Set to `true` to enable data export for every flag created in this environment after you configure this argument. This field will default to `false` when not set. To learn more, read [Data Export](https://docs.launchdarkly.com/home/data-export).
	DefaultTrackEvents *bool `json:"defaultTrackEvents,omitempty" tf:"default_track_events,omitempty"`

	// (String) The ID of this resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// unique key for the environment. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The project-unique key for the environment. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// (String) The name of the environment.
	// The name of the environment.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String) The LaunchDarkly project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The LaunchDarkly project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	ProjectKey *string `json:"projectKey,omitempty" tf:"project_key,omitempty"`

	// (Boolean) Set to true if this environment requires comments for flag and segment changes. This field will default to false when not set.
	// Set to `true` if this environment requires comments for flag and segment changes. This field will default to `false` when not set.
	RequireComments *bool `json:"requireComments,omitempty" tf:"require_comments,omitempty"`

	// side SDK cannot impersonate another user. This field will default to false when not set.
	// Set to `true` to ensure a user of the client-side SDK cannot impersonate another user. This field will default to `false` when not set.
	SecureMode *bool `json:"secureMode,omitempty" tf:"secure_mode,omitempty"`

	// (Set of String) Tags associated with your resource.
	// Tags associated with your resource.
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*EnvironmentObservation) DeepCopy

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

func (*EnvironmentObservation) DeepCopyInto

func (in *EnvironmentObservation) DeepCopyInto(out *EnvironmentObservation)

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

type EnvironmentParameters

type EnvironmentParameters struct {

	// (Block List) (see below for nested schema)
	// +kubebuilder:validation:Optional
	ApprovalSettings []ApprovalSettingsParameters `json:"approvalSettings,omitempty" tf:"approval_settings,omitempty"`

	// (String) The color swatch as an RGB hex value with no leading #. For example: 000000
	// The color swatch as an RGB hex value with no leading `#`. For example: `000000`
	// +kubebuilder:validation:Optional
	Color *string `json:"color,omitempty" tf:"color,omitempty"`

	// (Boolean) Set to true if this environment requires confirmation for flag and segment changes. This field will default to false when not set.
	// Set to `true` if this environment requires confirmation for flag and segment changes. This field will default to `false` when not set.
	// +kubebuilder:validation:Optional
	ConfirmChanges *bool `json:"confirmChanges,omitempty" tf:"confirm_changes,omitempty"`

	// (Boolean) Denotes whether the environment is critical.
	// Denotes whether the environment is critical.
	// +kubebuilder:validation:Optional
	Critical *bool `json:"critical,omitempty" tf:"critical,omitempty"`

	// (Number) The TTL for the environment. This must be between 0 and 60 minutes. The TTL setting only applies to environments using the PHP SDK. This field will default to 0 when not set. To learn more, read TTL settings.
	// The TTL for the environment. This must be between 0 and 60 minutes. The TTL setting only applies to environments using the PHP SDK. This field will default to `0` when not set. To learn more, read [TTL settings](https://docs.launchdarkly.com/home/organize/environments#ttl-settings).
	// +kubebuilder:validation:Optional
	DefaultTTL *float64 `json:"defaultTtl,omitempty" tf:"default_ttl,omitempty"`

	// (Boolean) Set to true to enable data export for every flag created in this environment after you configure this argument. This field will default to false when not set. To learn more, read Data Export.
	// Set to `true` to enable data export for every flag created in this environment after you configure this argument. This field will default to `false` when not set. To learn more, read [Data Export](https://docs.launchdarkly.com/home/data-export).
	// +kubebuilder:validation:Optional
	DefaultTrackEvents *bool `json:"defaultTrackEvents,omitempty" tf:"default_track_events,omitempty"`

	// unique key for the environment. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The project-unique key for the environment. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// +kubebuilder:validation:Optional
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// (String) The name of the environment.
	// The name of the environment.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String) The LaunchDarkly project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The LaunchDarkly project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// +crossplane:generate:reference:type=github.com/launchdarkly/crossplane-provider-launchdarkly/apis/project/v1alpha1.Project
	// +kubebuilder:validation:Optional
	ProjectKey *string `json:"projectKey,omitempty" tf:"project_key,omitempty"`

	// Reference to a Project in project to populate projectKey.
	// +kubebuilder:validation:Optional
	ProjectKeyRef *v1.Reference `json:"projectKeyRef,omitempty" tf:"-"`

	// Selector for a Project in project to populate projectKey.
	// +kubebuilder:validation:Optional
	ProjectKeySelector *v1.Selector `json:"projectKeySelector,omitempty" tf:"-"`

	// (Boolean) Set to true if this environment requires comments for flag and segment changes. This field will default to false when not set.
	// Set to `true` if this environment requires comments for flag and segment changes. This field will default to `false` when not set.
	// +kubebuilder:validation:Optional
	RequireComments *bool `json:"requireComments,omitempty" tf:"require_comments,omitempty"`

	// side SDK cannot impersonate another user. This field will default to false when not set.
	// Set to `true` to ensure a user of the client-side SDK cannot impersonate another user. This field will default to `false` when not set.
	// +kubebuilder:validation:Optional
	SecureMode *bool `json:"secureMode,omitempty" tf:"secure_mode,omitempty"`

	// (Set of String) Tags associated with your resource.
	// Tags associated with your resource.
	// +kubebuilder:validation:Optional
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*EnvironmentParameters) DeepCopy

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

func (*EnvironmentParameters) DeepCopyInto

func (in *EnvironmentParameters) DeepCopyInto(out *EnvironmentParameters)

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

type EnvironmentSegment

type EnvironmentSegment 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.key) || (has(self.initProvider) && has(self.initProvider.key))",message="spec.forProvider.key is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	Spec   EnvironmentSegmentSpec   `json:"spec"`
	Status EnvironmentSegmentStatus `json:"status,omitempty"`
}

EnvironmentSegment is the Schema for the EnvironmentSegments API. Provides a LaunchDarkly segment resource. This resource allows you to create and manage segments within your LaunchDarkly organization. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,launchdarkly}

func (*EnvironmentSegment) DeepCopy

func (in *EnvironmentSegment) DeepCopy() *EnvironmentSegment

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

func (*EnvironmentSegment) DeepCopyInto

func (in *EnvironmentSegment) DeepCopyInto(out *EnvironmentSegment)

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

func (*EnvironmentSegment) DeepCopyObject

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

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

func (*EnvironmentSegment) GetCondition

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

GetCondition of this EnvironmentSegment.

func (*EnvironmentSegment) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this EnvironmentSegment

func (*EnvironmentSegment) GetDeletionPolicy

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

GetDeletionPolicy of this EnvironmentSegment.

func (*EnvironmentSegment) GetID

func (tr *EnvironmentSegment) GetID() string

GetID returns ID of underlying Terraform resource of this EnvironmentSegment

func (*EnvironmentSegment) GetInitParameters

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

GetInitParameters of this EnvironmentSegment

func (*EnvironmentSegment) GetManagementPolicies

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

GetManagementPolicies of this EnvironmentSegment.

func (*EnvironmentSegment) GetMergedParameters

func (tr *EnvironmentSegment) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this EnvironmentSegment

func (*EnvironmentSegment) GetObservation

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

GetObservation of this EnvironmentSegment

func (*EnvironmentSegment) GetParameters

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

GetParameters of this EnvironmentSegment

func (*EnvironmentSegment) GetProviderConfigReference

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

GetProviderConfigReference of this EnvironmentSegment.

func (*EnvironmentSegment) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this EnvironmentSegment.

func (*EnvironmentSegment) GetTerraformResourceType

func (mg *EnvironmentSegment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this EnvironmentSegment

func (*EnvironmentSegment) GetTerraformSchemaVersion

func (tr *EnvironmentSegment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*EnvironmentSegment) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this EnvironmentSegment.

func (*EnvironmentSegment) Hub

func (tr *EnvironmentSegment) Hub()

Hub marks this type as a conversion hub.

func (*EnvironmentSegment) LateInitialize

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

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

func (*EnvironmentSegment) ResolveReferences added in v0.1.0

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

ResolveReferences of this EnvironmentSegment.

func (*EnvironmentSegment) SetConditions

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

SetConditions of this EnvironmentSegment.

func (*EnvironmentSegment) SetDeletionPolicy

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

SetDeletionPolicy of this EnvironmentSegment.

func (*EnvironmentSegment) SetManagementPolicies

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

SetManagementPolicies of this EnvironmentSegment.

func (*EnvironmentSegment) SetObservation

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

SetObservation for this EnvironmentSegment

func (*EnvironmentSegment) SetParameters

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

SetParameters for this EnvironmentSegment

func (*EnvironmentSegment) SetProviderConfigReference

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

SetProviderConfigReference of this EnvironmentSegment.

func (*EnvironmentSegment) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this EnvironmentSegment.

func (*EnvironmentSegment) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this EnvironmentSegment.

type EnvironmentSegmentInitParameters

type EnvironmentSegmentInitParameters struct {

	// (String) The description of the segment's purpose.
	// The description of the segment's purpose.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// (String) The segment's environment key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The segment's environment key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// +crossplane:generate:reference:type=github.com/launchdarkly/crossplane-provider-launchdarkly/apis/project/v1alpha1.Environment
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("key", false)
	EnvKey *string `json:"envKey,omitempty" tf:"env_key,omitempty"`

	// Reference to a Environment in project to populate envKey.
	// +kubebuilder:validation:Optional
	EnvKeyRef *v1.Reference `json:"envKeyRef,omitempty" tf:"-"`

	// Selector for a Environment in project to populate envKey.
	// +kubebuilder:validation:Optional
	EnvKeySelector *v1.Selector `json:"envKeySelector,omitempty" tf:"-"`

	// (List of String) List of user keys excluded from the segment. To target on other context kinds, use the excluded_contexts block attribute. This attribute is not valid when unbounded is set to true.
	// List of user keys excluded from the segment. To target on other context kinds, use the excluded_contexts block attribute. This attribute is not valid when `unbounded` is set to `true`.
	Excluded []*string `json:"excluded,omitempty" tf:"excluded,omitempty"`

	// user target objects excluded from the segment. This attribute is not valid when unbounded is set to true. (see below for nested schema)
	// List of non-user target objects excluded from the segment. This attribute is not valid when `unbounded` is set to `true`.
	ExcludedContexts []ExcludedContextsInitParameters `json:"excludedContexts,omitempty" tf:"excluded_contexts,omitempty"`

	// (List of String) List of user keys included in the segment. To target on other context kinds, use the included_contexts block attribute. This attribute is not valid when unbounded is set to true.
	// List of user keys included in the segment. To target on other context kinds, use the included_contexts block attribute. This attribute is not valid when `unbounded` is set to `true`.
	Included []*string `json:"included,omitempty" tf:"included,omitempty"`

	// user target objects included in the segment. This attribute is not valid when unbounded is set to true. (see below for nested schema)
	// List of non-user target objects included in the segment. This attribute is not valid when `unbounded` is set to `true`.
	IncludedContexts []IncludedContextsInitParameters `json:"includedContexts,omitempty" tf:"included_contexts,omitempty"`

	// (String) The unique key that references the segment. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The unique key that references the segment. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// friendly name for the segment.
	// The human-friendly name for the segment.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String) The segment's project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The segment's project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// +crossplane:generate:reference:type=github.com/launchdarkly/crossplane-provider-launchdarkly/apis/project/v1alpha1.Project
	ProjectKey *string `json:"projectKey,omitempty" tf:"project_key,omitempty"`

	// Reference to a Project in project to populate projectKey.
	// +kubebuilder:validation:Optional
	ProjectKeyRef *v1.Reference `json:"projectKeyRef,omitempty" tf:"-"`

	// Selector for a Project in project to populate projectKey.
	// +kubebuilder:validation:Optional
	ProjectKeySelector *v1.Selector `json:"projectKeySelector,omitempty" tf:"-"`

	// (Block List) List of nested custom rule blocks to apply to the segment. This attribute is not valid when unbounded is set to true. (see below for nested schema)
	// List of nested custom rule blocks to apply to the segment. This attribute is not valid when `unbounded` is set to `true`.
	Rules []RulesInitParameters `json:"rules,omitempty" tf:"rules,omitempty"`

	// (Set of String) Tags associated with your resource.
	// Tags associated with your resource.
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// based and smaller list-based segments. Big Segments include larger list-based segments and synced segments. Only use a Big Segment if you need to add more than 15,000 individual targets. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// Whether to create a standard segment (`false`) or a Big Segment (`true`). Standard segments include rule-based and smaller list-based segments. Big Segments include larger list-based segments and synced segments. Only use a Big Segment if you need to add more than 15,000 individual targets. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Unbounded *bool `json:"unbounded,omitempty" tf:"unbounded,omitempty"`

	// (String) For Big Segments, the targeted context kind. If this attribute is not specified it will default to user. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// For Big Segments, the targeted context kind. If this attribute is not specified it will default to `user`. A change in this field will force the destruction of the existing resource and the creation of a new one.
	UnboundedContextKind *string `json:"unboundedContextKind,omitempty" tf:"unbounded_context_kind,omitempty"`
}

func (*EnvironmentSegmentInitParameters) DeepCopy

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

func (*EnvironmentSegmentInitParameters) DeepCopyInto

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

type EnvironmentSegmentList

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

EnvironmentSegmentList contains a list of EnvironmentSegments

func (*EnvironmentSegmentList) DeepCopy

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

func (*EnvironmentSegmentList) DeepCopyInto

func (in *EnvironmentSegmentList) DeepCopyInto(out *EnvironmentSegmentList)

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

func (*EnvironmentSegmentList) DeepCopyObject

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

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

func (*EnvironmentSegmentList) GetItems

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

GetItems of this EnvironmentSegmentList.

type EnvironmentSegmentObservation

type EnvironmentSegmentObservation struct {

	// (Number) The segment's creation date represented as a UNIX epoch timestamp.
	// The segment's creation date represented as a UNIX epoch timestamp.
	CreationDate *float64 `json:"creationDate,omitempty" tf:"creation_date,omitempty"`

	// (String) The description of the segment's purpose.
	// The description of the segment's purpose.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// (String) The segment's environment key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The segment's environment key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	EnvKey *string `json:"envKey,omitempty" tf:"env_key,omitempty"`

	// (List of String) List of user keys excluded from the segment. To target on other context kinds, use the excluded_contexts block attribute. This attribute is not valid when unbounded is set to true.
	// List of user keys excluded from the segment. To target on other context kinds, use the excluded_contexts block attribute. This attribute is not valid when `unbounded` is set to `true`.
	Excluded []*string `json:"excluded,omitempty" tf:"excluded,omitempty"`

	// user target objects excluded from the segment. This attribute is not valid when unbounded is set to true. (see below for nested schema)
	// List of non-user target objects excluded from the segment. This attribute is not valid when `unbounded` is set to `true`.
	ExcludedContexts []ExcludedContextsObservation `json:"excludedContexts,omitempty" tf:"excluded_contexts,omitempty"`

	// (String) The ID of this resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// (List of String) List of user keys included in the segment. To target on other context kinds, use the included_contexts block attribute. This attribute is not valid when unbounded is set to true.
	// List of user keys included in the segment. To target on other context kinds, use the included_contexts block attribute. This attribute is not valid when `unbounded` is set to `true`.
	Included []*string `json:"included,omitempty" tf:"included,omitempty"`

	// user target objects included in the segment. This attribute is not valid when unbounded is set to true. (see below for nested schema)
	// List of non-user target objects included in the segment. This attribute is not valid when `unbounded` is set to `true`.
	IncludedContexts []IncludedContextsObservation `json:"includedContexts,omitempty" tf:"included_contexts,omitempty"`

	// (String) The unique key that references the segment. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The unique key that references the segment. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// friendly name for the segment.
	// The human-friendly name for the segment.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String) The segment's project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The segment's project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	ProjectKey *string `json:"projectKey,omitempty" tf:"project_key,omitempty"`

	// (Block List) List of nested custom rule blocks to apply to the segment. This attribute is not valid when unbounded is set to true. (see below for nested schema)
	// List of nested custom rule blocks to apply to the segment. This attribute is not valid when `unbounded` is set to `true`.
	Rules []RulesObservation `json:"rules,omitempty" tf:"rules,omitempty"`

	// (Set of String) Tags associated with your resource.
	// Tags associated with your resource.
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// based and smaller list-based segments. Big Segments include larger list-based segments and synced segments. Only use a Big Segment if you need to add more than 15,000 individual targets. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// Whether to create a standard segment (`false`) or a Big Segment (`true`). Standard segments include rule-based and smaller list-based segments. Big Segments include larger list-based segments and synced segments. Only use a Big Segment if you need to add more than 15,000 individual targets. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Unbounded *bool `json:"unbounded,omitempty" tf:"unbounded,omitempty"`

	// (String) For Big Segments, the targeted context kind. If this attribute is not specified it will default to user. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// For Big Segments, the targeted context kind. If this attribute is not specified it will default to `user`. A change in this field will force the destruction of the existing resource and the creation of a new one.
	UnboundedContextKind *string `json:"unboundedContextKind,omitempty" tf:"unbounded_context_kind,omitempty"`
}

func (*EnvironmentSegmentObservation) DeepCopy

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

func (*EnvironmentSegmentObservation) DeepCopyInto

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

type EnvironmentSegmentParameters

type EnvironmentSegmentParameters struct {

	// (String) The description of the segment's purpose.
	// The description of the segment's purpose.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// (String) The segment's environment key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The segment's environment key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// +crossplane:generate:reference:type=github.com/launchdarkly/crossplane-provider-launchdarkly/apis/project/v1alpha1.Environment
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("key", false)
	// +kubebuilder:validation:Optional
	EnvKey *string `json:"envKey,omitempty" tf:"env_key,omitempty"`

	// Reference to a Environment in project to populate envKey.
	// +kubebuilder:validation:Optional
	EnvKeyRef *v1.Reference `json:"envKeyRef,omitempty" tf:"-"`

	// Selector for a Environment in project to populate envKey.
	// +kubebuilder:validation:Optional
	EnvKeySelector *v1.Selector `json:"envKeySelector,omitempty" tf:"-"`

	// (List of String) List of user keys excluded from the segment. To target on other context kinds, use the excluded_contexts block attribute. This attribute is not valid when unbounded is set to true.
	// List of user keys excluded from the segment. To target on other context kinds, use the excluded_contexts block attribute. This attribute is not valid when `unbounded` is set to `true`.
	// +kubebuilder:validation:Optional
	Excluded []*string `json:"excluded,omitempty" tf:"excluded,omitempty"`

	// user target objects excluded from the segment. This attribute is not valid when unbounded is set to true. (see below for nested schema)
	// List of non-user target objects excluded from the segment. This attribute is not valid when `unbounded` is set to `true`.
	// +kubebuilder:validation:Optional
	ExcludedContexts []ExcludedContextsParameters `json:"excludedContexts,omitempty" tf:"excluded_contexts,omitempty"`

	// (List of String) List of user keys included in the segment. To target on other context kinds, use the included_contexts block attribute. This attribute is not valid when unbounded is set to true.
	// List of user keys included in the segment. To target on other context kinds, use the included_contexts block attribute. This attribute is not valid when `unbounded` is set to `true`.
	// +kubebuilder:validation:Optional
	Included []*string `json:"included,omitempty" tf:"included,omitempty"`

	// user target objects included in the segment. This attribute is not valid when unbounded is set to true. (see below for nested schema)
	// List of non-user target objects included in the segment. This attribute is not valid when `unbounded` is set to `true`.
	// +kubebuilder:validation:Optional
	IncludedContexts []IncludedContextsParameters `json:"includedContexts,omitempty" tf:"included_contexts,omitempty"`

	// (String) The unique key that references the segment. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The unique key that references the segment. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// +kubebuilder:validation:Optional
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// friendly name for the segment.
	// The human-friendly name for the segment.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (String) The segment's project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The segment's project key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// +crossplane:generate:reference:type=github.com/launchdarkly/crossplane-provider-launchdarkly/apis/project/v1alpha1.Project
	// +kubebuilder:validation:Optional
	ProjectKey *string `json:"projectKey,omitempty" tf:"project_key,omitempty"`

	// Reference to a Project in project to populate projectKey.
	// +kubebuilder:validation:Optional
	ProjectKeyRef *v1.Reference `json:"projectKeyRef,omitempty" tf:"-"`

	// Selector for a Project in project to populate projectKey.
	// +kubebuilder:validation:Optional
	ProjectKeySelector *v1.Selector `json:"projectKeySelector,omitempty" tf:"-"`

	// (Block List) List of nested custom rule blocks to apply to the segment. This attribute is not valid when unbounded is set to true. (see below for nested schema)
	// List of nested custom rule blocks to apply to the segment. This attribute is not valid when `unbounded` is set to `true`.
	// +kubebuilder:validation:Optional
	Rules []RulesParameters `json:"rules,omitempty" tf:"rules,omitempty"`

	// (Set of String) Tags associated with your resource.
	// Tags associated with your resource.
	// +kubebuilder:validation:Optional
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// based and smaller list-based segments. Big Segments include larger list-based segments and synced segments. Only use a Big Segment if you need to add more than 15,000 individual targets. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// Whether to create a standard segment (`false`) or a Big Segment (`true`). Standard segments include rule-based and smaller list-based segments. Big Segments include larger list-based segments and synced segments. Only use a Big Segment if you need to add more than 15,000 individual targets. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// +kubebuilder:validation:Optional
	Unbounded *bool `json:"unbounded,omitempty" tf:"unbounded,omitempty"`

	// (String) For Big Segments, the targeted context kind. If this attribute is not specified it will default to user. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// For Big Segments, the targeted context kind. If this attribute is not specified it will default to `user`. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// +kubebuilder:validation:Optional
	UnboundedContextKind *string `json:"unboundedContextKind,omitempty" tf:"unbounded_context_kind,omitempty"`
}

func (*EnvironmentSegmentParameters) DeepCopy

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

func (*EnvironmentSegmentParameters) DeepCopyInto

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

type EnvironmentSegmentSpec

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

EnvironmentSegmentSpec defines the desired state of EnvironmentSegment

func (*EnvironmentSegmentSpec) DeepCopy

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

func (*EnvironmentSegmentSpec) DeepCopyInto

func (in *EnvironmentSegmentSpec) DeepCopyInto(out *EnvironmentSegmentSpec)

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

type EnvironmentSegmentStatus

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

EnvironmentSegmentStatus defines the observed state of EnvironmentSegment.

func (*EnvironmentSegmentStatus) DeepCopy

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

func (*EnvironmentSegmentStatus) DeepCopyInto

func (in *EnvironmentSegmentStatus) DeepCopyInto(out *EnvironmentSegmentStatus)

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

type EnvironmentSpec

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

EnvironmentSpec defines the desired state of Environment

func (*EnvironmentSpec) DeepCopy

func (in *EnvironmentSpec) DeepCopy() *EnvironmentSpec

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

func (*EnvironmentSpec) DeepCopyInto

func (in *EnvironmentSpec) DeepCopyInto(out *EnvironmentSpec)

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

type EnvironmentStatus

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

EnvironmentStatus defines the observed state of Environment.

func (*EnvironmentStatus) DeepCopy

func (in *EnvironmentStatus) DeepCopy() *EnvironmentStatus

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

func (*EnvironmentStatus) DeepCopyInto

func (in *EnvironmentStatus) DeepCopyInto(out *EnvironmentStatus)

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

type EnvironmentsApprovalSettingsInitParameters

type EnvironmentsApprovalSettingsInitParameters struct {

	// (Boolean) Automatically apply changes that have been approved by all reviewers. This field is only applicable for approval service kinds other than launchdarkly.
	// Automatically apply changes that have been approved by all reviewers. This field is only applicable for approval service kinds other than `launchdarkly`.
	AutoApplyApprovedChanges *bool `json:"autoApplyApprovedChanges,omitempty" tf:"auto_apply_approved_changes,omitempty"`

	// (Boolean) Set to true if changes can be applied as long as the min_num_approvals is met, regardless of whether any reviewers have declined a request. Defaults to true.
	// Set to `true` if changes can be applied as long as the `min_num_approvals` is met, regardless of whether any reviewers have declined a request. Defaults to `true`.
	CanApplyDeclinedChanges *bool `json:"canApplyDeclinedChanges,omitempty" tf:"can_apply_declined_changes,omitempty"`

	// (Boolean) Set to true if requesters can approve or decline their own request. They may always comment. Defaults to false.
	// Set to `true` if requesters can approve or decline their own request. They may always comment. Defaults to `false`.
	CanReviewOwnRequest *bool `json:"canReviewOwnRequest,omitempty" tf:"can_review_own_request,omitempty"`

	// (Number) The number of approvals required before an approval request can be applied. This number must be between 1 and 5. Defaults to 1.
	// The number of approvals required before an approval request can be applied. This number must be between 1 and 5. Defaults to 1.
	MinNumApprovals *float64 `json:"minNumApprovals,omitempty" tf:"min_num_approvals,omitempty"`

	// (Boolean) Set to true for changes to flags in this environment to require approval. You may only set required to true if required_approval_tags is not set and vice versa. Defaults to false.
	// Set to `true` for changes to flags in this environment to require approval. You may only set `required` to true if `required_approval_tags` is not set and vice versa. Defaults to `false`.
	Required *bool `json:"required,omitempty" tf:"required,omitempty"`

	// (List of String) An array of tags used to specify which flags with those tags require approval. You may only set required_approval_tags if required is set to false and vice versa.
	// An array of tags used to specify which flags with those tags require approval. You may only set `required_approval_tags` if `required` is set to `false` and vice versa.
	RequiredApprovalTags []*string `json:"requiredApprovalTags,omitempty" tf:"required_approval_tags,omitempty"`

	// (Map of String) The configuration for the service associated with this approval. This is specific to each approval service. For a service_kind of servicenow, the following fields apply:
	// The configuration for the service associated with this approval. This is specific to each approval service. For a `service_kind` of `servicenow`, the following fields apply:
	//
	// - `template` (String) The sys_id of the Standard Change Request Template in ServiceNow that LaunchDarkly will use when creating the change request.
	// - `detail_column` (String) The name of the ServiceNow Change Request column LaunchDarkly uses to populate detailed approval request information. This is most commonly "justification".
	// +mapType=granular
	ServiceConfig map[string]*string `json:"serviceConfig,omitempty" tf:"service_config,omitempty"`

	// (String) The kind of service associated with this approval. This determines which platform is used for requesting approval. Valid values are servicenow, launchdarkly. If you use a value other than launchdarkly, you must have already configured the integration in the LaunchDarkly UI or your apply will fail.
	// The kind of service associated with this approval. This determines which platform is used for requesting approval. Valid values are `servicenow`, `launchdarkly`. If you use a value other than `launchdarkly`, you must have already configured the integration in the LaunchDarkly UI or your apply will fail.
	ServiceKind *string `json:"serviceKind,omitempty" tf:"service_kind,omitempty"`
}

func (*EnvironmentsApprovalSettingsInitParameters) DeepCopy

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

func (*EnvironmentsApprovalSettingsInitParameters) DeepCopyInto

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

type EnvironmentsApprovalSettingsObservation

type EnvironmentsApprovalSettingsObservation struct {

	// (Boolean) Automatically apply changes that have been approved by all reviewers. This field is only applicable for approval service kinds other than launchdarkly.
	// Automatically apply changes that have been approved by all reviewers. This field is only applicable for approval service kinds other than `launchdarkly`.
	AutoApplyApprovedChanges *bool `json:"autoApplyApprovedChanges,omitempty" tf:"auto_apply_approved_changes,omitempty"`

	// (Boolean) Set to true if changes can be applied as long as the min_num_approvals is met, regardless of whether any reviewers have declined a request. Defaults to true.
	// Set to `true` if changes can be applied as long as the `min_num_approvals` is met, regardless of whether any reviewers have declined a request. Defaults to `true`.
	CanApplyDeclinedChanges *bool `json:"canApplyDeclinedChanges,omitempty" tf:"can_apply_declined_changes,omitempty"`

	// (Boolean) Set to true if requesters can approve or decline their own request. They may always comment. Defaults to false.
	// Set to `true` if requesters can approve or decline their own request. They may always comment. Defaults to `false`.
	CanReviewOwnRequest *bool `json:"canReviewOwnRequest,omitempty" tf:"can_review_own_request,omitempty"`

	// (Number) The number of approvals required before an approval request can be applied. This number must be between 1 and 5. Defaults to 1.
	// The number of approvals required before an approval request can be applied. This number must be between 1 and 5. Defaults to 1.
	MinNumApprovals *float64 `json:"minNumApprovals,omitempty" tf:"min_num_approvals,omitempty"`

	// (Boolean) Set to true for changes to flags in this environment to require approval. You may only set required to true if required_approval_tags is not set and vice versa. Defaults to false.
	// Set to `true` for changes to flags in this environment to require approval. You may only set `required` to true if `required_approval_tags` is not set and vice versa. Defaults to `false`.
	Required *bool `json:"required,omitempty" tf:"required,omitempty"`

	// (List of String) An array of tags used to specify which flags with those tags require approval. You may only set required_approval_tags if required is set to false and vice versa.
	// An array of tags used to specify which flags with those tags require approval. You may only set `required_approval_tags` if `required` is set to `false` and vice versa.
	RequiredApprovalTags []*string `json:"requiredApprovalTags,omitempty" tf:"required_approval_tags,omitempty"`

	// (Map of String) The configuration for the service associated with this approval. This is specific to each approval service. For a service_kind of servicenow, the following fields apply:
	// The configuration for the service associated with this approval. This is specific to each approval service. For a `service_kind` of `servicenow`, the following fields apply:
	//
	// - `template` (String) The sys_id of the Standard Change Request Template in ServiceNow that LaunchDarkly will use when creating the change request.
	// - `detail_column` (String) The name of the ServiceNow Change Request column LaunchDarkly uses to populate detailed approval request information. This is most commonly "justification".
	// +mapType=granular
	ServiceConfig map[string]*string `json:"serviceConfig,omitempty" tf:"service_config,omitempty"`

	// (String) The kind of service associated with this approval. This determines which platform is used for requesting approval. Valid values are servicenow, launchdarkly. If you use a value other than launchdarkly, you must have already configured the integration in the LaunchDarkly UI or your apply will fail.
	// The kind of service associated with this approval. This determines which platform is used for requesting approval. Valid values are `servicenow`, `launchdarkly`. If you use a value other than `launchdarkly`, you must have already configured the integration in the LaunchDarkly UI or your apply will fail.
	ServiceKind *string `json:"serviceKind,omitempty" tf:"service_kind,omitempty"`
}

func (*EnvironmentsApprovalSettingsObservation) DeepCopy

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

func (*EnvironmentsApprovalSettingsObservation) DeepCopyInto

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

type EnvironmentsApprovalSettingsParameters

type EnvironmentsApprovalSettingsParameters struct {

	// (Boolean) Automatically apply changes that have been approved by all reviewers. This field is only applicable for approval service kinds other than launchdarkly.
	// Automatically apply changes that have been approved by all reviewers. This field is only applicable for approval service kinds other than `launchdarkly`.
	// +kubebuilder:validation:Optional
	AutoApplyApprovedChanges *bool `json:"autoApplyApprovedChanges,omitempty" tf:"auto_apply_approved_changes,omitempty"`

	// (Boolean) Set to true if changes can be applied as long as the min_num_approvals is met, regardless of whether any reviewers have declined a request. Defaults to true.
	// Set to `true` if changes can be applied as long as the `min_num_approvals` is met, regardless of whether any reviewers have declined a request. Defaults to `true`.
	// +kubebuilder:validation:Optional
	CanApplyDeclinedChanges *bool `json:"canApplyDeclinedChanges,omitempty" tf:"can_apply_declined_changes,omitempty"`

	// (Boolean) Set to true if requesters can approve or decline their own request. They may always comment. Defaults to false.
	// Set to `true` if requesters can approve or decline their own request. They may always comment. Defaults to `false`.
	// +kubebuilder:validation:Optional
	CanReviewOwnRequest *bool `json:"canReviewOwnRequest,omitempty" tf:"can_review_own_request,omitempty"`

	// (Number) The number of approvals required before an approval request can be applied. This number must be between 1 and 5. Defaults to 1.
	// The number of approvals required before an approval request can be applied. This number must be between 1 and 5. Defaults to 1.
	// +kubebuilder:validation:Optional
	MinNumApprovals *float64 `json:"minNumApprovals,omitempty" tf:"min_num_approvals,omitempty"`

	// (Boolean) Set to true for changes to flags in this environment to require approval. You may only set required to true if required_approval_tags is not set and vice versa. Defaults to false.
	// Set to `true` for changes to flags in this environment to require approval. You may only set `required` to true if `required_approval_tags` is not set and vice versa. Defaults to `false`.
	// +kubebuilder:validation:Optional
	Required *bool `json:"required,omitempty" tf:"required,omitempty"`

	// (List of String) An array of tags used to specify which flags with those tags require approval. You may only set required_approval_tags if required is set to false and vice versa.
	// An array of tags used to specify which flags with those tags require approval. You may only set `required_approval_tags` if `required` is set to `false` and vice versa.
	// +kubebuilder:validation:Optional
	RequiredApprovalTags []*string `json:"requiredApprovalTags,omitempty" tf:"required_approval_tags,omitempty"`

	// (Map of String) The configuration for the service associated with this approval. This is specific to each approval service. For a service_kind of servicenow, the following fields apply:
	// The configuration for the service associated with this approval. This is specific to each approval service. For a `service_kind` of `servicenow`, the following fields apply:
	//
	// - `template` (String) The sys_id of the Standard Change Request Template in ServiceNow that LaunchDarkly will use when creating the change request.
	// - `detail_column` (String) The name of the ServiceNow Change Request column LaunchDarkly uses to populate detailed approval request information. This is most commonly "justification".
	// +kubebuilder:validation:Optional
	// +mapType=granular
	ServiceConfig map[string]*string `json:"serviceConfig,omitempty" tf:"service_config,omitempty"`

	// (String) The kind of service associated with this approval. This determines which platform is used for requesting approval. Valid values are servicenow, launchdarkly. If you use a value other than launchdarkly, you must have already configured the integration in the LaunchDarkly UI or your apply will fail.
	// The kind of service associated with this approval. This determines which platform is used for requesting approval. Valid values are `servicenow`, `launchdarkly`. If you use a value other than `launchdarkly`, you must have already configured the integration in the LaunchDarkly UI or your apply will fail.
	// +kubebuilder:validation:Optional
	ServiceKind *string `json:"serviceKind,omitempty" tf:"service_kind,omitempty"`
}

func (*EnvironmentsApprovalSettingsParameters) DeepCopy

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

func (*EnvironmentsApprovalSettingsParameters) DeepCopyInto

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

type EnvironmentsInitParameters

type EnvironmentsInitParameters struct {

	// (Block List) (see below for nested schema)
	ApprovalSettings []EnvironmentsApprovalSettingsInitParameters `json:"approvalSettings,omitempty" tf:"approval_settings,omitempty"`

	// (String) The color swatch as an RGB hex value with no leading #. For example: 000000
	// The color swatch as an RGB hex value with no leading `#`. For example: `000000`
	Color *string `json:"color,omitempty" tf:"color,omitempty"`

	// (Boolean) Set to true if this environment requires confirmation for flag and segment changes. This field will default to false when not set.
	// Set to `true` if this environment requires confirmation for flag and segment changes. This field will default to `false` when not set.
	ConfirmChanges *bool `json:"confirmChanges,omitempty" tf:"confirm_changes,omitempty"`

	// (Boolean) Denotes whether the environment is critical.
	// Denotes whether the environment is critical.
	Critical *bool `json:"critical,omitempty" tf:"critical,omitempty"`

	// (Number) The TTL for the environment. This must be between 0 and 60 minutes. The TTL setting only applies to environments using the PHP SDK. This field will default to 0 when not set. To learn more, read TTL settings.
	// The TTL for the environment. This must be between 0 and 60 minutes. The TTL setting only applies to environments using the PHP SDK. This field will default to `0` when not set. To learn more, read [TTL settings](https://docs.launchdarkly.com/home/organize/environments#ttl-settings).
	DefaultTTL *float64 `json:"defaultTtl,omitempty" tf:"default_ttl,omitempty"`

	// (Boolean) Set to true to enable data export for every flag created in this environment after you configure this argument. This field will default to false when not set. To learn more, read Data Export.
	// Set to `true` to enable data export for every flag created in this environment after you configure this argument. This field will default to `false` when not set. To learn more, read [Data Export](https://docs.launchdarkly.com/home/data-export).
	DefaultTrackEvents *bool `json:"defaultTrackEvents,omitempty" tf:"default_track_events,omitempty"`

	// (String) The project's unique key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The project-unique key for the environment. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// (String) The project's name.
	// The name of the environment.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (Boolean) Set to true if this environment requires comments for flag and segment changes. This field will default to false when not set.
	// Set to `true` if this environment requires comments for flag and segment changes. This field will default to `false` when not set.
	RequireComments *bool `json:"requireComments,omitempty" tf:"require_comments,omitempty"`

	// side SDK cannot impersonate another user. This field will default to false when not set.
	// Set to `true` to ensure a user of the client-side SDK cannot impersonate another user. This field will default to `false` when not set.
	SecureMode *bool `json:"secureMode,omitempty" tf:"secure_mode,omitempty"`

	// (Set of String) Tags associated with your resource.
	// Tags associated with your resource.
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*EnvironmentsInitParameters) DeepCopy

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

func (*EnvironmentsInitParameters) DeepCopyInto

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

type EnvironmentsObservation

type EnvironmentsObservation struct {

	// (Block List) (see below for nested schema)
	ApprovalSettings []EnvironmentsApprovalSettingsObservation `json:"approvalSettings,omitempty" tf:"approval_settings,omitempty"`

	// (String) The color swatch as an RGB hex value with no leading #. For example: 000000
	// The color swatch as an RGB hex value with no leading `#`. For example: `000000`
	Color *string `json:"color,omitempty" tf:"color,omitempty"`

	// (Boolean) Set to true if this environment requires confirmation for flag and segment changes. This field will default to false when not set.
	// Set to `true` if this environment requires confirmation for flag and segment changes. This field will default to `false` when not set.
	ConfirmChanges *bool `json:"confirmChanges,omitempty" tf:"confirm_changes,omitempty"`

	// (Boolean) Denotes whether the environment is critical.
	// Denotes whether the environment is critical.
	Critical *bool `json:"critical,omitempty" tf:"critical,omitempty"`

	// (Number) The TTL for the environment. This must be between 0 and 60 minutes. The TTL setting only applies to environments using the PHP SDK. This field will default to 0 when not set. To learn more, read TTL settings.
	// The TTL for the environment. This must be between 0 and 60 minutes. The TTL setting only applies to environments using the PHP SDK. This field will default to `0` when not set. To learn more, read [TTL settings](https://docs.launchdarkly.com/home/organize/environments#ttl-settings).
	DefaultTTL *float64 `json:"defaultTtl,omitempty" tf:"default_ttl,omitempty"`

	// (Boolean) Set to true to enable data export for every flag created in this environment after you configure this argument. This field will default to false when not set. To learn more, read Data Export.
	// Set to `true` to enable data export for every flag created in this environment after you configure this argument. This field will default to `false` when not set. To learn more, read [Data Export](https://docs.launchdarkly.com/home/data-export).
	DefaultTrackEvents *bool `json:"defaultTrackEvents,omitempty" tf:"default_track_events,omitempty"`

	// (String) The project's unique key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The project-unique key for the environment. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// (String) The project's name.
	// The name of the environment.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (Boolean) Set to true if this environment requires comments for flag and segment changes. This field will default to false when not set.
	// Set to `true` if this environment requires comments for flag and segment changes. This field will default to `false` when not set.
	RequireComments *bool `json:"requireComments,omitempty" tf:"require_comments,omitempty"`

	// side SDK cannot impersonate another user. This field will default to false when not set.
	// Set to `true` to ensure a user of the client-side SDK cannot impersonate another user. This field will default to `false` when not set.
	SecureMode *bool `json:"secureMode,omitempty" tf:"secure_mode,omitempty"`

	// (Set of String) Tags associated with your resource.
	// Tags associated with your resource.
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*EnvironmentsObservation) DeepCopy

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

func (*EnvironmentsObservation) DeepCopyInto

func (in *EnvironmentsObservation) DeepCopyInto(out *EnvironmentsObservation)

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

type EnvironmentsParameters

type EnvironmentsParameters struct {

	// (Block List) (see below for nested schema)
	// +kubebuilder:validation:Optional
	ApprovalSettings []EnvironmentsApprovalSettingsParameters `json:"approvalSettings,omitempty" tf:"approval_settings,omitempty"`

	// (String) The color swatch as an RGB hex value with no leading #. For example: 000000
	// The color swatch as an RGB hex value with no leading `#`. For example: `000000`
	// +kubebuilder:validation:Optional
	Color *string `json:"color" tf:"color,omitempty"`

	// (Boolean) Set to true if this environment requires confirmation for flag and segment changes. This field will default to false when not set.
	// Set to `true` if this environment requires confirmation for flag and segment changes. This field will default to `false` when not set.
	// +kubebuilder:validation:Optional
	ConfirmChanges *bool `json:"confirmChanges,omitempty" tf:"confirm_changes,omitempty"`

	// (Boolean) Denotes whether the environment is critical.
	// Denotes whether the environment is critical.
	// +kubebuilder:validation:Optional
	Critical *bool `json:"critical,omitempty" tf:"critical,omitempty"`

	// (Number) The TTL for the environment. This must be between 0 and 60 minutes. The TTL setting only applies to environments using the PHP SDK. This field will default to 0 when not set. To learn more, read TTL settings.
	// The TTL for the environment. This must be between 0 and 60 minutes. The TTL setting only applies to environments using the PHP SDK. This field will default to `0` when not set. To learn more, read [TTL settings](https://docs.launchdarkly.com/home/organize/environments#ttl-settings).
	// +kubebuilder:validation:Optional
	DefaultTTL *float64 `json:"defaultTtl,omitempty" tf:"default_ttl,omitempty"`

	// (Boolean) Set to true to enable data export for every flag created in this environment after you configure this argument. This field will default to false when not set. To learn more, read Data Export.
	// Set to `true` to enable data export for every flag created in this environment after you configure this argument. This field will default to `false` when not set. To learn more, read [Data Export](https://docs.launchdarkly.com/home/data-export).
	// +kubebuilder:validation:Optional
	DefaultTrackEvents *bool `json:"defaultTrackEvents,omitempty" tf:"default_track_events,omitempty"`

	// (String) The project's unique key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The project-unique key for the environment. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// +kubebuilder:validation:Optional
	Key *string `json:"key" tf:"key,omitempty"`

	// (String) The project's name.
	// The name of the environment.
	// +kubebuilder:validation:Optional
	Name *string `json:"name" tf:"name,omitempty"`

	// (Boolean) Set to true if this environment requires comments for flag and segment changes. This field will default to false when not set.
	// Set to `true` if this environment requires comments for flag and segment changes. This field will default to `false` when not set.
	// +kubebuilder:validation:Optional
	RequireComments *bool `json:"requireComments,omitempty" tf:"require_comments,omitempty"`

	// side SDK cannot impersonate another user. This field will default to false when not set.
	// Set to `true` to ensure a user of the client-side SDK cannot impersonate another user. This field will default to `false` when not set.
	// +kubebuilder:validation:Optional
	SecureMode *bool `json:"secureMode,omitempty" tf:"secure_mode,omitempty"`

	// (Set of String) Tags associated with your resource.
	// Tags associated with your resource.
	// +kubebuilder:validation:Optional
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*EnvironmentsParameters) DeepCopy

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

func (*EnvironmentsParameters) DeepCopyInto

func (in *EnvironmentsParameters) DeepCopyInto(out *EnvironmentsParameters)

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

type ExcludedContextsInitParameters

type ExcludedContextsInitParameters struct {

	// (String) The context kind associated with this segment target. To target on user contexts, use the included and excluded attributes.
	// The context kind associated with this segment target. To target on user contexts, use the included and excluded attributes.
	ContextKind *string `json:"contextKind,omitempty" tf:"context_kind,omitempty"`

	// (List of String) List of target object keys included in or excluded from the segment.
	// List of target object keys included in or excluded from the segment.
	Values []*string `json:"values,omitempty" tf:"values,omitempty"`
}

func (*ExcludedContextsInitParameters) DeepCopy

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

func (*ExcludedContextsInitParameters) DeepCopyInto

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

type ExcludedContextsObservation

type ExcludedContextsObservation struct {

	// (String) The context kind associated with this segment target. To target on user contexts, use the included and excluded attributes.
	// The context kind associated with this segment target. To target on user contexts, use the included and excluded attributes.
	ContextKind *string `json:"contextKind,omitempty" tf:"context_kind,omitempty"`

	// (List of String) List of target object keys included in or excluded from the segment.
	// List of target object keys included in or excluded from the segment.
	Values []*string `json:"values,omitempty" tf:"values,omitempty"`
}

func (*ExcludedContextsObservation) DeepCopy

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

func (*ExcludedContextsObservation) DeepCopyInto

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

type ExcludedContextsParameters

type ExcludedContextsParameters struct {

	// (String) The context kind associated with this segment target. To target on user contexts, use the included and excluded attributes.
	// The context kind associated with this segment target. To target on user contexts, use the included and excluded attributes.
	// +kubebuilder:validation:Optional
	ContextKind *string `json:"contextKind" tf:"context_kind,omitempty"`

	// (List of String) List of target object keys included in or excluded from the segment.
	// List of target object keys included in or excluded from the segment.
	// +kubebuilder:validation:Optional
	Values []*string `json:"values" tf:"values,omitempty"`
}

func (*ExcludedContextsParameters) DeepCopy

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

func (*ExcludedContextsParameters) DeepCopyInto

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

type IncludedContextsInitParameters

type IncludedContextsInitParameters struct {

	// (String) The context kind associated with this segment target. To target on user contexts, use the included and excluded attributes.
	// The context kind associated with this segment target. To target on user contexts, use the included and excluded attributes.
	ContextKind *string `json:"contextKind,omitempty" tf:"context_kind,omitempty"`

	// (List of String) List of target object keys included in or excluded from the segment.
	// List of target object keys included in or excluded from the segment.
	Values []*string `json:"values,omitempty" tf:"values,omitempty"`
}

func (*IncludedContextsInitParameters) DeepCopy

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

func (*IncludedContextsInitParameters) DeepCopyInto

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

type IncludedContextsObservation

type IncludedContextsObservation struct {

	// (String) The context kind associated with this segment target. To target on user contexts, use the included and excluded attributes.
	// The context kind associated with this segment target. To target on user contexts, use the included and excluded attributes.
	ContextKind *string `json:"contextKind,omitempty" tf:"context_kind,omitempty"`

	// (List of String) List of target object keys included in or excluded from the segment.
	// List of target object keys included in or excluded from the segment.
	Values []*string `json:"values,omitempty" tf:"values,omitempty"`
}

func (*IncludedContextsObservation) DeepCopy

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

func (*IncludedContextsObservation) DeepCopyInto

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

type IncludedContextsParameters

type IncludedContextsParameters struct {

	// (String) The context kind associated with this segment target. To target on user contexts, use the included and excluded attributes.
	// The context kind associated with this segment target. To target on user contexts, use the included and excluded attributes.
	// +kubebuilder:validation:Optional
	ContextKind *string `json:"contextKind" tf:"context_kind,omitempty"`

	// (List of String) List of target object keys included in or excluded from the segment.
	// List of target object keys included in or excluded from the segment.
	// +kubebuilder:validation:Optional
	Values []*string `json:"values" tf:"values,omitempty"`
}

func (*IncludedContextsParameters) DeepCopy

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

func (*IncludedContextsParameters) DeepCopyInto

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

type Metric added in v0.5.0

type Metric 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.key) || (has(self.initProvider) && has(self.initProvider.key))",message="spec.forProvider.key is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.kind) || (has(self.initProvider) && has(self.initProvider.kind))",message="spec.forProvider.kind is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	Spec   MetricSpec   `json:"spec"`
	Status MetricStatus `json:"status,omitempty"`
}

Metric is the Schema for the Metrics API. Provides a LaunchDarkly metric resource. This resource allows you to create and manage metrics within your LaunchDarkly organization. To learn more about metrics and experimentation, read Experimentation Documentation https://docs.launchdarkly.com/home/experimentation. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,launchdarkly}

func (*Metric) DeepCopy added in v0.5.0

func (in *Metric) DeepCopy() *Metric

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

func (*Metric) DeepCopyInto added in v0.5.0

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 added in v0.5.0

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

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

func (*Metric) GetCondition added in v0.5.0

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

GetCondition of this Metric.

func (*Metric) GetConnectionDetailsMapping added in v0.5.0

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

GetConnectionDetailsMapping for this Metric

func (*Metric) GetDeletionPolicy added in v0.5.0

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

GetDeletionPolicy of this Metric.

func (*Metric) GetID added in v0.5.0

func (tr *Metric) GetID() string

GetID returns ID of underlying Terraform resource of this Metric

func (*Metric) GetInitParameters added in v0.5.0

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

GetInitParameters of this Metric

func (*Metric) GetManagementPolicies added in v0.5.0

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

GetManagementPolicies of this Metric.

func (*Metric) GetMergedParameters added in v0.5.0

func (tr *Metric) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Metric

func (*Metric) GetObservation added in v0.5.0

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

GetObservation of this Metric

func (*Metric) GetParameters added in v0.5.0

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

GetParameters of this Metric

func (*Metric) GetProviderConfigReference added in v0.5.0

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

GetProviderConfigReference of this Metric.

func (*Metric) GetPublishConnectionDetailsTo added in v0.5.0

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

GetPublishConnectionDetailsTo of this Metric.

func (*Metric) GetTerraformResourceType added in v0.5.0

func (mg *Metric) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Metric

func (*Metric) GetTerraformSchemaVersion added in v0.5.0

func (tr *Metric) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Metric) GetWriteConnectionSecretToReference added in v0.5.0

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

GetWriteConnectionSecretToReference of this Metric.

func (*Metric) Hub added in v0.5.0

func (tr *Metric) Hub()

Hub marks this type as a conversion hub.

func (*Metric) LateInitialize added in v0.5.0

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) ResolveReferences added in v0.5.0

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

ResolveReferences of this Metric.

func (*Metric) SetConditions added in v0.5.0

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

SetConditions of this Metric.

func (*Metric) SetDeletionPolicy added in v0.5.0

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

SetDeletionPolicy of this Metric.

func (*Metric) SetManagementPolicies added in v0.5.0

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

SetManagementPolicies of this Metric.

func (*Metric) SetObservation added in v0.5.0

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

SetObservation for this Metric

func (*Metric) SetParameters added in v0.5.0

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

SetParameters for this Metric

func (*Metric) SetProviderConfigReference added in v0.5.0

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

SetProviderConfigReference of this Metric.

func (*Metric) SetPublishConnectionDetailsTo added in v0.5.0

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

SetPublishConnectionDetailsTo of this Metric.

func (*Metric) SetWriteConnectionSecretToReference added in v0.5.0

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

SetWriteConnectionSecretToReference of this Metric.

type MetricInitParameters added in v0.5.0

type MetricInitParameters struct {

	// (String) The method for analyzing metric events. Available choices are mean and percentile.
	// The method for analyzing metric events. Available choices are `mean` and `percentile`.
	AnalysisType *string `json:"analysisType,omitempty" tf:"analysis_type,omitempty"`

	// (String) The description of the metric's purpose.
	// The description of the metric's purpose.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// (String) The event key for your metric (if custom metric)
	// The event key for your metric (if custom metric)
	EventKey *string `json:"eventKey,omitempty" tf:"event_key,omitempty"`

	// (Boolean) Include units that did not send any events and set their value to 0.
	// Include units that did not send any events and set their value to 0.
	IncludeUnitsWithoutEvents *bool `json:"includeUnitsWithoutEvents,omitempty" tf:"include_units_without_events,omitempty"`

	// (Boolean, Deprecated) Ignored. All metrics are considered active.
	// Ignored. All metrics are considered active.
	IsActive *bool `json:"isActive,omitempty" tf:"is_active,omitempty"`

	// (Boolean) Whether a custom metric is a numeric metric or not.
	// Whether a `custom` metric is a numeric metric or not.
	IsNumeric *bool `json:"isNumeric,omitempty" tf:"is_numeric,omitempty"`

	// (String) The unique key that references the metric. A change in this field will force the destruction of the existing resource and the creation of a new one. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The unique key that references the metric. A change in this field will force the destruction of the existing resource and the creation of a new one. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// (String) The metric type. Available choices are click, custom, and pageview. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The metric type. Available choices are `click`, `custom`, and `pageview`. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Kind *string `json:"kind,omitempty" tf:"kind,omitempty"`

	// set maintainer
	// The LaunchDarkly member ID of the member who will maintain the metric
	// +crossplane:generate:reference:type=github.com/launchdarkly/crossplane-provider-launchdarkly/apis/account/v1alpha1.TeamMember
	MaintainerID *string `json:"maintainerId,omitempty" tf:"maintainer_id,omitempty"`

	// Reference to a TeamMember in account to populate maintainerId.
	// +kubebuilder:validation:Optional
	MaintainerIDRef *v1.Reference `json:"maintainerIdRef,omitempty" tf:"-"`

	// Selector for a TeamMember in account to populate maintainerId.
	// +kubebuilder:validation:Optional
	MaintainerIDSelector *v1.Selector `json:"maintainerIdSelector,omitempty" tf:"-"`

	// friendly name for the metric.
	// The human-friendly name for the metric.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (Number) The percentile for the analysis method. An integer denoting the target percentile between 0 and 100. Required when analysis_type is percentile.
	// The percentile for the analysis method. An integer denoting the target percentile between 0 and 100. Required when analysis_type is percentile.
	PercentileValue *float64 `json:"percentileValue,omitempty" tf:"percentile_value,omitempty"`

	// (String) The metrics's project key. A change in this field will force the destruction of the existing resource and the creation of a new one. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The metrics's project key. A change in this field will force the destruction of the existing resource and the creation of a new one. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// +crossplane:generate:reference:type=github.com/launchdarkly/crossplane-provider-launchdarkly/apis/project/v1alpha1.Project
	ProjectKey *string `json:"projectKey,omitempty" tf:"project_key,omitempty"`

	// Reference to a Project in project to populate projectKey.
	// +kubebuilder:validation:Optional
	ProjectKeyRef *v1.Reference `json:"projectKeyRef,omitempty" tf:"-"`

	// Selector for a Project in project to populate projectKey.
	// +kubebuilder:validation:Optional
	ProjectKeySelector *v1.Selector `json:"projectKeySelector,omitempty" tf:"-"`

	// (Set of String) A set of one or more context kinds that this metric can measure events from. Metrics can only use context kinds marked as "Available for experiments." For more information, read Allocating experiment audiences.
	// A set of one or more context kinds that this metric can measure events from. Metrics can only use context kinds marked as "Available for experiments." For more information, read [Allocating experiment audiences](https://docs.launchdarkly.com/home/creating-experiments/allocation).
	// +listType=set
	RandomizationUnits []*string `json:"randomizationUnits,omitempty" tf:"randomization_units,omitempty"`

	// (String) The CSS selector for your metric (if click metric)
	// The CSS selector for your metric (if click metric)
	Selector *string `json:"selector,omitempty" tf:"selector,omitempty"`

	// (String) The success criteria for your metric (if numeric metric). Available choices are HigherThanBaseline and LowerThanBaseline.
	// The success criteria for your metric (if numeric metric). Available choices are `HigherThanBaseline` and `LowerThanBaseline`.
	SuccessCriteria *string `json:"successCriteria,omitempty" tf:"success_criteria,omitempty"`

	// (Set of String) Tags associated with your resource.
	// Tags associated with your resource.
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// (String)  The unit for numeric custom metrics.
	// (Required for kind `custom`) The unit for numeric `custom` metrics.
	Unit *string `json:"unit,omitempty" tf:"unit,omitempty"`

	// (String) The method by which multiple unit event values are aggregated. Available choices are average and sum.
	// The method by which multiple unit event values are aggregated. Available choices are `average` and `sum`.
	UnitAggregationType *string `json:"unitAggregationType,omitempty" tf:"unit_aggregation_type,omitempty"`

	// (Block List) List of nested url blocks describing URLs that you want to associate with the metric. (see below for nested schema)
	// List of nested `url` blocks describing URLs that you want to associate with the metric.
	Urls []UrlsInitParameters `json:"urls,omitempty" tf:"urls,omitempty"`
}

func (*MetricInitParameters) DeepCopy added in v0.5.0

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

func (*MetricInitParameters) DeepCopyInto added in v0.5.0

func (in *MetricInitParameters) DeepCopyInto(out *MetricInitParameters)

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

type MetricList added in v0.5.0

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 added in v0.5.0

func (in *MetricList) DeepCopy() *MetricList

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

func (*MetricList) DeepCopyInto added in v0.5.0

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 added in v0.5.0

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

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

func (*MetricList) GetItems added in v0.5.0

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

GetItems of this MetricList.

type MetricObservation added in v0.5.0

type MetricObservation struct {

	// (String) The method for analyzing metric events. Available choices are mean and percentile.
	// The method for analyzing metric events. Available choices are `mean` and `percentile`.
	AnalysisType *string `json:"analysisType,omitempty" tf:"analysis_type,omitempty"`

	// (String) The description of the metric's purpose.
	// The description of the metric's purpose.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// (String) The event key for your metric (if custom metric)
	// The event key for your metric (if custom metric)
	EventKey *string `json:"eventKey,omitempty" tf:"event_key,omitempty"`

	// (String) The ID of this resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// (Boolean) Include units that did not send any events and set their value to 0.
	// Include units that did not send any events and set their value to 0.
	IncludeUnitsWithoutEvents *bool `json:"includeUnitsWithoutEvents,omitempty" tf:"include_units_without_events,omitempty"`

	// (Boolean, Deprecated) Ignored. All metrics are considered active.
	// Ignored. All metrics are considered active.
	IsActive *bool `json:"isActive,omitempty" tf:"is_active,omitempty"`

	// (Boolean) Whether a custom metric is a numeric metric or not.
	// Whether a `custom` metric is a numeric metric or not.
	IsNumeric *bool `json:"isNumeric,omitempty" tf:"is_numeric,omitempty"`

	// (String) The unique key that references the metric. A change in this field will force the destruction of the existing resource and the creation of a new one. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The unique key that references the metric. A change in this field will force the destruction of the existing resource and the creation of a new one. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// (String) The metric type. Available choices are click, custom, and pageview. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The metric type. Available choices are `click`, `custom`, and `pageview`. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Kind *string `json:"kind,omitempty" tf:"kind,omitempty"`

	// set maintainer
	// The LaunchDarkly member ID of the member who will maintain the metric
	MaintainerID *string `json:"maintainerId,omitempty" tf:"maintainer_id,omitempty"`

	// friendly name for the metric.
	// The human-friendly name for the metric.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (Number) The percentile for the analysis method. An integer denoting the target percentile between 0 and 100. Required when analysis_type is percentile.
	// The percentile for the analysis method. An integer denoting the target percentile between 0 and 100. Required when analysis_type is percentile.
	PercentileValue *float64 `json:"percentileValue,omitempty" tf:"percentile_value,omitempty"`

	// (String) The metrics's project key. A change in this field will force the destruction of the existing resource and the creation of a new one. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The metrics's project key. A change in this field will force the destruction of the existing resource and the creation of a new one. A change in this field will force the destruction of the existing resource and the creation of a new one.
	ProjectKey *string `json:"projectKey,omitempty" tf:"project_key,omitempty"`

	// (Set of String) A set of one or more context kinds that this metric can measure events from. Metrics can only use context kinds marked as "Available for experiments." For more information, read Allocating experiment audiences.
	// A set of one or more context kinds that this metric can measure events from. Metrics can only use context kinds marked as "Available for experiments." For more information, read [Allocating experiment audiences](https://docs.launchdarkly.com/home/creating-experiments/allocation).
	// +listType=set
	RandomizationUnits []*string `json:"randomizationUnits,omitempty" tf:"randomization_units,omitempty"`

	// (String) The CSS selector for your metric (if click metric)
	// The CSS selector for your metric (if click metric)
	Selector *string `json:"selector,omitempty" tf:"selector,omitempty"`

	// (String) The success criteria for your metric (if numeric metric). Available choices are HigherThanBaseline and LowerThanBaseline.
	// The success criteria for your metric (if numeric metric). Available choices are `HigherThanBaseline` and `LowerThanBaseline`.
	SuccessCriteria *string `json:"successCriteria,omitempty" tf:"success_criteria,omitempty"`

	// (Set of String) Tags associated with your resource.
	// Tags associated with your resource.
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// (String)  The unit for numeric custom metrics.
	// (Required for kind `custom`) The unit for numeric `custom` metrics.
	Unit *string `json:"unit,omitempty" tf:"unit,omitempty"`

	// (String) The method by which multiple unit event values are aggregated. Available choices are average and sum.
	// The method by which multiple unit event values are aggregated. Available choices are `average` and `sum`.
	UnitAggregationType *string `json:"unitAggregationType,omitempty" tf:"unit_aggregation_type,omitempty"`

	// (Block List) List of nested url blocks describing URLs that you want to associate with the metric. (see below for nested schema)
	// List of nested `url` blocks describing URLs that you want to associate with the metric.
	Urls []UrlsObservation `json:"urls,omitempty" tf:"urls,omitempty"`

	// (Number) Version of the metric
	// Version of the metric
	Version *float64 `json:"version,omitempty" tf:"version,omitempty"`
}

func (*MetricObservation) DeepCopy added in v0.5.0

func (in *MetricObservation) DeepCopy() *MetricObservation

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

func (*MetricObservation) DeepCopyInto added in v0.5.0

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 added in v0.5.0

type MetricParameters struct {

	// (String) The method for analyzing metric events. Available choices are mean and percentile.
	// The method for analyzing metric events. Available choices are `mean` and `percentile`.
	// +kubebuilder:validation:Optional
	AnalysisType *string `json:"analysisType,omitempty" tf:"analysis_type,omitempty"`

	// (String) The description of the metric's purpose.
	// The description of the metric's purpose.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// (String) The event key for your metric (if custom metric)
	// The event key for your metric (if custom metric)
	// +kubebuilder:validation:Optional
	EventKey *string `json:"eventKey,omitempty" tf:"event_key,omitempty"`

	// (Boolean) Include units that did not send any events and set their value to 0.
	// Include units that did not send any events and set their value to 0.
	// +kubebuilder:validation:Optional
	IncludeUnitsWithoutEvents *bool `json:"includeUnitsWithoutEvents,omitempty" tf:"include_units_without_events,omitempty"`

	// (Boolean, Deprecated) Ignored. All metrics are considered active.
	// Ignored. All metrics are considered active.
	// +kubebuilder:validation:Optional
	IsActive *bool `json:"isActive,omitempty" tf:"is_active,omitempty"`

	// (Boolean) Whether a custom metric is a numeric metric or not.
	// Whether a `custom` metric is a numeric metric or not.
	// +kubebuilder:validation:Optional
	IsNumeric *bool `json:"isNumeric,omitempty" tf:"is_numeric,omitempty"`

	// (String) The unique key that references the metric. A change in this field will force the destruction of the existing resource and the creation of a new one. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The unique key that references the metric. A change in this field will force the destruction of the existing resource and the creation of a new one. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// +kubebuilder:validation:Optional
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// (String) The metric type. Available choices are click, custom, and pageview. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The metric type. Available choices are `click`, `custom`, and `pageview`. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// +kubebuilder:validation:Optional
	Kind *string `json:"kind,omitempty" tf:"kind,omitempty"`

	// set maintainer
	// The LaunchDarkly member ID of the member who will maintain the metric
	// +crossplane:generate:reference:type=github.com/launchdarkly/crossplane-provider-launchdarkly/apis/account/v1alpha1.TeamMember
	// +kubebuilder:validation:Optional
	MaintainerID *string `json:"maintainerId,omitempty" tf:"maintainer_id,omitempty"`

	// Reference to a TeamMember in account to populate maintainerId.
	// +kubebuilder:validation:Optional
	MaintainerIDRef *v1.Reference `json:"maintainerIdRef,omitempty" tf:"-"`

	// Selector for a TeamMember in account to populate maintainerId.
	// +kubebuilder:validation:Optional
	MaintainerIDSelector *v1.Selector `json:"maintainerIdSelector,omitempty" tf:"-"`

	// friendly name for the metric.
	// The human-friendly name for the metric.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (Number) The percentile for the analysis method. An integer denoting the target percentile between 0 and 100. Required when analysis_type is percentile.
	// The percentile for the analysis method. An integer denoting the target percentile between 0 and 100. Required when analysis_type is percentile.
	// +kubebuilder:validation:Optional
	PercentileValue *float64 `json:"percentileValue,omitempty" tf:"percentile_value,omitempty"`

	// (String) The metrics's project key. A change in this field will force the destruction of the existing resource and the creation of a new one. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The metrics's project key. A change in this field will force the destruction of the existing resource and the creation of a new one. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// +crossplane:generate:reference:type=github.com/launchdarkly/crossplane-provider-launchdarkly/apis/project/v1alpha1.Project
	// +kubebuilder:validation:Optional
	ProjectKey *string `json:"projectKey,omitempty" tf:"project_key,omitempty"`

	// Reference to a Project in project to populate projectKey.
	// +kubebuilder:validation:Optional
	ProjectKeyRef *v1.Reference `json:"projectKeyRef,omitempty" tf:"-"`

	// Selector for a Project in project to populate projectKey.
	// +kubebuilder:validation:Optional
	ProjectKeySelector *v1.Selector `json:"projectKeySelector,omitempty" tf:"-"`

	// (Set of String) A set of one or more context kinds that this metric can measure events from. Metrics can only use context kinds marked as "Available for experiments." For more information, read Allocating experiment audiences.
	// A set of one or more context kinds that this metric can measure events from. Metrics can only use context kinds marked as "Available for experiments." For more information, read [Allocating experiment audiences](https://docs.launchdarkly.com/home/creating-experiments/allocation).
	// +kubebuilder:validation:Optional
	// +listType=set
	RandomizationUnits []*string `json:"randomizationUnits,omitempty" tf:"randomization_units,omitempty"`

	// (String) The CSS selector for your metric (if click metric)
	// The CSS selector for your metric (if click metric)
	// +kubebuilder:validation:Optional
	Selector *string `json:"selector,omitempty" tf:"selector,omitempty"`

	// (String) The success criteria for your metric (if numeric metric). Available choices are HigherThanBaseline and LowerThanBaseline.
	// The success criteria for your metric (if numeric metric). Available choices are `HigherThanBaseline` and `LowerThanBaseline`.
	// +kubebuilder:validation:Optional
	SuccessCriteria *string `json:"successCriteria,omitempty" tf:"success_criteria,omitempty"`

	// (Set of String) Tags associated with your resource.
	// Tags associated with your resource.
	// +kubebuilder:validation:Optional
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// (String)  The unit for numeric custom metrics.
	// (Required for kind `custom`) The unit for numeric `custom` metrics.
	// +kubebuilder:validation:Optional
	Unit *string `json:"unit,omitempty" tf:"unit,omitempty"`

	// (String) The method by which multiple unit event values are aggregated. Available choices are average and sum.
	// The method by which multiple unit event values are aggregated. Available choices are `average` and `sum`.
	// +kubebuilder:validation:Optional
	UnitAggregationType *string `json:"unitAggregationType,omitempty" tf:"unit_aggregation_type,omitempty"`

	// (Block List) List of nested url blocks describing URLs that you want to associate with the metric. (see below for nested schema)
	// List of nested `url` blocks describing URLs that you want to associate with the metric.
	// +kubebuilder:validation:Optional
	Urls []UrlsParameters `json:"urls,omitempty" tf:"urls,omitempty"`
}

func (*MetricParameters) DeepCopy added in v0.5.0

func (in *MetricParameters) DeepCopy() *MetricParameters

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

func (*MetricParameters) DeepCopyInto added in v0.5.0

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 added in v0.5.0

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

MetricSpec defines the desired state of Metric

func (*MetricSpec) DeepCopy added in v0.5.0

func (in *MetricSpec) DeepCopy() *MetricSpec

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

func (*MetricSpec) DeepCopyInto added in v0.5.0

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 added in v0.5.0

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

MetricStatus defines the observed state of Metric.

func (*MetricStatus) DeepCopy added in v0.5.0

func (in *MetricStatus) DeepCopy() *MetricStatus

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

func (*MetricStatus) DeepCopyInto added in v0.5.0

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

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

type Project

type Project 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.environments) || (has(self.initProvider) && has(self.initProvider.environments))",message="spec.forProvider.environments is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.key) || (has(self.initProvider) && has(self.initProvider.key))",message="spec.forProvider.key is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	Spec   ProjectSpec   `json:"spec"`
	Status ProjectStatus `json:"status,omitempty"`
}

Project is the Schema for the Projects API. Provides a LaunchDarkly project resource. This resource allows you to create and manage projects within your LaunchDarkly organization. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,launchdarkly}

func (*Project) DeepCopy

func (in *Project) DeepCopy() *Project

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

func (*Project) DeepCopyInto

func (in *Project) DeepCopyInto(out *Project)

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

func (*Project) DeepCopyObject

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

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

func (*Project) GetCondition

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

GetCondition of this Project.

func (*Project) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Project

func (*Project) GetDeletionPolicy

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

GetDeletionPolicy of this Project.

func (*Project) GetID

func (tr *Project) GetID() string

GetID returns ID of underlying Terraform resource of this Project

func (*Project) GetInitParameters

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

GetInitParameters of this Project

func (*Project) GetManagementPolicies

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

GetManagementPolicies of this Project.

func (*Project) GetMergedParameters

func (tr *Project) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Project

func (*Project) GetObservation

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

GetObservation of this Project

func (*Project) GetParameters

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

GetParameters of this Project

func (*Project) GetProviderConfigReference

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

GetProviderConfigReference of this Project.

func (*Project) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Project.

func (*Project) GetTerraformResourceType

func (mg *Project) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Project

func (*Project) GetTerraformSchemaVersion

func (tr *Project) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Project) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Project.

func (*Project) Hub

func (tr *Project) Hub()

Hub marks this type as a conversion hub.

func (*Project) LateInitialize

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

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

func (*Project) SetConditions

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

SetConditions of this Project.

func (*Project) SetDeletionPolicy

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

SetDeletionPolicy of this Project.

func (*Project) SetManagementPolicies

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

SetManagementPolicies of this Project.

func (*Project) SetObservation

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

SetObservation for this Project

func (*Project) SetParameters

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

SetParameters for this Project

func (*Project) SetProviderConfigReference

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

SetProviderConfigReference of this Project.

func (*Project) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Project.

func (*Project) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Project.

type ProjectInitParameters

type ProjectInitParameters struct {

	// side SDKs can use new flags by default. (see below for nested schema)
	// A block describing which client-side SDKs can use new flags by default.
	DefaultClientSideAvailability []DefaultClientSideAvailabilityInitParameters `json:"defaultClientSideAvailability,omitempty" tf:"default_client_side_availability,omitempty"`

	// (Block List, Min: 1) List of nested environments blocks describing LaunchDarkly environments that belong to the project.
	// List of nested `environments` blocks describing LaunchDarkly environments that belong to the project.
	//
	// -> **Note:** Mixing the use of nested `environments` blocks and [`launchdarkly_environment`](/docs/providers/launchdarkly/r/environment.html) resources is not recommended.
	Environments []EnvironmentsInitParameters `json:"environments,omitempty" tf:"environments,omitempty"`

	// unique key for the environment. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The project's unique key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// (String) The name of the environment.
	// The project's name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (Set of String) Tags associated with your resource.
	// Tags associated with your resource.
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*ProjectInitParameters) DeepCopy

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

func (*ProjectInitParameters) DeepCopyInto

func (in *ProjectInitParameters) DeepCopyInto(out *ProjectInitParameters)

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

type ProjectList

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

ProjectList contains a list of Projects

func (*ProjectList) DeepCopy

func (in *ProjectList) DeepCopy() *ProjectList

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

func (*ProjectList) DeepCopyInto

func (in *ProjectList) DeepCopyInto(out *ProjectList)

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

func (*ProjectList) DeepCopyObject

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

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

func (*ProjectList) GetItems

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

GetItems of this ProjectList.

type ProjectObservation

type ProjectObservation struct {

	// side SDKs can use new flags by default. (see below for nested schema)
	// A block describing which client-side SDKs can use new flags by default.
	DefaultClientSideAvailability []DefaultClientSideAvailabilityObservation `json:"defaultClientSideAvailability,omitempty" tf:"default_client_side_availability,omitempty"`

	// (Block List, Min: 1) List of nested environments blocks describing LaunchDarkly environments that belong to the project.
	// List of nested `environments` blocks describing LaunchDarkly environments that belong to the project.
	//
	// -> **Note:** Mixing the use of nested `environments` blocks and [`launchdarkly_environment`](/docs/providers/launchdarkly/r/environment.html) resources is not recommended.
	Environments []EnvironmentsObservation `json:"environments,omitempty" tf:"environments,omitempty"`

	// (String) The ID of this resource.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// unique key for the environment. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The project's unique key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// (String) The name of the environment.
	// The project's name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (Set of String) Tags associated with your resource.
	// Tags associated with your resource.
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*ProjectObservation) DeepCopy

func (in *ProjectObservation) DeepCopy() *ProjectObservation

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

func (*ProjectObservation) DeepCopyInto

func (in *ProjectObservation) DeepCopyInto(out *ProjectObservation)

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

type ProjectParameters

type ProjectParameters struct {

	// side SDKs can use new flags by default. (see below for nested schema)
	// A block describing which client-side SDKs can use new flags by default.
	// +kubebuilder:validation:Optional
	DefaultClientSideAvailability []DefaultClientSideAvailabilityParameters `json:"defaultClientSideAvailability,omitempty" tf:"default_client_side_availability,omitempty"`

	// (Block List, Min: 1) List of nested environments blocks describing LaunchDarkly environments that belong to the project.
	// List of nested `environments` blocks describing LaunchDarkly environments that belong to the project.
	//
	// -> **Note:** Mixing the use of nested `environments` blocks and [`launchdarkly_environment`](/docs/providers/launchdarkly/r/environment.html) resources is not recommended.
	// +kubebuilder:validation:Optional
	Environments []EnvironmentsParameters `json:"environments,omitempty" tf:"environments,omitempty"`

	// unique key for the environment. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The project's unique key. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// +kubebuilder:validation:Optional
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// (String) The name of the environment.
	// The project's name.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// (Set of String) Tags associated with your resource.
	// Tags associated with your resource.
	// +kubebuilder:validation:Optional
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*ProjectParameters) DeepCopy

func (in *ProjectParameters) DeepCopy() *ProjectParameters

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

func (*ProjectParameters) DeepCopyInto

func (in *ProjectParameters) DeepCopyInto(out *ProjectParameters)

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

type ProjectSpec

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

ProjectSpec defines the desired state of Project

func (*ProjectSpec) DeepCopy

func (in *ProjectSpec) DeepCopy() *ProjectSpec

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

func (*ProjectSpec) DeepCopyInto

func (in *ProjectSpec) DeepCopyInto(out *ProjectSpec)

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

type ProjectStatus

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

ProjectStatus defines the observed state of Project.

func (*ProjectStatus) DeepCopy

func (in *ProjectStatus) DeepCopy() *ProjectStatus

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

func (*ProjectStatus) DeepCopyInto

func (in *ProjectStatus) DeepCopyInto(out *ProjectStatus)

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

type RulesInitParameters

type RulesInitParameters struct {

	// (String) The attribute by which to group contexts together.
	// The attribute by which to group contexts together.
	BucketBy *string `json:"bucketBy,omitempty" tf:"bucket_by,omitempty"`

	// (Block List) List of nested blocks specifying the logical clauses to evaluate (see below for nested schema)
	// List of nested blocks specifying the logical clauses to evaluate
	Clauses []ClausesInitParameters `json:"clauses,omitempty" tf:"clauses,omitempty"`

	// (String) The context kind associated with this segment rule. This argument is only valid if weight is also specified. If omitted, defaults to user.
	// The context kind associated with this segment rule. This argument is only valid if `weight` is also specified. If omitted, defaults to `user`.
	RolloutContextKind *string `json:"rolloutContextKind,omitempty" tf:"rollout_context_kind,omitempty"`

	// (Number) The integer weight of the rule (between 1 and 100000).
	// The integer weight of the rule (between 1 and 100000).
	Weight *float64 `json:"weight,omitempty" tf:"weight,omitempty"`
}

func (*RulesInitParameters) DeepCopy

func (in *RulesInitParameters) DeepCopy() *RulesInitParameters

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

func (*RulesInitParameters) DeepCopyInto

func (in *RulesInitParameters) DeepCopyInto(out *RulesInitParameters)

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

type RulesObservation

type RulesObservation struct {

	// (String) The attribute by which to group contexts together.
	// The attribute by which to group contexts together.
	BucketBy *string `json:"bucketBy,omitempty" tf:"bucket_by,omitempty"`

	// (Block List) List of nested blocks specifying the logical clauses to evaluate (see below for nested schema)
	// List of nested blocks specifying the logical clauses to evaluate
	Clauses []ClausesObservation `json:"clauses,omitempty" tf:"clauses,omitempty"`

	// (String) The context kind associated with this segment rule. This argument is only valid if weight is also specified. If omitted, defaults to user.
	// The context kind associated with this segment rule. This argument is only valid if `weight` is also specified. If omitted, defaults to `user`.
	RolloutContextKind *string `json:"rolloutContextKind,omitempty" tf:"rollout_context_kind,omitempty"`

	// (Number) The integer weight of the rule (between 1 and 100000).
	// The integer weight of the rule (between 1 and 100000).
	Weight *float64 `json:"weight,omitempty" tf:"weight,omitempty"`
}

func (*RulesObservation) DeepCopy

func (in *RulesObservation) DeepCopy() *RulesObservation

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

func (*RulesObservation) DeepCopyInto

func (in *RulesObservation) DeepCopyInto(out *RulesObservation)

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

type RulesParameters

type RulesParameters struct {

	// (String) The attribute by which to group contexts together.
	// The attribute by which to group contexts together.
	// +kubebuilder:validation:Optional
	BucketBy *string `json:"bucketBy,omitempty" tf:"bucket_by,omitempty"`

	// (Block List) List of nested blocks specifying the logical clauses to evaluate (see below for nested schema)
	// List of nested blocks specifying the logical clauses to evaluate
	// +kubebuilder:validation:Optional
	Clauses []ClausesParameters `json:"clauses,omitempty" tf:"clauses,omitempty"`

	// (String) The context kind associated with this segment rule. This argument is only valid if weight is also specified. If omitted, defaults to user.
	// The context kind associated with this segment rule. This argument is only valid if `weight` is also specified. If omitted, defaults to `user`.
	// +kubebuilder:validation:Optional
	RolloutContextKind *string `json:"rolloutContextKind,omitempty" tf:"rollout_context_kind,omitempty"`

	// (Number) The integer weight of the rule (between 1 and 100000).
	// The integer weight of the rule (between 1 and 100000).
	// +kubebuilder:validation:Optional
	Weight *float64 `json:"weight,omitempty" tf:"weight,omitempty"`
}

func (*RulesParameters) DeepCopy

func (in *RulesParameters) DeepCopy() *RulesParameters

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

func (*RulesParameters) DeepCopyInto

func (in *RulesParameters) DeepCopyInto(out *RulesParameters)

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

type UrlsInitParameters added in v0.5.0

type UrlsInitParameters struct {

	// (String) The metric type. Available choices are click, custom, and pageview. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The URL type. Available choices are `exact`, `canonical`, `substring` and `regex`.
	Kind *string `json:"kind,omitempty" tf:"kind,omitempty"`

	// (String)  The regex pattern to match by.
	// (Required for kind `regex`) The regex pattern to match by.
	Pattern *string `json:"pattern,omitempty" tf:"pattern,omitempty"`

	// (String)  The URL substring to match by.
	// (Required for kind `substring`) The URL substring to match by.
	Substring *string `json:"substring,omitempty" tf:"substring,omitempty"`

	// (String)  The exact or canonical URL.
	// (Required for kind `exact` and `canonical`) The exact or canonical URL.
	URL *string `json:"url,omitempty" tf:"url,omitempty"`
}

func (*UrlsInitParameters) DeepCopy added in v0.5.0

func (in *UrlsInitParameters) DeepCopy() *UrlsInitParameters

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

func (*UrlsInitParameters) DeepCopyInto added in v0.5.0

func (in *UrlsInitParameters) DeepCopyInto(out *UrlsInitParameters)

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

type UrlsObservation added in v0.5.0

type UrlsObservation struct {

	// (String) The metric type. Available choices are click, custom, and pageview. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The URL type. Available choices are `exact`, `canonical`, `substring` and `regex`.
	Kind *string `json:"kind,omitempty" tf:"kind,omitempty"`

	// (String)  The regex pattern to match by.
	// (Required for kind `regex`) The regex pattern to match by.
	Pattern *string `json:"pattern,omitempty" tf:"pattern,omitempty"`

	// (String)  The URL substring to match by.
	// (Required for kind `substring`) The URL substring to match by.
	Substring *string `json:"substring,omitempty" tf:"substring,omitempty"`

	// (String)  The exact or canonical URL.
	// (Required for kind `exact` and `canonical`) The exact or canonical URL.
	URL *string `json:"url,omitempty" tf:"url,omitempty"`
}

func (*UrlsObservation) DeepCopy added in v0.5.0

func (in *UrlsObservation) DeepCopy() *UrlsObservation

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

func (*UrlsObservation) DeepCopyInto added in v0.5.0

func (in *UrlsObservation) DeepCopyInto(out *UrlsObservation)

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

type UrlsParameters added in v0.5.0

type UrlsParameters struct {

	// (String) The metric type. Available choices are click, custom, and pageview. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// The URL type. Available choices are `exact`, `canonical`, `substring` and `regex`.
	// +kubebuilder:validation:Optional
	Kind *string `json:"kind" tf:"kind,omitempty"`

	// (String)  The regex pattern to match by.
	// (Required for kind `regex`) The regex pattern to match by.
	// +kubebuilder:validation:Optional
	Pattern *string `json:"pattern,omitempty" tf:"pattern,omitempty"`

	// (String)  The URL substring to match by.
	// (Required for kind `substring`) The URL substring to match by.
	// +kubebuilder:validation:Optional
	Substring *string `json:"substring,omitempty" tf:"substring,omitempty"`

	// (String)  The exact or canonical URL.
	// (Required for kind `exact` and `canonical`) The exact or canonical URL.
	// +kubebuilder:validation:Optional
	URL *string `json:"url,omitempty" tf:"url,omitempty"`
}

func (*UrlsParameters) DeepCopy added in v0.5.0

func (in *UrlsParameters) DeepCopy() *UrlsParameters

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

func (*UrlsParameters) DeepCopyInto added in v0.5.0

func (in *UrlsParameters) DeepCopyInto(out *UrlsParameters)

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