v1alpha1

package
v0.0.0-...-fedb869 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=flag.launchdarkly.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "flag.launchdarkly.upbound.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	Flag_Kind             = "Flag"
	Flag_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Flag_Kind}.String()
	Flag_KindAPIVersion   = Flag_Kind + "." + CRDGroupVersion.String()
	Flag_GroupVersionKind = CRDGroupVersion.WithKind(Flag_Kind)
)

Repository type metadata.

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type ClientSideAvailabilityObservation

type ClientSideAvailabilityObservation struct {

	// Whether this flag is available to SDKs using the client-side ID.
	UsingEnvironmentID *bool `json:"usingEnvironmentId,omitempty" tf:"using_environment_id,omitempty"`

	// Whether this flag is available to SDKs using a mobile key.
	UsingMobileKey *bool `json:"usingMobileKey,omitempty" tf:"using_mobile_key,omitempty"`
}

func (*ClientSideAvailabilityObservation) DeepCopy

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

func (*ClientSideAvailabilityObservation) DeepCopyInto

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

type ClientSideAvailabilityParameters

type ClientSideAvailabilityParameters struct {

	// Whether this flag is available to SDKs using the client-side ID.
	// +kubebuilder:validation:Optional
	UsingEnvironmentID *bool `json:"usingEnvironmentId,omitempty" tf:"using_environment_id,omitempty"`

	// Whether this flag is available to SDKs using a mobile key.
	// +kubebuilder:validation:Optional
	UsingMobileKey *bool `json:"usingMobileKey,omitempty" tf:"using_mobile_key,omitempty"`
}

func (*ClientSideAvailabilityParameters) DeepCopy

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

func (*ClientSideAvailabilityParameters) DeepCopyInto

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

type CustomPropertiesObservation

type CustomPropertiesObservation struct {

	// The unique feature flag key that references the flag in your application code. 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"`

	// The human-readable name of the feature flag.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The variation value. The value's type must correspond to the variation_type argument. For example: variation_type = "boolean" accepts only true or false. The "number" variation type accepts both floats and ints, but please note that any trailing zeroes on floats will be trimmed (i.e. 1.1 and 1.100 will both be converted to 1.1).
	Value []*string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*CustomPropertiesObservation) DeepCopy

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

func (*CustomPropertiesObservation) DeepCopyInto

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

type CustomPropertiesParameters

type CustomPropertiesParameters struct {

	// The unique feature flag key that references the flag in your application code. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// +kubebuilder:validation:Required
	Key *string `json:"key" tf:"key,omitempty"`

	// The human-readable name of the feature flag.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// The variation value. The value's type must correspond to the variation_type argument. For example: variation_type = "boolean" accepts only true or false. The "number" variation type accepts both floats and ints, but please note that any trailing zeroes on floats will be trimmed (i.e. 1.1 and 1.100 will both be converted to 1.1).
	// +kubebuilder:validation:Required
	Value []*string `json:"value" tf:"value,omitempty"`
}

func (*CustomPropertiesParameters) DeepCopy

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

func (*CustomPropertiesParameters) DeepCopyInto

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

type DefaultsObservation

type DefaultsObservation struct {

	// The index of the variation the flag will default to in all new environments when off.
	// The index of the variation served when the flag is off for new environments
	OffVariation *float64 `json:"offVariation,omitempty" tf:"off_variation,omitempty"`

	// The index of the variation the flag will default to in all new environments when on.
	// The index of the variation served when the flag is on for new environments
	OnVariation *float64 `json:"onVariation,omitempty" tf:"on_variation,omitempty"`
}

func (*DefaultsObservation) DeepCopy

func (in *DefaultsObservation) DeepCopy() *DefaultsObservation

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

func (*DefaultsObservation) DeepCopyInto

func (in *DefaultsObservation) DeepCopyInto(out *DefaultsObservation)

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

type DefaultsParameters

type DefaultsParameters struct {

	// The index of the variation the flag will default to in all new environments when off.
	// The index of the variation served when the flag is off for new environments
	// +kubebuilder:validation:Required
	OffVariation *float64 `json:"offVariation" tf:"off_variation,omitempty"`

	// The index of the variation the flag will default to in all new environments when on.
	// The index of the variation served when the flag is on for new environments
	// +kubebuilder:validation:Required
	OnVariation *float64 `json:"onVariation" tf:"on_variation,omitempty"`
}

