Documentation ¶
Index ¶
- Variables
- func RegisterProjectPlansServiceServer(s grpc.ServiceRegistrar, srv ProjectPlansServiceServer)
- type BuildProjectPlanFromTemplateIdsRequest
- func (*BuildProjectPlanFromTemplateIdsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BuildProjectPlanFromTemplateIdsRequest) GetAllowOverwrite() bool
- func (x *BuildProjectPlanFromTemplateIdsRequest) GetFormTemplateIds() []string
- func (x *BuildProjectPlanFromTemplateIdsRequest) GetProjectId() string
- func (x *BuildProjectPlanFromTemplateIdsRequest) GetValidateOnly() bool
- func (*BuildProjectPlanFromTemplateIdsRequest) ProtoMessage()
- func (x *BuildProjectPlanFromTemplateIdsRequest) ProtoReflect() protoreflect.Message
- func (x *BuildProjectPlanFromTemplateIdsRequest) Reset()
- func (x *BuildProjectPlanFromTemplateIdsRequest) String() string
- type BuildProjectPlanFromTemplateIdsResponse
- func (*BuildProjectPlanFromTemplateIdsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BuildProjectPlanFromTemplateIdsResponse) GetProjectPlan() *v1alpha.ProjectPlan
- func (*BuildProjectPlanFromTemplateIdsResponse) ProtoMessage()
- func (x *BuildProjectPlanFromTemplateIdsResponse) ProtoReflect() protoreflect.Message
- func (x *BuildProjectPlanFromTemplateIdsResponse) Reset()
- func (x *BuildProjectPlanFromTemplateIdsResponse) String() string
- type BuildProjectPlanRequest
- func (*BuildProjectPlanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BuildProjectPlanRequest) GetAllowOverwrite() bool
- func (x *BuildProjectPlanRequest) GetProjectId() string
- func (x *BuildProjectPlanRequest) GetProjectPlanTemplateId() string
- func (x *BuildProjectPlanRequest) GetValidateOnly() bool
- func (*BuildProjectPlanRequest) ProtoMessage()
- func (x *BuildProjectPlanRequest) ProtoReflect() protoreflect.Message
- func (x *BuildProjectPlanRequest) Reset()
- func (x *BuildProjectPlanRequest) String() string
- type BuildProjectPlanResponse
- func (*BuildProjectPlanResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BuildProjectPlanResponse) GetProjectPlan() *v1alpha.ProjectPlan
- func (*BuildProjectPlanResponse) ProtoMessage()
- func (x *BuildProjectPlanResponse) ProtoReflect() protoreflect.Message
- func (x *BuildProjectPlanResponse) Reset()
- func (x *BuildProjectPlanResponse) String() string
- type DeleteProjectPlanRequest
- func (*DeleteProjectPlanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteProjectPlanRequest) GetProjectId() string
- func (*DeleteProjectPlanRequest) ProtoMessage()
- func (x *DeleteProjectPlanRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteProjectPlanRequest) Reset()
- func (x *DeleteProjectPlanRequest) String() string
- type DeleteProjectPlanResponse
- 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) GetIncludeDummyTemplate() booldeprecated
- func (x *ListProjectPlansRequest) GetIsTemplate() booldeprecated
- 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) BuildProjectPlan(context.Context, *BuildProjectPlanRequest) (*BuildProjectPlanResponse, error)
- func (UnimplementedProjectPlansServiceServer) BuildProjectPlanFromTemplateIds(context.Context, *BuildProjectPlanFromTemplateIdsRequest) (*BuildProjectPlanFromTemplateIdsResponse, error)
- func (UnimplementedProjectPlansServiceServer) DeleteProjectPlan(context.Context, *DeleteProjectPlanRequest) (*DeleteProjectPlanResponse, error)
- 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, }, { MethodName: "DeleteProjectPlan", Handler: _ProjectPlansService_DeleteProjectPlan_Handler, }, { MethodName: "BuildProjectPlan", Handler: _ProjectPlansService_BuildProjectPlan_Handler, }, { MethodName: "BuildProjectPlanFromTemplateIds", Handler: _ProjectPlansService_BuildProjectPlanFromTemplateIds_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 BuildProjectPlanFromTemplateIdsRequest ¶ added in v3.18.0
type BuildProjectPlanFromTemplateIdsRequest struct { FormTemplateIds []string `protobuf:"bytes,1,rep,name=form_template_ids,json=formTemplateIds,proto3" json:"form_template_ids,omitempty"` ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // do not store the generated project plan in the database // this is useful for previews, or generally for developer purposes ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // allow overwriting existing project plans. If not set, an already existing // project plan would trigger an exception. AllowOverwrite bool `protobuf:"varint,4,opt,name=allow_overwrite,json=allowOverwrite,proto3" json:"allow_overwrite,omitempty"` // contains filtered or unexported fields }
func (*BuildProjectPlanFromTemplateIdsRequest) Descriptor
deprecated
added in
v3.18.0
func (*BuildProjectPlanFromTemplateIdsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BuildProjectPlanFromTemplateIdsRequest.ProtoReflect.Descriptor instead.
func (*BuildProjectPlanFromTemplateIdsRequest) GetAllowOverwrite ¶ added in v3.18.0
func (x *BuildProjectPlanFromTemplateIdsRequest) GetAllowOverwrite() bool
func (*BuildProjectPlanFromTemplateIdsRequest) GetFormTemplateIds ¶ added in v3.18.0
func (x *BuildProjectPlanFromTemplateIdsRequest) GetFormTemplateIds() []string
func (*BuildProjectPlanFromTemplateIdsRequest) GetProjectId ¶ added in v3.18.0
func (x *BuildProjectPlanFromTemplateIdsRequest) GetProjectId() string
func (*BuildProjectPlanFromTemplateIdsRequest) GetValidateOnly ¶ added in v3.18.0
func (x *BuildProjectPlanFromTemplateIdsRequest) GetValidateOnly() bool
func (*BuildProjectPlanFromTemplateIdsRequest) ProtoMessage ¶ added in v3.18.0
func (*BuildProjectPlanFromTemplateIdsRequest) ProtoMessage()
func (*BuildProjectPlanFromTemplateIdsRequest) ProtoReflect ¶ added in v3.18.0
func (x *BuildProjectPlanFromTemplateIdsRequest) ProtoReflect() protoreflect.Message
func (*BuildProjectPlanFromTemplateIdsRequest) Reset ¶ added in v3.18.0
func (x *BuildProjectPlanFromTemplateIdsRequest) Reset()
func (*BuildProjectPlanFromTemplateIdsRequest) String ¶ added in v3.18.0
func (x *BuildProjectPlanFromTemplateIdsRequest) String() string
type BuildProjectPlanFromTemplateIdsResponse ¶ added in v3.18.0
type BuildProjectPlanFromTemplateIdsResponse struct { ProjectPlan *v1alpha.ProjectPlan `protobuf:"bytes,1,opt,name=project_plan,json=projectPlan,proto3" json:"project_plan,omitempty"` // contains filtered or unexported fields }
func (*BuildProjectPlanFromTemplateIdsResponse) Descriptor
deprecated
added in
v3.18.0
func (*BuildProjectPlanFromTemplateIdsResponse) Descriptor() ([]byte, []int)
Deprecated: Use BuildProjectPlanFromTemplateIdsResponse.ProtoReflect.Descriptor instead.
func (*BuildProjectPlanFromTemplateIdsResponse) GetProjectPlan ¶ added in v3.18.0
func (x *BuildProjectPlanFromTemplateIdsResponse) GetProjectPlan() *v1alpha.ProjectPlan
func (*BuildProjectPlanFromTemplateIdsResponse) ProtoMessage ¶ added in v3.18.0
func (*BuildProjectPlanFromTemplateIdsResponse) ProtoMessage()
func (*BuildProjectPlanFromTemplateIdsResponse) ProtoReflect ¶ added in v3.18.0
func (x *BuildProjectPlanFromTemplateIdsResponse) ProtoReflect() protoreflect.Message
func (*BuildProjectPlanFromTemplateIdsResponse) Reset ¶ added in v3.18.0
func (x *BuildProjectPlanFromTemplateIdsResponse) Reset()
func (*BuildProjectPlanFromTemplateIdsResponse) String ¶ added in v3.18.0
func (x *BuildProjectPlanFromTemplateIdsResponse) String() string
type BuildProjectPlanRequest ¶ added in v3.18.0
type BuildProjectPlanRequest struct { ProjectPlanTemplateId string `` /* 128-byte string literal not displayed */ ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // do not store the generated project plan in the database // this is useful for previews, or generally for developer purposes ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // allow overwriting existing project plans. If not set, an already existing // project plan would trigger an exception. AllowOverwrite bool `protobuf:"varint,4,opt,name=allow_overwrite,json=allowOverwrite,proto3" json:"allow_overwrite,omitempty"` // contains filtered or unexported fields }
func (*BuildProjectPlanRequest) Descriptor
deprecated
added in
v3.18.0
func (*BuildProjectPlanRequest) Descriptor() ([]byte, []int)
Deprecated: Use BuildProjectPlanRequest.ProtoReflect.Descriptor instead.
func (*BuildProjectPlanRequest) GetAllowOverwrite ¶ added in v3.18.0
func (x *BuildProjectPlanRequest) GetAllowOverwrite() bool
func (*BuildProjectPlanRequest) GetProjectId ¶ added in v3.18.0
func (x *BuildProjectPlanRequest) GetProjectId() string
func (*BuildProjectPlanRequest) GetProjectPlanTemplateId ¶ added in v3.18.0
func (x *BuildProjectPlanRequest) GetProjectPlanTemplateId() string
func (*BuildProjectPlanRequest) GetValidateOnly ¶ added in v3.18.0
func (x *BuildProjectPlanRequest) GetValidateOnly() bool
func (*BuildProjectPlanRequest) ProtoMessage ¶ added in v3.18.0
func (*BuildProjectPlanRequest) ProtoMessage()
func (*BuildProjectPlanRequest) ProtoReflect ¶ added in v3.18.0
func (x *BuildProjectPlanRequest) ProtoReflect() protoreflect.Message
func (*BuildProjectPlanRequest) Reset ¶ added in v3.18.0
func (x *BuildProjectPlanRequest) Reset()
func (*BuildProjectPlanRequest) String ¶ added in v3.18.0
func (x *BuildProjectPlanRequest) String() string
type BuildProjectPlanResponse ¶ added in v3.18.0
type BuildProjectPlanResponse struct { ProjectPlan *v1alpha.ProjectPlan `protobuf:"bytes,1,opt,name=project_plan,json=projectPlan,proto3" json:"project_plan,omitempty"` // contains filtered or unexported fields }
func (*BuildProjectPlanResponse) Descriptor
deprecated
added in
v3.18.0
func (*BuildProjectPlanResponse) Descriptor() ([]byte, []int)
Deprecated: Use BuildProjectPlanResponse.ProtoReflect.Descriptor instead.
func (*BuildProjectPlanResponse) GetProjectPlan ¶ added in v3.18.0
func (x *BuildProjectPlanResponse) GetProjectPlan() *v1alpha.ProjectPlan
func (*BuildProjectPlanResponse) ProtoMessage ¶ added in v3.18.0
func (*BuildProjectPlanResponse) ProtoMessage()
func (*BuildProjectPlanResponse) ProtoReflect ¶ added in v3.18.0
func (x *BuildProjectPlanResponse) ProtoReflect() protoreflect.Message
func (*BuildProjectPlanResponse) Reset ¶ added in v3.18.0
func (x *BuildProjectPlanResponse) Reset()
func (*BuildProjectPlanResponse) String ¶ added in v3.18.0
func (x *BuildProjectPlanResponse) String() string
type DeleteProjectPlanRequest ¶ added in v3.18.0
type DeleteProjectPlanRequest struct { ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteProjectPlanRequest) Descriptor
deprecated
added in
v3.18.0
func (*DeleteProjectPlanRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteProjectPlanRequest.ProtoReflect.Descriptor instead.
func (*DeleteProjectPlanRequest) GetProjectId ¶ added in v3.18.0
func (x *DeleteProjectPlanRequest) GetProjectId() string
func (*DeleteProjectPlanRequest) ProtoMessage ¶ added in v3.18.0
func (*DeleteProjectPlanRequest) ProtoMessage()
func (*DeleteProjectPlanRequest) ProtoReflect ¶ added in v3.18.0
func (x *DeleteProjectPlanRequest) ProtoReflect() protoreflect.Message
func (*DeleteProjectPlanRequest) Reset ¶ added in v3.18.0
func (x *DeleteProjectPlanRequest) Reset()
func (*DeleteProjectPlanRequest) String ¶ added in v3.18.0
func (x *DeleteProjectPlanRequest) String() string
type DeleteProjectPlanResponse ¶ added in v3.18.0
type DeleteProjectPlanResponse struct {
// contains filtered or unexported fields
}
func (*DeleteProjectPlanResponse) Descriptor
deprecated
added in
v3.18.0
func (*DeleteProjectPlanResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteProjectPlanResponse.ProtoReflect.Descriptor instead.
func (*DeleteProjectPlanResponse) ProtoMessage ¶ added in v3.18.0
func (*DeleteProjectPlanResponse) ProtoMessage()
func (*DeleteProjectPlanResponse) ProtoReflect ¶ added in v3.18.0
func (x *DeleteProjectPlanResponse) ProtoReflect() protoreflect.Message
func (*DeleteProjectPlanResponse) Reset ¶ added in v3.18.0
func (x *DeleteProjectPlanResponse) Reset()
func (*DeleteProjectPlanResponse) String ¶ added in v3.18.0
func (x *DeleteProjectPlanResponse) String() string
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 { // project plan templates no longer exist // // Deprecated: Do not use. IsTemplate bool `protobuf:"varint,1,opt,name=is_template,json=isTemplate,proto3" json:"is_template,omitempty"` // project plan templates no longer exist // // Deprecated: Do not use. IncludeDummyTemplate bool `protobuf:"varint,2,opt,name=include_dummy_template,json=includeDummyTemplate,proto3" json:"include_dummy_template,omitempty"` // contains filtered or unexported fields }
func (*ListProjectPlansRequest) Descriptor
deprecated
func (*ListProjectPlansRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListProjectPlansRequest.ProtoReflect.Descriptor instead.
func (*ListProjectPlansRequest) GetIncludeDummyTemplate
deprecated
added in
v3.3.0
func (x *ListProjectPlansRequest) GetIncludeDummyTemplate() bool
Deprecated: Do not use.
func (*ListProjectPlansRequest) GetIsTemplate
deprecated
func (x *ListProjectPlansRequest) GetIsTemplate() bool
Deprecated: Do not use.
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) DeleteProjectPlan(ctx context.Context, in *DeleteProjectPlanRequest, opts ...grpc.CallOption) (*DeleteProjectPlanResponse, error) // builds an empty (not filled-in) project plan from a template and store it in the database. BuildProjectPlan(ctx context.Context, in *BuildProjectPlanRequest, opts ...grpc.CallOption) (*BuildProjectPlanResponse, error) // builds an empty (not filled-in) project plan from a template and store it in the database. // (-- api-linter: core::0136::prepositions=disabled // // aip.dev/not-precedent: We need to do this because the name makes sense. --) BuildProjectPlanFromTemplateIds(ctx context.Context, in *BuildProjectPlanFromTemplateIdsRequest, opts ...grpc.CallOption) (*BuildProjectPlanFromTemplateIdsResponse, 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) DeleteProjectPlan(context.Context, *DeleteProjectPlanRequest) (*DeleteProjectPlanResponse, error) // builds an empty (not filled-in) project plan from a template and store it in the database. BuildProjectPlan(context.Context, *BuildProjectPlanRequest) (*BuildProjectPlanResponse, error) // builds an empty (not filled-in) project plan from a template and store it in the database. // (-- api-linter: core::0136::prepositions=disabled // // aip.dev/not-precedent: We need to do this because the name makes sense. --) BuildProjectPlanFromTemplateIds(context.Context, *BuildProjectPlanFromTemplateIdsRequest) (*BuildProjectPlanFromTemplateIdsResponse, 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) BuildProjectPlan ¶ added in v3.18.0
func (UnimplementedProjectPlansServiceServer) BuildProjectPlan(context.Context, *BuildProjectPlanRequest) (*BuildProjectPlanResponse, error)
func (UnimplementedProjectPlansServiceServer) BuildProjectPlanFromTemplateIds ¶ added in v3.18.0
func (UnimplementedProjectPlansServiceServer) BuildProjectPlanFromTemplateIds(context.Context, *BuildProjectPlanFromTemplateIdsRequest) (*BuildProjectPlanFromTemplateIdsResponse, error)
func (UnimplementedProjectPlansServiceServer) DeleteProjectPlan ¶ added in v3.18.0
func (UnimplementedProjectPlansServiceServer) DeleteProjectPlan(context.Context, *DeleteProjectPlanRequest) (*DeleteProjectPlanResponse, error)
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