v1alpha1

package
v1.13.2 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Overview

+kubebuilder:object:generate=true +groupName=dapr.io

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: configuration.GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects.

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource.

Types

type APIAccessRule added in v1.2.0

type APIAccessRule struct {
	Name    string `json:"name"`
	Version string `json:"version"`
	// +optional
	Protocol string `json:"protocol,omitempty"`
}

APIAccessRule describes an access rule for allowing or denying a Dapr API.

func (*APIAccessRule) DeepCopy added in v1.2.0

func (in *APIAccessRule) DeepCopy() *APIAccessRule

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

func (*APIAccessRule) DeepCopyInto added in v1.2.0

func (in *APIAccessRule) DeepCopyInto(out *APIAccessRule)

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

type APILoggingSpec added in v1.10.0

type APILoggingSpec struct {
	// Default value for enabling API logging. Sidecars can always override this by setting `--enable-api-logging` to true or false explicitly.
	// The default value is false.
	// +optional
	Enabled *bool `json:"enabled,omitempty" yaml:"enabled,omitempty"`
	// When enabled, obfuscates the values of URLs in HTTP API logs, logging the route name rather than the full path being invoked, which could contain PII.
	// Default: false.
	// This option has no effect if API logging is disabled.
	// +optional
	ObfuscateURLs *bool `json:"obfuscateURLs,omitempty" yaml:"obfuscateURLs,omitempty"`
	// If true, health checks are not reported in API logs. Default: false.
	// This option has no effect if API logging is disabled.
	// +optional
	OmitHealthChecks *bool `json:"omitHealthChecks,omitempty" yaml:"omitHealthChecks,omitempty"`
}

APILoggingSpec defines the configuration for API logging.

func (*APILoggingSpec) DeepCopy added in v1.10.0

func (in *APILoggingSpec) DeepCopy() *APILoggingSpec

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

func (*APILoggingSpec) DeepCopyInto added in v1.10.0

func (in *APILoggingSpec) DeepCopyInto(out *APILoggingSpec)

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

type APISpec added in v1.2.0

type APISpec struct {
	// List of allowed APIs. Can be used in conjunction with denied.
	// +optional
	Allowed []APIAccessRule `json:"allowed,omitempty"`
	// List of denied APIs. Can be used in conjunction with allowed.
	// +optional
	Denied []APIAccessRule `json:"denied,omitempty"`
}

APISpec describes the configuration for Dapr APIs.

func (*APISpec) DeepCopy added in v1.2.0

func (in *APISpec) DeepCopy() *APISpec

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

func (*APISpec) DeepCopyInto added in v1.2.0

func (in *APISpec) DeepCopyInto(out *APISpec)

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

type AccessControlSpec added in v0.11.0

type AccessControlSpec struct {
	// +optional
	DefaultAction string `json:"defaultAction,omitempty" yaml:"defaultAction,omitempty"`
	// +optional
	TrustDomain string `json:"trustDomain,omitempty" yaml:"trustDomain,omitempty"`
	// +optional
	AppPolicies []AppPolicySpec `json:"policies,omitempty" yaml:"policies,omitempty"`
}

AccessControlSpec is the spec object in ConfigurationSpec.

func (*AccessControlSpec) DeepCopy added in v0.11.0

func (in *AccessControlSpec) DeepCopy() *AccessControlSpec

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

func (*AccessControlSpec) DeepCopyInto added in v0.11.0

func (in *AccessControlSpec) DeepCopyInto(out *AccessControlSpec)

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

type AppOperationAction added in v0.11.0

type AppOperationAction struct {
	Operation string `json:"name" yaml:"name"`
	Action    string `json:"action" yaml:"action"`
	// +optional
	HTTPVerb []string `json:"httpVerb,omitempty" yaml:"httpVerb,omitempty"`
}

AppOperationAction defines the data structure for each app operation.

func (*AppOperationAction) DeepCopy added in v0.11.0

func (in *AppOperationAction) DeepCopy() *AppOperationAction

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

func (*AppOperationAction) DeepCopyInto added in v0.11.0

func (in *AppOperationAction) DeepCopyInto(out *AppOperationAction)

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

type AppPolicySpec added in v0.11.0

