Documentation ¶
Index ¶
- Variables
- func RegisterGitLabServer(s grpc.ServiceRegistrar, srv GitLabServer)
- type CredentialsResponse
- func (*CredentialsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CredentialsResponse) GetId() string
- func (x *CredentialsResponse) GetName() string
- func (x *CredentialsResponse) GetPassword() string
- func (x *CredentialsResponse) GetUsername() string
- func (*CredentialsResponse) ProtoMessage()
- func (x *CredentialsResponse) ProtoReflect() protoreflect.Message
- func (x *CredentialsResponse) Reset()
- func (x *CredentialsResponse) String() string
- type GitLabClient
- type GitLabServer
- type GroupCredentialsRequest
- func (*GroupCredentialsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GroupCredentialsRequest) GetId() string
- func (x *GroupCredentialsRequest) GetName() string
- func (*GroupCredentialsRequest) ProtoMessage()
- func (x *GroupCredentialsRequest) ProtoReflect() protoreflect.Message
- func (x *GroupCredentialsRequest) Reset()
- func (x *GroupCredentialsRequest) String() string
- type GroupRequest
- func (*GroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GroupRequest) GetId() string
- func (x *GroupRequest) GetReference() string
- func (*GroupRequest) ProtoMessage()
- func (x *GroupRequest) ProtoReflect() protoreflect.Message
- func (x *GroupRequest) Reset()
- func (x *GroupRequest) String() string
- type GroupResponse
- func (*GroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GroupResponse) GetId() string
- func (x *GroupResponse) GetReference() string
- func (*GroupResponse) ProtoMessage()
- func (x *GroupResponse) ProtoReflect() protoreflect.Message
- func (x *GroupResponse) Reset()
- func (x *GroupResponse) String() string
- type UnimplementedGitLabServer
- func (UnimplementedGitLabServer) Group(context.Context, *GroupRequest) (*GroupResponse, error)
- func (UnimplementedGitLabServer) GroupCredentials(context.Context, *GroupCredentialsRequest) (*CredentialsResponse, error)
- func (UnimplementedGitLabServer) User(context.Context, *UserRequest) (*UserResponse, error)
- func (UnimplementedGitLabServer) UserCredentials(context.Context, *UserCredentialsRequest) (*CredentialsResponse, error)
- type UnsafeGitLabServer
- type UserCredentialsRequest
- func (*UserCredentialsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserCredentialsRequest) GetId() string
- func (x *UserCredentialsRequest) GetName() string
- func (*UserCredentialsRequest) ProtoMessage()
- func (x *UserCredentialsRequest) ProtoReflect() protoreflect.Message
- func (x *UserCredentialsRequest) Reset()
- func (x *UserCredentialsRequest) String() string
- type UserRequest
- func (*UserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserRequest) GetId() string
- func (x *UserRequest) GetReference() string
- func (*UserRequest) ProtoMessage()
- func (x *UserRequest) ProtoReflect() protoreflect.Message
- func (x *UserRequest) Reset()
- func (x *UserRequest) String() string
- type UserResponse
- func (*UserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserResponse) GetId() string
- func (x *UserResponse) GetReference() string
- func (*UserResponse) ProtoMessage()
- func (x *UserResponse) ProtoReflect() protoreflect.Message
- func (x *UserResponse) Reset()
- func (x *UserResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var File_proto_gitlab_proto protoreflect.FileDescriptor
var GitLab_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gitlab.GitLab", HandlerType: (*GitLabServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "User", Handler: _GitLab_User_Handler, }, { MethodName: "UserCredentials", Handler: _GitLab_UserCredentials_Handler, }, { MethodName: "Group", Handler: _GitLab_Group_Handler, }, { MethodName: "GroupCredentials", Handler: _GitLab_GroupCredentials_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/gitlab.proto", }
GitLab_ServiceDesc is the grpc.ServiceDesc for GitLab service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterGitLabServer ¶
func RegisterGitLabServer(s grpc.ServiceRegistrar, srv GitLabServer)
Types ¶
type CredentialsResponse ¶
type CredentialsResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*CredentialsResponse) Descriptor
deprecated
func (*CredentialsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CredentialsResponse.ProtoReflect.Descriptor instead.
func (*CredentialsResponse) GetId ¶
func (x *CredentialsResponse) GetId() string
func (*CredentialsResponse) GetName ¶
func (x *CredentialsResponse) GetName() string
func (*CredentialsResponse) GetPassword ¶
func (x *CredentialsResponse) GetPassword() string
func (*CredentialsResponse) GetUsername ¶
func (x *CredentialsResponse) GetUsername() string
func (*CredentialsResponse) ProtoMessage ¶
func (*CredentialsResponse) ProtoMessage()
func (*CredentialsResponse) ProtoReflect ¶
func (x *CredentialsResponse) ProtoReflect() protoreflect.Message
func (*CredentialsResponse) Reset ¶
func (x *CredentialsResponse) Reset()
func (*CredentialsResponse) String ¶
func (x *CredentialsResponse) String() string
type GitLabClient ¶
type GitLabClient interface { User(ctx context.Context, in *UserRequest, opts ...grpc.CallOption) (*UserResponse, error) UserCredentials(ctx context.Context, in *UserCredentialsRequest, opts ...grpc.CallOption) (*CredentialsResponse, error) Group(ctx context.Context, in *GroupRequest, opts ...grpc.CallOption) (*GroupResponse, error) GroupCredentials(ctx context.Context, in *GroupCredentialsRequest, opts ...grpc.CallOption) (*CredentialsResponse, error) }
GitLabClient is the client API for GitLab 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 NewGitLabClient ¶
func NewGitLabClient(cc grpc.ClientConnInterface) GitLabClient
type GitLabServer ¶
type GitLabServer interface { User(context.Context, *UserRequest) (*UserResponse, error) UserCredentials(context.Context, *UserCredentialsRequest) (*CredentialsResponse, error) Group(context.Context, *GroupRequest) (*GroupResponse, error) GroupCredentials(context.Context, *GroupCredentialsRequest) (*CredentialsResponse, error) // contains filtered or unexported methods }
GitLabServer is the server API for GitLab service. All implementations must embed UnimplementedGitLabServer for forward compatibility
type GroupCredentialsRequest ¶
type GroupCredentialsRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GroupCredentialsRequest) Descriptor
deprecated
func (*GroupCredentialsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GroupCredentialsRequest.ProtoReflect.Descriptor instead.
func (*GroupCredentialsRequest) GetId ¶
func (x *GroupCredentialsRequest) GetId() string
func (*GroupCredentialsRequest) GetName ¶
func (x *GroupCredentialsRequest) GetName() string
func (*GroupCredentialsRequest) ProtoMessage ¶
func (*GroupCredentialsRequest) ProtoMessage()
func (*GroupCredentialsRequest) ProtoReflect ¶
func (x *GroupCredentialsRequest) ProtoReflect() protoreflect.Message
func (*GroupCredentialsRequest) Reset ¶
func (x *GroupCredentialsRequest) Reset()
func (*GroupCredentialsRequest) String ¶
func (x *GroupCredentialsRequest) String() string
type GroupRequest ¶
type GroupRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Reference string `protobuf:"bytes,2,opt,name=reference,proto3" json:"reference,omitempty"` // contains filtered or unexported fields }
func (*GroupRequest) Descriptor
deprecated
func (*GroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use GroupRequest.ProtoReflect.Descriptor instead.
func (*GroupRequest) GetId ¶
func (x *GroupRequest) GetId() string
func (*GroupRequest) GetReference ¶
func (x *GroupRequest) GetReference() string
func (*GroupRequest) ProtoMessage ¶
func (*GroupRequest) ProtoMessage()
func (*GroupRequest) ProtoReflect ¶
func (x *GroupRequest) ProtoReflect() protoreflect.Message
func (*GroupRequest) Reset ¶
func (x *GroupRequest) Reset()
func (*GroupRequest) String ¶
func (x *GroupRequest) String() string
type GroupResponse ¶
type GroupResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Reference string `protobuf:"bytes,2,opt,name=reference,proto3" json:"reference,omitempty"` // contains filtered or unexported fields }
func (*GroupResponse) Descriptor
deprecated
func (*GroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use GroupResponse.ProtoReflect.Descriptor instead.
func (*GroupResponse) GetId ¶
func (x *GroupResponse) GetId() string
func (*GroupResponse) GetReference ¶
func (x *GroupResponse) GetReference() string
func (*GroupResponse) ProtoMessage ¶
func (*GroupResponse) ProtoMessage()
func (*GroupResponse) ProtoReflect ¶
func (x *GroupResponse) ProtoReflect() protoreflect.Message
func (*GroupResponse) Reset ¶
func (x *GroupResponse) Reset()
func (*GroupResponse) String ¶
func (x *GroupResponse) String() string
type UnimplementedGitLabServer ¶
type UnimplementedGitLabServer struct { }
UnimplementedGitLabServer must be embedded to have forward compatible implementations.
func (UnimplementedGitLabServer) Group ¶
func (UnimplementedGitLabServer) Group(context.Context, *GroupRequest) (*GroupResponse, error)
func (UnimplementedGitLabServer) GroupCredentials ¶
func (UnimplementedGitLabServer) GroupCredentials(context.Context, *GroupCredentialsRequest) (*CredentialsResponse, error)
func (UnimplementedGitLabServer) User ¶
func (UnimplementedGitLabServer) User(context.Context, *UserRequest) (*UserResponse, error)
func (UnimplementedGitLabServer) UserCredentials ¶
func (UnimplementedGitLabServer) UserCredentials(context.Context, *UserCredentialsRequest) (*CredentialsResponse, error)
type UnsafeGitLabServer ¶
type UnsafeGitLabServer interface {
// contains filtered or unexported methods
}
UnsafeGitLabServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GitLabServer will result in compilation errors.
type UserCredentialsRequest ¶
type UserCredentialsRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*UserCredentialsRequest) Descriptor
deprecated
func (*UserCredentialsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserCredentialsRequest.ProtoReflect.Descriptor instead.
func (*UserCredentialsRequest) GetId ¶
func (x *UserCredentialsRequest) GetId() string
func (*UserCredentialsRequest) GetName ¶
func (x *UserCredentialsRequest) GetName() string
func (*UserCredentialsRequest) ProtoMessage ¶
func (*UserCredentialsRequest) ProtoMessage()
func (*UserCredentialsRequest) ProtoReflect ¶
func (x *UserCredentialsRequest) ProtoReflect() protoreflect.Message
func (*UserCredentialsRequest) Reset ¶
func (x *UserCredentialsRequest) Reset()
func (*UserCredentialsRequest) String ¶
func (x *UserCredentialsRequest) String() string
type UserRequest ¶
type UserRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Reference string `protobuf:"bytes,2,opt,name=reference,proto3" json:"reference,omitempty"` // contains filtered or unexported fields }
func (*UserRequest) Descriptor
deprecated
func (*UserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserRequest.ProtoReflect.Descriptor instead.
func (*UserRequest) GetId ¶
func (x *UserRequest) GetId() string
func (*UserRequest) GetReference ¶
func (x *UserRequest) GetReference() string
func (*UserRequest) ProtoMessage ¶
func (*UserRequest) ProtoMessage()
func (*UserRequest) ProtoReflect ¶
func (x *UserRequest) ProtoReflect() protoreflect.Message
func (*UserRequest) Reset ¶
func (x *UserRequest) Reset()
func (*UserRequest) String ¶
func (x *UserRequest) String() string
type UserResponse ¶
type UserResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Reference string `protobuf:"bytes,2,opt,name=reference,proto3" json:"reference,omitempty"` // contains filtered or unexported fields }
func (*UserResponse) Descriptor
deprecated
func (*UserResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserResponse.ProtoReflect.Descriptor instead.
func (*UserResponse) GetId ¶
func (x *UserResponse) GetId() string
func (*UserResponse) GetReference ¶
func (x *UserResponse) GetReference() string
func (*UserResponse) ProtoMessage ¶
func (*UserResponse) ProtoMessage()
func (*UserResponse) ProtoReflect ¶
func (x *UserResponse) ProtoReflect() protoreflect.Message
func (*UserResponse) Reset ¶
func (x *UserResponse) Reset()
func (*UserResponse) String ¶
func (x *UserResponse) String() string