v0

package
v0.0.0-...-1ea01e4 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command() *cobra.Command

Types

type CommitID

type CommitID struct {
	Version int64  `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	Hash    []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
}

func (*CommitID) ProtoMessage

func (c *CommitID) ProtoMessage()

func (*CommitID) Reset

func (c *CommitID) Reset()

func (*CommitID) String

func (c *CommitID) String() string

type CommitInfo

type CommitInfo struct {
	Version    int64       `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	StoreInfos []StoreInfo `protobuf:"bytes,2,rep,name=store_infos,json=storeInfos,proto3" json:"store_infos"`
	Timestamp  time.Time   `protobuf:"bytes,3,opt,name=timestamp,proto3,stdtime" json:"timestamp"`
}

func (*CommitInfo) ProtoMessage

func (c *CommitInfo) ProtoMessage()

func (*CommitInfo) Reset

func (c *CommitInfo) Reset()

func (*CommitInfo) String

func (c *CommitInfo) String() string

type StoreInfo

type StoreInfo struct {
	Name     string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	CommitId CommitID `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id"`
}

func (*StoreInfo) ProtoMessage

func (s *StoreInfo) ProtoMessage()

func (*StoreInfo) Reset

func (s *StoreInfo) Reset()

func (*StoreInfo) String

func (s *StoreInfo) String() string

Jump to

Keyboard shortcuts

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