Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterGlobalSettingsServiceServer(s grpc.ServiceRegistrar, srv GlobalSettingsServiceServer)
- func RegisterServiceSettingsServiceServer(s grpc.ServiceRegistrar, srv ServiceSettingsServiceServer)
- type GetServiceSettingsRequest
- func (*GetServiceSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetServiceSettingsRequest) GetService() string
- func (*GetServiceSettingsRequest) ProtoMessage()
- func (x *GetServiceSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *GetServiceSettingsRequest) Reset()
- func (x *GetServiceSettingsRequest) String() string
- type GetServiceSettingsResponse
- func (*GetServiceSettingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetServiceSettingsResponse) GetSettings() map[string]*structpb.Value
- func (*GetServiceSettingsResponse) ProtoMessage()
- func (x *GetServiceSettingsResponse) ProtoReflect() protoreflect.Message
- func (x *GetServiceSettingsResponse) Reset()
- func (x *GetServiceSettingsResponse) String() string
- type GlobalSettingsServiceClient
- type GlobalSettingsServiceServer
- type ServiceSettingsServiceClient
- type ServiceSettingsServiceServer
- type SetGlobalSettingsRequest
- func (*SetGlobalSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetGlobalSettingsRequest) GetSettings() map[string]*structpb.Value
- func (*SetGlobalSettingsRequest) ProtoMessage()
- func (x *SetGlobalSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *SetGlobalSettingsRequest) Reset()
- func (x *SetGlobalSettingsRequest) String() string
- type SetGlobalSettingsResponse
- type SetServiceSettingsRequest
- func (*SetServiceSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetServiceSettingsRequest) GetService() string
- func (x *SetServiceSettingsRequest) GetSettings() map[string]*structpb.Value
- func (*SetServiceSettingsRequest) ProtoMessage()
- func (x *SetServiceSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *SetServiceSettingsRequest) Reset()
- func (x *SetServiceSettingsRequest) String() string
- type SetServiceSettingsResponse
- type UnimplementedGlobalSettingsServiceServer
- type UnimplementedServiceSettingsServiceServer
- type UnsafeGlobalSettingsServiceServer
- type UnsafeServiceSettingsServiceServer
Constants ¶
const ( ServiceSettingsService_GetServiceSettings_FullMethodName = "/bricks.v1.settings.ServiceSettingsService/GetServiceSettings" ServiceSettingsService_SetServiceSettings_FullMethodName = "/bricks.v1.settings.ServiceSettingsService/SetServiceSettings" )
const (
GlobalSettingsService_SetGlobalSettings_FullMethodName = "/bricks.v1.settings.GlobalSettingsService/SetGlobalSettings"
)
Variables ¶
var File_bricks_v1_settings_global_proto protoreflect.FileDescriptor
var File_bricks_v1_settings_service_proto protoreflect.FileDescriptor
var GlobalSettingsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "bricks.v1.settings.GlobalSettingsService", HandlerType: (*GlobalSettingsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SetGlobalSettings", Handler: _GlobalSettingsService_SetGlobalSettings_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "bricks/v1/settings/global.proto", }
GlobalSettingsService_ServiceDesc is the grpc.ServiceDesc for GlobalSettingsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ServiceSettingsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "bricks.v1.settings.ServiceSettingsService", HandlerType: (*ServiceSettingsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetServiceSettings", Handler: _ServiceSettingsService_GetServiceSettings_Handler, }, { MethodName: "SetServiceSettings", Handler: _ServiceSettingsService_SetServiceSettings_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "bricks/v1/settings/service.proto", }
ServiceSettingsService_ServiceDesc is the grpc.ServiceDesc for ServiceSettingsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterGlobalSettingsServiceServer ¶
func RegisterGlobalSettingsServiceServer(s grpc.ServiceRegistrar, srv GlobalSettingsServiceServer)
func RegisterServiceSettingsServiceServer ¶
func RegisterServiceSettingsServiceServer(s grpc.ServiceRegistrar, srv ServiceSettingsServiceServer)
Types ¶
type GetServiceSettingsRequest ¶
type GetServiceSettingsRequest struct {
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// contains filtered or unexported fields
}
func (*GetServiceSettingsRequest) Descriptor
deprecated
func (*GetServiceSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetServiceSettingsRequest.ProtoReflect.Descriptor instead.
func (*GetServiceSettingsRequest) GetService ¶
func (x *GetServiceSettingsRequest) GetService() string
func (*GetServiceSettingsRequest) ProtoMessage ¶
func (*GetServiceSettingsRequest) ProtoMessage()
func (*GetServiceSettingsRequest) ProtoReflect ¶
func (x *GetServiceSettingsRequest) ProtoReflect() protoreflect.Message
func (*GetServiceSettingsRequest) Reset ¶
func (x *GetServiceSettingsRequest) Reset()
func (*GetServiceSettingsRequest) String ¶
func (x *GetServiceSettingsRequest) String() string
type GetServiceSettingsResponse ¶
type GetServiceSettingsResponse struct {
Settings map[string]*structpb.Value `` /* 143-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*GetServiceSettingsResponse) Descriptor
deprecated
func (*GetServiceSettingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetServiceSettingsResponse.ProtoReflect.Descriptor instead.
func (*GetServiceSettingsResponse) GetSettings ¶
func (x *GetServiceSettingsResponse) GetSettings() map[string]*structpb.Value
func (*GetServiceSettingsResponse) ProtoMessage ¶
func (*GetServiceSettingsResponse) ProtoMessage()
func (*GetServiceSettingsResponse) ProtoReflect ¶
func (x *GetServiceSettingsResponse) ProtoReflect() protoreflect.Message
func (*GetServiceSettingsResponse) Reset ¶
func (x *GetServiceSettingsResponse) Reset()
func (*GetServiceSettingsResponse) String ¶
func (x *GetServiceSettingsResponse) String() string
type GlobalSettingsServiceClient ¶
type GlobalSettingsServiceClient interface {
SetGlobalSettings(ctx context.Context, in *SetGlobalSettingsRequest, opts ...grpc.CallOption) (*SetGlobalSettingsResponse, error)
}
GlobalSettingsServiceClient is the client API for GlobalSettingsService 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.
func NewGlobalSettingsServiceClient ¶
func NewGlobalSettingsServiceClient(cc grpc.ClientConnInterface) GlobalSettingsServiceClient
type GlobalSettingsServiceServer ¶
type GlobalSettingsServiceServer interface {
SetGlobalSettings(context.Context, *SetGlobalSettingsRequest) (*SetGlobalSettingsResponse, error)
// contains filtered or unexported methods
}
GlobalSettingsServiceServer is the server API for GlobalSettingsService service. All implementations must embed UnimplementedGlobalSettingsServiceServer for forward compatibility.
type ServiceSettingsServiceClient ¶
type ServiceSettingsServiceClient interface {
GetServiceSettings(ctx context.Context, in *GetServiceSettingsRequest, opts ...grpc.CallOption) (*GetServiceSettingsResponse, error)
SetServiceSettings(ctx context.Context, in *SetServiceSettingsRequest, opts ...grpc.CallOption) (*SetServiceSettingsResponse, error)
}
ServiceSettingsServiceClient is the client API for ServiceSettingsService 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.
func NewServiceSettingsServiceClient ¶
func NewServiceSettingsServiceClient(cc grpc.ClientConnInterface) ServiceSettingsServiceClient
type ServiceSettingsServiceServer ¶
type ServiceSettingsServiceServer interface {
GetServiceSettings(context.Context, *GetServiceSettingsRequest) (*GetServiceSettingsResponse, error)
SetServiceSettings(context.Context, *SetServiceSettingsRequest) (*SetServiceSettingsResponse, error)
// contains filtered or unexported methods
}
ServiceSettingsServiceServer is the server API for ServiceSettingsService service. All implementations must embed UnimplementedServiceSettingsServiceServer for forward compatibility.
type SetGlobalSettingsRequest ¶
type SetGlobalSettingsRequest struct {
Settings map[string]*structpb.Value `` /* 143-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*SetGlobalSettingsRequest) Descriptor
deprecated
func (*SetGlobalSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetGlobalSettingsRequest.ProtoReflect.Descriptor instead.
func (*SetGlobalSettingsRequest) GetSettings ¶
func (x *SetGlobalSettingsRequest) GetSettings() map[string]*structpb.Value
func (*SetGlobalSettingsRequest) ProtoMessage ¶
func (*SetGlobalSettingsRequest) ProtoMessage()
func (*SetGlobalSettingsRequest) ProtoReflect ¶
func (x *SetGlobalSettingsRequest) ProtoReflect() protoreflect.Message
func (*SetGlobalSettingsRequest) Reset ¶
func (x *SetGlobalSettingsRequest) Reset()
func (*SetGlobalSettingsRequest) String ¶
func (x *SetGlobalSettingsRequest) String() string
type SetGlobalSettingsResponse ¶
type SetGlobalSettingsResponse struct {
// contains filtered or unexported fields
}
func (*SetGlobalSettingsResponse) Descriptor
deprecated
func (*SetGlobalSettingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetGlobalSettingsResponse.ProtoReflect.Descriptor instead.
func (*SetGlobalSettingsResponse) ProtoMessage ¶
func (*SetGlobalSettingsResponse) ProtoMessage()
func (*SetGlobalSettingsResponse) ProtoReflect ¶
func (x *SetGlobalSettingsResponse) ProtoReflect() protoreflect.Message
func (*SetGlobalSettingsResponse) Reset ¶
func (x *SetGlobalSettingsResponse) Reset()
func (*SetGlobalSettingsResponse) String ¶
func (x *SetGlobalSettingsResponse) String() string
type SetServiceSettingsRequest ¶
type SetServiceSettingsRequest struct {
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
Settings map[string]*structpb.Value `` /* 143-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*SetServiceSettingsRequest) Descriptor
deprecated
func (*SetServiceSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetServiceSettingsRequest.ProtoReflect.Descriptor instead.
func (*SetServiceSettingsRequest) GetService ¶
func (x *SetServiceSettingsRequest) GetService() string
func (*SetServiceSettingsRequest) GetSettings ¶
func (x *SetServiceSettingsRequest) GetSettings() map[string]*structpb.Value
func (*SetServiceSettingsRequest) ProtoMessage ¶
func (*SetServiceSettingsRequest) ProtoMessage()
func (*SetServiceSettingsRequest) ProtoReflect ¶
func (x *SetServiceSettingsRequest) ProtoReflect() protoreflect.Message
func (*SetServiceSettingsRequest) Reset ¶
func (x *SetServiceSettingsRequest) Reset()
func (*SetServiceSettingsRequest) String ¶
func (x *SetServiceSettingsRequest) String() string
type SetServiceSettingsResponse ¶
type SetServiceSettingsResponse struct {
// contains filtered or unexported fields
}
func (*SetServiceSettingsResponse) Descriptor
deprecated
func (*SetServiceSettingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetServiceSettingsResponse.ProtoReflect.Descriptor instead.
func (*SetServiceSettingsResponse) ProtoMessage ¶
func (*SetServiceSettingsResponse) ProtoMessage()
func (*SetServiceSettingsResponse) ProtoReflect ¶
func (x *SetServiceSettingsResponse) ProtoReflect() protoreflect.Message
func (*SetServiceSettingsResponse) Reset ¶
func (x *SetServiceSettingsResponse) Reset()
func (*SetServiceSettingsResponse) String ¶
func (x *SetServiceSettingsResponse) String() string
type UnimplementedGlobalSettingsServiceServer ¶
type UnimplementedGlobalSettingsServiceServer struct{}
UnimplementedGlobalSettingsServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedGlobalSettingsServiceServer) SetGlobalSettings ¶
func (UnimplementedGlobalSettingsServiceServer) SetGlobalSettings(context.Context, *SetGlobalSettingsRequest) (*SetGlobalSettingsResponse, error)
type UnimplementedServiceSettingsServiceServer ¶
type UnimplementedServiceSettingsServiceServer struct{}
UnimplementedServiceSettingsServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedServiceSettingsServiceServer) GetServiceSettings ¶
func (UnimplementedServiceSettingsServiceServer) GetServiceSettings(context.Context, *GetServiceSettingsRequest) (*GetServiceSettingsResponse, error)
func (UnimplementedServiceSettingsServiceServer) SetServiceSettings ¶
func (UnimplementedServiceSettingsServiceServer) SetServiceSettings(context.Context, *SetServiceSettingsRequest) (*SetServiceSettingsResponse, error)
type UnsafeGlobalSettingsServiceServer ¶
type UnsafeGlobalSettingsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeGlobalSettingsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GlobalSettingsServiceServer will result in compilation errors.
type UnsafeServiceSettingsServiceServer ¶
type UnsafeServiceSettingsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeServiceSettingsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServiceSettingsServiceServer will result in compilation errors.