config

package
v0.0.105 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const KIND string = "configuration"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Started bool
	Shared  *Shared
	Client  *http.Client
}

func New

func New(mgr *manager.Manager) *Config

func (*Config) Apply added in v0.0.52

func (config *Config) Apply(user *authentication.User, jsonData []byte, agent string) (contracts.Response, error)

func (*Config) Compare added in v0.0.52

func (config *Config) Compare(user *authentication.User, jsonData []byte) (contracts.Response, error)

func (*Config) Delete

func (config *Config) Delete(user *authentication.User, jsonData []byte, agent string) (contracts.Response, error)

func (*Config) Get

func (config *Config) Get(request contracts.Control) contracts.Response

func (*Config) GetShared added in v0.0.52

func (config *Config) GetShared() interface{}

func (*Config) List

func (config *Config) List(request contracts.Control) contracts.Response

func (*Config) ListSupported

func (config *Config) ListSupported(request contracts.Control) contracts.Response

func (*Config) Remove added in v0.0.52

func (config *Config) Remove(request contracts.Control) contracts.Response

func (*Config) Run

func (config *Config) Run(operation string, request contracts.Control) contracts.Response

func (*Config) Start added in v0.0.52

func (config *Config) Start() error

type Shared added in v0.0.52

type Shared struct {
	Manager *manager.Manager
	Client  *client.Http
}

Jump to

Keyboard shortcuts

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