settings

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2025 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ItemParametersService_GetItemParameters_FullMethodName = "/bricks.v1.settings.ItemParametersService/GetItemParameters"
	ItemParametersService_SetItemParameters_FullMethodName = "/bricks.v1.settings.ItemParametersService/SetItemParameters"
)
View Source
const (
	ServiceSettingsService_GetServiceSettings_FullMethodName = "/bricks.v1.settings.ServiceSettingsService/GetServiceSettings"
	ServiceSettingsService_SetServiceSettings_FullMethodName = "/bricks.v1.settings.ServiceSettingsService/SetServiceSettings"
)
View Source
const (
	GlobalSettingsService_SetGlobalSettings_FullMethodName = "/bricks.v1.settings.GlobalSettingsService/SetGlobalSettings"
)

Variables

View Source
var File_bricks_v1_settings_global_proto protoreflect.FileDescriptor
View Source
var File_bricks_v1_settings_items_proto protoreflect.FileDescriptor
View Source
var File_bricks_v1_settings_service_proto protoreflect.FileDescriptor
View Source
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)

View Source
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)

View Source
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 RegisterItemParametersServiceServer added in v0.16.0

func RegisterItemParametersServiceServer(s grpc.ServiceRegistrar, srv ItemParametersServiceServer)

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 (*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 (*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 (*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.

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.

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 (*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 (*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 (*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 (*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

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) SetItemParameters added in v0.16.0

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) SetServiceSettings

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.

Directories

Path Synopsis
Package mocksettings is a generated GoMock package.
Package mocksettings is a generated GoMock package.

Jump to

Keyboard shortcuts

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