datarecv

package
v3.0.0-beta16 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Keywords

func Keywords(prefix string) []keywords.Keyword

Types

type DataRecv

type DataRecv struct {
	Install []string     `json:"install"`
	User    string       `json:"user"`
	Group   string       `json:"group"`
	Perm    *os.FileMode `json:"perm"`
	DirPerm *os.FileMode `json:"dirperm"`
	Signal  string       `json:"signal"`

	// Deprecated
	Configs     []string `json:"configs"`
	Secrets     []string `json:"secrets"`
	Directories []string `json:"directories"`
	// contains filtered or unexported fields
}

func (*DataRecv) Do

func (t *DataRecv) Do(ctx context.Context) error

func (*DataRecv) HasMetadata

func (t *DataRecv) HasMetadata(path naming.Path, k string) bool

HasMetadata returns true if the volume has a configs or secrets reference to <namespace>/<kind>/<name>[/<key>]

func (*DataRecv) InstallDataByKind

func (t *DataRecv) InstallDataByKind(kind naming.Kind) (bool, error)

func (*DataRecv) InstallFromDatastore

func (t *DataRecv) InstallFromDatastore(ctx context.Context, from object.DataStore) (bool, error)

func (*DataRecv) OldSendSignals

func (t *DataRecv) OldSendSignals(ctx context.Context) error

func (*DataRecv) SendSignals

func (t *DataRecv) SendSignals(ctx context.Context, signals *volsignal.T) error

func (*DataRecv) SetReceiver

func (t *DataRecv) SetReceiver(to receiver)

func (*DataRecv) Status

func (t *DataRecv) Status()

type KeyMeta

type KeyMeta struct {
	Key  string
	Path naming.Path
	From string
}

func ParseKeyMetaRel

func ParseKeyMetaRel(line, namespace string) (KeyMeta, error)

func ParseKeyMetaRelObj

func ParseKeyMetaRelObj(line string, i any) (KeyMeta, error)

func (*KeyMeta) CacheFile

func (t *KeyMeta) CacheFile() (string, error)

func (*KeyMeta) Decode

func (t *KeyMeta) Decode() ([]byte, error)

func (*KeyMeta) RootDecode

func (t *KeyMeta) RootDecode() ([]byte, error)

type SigRoute

type SigRoute struct {
	Signum syscall.Signal
	RID    string
}

SigRoute is a relation between a signal number and the id of a resource supporting signaling

Jump to

Keyboard shortcuts

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