core_openfeature_dev_v1alpha2

package
v0.0.0-...-6209148 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: 0BSD Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCoreOpenfeatureDevFeatureFlagConfigurationV1Alpha2Manifest

func NewCoreOpenfeatureDevFeatureFlagConfigurationV1Alpha2Manifest() datasource.DataSource

Types

type CoreOpenfeatureDevFeatureFlagConfigurationV1Alpha2Manifest

type CoreOpenfeatureDevFeatureFlagConfigurationV1Alpha2Manifest struct{}

func (*CoreOpenfeatureDevFeatureFlagConfigurationV1Alpha2Manifest) Metadata

func (*CoreOpenfeatureDevFeatureFlagConfigurationV1Alpha2Manifest) Read

func (*CoreOpenfeatureDevFeatureFlagConfigurationV1Alpha2Manifest) Schema

type CoreOpenfeatureDevFeatureFlagConfigurationV1Alpha2ManifestData

type CoreOpenfeatureDevFeatureFlagConfigurationV1Alpha2ManifestData struct {
	YAML types.String `tfsdk:"yaml" json:"-"`

	ApiVersion *string `tfsdk:"-" json:"apiVersion"`
	Kind       *string `tfsdk:"-" json:"kind"`

	Metadata struct {
		Name        string            `tfsdk:"name" json:"name"`
		Namespace   string            `tfsdk:"namespace" json:"namespace"`
		Labels      map[string]string `tfsdk:"labels" json:"labels,omitempty"`
		Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
	} `tfsdk:"metadata" json:"metadata"`

	Spec *struct {
		FeatureFlagSpec *struct {
			Dollarevaluators *map[string]string `tfsdk:"dollarevaluators" json:"$evaluators,omitempty"`
			Flags            *struct {
				DefaultVariant *string            `tfsdk:"default_variant" json:"defaultVariant,omitempty"`
				State          *string            `tfsdk:"state" json:"state,omitempty"`
				Targeting      *map[string]string `tfsdk:"targeting" json:"targeting,omitempty"`
				Variants       *map[string]string `tfsdk:"variants" json:"variants,omitempty"`
			} `tfsdk:"flags" json:"flags,omitempty"`
		} `tfsdk:"feature_flag_spec" json:"featureFlagSpec,omitempty"`
		FlagDSpec *struct {
			Envs *[]struct {
				Name      *string `tfsdk:"name" json:"name,omitempty"`
				Value     *string `tfsdk:"value" json:"value,omitempty"`
				ValueFrom *struct {
					ConfigMapKeyRef *struct {
						Key      *string `tfsdk:"key" json:"key,omitempty"`
						Name     *string `tfsdk:"name" json:"name,omitempty"`
						Optional *bool   `tfsdk:"optional" json:"optional,omitempty"`
					} `tfsdk:"config_map_key_ref" json:"configMapKeyRef,omitempty"`
					FieldRef *struct {
						ApiVersion *string `tfsdk:"api_version" json:"apiVersion,omitempty"`
						FieldPath  *string `tfsdk:"field_path" json:"fieldPath,omitempty"`
					} `tfsdk:"field_ref" json:"fieldRef,omitempty"`
					ResourceFieldRef *struct {
						ContainerName *string `tfsdk:"container_name" json:"containerName,omitempty"`
						Divisor       *string `tfsdk:"divisor" json:"divisor,omitempty"`
						Resource      *string `tfsdk:"resource" json:"resource,omitempty"`
					} `tfsdk:"resource_field_ref" json:"resourceFieldRef,omitempty"`
					SecretKeyRef *struct {
						Key      *string `tfsdk:"key" json:"key,omitempty"`
						Name     *string `tfsdk:"name" json:"name,omitempty"`
						Optional *bool   `tfsdk:"optional" json:"optional,omitempty"`
					} `tfsdk:"secret_key_ref" json:"secretKeyRef,omitempty"`
				} `tfsdk:"value_from" json:"valueFrom,omitempty"`
			} `tfsdk:"envs" json:"envs,omitempty"`
		} `tfsdk:"flag_d_spec" json:"flagDSpec,omitempty"`
		Resources *struct {
			Claims *[]struct {
				Name *string `tfsdk:"name" json:"name,omitempty"`
			} `tfsdk:"claims" json:"claims,omitempty"`
			Limits   *map[string]string `tfsdk:"limits" json:"limits,omitempty"`
			Requests *map[string]string `tfsdk:"requests" json:"requests,omitempty"`
		} `tfsdk:"resources" json:"resources,omitempty"`
		ServiceProvider *struct {
			Credentials *struct {
				ApiVersion      *string `tfsdk:"api_version" json:"apiVersion,omitempty"`
				FieldPath       *string `tfsdk:"field_path" json:"fieldPath,omitempty"`
				Kind            *string `tfsdk:"kind" json:"kind,omitempty"`
				Name            *string `tfsdk:"name" json:"name,omitempty"`
				Namespace       *string `tfsdk:"namespace" json:"namespace,omitempty"`
				ResourceVersion *string `tfsdk:"resource_version" json:"resourceVersion,omitempty"`
				Uid             *string `tfsdk:"uid" json:"uid,omitempty"`
			} `tfsdk:"credentials" json:"credentials,omitempty"`
			Name *string `tfsdk:"name" json:"name,omitempty"`
		} `tfsdk:"service_provider" json:"serviceProvider,omitempty"`
		SyncProvider *struct {
			HttpSyncConfiguration *struct {
				BearerToken *string `tfsdk:"bearer_token" json:"bearerToken,omitempty"`
				Target      *string `tfsdk:"target" json:"target,omitempty"`
			} `tfsdk:"http_sync_configuration" json:"httpSyncConfiguration,omitempty"`
			Name *string `tfsdk:"name" json:"name,omitempty"`
		} `tfsdk:"sync_provider" json:"syncProvider,omitempty"`
	} `tfsdk:"spec" json:"spec,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL