v1beta1

package
v0.2.45 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2025 License: Apache-2.0 Imports: 18 Imported by: 1

Documentation

Overview

Package v1beta1 contains API Schema definitions for the core v1beta1 API group +kubebuilder:object:generate=true +groupName=core.openfeature.dev

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "core.openfeature.dev", Version: "v1beta1"}

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

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

Functions

This section is empty.

Types

type FeatureFlag

type FeatureFlag struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   FeatureFlagSpec   `json:"spec,omitempty"`
	Status FeatureFlagStatus `json:"status,omitempty"`
}

FeatureFlag is the Schema for the featureflags API

func (*FeatureFlag) DeepCopy

func (in *FeatureFlag) DeepCopy() *FeatureFlag

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

func (*FeatureFlag) DeepCopyInto

func (in *FeatureFlag) DeepCopyInto(out *FeatureFlag)

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

func (*FeatureFlag) DeepCopyObject

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

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

func (*FeatureFlag) GenerateConfigMap added in v0.2.38

func (ff *FeatureFlag) GenerateConfigMap(name string, namespace string, references []metav1.OwnerReference) (*corev1.ConfigMap, error)

func (*FeatureFlag) GetReference added in v0.2.38

func (ff *FeatureFlag) GetReference() metav1.OwnerReference

func (*FeatureFlag) SetupWebhookWithManager added in v0.2.41

func (ff *FeatureFlag) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*FeatureFlag) ValidateCreate added in v0.2.41

func (ff *FeatureFlag) ValidateCreate() (admission.Warnings, error)

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*FeatureFlag) ValidateDelete added in v0.2.41

func (ff *FeatureFlag) ValidateDelete() (admission.Warnings, error)

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*FeatureFlag) ValidateUpdate added in v0.2.41

func (ff *FeatureFlag) ValidateUpdate(old runtime.Object) (admission.Warnings, error)

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type FeatureFlagList

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

FeatureFlagList contains a list of FeatureFlag

func (*FeatureFlagList) DeepCopy

func (in *FeatureFlagList) DeepCopy() *FeatureFlagList

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

func (*FeatureFlagList) DeepCopyInto

func (in *FeatureFlagList) DeepCopyInto(out *FeatureFlagList)

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

func (*FeatureFlagList) DeepCopyObject

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

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

type FeatureFlagSource

type FeatureFlagSource struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   FeatureFlagSourceSpec   `json:"spec,omitempty"`
	Status FeatureFlagSourceStatus `json:"status,omitempty"`
}

FeatureFlagSource is the Schema for the FeatureFlagSources API

func (*FeatureFlagSource) DeepCopy

func (in *FeatureFlagSource) DeepCopy() *FeatureFlagSource

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

func (*FeatureFlagSource) DeepCopyInto

func (in *FeatureFlagSource) DeepCopyInto(out *FeatureFlagSource)

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

func (*FeatureFlagSource) DeepCopyObject

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

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

type FeatureFlagSourceList

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

FeatureFlagSourceList contains a list of FeatureFlagSource

func (*FeatureFlagSourceList) DeepCopy

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

func (*FeatureFlagSourceList) DeepCopyInto

func (in *FeatureFlagSourceList) DeepCopyInto(out *FeatureFlagSourceList)

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

func (*FeatureFlagSourceList) DeepCopyObject

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

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

type FeatureFlagSourceSpec

