Documentation ¶
Index ¶
- Variables
- func RegisterRepositoryServer(s grpc.ServiceRegistrar, srv RepositoryServer)
- type CreateRepositoryRequest
- func (*CreateRepositoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRepositoryRequest) GetDescription() string
- func (x *CreateRepositoryRequest) GetName() string
- func (x *CreateRepositoryRequest) GetNamespace() string
- func (*CreateRepositoryRequest) ProtoMessage()
- func (x *CreateRepositoryRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRepositoryRequest) Reset()
- func (x *CreateRepositoryRequest) String() string
- type CredentialsRequest
- func (*CredentialsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CredentialsRequest) GetFilterKind() string
- func (x *CredentialsRequest) GetNamespace() string
- func (x *CredentialsRequest) GetRepository() string
- func (x *CredentialsRequest) GetUser() string
- func (*CredentialsRequest) ProtoMessage()
- func (x *CredentialsRequest) ProtoReflect() protoreflect.Message
- func (x *CredentialsRequest) Reset()
- func (x *CredentialsRequest) String() string
- type CredentialsResponse
- func (*CredentialsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CredentialsResponse) GetId() string
- func (x *CredentialsResponse) GetKind() 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 DeleteRepositoryRequest
- func (*DeleteRepositoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRepositoryRequest) GetId() string
- func (x *DeleteRepositoryRequest) GetNamespace() string
- func (*DeleteRepositoryRequest) ProtoMessage()
- func (x *DeleteRepositoryRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRepositoryRequest) Reset()
- func (x *DeleteRepositoryRequest) String() string
- type RepositoriesRequest
- func (*RepositoriesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RepositoriesRequest) GetNamespace() string
- func (*RepositoriesRequest) ProtoMessage()
- func (x *RepositoriesRequest) ProtoReflect() protoreflect.Message
- func (x *RepositoriesRequest) Reset()
- func (x *RepositoriesRequest) String() string
- type RepositoryClient
- type RepositoryRequest
- func (*RepositoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RepositoryRequest) GetNamespace() string
- func (x *RepositoryRequest) GetRepository() string
- func (*RepositoryRequest) ProtoMessage()
- func (x *RepositoryRequest) ProtoReflect() protoreflect.Message
- func (x *RepositoryRequest) Reset()
- func (x *RepositoryRequest) String() string
- type RepositoryResponse
- func (*RepositoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RepositoryResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *RepositoryResponse) GetDescription() string
- func (x *RepositoryResponse) GetId() string
- func (x *RepositoryResponse) GetKind() string
- func (x *RepositoryResponse) GetName() string
- func (x *RepositoryResponse) GetUpdatedAt() *timestamppb.Timestamp
- func (x *RepositoryResponse) GetUrl() string
- func (*RepositoryResponse) ProtoMessage()
- func (x *RepositoryResponse) ProtoReflect() protoreflect.Message
- func (x *RepositoryResponse) Reset()
- func (x *RepositoryResponse) String() string
- type RepositoryServer
- type Repository_RepositoriesClient
- type Repository_RepositoriesServer
- type Repository_RepositoryCredentialsClient
- type Repository_RepositoryCredentialsServer
- type UnimplementedRepositoryServer
- func (UnimplementedRepositoryServer) CreateRepository(context.Context, *CreateRepositoryRequest) (*RepositoryResponse, error)
- func (UnimplementedRepositoryServer) DeleteRepository(context.Context, *DeleteRepositoryRequest) (*emptypb.Empty, error)
- func (UnimplementedRepositoryServer) Repositories(*RepositoriesRequest, Repository_RepositoriesServer) error
- func (UnimplementedRepositoryServer) Repository(context.Context, *RepositoryRequest) (*RepositoryResponse, error)
- func (UnimplementedRepositoryServer) RepositoryCredentials(*CredentialsRequest, Repository_RepositoryCredentialsServer) error
- func (UnimplementedRepositoryServer) UpdateRepository(context.Context, *UpdateRepositoryRequest) (*RepositoryResponse, error)
- type UnsafeRepositoryServer
- type UpdateRepositoryRequest
- func (*UpdateRepositoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRepositoryRequest) GetDescription() string
- func (x *UpdateRepositoryRequest) GetId() string
- func (x *UpdateRepositoryRequest) GetNamespace() string
- func (*UpdateRepositoryRequest) ProtoMessage()
- func (x *UpdateRepositoryRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRepositoryRequest) Reset()
- func (x *UpdateRepositoryRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var File_proto_repository_proto protoreflect.FileDescriptor
var Repository_ServiceDesc = grpc.ServiceDesc{ ServiceName: "repository.Repository", HandlerType: (*RepositoryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Repository", Handler: _Repository_Repository_Handler, }, { MethodName: "CreateRepository", Handler: _Repository_CreateRepository_Handler, }, { MethodName: "UpdateRepository", Handler: _Repository_UpdateRepository_Handler, }, { MethodName: "DeleteRepository", Handler: _Repository_DeleteRepository_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Repositories", Handler: _Repository_Repositories_Handler, ServerStreams: true, }, { StreamName: "RepositoryCredentials", Handler: _Repository_RepositoryCredentials_Handler, ServerStreams: true, }, }, Metadata: "proto/repository.proto", }
Repository_ServiceDesc is the grpc.ServiceDesc for Repository service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterRepositoryServer ¶
func RegisterRepositoryServer(s grpc.ServiceRegistrar, srv RepositoryServer)
Types ¶
type CreateRepositoryRequest ¶
type CreateRepositoryRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"` // contains filtered or unexported fields }
func (*CreateRepositoryRequest) Descriptor
deprecated
func (*CreateRepositoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRepositoryRequest.ProtoReflect.Descriptor instead.
func (*CreateRepositoryRequest) GetDescription ¶
func (x *CreateRepositoryRequest) GetDescription() string
func (*CreateRepositoryRequest) GetName ¶
func (x *CreateRepositoryRequest) GetName() string
func (*CreateRepositoryRequest) GetNamespace ¶
func (x *CreateRepositoryRequest) GetNamespace() string
func (*CreateRepositoryRequest) ProtoMessage ¶
func (*CreateRepositoryRequest) ProtoMessage()
func (*CreateRepositoryRequest) ProtoReflect ¶
func (x *CreateRepositoryRequest) ProtoReflect() protoreflect.Message
func (*CreateRepositoryRequest) Reset ¶
func (x *CreateRepositoryRequest) Reset()
func (*CreateRepositoryRequest) String ¶
func (x *CreateRepositoryRequest) String() string
type CredentialsRequest ¶
type CredentialsRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` FilterKind string `protobuf:"bytes,4,opt,name=filterKind,proto3" json:"filterKind,omitempty"` // contains filtered or unexported fields }
func (*CredentialsRequest) Descriptor
deprecated
func (*CredentialsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CredentialsRequest.ProtoReflect.Descriptor instead.
func (*CredentialsRequest) GetFilterKind ¶
func (x *CredentialsRequest) GetFilterKind() string
func (*CredentialsRequest) GetNamespace ¶
func (x *CredentialsRequest) GetNamespace() string
func (*CredentialsRequest) GetRepository ¶
func (x *CredentialsRequest) GetRepository() string
func (*CredentialsRequest) GetUser ¶
func (x *CredentialsRequest) GetUser() string
func (*CredentialsRequest) ProtoMessage ¶
func (*CredentialsRequest) ProtoMessage()
func (*CredentialsRequest) ProtoReflect ¶
func (x *CredentialsRequest) ProtoReflect() protoreflect.Message
func (*CredentialsRequest) Reset ¶
func (x *CredentialsRequest) Reset()
func (*CredentialsRequest) String ¶
func (x *CredentialsRequest) String() string
type CredentialsResponse ¶
type CredentialsResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,5,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) GetKind ¶
func (x *CredentialsResponse) GetKind() 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 DeleteRepositoryRequest ¶
type DeleteRepositoryRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteRepositoryRequest) Descriptor
deprecated
func (*DeleteRepositoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRepositoryRequest.ProtoReflect.Descriptor instead.
func (*DeleteRepositoryRequest) GetId ¶
func (x *DeleteRepositoryRequest) GetId() string
func (*DeleteRepositoryRequest) GetNamespace ¶
func (x *DeleteRepositoryRequest) GetNamespace() string
func (*DeleteRepositoryRequest) ProtoMessage ¶
func (*DeleteRepositoryRequest) ProtoMessage()
func (*DeleteRepositoryRequest) ProtoReflect ¶
func (x *DeleteRepositoryRequest) ProtoReflect() protoreflect.Message
func (*DeleteRepositoryRequest) Reset ¶
func (x *DeleteRepositoryRequest) Reset()
func (*DeleteRepositoryRequest) String ¶
func (x *DeleteRepositoryRequest) String() string
type RepositoriesRequest ¶
type RepositoriesRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*RepositoriesRequest) Descriptor
deprecated
func (*RepositoriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use RepositoriesRequest.ProtoReflect.Descriptor instead.
func (*RepositoriesRequest) GetNamespace ¶
func (x *RepositoriesRequest) GetNamespace() string
func (*RepositoriesRequest) ProtoMessage ¶
func (*RepositoriesRequest) ProtoMessage()
func (*RepositoriesRequest) ProtoReflect ¶
func (x *RepositoriesRequest) ProtoReflect() protoreflect.Message
func (*RepositoriesRequest) Reset ¶
func (x *RepositoriesRequest) Reset()
func (*RepositoriesRequest) String ¶
func (x *RepositoriesRequest) String() string
type RepositoryClient ¶
type RepositoryClient interface { Repository(ctx context.Context, in *RepositoryRequest, opts ...grpc.CallOption) (*RepositoryResponse, error) Repositories(ctx context.Context, in *RepositoriesRequest, opts ...grpc.CallOption) (Repository_RepositoriesClient, error) CreateRepository(ctx context.Context, in *CreateRepositoryRequest, opts ...grpc.CallOption) (*RepositoryResponse, error) UpdateRepository(ctx context.Context, in *UpdateRepositoryRequest, opts ...grpc.CallOption) (*RepositoryResponse, error) DeleteRepository(ctx context.Context, in *DeleteRepositoryRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) RepositoryCredentials(ctx context.Context, in *CredentialsRequest, opts ...grpc.CallOption) (Repository_RepositoryCredentialsClient, error) }
RepositoryClient is the client API for Repository 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 NewRepositoryClient ¶
func NewRepositoryClient(cc grpc.ClientConnInterface) RepositoryClient
type RepositoryRequest ¶
type RepositoryRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` // contains filtered or unexported fields }
func (*RepositoryRequest) Descriptor
deprecated
func (*RepositoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use RepositoryRequest.ProtoReflect.Descriptor instead.
func (*RepositoryRequest) GetNamespace ¶
func (x *RepositoryRequest) GetNamespace() string
func (*RepositoryRequest) GetRepository ¶
func (x *RepositoryRequest) GetRepository() string
func (*RepositoryRequest) ProtoMessage ¶
func (*RepositoryRequest) ProtoMessage()
func (*RepositoryRequest) ProtoReflect ¶
func (x *RepositoryRequest) ProtoReflect() protoreflect.Message
func (*RepositoryRequest) Reset ¶
func (x *RepositoryRequest) Reset()
func (*RepositoryRequest) String ¶
func (x *RepositoryRequest) String() string
type RepositoryResponse ¶
type RepositoryResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*RepositoryResponse) Descriptor
deprecated
func (*RepositoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use RepositoryResponse.ProtoReflect.Descriptor instead.
func (*RepositoryResponse) GetCreatedAt ¶
func (x *RepositoryResponse) GetCreatedAt() *timestamppb.Timestamp
func (*RepositoryResponse) GetDescription ¶
func (x *RepositoryResponse) GetDescription() string
func (*RepositoryResponse) GetId ¶
func (x *RepositoryResponse) GetId() string
func (*RepositoryResponse) GetKind ¶
func (x *RepositoryResponse) GetKind() string
func (*RepositoryResponse) GetName ¶
func (x *RepositoryResponse) GetName() string
func (*RepositoryResponse) GetUpdatedAt ¶
func (x *RepositoryResponse) GetUpdatedAt() *timestamppb.Timestamp
func (*RepositoryResponse) GetUrl ¶
func (x *RepositoryResponse) GetUrl() string
func (*RepositoryResponse) ProtoMessage ¶
func (*RepositoryResponse) ProtoMessage()
func (*RepositoryResponse) ProtoReflect ¶
func (x *RepositoryResponse) ProtoReflect() protoreflect.Message
func (*RepositoryResponse) Reset ¶
func (x *RepositoryResponse) Reset()
func (*RepositoryResponse) String ¶
func (x *RepositoryResponse) String() string
type RepositoryServer ¶
type RepositoryServer interface { Repository(context.Context, *RepositoryRequest) (*RepositoryResponse, error) Repositories(*RepositoriesRequest, Repository_RepositoriesServer) error CreateRepository(context.Context, *CreateRepositoryRequest) (*RepositoryResponse, error) UpdateRepository(context.Context, *UpdateRepositoryRequest) (*RepositoryResponse, error) DeleteRepository(context.Context, *DeleteRepositoryRequest) (*emptypb.Empty, error) RepositoryCredentials(*CredentialsRequest, Repository_RepositoryCredentialsServer) error // contains filtered or unexported methods }
RepositoryServer is the server API for Repository service. All implementations must embed UnimplementedRepositoryServer for forward compatibility
type Repository_RepositoriesClient ¶
type Repository_RepositoriesClient interface { Recv() (*RepositoryResponse, error) grpc.ClientStream }
type Repository_RepositoriesServer ¶
type Repository_RepositoriesServer interface { Send(*RepositoryResponse) error grpc.ServerStream }
type Repository_RepositoryCredentialsClient ¶
type Repository_RepositoryCredentialsClient interface { Recv() (*CredentialsResponse, error) grpc.ClientStream }
type Repository_RepositoryCredentialsServer ¶
type Repository_RepositoryCredentialsServer interface { Send(*CredentialsResponse) error grpc.ServerStream }
type UnimplementedRepositoryServer ¶
type UnimplementedRepositoryServer struct { }
UnimplementedRepositoryServer must be embedded to have forward compatible implementations.
func (UnimplementedRepositoryServer) CreateRepository ¶
func (UnimplementedRepositoryServer) CreateRepository(context.Context, *CreateRepositoryRequest) (*RepositoryResponse, error)
func (UnimplementedRepositoryServer) DeleteRepository ¶
func (UnimplementedRepositoryServer) DeleteRepository(context.Context, *DeleteRepositoryRequest) (*emptypb.Empty, error)
func (UnimplementedRepositoryServer) Repositories ¶
func (UnimplementedRepositoryServer) Repositories(*RepositoriesRequest, Repository_RepositoriesServer) error
func (UnimplementedRepositoryServer) Repository ¶
func (UnimplementedRepositoryServer) Repository(context.Context, *RepositoryRequest) (*RepositoryResponse, error)
func (UnimplementedRepositoryServer) RepositoryCredentials ¶
func (UnimplementedRepositoryServer) RepositoryCredentials(*CredentialsRequest, Repository_RepositoryCredentialsServer) error
func (UnimplementedRepositoryServer) UpdateRepository ¶
func (UnimplementedRepositoryServer) UpdateRepository(context.Context, *UpdateRepositoryRequest) (*RepositoryResponse, error)
type UnsafeRepositoryServer ¶
type UnsafeRepositoryServer interface {
// contains filtered or unexported methods
}
UnsafeRepositoryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RepositoryServer will result in compilation errors.
type UpdateRepositoryRequest ¶
type UpdateRepositoryRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"` // contains filtered or unexported fields }
func (*UpdateRepositoryRequest) Descriptor
deprecated
func (*UpdateRepositoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRepositoryRequest.ProtoReflect.Descriptor instead.
func (*UpdateRepositoryRequest) GetDescription ¶
func (x *UpdateRepositoryRequest) GetDescription() string
func (*UpdateRepositoryRequest) GetId ¶
func (x *UpdateRepositoryRequest) GetId() string
func (*UpdateRepositoryRequest) GetNamespace ¶
func (x *UpdateRepositoryRequest) GetNamespace() string
func (*UpdateRepositoryRequest) ProtoMessage ¶
func (*UpdateRepositoryRequest) ProtoMessage()
func (*UpdateRepositoryRequest) ProtoReflect ¶
func (x *UpdateRepositoryRequest) ProtoReflect() protoreflect.Message
func (*UpdateRepositoryRequest) Reset ¶
func (x *UpdateRepositoryRequest) Reset()
func (*UpdateRepositoryRequest) String ¶
func (x *UpdateRepositoryRequest) String() string