Versions in this module Expand all Collapse all v0 v0.1.1 Dec 9, 2024 v0.1.0 Nov 26, 2024 Changes in this version + var ErrInternalCompilerError = errors.New("error compiling configs") + var ErrPostMutationScriptError = errors.New("error running post-mutation script") + var ErrPreMutationScriptError = errors.New("error running pre-mutation script") + func Command() (cli.Command, error) + func WithCompiler(c *lib.Compiler) func(*ProtoconfMutationServer) + type MutationServerOption func(*ProtoconfMutationServer) + type ProtoconfMutationServer struct + PostMutationScript string + PreMutationScript string + func NewProtoconfMutationServer(protoconfRoot string, opts ...MutationServerOption) *ProtoconfMutationServer + func (s *ProtoconfMutationServer) GenReflectionUI(ctx context.Context, rpcServer *grpc.Server, httpServer *http.Server) error + func (s *ProtoconfMutationServer) Init(rpcServer *grpc.Server) + func (s *ProtoconfMutationServer) MutateConfig(ctx context.Context, in *protoconf_pb.ConfigMutationRequest) (*protoconf_pb.ConfigMutationResponse, error) + func (s *ProtoconfMutationServer) Put(ctx context.Context, in *dynamicpb.Message) (proto.Message, error) + func (s *ProtoconfMutationServer) ReportProgress(ctx context.Context, in *protoconf_pb.ConfigMutationResponse) (*protoconf_pb.ConfigMutationResponse, error) + func (s *ProtoconfMutationServer) StoreReport(id string, ...)