Documentation
¶
Index ¶
- type Config
- func (c Config) Join(others ...Config) (joined Config)
- func (c Config) OwnedByAdminWorkspace() Config
- func (c Config) ReplaceAll(old, replacement string) (modified Config)
- func (c Config) SingleResourceAddress(out *Identifier) Config
- func (c Config) SingleResourceAddressWithType(resourceType string, out *Identifier) Config
- func (c Config) String() string
- type DataSource
- type Identifier
- type Resource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v0.18.0
type Config string
func (Config) OwnedByAdminWorkspace ¶ added in v0.18.0
func (Config) ReplaceAll ¶ added in v0.18.0
func (Config) SingleResourceAddress ¶ added in v0.18.0
func (c Config) SingleResourceAddress(out *Identifier) Config
func (Config) SingleResourceAddressWithType ¶ added in v0.19.0
func (c Config) SingleResourceAddressWithType(resourceType string, out *Identifier) Config
type DataSource ¶ added in v0.17.0
type DataSource struct {
// Name is required, Suffix is optional (useful when multiple example files are present).
Name, Suffix string
}
func (DataSource) Config ¶ added in v0.18.0
func (d DataSource) Config() Config
type Identifier ¶ added in v0.18.0
type Identifier []string
func (Identifier) Format ¶ added in v0.18.0
func (a Identifier) Format(format string, args ...any) string
func (Identifier) Join ¶ added in v0.18.0
func (a Identifier) Join(elems ...string) Identifier
func (Identifier) String ¶ added in v0.18.0
func (a Identifier) String() string
type Resource ¶ added in v0.17.0
type Resource struct {
// Name is required, Suffix is optional (useful when multiple example files are present).
Name, Suffix string
}
func (Resource) TestSupportConfig ¶ added in v0.18.0
Click to show internal directories.
Click to hide internal directories.