func (*DefaultsParameters) DeepCopy

func (in *DefaultsParameters) DeepCopy() *DefaultsParameters

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

func (*DefaultsParameters) DeepCopyInto

func (in *DefaultsParameters) DeepCopyInto(out *DefaultsParameters)

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

type Flag

type Flag struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.key)",message="key is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.name)",message="name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.projectKey)",message="projectKey is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.variationType)",message="variationType is a required parameter"
	Spec   FlagSpec   `json:"spec"`
	Status FlagStatus `json:"status,omitempty"`
}

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

func (*Flag) DeepCopy

func (in *Flag) DeepCopy() *Flag

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

func (*Flag) DeepCopyInto

func (in *Flag) DeepCopyInto(out *Flag)

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

func (*Flag) DeepCopyObject

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

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

func (*Flag) GetCondition

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

GetCondition of this Flag.

func (*Flag) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Flag

func (*Flag) GetDeletionPolicy

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

GetDeletionPolicy of this Flag.

func (*Flag) GetID

func (tr *Flag) GetID() string

GetID returns ID of underlying Terraform resource of this Flag

func (*Flag) GetManagementPolicy

func (mg *Flag) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this Flag.

func (*Flag) GetObservation

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

GetObservation of this Flag

func (*Flag) GetParameters

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

GetParameters of this Flag

func (*Flag) GetProviderConfigReference

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

GetProviderConfigReference of this Flag.

func (*Flag) GetProviderReference

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

GetProviderReference of this Flag. Deprecated: Use GetProviderConfigReference.

func (*Flag) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Flag.

func (*Flag) GetTerraformResourceType

func (mg *Flag) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Flag

func (*Flag) GetTerraformSchemaVersion

func (tr *Flag) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Flag) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Flag.

func (*Flag) LateInitialize

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

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

func (*Flag) SetConditions

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

SetConditions of this Flag.

func (*Flag) SetDeletionPolicy

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

SetDeletionPolicy of this Flag.

func (*Flag) SetManagementPolicy

func (mg *Flag) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this Flag.

func (*Flag) SetObservation

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

SetObservation for this Flag

func (*Flag) SetParameters

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

SetParameters for this Flag

func (*Flag) SetProviderConfigReference

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

SetProviderConfigReference of this Flag.

func (*Flag) SetProviderReference

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

SetProviderReference of this Flag. Deprecated: Use SetProviderConfigReference.

func (*Flag) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Flag.

func (*Flag) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Flag.

type FlagList

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

FlagList contains a list of Flags

func (*FlagList) DeepCopy

func (in *FlagList) DeepCopy() *FlagList

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

func (*FlagList) DeepCopyInto

func (in *FlagList) DeepCopyInto(out *FlagList)

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

func (*FlagList) DeepCopyObject

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

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

func (*FlagList) GetItems

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

GetItems of this FlagList.

type FlagObservation

