config

package
v0.0.62 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: GPL-3.0 Imports: 17 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
	Definition v1.ConfigurationDefinition
}

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) (contracts.ResponseImplementation, error)

func (*Config) Compare added in v0.0.52

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

func (*Config) Delete

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

func (*Config) Get

func (*Config) GetShared added in v0.0.52

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

func (*Config) List

func (*Config) ListSupported

func (config *Config) ListSupported(args ...interface{}) contracts.ResponseOperator

func (*Config) Remove added in v0.0.52

func (config *Config) Remove(request contracts.RequestOperator) contracts.ResponseOperator

func (*Config) Run

func (config *Config) Run(operation string, args ...interface{}) contracts.ResponseOperator

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