Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnAzureKubernetesClusterWeCanReadTheConfigurationOf ¶
func AnAzureKubernetesClusterWeCanReadTheConfigurationOf(scenario *ScenarioState) (json []byte, err error)
AnAzureKubernetesClusterWeCanReadTheConfigurationOf ...
Types ¶
type ScenarioState ¶
type ScenarioState struct {
Name string
CurrentStep string
Audit *audit.Scenario
Probe *audit.Probe
Ctx context.Context
Tags map[string]*string
AZConnection connection.Azure
}
ScenarioState is the base struct for handling state across steps in a scenario
func (ScenarioState) GetScenarioState ¶
func (s ScenarioState) GetScenarioState() *ScenarioState
GetScenarioState returns the ScenarioState struct - useful if used as an embedded field (see comment on OPAProbe)
Click to show internal directories.
Click to hide internal directories.