models

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewURN

func NewURN(service, scope, kind, id string) string

func ToJSON

func ToJSON(asset *assetsv1beta2.Asset) ([]byte, error)

Types

type Record

type Record struct {
	// contains filtered or unexported fields
}

Record represents the metadata of a record

func NewRecord

func NewRecord(data *v1beta2.Asset) Record

NewRecord creates a new record

func (Record) Data

func (r Record) Data() *v1beta2.Asset

Data returns the record data

Directories

Path Synopsis
gotocompany

Jump to

Keyboard shortcuts

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