type FeatureFlagSourceSpec struct {
	// ManagemetPort defines the port to serve management on, defaults to 8014
	// +optional
	// +kubebuilder:default:=8014
	ManagementPort int32 `json:"managementPort"`

	// Port defines the port to listen on, defaults to 8013
	// +optional
	// +kubebuilder:default:=8013
	Port int32 `json:"port"`

	// SocketPath defines the unix socket path to listen on
	// +optional
	SocketPath string `json:"socketPath"`

	// Evaluator sets an evaluator, defaults to 'json'
	// +optional
	// +kubebuilder:default:="json"
	Evaluator string `json:"evaluator"`

	// SyncProviders define the syncProviders and associated configuration to be applied to the sidecar
	// +kubebuilder:validation:MinItems=1
	Sources []Source `json:"sources"`

	// EnvVars define the env vars to be applied to the sidecar, any env vars in FeatureFlag CRs
	// are added at the lowest index, all values will have the EnvVarPrefix applied, default FLAGD
	// +optional
	EnvVars []corev1.EnvVar `json:"envVars"`

	// SyncProviderArgs are string arguments passed to all sync providers, defined as key values separated by =
	// +optional
	SyncProviderArgs []string `json:"syncProviderArgs"`

	// DefaultSyncProvider defines the default sync provider
	// +optional
	DefaultSyncProvider common.SyncProviderType `json:"defaultSyncProvider"`

	// LogFormat allows for the sidecar log format to be overridden, defaults to 'json'
	// +optional
	// +kubebuilder:default:="json"
	LogFormat string `json:"logFormat"`

	// EnvVarPrefix defines the prefix to be applied to all environment variables applied to the sidecar, default FLAGD
	// +optional
	// +kubebuilder:default:="FLAGD"
	EnvVarPrefix string `json:"envVarPrefix"`

	// RolloutOnChange dictates whether annotated deployments will be restarted when configuration changes are
	// detected in this CR, defaults to false
	// +optional
	RolloutOnChange *bool `json:"rolloutOnChange"`

	// ProbesEnabled defines whether to enable liveness and readiness probes of flagd sidecar. Default true (enabled).
	// +optional
	ProbesEnabled *bool `json:"probesEnabled"`

	// DebugLogging defines whether to enable --debug flag of flagd sidecar. Default false (disabled).
	// +optional
	DebugLogging *bool `json:"debugLogging"`

	// OtelCollectorUri defines whether to enable --otel-collector-uri flag of flagd sidecar. Default false (disabled).
	// +optional
	OtelCollectorUri string `json:"otelCollectorUri"`

	// Resources defines flagd sidecar resources. Default to operator sidecar-cpu-* and sidecar-ram-* flags.
	// +optional
	Resources corev1.ResourceRequirements `json:"resources"`
}

FeatureFlagSourceSpec defines the desired state of FeatureFlagSource

func (*FeatureFlagSourceSpec) DeepCopy

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

func (*FeatureFlagSourceSpec) DeepCopyInto

func (in *FeatureFlagSourceSpec) DeepCopyInto(out *FeatureFlagSourceSpec)

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

func (*FeatureFlagSourceSpec) Merge added in v0.2.38

func (*FeatureFlagSourceSpec) ToEnvVars added in v0.2.38

func (fc *FeatureFlagSourceSpec) ToEnvVars() []corev1.EnvVar

type FeatureFlagSourceStatus

type FeatureFlagSourceStatus struct {
}

FeatureFlagSourceStatus defines the observed state of FeatureFlagSource

func (*FeatureFlagSourceStatus) DeepCopy

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

func (*FeatureFlagSourceStatus) DeepCopyInto

func (in *FeatureFlagSourceStatus) DeepCopyInto(out *FeatureFlagSourceStatus)

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

type FeatureFlagSpec

type FeatureFlagSpec struct {
	// FlagSpec is the structured representation of the feature flag specification
	FlagSpec FlagSpec `json:"flagSpec,omitempty"`
}

FeatureFlagSpec defines the desired state of FeatureFlag

func (*FeatureFlagSpec) DeepCopy

func (in *FeatureFlagSpec) DeepCopy() *FeatureFlagSpec

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

func (*FeatureFlagSpec) DeepCopyInto

func (in *FeatureFlagSpec) DeepCopyInto(out *FeatureFlagSpec)

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

type FeatureFlagStatus

type FeatureFlagStatus struct {
}

FeatureFlagStatus defines the observed state of FeatureFlag

func (*FeatureFlagStatus) DeepCopy

