inserter

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 32 Imported by: 0

Documentation

Index

Constants

View Source
const Stable = "STABLE"

Variables

View Source
var ErrInsertionCompleted = errors.New("insertion completed")

Functions

func Command

func Command() (cli.Command, error)

Command is a cli.CommandFactory

Types

type ProtoconfInserter

type ProtoconfInserter struct {
	Prefix string
	// contains filtered or unexported fields
}

func NewProtoconfInserter

func NewProtoconfInserter(protoconfRoot string, kvStore store.Store) *ProtoconfInserter

func (*ProtoconfInserter) GatherMetadata

func (i *ProtoconfInserter) GatherMetadata(configFile string) (*protoconf_pb.Metadata, error)

func (*ProtoconfInserter) InsertConfig

func (i *ProtoconfInserter) InsertConfig(configName string, protoconfValue *protoconf_pb.ProtoconfValue, metadata *protoconf_pb.Metadata) error

func (*ProtoconfInserter) InsertConfigFile

func (i *ProtoconfInserter) InsertConfigFile(configFile string) error

func (*ProtoconfInserter) XXXinsertVersion

func (i *ProtoconfInserter) XXXinsertVersion(configName string, version string, protoconfValue *protoconf_pb.ProtoconfValue, metadata *protoconf_pb.Metadata) error

Jump to

Keyboard shortcuts

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