seed

package
v1.1.46 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: BSD-3-Clause Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgoraPayload

type AgoraPayload struct {
	Namespace     string `json:"namespace"`
	Name          string `json:"name"`
	Synopsis      string `json:"synopsis"`
	Documentation string `json:"documentation"`
	Payload       string `json:"payload"`
	EntityType    string `json:"entityType"`
}

type AgoraPermission

type AgoraPermission struct {
	User string `json:"user"`
	Role string `json:"role"`
}

type SeedOptions

type SeedOptions struct {
	Step1CreateElasticsearch bool
	Step2RegisterSaProfiles  bool
	Step3AddSaSamPermissions bool
	Step4RegisterTestUsers   bool
	Step5CreateAgora         bool
	Step6ExtraUser           []string
	RegisterSelfShortcut     bool
	// contains filtered or unexported fields
}

type Seeder

type Seeder interface {
	Seed(env terra.Environment, seedOptions SeedOptions) error
	Unseed(env terra.Environment, unseedOptions UnseedOptions) error
}

func New

func New(kubectl kubectl.Kubectl, clientFactory clients.Clients, thelmaConfig config.Config, shellRunner shell.Runner) Seeder

type TestUser

type TestUser struct {
	Role      string
	FirstName string
	LastName  string
	Email     string
}

type UnseedOptions

type UnseedOptions struct {
	Step1UnregisterAllUsers bool
	// contains filtered or unexported fields
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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