components

package
v0.1.2-rc Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Components

type Components interface {
	Supported() bool
	GetComponents() []v1alpha1.Component
	GetComponent(name string) v1alpha1.Component
	GetStatus() []ComponentsOutput
}

Components is an interface to interact with Dapr components

func NewComponents

func NewComponents(daprClient scheme.Interface) Components

NewComponents returns a new Components instance

type ComponentsOutput

type ComponentsOutput struct {
	Name    string `json:"name"`
	Type    string `json:"type"`
	Age     string `json:"age"`
	Created string `json:"created"`
}

ComponentsOutput represent a Dapr component.

Jump to

Keyboard shortcuts

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