tree

package
v0.13.1-0...-264b242 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Navigationnode struct {
	// Children of this node
	Children []*Navigationnode `protobuf:"bytes,12,rep,name=children,proto3" json:"children,omitempty"`
	// description of the node
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// String representation of the node
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// if node has error
	HasError bool `protobuf:"varint,8,opt,name=has_error,json=hasError,proto3" json:"has_error,omitempty"`
	// icon of the node
	Icon string `protobuf:"bytes,5,opt,name=icon,proto3" json:"icon,omitempty"`
	// Id of the node
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// This node is a group label
	IsGroupLabel bool `protobuf:"varint,11,opt,name=is_group_label,json=isGroupLabel,proto3" json:"is_group_label,omitempty"`
	// key words of the node
	KeyWords string `protobuf:"bytes,7,opt,name=key_words,json=keyWords,proto3" json:"key_words,omitempty"`
	// Deeplink information of this node
	Link *furo.Link `protobuf:"bytes,10,opt,name=link,proto3" json:"link,omitempty"`
	// node is open or not
	Open bool `protobuf:"varint,9,opt,name=open,proto3" json:"open,omitempty"`
	// Which panel (i.e. view, edit, display) opens the node type (which is defined in property link)
	Panel string `protobuf:"bytes,6,opt,name=panel,proto3" json:"panel,omitempty"`
	// Secondary text of the node
	SecondaryText        string   `protobuf:"bytes,3,opt,name=secondary_text,json=secondaryText,proto3" json:"secondary_text,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Item of the navigationtree

func (*Navigationnode) Descriptor() ([]byte, []int)
func (m *Navigationnode) GetChildren() []*Navigationnode
func (m *Navigationnode) GetDescription() string
func (m *Navigationnode) GetDisplayName() string
func (m *Navigationnode) GetHasError() bool
func (m *Navigationnode) GetIcon() string
func (m *Navigationnode) GetId() string
func (m *Navigationnode) GetIsGroupLabel() bool
func (m *Navigationnode) GetKeyWords() string
func (m *Navigationnode) GetLink() *furo.Link
func (m *Navigationnode) GetOpen() bool
func (m *Navigationnode) GetPanel() string
func (m *Navigationnode) GetSecondaryText() string
func (*Navigationnode) ProtoMessage()
func (m *Navigationnode) Reset()
func (m *Navigationnode) String() string
func (m *Navigationnode) XXX_DiscardUnknown()
func (m *Navigationnode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *Navigationnode) XXX_Merge(src proto.Message)
func (m *Navigationnode) XXX_Size() int
func (m *Navigationnode) XXX_Unmarshal(b []byte) error

type Tree

type Tree struct {
	// description of the tree
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// String representation of the tree
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Id of the tree
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Rootnode of the tree
	Root                 *Navigationnode `protobuf:"bytes,10,opt,name=root,proto3" json:"root,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

Navigation tree type with recursive navigation nodes

func (*Tree) Descriptor

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

func (*Tree) GetDescription

func (m *Tree) GetDescription() string

func (*Tree) GetDisplayName

func (m *Tree) GetDisplayName() string

func (*Tree) GetId

func (m *Tree) GetId() string

func (*Tree) GetRoot

func (m *Tree) GetRoot() *Navigationnode

func (*Tree) ProtoMessage

func (*Tree) ProtoMessage()

func (*Tree) Reset

func (m *Tree) Reset()

func (*Tree) String

func (m *Tree) String() string

func (*Tree) XXX_DiscardUnknown

func (m *Tree) XXX_DiscardUnknown()

func (*Tree) XXX_Marshal

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

func (*Tree) XXX_Merge

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

func (*Tree) XXX_Size

func (m *Tree) XXX_Size() int

func (*Tree) XXX_Unmarshal

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

type TreeCollection

type TreeCollection struct {
	// Contains a tree.TreeEntity repeated
	Entities []*TreeEntity `protobuf:"bytes,4,rep,name=entities,proto3" json:"entities,omitempty"`
	// Hateoas links
	Links []*furo.Link `protobuf:"bytes,3,rep,name=links,proto3" json:"links,omitempty"`
	// Meta for the response
	Meta                 *furo.Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

TreeCollection with repeated TreeEntity

func (*TreeCollection) Descriptor

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

func (*TreeCollection) GetEntities

func (m *TreeCollection) GetEntities() []*TreeEntity
func (m *TreeCollection) GetLinks() []*furo.Link

func (*TreeCollection) GetMeta

func (m *TreeCollection) GetMeta() *furo.Meta

func (*TreeCollection) ProtoMessage

func (*TreeCollection) ProtoMessage()

func (*TreeCollection) Reset

func (m *TreeCollection) Reset()

func (*TreeCollection) String

func (m *TreeCollection) String() string

func (*TreeCollection) XXX_DiscardUnknown

func (m *TreeCollection) XXX_DiscardUnknown()

func (*TreeCollection) XXX_Marshal

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

func (*TreeCollection) XXX_Merge

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

func (*TreeCollection) XXX_Size

func (m *TreeCollection) XXX_Size() int

func (*TreeCollection) XXX_Unmarshal

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

type TreeEntity

type TreeEntity struct {
	// contains a tree.Tree
	Data *Tree `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// Hateoas links
	Links []*furo.Link `protobuf:"bytes,2,rep,name=links,proto3" json:"links,omitempty"`
	// Meta for the response
	Meta                 *furo.Meta `protobuf:"bytes,3,opt,name=meta,proto3" json:"meta,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

TreeEntity with Tree

func (*TreeEntity) Descriptor

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

func (*TreeEntity) GetData

func (m *TreeEntity) GetData() *Tree
func (m *TreeEntity) GetLinks() []*furo.Link

func (*TreeEntity) GetMeta

func (m *TreeEntity) GetMeta() *furo.Meta

func (*TreeEntity) ProtoMessage

func (*TreeEntity) ProtoMessage()

func (*TreeEntity) Reset

func (m *TreeEntity) Reset()

func (*TreeEntity) String

func (m *TreeEntity) String() string

func (*TreeEntity) XXX_DiscardUnknown

func (m *TreeEntity) XXX_DiscardUnknown()

func (*TreeEntity) XXX_Marshal

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

func (*TreeEntity) XXX_Merge

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

func (*TreeEntity) XXX_Size

func (m *TreeEntity) XXX_Size() int

func (*TreeEntity) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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