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 File_protoconf_v1_protoconf_proto protoreflect.FileDescriptor + var ProtoconfCompile_ServiceDesc = grpc.ServiceDesc + var ProtoconfMutationReportService_ServiceDesc = grpc.ServiceDesc + var ProtoconfMutationService_ServiceDesc = grpc.ServiceDesc + var ProtoconfService_ServiceDesc = grpc.ServiceDesc + func RegisterProtoconfCompileServer(s grpc.ServiceRegistrar, srv ProtoconfCompileServer) + func RegisterProtoconfMutationReportServiceServer(s grpc.ServiceRegistrar, srv ProtoconfMutationReportServiceServer) + func RegisterProtoconfMutationServiceServer(s grpc.ServiceRegistrar, srv ProtoconfMutationServiceServer) + func RegisterProtoconfServiceServer(s grpc.ServiceRegistrar, srv ProtoconfServiceServer) + type CompileRequest struct + Files []string + SkipDisk bool + func (*CompileRequest) Descriptor() ([]byte, []int) + func (*CompileRequest) ProtoMessage() + func (x *CompileRequest) GetFiles() []string + func (x *CompileRequest) GetSkipDisk() bool + func (x *CompileRequest) ProtoReflect() protoreflect.Message + func (x *CompileRequest) Reset() + func (x *CompileRequest) String() string + type CompileResponse struct + Errors []string + File string + Path string + Result *ProtoconfValue + func (*CompileResponse) Descriptor() ([]byte, []int) + func (*CompileResponse) ProtoMessage() + func (x *CompileResponse) GetErrors() []string + func (x *CompileResponse) GetFile() string + func (x *CompileResponse) GetPath() string + func (x *CompileResponse) GetResult() *ProtoconfValue + func (x *CompileResponse) ProtoReflect() protoreflect.Message + func (x *CompileResponse) Reset() + func (x *CompileResponse) String() string + type ConfigMutationRequest struct + Path string + ScriptMetadata string + Value *ProtoconfValue + func (*ConfigMutationRequest) Descriptor() ([]byte, []int) + func (*ConfigMutationRequest) ProtoMessage() + func (x *ConfigMutationRequest) GetPath() string + func (x *ConfigMutationRequest) GetScriptMetadata() string + func (x *ConfigMutationRequest) GetValue() *ProtoconfValue + func (x *ConfigMutationRequest) ProtoReflect() protoreflect.Message + func (x *ConfigMutationRequest) Reset() + func (x *ConfigMutationRequest) String() string + type ConfigMutationResponse struct + CommitHash string + CompileDuration *durationpb.Duration + ErrorMessage string + Links map[string]string + PostScriptDuration *durationpb.Duration + PreScriptDuration *durationpb.Duration + Result isConfigMutationResponse_Result + Uuid string + func (*ConfigMutationResponse) Descriptor() ([]byte, []int) + func (*ConfigMutationResponse) ProtoMessage() + func (m *ConfigMutationResponse) GetResult() isConfigMutationResponse_Result + func (x *ConfigMutationResponse) GetCommitHash() string + func (x *ConfigMutationResponse) GetCompileDuration() *durationpb.Duration + func (x *ConfigMutationResponse) GetErrorMessage() string + func (x *ConfigMutationResponse) GetFailure() bool + func (x *ConfigMutationResponse) GetLinks() map[string]string + func (x *ConfigMutationResponse) GetPostScriptDuration() *durationpb.Duration + func (x *ConfigMutationResponse) GetPreScriptDuration() *durationpb.Duration + func (x *ConfigMutationResponse) GetSuccess() bool + func (x *ConfigMutationResponse) GetUuid() string + func (x *ConfigMutationResponse) ProtoReflect() protoreflect.Message + func (x *ConfigMutationResponse) Reset() + func (x *ConfigMutationResponse) String() string + type ConfigMutationResponse_Failure struct + Failure bool + type ConfigMutationResponse_Success struct + Success bool + type ConfigSubscriptionRequest struct + Channel string + Path string + func (*ConfigSubscriptionRequest) Descriptor() ([]byte, []int) + func (*ConfigSubscriptionRequest) ProtoMessage() + func (x *ConfigSubscriptionRequest) GetChannel() string + func (x *ConfigSubscriptionRequest) GetPath() string + func (x *ConfigSubscriptionRequest) ProtoReflect() protoreflect.Message + func (x *ConfigSubscriptionRequest) Reset() + func (x *ConfigSubscriptionRequest) String() string + type ConfigUpdate struct + Error string + Value *anypb.Any + func (*ConfigUpdate) Descriptor() ([]byte, []int) + func (*ConfigUpdate) ProtoMessage() + func (x *ConfigUpdate) GetError() string + func (x *ConfigUpdate) GetValue() *anypb.Any + func (x *ConfigUpdate) ProtoReflect() protoreflect.Message + func (x *ConfigUpdate) Reset() + func (x *ConfigUpdate) String() string + type Metadata struct + AuthorEmail string + AuthoredAt *timestamppb.Timestamp + Channel string + Commit string + CommittedAt *timestamppb.Timestamp + CommitterEmail string + InsertedAt *timestamppb.Timestamp + func (*Metadata) Descriptor() ([]byte, []int) + func (*Metadata) ProtoMessage() + func (x *Metadata) GetAuthorEmail() string + func (x *Metadata) GetAuthoredAt() *timestamppb.Timestamp + func (x *Metadata) GetChannel() string + func (x *Metadata) GetCommit() string + func (x *Metadata) GetCommittedAt() *timestamppb.Timestamp + func (x *Metadata) GetCommitterEmail() string + func (x *Metadata) GetInsertedAt() *timestamppb.Timestamp + func (x *Metadata) ProtoReflect() protoreflect.Message + func (x *Metadata) Reset() + func (x *Metadata) String() string + type ProtoconfCompileClient interface + CompileFiles func(ctx context.Context, in *CompileRequest, opts ...grpc.CallOption) (ProtoconfCompile_CompileFilesClient, error) + func NewProtoconfCompileClient(cc grpc.ClientConnInterface) ProtoconfCompileClient + type ProtoconfCompileServer interface + CompileFiles func(*CompileRequest, ProtoconfCompile_CompileFilesServer) error + type ProtoconfCompile_CompileFilesClient interface + Recv func() (*CompileResponse, error) + type ProtoconfCompile_CompileFilesServer interface + Send func(*CompileResponse) error + type ProtoconfMutationReportServiceClient interface + ReportProgress func(ctx context.Context, in *ConfigMutationResponse, opts ...grpc.CallOption) (*ConfigMutationResponse, error) + func NewProtoconfMutationReportServiceClient(cc grpc.ClientConnInterface) ProtoconfMutationReportServiceClient + type ProtoconfMutationReportServiceServer interface + ReportProgress func(context.Context, *ConfigMutationResponse) (*ConfigMutationResponse, error) + type ProtoconfMutationServiceClient interface + MutateConfig func(ctx context.Context, in *ConfigMutationRequest, opts ...grpc.CallOption) (*ConfigMutationResponse, error) + func NewProtoconfMutationServiceClient(cc grpc.ClientConnInterface) ProtoconfMutationServiceClient + type ProtoconfMutationServiceServer interface + MutateConfig func(context.Context, *ConfigMutationRequest) (*ConfigMutationResponse, error) + type ProtoconfServiceClient interface + SubscribeForConfig func(ctx context.Context, in *ConfigSubscriptionRequest, opts ...grpc.CallOption) (ProtoconfService_SubscribeForConfigClient, error) + func NewProtoconfServiceClient(cc grpc.ClientConnInterface) ProtoconfServiceClient + type ProtoconfServiceServer interface + SubscribeForConfig func(*ConfigSubscriptionRequest, ProtoconfService_SubscribeForConfigServer) error + type ProtoconfService_SubscribeForConfigClient interface + Recv func() (*ConfigUpdate, error) + type ProtoconfService_SubscribeForConfigServer interface + Send func(*ConfigUpdate) error + type ProtoconfValue struct + Metadata *Metadata + ProtoFile string + RolloutConfig *ProtoconfValue_ConfigRollout + Value *anypb.Any + func (*ProtoconfValue) Descriptor() ([]byte, []int) + func (*ProtoconfValue) ProtoMessage() + func (x *ProtoconfValue) GetMetadata() *Metadata + func (x *ProtoconfValue) GetProtoFile() string + func (x *ProtoconfValue) GetRolloutConfig() *ProtoconfValue_ConfigRollout + func (x *ProtoconfValue) GetValue() *anypb.Any + func (x *ProtoconfValue) ProtoReflect() protoreflect.Message + func (x *ProtoconfValue) Reset() + func (x *ProtoconfValue) String() string + type ProtoconfValue_ConfigRollout struct + DefaultCooldownTime *durationpb.Duration + DefaultExpirationTime *durationpb.Duration + Namespace string + Stages []*ProtoconfValue_ConfigRollout_Stage + func (*ProtoconfValue_ConfigRollout) Descriptor() ([]byte, []int) + func (*ProtoconfValue_ConfigRollout) ProtoMessage() + func (x *ProtoconfValue_ConfigRollout) GetDefaultCooldownTime() *durationpb.Duration + func (x *ProtoconfValue_ConfigRollout) GetDefaultExpirationTime() *durationpb.Duration + func (x *ProtoconfValue_ConfigRollout) GetNamespace() string + func (x *ProtoconfValue_ConfigRollout) GetStages() []*ProtoconfValue_ConfigRollout_Stage + func (x *ProtoconfValue_ConfigRollout) ProtoReflect() protoreflect.Message + func (x *ProtoconfValue_ConfigRollout) Reset() + func (x *ProtoconfValue_ConfigRollout) String() string + type ProtoconfValue_ConfigRollout_Stage struct + Channel string + Cooldown *durationpb.Duration + Expiration *durationpb.Duration + ExpiresAt *timestamppb.Timestamp + Labels map[string]string + Manual bool + Percentile uint32 + Version string + func (*ProtoconfValue_ConfigRollout_Stage) Descriptor() ([]byte, []int) + func (*ProtoconfValue_ConfigRollout_Stage) ProtoMessage() + func (x *ProtoconfValue_ConfigRollout_Stage) GetChannel() string + func (x *ProtoconfValue_ConfigRollout_Stage) GetCooldown() *durationpb.Duration + func (x *ProtoconfValue_ConfigRollout_Stage) GetExpiration() *durationpb.Duration + func (x *ProtoconfValue_ConfigRollout_Stage) GetExpiresAt() *timestamppb.Timestamp + func (x *ProtoconfValue_ConfigRollout_Stage) GetLabels() map[string]string + func (x *ProtoconfValue_ConfigRollout_Stage) GetManual() bool + func (x *ProtoconfValue_ConfigRollout_Stage) GetPercentile() uint32 + func (x *ProtoconfValue_ConfigRollout_Stage) GetVersion() string + func (x *ProtoconfValue_ConfigRollout_Stage) ProtoReflect() protoreflect.Message + func (x *ProtoconfValue_ConfigRollout_Stage) Reset() + func (x *ProtoconfValue_ConfigRollout_Stage) String() string + type UnimplementedProtoconfCompileServer struct + func (UnimplementedProtoconfCompileServer) CompileFiles(*CompileRequest, ProtoconfCompile_CompileFilesServer) error + type UnimplementedProtoconfMutationReportServiceServer struct + func (UnimplementedProtoconfMutationReportServiceServer) ReportProgress(context.Context, *ConfigMutationResponse) (*ConfigMutationResponse, error) + type UnimplementedProtoconfMutationServiceServer struct + func (UnimplementedProtoconfMutationServiceServer) MutateConfig(context.Context, *ConfigMutationRequest) (*ConfigMutationResponse, error) + type UnimplementedProtoconfServiceServer struct + func (UnimplementedProtoconfServiceServer) SubscribeForConfig(*ConfigSubscriptionRequest, ProtoconfService_SubscribeForConfigServer) error + type UnsafeProtoconfCompileServer interface + type UnsafeProtoconfMutationReportServiceServer interface + type UnsafeProtoconfMutationServiceServer interface + type UnsafeProtoconfServiceServer interface