Version: v0.6.7 Latest Latest

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

Go to latest
Published: Jul 9, 2021 License: MIT Imports: 5 Imported by: 0




This section is empty.


This section is empty.


This section is empty.


type Provider

type Provider struct {

Provider is the Type that defines the interface 'provider.Interface'

func (Provider) DataSource

func (a Provider) DataSource(resource string) (*resource.Resource, error)

DataSource returns the resource information

func (Provider) IsEdge

func (a Provider) IsEdge(resource string) bool

IsEdge returns if the resource is an Edge

func (Provider) IsNode

func (a Provider) IsNode(resource string) bool

IsNode returns if the resources is a Node

func (Provider) Resource

func (a Provider) Resource(resource string) (*resource.Resource, error)

Resource returns the resource information

func (Provider) ResourceInOutNodes added in v0.4.0

func (a Provider) ResourceInOutNodes(id, rs string, cfgs map[string]map[string]interface{}) ([]string, []string, []string)

ResourceInOutNodes returns the In, Out and Nodes of the rs based on the cfg

func (Provider) Type

func (a Provider) Type() provider.Type

Type returns the type of the implementation

func (Provider) UsedAttributes

func (a Provider) UsedAttributes() []string

UsedAttributes returns all the attributes that are required/used/needed on the providers, so when we have to prune we know what to keep

Jump to

Keyboard shortcuts

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