meta

package
v0.0.0-...-bc02ef2 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

The meta package defines the metadata format. This is separated to its own package to prevent the pollution of the API documentation. This is integral part of the teflon package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Contract

type Contract struct {
	Pattern              string   `protobuf:"bytes,1,opt,name=Pattern,proto3" json:"Pattern,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Contract) Descriptor

func (*Contract) Descriptor() ([]byte, []int)

func (*Contract) GetPattern

func (m *Contract) GetPattern() string

func (*Contract) ProtoMessage

func (*Contract) ProtoMessage()

func (*Contract) Reset

func (m *Contract) Reset()

func (*Contract) String

func (m *Contract) String() string

func (*Contract) XXX_DiscardUnknown

func (m *Contract) XXX_DiscardUnknown()

func (*Contract) XXX_Marshal

func (m *Contract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Contract) XXX_Merge

func (m *Contract) XXX_Merge(src proto.Message)

func (*Contract) XXX_Size

func (m *Contract) XXX_Size() int

func (*Contract) XXX_Unmarshal

func (m *Contract) XXX_Unmarshal(b []byte) error

type FileInfo

type FileInfo struct {
	Name                 string               `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	Size                 int64                `protobuf:"varint,2,opt,name=Size,proto3" json:"Size,omitempty"`
	Mode                 uint32               `protobuf:"varint,3,opt,name=Mode,proto3" json:"Mode,omitempty"`
	ModTime              *timestamp.Timestamp `protobuf:"bytes,4,opt,name=ModTime,proto3" json:"ModTime,omitempty"`
	IsDir                bool                 `protobuf:"varint,5,opt,name=IsDir,proto3" json:"IsDir,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*FileInfo) Descriptor

func (*FileInfo) Descriptor() ([]byte, []int)

func (*FileInfo) GetIsDir

func (m *FileInfo) GetIsDir() bool

func (*FileInfo) GetModTime

func (m *FileInfo) GetModTime() *timestamp.Timestamp

func (*FileInfo) GetMode

func (m *FileInfo) GetMode() uint32

func (*FileInfo) GetName

func (m *FileInfo) GetName() string

func (*FileInfo) GetSize

func (m *FileInfo) GetSize() int64

func (*FileInfo) ProtoMessage

func (*FileInfo) ProtoMessage()

func (*FileInfo) Reset

func (m *FileInfo) Reset()

func (*FileInfo) String

func (m *FileInfo) String() string

func (*FileInfo) XXX_DiscardUnknown

func (m *FileInfo) XXX_DiscardUnknown()

func (*FileInfo) XXX_Marshal

func (m *FileInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FileInfo) XXX_Merge

func (m *FileInfo) XXX_Merge(src proto.Message)

func (*FileInfo) XXX_Size

func (m *FileInfo) XXX_Size() int

func (*FileInfo) XXX_Unmarshal

func (m *FileInfo) XXX_Unmarshal(b []byte) error

type ImgInfo

type ImgInfo struct {
	Width                int32    `protobuf:"varint,1,opt,name=Width,proto3" json:"Width,omitempty"`
	Height               int32    `protobuf:"varint,2,opt,name=Height,proto3" json:"Height,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ImgInfo) Descriptor

func (*ImgInfo) Descriptor() ([]byte, []int)

func (*ImgInfo) GetHeight

func (m *ImgInfo) GetHeight() int32

func (*ImgInfo) GetWidth

func (m *ImgInfo) GetWidth() int32

func (*ImgInfo) ProtoMessage

func (*ImgInfo) ProtoMessage()

func (*ImgInfo) Reset

func (m *ImgInfo) Reset()

func (*ImgInfo) String

func (m *ImgInfo) String() string

func (*ImgInfo) XXX_DiscardUnknown

func (m *ImgInfo) XXX_DiscardUnknown()

func (*ImgInfo) XXX_Marshal

func (m *ImgInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImgInfo) XXX_Merge

func (m *ImgInfo) XXX_Merge(src proto.Message)

func (*ImgInfo) XXX_Size

func (m *ImgInfo) XXX_Size() int

func (*ImgInfo) XXX_Unmarshal

func (m *ImgInfo) XXX_Unmarshal(b []byte) error

type PersistentMeta

type PersistentMeta struct {
	ShowRoot             bool              `protobuf:"varint,1,opt,name=ShowRoot,proto3" json:"ShowRoot,omitempty"`
	Contract             *Contract         `protobuf:"bytes,2,opt,name=Contract,proto3" json:"Contract,omitempty"`
	Instances            []string          `protobuf:"bytes,3,rep,name=Instances,proto3" json:"Instances,omitempty"`
	UserData             map[string]string `` /* 157-byte string literal not displayed */
	ImgInfo              *ImgInfo          `protobuf:"bytes,5,opt,name=ImgInfo,proto3" json:"ImgInfo,omitempty"`
	Seq                  *Seq              `protobuf:"bytes,6,opt,name=Seq,proto3" json:"Seq,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*PersistentMeta) Descriptor

func (*PersistentMeta) Descriptor() ([]byte, []int)

func (*PersistentMeta) GetContract

func (m *PersistentMeta) GetContract() *Contract

func (*PersistentMeta) GetImgInfo

func (m *PersistentMeta) GetImgInfo() *ImgInfo

func (*PersistentMeta) GetInstances

func (m *PersistentMeta) GetInstances() []string

func (*PersistentMeta) GetSeq

func (m *PersistentMeta) GetSeq() *Seq

func (*PersistentMeta) GetShowRoot

func (m *PersistentMeta) GetShowRoot() bool

func (*PersistentMeta) GetUserData

func (m *PersistentMeta) GetUserData() map[string]string

func (*PersistentMeta) ProtoMessage

func (*PersistentMeta) ProtoMessage()

func (*PersistentMeta) Reset

func (m *PersistentMeta) Reset()

func (*PersistentMeta) String

func (m *PersistentMeta) String() string

func (*PersistentMeta) XXX_DiscardUnknown

func (m *PersistentMeta) XXX_DiscardUnknown()

func (*PersistentMeta) XXX_Marshal

func (m *PersistentMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PersistentMeta) XXX_Merge

func (m *PersistentMeta) XXX_Merge(src proto.Message)

func (*PersistentMeta) XXX_Size

func (m *PersistentMeta) XXX_Size() int

func (*PersistentMeta) XXX_Unmarshal

func (m *PersistentMeta) XXX_Unmarshal(b []byte) error

type Seq

type Seq struct {
	BaseName             string   `protobuf:"bytes,1,opt,name=BaseName,proto3" json:"BaseName,omitempty"`
	First                int32    `protobuf:"varint,2,opt,name=First,proto3" json:"First,omitempty"`
	Last                 int32    `protobuf:"varint,3,opt,name=Last,proto3" json:"Last,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Seq) Descriptor

func (*Seq) Descriptor() ([]byte, []int)

func (*Seq) GetBaseName

func (m *Seq) GetBaseName() string

func (*Seq) GetFirst

func (m *Seq) GetFirst() int32

func (*Seq) GetLast

func (m *Seq) GetLast() int32

func (*Seq) ProtoMessage

func (*Seq) ProtoMessage()

func (*Seq) Reset

func (m *Seq) Reset()

func (*Seq) String

func (m *Seq) String() string

func (*Seq) XXX_DiscardUnknown

func (m *Seq) XXX_DiscardUnknown()

func (*Seq) XXX_Marshal

func (m *Seq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Seq) XXX_Merge

func (m *Seq) XXX_Merge(src proto.Message)

func (*Seq) XXX_Size

func (m *Seq) XXX_Size() int

func (*Seq) XXX_Unmarshal

func (m *Seq) XXX_Unmarshal(b []byte) error

type UserArray

type UserArray struct {
	A                    []*UserValue `protobuf:"bytes,1,rep,name=A,proto3" json:"A,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*UserArray) Descriptor

func (*UserArray) Descriptor() ([]byte, []int)

func (*UserArray) GetA

func (m *UserArray) GetA() []*UserValue

func (*UserArray) ProtoMessage

func (*UserArray) ProtoMessage()

func (*UserArray) Reset

func (m *UserArray) Reset()

func (*UserArray) String

func (m *UserArray) String() string

func (*UserArray) XXX_DiscardUnknown

func (m *UserArray) XXX_DiscardUnknown()

func (*UserArray) XXX_Marshal

func (m *UserArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserArray) XXX_Merge

func (m *UserArray) XXX_Merge(src proto.Message)

func (*UserArray) XXX_Size

func (m *UserArray) XXX_Size() int

func (*UserArray) XXX_Unmarshal

func (m *UserArray) XXX_Unmarshal(b []byte) error

type UserObject

type UserObject struct {
	O                    map[string]*UserValue `` /* 143-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*UserObject) Descriptor

func (*UserObject) Descriptor() ([]byte, []int)

func (*UserObject) GetO

func (m *UserObject) GetO() map[string]*UserValue

func (*UserObject) ProtoMessage

func (*UserObject) ProtoMessage()

func (*UserObject) Reset

func (m *UserObject) Reset()

func (*UserObject) String

func (m *UserObject) String() string

func (*UserObject) XXX_DiscardUnknown

func (m *UserObject) XXX_DiscardUnknown()

func (*UserObject) XXX_Marshal

func (m *UserObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserObject) XXX_Merge

func (m *UserObject) XXX_Merge(src proto.Message)

func (*UserObject) XXX_Size

func (m *UserObject) XXX_Size() int

func (*UserObject) XXX_Unmarshal

func (m *UserObject) XXX_Unmarshal(b []byte) error

type UserValue

type UserValue struct {
	// Types that are valid to be assigned to Value:
	//	*UserValue_B
	//	*UserValue_N
	//	*UserValue_S
	//	*UserValue_A
	//	*UserValue_O
	Value                isUserValue_Value `protobuf_oneof:"Value"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*UserValue) Descriptor

func (*UserValue) Descriptor() ([]byte, []int)

func (*UserValue) GetA

func (m *UserValue) GetA() *UserArray

func (*UserValue) GetB

func (m *UserValue) GetB() bool

func (*UserValue) GetN

func (m *UserValue) GetN() float64

func (*UserValue) GetO

func (m *UserValue) GetO() *UserObject

func (*UserValue) GetS

func (m *UserValue) GetS() string

func (*UserValue) GetValue

func (m *UserValue) GetValue() isUserValue_Value

func (*UserValue) ProtoMessage

func (*UserValue) ProtoMessage()

func (*UserValue) Reset

func (m *UserValue) Reset()

func (*UserValue) String

func (m *UserValue) String() string

func (*UserValue) XXX_DiscardUnknown

func (m *UserValue) XXX_DiscardUnknown()

func (*UserValue) XXX_Marshal

func (m *UserValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserValue) XXX_Merge

func (m *UserValue) XXX_Merge(src proto.Message)

func (*UserValue) XXX_OneofWrappers

func (*UserValue) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*UserValue) XXX_Size

func (m *UserValue) XXX_Size() int

func (*UserValue) XXX_Unmarshal

func (m *UserValue) XXX_Unmarshal(b []byte) error

type UserValue_A

type UserValue_A struct {
	A *UserArray `protobuf:"bytes,4,opt,name=A,proto3,oneof"`
}

type UserValue_B

type UserValue_B struct {
	B bool `protobuf:"varint,1,opt,name=B,proto3,oneof"`
}

type UserValue_N

type UserValue_N struct {
	N float64 `protobuf:"fixed64,2,opt,name=N,proto3,oneof"`
}

type UserValue_O

type UserValue_O struct {
	O *UserObject `protobuf:"bytes,5,opt,name=O,proto3,oneof"`
}

type UserValue_S

type UserValue_S struct {
	S string `protobuf:"bytes,3,opt,name=S,proto3,oneof"`
}

type VolatileMeta

type VolatileMeta struct {
	Path                 string    `protobuf:"bytes,1,opt,name=Path,proto3" json:"Path,omitempty"`
	Show                 string    `protobuf:"bytes,2,opt,name=Show,proto3" json:"Show,omitempty"`
	FileInfo             *FileInfo `protobuf:"bytes,3,opt,name=FileInfo,proto3" json:"FileInfo,omitempty"`
	Parent               string    `protobuf:"bytes,4,opt,name=Parent,proto3" json:"Parent,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*VolatileMeta) Descriptor

func (*VolatileMeta) Descriptor() ([]byte, []int)

func (*VolatileMeta) GetFileInfo

func (m *VolatileMeta) GetFileInfo() *FileInfo

func (*VolatileMeta) GetParent

func (m *VolatileMeta) GetParent() string

func (*VolatileMeta) GetPath

func (m *VolatileMeta) GetPath() string

func (*VolatileMeta) GetShow

func (m *VolatileMeta) GetShow() string

func (*VolatileMeta) ProtoMessage

func (*VolatileMeta) ProtoMessage()

func (*VolatileMeta) Reset

func (m *VolatileMeta) Reset()

func (*VolatileMeta) String

func (m *VolatileMeta) String() string

func (*VolatileMeta) XXX_DiscardUnknown

func (m *VolatileMeta) XXX_DiscardUnknown()

func (*VolatileMeta) XXX_Marshal

func (m *VolatileMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VolatileMeta) XXX_Merge

func (m *VolatileMeta) XXX_Merge(src proto.Message)

func (*VolatileMeta) XXX_Size

func (m *VolatileMeta) XXX_Size() int

func (*VolatileMeta) XXX_Unmarshal

func (m *VolatileMeta) XXX_Unmarshal(b []byte) error

type WireObject

type WireObject struct {
	Volatile             *VolatileMeta   `protobuf:"bytes,1,opt,name=Volatile,proto3" json:"Volatile,omitempty"`
	Persistent           *PersistentMeta `protobuf:"bytes,2,opt,name=Persistent,proto3" json:"Persistent,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*WireObject) Descriptor

func (*WireObject) Descriptor() ([]byte, []int)

func (*WireObject) GetPersistent

func (m *WireObject) GetPersistent() *PersistentMeta

func (*WireObject) GetVolatile

func (m *WireObject) GetVolatile() *VolatileMeta

func (*WireObject) ProtoMessage

func (*WireObject) ProtoMessage()

func (*WireObject) Reset

func (m *WireObject) Reset()

func (*WireObject) String

func (m *WireObject) String() string

func (*WireObject) XXX_DiscardUnknown

func (m *WireObject) XXX_DiscardUnknown()

func (*WireObject) XXX_Marshal

func (m *WireObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WireObject) XXX_Merge

func (m *WireObject) XXX_Merge(src proto.Message)

func (*WireObject) XXX_Size

func (m *WireObject) XXX_Size() int

func (*WireObject) XXX_Unmarshal

func (m *WireObject) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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