func (in *FeatureFlagStatus) DeepCopy() *FeatureFlagStatus

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

func (*FeatureFlagStatus) DeepCopyInto

func (in *FeatureFlagStatus) DeepCopyInto(out *FeatureFlagStatus)

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

type Flag

type Flag struct {
	// +kubebuilder:validation:Enum=ENABLED;DISABLED
	State string `json:"state"`
	// +kubebuilder:validation:Schemaless
	// +kubebuilder:pruning:PreserveUnknownFields
	// +kubebuilder:validation:Type=object
	Variants       json.RawMessage `json:"variants"`
	DefaultVariant string          `json:"defaultVariant"`
	// +optional
	// +kubebuilder:validation:Schemaless
	// +kubebuilder:pruning:PreserveUnknownFields
	// +kubebuilder:validation:Type=object
	// Targeting is the json targeting rule
	Targeting json.RawMessage `json:"targeting,omitempty"`
}

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.

type FlagSpec

type FlagSpec struct {
	Flags `json:",inline"`
	// +optional
	// +kubebuilder:validation:Schemaless
	// +kubebuilder:pruning:PreserveUnknownFields
	// +kubebuilder:validation:Type=object
	Evaluators json.RawMessage `json:"$evaluators,omitempty"`
}

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

type Flagd struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   FlagdSpec   `json:"spec,omitempty"`
	Status FlagdStatus `json:"status,omitempty"`
}

Flagd is the Schema for the flagds API

func (*Flagd) DeepCopy added in v0.2.41

func (in *Flagd) DeepCopy() *Flagd

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

func (*Flagd) DeepCopyInto added in v0.2.41

func (in *Flagd) DeepCopyInto(out *Flagd)

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

func (*Flagd) DeepCopyObject added in v0.2.41

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

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

type FlagdList added in v0.2.41

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

FlagdList contains a list of Flagd

func (*FlagdList) DeepCopy added in v0.2.41

func (in *FlagdList) DeepCopy() *FlagdList

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

func (*FlagdList) DeepCopyInto added in v0.2.41

func (in *FlagdList) DeepCopyInto(out *FlagdList)

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

func (*FlagdList) DeepCopyObject added in v0.2.41

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

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

type FlagdSpec added in v0.2.41

type FlagdSpec struct {
	// Replicas defines the number of replicas to create for the service.
	// Default: 1
	// +optional
	// +kubebuilder:default=1
	Replicas *int32 `json:"replicas,omitempty"`

	// ServiceType represents the type of Service to create.
	// Must be one of: ClusterIP, NodePort, LoadBalancer, and ExternalName.
	// Default: ClusterIP
	// +optional
	// +kubebuilder:default=ClusterIP
	// +kubebuilder:validation:Enum:=ClusterIP;NodePort;LoadBalancer;ExternalName
	ServiceType v1.ServiceType `json:"serviceType,omitempty"`

	// ServiceAccountName the service account name for the flagd deployment
	// +optional
	ServiceAccountName string `json:"serviceAccountName,omitempty"`

	// FeatureFlagSource references to a FeatureFlagSource from which the created flagd instance retrieves
	// the feature flag configurations
	FeatureFlagSource string `json:"featureFlagSource"`

	// Ingress
	// +optional
	Ingress IngressSpec `json:"ingress"`

	// GatewayApiRoutes
	// +optional
	GatewayApiRoutes GatewayApiSpec `json:"gatewayApiRoutes"`
}

FlagdSpec defines the desired state of Flagd

func (*FlagdSpec) DeepCopy added in v0.2.41

func (in *FlagdSpec) DeepCopy() *FlagdSpec

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

func (*FlagdSpec) DeepCopyInto added in v0.2.41

func (in *FlagdSpec) DeepCopyInto(out *FlagdSpec)

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

type FlagdStatus added in v0.2.41

type FlagdStatus struct {
}

FlagdStatus defines the observed state of Flagd

func (*FlagdStatus) DeepCopy added in v0.2.41

