configurations

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration added in v0.2.0

type Configuration struct {
	Name            string      `json:"name"`
	Kind            string      `json:"kind"`
	Created         string      `json:"created"`
	Age             string      `json:"age"`
	TracingEnabled  bool        `json:"tracingEnabled"`
	SamplingRate    string      `json:"samplingRate"`
	MetricsEnabled  bool        `json:"metricsEnabled"`
	MTLSEnabled     bool        `json:"mtlsEnabled"`
	WorkloadCertTTL string      `json:"mtlsWorkloadTTL"`
	ClockSkew       string      `json:"mtlsClockSkew"`
	Manifest        interface{} `json:"manifest"`
}

Configuration represents a Dapr configuration

type Configurations

type Configurations interface {
	Supported() bool
	GetConfiguration(scope string, name string) Configuration
	GetConfigurations(scope string) []Configuration
}

Configurations is an interface to interact with Dapr configurations

func NewConfigurations

func NewConfigurations(platform platforms.Platform, daprClient scheme.Interface, configPath string) Configurations

NewConfigurations returns a new Configurations instance

Jump to

Keyboard shortcuts

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