Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Mock ¶ added in v0.6.0
func Mock(version string, getNsConfig func() api.Config, getTfeConfig func() *tfe.Config, alterPlanConfig func(config *PlanConfig)) tfprotov5.ProviderServer
func New ¶
func New(version string) tfprotov5.ProviderServer
Types ¶
type ErrViaConnectionNotFound ¶ added in v0.5.9
type ErrViaConnectionNotFound struct { Workspace types.WorkspaceTarget Via string }
func (*ErrViaConnectionNotFound) Error ¶ added in v0.5.10
func (e *ErrViaConnectionNotFound) Error() string
func (*ErrViaConnectionNotFound) Is ¶ added in v0.5.10
func (e *ErrViaConnectionNotFound) Is(target error) bool
Is implements error wrapping Is(error) bool interface
type PlanConfig ¶ added in v0.2.0
type PlanConfig workspaces.Manifest
func LoadPlanConfig ¶ added in v0.6.0
func LoadPlanConfig() (PlanConfig, error)
LoadPlanConfig loads nullstone context for the current workspace Originally, this was in a file named `.nullstone.json`, but moved to `.nullstone/active-workspace.yml` As a result, this function will attempt the following:
- Load `.nullstone/active-workspace.yml`
- If not found, load `.nullstone.json`
- Fall back to environment variables for each attribute
func (PlanConfig) WorkspaceTarget ¶ added in v0.5.0
func (c PlanConfig) WorkspaceTarget() types.WorkspaceTarget
Click to show internal directories.
Click to hide internal directories.