func (in *FlagdStatus) DeepCopy() *FlagdStatus

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

func (*FlagdStatus) DeepCopyInto added in v0.2.41

func (in *FlagdStatus) DeepCopyInto(out *FlagdStatus)

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

type Flags added in v0.2.41

type Flags struct {
	FlagsMap map[string]Flag `json:"flags"`
}

Flags represent the flags specification

func (*Flags) DeepCopy added in v0.2.41

func (in *Flags) DeepCopy() *Flags

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

func (*Flags) DeepCopyInto added in v0.2.41

func (in *Flags) DeepCopyInto(out *Flags)

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

type GatewayApiSpec added in v0.2.45

type GatewayApiSpec struct {
	// Enabled enables/disables the Gateway API routes for flagd
	Enabled bool `json:"enabled,omitempty"`

	// Annotations to be added to the Gateway API routes
	// +optional
	Annotations map[string]string `json:"annotations,omitempty"`

	// Hosts list of hosts to be added to the ingress.
	// Empty string corresponds to rule with no host.
	// +optional
	Hosts []string `json:"hosts,omitempty"`

	// ParentRefs references the resources (usually Gateways) that the Routes should
	// be attached to.
	ParentRefs []gatewayApiv1.ParentReference `json:"parentRefs"`
}

GatewayApiSpec defines the options to be used when deploying Gateway API routes for flagd

func (*GatewayApiSpec) DeepCopy added in v0.2.45

func (in *GatewayApiSpec) DeepCopy() *GatewayApiSpec

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

func (*GatewayApiSpec) DeepCopyInto added in v0.2.45

func (in *GatewayApiSpec) DeepCopyInto(out *GatewayApiSpec)

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

type InProcessConfiguration added in v0.2.41

type InProcessConfiguration struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   InProcessConfigurationSpec   `json:"spec,omitempty"`
	Status InProcessConfigurationStatus `json:"status,omitempty"`
}

InProcessConfiguration is the Schema for the inprocesconfigurations API

func (*InProcessConfiguration) DeepCopy added in v0.2.41

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

func (*InProcessConfiguration) DeepCopyInto added in v0.2.41

func (in *InProcessConfiguration) DeepCopyInto(out *InProcessConfiguration)

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

func (*InProcessConfiguration) DeepCopyObject added in v0.2.41

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

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

type InProcessConfigurationList added in v0.2.41

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

InProcessConfigurationList contains a list of InProcessConfiguration

func (*InProcessConfigurationList) DeepCopy added in v0.2.41

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

func (*InProcessConfigurationList) DeepCopyInto added in v0.2.41

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

func (*InProcessConfigurationList) DeepCopyObject added in v0.2.41

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

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

type InProcessConfigurationSpec added in v0.2.41

type InProcessConfigurationSpec struct {
	// Port defines the port to listen on, defaults to 8015
	// +kubebuilder:default:=8015
	// +optional
	Port int32 `json:"port"`

	// SocketPath defines the unix socket path to listen on
	// +optional
	SocketPath string `json:"socketPath"`

	// Host
	// +kubebuilder:default:=localhost
	// +optional
	Host string `json:"host"`

	// TLS
	// +kubebuilder:default:=false
	// +optional
	TLS bool `json:"tls"`

	// OfflineFlagSourcePath
	// +optional
	OfflineFlagSourcePath string `json:"offlineFlagSourcePath"`

	// Selector
	// +optional
	Selector string `json:"selector"`

	// Cache
	// +kubebuilder:default:="lru"
	// +kubebuilder:validation:Pattern="^(lru|disabled)$"
	// +kubebuilder:validation:Type:=string
	// +optional
	Cache string `json:"cache"`

	// CacheMaxSize
	// +kubebuilder:default:=1000
	// +optional
	CacheMaxSize int `json:"cacheMaxSize"`

	// EnvVars
	// +optional
	EnvVars []corev1.EnvVar `json:"envVars"`

	// EnvVarPrefix defines the prefix to be applied to all environment variables applied to the sidecar, default FLAGD
	// +optional
	// +kubebuilder:default:=FLAGD
	EnvVarPrefix string `json:"envVarPrefix"`
}

