Documentation ¶
Index ¶
- type Provider
- func (a Provider) DataSource(resource string) (*resource.Resource, error)
- func (a Provider) IsEdge(resource string) bool
- func (a Provider) IsNode(resource string) bool
- func (a Provider) Resource(resource string) (*resource.Resource, error)
- func (a Provider) ResourceInOutNodes(id, rs string, cfgs map[string]map[string]interface{}) ([]string, []string, []string)
- func (a Provider) Type() provider.Type
- func (a Provider) UsedAttributes() []string
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 ¶
DataSource 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) UsedAttributes ¶
UsedAttributes returns all the attributes that are required/used/needed on the providers, so when we have to prune we know what to keep
Click to show internal directories.
Click to hide internal directories.