Versions in this module Expand all Collapse all v0 v0.3.0 Aug 16, 2022 v0.2.0 Jul 28, 2022 Changes in this version + var File_proto_projects_proto protoreflect.FileDescriptor + func NewProjectsEndpoints() []*api.Endpoint + func RegisterProjectsHandler(s server.Server, hdlr ProjectsHandler, opts ...server.HandlerOption) error + type CreateRequest struct + BillingAccount string + Name string + func (*CreateRequest) Descriptor() ([]byte, []int) + func (*CreateRequest) ProtoMessage() + func (x *CreateRequest) GetBillingAccount() string + func (x *CreateRequest) GetName() string + func (x *CreateRequest) ProtoReflect() protoreflect.Message + func (x *CreateRequest) Reset() + func (x *CreateRequest) String() string + type CreateResponse struct + Id string + func (*CreateResponse) Descriptor() ([]byte, []int) + func (*CreateResponse) ProtoMessage() + func (x *CreateResponse) GetId() string + func (x *CreateResponse) ProtoReflect() protoreflect.Message + func (x *CreateResponse) Reset() + func (x *CreateResponse) String() string + type ListRequest struct + BillingAccountId string + func (*ListRequest) Descriptor() ([]byte, []int) + func (*ListRequest) ProtoMessage() + func (x *ListRequest) GetBillingAccountId() string + func (x *ListRequest) ProtoReflect() protoreflect.Message + func (x *ListRequest) Reset() + func (x *ListRequest) String() string + type ListResponse struct + Projects []*Project + func (*ListResponse) Descriptor() ([]byte, []int) + func (*ListResponse) ProtoMessage() + func (x *ListResponse) GetProjects() []*Project + func (x *ListResponse) ProtoReflect() protoreflect.Message + func (x *ListResponse) Reset() + func (x *ListResponse) String() string + type Member struct + Id string + Roles []string + func (*Member) Descriptor() ([]byte, []int) + func (*Member) ProtoMessage() + func (x *Member) GetId() string + func (x *Member) GetRoles() []string + func (x *Member) ProtoReflect() protoreflect.Message + func (x *Member) Reset() + func (x *Member) String() string + type Project struct + BillingAccount string + Id string + Members []*Member + Name string + func (*Project) Descriptor() ([]byte, []int) + func (*Project) ProtoMessage() + func (x *Project) GetBillingAccount() string + func (x *Project) GetId() string + func (x *Project) GetMembers() []*Member + func (x *Project) GetName() string + func (x *Project) ProtoReflect() protoreflect.Message + func (x *Project) Reset() + func (x *Project) String() string + type ProjectsHandler interface + Create func(context.Context, *CreateRequest, *CreateResponse) error + List func(context.Context, *ListRequest, *ListResponse) error + Read func(context.Context, *ReadRequest, *ReadResponse) error + type ProjectsService interface + Create func(ctx context.Context, in *CreateRequest, opts ...client.CallOption) (*CreateResponse, error) + List func(ctx context.Context, in *ListRequest, opts ...client.CallOption) (*ListResponse, error) + Read func(ctx context.Context, in *ReadRequest, opts ...client.CallOption) (*ReadResponse, error) + func NewProjectsService(name string, c client.Client) ProjectsService + type ReadRequest struct + Id string + func (*ReadRequest) Descriptor() ([]byte, []int) + func (*ReadRequest) ProtoMessage() + func (x *ReadRequest) GetId() string + func (x *ReadRequest) ProtoReflect() protoreflect.Message + func (x *ReadRequest) Reset() + func (x *ReadRequest) String() string + type ReadResponse struct + Project *Project + func (*ReadResponse) Descriptor() ([]byte, []int) + func (*ReadResponse) ProtoMessage() + func (x *ReadResponse) GetProject() *Project + func (x *ReadResponse) ProtoReflect() protoreflect.Message + func (x *ReadResponse) Reset() + func (x *ReadResponse) String() string