plugin_portainer

package
v1.3.1-0...-3e602c1 Latest Latest
Warning

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

Go to latest
Published: May 27, 2023 License: GPL-2.0 Imports: 7 Imported by: 0

README

Portainer plugin module

Unmaintained

About this module

Thi s module will spin up a Portainer container after Docker was installed. It is used to provide a UI for managing containers.

Therefore it is not well integrated yet. In the future I plan to make most actions achievable via Portainer. If that does not work, this plugin may be dropped in favour of a regular application one can deploy.

Resources

TBD

Configuration

TBD

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

type Module struct {
}

func (Module) Deploy

func (m Module) Deploy(moduleSettings interface{}) error

func (Module) Destroy

func (m Module) Destroy(moduleSettings interface{}) error

func (Module) GetConfig

func (Module) GetConfig() system.ModuleConfig

func (Module) GetTemplates

func (Module) GetTemplates() *embed.FS

func (Module) Init

func (Module) Init(moduleSettings interface{})

func (Module) Install

func (Module) Install(moduleSettings interface{}) error

type PortainerConfig

type PortainerConfig struct {
	ContainerName string `json:"container_name"`
	Server        string
	Port          int
	ApiUser       string `json:"api_user"`
	ApiPassword   string `json:"api_password"`
}

func (*PortainerConfig) SetDefaults

func (p *PortainerConfig) SetDefaults()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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