type AppPolicySpec struct {
	AppName string `json:"appId" yaml:"appId"`
	// +optional
	DefaultAction string `json:"defaultAction,omitempty" yaml:"defaultAction,omitempty"`
	// +optional
	TrustDomain string `json:"trustDomain,omitempty" yaml:"trustDomain,omitempty"`
	// +optional
	Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"`
	// +optional
	AppOperationActions []AppOperationAction `json:"operations,omitempty" yaml:"operations,omitempty"`
}

AppPolicySpec defines the policy data structure for each app.

func (*AppPolicySpec) DeepCopy added in v0.11.0

func (in *AppPolicySpec) DeepCopy() *AppPolicySpec

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

func (*AppPolicySpec) DeepCopyInto added in v0.11.0

func (in *AppPolicySpec) DeepCopyInto(out *AppPolicySpec)

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

type ComponentsSpec added in v1.9.0

type ComponentsSpec struct {
	// Denylist of component types that cannot be instantiated
	// +optional
	Deny []string `json:"deny,omitempty" yaml:"deny,omitempty"`
}

ComponentsSpec describes the configuration for Dapr components

func (*ComponentsSpec) DeepCopy added in v1.9.0

func (in *ComponentsSpec) DeepCopy() *ComponentsSpec

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

func (*ComponentsSpec) DeepCopyInto added in v1.9.0

func (in *ComponentsSpec) DeepCopyInto(out *ComponentsSpec)

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

type Configuration

type Configuration struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +optional
	Spec ConfigurationSpec `json:"spec,omitempty"`
}

Configuration describes an Dapr configuration setting.

func (*Configuration) DeepCopy

func (in *Configuration) DeepCopy() *Configuration

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

func (*Configuration) DeepCopyInto

func (in *Configuration) DeepCopyInto(out *Configuration)

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

func (*Configuration) DeepCopyObject

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

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

type ConfigurationList

type ConfigurationList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []Configuration `json:"items"`
}

ConfigurationList is a list of Dapr event sources.

func (*ConfigurationList) DeepCopy

func (in *ConfigurationList) DeepCopy() *ConfigurationList

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

func (*ConfigurationList) DeepCopyInto

func (in *ConfigurationList) DeepCopyInto(out *ConfigurationList)

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

func (*ConfigurationList) DeepCopyObject

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

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

type ConfigurationSpec

type ConfigurationSpec struct {
	// +optional
	AppHTTPPipelineSpec *PipelineSpec `json:"appHttpPipeline,omitempty"`
	// +optional
	HTTPPipelineSpec *PipelineSpec `json:"httpPipeline,omitempty"`
	// +optional
	TracingSpec *TracingSpec `json:"tracing,omitempty"`
	// +kubebuilder:default={enabled:true}
	MetricSpec *MetricSpec `json:"metric,omitempty"`
	// +kubebuilder:default={enabled:true}
	MetricsSpec *MetricSpec `json:"metrics,omitempty"`
	// +optional
	MTLSSpec *MTLSSpec `json:"mtls,omitempty"`
	// +optional
	Secrets *SecretsSpec `json:"secrets,omitempty"`
	// +optional
	AccessControlSpec *AccessControlSpec `json:"accessControl,omitempty"`
	// +optional
	NameResolutionSpec *NameResolutionSpec `json:"nameResolution,omitempty"`
	// +optional
	Features []FeatureSpec `json:"features,omitempty"`
	// +optional
	APISpec *APISpec `json:"api,omitempty"`
	// +optional
	ComponentsSpec *ComponentsSpec `json:"components,omitempty"`
	// +optional
	LoggingSpec *LoggingSpec `json:"logging,omitempty"`
	// +optional
	WasmSpec *WasmSpec `json:"wasm,omitempty"`
	// +optional
	WorkflowSpec *WorkflowSpec `json:"workflow,omitempty"`
}

ConfigurationSpec is the spec for a configuration.

func (*ConfigurationSpec) DeepCopy

func (in *ConfigurationSpec) DeepCopy() *ConfigurationSpec

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

func (*ConfigurationSpec) DeepCopyInto

func (in *ConfigurationSpec) DeepCopyInto(out *ConfigurationSpec)

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

type DynamicValue added in v1.2.0

type DynamicValue struct {
	v1.JSON `json:",inline"`
}

DynamicValue is a dynamic value struct for the component.metadata pair value.

func (*DynamicValue) DeepCopy added in v1.2.0

func (in *DynamicValue) DeepCopy() *DynamicValue

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

func (*DynamicValue) DeepCopyInto added in v1.2.0

