Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=flag.launchdarkly.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type ClientSideAvailabilityObservation
- type ClientSideAvailabilityParameters
- type CustomPropertiesObservation
- type CustomPropertiesParameters
- type DefaultsObservation
- type DefaultsParameters
- type Flag
- func (in *Flag) DeepCopy() *Flag
- func (in *Flag) DeepCopyInto(out *Flag)
- func (in *Flag) DeepCopyObject() runtime.Object
- func (mg *Flag) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Flag) GetConnectionDetailsMapping() map[string]string
- func (mg *Flag) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Flag) GetID() string
- func (tr *Flag) GetObservation() (map[string]any, error)
- func (tr *Flag) GetParameters() (map[string]any, error)
- func (mg *Flag) GetProviderConfigReference() *xpv1.Reference
- func (mg *Flag) GetProviderReference() *xpv1.Reference
- func (mg *Flag) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Flag) GetTerraformResourceType() string
- func (tr *Flag) GetTerraformSchemaVersion() int
- func (mg *Flag) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Flag) LateInitialize(attrs []byte) (bool, error)
- func (mg *Flag) SetConditions(c ...xpv1.Condition)
- func (mg *Flag) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Flag) SetObservation(obs map[string]any) error
- func (tr *Flag) SetParameters(params map[string]any) error
- func (mg *Flag) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Flag) SetProviderReference(r *xpv1.Reference)
- func (mg *Flag) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Flag) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type FlagList
- type FlagObservation
- type FlagParameters
- type FlagSpec
- type FlagStatus
- type VariationsObservation
- type VariationsParameters
Constants ¶
const ( CRDGroup = "flag.launchdarkly.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
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.
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 { }
func (*ClientSideAvailabilityObservation) DeepCopy ¶
func (in *ClientSideAvailabilityObservation) DeepCopy() *ClientSideAvailabilityObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientSideAvailabilityObservation.
func (*ClientSideAvailabilityObservation) DeepCopyInto ¶
func (in *ClientSideAvailabilityObservation) DeepCopyInto(out *ClientSideAvailabilityObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClientSideAvailabilityParameters ¶
type ClientSideAvailabilityParameters struct { // +kubebuilder:validation:Optional UsingEnvironmentID *bool `json:"usingEnvironmentId,omitempty" tf:"using_environment_id,omitempty"` // +kubebuilder:validation:Optional UsingMobileKey *bool `json:"usingMobileKey,omitempty" tf:"using_mobile_key,omitempty"` }
func (*ClientSideAvailabilityParameters) DeepCopy ¶
func (in *ClientSideAvailabilityParameters) DeepCopy() *ClientSideAvailabilityParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientSideAvailabilityParameters.
func (*ClientSideAvailabilityParameters) DeepCopyInto ¶
func (in *ClientSideAvailabilityParameters) DeepCopyInto(out *ClientSideAvailabilityParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CustomPropertiesObservation ¶
type CustomPropertiesObservation struct { }
func (*CustomPropertiesObservation) DeepCopy ¶
func (in *CustomPropertiesObservation) DeepCopy() *CustomPropertiesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomPropertiesObservation.
func (*CustomPropertiesObservation) DeepCopyInto ¶
func (in *CustomPropertiesObservation) DeepCopyInto(out *CustomPropertiesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CustomPropertiesParameters ¶
type CustomPropertiesParameters struct { // +kubebuilder:validation:Required Key *string `json:"key" tf:"key,omitempty"` // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` // +kubebuilder:validation:Required Value []*string `json:"value" tf:"value,omitempty"` }
func (*CustomPropertiesParameters) DeepCopy ¶
func (in *CustomPropertiesParameters) DeepCopy() *CustomPropertiesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomPropertiesParameters.
func (*CustomPropertiesParameters) DeepCopyInto ¶
func (in *CustomPropertiesParameters) DeepCopyInto(out *CustomPropertiesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DefaultsObservation ¶
type DefaultsObservation struct { }
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 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 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"` Spec FlagSpec `json:"spec"` Status FlagStatus `json:"status,omitempty"` }
Flag is the Schema for the Flags API. <no value> +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,launchdarkly}
func (*Flag) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Flag.
func (*Flag) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Flag) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this Flag
func (*Flag) GetDeletionPolicy ¶
func (mg *Flag) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Flag.
func (*Flag) GetObservation ¶
GetObservation of this Flag
func (*Flag) GetParameters ¶
GetParameters of this Flag
func (*Flag) GetProviderConfigReference ¶
GetProviderConfigReference of this Flag.
func (*Flag) GetProviderReference ¶
GetProviderReference of this Flag. Deprecated: Use GetProviderConfigReference.
func (*Flag) GetPublishConnectionDetailsTo ¶
func (mg *Flag) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Flag.
func (*Flag) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Flag
func (*Flag) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Flag) GetWriteConnectionSecretToReference ¶
func (mg *Flag) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Flag.
func (*Flag) LateInitialize ¶
LateInitialize this Flag using its observed tfState. returns True if there are any spec changes for the resource.
func (*Flag) SetConditions ¶
SetConditions of this Flag.
func (*Flag) SetDeletionPolicy ¶
func (mg *Flag) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Flag.
func (*Flag) SetObservation ¶
SetObservation for this Flag
func (*Flag) SetParameters ¶
SetParameters for this Flag
func (*Flag) SetProviderConfigReference ¶
SetProviderConfigReference of this Flag.
func (*Flag) SetProviderReference ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlagList.
func (*FlagList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FlagList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FlagObservation ¶
type FlagObservation struct {
ID *string `json:"id,omitempty" tf:"id,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 { // Whether to archive the flag // +kubebuilder:validation:Optional Archived *bool `json:"archived,omitempty" tf:"archived,omitempty"` // +kubebuilder:validation:Optional ClientSideAvailability []ClientSideAvailabilityParameters `json:"clientSideAvailability,omitempty" tf:"client_side_availability,omitempty"` // +kubebuilder:validation:Optional CustomProperties []CustomPropertiesParameters `json:"customProperties,omitempty" tf:"custom_properties,omitempty"` // 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"` // A short description of what the flag will be used for // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // 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"` // A unique key that will be used to reference the flag in your code // +kubebuilder:validation:Required Key *string `json:"key" tf:"key,omitempty"` // The LaunchDarkly id of the user who will maintain the flag // +kubebuilder:validation:Optional MaintainerID *string `json:"maintainerId,omitempty" tf:"maintainer_id,omitempty"` // A human-friendly name for the feature flag // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` // The LaunchDarkly project key // +kubebuilder:validation:Required ProjectKey *string `json:"projectKey" tf:"project_key,omitempty"` // Tags associated with your resource // +kubebuilder:validation:Optional Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"` // Whether or not the flag is a temporary flag // +kubebuilder:validation:Optional Temporary *bool `json:"temporary,omitempty" tf:"temporary,omitempty"` // The uniform type for all variations. Can be either "boolean", "string", "number", or "json". // +kubebuilder:validation:Required VariationType *string `json:"variationType" tf:"variation_type,omitempty"` // 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FlagSpec.
func (*FlagSpec) DeepCopyInto ¶
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 { }
func (*VariationsObservation) DeepCopy ¶
func (in *VariationsObservation) DeepCopy() *VariationsObservation
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 { // A description for the variation // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // A name for the variation // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // The value of the flag for this variation // +kubebuilder:validation:Required Value *string `json:"value" tf:"value,omitempty"` }
func (*VariationsParameters) DeepCopy ¶
func (in *VariationsParameters) DeepCopy() *VariationsParameters
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.