type FlagObservation struct {

	// Specifies whether the flag is archived or not. Note that you cannot create a new flag that is archived, but can update a flag to be archived.
	// Whether to archive the flag
	Archived *bool `json:"archived,omitempty" tf:"archived,omitempty"`

	// A block describing whether this flag should be made available to the client-side JavaScript SDK using the client-side Id, mobile key, or both. This value gets its default from your project configuration if not set. Once set, if removed, it will retain its last set value. To learn more, read Nested Client-Side Availability Block.
	ClientSideAvailability []ClientSideAvailabilityObservation `json:"clientSideAvailability,omitempty" tf:"client_side_availability,omitempty"`

	// List of nested blocks describing the feature flag's custom properties. To learn more, read Nested Custom Properties.
	CustomProperties []CustomPropertiesObservation `json:"customProperties,omitempty" tf:"custom_properties,omitempty"`

	// A block containing the indices of the variations to be used as the default on and off variations in all new environments. Flag configurations in existing environments will not be changed nor updated if the configuration block is removed. To learn more, read Nested Defaults Blocks.
	// The default variations used for this flag in new environments. If omitted, the first and last variation will be used
	Defaults []DefaultsObservation `json:"defaults,omitempty" tf:"defaults,omitempty"`

	// The feature flag's description.
	// A short description of what the flag will be used for
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The unique feature flag ID in the format project_key/flag_key.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Deprecated  Specifies whether this flag should be made available to the client-side JavaScript SDK using the client-side Id. This value gets its default from your project configuration if not set. include_in_snippet is now deprecated. Please migrate to client_side_availability.using_environment_id to maintain future compatability.
	// Whether or not this flag should be made available to the client-side JavaScript SDK
	IncludeInSnippet *bool `json:"includeInSnippet,omitempty" tf:"include_in_snippet,omitempty"`

	// The unique feature flag key that references the flag in your application code. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// A unique key that will be used to reference the flag in your code
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// The feature flag maintainer's 24 character alphanumeric team member ID.
	// The LaunchDarkly id of the user who will maintain the flag
	MaintainerID *string `json:"maintainerId,omitempty" tf:"maintainer_id,omitempty"`

	// The human-readable name of the feature flag.
	// A human-friendly name for the feature flag
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The feature flag's 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
	ProjectKey *string `json:"projectKey,omitempty" tf:"project_key,omitempty"`

	// Set of feature flag tags.
	// Tags associated with your resource
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Specifies whether the flag is a temporary flag.
	// Whether or not the flag is a temporary flag
	Temporary *bool `json:"temporary,omitempty" tf:"temporary,omitempty"`

	// The feature flag's variation type: boolean, string, number or json.
	// The uniform type for all variations. Can be either "boolean", "string", "number", or "json".
	VariationType *string `json:"variationType,omitempty" tf:"variation_type,omitempty"`

	// List of nested blocks describing the variations associated with the feature flag. You must specify at least two variations. To learn more, read Nested Variations Blocks.
	// An array of possible variations for the flag
	Variations []VariationsObservation `json:"variations,omitempty" tf:"variations,omitempty"`
}

func (*FlagObservation) DeepCopy

func (in *FlagObservation) DeepCopy() *FlagObservation

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

func (*FlagObservation) DeepCopyInto

func (in *FlagObservation) DeepCopyInto(out *FlagObservation)

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

type FlagParameters

type FlagParameters struct {

	// Specifies whether the flag is archived or not. Note that you cannot create a new flag that is archived, but can update a flag to be archived.
	// Whether to archive the flag
	// +kubebuilder:validation:Optional
	Archived *bool `json:"archived,omitempty" tf:"archived,omitempty"`

	// A block describing whether this flag should be made available to the client-side JavaScript SDK using the client-side Id, mobile key, or both. This value gets its default from your project configuration if not set. Once set, if removed, it will retain its last set value. To learn more, read Nested Client-Side Availability Block.
	// +kubebuilder:validation:Optional
	ClientSideAvailability []ClientSideAvailabilityParameters `json:"clientSideAvailability,omitempty" tf:"client_side_availability,omitempty"`

	// List of nested blocks describing the feature flag's custom properties. To learn more, read Nested Custom Properties.
	// +kubebuilder:validation:Optional
	CustomProperties []CustomPropertiesParameters `json:"customProperties,omitempty" tf:"custom_properties,omitempty"`

	// A block containing the indices of the variations to be used as the default on and off variations in all new environments. Flag configurations in existing environments will not be changed nor updated if the configuration block is removed. To learn more, read Nested Defaults Blocks.
	// The default variations used for this flag in new environments. If omitted, the first and last variation will be used
	// +kubebuilder:validation:Optional
	Defaults []DefaultsParameters `json:"defaults,omitempty" tf:"defaults,omitempty"`

	// The feature flag's description.
	// A short description of what the flag will be used for
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Deprecated  Specifies whether this flag should be made available to the client-side JavaScript SDK using the client-side Id. This value gets its default from your project configuration if not set. include_in_snippet is now deprecated. Please migrate to client_side_availability.using_environment_id to maintain future compatability.
	// Whether or not this flag should be made available to the client-side JavaScript SDK
	// +kubebuilder:validation:Optional
	IncludeInSnippet *bool `json:"includeInSnippet,omitempty" tf:"include_in_snippet,omitempty"`

	// The unique feature flag key that references the flag in your application code. A change in this field will force the destruction of the existing resource and the creation of a new one.
	// A unique key that will be used to reference the flag in your code
	// +kubebuilder:validation:Optional
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// The feature flag maintainer's 24 character alphanumeric team member ID.
	// The LaunchDarkly id of the user who will maintain the flag
	// +kubebuilder:validation:Optional
	MaintainerID *string `json:"maintainerId,omitempty" tf:"maintainer_id,omitempty"`

	// The human-readable name of the feature flag.
	// A human-friendly name for the feature flag
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The feature flag's 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
	// +kubebuilder:validation:Optional
	ProjectKey *string `json:"projectKey,omitempty" tf:"project_key,omitempty"`

	// Set of feature flag tags.
	// Tags associated with your resource
	// +kubebuilder:validation:Optional
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Specifies whether the flag is a temporary flag.
	// Whether or not the flag is a temporary flag
	// +kubebuilder:validation:Optional
	Temporary *bool `json:"temporary,omitempty" tf:"temporary,omitempty"`

	// The feature flag's variation type: boolean, string, number or json.
	// The uniform type for all variations. Can be either "boolean", "string", "number", or "json".
	// +kubebuilder:validation:Optional
	VariationType *string `json:"variationType,omitempty" tf:"variation_type,omitempty"`

	// List of nested blocks describing the variations associated with the feature flag. You must specify at least two variations. To learn more, read Nested Variations Blocks.
	// An array of possible variations for the flag
	// +kubebuilder:validation:Optional
	Variations []VariationsParameters `json:"variations,omitempty" tf:"variations,omitempty"`
}

