Documentation
¶
Overview ¶
Package settings is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package settings is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package settings is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterGlobalSettingsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterGlobalSettingsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client GlobalSettingsServiceClient) error
- func RegisterGlobalSettingsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterGlobalSettingsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server GlobalSettingsServiceServer) error
- func RegisterGlobalSettingsServiceServer(s grpc.ServiceRegistrar, srv GlobalSettingsServiceServer)
- func RegisterItemParametersServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterItemParametersServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ItemParametersServiceClient) error
- func RegisterItemParametersServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterItemParametersServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ItemParametersServiceServer) error
- func RegisterItemParametersServiceServer(s grpc.ServiceRegistrar, srv ItemParametersServiceServer)
- func RegisterServiceSettingsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterServiceSettingsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterServiceSettingsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterServiceSettingsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, ...) error
- func RegisterServiceSettingsServiceServer(s grpc.ServiceRegistrar, srv ServiceSettingsServiceServer)
- type GetItemParametersRequest
- func (*GetItemParametersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetItemParametersRequest) GetItemId() string
- func (*GetItemParametersRequest) ProtoMessage()
- func (x *GetItemParametersRequest) ProtoReflect() protoreflect.Message
- func (x *GetItemParametersRequest) Reset()
- func (x *GetItemParametersRequest) String() string
- type GetItemParametersResponse
- func (*GetItemParametersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetItemParametersResponse) GetParameters() map[string]*structpb.Value
- func (*GetItemParametersResponse) ProtoMessage()
- func (x *GetItemParametersResponse) ProtoReflect() protoreflect.Message
- func (x *GetItemParametersResponse) Reset()
- func (x *GetItemParametersResponse) String() string
- 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 ItemParametersServiceClient
- type ItemParametersServiceServer
- 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 SetItemParametersRequest
- func (*SetItemParametersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetItemParametersRequest) GetItemId() string
- func (x *SetItemParametersRequest) GetParameters() map[string]*structpb.Value
- func (*SetItemParametersRequest) ProtoMessage()
- func (x *SetItemParametersRequest) ProtoReflect() protoreflect.Message
- func (x *SetItemParametersRequest) Reset()
- func (x *SetItemParametersRequest) String() string
- type SetItemParametersResponse
- 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 UnimplementedItemParametersServiceServer
- type UnimplementedServiceSettingsServiceServer
- type UnsafeGlobalSettingsServiceServer
- type UnsafeItemParametersServiceServer
- type UnsafeServiceSettingsServiceServer
Constants ¶
const ( ItemParametersService_GetItemParameters_FullMethodName = "/bricks.v1.settings.ItemParametersService/GetItemParameters" ItemParametersService_SetItemParameters_FullMethodName = "/bricks.v1.settings.ItemParametersService/SetItemParameters" )
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_items_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 ItemParametersService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "bricks.v1.settings.ItemParametersService", HandlerType: (*ItemParametersServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetItemParameters", Handler: _ItemParametersService_GetItemParameters_Handler, }, { MethodName: "SetItemParameters", Handler: _ItemParametersService_SetItemParameters_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "bricks/v1/settings/items.proto", }
ItemParametersService_ServiceDesc is the grpc.ServiceDesc for ItemParametersService 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 RegisterGlobalSettingsServiceHandler ¶ added in v0.20.0
func RegisterGlobalSettingsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterGlobalSettingsServiceHandler registers the http handlers for service GlobalSettingsService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterGlobalSettingsServiceHandlerClient ¶ added in v0.20.0
func RegisterGlobalSettingsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client GlobalSettingsServiceClient) error
RegisterGlobalSettingsServiceHandlerClient registers the http handlers for service GlobalSettingsService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "GlobalSettingsServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "GlobalSettingsServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "GlobalSettingsServiceClient" to call the correct interceptors. This client ignores the HTTP middlewares.
func RegisterGlobalSettingsServiceHandlerFromEndpoint ¶ added in v0.20.0
func RegisterGlobalSettingsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterGlobalSettingsServiceHandlerFromEndpoint is same as RegisterGlobalSettingsServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterGlobalSettingsServiceHandlerServer ¶ added in v0.20.0
func RegisterGlobalSettingsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server GlobalSettingsServiceServer) error
RegisterGlobalSettingsServiceHandlerServer registers the http handlers for service GlobalSettingsService to "mux". UnaryRPC :call GlobalSettingsServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterGlobalSettingsServiceHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.
func RegisterGlobalSettingsServiceServer ¶
func RegisterGlobalSettingsServiceServer(s grpc.ServiceRegistrar, srv GlobalSettingsServiceServer)
func RegisterItemParametersServiceHandler ¶ added in v0.20.0
func RegisterItemParametersServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterItemParametersServiceHandler registers the http handlers for service ItemParametersService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterItemParametersServiceHandlerClient ¶ added in v0.20.0
func RegisterItemParametersServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ItemParametersServiceClient) error
RegisterItemParametersServiceHandlerClient registers the http handlers for service ItemParametersService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ItemParametersServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ItemParametersServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ItemParametersServiceClient" to call the correct interceptors. This client ignores the HTTP middlewares.
func RegisterItemParametersServiceHandlerFromEndpoint ¶ added in v0.20.0
func RegisterItemParametersServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterItemParametersServiceHandlerFromEndpoint is same as RegisterItemParametersServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterItemParametersServiceHandlerServer ¶ added in v0.20.0
func RegisterItemParametersServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ItemParametersServiceServer) error
RegisterItemParametersServiceHandlerServer registers the http handlers for service ItemParametersService to "mux". UnaryRPC :call ItemParametersServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterItemParametersServiceHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.
func RegisterItemParametersServiceServer ¶ added in v0.16.0
func RegisterItemParametersServiceServer(s grpc.ServiceRegistrar, srv ItemParametersServiceServer)
func RegisterServiceSettingsServiceHandler ¶ added in v0.20.0
func RegisterServiceSettingsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterServiceSettingsServiceHandler registers the http handlers for service ServiceSettingsService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterServiceSettingsServiceHandlerClient ¶ added in v0.20.0
func RegisterServiceSettingsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ServiceSettingsServiceClient) error
RegisterServiceSettingsServiceHandlerClient registers the http handlers for service ServiceSettingsService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ServiceSettingsServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ServiceSettingsServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ServiceSettingsServiceClient" to call the correct interceptors. This client ignores the HTTP middlewares.
func RegisterServiceSettingsServiceHandlerFromEndpoint ¶ added in v0.20.0
func RegisterServiceSettingsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterServiceSettingsServiceHandlerFromEndpoint is same as RegisterServiceSettingsServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterServiceSettingsServiceHandlerServer ¶ added in v0.20.0
func RegisterServiceSettingsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ServiceSettingsServiceServer) error
RegisterServiceSettingsServiceHandlerServer registers the http handlers for service ServiceSettingsService to "mux". UnaryRPC :call ServiceSettingsServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterServiceSettingsServiceHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.
func RegisterServiceSettingsServiceServer ¶
func RegisterServiceSettingsServiceServer(s grpc.ServiceRegistrar, srv ServiceSettingsServiceServer)
Types ¶
type GetItemParametersRequest ¶ added in v0.16.0
type GetItemParametersRequest struct {
ItemId string `protobuf:"bytes,1,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
// contains filtered or unexported fields
}
func (*GetItemParametersRequest) Descriptor
deprecated
added in
v0.16.0
func (*GetItemParametersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetItemParametersRequest.ProtoReflect.Descriptor instead.
func (*GetItemParametersRequest) GetItemId ¶ added in v0.16.0
func (x *GetItemParametersRequest) GetItemId() string
func (*GetItemParametersRequest) ProtoMessage ¶ added in v0.16.0
func (*GetItemParametersRequest) ProtoMessage()
func (*GetItemParametersRequest) ProtoReflect ¶ added in v0.16.0
func (x *GetItemParametersRequest) ProtoReflect() protoreflect.Message
func (*GetItemParametersRequest) Reset ¶ added in v0.16.0
func (x *GetItemParametersRequest) Reset()
func (*GetItemParametersRequest) String ¶ added in v0.16.0
func (x *GetItemParametersRequest) String() string
type GetItemParametersResponse ¶ added in v0.16.0
type GetItemParametersResponse struct {
Parameters map[string]*structpb.Value `` /* 147-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*GetItemParametersResponse) Descriptor
deprecated
added in
v0.16.0
func (*GetItemParametersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetItemParametersResponse.ProtoReflect.Descriptor instead.
func (*GetItemParametersResponse) GetParameters ¶ added in v0.16.0
func (x *GetItemParametersResponse) GetParameters() map[string]*structpb.Value
func (*GetItemParametersResponse) ProtoMessage ¶ added in v0.16.0
func (*GetItemParametersResponse) ProtoMessage()
func (*GetItemParametersResponse) ProtoReflect ¶ added in v0.16.0
func (x *GetItemParametersResponse) ProtoReflect() protoreflect.Message
func (*GetItemParametersResponse) Reset ¶ added in v0.16.0
func (x *GetItemParametersResponse) Reset()
func (*GetItemParametersResponse) String ¶ added in v0.16.0
func (x *GetItemParametersResponse) String() string
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 ItemParametersServiceClient ¶ added in v0.16.0
type ItemParametersServiceClient interface {
GetItemParameters(ctx context.Context, in *GetItemParametersRequest, opts ...grpc.CallOption) (*GetItemParametersResponse, error)
SetItemParameters(ctx context.Context, in *SetItemParametersRequest, opts ...grpc.CallOption) (*SetItemParametersResponse, error)
}
ItemParametersServiceClient is the client API for ItemParametersService 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 NewItemParametersServiceClient ¶ added in v0.16.0
func NewItemParametersServiceClient(cc grpc.ClientConnInterface) ItemParametersServiceClient
type ItemParametersServiceServer ¶ added in v0.16.0
type ItemParametersServiceServer interface {
GetItemParameters(context.Context, *GetItemParametersRequest) (*GetItemParametersResponse, error)
SetItemParameters(context.Context, *SetItemParametersRequest) (*SetItemParametersResponse, error)
// contains filtered or unexported methods
}
ItemParametersServiceServer is the server API for ItemParametersService service. All implementations must embed UnimplementedItemParametersServiceServer 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 SetItemParametersRequest ¶ added in v0.16.0
type SetItemParametersRequest struct {
ItemId string `protobuf:"bytes,1,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
Parameters map[string]*structpb.Value `` /* 147-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*SetItemParametersRequest) Descriptor
deprecated
added in
v0.16.0
func (*SetItemParametersRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetItemParametersRequest.ProtoReflect.Descriptor instead.
func (*SetItemParametersRequest) GetItemId ¶ added in v0.16.0
func (x *SetItemParametersRequest) GetItemId() string
func (*SetItemParametersRequest) GetParameters ¶ added in v0.16.0
func (x *SetItemParametersRequest) GetParameters() map[string]*structpb.Value
func (*SetItemParametersRequest) ProtoMessage ¶ added in v0.16.0
func (*SetItemParametersRequest) ProtoMessage()
func (*SetItemParametersRequest) ProtoReflect ¶ added in v0.16.0
func (x *SetItemParametersRequest) ProtoReflect() protoreflect.Message
func (*SetItemParametersRequest) Reset ¶ added in v0.16.0
func (x *SetItemParametersRequest) Reset()
func (*SetItemParametersRequest) String ¶ added in v0.16.0
func (x *SetItemParametersRequest) String() string
type SetItemParametersResponse ¶ added in v0.16.0
type SetItemParametersResponse struct {
// contains filtered or unexported fields
}
func (*SetItemParametersResponse) Descriptor
deprecated
added in
v0.16.0
func (*SetItemParametersResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetItemParametersResponse.ProtoReflect.Descriptor instead.
func (*SetItemParametersResponse) ProtoMessage ¶ added in v0.16.0
func (*SetItemParametersResponse) ProtoMessage()
func (*SetItemParametersResponse) ProtoReflect ¶ added in v0.16.0
func (x *SetItemParametersResponse) ProtoReflect() protoreflect.Message
func (*SetItemParametersResponse) Reset ¶ added in v0.16.0
func (x *SetItemParametersResponse) Reset()
func (*SetItemParametersResponse) String ¶ added in v0.16.0
func (x *SetItemParametersResponse) 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 UnimplementedItemParametersServiceServer ¶ added in v0.16.0
type UnimplementedItemParametersServiceServer struct{}
UnimplementedItemParametersServiceServer 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 (UnimplementedItemParametersServiceServer) GetItemParameters ¶ added in v0.16.0
func (UnimplementedItemParametersServiceServer) GetItemParameters(context.Context, *GetItemParametersRequest) (*GetItemParametersResponse, error)
func (UnimplementedItemParametersServiceServer) SetItemParameters ¶ added in v0.16.0
func (UnimplementedItemParametersServiceServer) SetItemParameters(context.Context, *SetItemParametersRequest) (*SetItemParametersResponse, 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 UnsafeItemParametersServiceServer ¶ added in v0.16.0
type UnsafeItemParametersServiceServer interface {
// contains filtered or unexported methods
}
UnsafeItemParametersServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ItemParametersServiceServer 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.