Documentation ¶
Index ¶
Constants ¶
View Source
const ( NP_MASTER = "NP_MASTER" NP_KCONFIG_PATH = "NP_KCONFIG_PATH" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssertStep ¶
type ChangeStep ¶
type KubeInfo ¶
func KubeInfoFromEnv ¶
type NodeClass ¶
type NodeClass struct { Name string Count uint Labels map[string]string Resources NodeResources }
type NodeConfig ¶
type NodeConfig struct {
NodeClasses []NodeClass `yaml:"nodeClasses"`
}
func NodeConfigFromBytes ¶
func NodeConfigFromBytes(data []byte) (*NodeConfig, error)
func NodeConfigFromFile ¶
func NodeConfigFromFile(path string) (*NodeConfig, error)
func (*NodeConfig) AsYaml ¶
func (n *NodeConfig) AsYaml() (string, error)
type NodeResources ¶
type PodConfig ¶
type PodConfig struct {
PodClasses []PodClass `yaml:"podClasses"`
}
func PodConfigFromBytes ¶
func PodConfigFromFile ¶
type Scenario ¶
type Scenario struct { ScenarioYaml Steps []*Step }
func ScenarioFromBytes ¶
func ScenarioFromFile ¶
type ScenarioYaml ¶
type Step ¶
type Step struct { Verb Verb Assert *AssertStep Create *CreateStep Change *ChangeStep Delete *DeleteStep }
func ParseSteps ¶
Click to show internal directories.
Click to hide internal directories.