Documentation ¶
Index ¶
- Variables
- func RegisterFormsServiceServer(s grpc.ServiceRegistrar, srv FormsServiceServer)
- type DeleteFormTemplateRequest
- func (*DeleteFormTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFormTemplateRequest) GetId() string
- func (*DeleteFormTemplateRequest) ProtoMessage()
- func (x *DeleteFormTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteFormTemplateRequest) Reset()
- func (x *DeleteFormTemplateRequest) String() string
- type DeleteFormTemplateResponse
- type FormsServiceClient
- type FormsServiceServer
- type GetFormTemplateRequest
- func (*GetFormTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFormTemplateRequest) GetId() string
- func (*GetFormTemplateRequest) ProtoMessage()
- func (x *GetFormTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *GetFormTemplateRequest) Reset()
- func (x *GetFormTemplateRequest) String() string
- type GetFormTemplateResponse
- func (*GetFormTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetFormTemplateResponse) GetFormTemplate() *v1alpha.FormTemplate
- func (*GetFormTemplateResponse) ProtoMessage()
- func (x *GetFormTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *GetFormTemplateResponse) Reset()
- func (x *GetFormTemplateResponse) String() string
- type ListFormTemplatesRequest
- type ListFormTemplatesResponse
- func (*ListFormTemplatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListFormTemplatesResponse) GetFormTemplates() []*v1alpha.FormTemplate
- func (*ListFormTemplatesResponse) ProtoMessage()
- func (x *ListFormTemplatesResponse) ProtoReflect() protoreflect.Message
- func (x *ListFormTemplatesResponse) Reset()
- func (x *ListFormTemplatesResponse) String() string
- type UnimplementedFormsServiceServer
- func (UnimplementedFormsServiceServer) DeleteFormTemplate(context.Context, *DeleteFormTemplateRequest) (*DeleteFormTemplateResponse, error)
- func (UnimplementedFormsServiceServer) GetFormTemplate(context.Context, *GetFormTemplateRequest) (*GetFormTemplateResponse, error)
- func (UnimplementedFormsServiceServer) ListFormTemplates(context.Context, *ListFormTemplatesRequest) (*ListFormTemplatesResponse, error)
- func (UnimplementedFormsServiceServer) UpsertFormTemplate(context.Context, *UpsertFormTemplateRequest) (*UpsertFormTemplateResponse, error)
- type UnsafeFormsServiceServer
- type UpsertFormTemplateRequest
- func (*UpsertFormTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpsertFormTemplateRequest) GetFormTemplate() *v1alpha.FormTemplate
- func (*UpsertFormTemplateRequest) ProtoMessage()
- func (x *UpsertFormTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *UpsertFormTemplateRequest) Reset()
- func (x *UpsertFormTemplateRequest) String() string
- type UpsertFormTemplateResponse
- func (*UpsertFormTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpsertFormTemplateResponse) GetFormTemplate() *v1alpha.FormTemplate
- func (*UpsertFormTemplateResponse) ProtoMessage()
- func (x *UpsertFormTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *UpsertFormTemplateResponse) Reset()
- func (x *UpsertFormTemplateResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var File_strmprivacy_api_forms_v1alpha_forms_v1alpha_proto protoreflect.FileDescriptor
var FormsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "strmprivacy.api.forms.v1alpha.FormsService", HandlerType: (*FormsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListFormTemplates", Handler: _FormsService_ListFormTemplates_Handler, }, { MethodName: "GetFormTemplate", Handler: _FormsService_GetFormTemplate_Handler, }, { MethodName: "UpsertFormTemplate", Handler: _FormsService_UpsertFormTemplate_Handler, }, { MethodName: "DeleteFormTemplate", Handler: _FormsService_DeleteFormTemplate_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "strmprivacy/api/forms/v1alpha/forms_v1alpha.proto", }
FormsService_ServiceDesc is the grpc.ServiceDesc for FormsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterFormsServiceServer ¶
func RegisterFormsServiceServer(s grpc.ServiceRegistrar, srv FormsServiceServer)
Types ¶
type DeleteFormTemplateRequest ¶
type DeleteFormTemplateRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteFormTemplateRequest) Descriptor
deprecated
func (*DeleteFormTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFormTemplateRequest.ProtoReflect.Descriptor instead.
func (*DeleteFormTemplateRequest) GetId ¶
func (x *DeleteFormTemplateRequest) GetId() string
func (*DeleteFormTemplateRequest) ProtoMessage ¶
func (*DeleteFormTemplateRequest) ProtoMessage()
func (*DeleteFormTemplateRequest) ProtoReflect ¶
func (x *DeleteFormTemplateRequest) ProtoReflect() protoreflect.Message
func (*DeleteFormTemplateRequest) Reset ¶
func (x *DeleteFormTemplateRequest) Reset()
func (*DeleteFormTemplateRequest) String ¶
func (x *DeleteFormTemplateRequest) String() string
type DeleteFormTemplateResponse ¶
type DeleteFormTemplateResponse struct {
// contains filtered or unexported fields
}
func (*DeleteFormTemplateResponse) Descriptor
deprecated
func (*DeleteFormTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFormTemplateResponse.ProtoReflect.Descriptor instead.
func (*DeleteFormTemplateResponse) ProtoMessage ¶
func (*DeleteFormTemplateResponse) ProtoMessage()
func (*DeleteFormTemplateResponse) ProtoReflect ¶
func (x *DeleteFormTemplateResponse) ProtoReflect() protoreflect.Message
func (*DeleteFormTemplateResponse) Reset ¶
func (x *DeleteFormTemplateResponse) Reset()
func (*DeleteFormTemplateResponse) String ¶
func (x *DeleteFormTemplateResponse) String() string
type FormsServiceClient ¶
type FormsServiceClient interface { // CRUD on Form Templates // returns all the form templates for the organization of the caller. // currently also includes the hard-coded templates ListFormTemplates(ctx context.Context, in *ListFormTemplatesRequest, opts ...grpc.CallOption) (*ListFormTemplatesResponse, error) GetFormTemplate(ctx context.Context, in *GetFormTemplateRequest, opts ...grpc.CallOption) (*GetFormTemplateResponse, error) UpsertFormTemplate(ctx context.Context, in *UpsertFormTemplateRequest, opts ...grpc.CallOption) (*UpsertFormTemplateResponse, error) DeleteFormTemplate(ctx context.Context, in *DeleteFormTemplateRequest, opts ...grpc.CallOption) (*DeleteFormTemplateResponse, error) }
FormsServiceClient is the client API for FormsService 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 NewFormsServiceClient ¶
func NewFormsServiceClient(cc grpc.ClientConnInterface) FormsServiceClient
type FormsServiceServer ¶
type FormsServiceServer interface { // CRUD on Form Templates // returns all the form templates for the organization of the caller. // currently also includes the hard-coded templates ListFormTemplates(context.Context, *ListFormTemplatesRequest) (*ListFormTemplatesResponse, error) GetFormTemplate(context.Context, *GetFormTemplateRequest) (*GetFormTemplateResponse, error) UpsertFormTemplate(context.Context, *UpsertFormTemplateRequest) (*UpsertFormTemplateResponse, error) DeleteFormTemplate(context.Context, *DeleteFormTemplateRequest) (*DeleteFormTemplateResponse, error) }
FormsServiceServer is the server API for FormsService service. All implementations should embed UnimplementedFormsServiceServer for forward compatibility
type GetFormTemplateRequest ¶
type GetFormTemplateRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetFormTemplateRequest) Descriptor
deprecated
func (*GetFormTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFormTemplateRequest.ProtoReflect.Descriptor instead.
func (*GetFormTemplateRequest) GetId ¶
func (x *GetFormTemplateRequest) GetId() string
func (*GetFormTemplateRequest) ProtoMessage ¶
func (*GetFormTemplateRequest) ProtoMessage()
func (*GetFormTemplateRequest) ProtoReflect ¶
func (x *GetFormTemplateRequest) ProtoReflect() protoreflect.Message
func (*GetFormTemplateRequest) Reset ¶
func (x *GetFormTemplateRequest) Reset()
func (*GetFormTemplateRequest) String ¶
func (x *GetFormTemplateRequest) String() string
type GetFormTemplateResponse ¶
type GetFormTemplateResponse struct { FormTemplate *v1alpha.FormTemplate `protobuf:"bytes,1,opt,name=form_template,json=formTemplate,proto3" json:"form_template,omitempty"` // contains filtered or unexported fields }
func (*GetFormTemplateResponse) Descriptor
deprecated
func (*GetFormTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetFormTemplateResponse.ProtoReflect.Descriptor instead.
func (*GetFormTemplateResponse) GetFormTemplate ¶
func (x *GetFormTemplateResponse) GetFormTemplate() *v1alpha.FormTemplate
func (*GetFormTemplateResponse) ProtoMessage ¶
func (*GetFormTemplateResponse) ProtoMessage()
func (*GetFormTemplateResponse) ProtoReflect ¶
func (x *GetFormTemplateResponse) ProtoReflect() protoreflect.Message
func (*GetFormTemplateResponse) Reset ¶
func (x *GetFormTemplateResponse) Reset()
func (*GetFormTemplateResponse) String ¶
func (x *GetFormTemplateResponse) String() string
type ListFormTemplatesRequest ¶
type ListFormTemplatesRequest struct {
// contains filtered or unexported fields
}
func (*ListFormTemplatesRequest) Descriptor
deprecated
func (*ListFormTemplatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFormTemplatesRequest.ProtoReflect.Descriptor instead.
func (*ListFormTemplatesRequest) ProtoMessage ¶
func (*ListFormTemplatesRequest) ProtoMessage()
func (*ListFormTemplatesRequest) ProtoReflect ¶
func (x *ListFormTemplatesRequest) ProtoReflect() protoreflect.Message
func (*ListFormTemplatesRequest) Reset ¶
func (x *ListFormTemplatesRequest) Reset()
func (*ListFormTemplatesRequest) String ¶
func (x *ListFormTemplatesRequest) String() string
type ListFormTemplatesResponse ¶
type ListFormTemplatesResponse struct { FormTemplates []*v1alpha.FormTemplate `protobuf:"bytes,1,rep,name=form_templates,json=formTemplates,proto3" json:"form_templates,omitempty"` // contains filtered or unexported fields }
func (*ListFormTemplatesResponse) Descriptor
deprecated
func (*ListFormTemplatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFormTemplatesResponse.ProtoReflect.Descriptor instead.
func (*ListFormTemplatesResponse) GetFormTemplates ¶
func (x *ListFormTemplatesResponse) GetFormTemplates() []*v1alpha.FormTemplate
func (*ListFormTemplatesResponse) ProtoMessage ¶
func (*ListFormTemplatesResponse) ProtoMessage()
func (*ListFormTemplatesResponse) ProtoReflect ¶
func (x *ListFormTemplatesResponse) ProtoReflect() protoreflect.Message
func (*ListFormTemplatesResponse) Reset ¶
func (x *ListFormTemplatesResponse) Reset()
func (*ListFormTemplatesResponse) String ¶
func (x *ListFormTemplatesResponse) String() string
type UnimplementedFormsServiceServer ¶
type UnimplementedFormsServiceServer struct { }
UnimplementedFormsServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedFormsServiceServer) DeleteFormTemplate ¶
func (UnimplementedFormsServiceServer) DeleteFormTemplate(context.Context, *DeleteFormTemplateRequest) (*DeleteFormTemplateResponse, error)
func (UnimplementedFormsServiceServer) GetFormTemplate ¶
func (UnimplementedFormsServiceServer) GetFormTemplate(context.Context, *GetFormTemplateRequest) (*GetFormTemplateResponse, error)
func (UnimplementedFormsServiceServer) ListFormTemplates ¶
func (UnimplementedFormsServiceServer) ListFormTemplates(context.Context, *ListFormTemplatesRequest) (*ListFormTemplatesResponse, error)
func (UnimplementedFormsServiceServer) UpsertFormTemplate ¶
func (UnimplementedFormsServiceServer) UpsertFormTemplate(context.Context, *UpsertFormTemplateRequest) (*UpsertFormTemplateResponse, error)
type UnsafeFormsServiceServer ¶
type UnsafeFormsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeFormsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FormsServiceServer will result in compilation errors.
type UpsertFormTemplateRequest ¶
type UpsertFormTemplateRequest struct { FormTemplate *v1alpha.FormTemplate `protobuf:"bytes,1,opt,name=form_template,json=formTemplate,proto3" json:"form_template,omitempty"` // contains filtered or unexported fields }
func (*UpsertFormTemplateRequest) Descriptor
deprecated
func (*UpsertFormTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpsertFormTemplateRequest.ProtoReflect.Descriptor instead.
func (*UpsertFormTemplateRequest) GetFormTemplate ¶
func (x *UpsertFormTemplateRequest) GetFormTemplate() *v1alpha.FormTemplate
func (*UpsertFormTemplateRequest) ProtoMessage ¶
func (*UpsertFormTemplateRequest) ProtoMessage()
func (*UpsertFormTemplateRequest) ProtoReflect ¶
func (x *UpsertFormTemplateRequest) ProtoReflect() protoreflect.Message
func (*UpsertFormTemplateRequest) Reset ¶
func (x *UpsertFormTemplateRequest) Reset()
func (*UpsertFormTemplateRequest) String ¶
func (x *UpsertFormTemplateRequest) String() string
type UpsertFormTemplateResponse ¶
type UpsertFormTemplateResponse struct { FormTemplate *v1alpha.FormTemplate `protobuf:"bytes,1,opt,name=form_template,json=formTemplate,proto3" json:"form_template,omitempty"` // contains filtered or unexported fields }
func (*UpsertFormTemplateResponse) Descriptor
deprecated
func (*UpsertFormTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpsertFormTemplateResponse.ProtoReflect.Descriptor instead.
func (*UpsertFormTemplateResponse) GetFormTemplate ¶
func (x *UpsertFormTemplateResponse) GetFormTemplate() *v1alpha.FormTemplate
func (*UpsertFormTemplateResponse) ProtoMessage ¶
func (*UpsertFormTemplateResponse) ProtoMessage()
func (*UpsertFormTemplateResponse) ProtoReflect ¶
func (x *UpsertFormTemplateResponse) ProtoReflect() protoreflect.Message
func (*UpsertFormTemplateResponse) Reset ¶
func (x *UpsertFormTemplateResponse) Reset()
func (*UpsertFormTemplateResponse) String ¶
func (x *UpsertFormTemplateResponse) String() string