components

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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Component added in v0.2.0

type Component struct {
	Name     string      `json:"name"`
	Kind     string      `json:"kind"`
	Type     string      `json:"type"`
	Created  string      `json:"created"`
	Age      string      `json:"age"`
	Scopes   []string    `json:"scopes"`
	Manifest interface{} `json:"manifest"`
}

Component represents a Dapr component

type Components

type Components interface {
	Supported() bool
	GetComponent(scope string, name string) Component
	GetComponents(scope string) []Component
}

Components is an interface to interact with Dapr components

func NewComponents

func NewComponents(platform platforms.Platform, daprClient scheme.Interface, componentsPath string) Components

NewComponents returns a new Components instance

Jump to

Keyboard shortcuts

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