Versions in this module Expand all Collapse all v1 v1.0.0 Jul 1, 2022 Changes in this version + var Error_name = map[int32]string + var Error_value = map[string]int32 + var File_api_profile_v1_error_proto protoreflect.FileDescriptor + var File_api_profile_v1_plgprofile_proto protoreflect.FileDescriptor + var Profile_ServiceDesc = grpc.ServiceDesc + func ErrInvalidArgument() errors.Error + func ErrPluginList() errors.Error + func ErrUnknown() errors.Error + func RegisterProfileHTTPServer(container *go_restful.Container, srv ProfileHTTPServer) + func RegisterProfileServer(s grpc.ServiceRegistrar, srv ProfileServer) + type Error int32 + const Error_ERR_INVALID_ARGUMENT + const Error_ERR_PLUGIN_LIST + const Error_ERR_UNKNOWN + func (Error) Descriptor() protoreflect.EnumDescriptor + func (Error) EnumDescriptor() ([]byte, []int) + func (Error) Type() protoreflect.EnumType + func (x Error) Enum() *Error + func (x Error) Number() protoreflect.EnumNumber + func (x Error) String() string + type GetProfileSchemaRequest struct + Profile string + func (*GetProfileSchemaRequest) Descriptor() ([]byte, []int) + func (*GetProfileSchemaRequest) ProtoMessage() + func (x *GetProfileSchemaRequest) GetProfile() string + func (x *GetProfileSchemaRequest) ProtoReflect() protoreflect.Message + func (x *GetProfileSchemaRequest) Reset() + func (x *GetProfileSchemaRequest) String() string + type GetProfileSchemaResponse struct + Schema *Schema + func (*GetProfileSchemaResponse) Descriptor() ([]byte, []int) + func (*GetProfileSchemaResponse) ProtoMessage() + func (x *GetProfileSchemaResponse) GetSchema() *Schema + func (x *GetProfileSchemaResponse) ProtoReflect() protoreflect.Message + func (x *GetProfileSchemaResponse) Reset() + func (x *GetProfileSchemaResponse) String() string + type GetTenantProfileDataRequest struct + TenantId string + func (*GetTenantProfileDataRequest) Descriptor() ([]byte, []int) + func (*GetTenantProfileDataRequest) ProtoMessage() + func (x *GetTenantProfileDataRequest) GetTenantId() string + func (x *GetTenantProfileDataRequest) ProtoReflect() protoreflect.Message + func (x *GetTenantProfileDataRequest) Reset() + func (x *GetTenantProfileDataRequest) String() string + type GetTenantProfileDataResponse struct + Profiles map[string]int32 + func (*GetTenantProfileDataResponse) Descriptor() ([]byte, []int) + func (*GetTenantProfileDataResponse) ProtoMessage() + func (x *GetTenantProfileDataResponse) GetProfiles() map[string]int32 + func (x *GetTenantProfileDataResponse) ProtoReflect() protoreflect.Message + func (x *GetTenantProfileDataResponse) Reset() + func (x *GetTenantProfileDataResponse) String() string + type ProfileClient interface + GetProfileSchema func(ctx context.Context, in *GetProfileSchemaRequest, opts ...grpc.CallOption) (*GetProfileSchemaResponse, error) + GetTenantProfileData func(ctx context.Context, in *GetTenantProfileDataRequest, opts ...grpc.CallOption) (*GetTenantProfileDataResponse, error) + SetTenantProfileData func(ctx context.Context, in *SetTenantPluginProfileRequest, ...) (*SetTenantPluginProfileResponse, error) + func NewProfileClient(cc grpc.ClientConnInterface) ProfileClient + type ProfileHTTPHandler struct + func (h *ProfileHTTPHandler) GetProfileSchema(req *go_restful.Request, resp *go_restful.Response) + func (h *ProfileHTTPHandler) GetTenantProfileData(req *go_restful.Request, resp *go_restful.Response) + func (h *ProfileHTTPHandler) SetTenantProfileData(req *go_restful.Request, resp *go_restful.Response) + type ProfileHTTPServer interface + GetProfileSchema func(context.Context, *GetProfileSchemaRequest) (*GetProfileSchemaResponse, error) + GetTenantProfileData func(context.Context, *GetTenantProfileDataRequest) (*GetTenantProfileDataResponse, error) + SetTenantProfileData func(context.Context, *SetTenantPluginProfileRequest) (*SetTenantPluginProfileResponse, error) + type ProfileSchema struct + Default int32 + Description string + Maximum int32 + Minimum int32 + MultipleOf int32 + Title string + Type string + func (*ProfileSchema) Descriptor() ([]byte, []int) + func (*ProfileSchema) ProtoMessage() + func (x *ProfileSchema) GetDefault() int32 + func (x *ProfileSchema) GetDescription() string + func (x *ProfileSchema) GetMaximum() int32 + func (x *ProfileSchema) GetMinimum() int32 + func (x *ProfileSchema) GetMultipleOf() int32 + func (x *ProfileSchema) GetTitle() string + func (x *ProfileSchema) GetType() string + func (x *ProfileSchema) ProtoReflect() protoreflect.Message + func (x *ProfileSchema) Reset() + func (x *ProfileSchema) String() string + type ProfileServer interface + GetProfileSchema func(context.Context, *GetProfileSchemaRequest) (*GetProfileSchemaResponse, error) + GetTenantProfileData func(context.Context, *GetTenantProfileDataRequest) (*GetTenantProfileDataResponse, error) + SetTenantProfileData func(context.Context, *SetTenantPluginProfileRequest) (*SetTenantPluginProfileResponse, error) + type Schema struct + AdditionalProperties bool + Properties map[string]*ProfileSchema + Required []string + Type string + func (*Schema) Descriptor() ([]byte, []int) + func (*Schema) ProtoMessage() + func (x *Schema) GetAdditionalProperties() bool + func (x *Schema) GetProperties() map[string]*ProfileSchema + func (x *Schema) GetRequired() []string + func (x *Schema) GetType() string + func (x *Schema) ProtoReflect() protoreflect.Message + func (x *Schema) Reset() + func (x *Schema) String() string + type SetTenantPluginProfileRequest struct + Body *TenantProfiles + TenantId string + func (*SetTenantPluginProfileRequest) Descriptor() ([]byte, []int) + func (*SetTenantPluginProfileRequest) ProtoMessage() + func (x *SetTenantPluginProfileRequest) GetBody() *TenantProfiles + func (x *SetTenantPluginProfileRequest) GetTenantId() string + func (x *SetTenantPluginProfileRequest) ProtoReflect() protoreflect.Message + func (x *SetTenantPluginProfileRequest) Reset() + func (x *SetTenantPluginProfileRequest) String() string + type SetTenantPluginProfileResponse struct + func (*SetTenantPluginProfileResponse) Descriptor() ([]byte, []int) + func (*SetTenantPluginProfileResponse) ProtoMessage() + func (x *SetTenantPluginProfileResponse) ProtoReflect() protoreflect.Message + func (x *SetTenantPluginProfileResponse) Reset() + func (x *SetTenantPluginProfileResponse) String() string + type TenantEnableRequest struct + Extra []byte + TenantId string + func (*TenantEnableRequest) Descriptor() ([]byte, []int) + func (*TenantEnableRequest) ProtoMessage() + func (x *TenantEnableRequest) GetExtra() []byte + func (x *TenantEnableRequest) GetTenantId() string + func (x *TenantEnableRequest) ProtoReflect() protoreflect.Message + func (x *TenantEnableRequest) Reset() + func (x *TenantEnableRequest) String() string + type TenantProfiles struct + Profiles map[string]int32 + func (*TenantProfiles) Descriptor() ([]byte, []int) + func (*TenantProfiles) ProtoMessage() + func (x *TenantProfiles) GetProfiles() map[string]int32 + func (x *TenantProfiles) ProtoReflect() protoreflect.Message + func (x *TenantProfiles) Reset() + func (x *TenantProfiles) String() string + type UnimplementedProfileServer struct + func (UnimplementedProfileServer) GetProfileSchema(context.Context, *GetProfileSchemaRequest) (*GetProfileSchemaResponse, error) + func (UnimplementedProfileServer) GetTenantProfileData(context.Context, *GetTenantProfileDataRequest) (*GetTenantProfileDataResponse, error) + func (UnimplementedProfileServer) SetTenantProfileData(context.Context, *SetTenantPluginProfileRequest) (*SetTenantPluginProfileResponse, error) + type UnsafeProfileServer interface