data

package
v0.0.16-alpha Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2023 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AzureStorageAccount

type AzureStorageAccount struct {
	StorageAccountName string
	ContainerName      string
	BlobName           string
}

func (AzureStorageAccount) Read

func (p AzureStorageAccount) Read() (Parameters, error)

func (AzureStorageAccount) Save

func (p AzureStorageAccount) Save(params Parameters) error

func (AzureStorageAccount) String

func (p AzureStorageAccount) String() string

type DataProviderInterface

type DataProviderInterface interface {
	Read() (Parameters, error)
	Save(Parameters) error
}

type LocalFile

type LocalFile struct {
	FilePath string
}

func (LocalFile) Read

func (p LocalFile) Read() (Parameters, error)

func (LocalFile) Save

func (p LocalFile) Save(params Parameters) error

type Parameter

type Parameter struct {
	Name       string                 `json:"name"`
	Type       string                 `json:"type"`
	Value      string                 `json:"value"`
	Attributes map[string]interface{} `json:"attributes"`
	Info       string                 `json:"info"`
}

func (*Parameter) String

func (p *Parameter) String() string

func (*Parameter) ToJSON

func (p *Parameter) ToJSON() string

func (*Parameter) ToYAML

func (p *Parameter) ToYAML() string

type Parameters

type Parameters []Parameter

func (*Parameters) Add

func (p *Parameters) Add(prm Parameter)

func (*Parameters) Filter

func (p *Parameters) Filter(filterList string) Parameters

func (*Parameters) IfExists

func (p *Parameters) IfExists(prm Parameter) (bool, int)

func (*Parameters) Remove

func (p *Parameters) Remove(parameterList string)

Jump to

Keyboard shortcuts

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