protoconfmutation

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_server_api_proto_v1_protoconf_mutation_proto protoreflect.FileDescriptor
View Source
var ProtoconfMutationService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "v1.ProtoconfMutationService",
	HandlerType: (*ProtoconfMutationServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "MutateConfig",
			Handler:    _ProtoconfMutationService_MutateConfig_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "server/api/proto/v1/protoconf_mutation.proto",
}

ProtoconfMutationService_ServiceDesc is the grpc.ServiceDesc for ProtoconfMutationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterProtoconfMutationServiceServer

func RegisterProtoconfMutationServiceServer(s grpc.ServiceRegistrar, srv ProtoconfMutationServiceServer)

Types

type ConfigMutationRequest

type ConfigMutationRequest struct {
	Path           string             `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Value          *v1.ProtoconfValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	ScriptMetadata string             `protobuf:"bytes,3,opt,name=script_metadata,json=scriptMetadata,proto3" json:"script_metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigMutationRequest) Descriptor deprecated

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

Deprecated: Use ConfigMutationRequest.ProtoReflect.Descriptor instead.

func (*ConfigMutationRequest) GetPath

func (x *ConfigMutationRequest) GetPath() string

func (*ConfigMutationRequest) GetScriptMetadata

func (x *ConfigMutationRequest) GetScriptMetadata() string

func (*ConfigMutationRequest) GetValue

func (x *ConfigMutationRequest) GetValue() *v1.ProtoconfValue

func (*ConfigMutationRequest) ProtoMessage

func (*ConfigMutationRequest) ProtoMessage()

func (*ConfigMutationRequest) ProtoReflect

func (x *ConfigMutationRequest) ProtoReflect() protoreflect.Message

func (*ConfigMutationRequest) Reset

func (x *ConfigMutationRequest) Reset()

func (*ConfigMutationRequest) String

func (x *ConfigMutationRequest) String() string

type ConfigMutationResponse

type ConfigMutationResponse struct {
	Path       string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	CommitHash string `protobuf:"bytes,2,opt,name=commit_hash,json=commitHash,proto3" json:"commit_hash,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigMutationResponse) Descriptor deprecated

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

Deprecated: Use ConfigMutationResponse.ProtoReflect.Descriptor instead.

func (*ConfigMutationResponse) GetCommitHash

func (x *ConfigMutationResponse) GetCommitHash() string

func (*ConfigMutationResponse) GetPath

func (x *ConfigMutationResponse) GetPath() string

func (*ConfigMutationResponse) ProtoMessage

func (*ConfigMutationResponse) ProtoMessage()

func (*ConfigMutationResponse) ProtoReflect

func (x *ConfigMutationResponse) ProtoReflect() protoreflect.Message

func (*ConfigMutationResponse) Reset

func (x *ConfigMutationResponse) Reset()

func (*ConfigMutationResponse) String

func (x *ConfigMutationResponse) String() string

type ProtoconfMutationServiceClient

type ProtoconfMutationServiceClient interface {
	MutateConfig(ctx context.Context, in *ConfigMutationRequest, opts ...grpc.CallOption) (*ConfigMutationResponse, error)
}

ProtoconfMutationServiceClient is the client API for ProtoconfMutationService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ProtoconfMutationServiceServer

type ProtoconfMutationServiceServer interface {
	MutateConfig(context.Context, *ConfigMutationRequest) (*ConfigMutationResponse, error)
	// contains filtered or unexported methods
}

ProtoconfMutationServiceServer is the server API for ProtoconfMutationService service. All implementations must embed UnimplementedProtoconfMutationServiceServer for forward compatibility

type UnimplementedProtoconfMutationServiceServer

type UnimplementedProtoconfMutationServiceServer struct {
}

UnimplementedProtoconfMutationServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedProtoconfMutationServiceServer) MutateConfig

type UnsafeProtoconfMutationServiceServer

type UnsafeProtoconfMutationServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeProtoconfMutationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProtoconfMutationServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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