openstack

package
Version: v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 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 Provider

type Provider struct {
	provider.NopProvider
}

Provider is the Type that implements 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 resource is a Node

func (Provider) Resource

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

Resource returns the resource information

func (Provider) ResourceInOut

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

ResourceInOut returns the In and Out 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