components

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2021 License: MIT Imports: 10 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 string, daprClient scheme.Interface) 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