secrets

package
v0.0.123 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendRequest

func SendRequest(client *http.Client, URL string, method string, data []byte) *contracts.Response

Types

type Object

type Object struct {
	Byte       []byte
	String     string
	Definition map[string]interface{}
	Category   string

	Changelog diff.Changelog
	Raw       bool

	Owner   string
	Created time.Time
	Updated time.Time
	User    *authentication.User
	// contains filtered or unexported fields
}

func (*Object) AddLocal added in v0.0.110

func (obj *Object) AddLocal(format contracts.Format, data []byte) error

func (*Object) ChangeDetected

func (obj *Object) ChangeDetected() bool

func (*Object) Diff

func (obj *Object) Diff(definition []byte) bool

func (*Object) Exists

func (obj *Object) Exists() bool

func (*Object) Find

func (obj *Object) Find(format contracts.Format) error

func (*Object) FindMany

func (obj *Object) FindMany(format contracts.Format) (map[string]contracts.ObjectInterface, error)

func (*Object) GetDefinition

func (obj *Object) GetDefinition() map[string]any

func (*Object) GetDefinitionByte

func (obj *Object) GetDefinitionByte() []byte

func (*Object) GetDefinitionString

func (obj *Object) GetDefinitionString() string

func (*Object) GetDiff added in v0.0.114

func (obj *Object) GetDiff() []diff.Change

func (*Object) Propose added in v0.0.119

func (obj *Object) Propose(format contracts.Format, data []byte) error

func (*Object) RemoveLocal added in v0.0.114

func (obj *Object) RemoveLocal(format contracts.Format) (bool, error)

func (*Object) Wait added in v0.0.119

func (obj *Object) Wait(format contracts.Format) error

Directories

Path Synopsis
Package mock_objects is a generated GoMock package.
Package mock_objects is a generated GoMock package.

Jump to

Keyboard shortcuts

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