func (in *DynamicValue) DeepCopyInto(out *DynamicValue)

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

func (*DynamicValue) String added in v1.2.0

func (d *DynamicValue) String() string

String returns the string representation of the raw value. If the value is a string, it will be unquoted as the string is guaranteed to be a JSON serialized string.

type FeatureSpec added in v1.2.0

type FeatureSpec struct {
	Name    string `json:"name" yaml:"name"`
	Enabled *bool  `json:"enabled" yaml:"enabled"`
}

FeatureSpec defines the features that are enabled/disabled.

func (*FeatureSpec) DeepCopy added in v1.2.0

func (in *FeatureSpec) DeepCopy() *FeatureSpec

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

func (*FeatureSpec) DeepCopyInto added in v1.2.0

func (in *FeatureSpec) DeepCopyInto(out *FeatureSpec)

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

type HandlerSpec added in v0.4.0

type HandlerSpec struct {
	Name string `json:"name"`
	Type string `json:"type"`
	// +optional
	SelectorSpec *SelectorSpec `json:"selector,omitempty"`
}

HandlerSpec defines a request handlers.

func (*HandlerSpec) DeepCopy added in v0.4.0

func (in *HandlerSpec) DeepCopy() *HandlerSpec

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

func (*HandlerSpec) DeepCopyInto added in v0.4.0

func (in *HandlerSpec) DeepCopyInto(out *HandlerSpec)

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

type LoggingSpec added in v1.10.0

type LoggingSpec struct {
	// Configure API logging.
	// +optional
	APILogging *APILoggingSpec `json:"apiLogging,omitempty" yaml:"apiLogging,omitempty"`
}

LoggingSpec defines the configuration for logging.

func (*LoggingSpec) DeepCopy added in v1.10.0

func (in *LoggingSpec) DeepCopy() *LoggingSpec

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

func (*LoggingSpec) DeepCopyInto added in v1.10.0

func (in *LoggingSpec) DeepCopyInto(out *LoggingSpec)

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

type MTLSSpec added in v0.4.0

type MTLSSpec struct {
	Enabled *bool `json:"enabled"`
	// +optional
	WorkloadCertTTL *string `json:"workloadCertTTL,omitempty"`
	// +optional
	AllowedClockSkew        *string `json:"allowedClockSkew,omitempty"`
	SentryAddress           string  `json:"sentryAddress"`
	ControlPlaneTrustDomain string  `json:"controlPlaneTrustDomain"`
	// Additional token validators to use.
	// When Dapr is running in Kubernetes mode, this is in addition to the built-in "kubernetes" validator.
	// In self-hosted mode, enabling a custom validator will disable the built-in "insecure" validator.
	// +optional
	TokenValidators []ValidatorSpec `json:"tokenValidators,omitempty"`
}

MTLSSpec defines mTLS configuration.

func (*MTLSSpec) DeepCopy added in v0.4.0

func (in *MTLSSpec) DeepCopy() *MTLSSpec

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

func (*MTLSSpec) DeepCopyInto added in v0.4.0

func (in *MTLSSpec) DeepCopyInto(out *MTLSSpec)

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

func (*MTLSSpec) GetEnabled added in v1.12.0

func (m *MTLSSpec) GetEnabled() bool

GetEnabled returns true if mTLS is enabled.

type MetricHTTP added in v1.13.0

type MetricHTTP struct {
	// If false, metrics for the HTTP server are collected with increased cardinality.
	// The default is true in Dapr 1.13, but will be changed to false in 1.14+
	// TODO @ItalyPaleAle [MetricsCardinality] Change default in 1.14
	// +optional
	IncreasedCardinality *bool `json:"increasedCardinality,omitempty"`
}

MetricHTTP defines configuration for metrics for the HTTP server

func (*MetricHTTP) DeepCopy added in v1.13.0

func (in *MetricHTTP) DeepCopy() *MetricHTTP

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

func (*MetricHTTP) DeepCopyInto added in v1.13.0

func (in *MetricHTTP) DeepCopyInto(out *MetricHTTP)

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

type MetricLabel added in v1.10.0

type MetricLabel struct {
	Name  string            `json:"name"`
	Regex map[string]string `json:"regex"`
}

MetricsLabel defines an object that allows to set regex expressions for a label.

func (*MetricLabel) DeepCopy added in v1.10.0

func (in *MetricLabel) DeepCopy() *MetricLabel

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