func (*FlagParameters) DeepCopy

func (in *FlagParameters) DeepCopy() *FlagParameters

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

func (*FlagParameters) DeepCopyInto

func (in *FlagParameters) DeepCopyInto(out *FlagParameters)

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

type FlagSpec

type FlagSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     FlagParameters `json:"forProvider"`
}

FlagSpec defines the desired state of Flag

func (*FlagSpec) DeepCopy

func (in *FlagSpec) DeepCopy() *FlagSpec

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

func (*FlagSpec) DeepCopyInto

func (in *FlagSpec) DeepCopyInto(out *FlagSpec)

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

type FlagStatus

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

FlagStatus defines the observed state of Flag.

func (*FlagStatus) DeepCopy

func (in *FlagStatus) DeepCopy() *FlagStatus

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

func (*FlagStatus) DeepCopyInto

func (in *FlagStatus) DeepCopyInto(out *FlagStatus)

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

type VariationsObservation

type VariationsObservation struct {

	// The feature flag's description.
	// A description for the variation
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The human-readable name of the feature flag.
	// A name for the variation
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The variation value. The value's type must correspond to the variation_type argument. For example: variation_type = "boolean" accepts only true or false. The "number" variation type accepts both floats and ints, but please note that any trailing zeroes on floats will be trimmed (i.e. 1.1 and 1.100 will both be converted to 1.1).
	// The value of the flag for this variation
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*VariationsObservation) DeepCopy

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

func (*VariationsObservation) DeepCopyInto

func (in *VariationsObservation) DeepCopyInto(out *VariationsObservation)

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

type VariationsParameters

type VariationsParameters struct {

	// The feature flag's description.
	// A description for the variation
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The human-readable name of the feature flag.
	// A name for the variation
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The variation value. The value's type must correspond to the variation_type argument. For example: variation_type = "boolean" accepts only true or false. The "number" variation type accepts both floats and ints, but please note that any trailing zeroes on floats will be trimmed (i.e. 1.1 and 1.100 will both be converted to 1.1).
	// The value of the flag for this variation
	// +kubebuilder:validation:Required
	Value *string `json:"value" tf:"value,omitempty"`
}

func (*VariationsParameters) DeepCopy

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

func (*VariationsParameters) DeepCopyInto

func (in *VariationsParameters) DeepCopyInto(out *VariationsParameters)

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