InProcessConfigurationSpec defines the desired state of InProcessConfiguration

func (*InProcessConfigurationSpec) DeepCopy added in v0.2.41

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

func (*InProcessConfigurationSpec) DeepCopyInto added in v0.2.41

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

func (*InProcessConfigurationSpec) Merge added in v0.2.41

func (*InProcessConfigurationSpec) ToEnvVars added in v0.2.41

func (fc *InProcessConfigurationSpec) ToEnvVars() []corev1.EnvVar

type InProcessConfigurationStatus added in v0.2.41

type InProcessConfigurationStatus struct {
}

InProcessConfigurationStatus defines the observed state of InProcessConfiguration

func (*InProcessConfigurationStatus) DeepCopy added in v0.2.41

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

func (*InProcessConfigurationStatus) DeepCopyInto added in v0.2.41

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

type IngressSpec added in v0.2.41

type IngressSpec struct {
	// Enabled enables/disables the ingress for flagd
	Enabled bool `json:"enabled,omitempty"`

	// Annotations the annotations to be added to the ingress
	// +optional
	Annotations map[string]string `json:"annotations,omitempty"`

	// Hosts list of hosts to be added to the ingress.
	// Empty string corresponds to rule with no host.
	Hosts []string `json:"hosts"`

	// TLS configuration for the ingress
	TLS []networkingv1.IngressTLS `json:"tls,omitempty"`

	// IngressClassName defines the name if the ingress class to be used for flagd
	// +optional
	IngressClassName *string `json:"ingressClassName,omitempty"`

	// PathType is the path type to be used for the ingress rules
	// +optional
	PathType networkingv1.PathType `json:"pathType,omitempty"`

	// FlagdPath is the path to be used for accessing the flagd flag evaluation API
	// Default: /flagd.evaluation.v1.Service
	// +optional
	FlagdPath string `json:"flagdPath,omitempty"`

	// OFREPPath is the path to be used for accessing the OFREP API
	// Default: /ofrep
	// +optional
	OFREPPath string `json:"ofrepPath,omitempty"`

	// SyncPath is the path to be used for accessing the sync API
	// Default: /flagd.sync.v1.Service
	// +optional
	SyncPath string `json:"syncPath,omitempty"`
}

IngressSpec defines the options to be used when deploying the ingress for flagd

func (*IngressSpec) DeepCopy added in v0.2.41

func (in *IngressSpec) DeepCopy() *IngressSpec

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

func (*IngressSpec) DeepCopyInto added in v0.2.41

func (in *IngressSpec) DeepCopyInto(out *IngressSpec)

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

type Source

type Source struct {
	// Source is a URI of the flag sources
	Source string `json:"source"`

	// Provider type - kubernetes, http(s), grpc(s) or file
	// +optional
	Provider common.SyncProviderType `json:"provider"`

	// HttpSyncBearerToken is a bearer token. Used by http(s) sync provider only
	// +optional
	HttpSyncBearerToken string `json:"httpSyncBearerToken"`

	// TLS - Enable/Disable secure TLS connectivity. Currently used only by GRPC sync
	// +optional
	TLS bool `json:"tls"`

	// CertPath is a path of a certificate to be used by grpc TLS connection
	// +optional
	CertPath string `json:"certPath"`

	// ProviderID is an identifier to be used in grpc provider
	// +optional
	ProviderID string `json:"providerID"`

	// Selector is a flag configuration selector used by grpc provider
	// +optional
	Selector string `json:"selector,omitempty"`

	// Interval is a flag configuration interval in seconds used by http provider
	// +optional
	Interval uint32 `json:"interval,omitempty"`
}

func (*Source) DeepCopy

func (in *Source) DeepCopy() *Source

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

func (*Source) DeepCopyInto

func (in *Source) DeepCopyInto(out *Source)

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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