func (*MetricLabel) DeepCopyInto added in v1.10.0

func (in *MetricLabel) DeepCopyInto(out *MetricLabel)

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

type MetricSpec added in v1.0.0

type MetricSpec struct {
	Enabled *bool `json:"enabled"`
	// +optional
	HTTP *MetricHTTP `json:"http,omitempty"`
	// +optional
	Rules []MetricsRule `json:"rules,omitempty"`
}

MetricSpec defines metrics configuration.

func (*MetricSpec) DeepCopy added in v1.0.0

func (in *MetricSpec) DeepCopy() *MetricSpec

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

func (*MetricSpec) DeepCopyInto added in v1.0.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 MetricsRule added in v1.10.0

type MetricsRule struct {
	Name   string        `json:"name"`
	Labels []MetricLabel `json:"labels"`
}

MetricsRule defines configuration options for a metric.

func (*MetricsRule) DeepCopy added in v1.10.0

func (in *MetricsRule) DeepCopy() *MetricsRule

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

func (*MetricsRule) DeepCopyInto added in v1.10.0

func (in *MetricsRule) DeepCopyInto(out *MetricsRule)

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

type NameResolutionSpec added in v1.2.0

type NameResolutionSpec struct {
	Component     string        `json:"component"`
	Version       string        `json:"version"`
	Configuration *DynamicValue `json:"configuration"`
}

NameResolutionSpec is the spec for name resolution configuration.

func (*NameResolutionSpec) DeepCopy added in v1.2.0

func (in *NameResolutionSpec) DeepCopy() *NameResolutionSpec

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

func (*NameResolutionSpec) DeepCopyInto added in v1.2.0

func (in *NameResolutionSpec) DeepCopyInto(out *NameResolutionSpec)

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

type OtelSpec added in v1.9.0

type OtelSpec struct {
	Protocol        string `json:"protocol" yaml:"protocol"`
	EndpointAddress string `json:"endpointAddress" yaml:"endpointAddress"`
	IsSecure        *bool  `json:"isSecure" yaml:"isSecure"`
}

OtelSpec defines Otel exporter configurations.

func (*OtelSpec) DeepCopy added in v1.9.0

func (in *OtelSpec) DeepCopy() *OtelSpec

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

func (*OtelSpec) DeepCopyInto added in v1.9.0

func (in *OtelSpec) DeepCopyInto(out *OtelSpec)

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

type PipelineSpec added in v0.4.0

type PipelineSpec struct {
	Handlers []HandlerSpec `json:"handlers"`
}

PipelineSpec defines the middleware pipeline.

func (*PipelineSpec) DeepCopy added in v0.4.0

func (in *PipelineSpec) DeepCopy() *PipelineSpec

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

func (*PipelineSpec) DeepCopyInto added in v0.4.0

func (in *PipelineSpec) DeepCopyInto(out *PipelineSpec)

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

type SecretsScope added in v0.11.0

type SecretsScope struct {
	StoreName string `json:"storeName"`
	// +optional
	DefaultAccess string `json:"defaultAccess,omitempty"`
	// +optional
	AllowedSecrets []string `json:"allowedSecrets,omitempty"`
	// +optional
	DeniedSecrets []string `json:"deniedSecrets,omitempty"`
}

SecretsScope defines the scope for secrets.

func (*SecretsScope) DeepCopy added in v0.11.0

func (in *SecretsScope) DeepCopy() *SecretsScope

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

func (*SecretsScope) DeepCopyInto added in v0.11.0

func (in *SecretsScope) DeepCopyInto(out *SecretsScope)

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

type SecretsSpec added in v0.11.0

type SecretsSpec struct {
	Scopes []SecretsScope `json:"scopes"`
}

SecretsSpec is the spec for secrets configuration.

func (*SecretsSpec) DeepCopy added in v0.11.0

func (in *SecretsSpec) DeepCopy() *SecretsSpec

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

func (*SecretsSpec) DeepCopyInto added in v0.11.0

func (in *SecretsSpec) DeepCopyInto(out *SecretsSpec)

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

type SelectorField added in v0.4.0

type SelectorField struct {
	Field string `json:"field"`
	Value string `json:"value"`
}

SelectorField defines a selector fields.

func (*SelectorField) DeepCopy added in v0.4.0

func (in *SelectorField) DeepCopy() *SelectorField

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

