fixtures

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2023 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetController

func GetController(fixtures map[string]interface{}) (kodex.Controller, error)

Types

type ActionConfig

type ActionConfig struct {
	Name    string
	Project string
	Type    string
	Config  map[string]interface{}
}

func (ActionConfig) Setup

func (a ActionConfig) Setup(fixtures map[string]interface{}) (interface{}, error)

func (ActionConfig) Teardown

func (a ActionConfig) Teardown(fixture interface{}) error

type ActionMap

type ActionMap struct {
	Config string
	Action string
	Index  int
}

func (ActionMap) Setup

func (a ActionMap) Setup(fixtures map[string]interface{}) (interface{}, error)

func (ActionMap) Teardown

func (a ActionMap) Teardown(fixture interface{}) error

type Blueprint

type Blueprint struct {
	Config map[string]interface{}
}

func (Blueprint) Setup

func (c Blueprint) Setup(fixtures map[string]interface{}) (interface{}, error)

func (Blueprint) Teardown

func (c Blueprint) Teardown(fixture interface{}) error

type Config

type Config struct {
	Stream  string
	Name    string
	Version string
	Source  string
	Status  kodex.ConfigStatus
}

func (Config) Setup

func (c Config) Setup(fixtures map[string]interface{}) (interface{}, error)

func (Config) Teardown

func (c Config) Teardown(fixture interface{}) error

type Controller

type Controller struct {
}

func (Controller) Setup

func (c Controller) Setup(fixtures map[string]interface{}) (interface{}, error)

func (Controller) Teardown

func (c Controller) Teardown(fixture interface{}) error

type Definitions

type Definitions struct {
	Definitions kodex.Definitions
}

func (Definitions) Setup

func (c Definitions) Setup(fixtures map[string]interface{}) (interface{}, error)

func (Definitions) Teardown

func (c Definitions) Teardown(fixture interface{}) error

type Destination

type Destination struct {
	Name            string
	Project         string
	DestinationType string
	Config          map[string]interface{}
}

func (Destination) Setup

func (o Destination) Setup(fixtures map[string]interface{}) (interface{}, error)

func (Destination) Teardown

func (o Destination) Teardown(fixture interface{}) error

type DestinationAdder

type DestinationAdder struct {
	Destination string
	Config      string
	Status      string
	Name        string
}

func (DestinationAdder) Setup

func (o DestinationAdder) Setup(fixtures map[string]interface{}) (interface{}, error)

func (DestinationAdder) Teardown

func (o DestinationAdder) Teardown(fixture interface{}) error

type Plugin

type Plugin struct {
	Maker  kodex.PluginMaker
	Config map[string]interface{}
}

func (Plugin) Setup

func (o Plugin) Setup(fixtures map[string]interface{}) (interface{}, error)

func (Plugin) Teardown

func (o Plugin) Teardown(fixture interface{}) error

type Project

type Project struct {
	Name string
}

func (Project) Setup

func (c Project) Setup(fixtures map[string]interface{}) (interface{}, error)

func (Project) Teardown

func (c Project) Teardown(fixture interface{}) error

type Settings

type Settings struct {
}

func (Settings) Setup

func (c Settings) Setup(fixtures map[string]interface{}) (interface{}, error)

func (Settings) Teardown

func (c Settings) Teardown(fixture interface{}) error

type Source

type Source struct {
	Name       string
	Project    string
	SourceType string
	Config     map[string]interface{}
}

func (Source) Setup

func (i Source) Setup(fixtures map[string]interface{}) (interface{}, error)

func (Source) Teardown

func (i Source) Teardown(fixture interface{}) error

type SourceAdder

type SourceAdder struct {
	Source string
	Stream string
	Status string
}

func (SourceAdder) Setup

func (i SourceAdder) Setup(fixtures map[string]interface{}) (interface{}, error)

func (SourceAdder) Teardown

func (i SourceAdder) Teardown(fixture interface{}) error

type Stream

type Stream struct {
	Name    string
	Project string
}

func (Stream) Setup

func (c Stream) Setup(fixtures map[string]interface{}) (interface{}, error)

func (Stream) Teardown

func (c Stream) Teardown(fixture interface{}) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL