providers

package module
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 License: MIT Imports: 2 Imported by: 0

README

providers

Third party providers

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DNSProvider added in v0.0.4

type DNSProvider interface {
	Name() string
	CreateRecord(context.Context, *ertia.Project) (*ertia.Project, error)
}

type KeyProvider

type KeyProvider interface {
	CreateKey(context.Context, *ertia.Project, *ertia.SSHKey) (*ertia.Project, error)
	DeleteKey(context.Context, *ertia.Project) (*ertia.Project, error)
	SyncKeys(context.Context, *ertia.Project) (*ertia.Project, error)
}

type NodeProvider

type NodeProvider interface {
	Name() string
	CreateNode(ctx context.Context, cfg *ertia.Project, node *ertia.Node) (*ertia.Project, error)
	DeleteNode(context.Context, *ertia.Project, string) (*ertia.Project, error)
	RestartNode(context.Context, *ertia.Project, string) (*ertia.Project, error)
	StopNode(context.Context, *ertia.Project, string) (*ertia.Project, error)
	StartNode(context.Context, *ertia.Project, string) (*ertia.Project, error)
	ReplaceNode(context.Context, *ertia.Project, string) (*ertia.Project, error)
	SyncNodes(ctx context.Context, cfg *ertia.Project) (*ertia.Project, error)
	SyncDependencies(ctx context.Context, cfg *ertia.Project) (*ertia.Project, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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