func (*SelectorField) DeepCopyInto added in v0.4.0

func (in *SelectorField) DeepCopyInto(out *SelectorField)

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

type SelectorSpec added in v0.4.0

type SelectorSpec struct {
	Fields []SelectorField `json:"fields"`
}

SelectorSpec selects target services to which the handler is to be applied.

func (*SelectorSpec) DeepCopy added in v0.4.0

func (in *SelectorSpec) DeepCopy() *SelectorSpec

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

func (*SelectorSpec) DeepCopyInto added in v0.4.0

func (in *SelectorSpec) DeepCopyInto(out *SelectorSpec)

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

type TracingSpec

type TracingSpec struct {
	SamplingRate string `json:"samplingRate"`
	// +optional
	Stdout *bool `json:"stdout,omitempty"`
	// +optional
	Zipkin *ZipkinSpec `json:"zipkin,omitempty"`
	// +optional
	Otel *OtelSpec `json:"otel,omitempty"`
}

TracingSpec defines distributed tracing configuration.

func (*TracingSpec) DeepCopy

func (in *TracingSpec) DeepCopy() *TracingSpec

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

func (*TracingSpec) DeepCopyInto

func (in *TracingSpec) DeepCopyInto(out *TracingSpec)

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

type ValidatorSpec added in v1.12.0

type ValidatorSpec struct {
	// Name of the validator
	// +kubebuilder:validation:Enum={"jwks"}
	Name string `json:"name"`
	// Options for the validator, if any
	Options *DynamicValue `json:"options,omitempty"`
}

ValidatorSpec contains additional token validators to use.

func (*ValidatorSpec) DeepCopy added in v1.12.0

func (in *ValidatorSpec) DeepCopy() *ValidatorSpec

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

func (*ValidatorSpec) DeepCopyInto added in v1.12.0

func (in *ValidatorSpec) DeepCopyInto(out *ValidatorSpec)

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

type WasmSpec added in v1.12.0

type WasmSpec struct {
	// Force enabling strict sandbox mode for all WASM components.
	// When this is enabled, WASM components always run in strict mode regardless of their configuration.
	// Strict mode enhances security of the WASM sandbox by limiting access to certain capabilities such as real-time clocks and random number generators.
	StrictSandbox bool `json:"strictSandbox,omitempty"`
}

WasmSpec describes the security profile for all Dapr Wasm components.

func (*WasmSpec) DeepCopy added in v1.12.0

func (in *WasmSpec) DeepCopy() *WasmSpec

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

func (*WasmSpec) DeepCopyInto added in v1.12.0

func (in *WasmSpec) DeepCopyInto(out *WasmSpec)

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

type WorkflowSpec added in v1.13.0

type WorkflowSpec struct {
	// maxConcurrentWorkflowInvocations is the maximum number of concurrent workflow invocations that can be scheduled by a single Dapr instance.
	// Attempted invocations beyond this will be queued until the number of concurrent invocations drops below this value.
	// If omitted, the default value of 100 will be used.
	// +optional
	MaxConcurrentWorkflowInvocations int32 `json:"maxConcurrentWorkflowInvocations,omitempty"`
	// maxConcurrentActivityInvocations is the maximum number of concurrent activities that can be processed by a single Dapr instance.
	// Attempted invocations beyond this will be queued until the number of concurrent invocations drops below this value.
	// If omitted, the default value of 100 will be used.
	// +optional
	MaxConcurrentActivityInvocations int32 `json:"maxConcurrentActivityInvocations,omitempty"`
}

WorkflowSpec defines the configuration for Dapr workflows.

func (*WorkflowSpec) DeepCopy added in v1.13.0

func (in *WorkflowSpec) DeepCopy() *WorkflowSpec

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

func (*WorkflowSpec) DeepCopyInto added in v1.13.0

func (in *WorkflowSpec) DeepCopyInto(out *WorkflowSpec)

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

type ZipkinSpec added in v1.0.0

type ZipkinSpec struct {
	EndpointAddresss string `json:"endpointAddress"`
}

ZipkinSpec defines Zipkin trace configurations.

func (*ZipkinSpec) DeepCopy added in v1.0.0

func (in *ZipkinSpec) DeepCopy() *ZipkinSpec

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

func (*ZipkinSpec) DeepCopyInto added in v1.0.0

func (in *ZipkinSpec) DeepCopyInto(out *ZipkinSpec)

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