Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dependencies ¶
type ProviderMetadata ¶
type ProviderMetadata struct { Name string `yaml:"name"` Resources map[string]*Resource `yaml:"resources"` // contains filtered or unexported fields }
func NewProviderMetadata ¶
func NewProviderMetadata(name, codeXPath, preludeXPath, fieldPathXPath, importXPath string) *ProviderMetadata
func NewProviderMetadataFromFile ¶
func NewProviderMetadataFromFile(path string) (*ProviderMetadata, error)
func (*ProviderMetadata) ScrapeRepo ¶
func (pm *ProviderMetadata) ScrapeRepo(config *ScrapeConfiguration) error
func (*ProviderMetadata) Store ¶
func (pm *ProviderMetadata) Store(path string) error
type Resource ¶
type Resource struct { SubCategory string `yaml:"subCategory"` Description string `yaml:"description,omitempty"` Name string `yaml:"name"` TitleName string `yaml:"titleName"` Examples []ResourceExample `yaml:"examples,omitempty"` ArgumentDocs map[string]string `yaml:"argumentDocs"` ImportStatements []string `yaml:"importStatements"` // contains filtered or unexported fields }
func (*Resource) AddArgumentDoc ¶
type ResourceExample ¶
type ResourceExample struct { Name string `yaml:"name"` Manifest string `yaml:"manifest"` References map[string]string `yaml:"references,omitempty"` Dependencies Dependencies `yaml:"dependencies,omitempty"` }
type ScrapeConfiguration ¶
Click to show internal directories.
Click to hide internal directories.