Documentation ¶
Index ¶
- Variables
- func RegisterProjectPlansServiceServer(s grpc.ServiceRegistrar, srv ProjectPlansServiceServer)
- type GetProjectPlanRequest
- func (*GetProjectPlanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetProjectPlanRequest) GetProjectId() string
- func (*GetProjectPlanRequest) ProtoMessage()
- func (x *GetProjectPlanRequest) ProtoReflect() protoreflect.Message
- func (x *GetProjectPlanRequest) Reset()
- func (x *GetProjectPlanRequest) String() string
- type GetProjectPlanResponse
- func (*GetProjectPlanResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetProjectPlanResponse) GetProjectPlan() *v1alpha.ProjectPlan
- func (*GetProjectPlanResponse) ProtoMessage()
- func (x *GetProjectPlanResponse) ProtoReflect() protoreflect.Message
- func (x *GetProjectPlanResponse) Reset()
- func (x *GetProjectPlanResponse) String() string
- type ListProjectPlansRequest
- func (*ListProjectPlansRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListProjectPlansRequest) GetIsTemplate() bool
- func (*ListProjectPlansRequest) ProtoMessage()
- func (x *ListProjectPlansRequest) ProtoReflect() protoreflect.Message
- func (x *ListProjectPlansRequest) Reset()
- func (x *ListProjectPlansRequest) String() string
- type ListProjectPlansResponse
- func (*ListProjectPlansResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListProjectPlansResponse) GetProjectPlans() []*v1alpha.ProjectPlan
- func (*ListProjectPlansResponse) ProtoMessage()
- func (x *ListProjectPlansResponse) ProtoReflect() protoreflect.Message
- func (x *ListProjectPlansResponse) Reset()
- func (x *ListProjectPlansResponse) String() string
- type ProjectPlansServiceClient
- type ProjectPlansServiceServer
- type UnimplementedProjectPlansServiceServer
- func (UnimplementedProjectPlansServiceServer) GetProjectPlan(context.Context, *GetProjectPlanRequest) (*GetProjectPlanResponse, error)
- func (UnimplementedProjectPlansServiceServer) ListProjectPlans(context.Context, *ListProjectPlansRequest) (*ListProjectPlansResponse, error)
- func (UnimplementedProjectPlansServiceServer) UpsertProjectPlan(context.Context, *UpsertProjectPlanRequest) (*UpsertProjectPlanResponse, error)
- type UnsafeProjectPlansServiceServer
- type UpsertProjectPlanRequest
- func (*UpsertProjectPlanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpsertProjectPlanRequest) GetProjectPlan() *v1alpha.ProjectPlan
- func (*UpsertProjectPlanRequest) ProtoMessage()
- func (x *UpsertProjectPlanRequest) ProtoReflect() protoreflect.Message
- func (x *UpsertProjectPlanRequest) Reset()
- func (x *UpsertProjectPlanRequest) String() string
- type UpsertProjectPlanResponse
- func (*UpsertProjectPlanResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpsertProjectPlanResponse) GetProjectPlan() *v1alpha.ProjectPlan
- func (*UpsertProjectPlanResponse) ProtoMessage()
- func (x *UpsertProjectPlanResponse) ProtoReflect() protoreflect.Message
- func (x *UpsertProjectPlanResponse) Reset()
- func (x *UpsertProjectPlanResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var File_strmprivacy_api_project_plans_v1alpha_project_plans_v1alpha_proto protoreflect.FileDescriptor
var ProjectPlansService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "strmprivacy.api.project_plans.v1alpha.ProjectPlansService", HandlerType: (*ProjectPlansServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListProjectPlans", Handler: _ProjectPlansService_ListProjectPlans_Handler, }, { MethodName: "GetProjectPlan", Handler: _ProjectPlansService_GetProjectPlan_Handler, }, { MethodName: "UpsertProjectPlan", Handler: _ProjectPlansService_UpsertProjectPlan_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "strmprivacy/api/project_plans/v1alpha/project_plans_v1alpha.proto", }
ProjectPlansService_ServiceDesc is the grpc.ServiceDesc for ProjectPlansService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterProjectPlansServiceServer ¶
func RegisterProjectPlansServiceServer(s grpc.ServiceRegistrar, srv ProjectPlansServiceServer)
Types ¶
type GetProjectPlanRequest ¶
type GetProjectPlanRequest struct { ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
func (*GetProjectPlanRequest) Descriptor
deprecated
func (*GetProjectPlanRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProjectPlanRequest.ProtoReflect.Descriptor instead.
func (*GetProjectPlanRequest) GetProjectId ¶
func (x *GetProjectPlanRequest) GetProjectId() string
func (*GetProjectPlanRequest) ProtoMessage ¶
func (*GetProjectPlanRequest) ProtoMessage()
func (*GetProjectPlanRequest) ProtoReflect ¶
func (x *GetProjectPlanRequest) ProtoReflect() protoreflect.Message
func (*GetProjectPlanRequest) Reset ¶
func (x *GetProjectPlanRequest) Reset()
func (*GetProjectPlanRequest) String ¶
func (x *GetProjectPlanRequest) String() string
type GetProjectPlanResponse ¶
type GetProjectPlanResponse struct { ProjectPlan *v1alpha.ProjectPlan `protobuf:"bytes,1,opt,name=project_plan,json=projectPlan,proto3" json:"project_plan,omitempty"` // contains filtered or unexported fields }
func (*GetProjectPlanResponse) Descriptor
deprecated
func (*GetProjectPlanResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetProjectPlanResponse.ProtoReflect.Descriptor instead.
func (*GetProjectPlanResponse) GetProjectPlan ¶
func (x *GetProjectPlanResponse) GetProjectPlan() *v1alpha.ProjectPlan
func (*GetProjectPlanResponse) ProtoMessage ¶
func (*GetProjectPlanResponse) ProtoMessage()
func (*GetProjectPlanResponse) ProtoReflect ¶
func (x *GetProjectPlanResponse) ProtoReflect() protoreflect.Message
func (*GetProjectPlanResponse) Reset ¶
func (x *GetProjectPlanResponse) Reset()
func (*GetProjectPlanResponse) String ¶
func (x *GetProjectPlanResponse) String() string
type ListProjectPlansRequest ¶
type ListProjectPlansRequest struct { // only list templates IsTemplate bool `protobuf:"varint,1,opt,name=is_template,json=isTemplate,proto3" json:"is_template,omitempty"` // contains filtered or unexported fields }
func (*ListProjectPlansRequest) Descriptor
deprecated
func (*ListProjectPlansRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListProjectPlansRequest.ProtoReflect.Descriptor instead.
func (*ListProjectPlansRequest) GetIsTemplate ¶
func (x *ListProjectPlansRequest) GetIsTemplate() bool
func (*ListProjectPlansRequest) ProtoMessage ¶
func (*ListProjectPlansRequest) ProtoMessage()
func (*ListProjectPlansRequest) ProtoReflect ¶
func (x *ListProjectPlansRequest) ProtoReflect() protoreflect.Message
func (*ListProjectPlansRequest) Reset ¶
func (x *ListProjectPlansRequest) Reset()
func (*ListProjectPlansRequest) String ¶
func (x *ListProjectPlansRequest) String() string
type ListProjectPlansResponse ¶
type ListProjectPlansResponse struct { ProjectPlans []*v1alpha.ProjectPlan `protobuf:"bytes,1,rep,name=project_plans,json=projectPlans,proto3" json:"project_plans,omitempty"` // contains filtered or unexported fields }
func (*ListProjectPlansResponse) Descriptor
deprecated
func (*ListProjectPlansResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListProjectPlansResponse.ProtoReflect.Descriptor instead.
func (*ListProjectPlansResponse) GetProjectPlans ¶
func (x *ListProjectPlansResponse) GetProjectPlans() []*v1alpha.ProjectPlan
func (*ListProjectPlansResponse) ProtoMessage ¶
func (*ListProjectPlansResponse) ProtoMessage()
func (*ListProjectPlansResponse) ProtoReflect ¶
func (x *ListProjectPlansResponse) ProtoReflect() protoreflect.Message
func (*ListProjectPlansResponse) Reset ¶
func (x *ListProjectPlansResponse) Reset()
func (*ListProjectPlansResponse) String ¶
func (x *ListProjectPlansResponse) String() string
type ProjectPlansServiceClient ¶
type ProjectPlansServiceClient interface { ListProjectPlans(ctx context.Context, in *ListProjectPlansRequest, opts ...grpc.CallOption) (*ListProjectPlansResponse, error) GetProjectPlan(ctx context.Context, in *GetProjectPlanRequest, opts ...grpc.CallOption) (*GetProjectPlanResponse, error) UpsertProjectPlan(ctx context.Context, in *UpsertProjectPlanRequest, opts ...grpc.CallOption) (*UpsertProjectPlanResponse, error) }
ProjectPlansServiceClient is the client API for ProjectPlansService 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 NewProjectPlansServiceClient ¶
func NewProjectPlansServiceClient(cc grpc.ClientConnInterface) ProjectPlansServiceClient
type ProjectPlansServiceServer ¶
type ProjectPlansServiceServer interface { ListProjectPlans(context.Context, *ListProjectPlansRequest) (*ListProjectPlansResponse, error) GetProjectPlan(context.Context, *GetProjectPlanRequest) (*GetProjectPlanResponse, error) UpsertProjectPlan(context.Context, *UpsertProjectPlanRequest) (*UpsertProjectPlanResponse, error) }
ProjectPlansServiceServer is the server API for ProjectPlansService service. All implementations should embed UnimplementedProjectPlansServiceServer for forward compatibility
type UnimplementedProjectPlansServiceServer ¶
type UnimplementedProjectPlansServiceServer struct { }
UnimplementedProjectPlansServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedProjectPlansServiceServer) GetProjectPlan ¶
func (UnimplementedProjectPlansServiceServer) GetProjectPlan(context.Context, *GetProjectPlanRequest) (*GetProjectPlanResponse, error)
func (UnimplementedProjectPlansServiceServer) ListProjectPlans ¶
func (UnimplementedProjectPlansServiceServer) ListProjectPlans(context.Context, *ListProjectPlansRequest) (*ListProjectPlansResponse, error)
func (UnimplementedProjectPlansServiceServer) UpsertProjectPlan ¶
func (UnimplementedProjectPlansServiceServer) UpsertProjectPlan(context.Context, *UpsertProjectPlanRequest) (*UpsertProjectPlanResponse, error)
type UnsafeProjectPlansServiceServer ¶
type UnsafeProjectPlansServiceServer interface {
// contains filtered or unexported methods
}
UnsafeProjectPlansServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProjectPlansServiceServer will result in compilation errors.
type UpsertProjectPlanRequest ¶
type UpsertProjectPlanRequest struct { ProjectPlan *v1alpha.ProjectPlan `protobuf:"bytes,1,opt,name=project_plan,json=projectPlan,proto3" json:"project_plan,omitempty"` // contains filtered or unexported fields }
func (*UpsertProjectPlanRequest) Descriptor
deprecated
func (*UpsertProjectPlanRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpsertProjectPlanRequest.ProtoReflect.Descriptor instead.
func (*UpsertProjectPlanRequest) GetProjectPlan ¶
func (x *UpsertProjectPlanRequest) GetProjectPlan() *v1alpha.ProjectPlan
func (*UpsertProjectPlanRequest) ProtoMessage ¶
func (*UpsertProjectPlanRequest) ProtoMessage()
func (*UpsertProjectPlanRequest) ProtoReflect ¶
func (x *UpsertProjectPlanRequest) ProtoReflect() protoreflect.Message
func (*UpsertProjectPlanRequest) Reset ¶
func (x *UpsertProjectPlanRequest) Reset()
func (*UpsertProjectPlanRequest) String ¶
func (x *UpsertProjectPlanRequest) String() string
type UpsertProjectPlanResponse ¶
type UpsertProjectPlanResponse struct { ProjectPlan *v1alpha.ProjectPlan `protobuf:"bytes,1,opt,name=project_plan,json=projectPlan,proto3" json:"project_plan,omitempty"` // contains filtered or unexported fields }
func (*UpsertProjectPlanResponse) Descriptor
deprecated
func (*UpsertProjectPlanResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpsertProjectPlanResponse.ProtoReflect.Descriptor instead.
func (*UpsertProjectPlanResponse) GetProjectPlan ¶
func (x *UpsertProjectPlanResponse) GetProjectPlan() *v1alpha.ProjectPlan
func (*UpsertProjectPlanResponse) ProtoMessage ¶
func (*UpsertProjectPlanResponse) ProtoMessage()
func (*UpsertProjectPlanResponse) ProtoReflect ¶
func (x *UpsertProjectPlanResponse) ProtoReflect() protoreflect.Message
func (*UpsertProjectPlanResponse) Reset ¶
func (x *UpsertProjectPlanResponse) Reset()
func (*UpsertProjectPlanResponse) String ¶
func (x *UpsertProjectPlanResponse) String() string