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 ¶
- type Contract
- func (*Contract) Descriptor() ([]byte, []int)
- func (m *Contract) GetPattern() string
- func (*Contract) ProtoMessage()
- func (m *Contract) Reset()
- func (m *Contract) String() string
- func (m *Contract) XXX_DiscardUnknown()
- func (m *Contract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Contract) XXX_Merge(src proto.Message)
- func (m *Contract) XXX_Size() int
- func (m *Contract) XXX_Unmarshal(b []byte) error
- type FileInfo
- func (*FileInfo) Descriptor() ([]byte, []int)
- func (m *FileInfo) GetIsDir() bool
- func (m *FileInfo) GetModTime() *timestamp.Timestamp
- func (m *FileInfo) GetMode() uint32
- func (m *FileInfo) GetName() string
- func (m *FileInfo) GetSize() int64
- func (*FileInfo) ProtoMessage()
- func (m *FileInfo) Reset()
- func (m *FileInfo) String() string
- func (m *FileInfo) XXX_DiscardUnknown()
- func (m *FileInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FileInfo) XXX_Merge(src proto.Message)
- func (m *FileInfo) XXX_Size() int
- func (m *FileInfo) XXX_Unmarshal(b []byte) error
- type ImgInfo
- func (*ImgInfo) Descriptor() ([]byte, []int)
- func (m *ImgInfo) GetHeight() int32
- func (m *ImgInfo) GetWidth() int32
- func (*ImgInfo) ProtoMessage()
- func (m *ImgInfo) Reset()
- func (m *ImgInfo) String() string
- func (m *ImgInfo) XXX_DiscardUnknown()
- func (m *ImgInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ImgInfo) XXX_Merge(src proto.Message)
- func (m *ImgInfo) XXX_Size() int
- func (m *ImgInfo) XXX_Unmarshal(b []byte) error
- type PersistentMeta
- func (*PersistentMeta) Descriptor() ([]byte, []int)
- func (m *PersistentMeta) GetContract() *Contract
- func (m *PersistentMeta) GetImgInfo() *ImgInfo
- func (m *PersistentMeta) GetInstances() []string
- func (m *PersistentMeta) GetSeq() *Seq
- func (m *PersistentMeta) GetShowRoot() bool
- func (m *PersistentMeta) GetUserData() map[string]string
- func (*PersistentMeta) ProtoMessage()
- func (m *PersistentMeta) Reset()
- func (m *PersistentMeta) String() string
- func (m *PersistentMeta) XXX_DiscardUnknown()
- func (m *PersistentMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PersistentMeta) XXX_Merge(src proto.Message)
- func (m *PersistentMeta) XXX_Size() int
- func (m *PersistentMeta) XXX_Unmarshal(b []byte) error
- type Seq
- func (*Seq) Descriptor() ([]byte, []int)
- func (m *Seq) GetBaseName() string
- func (m *Seq) GetFirst() int32
- func (m *Seq) GetLast() int32
- func (*Seq) ProtoMessage()
- func (m *Seq) Reset()
- func (m *Seq) String() string
- func (m *Seq) XXX_DiscardUnknown()
- func (m *Seq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Seq) XXX_Merge(src proto.Message)
- func (m *Seq) XXX_Size() int
- func (m *Seq) XXX_Unmarshal(b []byte) error
- type UserArray
- func (*UserArray) Descriptor() ([]byte, []int)
- func (m *UserArray) GetA() []*UserValue
- func (*UserArray) ProtoMessage()
- func (m *UserArray) Reset()
- func (m *UserArray) String() string
- func (m *UserArray) XXX_DiscardUnknown()
- func (m *UserArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserArray) XXX_Merge(src proto.Message)
- func (m *UserArray) XXX_Size() int
- func (m *UserArray) XXX_Unmarshal(b []byte) error
- type UserObject
- func (*UserObject) Descriptor() ([]byte, []int)
- func (m *UserObject) GetO() map[string]*UserValue
- func (*UserObject) ProtoMessage()
- func (m *UserObject) Reset()
- func (m *UserObject) String() string
- func (m *UserObject) XXX_DiscardUnknown()
- func (m *UserObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserObject) XXX_Merge(src proto.Message)
- func (m *UserObject) XXX_Size() int
- func (m *UserObject) XXX_Unmarshal(b []byte) error
- type UserValue
- func (*UserValue) Descriptor() ([]byte, []int)
- func (m *UserValue) GetA() *UserArray
- func (m *UserValue) GetB() bool
- func (m *UserValue) GetN() float64
- func (m *UserValue) GetO() *UserObject
- func (m *UserValue) GetS() string
- func (m *UserValue) GetValue() isUserValue_Value
- func (*UserValue) ProtoMessage()
- func (m *UserValue) Reset()
- func (m *UserValue) String() string
- func (m *UserValue) XXX_DiscardUnknown()
- func (m *UserValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserValue) XXX_Merge(src proto.Message)
- func (*UserValue) XXX_OneofWrappers() []interface{}
- func (m *UserValue) XXX_Size() int
- func (m *UserValue) XXX_Unmarshal(b []byte) error
- type UserValue_A
- type UserValue_B
- type UserValue_N
- type UserValue_O
- type UserValue_S
- type VolatileMeta
- func (*VolatileMeta) Descriptor() ([]byte, []int)
- func (m *VolatileMeta) GetFileInfo() *FileInfo
- func (m *VolatileMeta) GetParent() string
- func (m *VolatileMeta) GetPath() string
- func (m *VolatileMeta) GetShow() string
- func (*VolatileMeta) ProtoMessage()
- func (m *VolatileMeta) Reset()
- func (m *VolatileMeta) String() string
- func (m *VolatileMeta) XXX_DiscardUnknown()
- func (m *VolatileMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VolatileMeta) XXX_Merge(src proto.Message)
- func (m *VolatileMeta) XXX_Size() int
- func (m *VolatileMeta) XXX_Unmarshal(b []byte) error
- type WireObject
- func (*WireObject) Descriptor() ([]byte, []int)
- func (m *WireObject) GetPersistent() *PersistentMeta
- func (m *WireObject) GetVolatile() *VolatileMeta
- func (*WireObject) ProtoMessage()
- func (m *WireObject) Reset()
- func (m *WireObject) String() string
- func (m *WireObject) XXX_DiscardUnknown()
- func (m *WireObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WireObject) XXX_Merge(src proto.Message)
- func (m *WireObject) XXX_Size() int
- func (m *WireObject) XXX_Unmarshal(b []byte) error
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) GetPattern ¶
func (*Contract) ProtoMessage ¶
func (*Contract) ProtoMessage()
func (*Contract) XXX_DiscardUnknown ¶
func (m *Contract) XXX_DiscardUnknown()
func (*Contract) XXX_Marshal ¶
func (*Contract) XXX_Unmarshal ¶
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) GetModTime ¶
func (*FileInfo) ProtoMessage ¶
func (*FileInfo) ProtoMessage()
func (*FileInfo) XXX_DiscardUnknown ¶
func (m *FileInfo) XXX_DiscardUnknown()
func (*FileInfo) XXX_Marshal ¶
func (*FileInfo) XXX_Unmarshal ¶
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) ProtoMessage ¶
func (*ImgInfo) ProtoMessage()
func (*ImgInfo) XXX_DiscardUnknown ¶
func (m *ImgInfo) XXX_DiscardUnknown()
func (*ImgInfo) XXX_Marshal ¶
func (*ImgInfo) XXX_Unmarshal ¶
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) GetBaseName ¶
func (*Seq) ProtoMessage ¶
func (*Seq) ProtoMessage()
func (*Seq) XXX_DiscardUnknown ¶
func (m *Seq) XXX_DiscardUnknown()
func (*Seq) XXX_Unmarshal ¶
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) ProtoMessage ¶
func (*UserArray) ProtoMessage()
func (*UserArray) XXX_DiscardUnknown ¶
func (m *UserArray) XXX_DiscardUnknown()
func (*UserArray) XXX_Marshal ¶
func (*UserArray) XXX_Unmarshal ¶
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) GetO ¶
func (m *UserValue) GetO() *UserObject
func (*UserValue) ProtoMessage ¶
func (*UserValue) ProtoMessage()
func (*UserValue) XXX_DiscardUnknown ¶
func (m *UserValue) XXX_DiscardUnknown()
func (*UserValue) XXX_Marshal ¶
func (*UserValue) XXX_OneofWrappers ¶
func (*UserValue) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*UserValue) XXX_Unmarshal ¶
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
Click to show internal directories.
Click to hide internal directories.