commonv1

package
v0.0.120 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: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Owner

type Owner struct {
	Kind  string
	Group string
	Name  string
}

func (Owner) IsEmpty

func (owner Owner) IsEmpty() bool

func (Owner) IsEqual

func (owner Owner) IsEqual(o Owner) bool

type Runtime

type Runtime struct {
	Owner Owner  `json:"owner"`
	Node  uint64 `json:"node"`
}

func (*Runtime) GetNode

func (runtime *Runtime) GetNode() uint64

func (*Runtime) GetOwner

func (runtime *Runtime) GetOwner() Owner

func (*Runtime) SetNode

func (runtime *Runtime) SetNode(node uint64)

func (*Runtime) SetOwner

func (runtime *Runtime) SetOwner(kind string, group string, name string)

Jump to

Keyboard shortcuts

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