registryv1alpha1

package
v0.43.3-0...-9926edd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 8, 2021 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Overview

Package registryv1alpha1 is a generated twirp stub package. This code was generated with github.com/twitchtv/twirp/protoc-gen-twirp v8.0.0.

It is generated from these files:

buf/alpha/registry/v1alpha1/download.proto
buf/alpha/registry/v1alpha1/module.proto
buf/alpha/registry/v1alpha1/scope.proto
buf/alpha/registry/v1alpha1/organization.proto
buf/alpha/registry/v1alpha1/push.proto
buf/alpha/registry/v1alpha1/repository.proto
buf/alpha/registry/v1alpha1/repository_branch.proto
buf/alpha/registry/v1alpha1/repository_commit.proto
buf/alpha/registry/v1alpha1/repository_tag.proto
buf/alpha/registry/v1alpha1/resolve.proto
buf/alpha/registry/v1alpha1/user.proto

Index

Constants

View Source
const DownloadServicePathPrefix = "/twirp/buf.alpha.registry.v1alpha1.DownloadService/"

DownloadServicePathPrefix is a convenience constant that could used to identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, that add a "/twirp" prefix by default, and use CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html

View Source
const OrganizationServicePathPrefix = "/twirp/buf.alpha.registry.v1alpha1.OrganizationService/"

OrganizationServicePathPrefix is a convenience constant that could used to identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, that add a "/twirp" prefix by default, and use CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html

View Source
const PushServicePathPrefix = "/twirp/buf.alpha.registry.v1alpha1.PushService/"

PushServicePathPrefix is a convenience constant that could used to identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, that add a "/twirp" prefix by default, and use CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html

View Source
const RepositoryBranchServicePathPrefix = "/twirp/buf.alpha.registry.v1alpha1.RepositoryBranchService/"

RepositoryBranchServicePathPrefix is a convenience constant that could used to identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, that add a "/twirp" prefix by default, and use CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html

View Source
const RepositoryCommitServicePathPrefix = "/twirp/buf.alpha.registry.v1alpha1.RepositoryCommitService/"

RepositoryCommitServicePathPrefix is a convenience constant that could used to identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, that add a "/twirp" prefix by default, and use CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html

View Source
const RepositoryServicePathPrefix = "/twirp/buf.alpha.registry.v1alpha1.RepositoryService/"

RepositoryServicePathPrefix is a convenience constant that could used to identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, that add a "/twirp" prefix by default, and use CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html

View Source
const RepositoryTagServicePathPrefix = "/twirp/buf.alpha.registry.v1alpha1.RepositoryTagService/"

RepositoryTagServicePathPrefix is a convenience constant that could used to identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, that add a "/twirp" prefix by default, and use CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html

View Source
const ResolveServicePathPrefix = "/twirp/buf.alpha.registry.v1alpha1.ResolveService/"

ResolveServicePathPrefix is a convenience constant that could used to identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, that add a "/twirp" prefix by default, and use CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html

View Source
const UserServicePathPrefix = "/twirp/buf.alpha.registry.v1alpha1.UserService/"

UserServicePathPrefix is a convenience constant that could used to identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, that add a "/twirp" prefix by default, and use CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html

Variables

View Source
var (
	Visibility_name = map[int32]string{
		0: "VISIBILITY_UNSPECIFIED",
		1: "VISIBILITY_PUBLIC",
		2: "VISIBILITY_PRIVATE",
	}
	Visibility_value = map[string]int32{
		"VISIBILITY_UNSPECIFIED": 0,
		"VISIBILITY_PUBLIC":      1,
		"VISIBILITY_PRIVATE":     2,
	}
)

Enum value maps for Visibility.

View Source
var (
	ServerScope_name = map[int32]string{
		0: "SERVER_SCOPE_UNSPECIFIED",
		1: "SERVER_SCOPE_MEMBER",
		2: "SERVER_SCOPE_ADMIN",
	}
	ServerScope_value = map[string]int32{
		"SERVER_SCOPE_UNSPECIFIED": 0,
		"SERVER_SCOPE_MEMBER":      1,
		"SERVER_SCOPE_ADMIN":       2,
	}
)

Enum value maps for ServerScope.

View Source
var (
	OrganizationScope_name = map[int32]string{
		0: "ORGANIZATION_SCOPE_UNSPECIFIED",
		1: "ORGANIZATION_SCOPE_MEMBER",
		2: "ORGANIZATION_SCOPE_ADMIN",
		3: "ORGANIZATION_SCOPE_OWNER",
	}
	OrganizationScope_value = map[string]int32{
		"ORGANIZATION_SCOPE_UNSPECIFIED": 0,
		"ORGANIZATION_SCOPE_MEMBER":      1,
		"ORGANIZATION_SCOPE_ADMIN":       2,
		"ORGANIZATION_SCOPE_OWNER":       3,
	}
)

Enum value maps for OrganizationScope.

View Source
var (
	RepositoryScope_name = map[int32]string{
		0: "REPOSITORY_SCOPE_UNSPECIFIED",
		1: "REPOSITORY_SCOPE_READ",
		2: "REPOSITORY_SCOPE_READ_WRITE",
		3: "REPOSITORY_SCOPE_ADMIN",
	}
	RepositoryScope_value = map[string]int32{
		"REPOSITORY_SCOPE_UNSPECIFIED": 0,
		"REPOSITORY_SCOPE_READ":        1,
		"REPOSITORY_SCOPE_READ_WRITE":  2,
		"REPOSITORY_SCOPE_ADMIN":       3,
	}
)

Enum value maps for RepositoryScope.

View Source
var DownloadService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "buf.alpha.registry.v1alpha1.DownloadService",
	HandlerType: (*DownloadServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Download",
			Handler:    _DownloadService_Download_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "buf/alpha/registry/v1alpha1/download.proto",
}

DownloadService_ServiceDesc is the grpc.ServiceDesc for DownloadService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_buf_alpha_registry_v1alpha1_download_proto protoreflect.FileDescriptor
View Source
var File_buf_alpha_registry_v1alpha1_module_proto protoreflect.FileDescriptor
View Source
var File_buf_alpha_registry_v1alpha1_organization_proto protoreflect.FileDescriptor
View Source
var File_buf_alpha_registry_v1alpha1_push_proto protoreflect.FileDescriptor
View Source
var File_buf_alpha_registry_v1alpha1_repository_branch_proto protoreflect.FileDescriptor
View Source
var File_buf_alpha_registry_v1alpha1_repository_commit_proto protoreflect.FileDescriptor
View Source
var File_buf_alpha_registry_v1alpha1_repository_proto protoreflect.FileDescriptor
View Source
var File_buf_alpha_registry_v1alpha1_repository_tag_proto protoreflect.FileDescriptor
View Source
var File_buf_alpha_registry_v1alpha1_resolve_proto protoreflect.FileDescriptor
View Source
var File_buf_alpha_registry_v1alpha1_scope_proto protoreflect.FileDescriptor
View Source
var File_buf_alpha_registry_v1alpha1_user_proto protoreflect.FileDescriptor
View Source
var OrganizationService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "buf.alpha.registry.v1alpha1.OrganizationService",
	HandlerType: (*OrganizationServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetOrganization",
			Handler:    _OrganizationService_GetOrganization_Handler,
		},
		{
			MethodName: "GetOrganizationByName",
			Handler:    _OrganizationService_GetOrganizationByName_Handler,
		},
		{
			MethodName: "ListOrganizations",
			Handler:    _OrganizationService_ListOrganizations_Handler,
		},
		{
			MethodName: "ListUserOrganizations",
			Handler:    _OrganizationService_ListUserOrganizations_Handler,
		},
		{
			MethodName: "CreateOrganization",
			Handler:    _OrganizationService_CreateOrganization_Handler,
		},
		{
			MethodName: "UpdateOrganizationName",
			Handler:    _OrganizationService_UpdateOrganizationName_Handler,
		},
		{
			MethodName: "UpdateOrganizationNameByName",
			Handler:    _OrganizationService_UpdateOrganizationNameByName_Handler,
		},
		{
			MethodName: "DeleteOrganization",
			Handler:    _OrganizationService_DeleteOrganization_Handler,
		},
		{
			MethodName: "DeleteOrganizationByName",
			Handler:    _OrganizationService_DeleteOrganizationByName_Handler,
		},
		{
			MethodName: "AddOrganizationBaseRepositoryScope",
			Handler:    _OrganizationService_AddOrganizationBaseRepositoryScope_Handler,
		},
		{
			MethodName: "AddOrganizationBaseRepositoryScopeByName",
			Handler:    _OrganizationService_AddOrganizationBaseRepositoryScopeByName_Handler,
		},
		{
			MethodName: "RemoveOrganizationBaseRepositoryScope",
			Handler:    _OrganizationService_RemoveOrganizationBaseRepositoryScope_Handler,
		},
		{
			MethodName: "RemoveOrganizationBaseRepositoryScopeByName",
			Handler:    _OrganizationService_RemoveOrganizationBaseRepositoryScopeByName_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "buf/alpha/registry/v1alpha1/organization.proto",
}

OrganizationService_ServiceDesc is the grpc.ServiceDesc for OrganizationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var PushService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "buf.alpha.registry.v1alpha1.PushService",
	HandlerType: (*PushServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Push",
			Handler:    _PushService_Push_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "buf/alpha/registry/v1alpha1/push.proto",
}

PushService_ServiceDesc is the grpc.ServiceDesc for PushService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var RepositoryBranchService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "buf.alpha.registry.v1alpha1.RepositoryBranchService",
	HandlerType: (*RepositoryBranchServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateRepositoryBranch",
			Handler:    _RepositoryBranchService_CreateRepositoryBranch_Handler,
		},
		{
			MethodName: "ListRepositoryBranches",
			Handler:    _RepositoryBranchService_ListRepositoryBranches_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "buf/alpha/registry/v1alpha1/repository_branch.proto",
}

RepositoryBranchService_ServiceDesc is the grpc.ServiceDesc for RepositoryBranchService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var RepositoryCommitService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "buf.alpha.registry.v1alpha1.RepositoryCommitService",
	HandlerType: (*RepositoryCommitServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListRepositoryCommitsByBranch",
			Handler:    _RepositoryCommitService_ListRepositoryCommitsByBranch_Handler,
		},
		{
			MethodName: "GetRepositoryCommitByReference",
			Handler:    _RepositoryCommitService_GetRepositoryCommitByReference_Handler,
		},
		{
			MethodName: "GetRepositoryCommitBySequenceID",
			Handler:    _RepositoryCommitService_GetRepositoryCommitBySequenceID_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "buf/alpha/registry/v1alpha1/repository_commit.proto",
}

RepositoryCommitService_ServiceDesc is the grpc.ServiceDesc for RepositoryCommitService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var RepositoryService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "buf.alpha.registry.v1alpha1.RepositoryService",
	HandlerType: (*RepositoryServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetRepository",
			Handler:    _RepositoryService_GetRepository_Handler,
		},
		{
			MethodName: "GetRepositoryByFullName",
			Handler:    _RepositoryService_GetRepositoryByFullName_Handler,
		},
		{
			MethodName: "ListRepositories",
			Handler:    _RepositoryService_ListRepositories_Handler,
		},
		{
			MethodName: "ListUserRepositories",
			Handler:    _RepositoryService_ListUserRepositories_Handler,
		},
		{
			MethodName: "ListOrganizationRepositories",
			Handler:    _RepositoryService_ListOrganizationRepositories_Handler,
		},
		{
			MethodName: "CreateRepositoryByFullName",
			Handler:    _RepositoryService_CreateRepositoryByFullName_Handler,
		},
		{
			MethodName: "UpdateRepositoryName",
			Handler:    _RepositoryService_UpdateRepositoryName_Handler,
		},
		{
			MethodName: "UpdateRepositoryNameByFullName",
			Handler:    _RepositoryService_UpdateRepositoryNameByFullName_Handler,
		},
		{
			MethodName: "UpdateRepositoryVisibility",
			Handler:    _RepositoryService_UpdateRepositoryVisibility_Handler,
		},
		{
			MethodName: "UpdateRepositoryVisibilityByName",
			Handler:    _RepositoryService_UpdateRepositoryVisibilityByName_Handler,
		},
		{
			MethodName: "DeleteRepository",
			Handler:    _RepositoryService_DeleteRepository_Handler,
		},
		{
			MethodName: "DeleteRepositoryByFullName",
			Handler:    _RepositoryService_DeleteRepositoryByFullName_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "buf/alpha/registry/v1alpha1/repository.proto",
}

RepositoryService_ServiceDesc is the grpc.ServiceDesc for RepositoryService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var RepositoryTagService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "buf.alpha.registry.v1alpha1.RepositoryTagService",
	HandlerType: (*RepositoryTagServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateRepositoryTag",
			Handler:    _RepositoryTagService_CreateRepositoryTag_Handler,
		},
		{
			MethodName: "ListRepositoryTags",
			Handler:    _RepositoryTagService_ListRepositoryTags_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "buf/alpha/registry/v1alpha1/repository_tag.proto",
}

RepositoryTagService_ServiceDesc is the grpc.ServiceDesc for RepositoryTagService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ResolveService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "buf.alpha.registry.v1alpha1.ResolveService",
	HandlerType: (*ResolveServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetModulePins",
			Handler:    _ResolveService_GetModulePins_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "buf/alpha/registry/v1alpha1/resolve.proto",
}

ResolveService_ServiceDesc is the grpc.ServiceDesc for ResolveService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var UserService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "buf.alpha.registry.v1alpha1.UserService",
	HandlerType: (*UserServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateUser",
			Handler:    _UserService_CreateUser_Handler,
		},
		{
			MethodName: "GetUser",
			Handler:    _UserService_GetUser_Handler,
		},
		{
			MethodName: "GetUserByUsername",
			Handler:    _UserService_GetUserByUsername_Handler,
		},
		{
			MethodName: "ListUsers",
			Handler:    _UserService_ListUsers_Handler,
		},
		{
			MethodName: "ListOrganizationUsers",
			Handler:    _UserService_ListOrganizationUsers_Handler,
		},
		{
			MethodName: "UpdateUserUsername",
			Handler:    _UserService_UpdateUserUsername_Handler,
		},
		{
			MethodName: "DeleteUser",
			Handler:    _UserService_DeleteUser_Handler,
		},
		{
			MethodName: "AddUserOrganizationScope",
			Handler:    _UserService_AddUserOrganizationScope_Handler,
		},
		{
			MethodName: "AddUserOrganizationScopeByName",
			Handler:    _UserService_AddUserOrganizationScopeByName_Handler,
		},
		{
			MethodName: "RemoveUserOrganizationScope",
			Handler:    _UserService_RemoveUserOrganizationScope_Handler,
		},
		{
			MethodName: "RemoveUserOrganizationScopeByName",
			Handler:    _UserService_RemoveUserOrganizationScopeByName_Handler,
		},
		{
			MethodName: "AddUserServerScope",
			Handler:    _UserService_AddUserServerScope_Handler,
		},
		{
			MethodName: "AddUserServerScopeByName",
			Handler:    _UserService_AddUserServerScopeByName_Handler,
		},
		{
			MethodName: "RemoveUserServerScope",
			Handler:    _UserService_RemoveUserServerScope_Handler,
		},
		{
			MethodName: "RemoveUserServerScopeByName",
			Handler:    _UserService_RemoveUserServerScopeByName_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "buf/alpha/registry/v1alpha1/user.proto",
}

UserService_ServiceDesc is the grpc.ServiceDesc for UserService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterDownloadServiceServer

func RegisterDownloadServiceServer(s grpc.ServiceRegistrar, srv DownloadServiceServer)

func RegisterOrganizationServiceServer

func RegisterOrganizationServiceServer(s grpc.ServiceRegistrar, srv OrganizationServiceServer)

func RegisterPushServiceServer

func RegisterPushServiceServer(s grpc.ServiceRegistrar, srv PushServiceServer)

func RegisterRepositoryBranchServiceServer

func RegisterRepositoryBranchServiceServer(s grpc.ServiceRegistrar, srv RepositoryBranchServiceServer)

func RegisterRepositoryCommitServiceServer

func RegisterRepositoryCommitServiceServer(s grpc.ServiceRegistrar, srv RepositoryCommitServiceServer)

func RegisterRepositoryServiceServer

func RegisterRepositoryServiceServer(s grpc.ServiceRegistrar, srv RepositoryServiceServer)

func RegisterRepositoryTagServiceServer

func RegisterRepositoryTagServiceServer(s grpc.ServiceRegistrar, srv RepositoryTagServiceServer)

func RegisterResolveServiceServer

func RegisterResolveServiceServer(s grpc.ServiceRegistrar, srv ResolveServiceServer)

func RegisterUserServiceServer

func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)

func WriteError

func WriteError(resp http.ResponseWriter, err error)

WriteError writes an HTTP response with a valid Twirp error format (code, msg, meta). Useful outside of the Twirp server (e.g. http middleware), but does not trigger hooks. If err is not a twirp.Error, it will get wrapped with twirp.InternalErrorWith(err)

Types

type AddOrganizationBaseRepositoryScopeByNameRequest

type AddOrganizationBaseRepositoryScopeByNameRequest struct {
	Name            string          `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	RepositoryScope RepositoryScope `` /* 156-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AddOrganizationBaseRepositoryScopeByNameRequest) Descriptor deprecated

Deprecated: Use AddOrganizationBaseRepositoryScopeByNameRequest.ProtoReflect.Descriptor instead.

func (*AddOrganizationBaseRepositoryScopeByNameRequest) GetName

func (*AddOrganizationBaseRepositoryScopeByNameRequest) GetRepositoryScope

func (*AddOrganizationBaseRepositoryScopeByNameRequest) ProtoMessage

func (*AddOrganizationBaseRepositoryScopeByNameRequest) ProtoReflect

func (*AddOrganizationBaseRepositoryScopeByNameRequest) Reset

func (*AddOrganizationBaseRepositoryScopeByNameRequest) String

type AddOrganizationBaseRepositoryScopeByNameResponse

type AddOrganizationBaseRepositoryScopeByNameResponse struct {
	// contains filtered or unexported fields
}

func (*AddOrganizationBaseRepositoryScopeByNameResponse) Descriptor deprecated

Deprecated: Use AddOrganizationBaseRepositoryScopeByNameResponse.ProtoReflect.Descriptor instead.

func (*AddOrganizationBaseRepositoryScopeByNameResponse) ProtoMessage

func (*AddOrganizationBaseRepositoryScopeByNameResponse) ProtoReflect

func (*AddOrganizationBaseRepositoryScopeByNameResponse) Reset

func (*AddOrganizationBaseRepositoryScopeByNameResponse) String

type AddOrganizationBaseRepositoryScopeRequest

type AddOrganizationBaseRepositoryScopeRequest struct {
	Id              string          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	RepositoryScope RepositoryScope `` /* 156-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AddOrganizationBaseRepositoryScopeRequest) Descriptor deprecated

func (*AddOrganizationBaseRepositoryScopeRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddOrganizationBaseRepositoryScopeRequest.ProtoReflect.Descriptor instead.

func (*AddOrganizationBaseRepositoryScopeRequest) GetId

func (*AddOrganizationBaseRepositoryScopeRequest) GetRepositoryScope

func (*AddOrganizationBaseRepositoryScopeRequest) ProtoMessage

func (*AddOrganizationBaseRepositoryScopeRequest) ProtoReflect

func (*AddOrganizationBaseRepositoryScopeRequest) Reset

func (*AddOrganizationBaseRepositoryScopeRequest) String

type AddOrganizationBaseRepositoryScopeResponse

type AddOrganizationBaseRepositoryScopeResponse struct {
	// contains filtered or unexported fields
}

func (*AddOrganizationBaseRepositoryScopeResponse) Descriptor deprecated

Deprecated: Use AddOrganizationBaseRepositoryScopeResponse.ProtoReflect.Descriptor instead.

func (*AddOrganizationBaseRepositoryScopeResponse) ProtoMessage

func (*AddOrganizationBaseRepositoryScopeResponse) ProtoReflect

func (*AddOrganizationBaseRepositoryScopeResponse) Reset

func (*AddOrganizationBaseRepositoryScopeResponse) String

type AddUserOrganizationScopeByNameRequest

type AddUserOrganizationScopeByNameRequest struct {
	Name              string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	OrganizationName  string            `protobuf:"bytes,2,opt,name=organization_name,json=organizationName,proto3" json:"organization_name,omitempty"`
	OrganizationScope OrganizationScope `` /* 164-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AddUserOrganizationScopeByNameRequest) Descriptor deprecated

func (*AddUserOrganizationScopeByNameRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddUserOrganizationScopeByNameRequest.ProtoReflect.Descriptor instead.

func (*AddUserOrganizationScopeByNameRequest) GetName

func (*AddUserOrganizationScopeByNameRequest) GetOrganizationName

func (x *AddUserOrganizationScopeByNameRequest) GetOrganizationName() string

func (*AddUserOrganizationScopeByNameRequest) GetOrganizationScope

func (x *AddUserOrganizationScopeByNameRequest) GetOrganizationScope() OrganizationScope

func (*AddUserOrganizationScopeByNameRequest) ProtoMessage

func (*AddUserOrganizationScopeByNameRequest) ProtoMessage()

func (*AddUserOrganizationScopeByNameRequest) ProtoReflect

func (*AddUserOrganizationScopeByNameRequest) Reset

func (*AddUserOrganizationScopeByNameRequest) String

type AddUserOrganizationScopeByNameResponse

type AddUserOrganizationScopeByNameResponse struct {
	// contains filtered or unexported fields
}

func (*AddUserOrganizationScopeByNameResponse) Descriptor deprecated

func (*AddUserOrganizationScopeByNameResponse) Descriptor() ([]byte, []int)

Deprecated: Use AddUserOrganizationScopeByNameResponse.ProtoReflect.Descriptor instead.

func (*AddUserOrganizationScopeByNameResponse) ProtoMessage

func (*AddUserOrganizationScopeByNameResponse) ProtoReflect

func (*AddUserOrganizationScopeByNameResponse) Reset

func (*AddUserOrganizationScopeByNameResponse) String

type AddUserOrganizationScopeRequest

type AddUserOrganizationScopeRequest struct {
	Id                string            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	OrganizationId    string            `protobuf:"bytes,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	OrganizationScope OrganizationScope `` /* 164-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AddUserOrganizationScopeRequest) Descriptor deprecated

func (*AddUserOrganizationScopeRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddUserOrganizationScopeRequest.ProtoReflect.Descriptor instead.

func (*AddUserOrganizationScopeRequest) GetId

func (*AddUserOrganizationScopeRequest) GetOrganizationId

func (x *AddUserOrganizationScopeRequest) GetOrganizationId() string

func (*AddUserOrganizationScopeRequest) GetOrganizationScope

func (x *AddUserOrganizationScopeRequest) GetOrganizationScope() OrganizationScope

func (*AddUserOrganizationScopeRequest) ProtoMessage

func (*AddUserOrganizationScopeRequest) ProtoMessage()

func (*AddUserOrganizationScopeRequest) ProtoReflect

func (*AddUserOrganizationScopeRequest) Reset

func (*AddUserOrganizationScopeRequest) String

type AddUserOrganizationScopeResponse

type AddUserOrganizationScopeResponse struct {
	// contains filtered or unexported fields
}

func (*AddUserOrganizationScopeResponse) Descriptor deprecated

func (*AddUserOrganizationScopeResponse) Descriptor() ([]byte, []int)

Deprecated: Use AddUserOrganizationScopeResponse.ProtoReflect.Descriptor instead.

func (*AddUserOrganizationScopeResponse) ProtoMessage

func (*AddUserOrganizationScopeResponse) ProtoMessage()

func (*AddUserOrganizationScopeResponse) ProtoReflect

func (*AddUserOrganizationScopeResponse) Reset

func (*AddUserOrganizationScopeResponse) String

type AddUserServerScopeByNameRequest

type AddUserServerScopeByNameRequest struct {
	Name        string      `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ServerScope ServerScope `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AddUserServerScopeByNameRequest) Descriptor deprecated

func (*AddUserServerScopeByNameRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddUserServerScopeByNameRequest.ProtoReflect.Descriptor instead.

func (*AddUserServerScopeByNameRequest) GetName

func (*AddUserServerScopeByNameRequest) GetServerScope

func (x *AddUserServerScopeByNameRequest) GetServerScope() ServerScope

func (*AddUserServerScopeByNameRequest) ProtoMessage

func (*AddUserServerScopeByNameRequest) ProtoMessage()

func (*AddUserServerScopeByNameRequest) ProtoReflect

func (*AddUserServerScopeByNameRequest) Reset

func (*AddUserServerScopeByNameRequest) String

type AddUserServerScopeByNameResponse

type AddUserServerScopeByNameResponse struct {
	// contains filtered or unexported fields
}

func (*AddUserServerScopeByNameResponse) Descriptor deprecated

func (*AddUserServerScopeByNameResponse) Descriptor() ([]byte, []int)

Deprecated: Use AddUserServerScopeByNameResponse.ProtoReflect.Descriptor instead.

func (*AddUserServerScopeByNameResponse) ProtoMessage

func (*AddUserServerScopeByNameResponse) ProtoMessage()

func (*AddUserServerScopeByNameResponse) ProtoReflect

func (*AddUserServerScopeByNameResponse) Reset

func (*AddUserServerScopeByNameResponse) String

type AddUserServerScopeRequest

type AddUserServerScopeRequest struct {
	Id          string      `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ServerScope ServerScope `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AddUserServerScopeRequest) Descriptor deprecated

func (*AddUserServerScopeRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddUserServerScopeRequest.ProtoReflect.Descriptor instead.

func (*AddUserServerScopeRequest) GetId

func (x *AddUserServerScopeRequest) GetId() string

func (*AddUserServerScopeRequest) GetServerScope

func (x *AddUserServerScopeRequest) GetServerScope() ServerScope

func (*AddUserServerScopeRequest) ProtoMessage

func (*AddUserServerScopeRequest) ProtoMessage()

func (*AddUserServerScopeRequest) ProtoReflect

func (*AddUserServerScopeRequest) Reset

func (x *AddUserServerScopeRequest) Reset()

func (*AddUserServerScopeRequest) String

func (x *AddUserServerScopeRequest) String() string

type AddUserServerScopeResponse

type AddUserServerScopeResponse struct {
	// contains filtered or unexported fields
}

func (*AddUserServerScopeResponse) Descriptor deprecated

func (*AddUserServerScopeResponse) Descriptor() ([]byte, []int)

Deprecated: Use AddUserServerScopeResponse.ProtoReflect.Descriptor instead.

func (*AddUserServerScopeResponse) ProtoMessage

func (*AddUserServerScopeResponse) ProtoMessage()

func (*AddUserServerScopeResponse) ProtoReflect

func (*AddUserServerScopeResponse) Reset

func (x *AddUserServerScopeResponse) Reset()

func (*AddUserServerScopeResponse) String

func (x *AddUserServerScopeResponse) String() string

type CreateOrganizationRequest

type CreateOrganizationRequest struct {

	// Must be unique across organizations.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateOrganizationRequest) Descriptor deprecated

func (*CreateOrganizationRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateOrganizationRequest.ProtoReflect.Descriptor instead.

func (*CreateOrganizationRequest) GetName

func (x *CreateOrganizationRequest) GetName() string

func (*CreateOrganizationRequest) ProtoMessage

func (*CreateOrganizationRequest) ProtoMessage()

func (*CreateOrganizationRequest) ProtoReflect

func (*CreateOrganizationRequest) Reset

func (x *CreateOrganizationRequest) Reset()

func (*CreateOrganizationRequest) String

func (x *CreateOrganizationRequest) String() string

type CreateOrganizationResponse

type CreateOrganizationResponse struct {
	Organization *Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateOrganizationResponse) Descriptor deprecated

func (*CreateOrganizationResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateOrganizationResponse.ProtoReflect.Descriptor instead.

func (*CreateOrganizationResponse) GetOrganization

func (x *CreateOrganizationResponse) GetOrganization() *Organization

func (*CreateOrganizationResponse) ProtoMessage

func (*CreateOrganizationResponse) ProtoMessage()

func (*CreateOrganizationResponse) ProtoReflect

func (*CreateOrganizationResponse) Reset

func (x *CreateOrganizationResponse) Reset()

func (*CreateOrganizationResponse) String

func (x *CreateOrganizationResponse) String() string

type CreateRepositoryBranchRequest

type CreateRepositoryBranchRequest struct {

	// The ID of the repository this branch should be created on.
	RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"`
	// The name of the repository branch, i.e. v1.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The name of the parent branch. The latest commit on this
	// branch will be used as the branch's parent.
	ParentBranch string `protobuf:"bytes,3,opt,name=parent_branch,json=parentBranch,proto3" json:"parent_branch,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRepositoryBranchRequest) Descriptor deprecated

func (*CreateRepositoryBranchRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateRepositoryBranchRequest.ProtoReflect.Descriptor instead.

func (*CreateRepositoryBranchRequest) GetName

func (*CreateRepositoryBranchRequest) GetParentBranch

func (x *CreateRepositoryBranchRequest) GetParentBranch() string

func (*CreateRepositoryBranchRequest) GetRepositoryId

func (x *CreateRepositoryBranchRequest) GetRepositoryId() string

func (*CreateRepositoryBranchRequest) ProtoMessage

func (*CreateRepositoryBranchRequest) ProtoMessage()

func (*CreateRepositoryBranchRequest) ProtoReflect

func (*CreateRepositoryBranchRequest) Reset

func (x *CreateRepositoryBranchRequest) Reset()

func (*CreateRepositoryBranchRequest) String

type CreateRepositoryBranchResponse

type CreateRepositoryBranchResponse struct {
	RepositoryBranch *RepositoryBranch `protobuf:"bytes,1,opt,name=repository_branch,json=repositoryBranch,proto3" json:"repository_branch,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRepositoryBranchResponse) Descriptor deprecated

func (*CreateRepositoryBranchResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateRepositoryBranchResponse.ProtoReflect.Descriptor instead.

func (*CreateRepositoryBranchResponse) GetRepositoryBranch

func (x *CreateRepositoryBranchResponse) GetRepositoryBranch() *RepositoryBranch

func (*CreateRepositoryBranchResponse) ProtoMessage

func (*CreateRepositoryBranchResponse) ProtoMessage()

func (*CreateRepositoryBranchResponse) ProtoReflect

func (*CreateRepositoryBranchResponse) Reset

func (x *CreateRepositoryBranchResponse) Reset()

func (*CreateRepositoryBranchResponse) String

type CreateRepositoryByFullNameRequest

type CreateRepositoryByFullNameRequest struct {

	// Must be unique across repositories.
	FullName   string     `protobuf:"bytes,1,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"`
	Visibility Visibility `protobuf:"varint,2,opt,name=visibility,proto3,enum=buf.alpha.registry.v1alpha1.Visibility" json:"visibility,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRepositoryByFullNameRequest) Descriptor deprecated

func (*CreateRepositoryByFullNameRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateRepositoryByFullNameRequest.ProtoReflect.Descriptor instead.

func (*CreateRepositoryByFullNameRequest) GetFullName

func (x *CreateRepositoryByFullNameRequest) GetFullName() string

func (*CreateRepositoryByFullNameRequest) GetVisibility

func (x *CreateRepositoryByFullNameRequest) GetVisibility() Visibility

func (*CreateRepositoryByFullNameRequest) ProtoMessage

func (*CreateRepositoryByFullNameRequest) ProtoMessage()

func (*CreateRepositoryByFullNameRequest) ProtoReflect

func (*CreateRepositoryByFullNameRequest) Reset

func (*CreateRepositoryByFullNameRequest) String

type CreateRepositoryByFullNameResponse

type CreateRepositoryByFullNameResponse struct {
	Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRepositoryByFullNameResponse) Descriptor deprecated

func (*CreateRepositoryByFullNameResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateRepositoryByFullNameResponse.ProtoReflect.Descriptor instead.

func (*CreateRepositoryByFullNameResponse) GetRepository

func (x *CreateRepositoryByFullNameResponse) GetRepository() *Repository

func (*CreateRepositoryByFullNameResponse) ProtoMessage

func (*CreateRepositoryByFullNameResponse) ProtoMessage()

func (*CreateRepositoryByFullNameResponse) ProtoReflect

func (*CreateRepositoryByFullNameResponse) Reset

func (*CreateRepositoryByFullNameResponse) String

type CreateRepositoryTagRequest

type CreateRepositoryTagRequest struct {

	// The ID of the repository this tag should be created on.
	RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"`
	// The name of the repository tag, e.g. "6e2e7f24718a76caa32a80d0e2b1841ef2c61403".
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The name of the commit this tag should be created for.
	CommitName string `protobuf:"bytes,3,opt,name=commit_name,json=commitName,proto3" json:"commit_name,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRepositoryTagRequest) Descriptor deprecated

func (*CreateRepositoryTagRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateRepositoryTagRequest.ProtoReflect.Descriptor instead.

func (*CreateRepositoryTagRequest) GetCommitName

func (x *CreateRepositoryTagRequest) GetCommitName() string

func (*CreateRepositoryTagRequest) GetName

func (x *CreateRepositoryTagRequest) GetName() string

func (*CreateRepositoryTagRequest) GetRepositoryId

func (x *CreateRepositoryTagRequest) GetRepositoryId() string

func (*CreateRepositoryTagRequest) ProtoMessage

func (*CreateRepositoryTagRequest) ProtoMessage()

func (*CreateRepositoryTagRequest) ProtoReflect

func (*CreateRepositoryTagRequest) Reset

func (x *CreateRepositoryTagRequest) Reset()

func (*CreateRepositoryTagRequest) String

func (x *CreateRepositoryTagRequest) String() string

type CreateRepositoryTagResponse

type CreateRepositoryTagResponse struct {
	RepositoryTag *RepositoryTag `protobuf:"bytes,1,opt,name=repository_tag,json=repositoryTag,proto3" json:"repository_tag,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRepositoryTagResponse) Descriptor deprecated

func (*CreateRepositoryTagResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateRepositoryTagResponse.ProtoReflect.Descriptor instead.

func (*CreateRepositoryTagResponse) GetRepositoryTag

func (x *CreateRepositoryTagResponse) GetRepositoryTag() *RepositoryTag

func (*CreateRepositoryTagResponse) ProtoMessage

func (*CreateRepositoryTagResponse) ProtoMessage()

func (*CreateRepositoryTagResponse) ProtoReflect

func (*CreateRepositoryTagResponse) Reset

func (x *CreateRepositoryTagResponse) Reset()

func (*CreateRepositoryTagResponse) String

func (x *CreateRepositoryTagResponse) String() string

type CreateUserRequest

type CreateUserRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserRequest) Descriptor deprecated

func (*CreateUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.

func (*CreateUserRequest) GetUsername

func (x *CreateUserRequest) GetUsername() string

func (*CreateUserRequest) ProtoMessage

func (*CreateUserRequest) ProtoMessage()

func (*CreateUserRequest) ProtoReflect

func (x *CreateUserRequest) ProtoReflect() protoreflect.Message

func (*CreateUserRequest) Reset

func (x *CreateUserRequest) Reset()

func (*CreateUserRequest) String

func (x *CreateUserRequest) String() string

type CreateUserResponse

type CreateUserResponse struct {
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserResponse) Descriptor deprecated

func (*CreateUserResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.

func (*CreateUserResponse) GetUser

func (x *CreateUserResponse) GetUser() *User

func (*CreateUserResponse) ProtoMessage

func (*CreateUserResponse) ProtoMessage()

func (*CreateUserResponse) ProtoReflect

func (x *CreateUserResponse) ProtoReflect() protoreflect.Message

func (*CreateUserResponse) Reset

func (x *CreateUserResponse) Reset()

func (*CreateUserResponse) String

func (x *CreateUserResponse) String() string

type DeleteOrganizationByNameRequest

type DeleteOrganizationByNameRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteOrganizationByNameRequest) Descriptor deprecated

func (*DeleteOrganizationByNameRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteOrganizationByNameRequest.ProtoReflect.Descriptor instead.

func (*DeleteOrganizationByNameRequest) GetName

func (*DeleteOrganizationByNameRequest) ProtoMessage

func (*DeleteOrganizationByNameRequest) ProtoMessage()

func (*DeleteOrganizationByNameRequest) ProtoReflect

func (*DeleteOrganizationByNameRequest) Reset

func (*DeleteOrganizationByNameRequest) String

type DeleteOrganizationByNameResponse

type DeleteOrganizationByNameResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteOrganizationByNameResponse) Descriptor deprecated

func (*DeleteOrganizationByNameResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteOrganizationByNameResponse.ProtoReflect.Descriptor instead.

func (*DeleteOrganizationByNameResponse) ProtoMessage

func (*DeleteOrganizationByNameResponse) ProtoMessage()

func (*DeleteOrganizationByNameResponse) ProtoReflect

func (*DeleteOrganizationByNameResponse) Reset

func (*DeleteOrganizationByNameResponse) String

type DeleteOrganizationRequest

type DeleteOrganizationRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteOrganizationRequest) Descriptor deprecated

func (*DeleteOrganizationRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteOrganizationRequest.ProtoReflect.Descriptor instead.

func (*DeleteOrganizationRequest) GetId

func (x *DeleteOrganizationRequest) GetId() string

func (*DeleteOrganizationRequest) ProtoMessage

func (*DeleteOrganizationRequest) ProtoMessage()

func (*DeleteOrganizationRequest) ProtoReflect

func (*DeleteOrganizationRequest) Reset

func (x *DeleteOrganizationRequest) Reset()

func (*DeleteOrganizationRequest) String

func (x *DeleteOrganizationRequest) String() string

type DeleteOrganizationResponse

type DeleteOrganizationResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteOrganizationResponse) Descriptor deprecated

func (*DeleteOrganizationResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteOrganizationResponse.ProtoReflect.Descriptor instead.

func (*DeleteOrganizationResponse) ProtoMessage

func (*DeleteOrganizationResponse) ProtoMessage()

func (*DeleteOrganizationResponse) ProtoReflect

func (*DeleteOrganizationResponse) Reset

func (x *DeleteOrganizationResponse) Reset()

func (*DeleteOrganizationResponse) String

func (x *DeleteOrganizationResponse) String() string

type DeleteRepositoryByFullNameRequest

type DeleteRepositoryByFullNameRequest struct {
	FullName string `protobuf:"bytes,1,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRepositoryByFullNameRequest) Descriptor deprecated

func (*DeleteRepositoryByFullNameRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteRepositoryByFullNameRequest.ProtoReflect.Descriptor instead.

func (*DeleteRepositoryByFullNameRequest) GetFullName

func (x *DeleteRepositoryByFullNameRequest) GetFullName() string

func (*DeleteRepositoryByFullNameRequest) ProtoMessage

func (*DeleteRepositoryByFullNameRequest) ProtoMessage()

func (*DeleteRepositoryByFullNameRequest) ProtoReflect

func (*DeleteRepositoryByFullNameRequest) Reset

func (*DeleteRepositoryByFullNameRequest) String

type DeleteRepositoryByFullNameResponse

type DeleteRepositoryByFullNameResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteRepositoryByFullNameResponse) Descriptor deprecated

func (*DeleteRepositoryByFullNameResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteRepositoryByFullNameResponse.ProtoReflect.Descriptor instead.

func (*DeleteRepositoryByFullNameResponse) ProtoMessage

func (*DeleteRepositoryByFullNameResponse) ProtoMessage()

func (*DeleteRepositoryByFullNameResponse) ProtoReflect

func (*DeleteRepositoryByFullNameResponse) Reset

func (*DeleteRepositoryByFullNameResponse) String

type DeleteRepositoryRequest

type DeleteRepositoryRequest struct {
	Id string `protobuf:"bytes,1,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) 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 DeleteRepositoryResponse

type DeleteRepositoryResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteRepositoryResponse) Descriptor deprecated

func (*DeleteRepositoryResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteRepositoryResponse.ProtoReflect.Descriptor instead.

func (*DeleteRepositoryResponse) ProtoMessage

func (*DeleteRepositoryResponse) ProtoMessage()

func (*DeleteRepositoryResponse) ProtoReflect

func (x *DeleteRepositoryResponse) ProtoReflect() protoreflect.Message

func (*DeleteRepositoryResponse) Reset

func (x *DeleteRepositoryResponse) Reset()

func (*DeleteRepositoryResponse) String

func (x *DeleteRepositoryResponse) String() string

type DeleteUserRequest

type DeleteUserRequest struct {
	// contains filtered or unexported fields
}

func (*DeleteUserRequest) Descriptor deprecated

func (*DeleteUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserRequest) ProtoMessage

func (*DeleteUserRequest) ProtoMessage()

func (*DeleteUserRequest) ProtoReflect

func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message

func (*DeleteUserRequest) Reset

func (x *DeleteUserRequest) Reset()

func (*DeleteUserRequest) String

func (x *DeleteUserRequest) String() string

type DeleteUserResponse

type DeleteUserResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteUserResponse) Descriptor deprecated

func (*DeleteUserResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead.

func (*DeleteUserResponse) ProtoMessage

func (*DeleteUserResponse) ProtoMessage()

func (*DeleteUserResponse) ProtoReflect

func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message

func (*DeleteUserResponse) Reset

func (x *DeleteUserResponse) Reset()

func (*DeleteUserResponse) String

func (x *DeleteUserResponse) String() string

type DownloadRequest

type DownloadRequest struct {
	Owner      string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"`
	Reference  string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"`
	// contains filtered or unexported fields
}

func (*DownloadRequest) Descriptor deprecated

func (*DownloadRequest) Descriptor() ([]byte, []int)

Deprecated: Use DownloadRequest.ProtoReflect.Descriptor instead.

func (*DownloadRequest) GetOwner

func (x *DownloadRequest) GetOwner() string

func (*DownloadRequest) GetReference

func (x *DownloadRequest) GetReference() string

func (*DownloadRequest) GetRepository

func (x *DownloadRequest) GetRepository() string

func (*DownloadRequest) ProtoMessage

func (*DownloadRequest) ProtoMessage()

func (*DownloadRequest) ProtoReflect

func (x *DownloadRequest) ProtoReflect() protoreflect.Message

func (*DownloadRequest) Reset

func (x *DownloadRequest) Reset()

func (*DownloadRequest) String

func (x *DownloadRequest) String() string

type DownloadResponse

type DownloadResponse struct {
	Module *v1alpha1.Module `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
	// contains filtered or unexported fields
}

func (*DownloadResponse) Descriptor deprecated

func (*DownloadResponse) Descriptor() ([]byte, []int)

Deprecated: Use DownloadResponse.ProtoReflect.Descriptor instead.

func (*DownloadResponse) GetModule

func (x *DownloadResponse) GetModule() *v1alpha1.Module

func (*DownloadResponse) ProtoMessage

func (*DownloadResponse) ProtoMessage()

func (*DownloadResponse) ProtoReflect

func (x *DownloadResponse) ProtoReflect() protoreflect.Message

func (*DownloadResponse) Reset

func (x *DownloadResponse) Reset()

func (*DownloadResponse) String

func (x *DownloadResponse) String() string

type DownloadService

type DownloadService interface {
	// Download downloads.
	Download(context.Context, *DownloadRequest) (*DownloadResponse, error)
}

DownloadService is the download service.

func NewDownloadServiceJSONClient

func NewDownloadServiceJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) DownloadService

NewDownloadServiceJSONClient creates a JSON client that implements the DownloadService interface. It communicates using JSON and can be configured with a custom HTTPClient.

func NewDownloadServiceProtobufClient

func NewDownloadServiceProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) DownloadService

NewDownloadServiceProtobufClient creates a Protobuf client that implements the DownloadService interface. It communicates using Protobuf and can be configured with a custom HTTPClient.

type DownloadServiceClient

type DownloadServiceClient interface {
	// Download downloads.
	Download(ctx context.Context, in *DownloadRequest, opts ...grpc.CallOption) (*DownloadResponse, error)
}

DownloadServiceClient is the client API for DownloadService 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.

type DownloadServiceServer

type DownloadServiceServer interface {
	// Download downloads.
	Download(context.Context, *DownloadRequest) (*DownloadResponse, error)
}

DownloadServiceServer is the server API for DownloadService service. All implementations should embed UnimplementedDownloadServiceServer for forward compatibility

type GetModulePinsRequest

type GetModulePinsRequest struct {
	ModuleReferences []*v1alpha1.ModuleReference `protobuf:"bytes,1,rep,name=module_references,json=moduleReferences,proto3" json:"module_references,omitempty"`
	// contains filtered or unexported fields
}

func (*GetModulePinsRequest) Descriptor deprecated

func (*GetModulePinsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetModulePinsRequest.ProtoReflect.Descriptor instead.

func (*GetModulePinsRequest) GetModuleReferences

func (x *GetModulePinsRequest) GetModuleReferences() []*v1alpha1.ModuleReference

func (*GetModulePinsRequest) ProtoMessage

func (*GetModulePinsRequest) ProtoMessage()

func (*GetModulePinsRequest) ProtoReflect

func (x *GetModulePinsRequest) ProtoReflect() protoreflect.Message

func (*GetModulePinsRequest) Reset

func (x *GetModulePinsRequest) Reset()

func (*GetModulePinsRequest) String

func (x *GetModulePinsRequest) String() string

type GetModulePinsResponse

type GetModulePinsResponse struct {
	ModulePins []*v1alpha1.ModulePin `protobuf:"bytes,1,rep,name=module_pins,json=modulePins,proto3" json:"module_pins,omitempty"`
	// contains filtered or unexported fields
}

func (*GetModulePinsResponse) Descriptor deprecated

func (*GetModulePinsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetModulePinsResponse.ProtoReflect.Descriptor instead.

func (*GetModulePinsResponse) GetModulePins

func (x *GetModulePinsResponse) GetModulePins() []*v1alpha1.ModulePin

func (*GetModulePinsResponse) ProtoMessage

func (*GetModulePinsResponse) ProtoMessage()

func (*GetModulePinsResponse) ProtoReflect

func (x *GetModulePinsResponse) ProtoReflect() protoreflect.Message

func (*GetModulePinsResponse) Reset

func (x *GetModulePinsResponse) Reset()

func (*GetModulePinsResponse) String

func (x *GetModulePinsResponse) String() string

type GetOrganizationByNameRequest

type GetOrganizationByNameRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOrganizationByNameRequest) Descriptor deprecated

func (*GetOrganizationByNameRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetOrganizationByNameRequest.ProtoReflect.Descriptor instead.

func (*GetOrganizationByNameRequest) GetName

func (x *GetOrganizationByNameRequest) GetName() string

func (*GetOrganizationByNameRequest) ProtoMessage

func (*GetOrganizationByNameRequest) ProtoMessage()

func (*GetOrganizationByNameRequest) ProtoReflect

func (*GetOrganizationByNameRequest) Reset

func (x *GetOrganizationByNameRequest) Reset()

func (*GetOrganizationByNameRequest) String

type GetOrganizationByNameResponse

type GetOrganizationByNameResponse struct {
	Organization *Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOrganizationByNameResponse) Descriptor deprecated

func (*GetOrganizationByNameResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetOrganizationByNameResponse.ProtoReflect.Descriptor instead.

func (*GetOrganizationByNameResponse) GetOrganization

func (x *GetOrganizationByNameResponse) GetOrganization() *Organization

func (*GetOrganizationByNameResponse) ProtoMessage

func (*GetOrganizationByNameResponse) ProtoMessage()

func (*GetOrganizationByNameResponse) ProtoReflect

func (*GetOrganizationByNameResponse) Reset

func (x *GetOrganizationByNameResponse) Reset()

func (*GetOrganizationByNameResponse) String

type GetOrganizationRequest

type GetOrganizationRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOrganizationRequest) Descriptor deprecated

func (*GetOrganizationRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetOrganizationRequest.ProtoReflect.Descriptor instead.

func (*GetOrganizationRequest) GetId

func (x *GetOrganizationRequest) GetId() string

func (*GetOrganizationRequest) ProtoMessage

func (*GetOrganizationRequest) ProtoMessage()

func (*GetOrganizationRequest) ProtoReflect

func (x *GetOrganizationRequest) ProtoReflect() protoreflect.Message

func (*GetOrganizationRequest) Reset

func (x *GetOrganizationRequest) Reset()

func (*GetOrganizationRequest) String

func (x *GetOrganizationRequest) String() string

type GetOrganizationResponse

type GetOrganizationResponse struct {
	Organization *Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOrganizationResponse) Descriptor deprecated

func (*GetOrganizationResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetOrganizationResponse.ProtoReflect.Descriptor instead.

func (*GetOrganizationResponse) GetOrganization

func (x *GetOrganizationResponse) GetOrganization() *Organization

func (*GetOrganizationResponse) ProtoMessage

func (*GetOrganizationResponse) ProtoMessage()

func (*GetOrganizationResponse) ProtoReflect

func (x *GetOrganizationResponse) ProtoReflect() protoreflect.Message

func (*GetOrganizationResponse) Reset

func (x *GetOrganizationResponse) Reset()

func (*GetOrganizationResponse) String

func (x *GetOrganizationResponse) String() string

type GetRepositoryByFullNameRequest

type GetRepositoryByFullNameRequest struct {
	FullName string `protobuf:"bytes,1,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRepositoryByFullNameRequest) Descriptor deprecated

func (*GetRepositoryByFullNameRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetRepositoryByFullNameRequest.ProtoReflect.Descriptor instead.

func (*GetRepositoryByFullNameRequest) GetFullName

func (x *GetRepositoryByFullNameRequest) GetFullName() string

func (*GetRepositoryByFullNameRequest) ProtoMessage

func (*GetRepositoryByFullNameRequest) ProtoMessage()

func (*GetRepositoryByFullNameRequest) ProtoReflect

func (*GetRepositoryByFullNameRequest) Reset

func (x *GetRepositoryByFullNameRequest) Reset()

func (*GetRepositoryByFullNameRequest) String

type GetRepositoryByFullNameResponse

type GetRepositoryByFullNameResponse struct {
	Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRepositoryByFullNameResponse) Descriptor deprecated

func (*GetRepositoryByFullNameResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetRepositoryByFullNameResponse.ProtoReflect.Descriptor instead.

func (*GetRepositoryByFullNameResponse) GetRepository

func (x *GetRepositoryByFullNameResponse) GetRepository() *Repository

func (*GetRepositoryByFullNameResponse) ProtoMessage

func (*GetRepositoryByFullNameResponse) ProtoMessage()

func (*GetRepositoryByFullNameResponse) ProtoReflect

func (*GetRepositoryByFullNameResponse) Reset

func (*GetRepositoryByFullNameResponse) String

type GetRepositoryCommitByReferenceRequest

type GetRepositoryCommitByReferenceRequest struct {

	// The owner of the repository which the repository branch belongs to.
	RepositoryOwner string `protobuf:"bytes,1,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"`
	// The name of the repository which the repository branch belongs to.
	RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"`
	// The reference that should be resolved to a commit. Can be a branch, tag or commit.
	Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRepositoryCommitByReferenceRequest) Descriptor deprecated

func (*GetRepositoryCommitByReferenceRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetRepositoryCommitByReferenceRequest.ProtoReflect.Descriptor instead.

func (*GetRepositoryCommitByReferenceRequest) GetReference

func (*GetRepositoryCommitByReferenceRequest) GetRepositoryName

func (x *GetRepositoryCommitByReferenceRequest) GetRepositoryName() string

func (*GetRepositoryCommitByReferenceRequest) GetRepositoryOwner

func (x *GetRepositoryCommitByReferenceRequest) GetRepositoryOwner() string

func (*GetRepositoryCommitByReferenceRequest) ProtoMessage

func (*GetRepositoryCommitByReferenceRequest) ProtoMessage()

func (*GetRepositoryCommitByReferenceRequest) ProtoReflect

func (*GetRepositoryCommitByReferenceRequest) Reset

func (*GetRepositoryCommitByReferenceRequest) String

type GetRepositoryCommitByReferenceResponse

type GetRepositoryCommitByReferenceResponse struct {
	RepositoryCommit *RepositoryCommit `protobuf:"bytes,1,opt,name=repository_commit,json=repositoryCommit,proto3" json:"repository_commit,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRepositoryCommitByReferenceResponse) Descriptor deprecated

func (*GetRepositoryCommitByReferenceResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetRepositoryCommitByReferenceResponse.ProtoReflect.Descriptor instead.

func (*GetRepositoryCommitByReferenceResponse) GetRepositoryCommit

func (x *GetRepositoryCommitByReferenceResponse) GetRepositoryCommit() *RepositoryCommit

func (*GetRepositoryCommitByReferenceResponse) ProtoMessage

func (*GetRepositoryCommitByReferenceResponse) ProtoReflect

func (*GetRepositoryCommitByReferenceResponse) Reset

func (*GetRepositoryCommitByReferenceResponse) String

type GetRepositoryCommitBySequenceIDRequest

type GetRepositoryCommitBySequenceIDRequest struct {

	// The owner of the repository which the repository branch belongs to.
	RepositoryOwner string `protobuf:"bytes,1,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"`
	// The name of the repository which the repository branch belongs to.
	RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"`
	// The name of the repository branch which the sequence ID is relative to.
	RepositoryBranchName string `protobuf:"bytes,3,opt,name=repository_branch_name,json=repositoryBranchName,proto3" json:"repository_branch_name,omitempty"`
	// The sequence ID to look up.
	CommitSequenceId int64 `protobuf:"varint,4,opt,name=commit_sequence_id,json=commitSequenceId,proto3" json:"commit_sequence_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRepositoryCommitBySequenceIDRequest) Descriptor deprecated

func (*GetRepositoryCommitBySequenceIDRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetRepositoryCommitBySequenceIDRequest.ProtoReflect.Descriptor instead.

func (*GetRepositoryCommitBySequenceIDRequest) GetCommitSequenceId

func (x *GetRepositoryCommitBySequenceIDRequest) GetCommitSequenceId() int64

func (*GetRepositoryCommitBySequenceIDRequest) GetRepositoryBranchName

func (x *GetRepositoryCommitBySequenceIDRequest) GetRepositoryBranchName() string

func (*GetRepositoryCommitBySequenceIDRequest) GetRepositoryName

func (x *GetRepositoryCommitBySequenceIDRequest) GetRepositoryName() string

func (*GetRepositoryCommitBySequenceIDRequest) GetRepositoryOwner

func (x *GetRepositoryCommitBySequenceIDRequest) GetRepositoryOwner() string

func (*GetRepositoryCommitBySequenceIDRequest) ProtoMessage

func (*GetRepositoryCommitBySequenceIDRequest) ProtoReflect

func (*GetRepositoryCommitBySequenceIDRequest) Reset

func (*GetRepositoryCommitBySequenceIDRequest) String

type GetRepositoryCommitBySequenceIDResponse

type GetRepositoryCommitBySequenceIDResponse struct {
	RepositoryCommit *RepositoryCommit `protobuf:"bytes,1,opt,name=repository_commit,json=repositoryCommit,proto3" json:"repository_commit,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRepositoryCommitBySequenceIDResponse) Descriptor deprecated

func (*GetRepositoryCommitBySequenceIDResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetRepositoryCommitBySequenceIDResponse.ProtoReflect.Descriptor instead.

func (*GetRepositoryCommitBySequenceIDResponse) GetRepositoryCommit

func (*GetRepositoryCommitBySequenceIDResponse) ProtoMessage

func (*GetRepositoryCommitBySequenceIDResponse) ProtoReflect

func (*GetRepositoryCommitBySequenceIDResponse) Reset

func (*GetRepositoryCommitBySequenceIDResponse) String

type GetRepositoryRequest

type GetRepositoryRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRepositoryRequest) Descriptor deprecated

func (*GetRepositoryRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetRepositoryRequest.ProtoReflect.Descriptor instead.

func (*GetRepositoryRequest) GetId

func (x *GetRepositoryRequest) GetId() string

func (*GetRepositoryRequest) ProtoMessage

func (*GetRepositoryRequest) ProtoMessage()

func (*GetRepositoryRequest) ProtoReflect

func (x *GetRepositoryRequest) ProtoReflect() protoreflect.Message

func (*GetRepositoryRequest) Reset

func (x *GetRepositoryRequest) Reset()

func (*GetRepositoryRequest) String

func (x *GetRepositoryRequest) String() string

type GetRepositoryResponse

type GetRepositoryResponse struct {
	Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRepositoryResponse) Descriptor deprecated

func (*GetRepositoryResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetRepositoryResponse.ProtoReflect.Descriptor instead.

func (*GetRepositoryResponse) GetRepository

func (x *GetRepositoryResponse) GetRepository() *Repository

func (*GetRepositoryResponse) ProtoMessage

func (*GetRepositoryResponse) ProtoMessage()

func (*GetRepositoryResponse) ProtoReflect

func (x *GetRepositoryResponse) ProtoReflect() protoreflect.Message

func (*GetRepositoryResponse) Reset

func (x *GetRepositoryResponse) Reset()

func (*GetRepositoryResponse) String

func (x *GetRepositoryResponse) String() string

type GetUserByUsernameRequest

type GetUserByUsernameRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserByUsernameRequest) Descriptor deprecated

func (*GetUserByUsernameRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetUserByUsernameRequest.ProtoReflect.Descriptor instead.

func (*GetUserByUsernameRequest) GetUsername

func (x *GetUserByUsernameRequest) GetUsername() string

func (*GetUserByUsernameRequest) ProtoMessage

func (*GetUserByUsernameRequest) ProtoMessage()

func (*GetUserByUsernameRequest) ProtoReflect

func (x *GetUserByUsernameRequest) ProtoReflect() protoreflect.Message

func (*GetUserByUsernameRequest) Reset

func (x *GetUserByUsernameRequest) Reset()

func (*GetUserByUsernameRequest) String

func (x *GetUserByUsernameRequest) String() string

type GetUserByUsernameResponse

type GetUserByUsernameResponse struct {
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserByUsernameResponse) Descriptor deprecated

func (*GetUserByUsernameResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetUserByUsernameResponse.ProtoReflect.Descriptor instead.

func (*GetUserByUsernameResponse) GetUser

func (x *GetUserByUsernameResponse) GetUser() *User

func (*GetUserByUsernameResponse) ProtoMessage

func (*GetUserByUsernameResponse) ProtoMessage()

func (*GetUserByUsernameResponse) ProtoReflect

func (*GetUserByUsernameResponse) Reset

func (x *GetUserByUsernameResponse) Reset()

func (*GetUserByUsernameResponse) String

func (x *GetUserByUsernameResponse) String() string

type GetUserRequest

type GetUserRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserRequest) Descriptor deprecated

func (*GetUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.

func (*GetUserRequest) GetId

func (x *GetUserRequest) GetId() string

func (*GetUserRequest) ProtoMessage

func (*GetUserRequest) ProtoMessage()

func (*GetUserRequest) ProtoReflect

func (x *GetUserRequest) ProtoReflect() protoreflect.Message

func (*GetUserRequest) Reset

func (x *GetUserRequest) Reset()

func (*GetUserRequest) String

func (x *GetUserRequest) String() string

type GetUserResponse

type GetUserResponse struct {
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserResponse) Descriptor deprecated

func (*GetUserResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.

func (*GetUserResponse) GetUser

func (x *GetUserResponse) GetUser() *User

func (*GetUserResponse) ProtoMessage

func (*GetUserResponse) ProtoMessage()

func (*GetUserResponse) ProtoReflect

func (x *GetUserResponse) ProtoReflect() protoreflect.Message

func (*GetUserResponse) Reset

func (x *GetUserResponse) Reset()

func (*GetUserResponse) String

func (x *GetUserResponse) String() string

type HTTPClient

type HTTPClient interface {
	Do(req *http.Request) (*http.Response, error)
}

HTTPClient is the interface used by generated clients to send HTTP requests. It is fulfilled by *(net/http).Client, which is sufficient for most users. Users can provide their own implementation for special retry policies.

HTTPClient implementations should not follow redirects. Redirects are automatically disabled if *(net/http).Client is passed to client constructors. See the withoutRedirects function in this file for more details.

type ListOrganizationRepositoriesRequest

type ListOrganizationRepositoriesRequest struct {

	// The ID of the organization whose repositories should be listed.
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	PageSize       uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The first page is returned if this is empty.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	Reverse   bool   `protobuf:"varint,4,opt,name=reverse,proto3" json:"reverse,omitempty"`
	// contains filtered or unexported fields
}

func (*ListOrganizationRepositoriesRequest) Descriptor deprecated

func (*ListOrganizationRepositoriesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListOrganizationRepositoriesRequest.ProtoReflect.Descriptor instead.

func (*ListOrganizationRepositoriesRequest) GetOrganizationId

func (x *ListOrganizationRepositoriesRequest) GetOrganizationId() string

func (*ListOrganizationRepositoriesRequest) GetPageSize

func (*ListOrganizationRepositoriesRequest) GetPageToken

func (x *ListOrganizationRepositoriesRequest) GetPageToken() string

func (*ListOrganizationRepositoriesRequest) GetReverse

func (x *ListOrganizationRepositoriesRequest) GetReverse() bool

func (*ListOrganizationRepositoriesRequest) ProtoMessage

func (*ListOrganizationRepositoriesRequest) ProtoMessage()

func (*ListOrganizationRepositoriesRequest) ProtoReflect

func (*ListOrganizationRepositoriesRequest) Reset

func (*ListOrganizationRepositoriesRequest) String

type ListOrganizationRepositoriesResponse

type ListOrganizationRepositoriesResponse struct {
	Repositories []*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"`
	// There are no more pages if this is empty.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListOrganizationRepositoriesResponse) Descriptor deprecated

func (*ListOrganizationRepositoriesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListOrganizationRepositoriesResponse.ProtoReflect.Descriptor instead.

func (*ListOrganizationRepositoriesResponse) GetNextPageToken

func (x *ListOrganizationRepositoriesResponse) GetNextPageToken() string

func (*ListOrganizationRepositoriesResponse) GetRepositories

func (x *ListOrganizationRepositoriesResponse) GetRepositories() []*Repository

func (*ListOrganizationRepositoriesResponse) ProtoMessage

func (*ListOrganizationRepositoriesResponse) ProtoMessage()

func (*ListOrganizationRepositoriesResponse) ProtoReflect

func (*ListOrganizationRepositoriesResponse) Reset

func (*ListOrganizationRepositoriesResponse) String

type ListOrganizationUsersRequest

type ListOrganizationUsersRequest struct {
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	PageSize       uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The first page is returned if this is empty.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	Reverse   bool   `protobuf:"varint,4,opt,name=reverse,proto3" json:"reverse,omitempty"`
	// contains filtered or unexported fields
}

func (*ListOrganizationUsersRequest) Descriptor deprecated

func (*ListOrganizationUsersRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListOrganizationUsersRequest.ProtoReflect.Descriptor instead.

func (*ListOrganizationUsersRequest) GetOrganizationId

func (x *ListOrganizationUsersRequest) GetOrganizationId() string

func (*ListOrganizationUsersRequest) GetPageSize

func (x *ListOrganizationUsersRequest) GetPageSize() uint32

func (*ListOrganizationUsersRequest) GetPageToken

func (x *ListOrganizationUsersRequest) GetPageToken() string

func (*ListOrganizationUsersRequest) GetReverse

func (x *ListOrganizationUsersRequest) GetReverse() bool

func (*ListOrganizationUsersRequest) ProtoMessage

func (*ListOrganizationUsersRequest) ProtoMessage()

func (*ListOrganizationUsersRequest) ProtoReflect

func (*ListOrganizationUsersRequest) Reset

func (x *ListOrganizationUsersRequest) Reset()

func (*ListOrganizationUsersRequest) String

type ListOrganizationUsersResponse

type ListOrganizationUsersResponse struct {
	Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// There are no more pages if this is empty.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListOrganizationUsersResponse) Descriptor deprecated

func (*ListOrganizationUsersResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListOrganizationUsersResponse.ProtoReflect.Descriptor instead.

func (*ListOrganizationUsersResponse) GetNextPageToken

func (x *ListOrganizationUsersResponse) GetNextPageToken() string

func (*ListOrganizationUsersResponse) GetUsers

func (x *ListOrganizationUsersResponse) GetUsers() []*User

func (*ListOrganizationUsersResponse) ProtoMessage

func (*ListOrganizationUsersResponse) ProtoMessage()

func (*ListOrganizationUsersResponse) ProtoReflect

func (*ListOrganizationUsersResponse) Reset

func (x *ListOrganizationUsersResponse) Reset()

func (*ListOrganizationUsersResponse) String

type ListOrganizationsRequest

type ListOrganizationsRequest struct {
	PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The first page is returned if this is empty.
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	Reverse   bool   `protobuf:"varint,3,opt,name=reverse,proto3" json:"reverse,omitempty"`
	// contains filtered or unexported fields
}

func (*ListOrganizationsRequest) Descriptor deprecated

func (*ListOrganizationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListOrganizationsRequest.ProtoReflect.Descriptor instead.

func (*ListOrganizationsRequest) GetPageSize

func (x *ListOrganizationsRequest) GetPageSize() uint32

func (*ListOrganizationsRequest) GetPageToken

func (x *ListOrganizationsRequest) GetPageToken() string

func (*ListOrganizationsRequest) GetReverse

func (x *ListOrganizationsRequest) GetReverse() bool

func (*ListOrganizationsRequest) ProtoMessage

func (*ListOrganizationsRequest) ProtoMessage()

func (*ListOrganizationsRequest) ProtoReflect

func (x *ListOrganizationsRequest) ProtoReflect() protoreflect.Message

func (*ListOrganizationsRequest) Reset

func (x *ListOrganizationsRequest) Reset()

func (*ListOrganizationsRequest) String

func (x *ListOrganizationsRequest) String() string

type ListOrganizationsResponse

type ListOrganizationsResponse struct {
	Organizations []*Organization `protobuf:"bytes,1,rep,name=organizations,proto3" json:"organizations,omitempty"`
	// There are no more pages if this is empty.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListOrganizationsResponse) Descriptor deprecated

func (*ListOrganizationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListOrganizationsResponse.ProtoReflect.Descriptor instead.

func (*ListOrganizationsResponse) GetNextPageToken

func (x *ListOrganizationsResponse) GetNextPageToken() string

func (*ListOrganizationsResponse) GetOrganizations

func (x *ListOrganizationsResponse) GetOrganizations() []*Organization

func (*ListOrganizationsResponse) ProtoMessage

func (*ListOrganizationsResponse) ProtoMessage()

func (*ListOrganizationsResponse) ProtoReflect

func (*ListOrganizationsResponse) Reset

func (x *ListOrganizationsResponse) Reset()

func (*ListOrganizationsResponse) String

func (x *ListOrganizationsResponse) String() string

type ListRepositoriesRequest

type ListRepositoriesRequest struct {
	PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The first page is returned if this is empty.
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	Reverse   bool   `protobuf:"varint,3,opt,name=reverse,proto3" json:"reverse,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRepositoriesRequest) Descriptor deprecated

func (*ListRepositoriesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListRepositoriesRequest.ProtoReflect.Descriptor instead.

func (*ListRepositoriesRequest) GetPageSize

func (x *ListRepositoriesRequest) GetPageSize() uint32

func (*ListRepositoriesRequest) GetPageToken

func (x *ListRepositoriesRequest) GetPageToken() string

func (*ListRepositoriesRequest) GetReverse

func (x *ListRepositoriesRequest) GetReverse() bool

func (*ListRepositoriesRequest) ProtoMessage

func (*ListRepositoriesRequest) ProtoMessage()

func (*ListRepositoriesRequest) ProtoReflect

func (x *ListRepositoriesRequest) ProtoReflect() protoreflect.Message

func (*ListRepositoriesRequest) Reset

func (x *ListRepositoriesRequest) Reset()

func (*ListRepositoriesRequest) String

func (x *ListRepositoriesRequest) String() string

type ListRepositoriesResponse

type ListRepositoriesResponse struct {
	Repositories []*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"`
	// There are no more pages if this is empty.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRepositoriesResponse) Descriptor deprecated

func (*ListRepositoriesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListRepositoriesResponse.ProtoReflect.Descriptor instead.

func (*ListRepositoriesResponse) GetNextPageToken

func (x *ListRepositoriesResponse) GetNextPageToken() string

func (*ListRepositoriesResponse) GetRepositories

func (x *ListRepositoriesResponse) GetRepositories() []*Repository

func (*ListRepositoriesResponse) ProtoMessage

func (*ListRepositoriesResponse) ProtoMessage()

func (*ListRepositoriesResponse) ProtoReflect

func (x *ListRepositoriesResponse) ProtoReflect() protoreflect.Message

func (*ListRepositoriesResponse) Reset

func (x *ListRepositoriesResponse) Reset()

func (*ListRepositoriesResponse) String

func (x *ListRepositoriesResponse) String() string

type ListRepositoryBranchesRequest

type ListRepositoryBranchesRequest struct {

	// The ID of the repository whose branches should be listed.
	RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"`
	PageSize     uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The first page is returned if this is empty.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	Reverse   bool   `protobuf:"varint,4,opt,name=reverse,proto3" json:"reverse,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRepositoryBranchesRequest) Descriptor deprecated

func (*ListRepositoryBranchesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListRepositoryBranchesRequest.ProtoReflect.Descriptor instead.

func (*ListRepositoryBranchesRequest) GetPageSize

func (x *ListRepositoryBranchesRequest) GetPageSize() uint32

func (*ListRepositoryBranchesRequest) GetPageToken

func (x *ListRepositoryBranchesRequest) GetPageToken() string

func (*ListRepositoryBranchesRequest) GetRepositoryId

func (x *ListRepositoryBranchesRequest) GetRepositoryId() string

func (*ListRepositoryBranchesRequest) GetReverse

func (x *ListRepositoryBranchesRequest) GetReverse() bool

func (*ListRepositoryBranchesRequest) ProtoMessage

func (*ListRepositoryBranchesRequest) ProtoMessage()

func (*ListRepositoryBranchesRequest) ProtoReflect

func (*ListRepositoryBranchesRequest) Reset

func (x *ListRepositoryBranchesRequest) Reset()

func (*ListRepositoryBranchesRequest) String

type ListRepositoryBranchesResponse

type ListRepositoryBranchesResponse struct {
	RepositoryBranches []*RepositoryBranch `protobuf:"bytes,1,rep,name=repository_branches,json=repositoryBranches,proto3" json:"repository_branches,omitempty"`
	// There are no more pages if this is empty.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRepositoryBranchesResponse) Descriptor deprecated

func (*ListRepositoryBranchesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListRepositoryBranchesResponse.ProtoReflect.Descriptor instead.

func (*ListRepositoryBranchesResponse) GetNextPageToken

func (x *ListRepositoryBranchesResponse) GetNextPageToken() string

func (*ListRepositoryBranchesResponse) GetRepositoryBranches

func (x *ListRepositoryBranchesResponse) GetRepositoryBranches() []*RepositoryBranch

func (*ListRepositoryBranchesResponse) ProtoMessage

func (*ListRepositoryBranchesResponse) ProtoMessage()

func (*ListRepositoryBranchesResponse) ProtoReflect

func (*ListRepositoryBranchesResponse) Reset

func (x *ListRepositoryBranchesResponse) Reset()

func (*ListRepositoryBranchesResponse) String

type ListRepositoryCommitsByBranchRequest

type ListRepositoryCommitsByBranchRequest struct {

	// The owner of the repository which the repository branch belongs to.
	RepositoryOwner string `protobuf:"bytes,1,opt,name=repository_owner,json=repositoryOwner,proto3" json:"repository_owner,omitempty"`
	// The name of the repository which the repository branch belongs to.
	RepositoryName string `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"`
	// The name of the repository branch whose commits should be listed.
	RepositoryBranchName string `protobuf:"bytes,3,opt,name=repository_branch_name,json=repositoryBranchName,proto3" json:"repository_branch_name,omitempty"`
	PageSize             uint32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The first page is returned if this is 0.
	PageToken int64 `protobuf:"varint,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	Reverse   bool  `protobuf:"varint,6,opt,name=reverse,proto3" json:"reverse,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRepositoryCommitsByBranchRequest) Descriptor deprecated

func (*ListRepositoryCommitsByBranchRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListRepositoryCommitsByBranchRequest.ProtoReflect.Descriptor instead.

func (*ListRepositoryCommitsByBranchRequest) GetPageSize

func (*ListRepositoryCommitsByBranchRequest) GetPageToken

func (x *ListRepositoryCommitsByBranchRequest) GetPageToken() int64

func (*ListRepositoryCommitsByBranchRequest) GetRepositoryBranchName

func (x *ListRepositoryCommitsByBranchRequest) GetRepositoryBranchName() string

func (*ListRepositoryCommitsByBranchRequest) GetRepositoryName

func (x *ListRepositoryCommitsByBranchRequest) GetRepositoryName() string

func (*ListRepositoryCommitsByBranchRequest) GetRepositoryOwner

func (x *ListRepositoryCommitsByBranchRequest) GetRepositoryOwner() string

func (*ListRepositoryCommitsByBranchRequest) GetReverse

func (*ListRepositoryCommitsByBranchRequest) ProtoMessage

func (*ListRepositoryCommitsByBranchRequest) ProtoMessage()

func (*ListRepositoryCommitsByBranchRequest) ProtoReflect

func (*ListRepositoryCommitsByBranchRequest) Reset

func (*ListRepositoryCommitsByBranchRequest) String

type ListRepositoryCommitsByBranchResponse

type ListRepositoryCommitsByBranchResponse struct {
	RepositoryCommits []*RepositoryCommit `protobuf:"bytes,1,rep,name=repository_commits,json=repositoryCommits,proto3" json:"repository_commits,omitempty"`
	// There are no more pages if this is 0.
	NextPageToken int64 `protobuf:"varint,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRepositoryCommitsByBranchResponse) Descriptor deprecated

func (*ListRepositoryCommitsByBranchResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListRepositoryCommitsByBranchResponse.ProtoReflect.Descriptor instead.

func (*ListRepositoryCommitsByBranchResponse) GetNextPageToken

func (x *ListRepositoryCommitsByBranchResponse) GetNextPageToken() int64

func (*ListRepositoryCommitsByBranchResponse) GetRepositoryCommits

func (x *ListRepositoryCommitsByBranchResponse) GetRepositoryCommits() []*RepositoryCommit

func (*ListRepositoryCommitsByBranchResponse) ProtoMessage

func (*ListRepositoryCommitsByBranchResponse) ProtoMessage()

func (*ListRepositoryCommitsByBranchResponse) ProtoReflect

func (*ListRepositoryCommitsByBranchResponse) Reset

func (*ListRepositoryCommitsByBranchResponse) String

type ListRepositoryTagsRequest

type ListRepositoryTagsRequest struct {

	// The ID of the repository whose tags should be listed.
	RepositoryId string `protobuf:"bytes,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"`
	PageSize     uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The first page is returned if this is empty.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	Reverse   bool   `protobuf:"varint,4,opt,name=reverse,proto3" json:"reverse,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRepositoryTagsRequest) Descriptor deprecated

func (*ListRepositoryTagsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListRepositoryTagsRequest.ProtoReflect.Descriptor instead.

func (*ListRepositoryTagsRequest) GetPageSize

func (x *ListRepositoryTagsRequest) GetPageSize() uint32

func (*ListRepositoryTagsRequest) GetPageToken

func (x *ListRepositoryTagsRequest) GetPageToken() string

func (*ListRepositoryTagsRequest) GetRepositoryId

func (x *ListRepositoryTagsRequest) GetRepositoryId() string

func (*ListRepositoryTagsRequest) GetReverse

func (x *ListRepositoryTagsRequest) GetReverse() bool

func (*ListRepositoryTagsRequest) ProtoMessage

func (*ListRepositoryTagsRequest) ProtoMessage()

func (*ListRepositoryTagsRequest) ProtoReflect

func (*ListRepositoryTagsRequest) Reset

func (x *ListRepositoryTagsRequest) Reset()

func (*ListRepositoryTagsRequest) String

func (x *ListRepositoryTagsRequest) String() string

type ListRepositoryTagsResponse

type ListRepositoryTagsResponse struct {
	RepositoryTags []*RepositoryTag `protobuf:"bytes,1,rep,name=repository_tags,json=repositoryTags,proto3" json:"repository_tags,omitempty"`
	// There are no more pages if this is empty.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRepositoryTagsResponse) Descriptor deprecated

func (*ListRepositoryTagsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListRepositoryTagsResponse.ProtoReflect.Descriptor instead.

func (*ListRepositoryTagsResponse) GetNextPageToken

func (x *ListRepositoryTagsResponse) GetNextPageToken() string

func (*ListRepositoryTagsResponse) GetRepositoryTags

func (x *ListRepositoryTagsResponse) GetRepositoryTags() []*RepositoryTag

func (*ListRepositoryTagsResponse) ProtoMessage

func (*ListRepositoryTagsResponse) ProtoMessage()

func (*ListRepositoryTagsResponse) ProtoReflect

func (*ListRepositoryTagsResponse) Reset

func (x *ListRepositoryTagsResponse) Reset()

func (*ListRepositoryTagsResponse) String

func (x *ListRepositoryTagsResponse) String() string

type ListUserOrganizationsRequest

type ListUserOrganizationsRequest struct {

	// The ID of the user whose organizations should be listed.
	UserId   string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The first page is returned if this is empty.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	Reverse   bool   `protobuf:"varint,4,opt,name=reverse,proto3" json:"reverse,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserOrganizationsRequest) Descriptor deprecated

func (*ListUserOrganizationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListUserOrganizationsRequest.ProtoReflect.Descriptor instead.

func (*ListUserOrganizationsRequest) GetPageSize

func (x *ListUserOrganizationsRequest) GetPageSize() uint32

func (*ListUserOrganizationsRequest) GetPageToken

func (x *ListUserOrganizationsRequest) GetPageToken() string

func (*ListUserOrganizationsRequest) GetReverse

func (x *ListUserOrganizationsRequest) GetReverse() bool

func (*ListUserOrganizationsRequest) GetUserId

func (x *ListUserOrganizationsRequest) GetUserId() string

func (*ListUserOrganizationsRequest) ProtoMessage

func (*ListUserOrganizationsRequest) ProtoMessage()

func (*ListUserOrganizationsRequest) ProtoReflect

func (*ListUserOrganizationsRequest) Reset

func (x *ListUserOrganizationsRequest) Reset()

func (*ListUserOrganizationsRequest) String

type ListUserOrganizationsResponse

type ListUserOrganizationsResponse struct {
	Organizations []*Organization `protobuf:"bytes,1,rep,name=organizations,proto3" json:"organizations,omitempty"`
	// There are no more pages if this is empty.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserOrganizationsResponse) Descriptor deprecated

func (*ListUserOrganizationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListUserOrganizationsResponse.ProtoReflect.Descriptor instead.

func (*ListUserOrganizationsResponse) GetNextPageToken

func (x *ListUserOrganizationsResponse) GetNextPageToken() string

func (*ListUserOrganizationsResponse) GetOrganizations

func (x *ListUserOrganizationsResponse) GetOrganizations() []*Organization

func (*ListUserOrganizationsResponse) ProtoMessage

func (*ListUserOrganizationsResponse) ProtoMessage()

func (*ListUserOrganizationsResponse) ProtoReflect

func (*ListUserOrganizationsResponse) Reset

func (x *ListUserOrganizationsResponse) Reset()

func (*ListUserOrganizationsResponse) String

type ListUserRepositoriesRequest

type ListUserRepositoriesRequest struct {

	// The ID of the user whose repositories should be listed.
	UserId   string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	PageSize uint32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The first page is returned if this is empty.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	Reverse   bool   `protobuf:"varint,4,opt,name=reverse,proto3" json:"reverse,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserRepositoriesRequest) Descriptor deprecated

func (*ListUserRepositoriesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListUserRepositoriesRequest.ProtoReflect.Descriptor instead.

func (*ListUserRepositoriesRequest) GetPageSize

func (x *ListUserRepositoriesRequest) GetPageSize() uint32

func (*ListUserRepositoriesRequest) GetPageToken

func (x *ListUserRepositoriesRequest) GetPageToken() string

func (*ListUserRepositoriesRequest) GetReverse

func (x *ListUserRepositoriesRequest) GetReverse() bool

func (*ListUserRepositoriesRequest) GetUserId

func (x *ListUserRepositoriesRequest) GetUserId() string

func (*ListUserRepositoriesRequest) ProtoMessage

func (*ListUserRepositoriesRequest) ProtoMessage()

func (*ListUserRepositoriesRequest) ProtoReflect

func (*ListUserRepositoriesRequest) Reset

func (x *ListUserRepositoriesRequest) Reset()

func (*ListUserRepositoriesRequest) String

func (x *ListUserRepositoriesRequest) String() string

type ListUserRepositoriesResponse

type ListUserRepositoriesResponse struct {
	Repositories []*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"`
	// There are no more pages if this is empty.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserRepositoriesResponse) Descriptor deprecated

func (*ListUserRepositoriesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListUserRepositoriesResponse.ProtoReflect.Descriptor instead.

func (*ListUserRepositoriesResponse) GetNextPageToken

func (x *ListUserRepositoriesResponse) GetNextPageToken() string

func (*ListUserRepositoriesResponse) GetRepositories

func (x *ListUserRepositoriesResponse) GetRepositories() []*Repository

func (*ListUserRepositoriesResponse) ProtoMessage

func (*ListUserRepositoriesResponse) ProtoMessage()

func (*ListUserRepositoriesResponse) ProtoReflect

func (*ListUserRepositoriesResponse) Reset

func (x *ListUserRepositoriesResponse) Reset()

func (*ListUserRepositoriesResponse) String

type ListUsersRequest

type ListUsersRequest struct {
	PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The first page is returned if this is empty.
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	Reverse   bool   `protobuf:"varint,3,opt,name=reverse,proto3" json:"reverse,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUsersRequest) Descriptor deprecated

func (*ListUsersRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListUsersRequest.ProtoReflect.Descriptor instead.

func (*ListUsersRequest) GetPageSize

func (x *ListUsersRequest) GetPageSize() uint32

func (*ListUsersRequest) GetPageToken

func (x *ListUsersRequest) GetPageToken() string

func (*ListUsersRequest) GetReverse

func (x *ListUsersRequest) GetReverse() bool

func (*ListUsersRequest) ProtoMessage

func (*ListUsersRequest) ProtoMessage()

func (*ListUsersRequest) ProtoReflect

func (x *ListUsersRequest) ProtoReflect() protoreflect.Message

func (*ListUsersRequest) Reset

func (x *ListUsersRequest) Reset()

func (*ListUsersRequest) String

func (x *ListUsersRequest) String() string

type ListUsersResponse

type ListUsersResponse struct {
	Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// There are no more pages if this is empty.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUsersResponse) Descriptor deprecated

func (*ListUsersResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.

func (*ListUsersResponse) GetNextPageToken

func (x *ListUsersResponse) GetNextPageToken() string

func (*ListUsersResponse) GetUsers

func (x *ListUsersResponse) GetUsers() []*User

func (*ListUsersResponse) ProtoMessage

func (*ListUsersResponse) ProtoMessage()

func (*ListUsersResponse) ProtoReflect

func (x *ListUsersResponse) ProtoReflect() protoreflect.Message

func (*ListUsersResponse) Reset

func (x *ListUsersResponse) Reset()

func (*ListUsersResponse) String

func (x *ListUsersResponse) String() string

type LocalModulePin

type LocalModulePin struct {
	Owner      string                 `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	Repository string                 `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"`
	Branch     string                 `protobuf:"bytes,3,opt,name=branch,proto3" json:"branch,omitempty"`
	Commit     string                 `protobuf:"bytes,4,opt,name=commit,proto3" json:"commit,omitempty"`
	Digest     string                 `protobuf:"bytes,5,opt,name=digest,proto3" json:"digest,omitempty"`
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// contains filtered or unexported fields
}

LocalModulePin is a local module pin.

It does not include a remote.

func (*LocalModulePin) Descriptor deprecated

func (*LocalModulePin) Descriptor() ([]byte, []int)

Deprecated: Use LocalModulePin.ProtoReflect.Descriptor instead.

func (*LocalModulePin) GetBranch

func (x *LocalModulePin) GetBranch() string

func (*LocalModulePin) GetCommit

func (x *LocalModulePin) GetCommit() string

func (*LocalModulePin) GetCreateTime

func (x *LocalModulePin) GetCreateTime() *timestamppb.Timestamp

func (*LocalModulePin) GetDigest

func (x *LocalModulePin) GetDigest() string

func (*LocalModulePin) GetOwner

func (x *LocalModulePin) GetOwner() string

func (*LocalModulePin) GetRepository

func (x *LocalModulePin) GetRepository() string

func (*LocalModulePin) ProtoMessage

func (*LocalModulePin) ProtoMessage()

func (*LocalModulePin) ProtoReflect

func (x *LocalModulePin) ProtoReflect() protoreflect.Message

func (*LocalModulePin) Reset

func (x *LocalModulePin) Reset()

func (*LocalModulePin) String

func (x *LocalModulePin) String() string

type LocalModuleReference

type LocalModuleReference struct {
	Owner      string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	Repository string `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"`
	// either branch or commit
	Reference string `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"`
	// contains filtered or unexported fields
}

LocalModuleReference is a local module reference.

It does not include a remote.

func (*LocalModuleReference) Descriptor deprecated

func (*LocalModuleReference) Descriptor() ([]byte, []int)

Deprecated: Use LocalModuleReference.ProtoReflect.Descriptor instead.

func (*LocalModuleReference) GetOwner

func (x *LocalModuleReference) GetOwner() string

func (*LocalModuleReference) GetReference

func (x *LocalModuleReference) GetReference() string

func (*LocalModuleReference) GetRepository

func (x *LocalModuleReference) GetRepository() string

func (*LocalModuleReference) ProtoMessage

func (*LocalModuleReference) ProtoMessage()

func (*LocalModuleReference) ProtoReflect

func (x *LocalModuleReference) ProtoReflect() protoreflect.Message

func (*LocalModuleReference) Reset

func (x *LocalModuleReference) Reset()

func (*LocalModuleReference) String

func (x *LocalModuleReference) String() string

type Organization

type Organization struct {

	// primary key, unique, immutable
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// immutable
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// mutable
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// unique, mutable
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*Organization) Descriptor deprecated

func (*Organization) Descriptor() ([]byte, []int)

Deprecated: Use Organization.ProtoReflect.Descriptor instead.

func (*Organization) GetCreateTime

func (x *Organization) GetCreateTime() *timestamppb.Timestamp

func (*Organization) GetId

func (x *Organization) GetId() string

func (*Organization) GetName

func (x *Organization) GetName() string

func (*Organization) GetUpdateTime

func (x *Organization) GetUpdateTime() *timestamppb.Timestamp

func (*Organization) ProtoMessage

func (*Organization) ProtoMessage()

func (*Organization) ProtoReflect

func (x *Organization) ProtoReflect() protoreflect.Message

func (*Organization) Reset

func (x *Organization) Reset()

func (*Organization) String

func (x *Organization) String() string

type OrganizationScope

type OrganizationScope int32
const (
	OrganizationScope_ORGANIZATION_SCOPE_UNSPECIFIED OrganizationScope = 0
	OrganizationScope_ORGANIZATION_SCOPE_MEMBER      OrganizationScope = 1
	OrganizationScope_ORGANIZATION_SCOPE_ADMIN       OrganizationScope = 2
	OrganizationScope_ORGANIZATION_SCOPE_OWNER       OrganizationScope = 3
)

func (OrganizationScope) Descriptor

func (OrganizationScope) Enum

func (OrganizationScope) EnumDescriptor deprecated

func (OrganizationScope) EnumDescriptor() ([]byte, []int)

Deprecated: Use OrganizationScope.Descriptor instead.

func (OrganizationScope) Number

func (OrganizationScope) String

func (x OrganizationScope) String() string

func (OrganizationScope) Type

type OrganizationService

type OrganizationService interface {
	// GetOrganization gets a organization by ID.
	GetOrganization(context.Context, *GetOrganizationRequest) (*GetOrganizationResponse, error)

	// GetOrganizationByName gets a organization by name.
	GetOrganizationByName(context.Context, *GetOrganizationByNameRequest) (*GetOrganizationByNameResponse, error)

	// ListOrganizations lists all organizations.
	ListOrganizations(context.Context, *ListOrganizationsRequest) (*ListOrganizationsResponse, error)

	// ListUserOrganizations lists all organizations a user is member of.
	ListUserOrganizations(context.Context, *ListUserOrganizationsRequest) (*ListUserOrganizationsResponse, error)

	// CreateOrganization creates a new organization.
	CreateOrganization(context.Context, *CreateOrganizationRequest) (*CreateOrganizationResponse, error)

	// UpdateOrganizationName updates a organization's name.
	UpdateOrganizationName(context.Context, *UpdateOrganizationNameRequest) (*UpdateOrganizationNameResponse, error)

	// UpdateOrganizationNameByName updates a organization's name by name.
	UpdateOrganizationNameByName(context.Context, *UpdateOrganizationNameByNameRequest) (*UpdateOrganizationNameByNameResponse, error)

	// DeleteOrganization deletes a organization.
	DeleteOrganization(context.Context, *DeleteOrganizationRequest) (*DeleteOrganizationResponse, error)

	// DeleteOrganizationByName deletes a organization by name.
	DeleteOrganizationByName(context.Context, *DeleteOrganizationByNameRequest) (*DeleteOrganizationByNameResponse, error)

	// AddOrganizationBaseRepositoryScope adds a base repository scope to an organization by ID.
	AddOrganizationBaseRepositoryScope(context.Context, *AddOrganizationBaseRepositoryScopeRequest) (*AddOrganizationBaseRepositoryScopeResponse, error)

	// AddOrganizationBaseRepositoryScopeByName adds a base repository scope to an organization by name.
	AddOrganizationBaseRepositoryScopeByName(context.Context, *AddOrganizationBaseRepositoryScopeByNameRequest) (*AddOrganizationBaseRepositoryScopeByNameResponse, error)

	// RemoveOrganizationBaseRepositoryScope removes a base repository scope from an organization by ID.
	RemoveOrganizationBaseRepositoryScope(context.Context, *RemoveOrganizationBaseRepositoryScopeRequest) (*RemoveOrganizationBaseRepositoryScopeResponse, error)

	// RemoveOrganizationBaseRepositoryScopeByName removes a base repository scope from an organization by name.
	RemoveOrganizationBaseRepositoryScopeByName(context.Context, *RemoveOrganizationBaseRepositoryScopeByNameRequest) (*RemoveOrganizationBaseRepositoryScopeByNameResponse, error)
}

OrganizationService is the Organization service.

func NewOrganizationServiceJSONClient

func NewOrganizationServiceJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) OrganizationService

NewOrganizationServiceJSONClient creates a JSON client that implements the OrganizationService interface. It communicates using JSON and can be configured with a custom HTTPClient.

func NewOrganizationServiceProtobufClient

func NewOrganizationServiceProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) OrganizationService

NewOrganizationServiceProtobufClient creates a Protobuf client that implements the OrganizationService interface. It communicates using Protobuf and can be configured with a custom HTTPClient.

type OrganizationServiceClient

type OrganizationServiceClient interface {
	// GetOrganization gets a organization by ID.
	GetOrganization(ctx context.Context, in *GetOrganizationRequest, opts ...grpc.CallOption) (*GetOrganizationResponse, error)
	// GetOrganizationByName gets a organization by name.
	GetOrganizationByName(ctx context.Context, in *GetOrganizationByNameRequest, opts ...grpc.CallOption) (*GetOrganizationByNameResponse, error)
	// ListOrganizations lists all organizations.
	ListOrganizations(ctx context.Context, in *ListOrganizationsRequest, opts ...grpc.CallOption) (*ListOrganizationsResponse, error)
	// ListUserOrganizations lists all organizations a user is member of.
	ListUserOrganizations(ctx context.Context, in *ListUserOrganizationsRequest, opts ...grpc.CallOption) (*ListUserOrganizationsResponse, error)
	// CreateOrganization creates a new organization.
	CreateOrganization(ctx context.Context, in *CreateOrganizationRequest, opts ...grpc.CallOption) (*CreateOrganizationResponse, error)
	// UpdateOrganizationName updates a organization's name.
	UpdateOrganizationName(ctx context.Context, in *UpdateOrganizationNameRequest, opts ...grpc.CallOption) (*UpdateOrganizationNameResponse, error)
	// UpdateOrganizationNameByName updates a organization's name by name.
	UpdateOrganizationNameByName(ctx context.Context, in *UpdateOrganizationNameByNameRequest, opts ...grpc.CallOption) (*UpdateOrganizationNameByNameResponse, error)
	// DeleteOrganization deletes a organization.
	DeleteOrganization(ctx context.Context, in *DeleteOrganizationRequest, opts ...grpc.CallOption) (*DeleteOrganizationResponse, error)
	// DeleteOrganizationByName deletes a organization by name.
	DeleteOrganizationByName(ctx context.Context, in *DeleteOrganizationByNameRequest, opts ...grpc.CallOption) (*DeleteOrganizationByNameResponse, error)
	// AddOrganizationBaseRepositoryScope adds a base repository scope to an organization by ID.
	AddOrganizationBaseRepositoryScope(ctx context.Context, in *AddOrganizationBaseRepositoryScopeRequest, opts ...grpc.CallOption) (*AddOrganizationBaseRepositoryScopeResponse, error)
	// AddOrganizationBaseRepositoryScopeByName adds a base repository scope to an organization by name.
	AddOrganizationBaseRepositoryScopeByName(ctx context.Context, in *AddOrganizationBaseRepositoryScopeByNameRequest, opts ...grpc.CallOption) (*AddOrganizationBaseRepositoryScopeByNameResponse, error)
	// RemoveOrganizationBaseRepositoryScope removes a base repository scope from an organization by ID.
	RemoveOrganizationBaseRepositoryScope(ctx context.Context, in *RemoveOrganizationBaseRepositoryScopeRequest, opts ...grpc.CallOption) (*RemoveOrganizationBaseRepositoryScopeResponse, error)
	// RemoveOrganizationBaseRepositoryScopeByName removes a base repository scope from an organization by name.
	RemoveOrganizationBaseRepositoryScopeByName(ctx context.Context, in *RemoveOrganizationBaseRepositoryScopeByNameRequest, opts ...grpc.CallOption) (*RemoveOrganizationBaseRepositoryScopeByNameResponse, error)
}

OrganizationServiceClient is the client API for OrganizationService 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.

type OrganizationServiceServer

type OrganizationServiceServer interface {
	// GetOrganization gets a organization by ID.
	GetOrganization(context.Context, *GetOrganizationRequest) (*GetOrganizationResponse, error)
	// GetOrganizationByName gets a organization by name.
	GetOrganizationByName(context.Context, *GetOrganizationByNameRequest) (*GetOrganizationByNameResponse, error)
	// ListOrganizations lists all organizations.
	ListOrganizations(context.Context, *ListOrganizationsRequest) (*ListOrganizationsResponse, error)
	// ListUserOrganizations lists all organizations a user is member of.
	ListUserOrganizations(context.Context, *ListUserOrganizationsRequest) (*ListUserOrganizationsResponse, error)
	// CreateOrganization creates a new organization.
	CreateOrganization(context.Context, *CreateOrganizationRequest) (*CreateOrganizationResponse, error)
	// UpdateOrganizationName updates a organization's name.
	UpdateOrganizationName(context.Context, *UpdateOrganizationNameRequest) (*UpdateOrganizationNameResponse, error)
	// UpdateOrganizationNameByName updates a organization's name by name.
	UpdateOrganizationNameByName(context.Context, *UpdateOrganizationNameByNameRequest) (*UpdateOrganizationNameByNameResponse, error)
	// DeleteOrganization deletes a organization.
	DeleteOrganization(context.Context, *DeleteOrganizationRequest) (*DeleteOrganizationResponse, error)
	// DeleteOrganizationByName deletes a organization by name.
	DeleteOrganizationByName(context.Context, *DeleteOrganizationByNameRequest) (*DeleteOrganizationByNameResponse, error)
	// AddOrganizationBaseRepositoryScope adds a base repository scope to an organization by ID.
	AddOrganizationBaseRepositoryScope(context.Context, *AddOrganizationBaseRepositoryScopeRequest) (*AddOrganizationBaseRepositoryScopeResponse, error)
	// AddOrganizationBaseRepositoryScopeByName adds a base repository scope to an organization by name.
	AddOrganizationBaseRepositoryScopeByName(context.Context, *AddOrganizationBaseRepositoryScopeByNameRequest) (*AddOrganizationBaseRepositoryScopeByNameResponse, error)
	// RemoveOrganizationBaseRepositoryScope removes a base repository scope from an organization by ID.
	RemoveOrganizationBaseRepositoryScope(context.Context, *RemoveOrganizationBaseRepositoryScopeRequest) (*RemoveOrganizationBaseRepositoryScopeResponse, error)
	// RemoveOrganizationBaseRepositoryScopeByName removes a base repository scope from an organization by name.
	RemoveOrganizationBaseRepositoryScopeByName(context.Context, *RemoveOrganizationBaseRepositoryScopeByNameRequest) (*RemoveOrganizationBaseRepositoryScopeByNameResponse, error)
}

OrganizationServiceServer is the server API for OrganizationService service. All implementations should embed UnimplementedOrganizationServiceServer for forward compatibility

type PushRequest

type PushRequest struct {
	Owner      string           `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	Repository string           `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"`
	Branch     string           `protobuf:"bytes,3,opt,name=branch,proto3" json:"branch,omitempty"`
	Module     *v1alpha1.Module `protobuf:"bytes,4,opt,name=module,proto3" json:"module,omitempty"`
	// Optional; if provided, the provided tags
	// are created for the pushed commit.
	Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

func (*PushRequest) Descriptor deprecated

func (*PushRequest) Descriptor() ([]byte, []int)

Deprecated: Use PushRequest.ProtoReflect.Descriptor instead.

func (*PushRequest) GetBranch

func (x *PushRequest) GetBranch() string

func (*PushRequest) GetModule

func (x *PushRequest) GetModule() *v1alpha1.Module

func (*PushRequest) GetOwner

func (x *PushRequest) GetOwner() string

func (*PushRequest) GetRepository

func (x *PushRequest) GetRepository() string

func (*PushRequest) GetTags

func (x *PushRequest) GetTags() []string

func (*PushRequest) ProtoMessage

func (*PushRequest) ProtoMessage()

func (*PushRequest) ProtoReflect

func (x *PushRequest) ProtoReflect() protoreflect.Message

func (*PushRequest) Reset

func (x *PushRequest) Reset()

func (*PushRequest) String

func (x *PushRequest) String() string

type PushResponse

type PushResponse struct {
	LocalModulePin *LocalModulePin `protobuf:"bytes,5,opt,name=local_module_pin,json=localModulePin,proto3" json:"local_module_pin,omitempty"`
	// contains filtered or unexported fields
}

func (*PushResponse) Descriptor deprecated

func (*PushResponse) Descriptor() ([]byte, []int)

Deprecated: Use PushResponse.ProtoReflect.Descriptor instead.

func (*PushResponse) GetLocalModulePin

func (x *PushResponse) GetLocalModulePin() *LocalModulePin

func (*PushResponse) ProtoMessage

func (*PushResponse) ProtoMessage()

func (*PushResponse) ProtoReflect

func (x *PushResponse) ProtoReflect() protoreflect.Message

func (*PushResponse) Reset

func (x *PushResponse) Reset()

func (*PushResponse) String

func (x *PushResponse) String() string

type PushService

type PushService interface {
	// Push pushes.
	Push(context.Context, *PushRequest) (*PushResponse, error)
}

PushService is the Push service.

func NewPushServiceJSONClient

func NewPushServiceJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) PushService

NewPushServiceJSONClient creates a JSON client that implements the PushService interface. It communicates using JSON and can be configured with a custom HTTPClient.

func NewPushServiceProtobufClient

func NewPushServiceProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) PushService

NewPushServiceProtobufClient creates a Protobuf client that implements the PushService interface. It communicates using Protobuf and can be configured with a custom HTTPClient.

type PushServiceClient

type PushServiceClient interface {
	// Push pushes.
	Push(ctx context.Context, in *PushRequest, opts ...grpc.CallOption) (*PushResponse, error)
}

PushServiceClient is the client API for PushService 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.

type PushServiceServer

type PushServiceServer interface {
	// Push pushes.
	Push(context.Context, *PushRequest) (*PushResponse, error)
}

PushServiceServer is the server API for PushService service. All implementations should embed UnimplementedPushServiceServer for forward compatibility

type RemoveOrganizationBaseRepositoryScopeByNameRequest

type RemoveOrganizationBaseRepositoryScopeByNameRequest struct {
	Name            string          `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	RepositoryScope RepositoryScope `` /* 156-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RemoveOrganizationBaseRepositoryScopeByNameRequest) Descriptor deprecated

Deprecated: Use RemoveOrganizationBaseRepositoryScopeByNameRequest.ProtoReflect.Descriptor instead.

func (*RemoveOrganizationBaseRepositoryScopeByNameRequest) GetName

func (*RemoveOrganizationBaseRepositoryScopeByNameRequest) GetRepositoryScope

func (*RemoveOrganizationBaseRepositoryScopeByNameRequest) ProtoMessage

func (*RemoveOrganizationBaseRepositoryScopeByNameRequest) ProtoReflect

func (*RemoveOrganizationBaseRepositoryScopeByNameRequest) Reset

func (*RemoveOrganizationBaseRepositoryScopeByNameRequest) String

type RemoveOrganizationBaseRepositoryScopeByNameResponse

type RemoveOrganizationBaseRepositoryScopeByNameResponse struct {
	// contains filtered or unexported fields
}

func (*RemoveOrganizationBaseRepositoryScopeByNameResponse) Descriptor deprecated

Deprecated: Use RemoveOrganizationBaseRepositoryScopeByNameResponse.ProtoReflect.Descriptor instead.

func (*RemoveOrganizationBaseRepositoryScopeByNameResponse) ProtoMessage

func (*RemoveOrganizationBaseRepositoryScopeByNameResponse) ProtoReflect

func (*RemoveOrganizationBaseRepositoryScopeByNameResponse) Reset

func (*RemoveOrganizationBaseRepositoryScopeByNameResponse) String

type RemoveOrganizationBaseRepositoryScopeRequest

type RemoveOrganizationBaseRepositoryScopeRequest struct {
	Id              string          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	RepositoryScope RepositoryScope `` /* 156-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RemoveOrganizationBaseRepositoryScopeRequest) Descriptor deprecated

Deprecated: Use RemoveOrganizationBaseRepositoryScopeRequest.ProtoReflect.Descriptor instead.

func (*RemoveOrganizationBaseRepositoryScopeRequest) GetId

func (*RemoveOrganizationBaseRepositoryScopeRequest) GetRepositoryScope

func (*RemoveOrganizationBaseRepositoryScopeRequest) ProtoMessage

func (*RemoveOrganizationBaseRepositoryScopeRequest) ProtoReflect

func (*RemoveOrganizationBaseRepositoryScopeRequest) Reset

func (*RemoveOrganizationBaseRepositoryScopeRequest) String

type RemoveOrganizationBaseRepositoryScopeResponse

type RemoveOrganizationBaseRepositoryScopeResponse struct {
	// contains filtered or unexported fields
}

func (*RemoveOrganizationBaseRepositoryScopeResponse) Descriptor deprecated

Deprecated: Use RemoveOrganizationBaseRepositoryScopeResponse.ProtoReflect.Descriptor instead.

func (*RemoveOrganizationBaseRepositoryScopeResponse) ProtoMessage

func (*RemoveOrganizationBaseRepositoryScopeResponse) ProtoReflect

func (*RemoveOrganizationBaseRepositoryScopeResponse) Reset

func (*RemoveOrganizationBaseRepositoryScopeResponse) String

type RemoveUserOrganizationScopeByNameRequest

type RemoveUserOrganizationScopeByNameRequest struct {
	Name              string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	OrganizationName  string            `protobuf:"bytes,2,opt,name=organization_name,json=organizationName,proto3" json:"organization_name,omitempty"`
	OrganizationScope OrganizationScope `` /* 164-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RemoveUserOrganizationScopeByNameRequest) Descriptor deprecated

func (*RemoveUserOrganizationScopeByNameRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemoveUserOrganizationScopeByNameRequest.ProtoReflect.Descriptor instead.

func (*RemoveUserOrganizationScopeByNameRequest) GetName

func (*RemoveUserOrganizationScopeByNameRequest) GetOrganizationName

func (x *RemoveUserOrganizationScopeByNameRequest) GetOrganizationName() string

func (*RemoveUserOrganizationScopeByNameRequest) GetOrganizationScope

func (*RemoveUserOrganizationScopeByNameRequest) ProtoMessage

func (*RemoveUserOrganizationScopeByNameRequest) ProtoReflect

func (*RemoveUserOrganizationScopeByNameRequest) Reset

func (*RemoveUserOrganizationScopeByNameRequest) String

type RemoveUserOrganizationScopeByNameResponse

type RemoveUserOrganizationScopeByNameResponse struct {
	// contains filtered or unexported fields
}

func (*RemoveUserOrganizationScopeByNameResponse) Descriptor deprecated

func (*RemoveUserOrganizationScopeByNameResponse) Descriptor() ([]byte, []int)

Deprecated: Use RemoveUserOrganizationScopeByNameResponse.ProtoReflect.Descriptor instead.

func (*RemoveUserOrganizationScopeByNameResponse) ProtoMessage

func (*RemoveUserOrganizationScopeByNameResponse) ProtoReflect

func (*RemoveUserOrganizationScopeByNameResponse) Reset

func (*RemoveUserOrganizationScopeByNameResponse) String

type RemoveUserOrganizationScopeRequest

type RemoveUserOrganizationScopeRequest struct {
	Id                string            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	OrganizationId    string            `protobuf:"bytes,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	OrganizationScope OrganizationScope `` /* 164-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RemoveUserOrganizationScopeRequest) Descriptor deprecated

func (*RemoveUserOrganizationScopeRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemoveUserOrganizationScopeRequest.ProtoReflect.Descriptor instead.

func (*RemoveUserOrganizationScopeRequest) GetId

func (*RemoveUserOrganizationScopeRequest) GetOrganizationId

func (x *RemoveUserOrganizationScopeRequest) GetOrganizationId() string

func (*RemoveUserOrganizationScopeRequest) GetOrganizationScope

func (x *RemoveUserOrganizationScopeRequest) GetOrganizationScope() OrganizationScope

func (*RemoveUserOrganizationScopeRequest) ProtoMessage

func (*RemoveUserOrganizationScopeRequest) ProtoMessage()

func (*RemoveUserOrganizationScopeRequest) ProtoReflect

func (*RemoveUserOrganizationScopeRequest) Reset

func (*RemoveUserOrganizationScopeRequest) String

type RemoveUserOrganizationScopeResponse

type RemoveUserOrganizationScopeResponse struct {
	// contains filtered or unexported fields
}

func (*RemoveUserOrganizationScopeResponse) Descriptor deprecated

func (*RemoveUserOrganizationScopeResponse) Descriptor() ([]byte, []int)

Deprecated: Use RemoveUserOrganizationScopeResponse.ProtoReflect.Descriptor instead.

func (*RemoveUserOrganizationScopeResponse) ProtoMessage

func (*RemoveUserOrganizationScopeResponse) ProtoMessage()

func (*RemoveUserOrganizationScopeResponse) ProtoReflect

func (*RemoveUserOrganizationScopeResponse) Reset

func (*RemoveUserOrganizationScopeResponse) String

type RemoveUserServerScopeByNameRequest

type RemoveUserServerScopeByNameRequest struct {
	Name        string      `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ServerScope ServerScope `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RemoveUserServerScopeByNameRequest) Descriptor deprecated

func (*RemoveUserServerScopeByNameRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemoveUserServerScopeByNameRequest.ProtoReflect.Descriptor instead.

func (*RemoveUserServerScopeByNameRequest) GetName

func (*RemoveUserServerScopeByNameRequest) GetServerScope

func (x *RemoveUserServerScopeByNameRequest) GetServerScope() ServerScope

func (*RemoveUserServerScopeByNameRequest) ProtoMessage

func (*RemoveUserServerScopeByNameRequest) ProtoMessage()

func (*RemoveUserServerScopeByNameRequest) ProtoReflect

func (*RemoveUserServerScopeByNameRequest) Reset

func (*RemoveUserServerScopeByNameRequest) String

type RemoveUserServerScopeByNameResponse

type RemoveUserServerScopeByNameResponse struct {
	// contains filtered or unexported fields
}

func (*RemoveUserServerScopeByNameResponse) Descriptor deprecated

func (*RemoveUserServerScopeByNameResponse) Descriptor() ([]byte, []int)

Deprecated: Use RemoveUserServerScopeByNameResponse.ProtoReflect.Descriptor instead.

func (*RemoveUserServerScopeByNameResponse) ProtoMessage

func (*RemoveUserServerScopeByNameResponse) ProtoMessage()

func (*RemoveUserServerScopeByNameResponse) ProtoReflect

func (*RemoveUserServerScopeByNameResponse) Reset

func (*RemoveUserServerScopeByNameResponse) String

type RemoveUserServerScopeRequest

type RemoveUserServerScopeRequest struct {
	Id          string      `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ServerScope ServerScope `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RemoveUserServerScopeRequest) Descriptor deprecated

func (*RemoveUserServerScopeRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemoveUserServerScopeRequest.ProtoReflect.Descriptor instead.

func (*RemoveUserServerScopeRequest) GetId

func (*RemoveUserServerScopeRequest) GetServerScope

func (x *RemoveUserServerScopeRequest) GetServerScope() ServerScope

func (*RemoveUserServerScopeRequest) ProtoMessage

func (*RemoveUserServerScopeRequest) ProtoMessage()

func (*RemoveUserServerScopeRequest) ProtoReflect

func (*RemoveUserServerScopeRequest) Reset

func (x *RemoveUserServerScopeRequest) Reset()

func (*RemoveUserServerScopeRequest) String

type RemoveUserServerScopeResponse

type RemoveUserServerScopeResponse struct {
	// contains filtered or unexported fields
}

func (*RemoveUserServerScopeResponse) Descriptor deprecated

func (*RemoveUserServerScopeResponse) Descriptor() ([]byte, []int)

Deprecated: Use RemoveUserServerScopeResponse.ProtoReflect.Descriptor instead.

func (*RemoveUserServerScopeResponse) ProtoMessage

func (*RemoveUserServerScopeResponse) ProtoMessage()

func (*RemoveUserServerScopeResponse) ProtoReflect

func (*RemoveUserServerScopeResponse) Reset

func (x *RemoveUserServerScopeResponse) Reset()

func (*RemoveUserServerScopeResponse) String

type Repository

type Repository struct {

	// primary key, unique, immutable
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// immutable
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// mutable
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// unique, mutable
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Types that are assignable to Owner:
	//	*Repository_UserId
	//	*Repository_OrganizationId
	Owner      isRepository_Owner `protobuf_oneof:"owner"`
	Visibility Visibility         `protobuf:"varint,7,opt,name=visibility,proto3,enum=buf.alpha.registry.v1alpha1.Visibility" json:"visibility,omitempty"`
	// contains filtered or unexported fields
}

func (*Repository) Descriptor deprecated

func (*Repository) Descriptor() ([]byte, []int)

Deprecated: Use Repository.ProtoReflect.Descriptor instead.

func (*Repository) GetCreateTime

func (x *Repository) GetCreateTime() *timestamppb.Timestamp

func (*Repository) GetId

func (x *Repository) GetId() string

func (*Repository) GetName

func (x *Repository) GetName() string

func (*Repository) GetOrganizationId

func (x *Repository) GetOrganizationId() string

func (*Repository) GetOwner

func (m *Repository) GetOwner() isRepository_Owner

func (*Repository) GetUpdateTime

func (x *Repository) GetUpdateTime() *timestamppb.Timestamp

func (*Repository) GetUserId

func (x *Repository) GetUserId() string

func (*Repository) GetVisibility

func (x *Repository) GetVisibility() Visibility

func (*Repository) ProtoMessage

func (*Repository) ProtoMessage()

func (*Repository) ProtoReflect

func (x *Repository) ProtoReflect() protoreflect.Message

func (*Repository) Reset

func (x *Repository) Reset()

func (*Repository) String

func (x *Repository) String() string

type RepositoryBranch

type RepositoryBranch struct {

	// primary key, unique, immutable
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// immutable
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// We reserve field number '3' for the update_time.
	// google.protobuf.Timestamp update_time = 3;
	// The name of the repository branch, i.e. "v1".
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// The ID of the repository this branch belongs to.
	RepositoryId string `protobuf:"bytes,5,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RepositoryBranch) Descriptor deprecated

func (*RepositoryBranch) Descriptor() ([]byte, []int)

Deprecated: Use RepositoryBranch.ProtoReflect.Descriptor instead.

func (*RepositoryBranch) GetCreateTime

func (x *RepositoryBranch) GetCreateTime() *timestamppb.Timestamp

func (*RepositoryBranch) GetId

func (x *RepositoryBranch) GetId() string

func (*RepositoryBranch) GetName

func (x *RepositoryBranch) GetName() string

func (*RepositoryBranch) GetRepositoryId

func (x *RepositoryBranch) GetRepositoryId() string

func (*RepositoryBranch) ProtoMessage

func (*RepositoryBranch) ProtoMessage()

func (*RepositoryBranch) ProtoReflect

func (x *RepositoryBranch) ProtoReflect() protoreflect.Message

func (*RepositoryBranch) Reset

func (x *RepositoryBranch) Reset()

func (*RepositoryBranch) String

func (x *RepositoryBranch) String() string

type RepositoryBranchService

type RepositoryBranchService interface {
	// CreateRepositoryBranch creates a new repository branch.
	CreateRepositoryBranch(context.Context, *CreateRepositoryBranchRequest) (*CreateRepositoryBranchResponse, error)

	// ListRepositoryBranches lists the repository branches associated with a Repository.
	ListRepositoryBranches(context.Context, *ListRepositoryBranchesRequest) (*ListRepositoryBranchesResponse, error)
}

RepositoryBranchService is the Repository branch service.

func NewRepositoryBranchServiceJSONClient

func NewRepositoryBranchServiceJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) RepositoryBranchService

NewRepositoryBranchServiceJSONClient creates a JSON client that implements the RepositoryBranchService interface. It communicates using JSON and can be configured with a custom HTTPClient.

func NewRepositoryBranchServiceProtobufClient

func NewRepositoryBranchServiceProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) RepositoryBranchService

NewRepositoryBranchServiceProtobufClient creates a Protobuf client that implements the RepositoryBranchService interface. It communicates using Protobuf and can be configured with a custom HTTPClient.

type RepositoryBranchServiceClient

type RepositoryBranchServiceClient interface {
	// CreateRepositoryBranch creates a new repository branch.
	CreateRepositoryBranch(ctx context.Context, in *CreateRepositoryBranchRequest, opts ...grpc.CallOption) (*CreateRepositoryBranchResponse, error)
	// ListRepositoryBranches lists the repository branches associated with a Repository.
	ListRepositoryBranches(ctx context.Context, in *ListRepositoryBranchesRequest, opts ...grpc.CallOption) (*ListRepositoryBranchesResponse, error)
}

RepositoryBranchServiceClient is the client API for RepositoryBranchService 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.

type RepositoryBranchServiceServer

type RepositoryBranchServiceServer interface {
	// CreateRepositoryBranch creates a new repository branch.
	CreateRepositoryBranch(context.Context, *CreateRepositoryBranchRequest) (*CreateRepositoryBranchResponse, error)
	// ListRepositoryBranches lists the repository branches associated with a Repository.
	ListRepositoryBranches(context.Context, *ListRepositoryBranchesRequest) (*ListRepositoryBranchesResponse, error)
}

RepositoryBranchServiceServer is the server API for RepositoryBranchService service. All implementations should embed UnimplementedRepositoryBranchServiceServer for forward compatibility

type RepositoryCommit

type RepositoryCommit struct {

	// primary key, unique, immutable
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// immutable
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The digest of the commit.
	Digest string `protobuf:"bytes,3,opt,name=digest,proto3" json:"digest,omitempty"`
	// The name of the commit.
	// This is what is referenced by users.
	// Unique, immutable.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// The branch on which this commit was created.
	Branch string `protobuf:"bytes,5,opt,name=branch,proto3" json:"branch,omitempty"`
	// The commit sequence ID for this commit. This
	// is essentially what number commit this is on
	// the branch.
	CommitSequenceId int64 `protobuf:"varint,6,opt,name=commit_sequence_id,json=commitSequenceId,proto3" json:"commit_sequence_id,omitempty"`
	// The username of the user who authored this commit.
	Author string `protobuf:"bytes,7,opt,name=author,proto3" json:"author,omitempty"`
	// contains filtered or unexported fields
}

func (*RepositoryCommit) Descriptor deprecated

func (*RepositoryCommit) Descriptor() ([]byte, []int)

Deprecated: Use RepositoryCommit.ProtoReflect.Descriptor instead.

func (*RepositoryCommit) GetAuthor

func (x *RepositoryCommit) GetAuthor() string

func (*RepositoryCommit) GetBranch

func (x *RepositoryCommit) GetBranch() string

func (*RepositoryCommit) GetCommitSequenceId

func (x *RepositoryCommit) GetCommitSequenceId() int64

func (*RepositoryCommit) GetCreateTime

func (x *RepositoryCommit) GetCreateTime() *timestamppb.Timestamp

func (*RepositoryCommit) GetDigest

func (x *RepositoryCommit) GetDigest() string

func (*RepositoryCommit) GetId

func (x *RepositoryCommit) GetId() string

func (*RepositoryCommit) GetName

func (x *RepositoryCommit) GetName() string

func (*RepositoryCommit) ProtoMessage

func (*RepositoryCommit) ProtoMessage()

func (*RepositoryCommit) ProtoReflect

func (x *RepositoryCommit) ProtoReflect() protoreflect.Message

func (*RepositoryCommit) Reset

func (x *RepositoryCommit) Reset()

func (*RepositoryCommit) String

func (x *RepositoryCommit) String() string

type RepositoryCommitService

type RepositoryCommitService interface {
	// ListRepositoryCommitsByBranch lists the repository commits associated
	// with a repository branch on a repository, ordered by their create time.
	ListRepositoryCommitsByBranch(context.Context, *ListRepositoryCommitsByBranchRequest) (*ListRepositoryCommitsByBranchResponse, error)

	// GetRepositoryCommitByReference returns the repository commit matching
	// the provided reference, if it exists.
	GetRepositoryCommitByReference(context.Context, *GetRepositoryCommitByReferenceRequest) (*GetRepositoryCommitByReferenceResponse, error)

	// GetRepositoryCommitBySequenceID returns the repository commit matching
	// the provided sequence ID and branch, if it exists.
	GetRepositoryCommitBySequenceID(context.Context, *GetRepositoryCommitBySequenceIDRequest) (*GetRepositoryCommitBySequenceIDResponse, error)
}

RepositoryCommitService is the Repository commit service.

func NewRepositoryCommitServiceJSONClient

func NewRepositoryCommitServiceJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) RepositoryCommitService

NewRepositoryCommitServiceJSONClient creates a JSON client that implements the RepositoryCommitService interface. It communicates using JSON and can be configured with a custom HTTPClient.

func NewRepositoryCommitServiceProtobufClient

func NewRepositoryCommitServiceProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) RepositoryCommitService

NewRepositoryCommitServiceProtobufClient creates a Protobuf client that implements the RepositoryCommitService interface. It communicates using Protobuf and can be configured with a custom HTTPClient.

type RepositoryCommitServiceClient

type RepositoryCommitServiceClient interface {
	// ListRepositoryCommitsByBranch lists the repository commits associated
	// with a repository branch on a repository, ordered by their create time.
	ListRepositoryCommitsByBranch(ctx context.Context, in *ListRepositoryCommitsByBranchRequest, opts ...grpc.CallOption) (*ListRepositoryCommitsByBranchResponse, error)
	// GetRepositoryCommitByReference returns the repository commit matching
	// the provided reference, if it exists.
	GetRepositoryCommitByReference(ctx context.Context, in *GetRepositoryCommitByReferenceRequest, opts ...grpc.CallOption) (*GetRepositoryCommitByReferenceResponse, error)
	// GetRepositoryCommitBySequenceID returns the repository commit matching
	// the provided sequence ID and branch, if it exists.
	GetRepositoryCommitBySequenceID(ctx context.Context, in *GetRepositoryCommitBySequenceIDRequest, opts ...grpc.CallOption) (*GetRepositoryCommitBySequenceIDResponse, error)
}

RepositoryCommitServiceClient is the client API for RepositoryCommitService 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.

type RepositoryCommitServiceServer

type RepositoryCommitServiceServer interface {
	// ListRepositoryCommitsByBranch lists the repository commits associated
	// with a repository branch on a repository, ordered by their create time.
	ListRepositoryCommitsByBranch(context.Context, *ListRepositoryCommitsByBranchRequest) (*ListRepositoryCommitsByBranchResponse, error)
	// GetRepositoryCommitByReference returns the repository commit matching
	// the provided reference, if it exists.
	GetRepositoryCommitByReference(context.Context, *GetRepositoryCommitByReferenceRequest) (*GetRepositoryCommitByReferenceResponse, error)
	// GetRepositoryCommitBySequenceID returns the repository commit matching
	// the provided sequence ID and branch, if it exists.
	GetRepositoryCommitBySequenceID(context.Context, *GetRepositoryCommitBySequenceIDRequest) (*GetRepositoryCommitBySequenceIDResponse, error)
}

RepositoryCommitServiceServer is the server API for RepositoryCommitService service. All implementations should embed UnimplementedRepositoryCommitServiceServer for forward compatibility

type RepositoryScope

type RepositoryScope int32
const (
	RepositoryScope_REPOSITORY_SCOPE_UNSPECIFIED RepositoryScope = 0
	RepositoryScope_REPOSITORY_SCOPE_READ        RepositoryScope = 1
	RepositoryScope_REPOSITORY_SCOPE_READ_WRITE  RepositoryScope = 2
	RepositoryScope_REPOSITORY_SCOPE_ADMIN       RepositoryScope = 3
)

func (RepositoryScope) Descriptor

func (RepositoryScope) Enum

func (x RepositoryScope) Enum() *RepositoryScope

func (RepositoryScope) EnumDescriptor deprecated

func (RepositoryScope) EnumDescriptor() ([]byte, []int)

Deprecated: Use RepositoryScope.Descriptor instead.

func (RepositoryScope) Number

func (RepositoryScope) String

func (x RepositoryScope) String() string

func (RepositoryScope) Type

type RepositoryService

type RepositoryService interface {
	// GetRepository gets a repository by ID.
	GetRepository(context.Context, *GetRepositoryRequest) (*GetRepositoryResponse, error)

	// GetRepositoryByFullName gets a repository by full name.
	GetRepositoryByFullName(context.Context, *GetRepositoryByFullNameRequest) (*GetRepositoryByFullNameResponse, error)

	// ListRepositories lists all repositories.
	ListRepositories(context.Context, *ListRepositoriesRequest) (*ListRepositoriesResponse, error)

	// ListUserRepositories lists all repositories belonging to a user.
	ListUserRepositories(context.Context, *ListUserRepositoriesRequest) (*ListUserRepositoriesResponse, error)

	// ListOrganizationRepositories lists all repositories for an organization.
	ListOrganizationRepositories(context.Context, *ListOrganizationRepositoriesRequest) (*ListOrganizationRepositoriesResponse, error)

	// CreateRepositoryByFullName creates a new repository by full name.
	CreateRepositoryByFullName(context.Context, *CreateRepositoryByFullNameRequest) (*CreateRepositoryByFullNameResponse, error)

	// UpdateRepositoryName updates a repository's name.
	UpdateRepositoryName(context.Context, *UpdateRepositoryNameRequest) (*UpdateRepositoryNameResponse, error)

	// UpdateRepositoryNameByFullName updates a repository's name by full name.
	UpdateRepositoryNameByFullName(context.Context, *UpdateRepositoryNameByFullNameRequest) (*UpdateRepositoryNameByFullNameResponse, error)

	// UpdateRepositoryVisibility updates a repository's visibility.
	UpdateRepositoryVisibility(context.Context, *UpdateRepositoryVisibilityRequest) (*UpdateRepositoryVisibilityResponse, error)

	// UpdateRepositoryVisibilityByName updates a repository's visibility by name.
	UpdateRepositoryVisibilityByName(context.Context, *UpdateRepositoryVisibilityByNameRequest) (*UpdateRepositoryVisibilityByNameResponse, error)

	// DeleteRepository deletes a repository.
	DeleteRepository(context.Context, *DeleteRepositoryRequest) (*DeleteRepositoryResponse, error)

	// DeleteRepositoryByFullName deletes a repository by full name.
	DeleteRepositoryByFullName(context.Context, *DeleteRepositoryByFullNameRequest) (*DeleteRepositoryByFullNameResponse, error)
}

RepositoryService is the Repository service.

func NewRepositoryServiceJSONClient

func NewRepositoryServiceJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) RepositoryService

NewRepositoryServiceJSONClient creates a JSON client that implements the RepositoryService interface. It communicates using JSON and can be configured with a custom HTTPClient.

func NewRepositoryServiceProtobufClient

func NewRepositoryServiceProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) RepositoryService

NewRepositoryServiceProtobufClient creates a Protobuf client that implements the RepositoryService interface. It communicates using Protobuf and can be configured with a custom HTTPClient.

type RepositoryServiceClient

type RepositoryServiceClient interface {
	// GetRepository gets a repository by ID.
	GetRepository(ctx context.Context, in *GetRepositoryRequest, opts ...grpc.CallOption) (*GetRepositoryResponse, error)
	// GetRepositoryByFullName gets a repository by full name.
	GetRepositoryByFullName(ctx context.Context, in *GetRepositoryByFullNameRequest, opts ...grpc.CallOption) (*GetRepositoryByFullNameResponse, error)
	// ListRepositories lists all repositories.
	ListRepositories(ctx context.Context, in *ListRepositoriesRequest, opts ...grpc.CallOption) (*ListRepositoriesResponse, error)
	// ListUserRepositories lists all repositories belonging to a user.
	ListUserRepositories(ctx context.Context, in *ListUserRepositoriesRequest, opts ...grpc.CallOption) (*ListUserRepositoriesResponse, error)
	// ListOrganizationRepositories lists all repositories for an organization.
	ListOrganizationRepositories(ctx context.Context, in *ListOrganizationRepositoriesRequest, opts ...grpc.CallOption) (*ListOrganizationRepositoriesResponse, error)
	// CreateRepositoryByFullName creates a new repository by full name.
	CreateRepositoryByFullName(ctx context.Context, in *CreateRepositoryByFullNameRequest, opts ...grpc.CallOption) (*CreateRepositoryByFullNameResponse, error)
	// UpdateRepositoryName updates a repository's name.
	UpdateRepositoryName(ctx context.Context, in *UpdateRepositoryNameRequest, opts ...grpc.CallOption) (*UpdateRepositoryNameResponse, error)
	// UpdateRepositoryNameByFullName updates a repository's name by full name.
	UpdateRepositoryNameByFullName(ctx context.Context, in *UpdateRepositoryNameByFullNameRequest, opts ...grpc.CallOption) (*UpdateRepositoryNameByFullNameResponse, error)
	// UpdateRepositoryVisibility updates a repository's visibility.
	UpdateRepositoryVisibility(ctx context.Context, in *UpdateRepositoryVisibilityRequest, opts ...grpc.CallOption) (*UpdateRepositoryVisibilityResponse, error)
	// UpdateRepositoryVisibilityByName updates a repository's visibility by name.
	UpdateRepositoryVisibilityByName(ctx context.Context, in *UpdateRepositoryVisibilityByNameRequest, opts ...grpc.CallOption) (*UpdateRepositoryVisibilityByNameResponse, error)
	// DeleteRepository deletes a repository.
	DeleteRepository(ctx context.Context, in *DeleteRepositoryRequest, opts ...grpc.CallOption) (*DeleteRepositoryResponse, error)
	// DeleteRepositoryByFullName deletes a repository by full name.
	DeleteRepositoryByFullName(ctx context.Context, in *DeleteRepositoryByFullNameRequest, opts ...grpc.CallOption) (*DeleteRepositoryByFullNameResponse, error)
}

RepositoryServiceClient is the client API for RepositoryService 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.

type RepositoryServiceServer

type RepositoryServiceServer interface {
	// GetRepository gets a repository by ID.
	GetRepository(context.Context, *GetRepositoryRequest) (*GetRepositoryResponse, error)
	// GetRepositoryByFullName gets a repository by full name.
	GetRepositoryByFullName(context.Context, *GetRepositoryByFullNameRequest) (*GetRepositoryByFullNameResponse, error)
	// ListRepositories lists all repositories.
	ListRepositories(context.Context, *ListRepositoriesRequest) (*ListRepositoriesResponse, error)
	// ListUserRepositories lists all repositories belonging to a user.
	ListUserRepositories(context.Context, *ListUserRepositoriesRequest) (*ListUserRepositoriesResponse, error)
	// ListOrganizationRepositories lists all repositories for an organization.
	ListOrganizationRepositories(context.Context, *ListOrganizationRepositoriesRequest) (*ListOrganizationRepositoriesResponse, error)
	// CreateRepositoryByFullName creates a new repository by full name.
	CreateRepositoryByFullName(context.Context, *CreateRepositoryByFullNameRequest) (*CreateRepositoryByFullNameResponse, error)
	// UpdateRepositoryName updates a repository's name.
	UpdateRepositoryName(context.Context, *UpdateRepositoryNameRequest) (*UpdateRepositoryNameResponse, error)
	// UpdateRepositoryNameByFullName updates a repository's name by full name.
	UpdateRepositoryNameByFullName(context.Context, *UpdateRepositoryNameByFullNameRequest) (*UpdateRepositoryNameByFullNameResponse, error)
	// UpdateRepositoryVisibility updates a repository's visibility.
	UpdateRepositoryVisibility(context.Context, *UpdateRepositoryVisibilityRequest) (*UpdateRepositoryVisibilityResponse, error)
	// UpdateRepositoryVisibilityByName updates a repository's visibility by name.
	UpdateRepositoryVisibilityByName(context.Context, *UpdateRepositoryVisibilityByNameRequest) (*UpdateRepositoryVisibilityByNameResponse, error)
	// DeleteRepository deletes a repository.
	DeleteRepository(context.Context, *DeleteRepositoryRequest) (*DeleteRepositoryResponse, error)
	// DeleteRepositoryByFullName deletes a repository by full name.
	DeleteRepositoryByFullName(context.Context, *DeleteRepositoryByFullNameRequest) (*DeleteRepositoryByFullNameResponse, error)
}

RepositoryServiceServer is the server API for RepositoryService service. All implementations should embed UnimplementedRepositoryServiceServer for forward compatibility

type RepositoryTag

type RepositoryTag struct {

	// primary key, unique, immutable
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// immutable
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// We reserve field number '3' for the update_time.
	// google.protobuf.Timestamp update_time = 3;
	// The name of the repository tag, e.g. "6e2e7f24718a76caa32a80d0e2b1841ef2c61403".
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// The name of the commit this tag belongs to.
	CommitName string `protobuf:"bytes,5,opt,name=commit_name,json=commitName,proto3" json:"commit_name,omitempty"`
	// The username of the author of the tag.
	Author string `protobuf:"bytes,6,opt,name=author,proto3" json:"author,omitempty"`
	// contains filtered or unexported fields
}

func (*RepositoryTag) Descriptor deprecated

func (*RepositoryTag) Descriptor() ([]byte, []int)

Deprecated: Use RepositoryTag.ProtoReflect.Descriptor instead.

func (*RepositoryTag) GetAuthor

func (x *RepositoryTag) GetAuthor() string

func (*RepositoryTag) GetCommitName

func (x *RepositoryTag) GetCommitName() string

func (*RepositoryTag) GetCreateTime

func (x *RepositoryTag) GetCreateTime() *timestamppb.Timestamp

func (*RepositoryTag) GetId

func (x *RepositoryTag) GetId() string

func (*RepositoryTag) GetName

func (x *RepositoryTag) GetName() string

func (*RepositoryTag) ProtoMessage

func (*RepositoryTag) ProtoMessage()

func (*RepositoryTag) ProtoReflect

func (x *RepositoryTag) ProtoReflect() protoreflect.Message

func (*RepositoryTag) Reset

func (x *RepositoryTag) Reset()

func (*RepositoryTag) String

func (x *RepositoryTag) String() string

type RepositoryTagService

type RepositoryTagService interface {
	// CreateRepositoryTag creates a new repository tag.
	CreateRepositoryTag(context.Context, *CreateRepositoryTagRequest) (*CreateRepositoryTagResponse, error)

	// ListRepositoryTags lists the repository tags associated with a Repository.
	ListRepositoryTags(context.Context, *ListRepositoryTagsRequest) (*ListRepositoryTagsResponse, error)
}

RepositoryTagService is the Repository tag service.

func NewRepositoryTagServiceJSONClient

func NewRepositoryTagServiceJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) RepositoryTagService

NewRepositoryTagServiceJSONClient creates a JSON client that implements the RepositoryTagService interface. It communicates using JSON and can be configured with a custom HTTPClient.

func NewRepositoryTagServiceProtobufClient

func NewRepositoryTagServiceProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) RepositoryTagService

NewRepositoryTagServiceProtobufClient creates a Protobuf client that implements the RepositoryTagService interface. It communicates using Protobuf and can be configured with a custom HTTPClient.

type RepositoryTagServiceClient

type RepositoryTagServiceClient interface {
	// CreateRepositoryTag creates a new repository tag.
	CreateRepositoryTag(ctx context.Context, in *CreateRepositoryTagRequest, opts ...grpc.CallOption) (*CreateRepositoryTagResponse, error)
	// ListRepositoryTags lists the repository tags associated with a Repository.
	ListRepositoryTags(ctx context.Context, in *ListRepositoryTagsRequest, opts ...grpc.CallOption) (*ListRepositoryTagsResponse, error)
}

RepositoryTagServiceClient is the client API for RepositoryTagService 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.

type RepositoryTagServiceServer

type RepositoryTagServiceServer interface {
	// CreateRepositoryTag creates a new repository tag.
	CreateRepositoryTag(context.Context, *CreateRepositoryTagRequest) (*CreateRepositoryTagResponse, error)
	// ListRepositoryTags lists the repository tags associated with a Repository.
	ListRepositoryTags(context.Context, *ListRepositoryTagsRequest) (*ListRepositoryTagsResponse, error)
}

RepositoryTagServiceServer is the server API for RepositoryTagService service. All implementations should embed UnimplementedRepositoryTagServiceServer for forward compatibility

type Repository_OrganizationId

type Repository_OrganizationId struct {
	// foreign key, mutable
	OrganizationId string `protobuf:"bytes,6,opt,name=organization_id,json=organizationId,proto3,oneof"`
}

type Repository_UserId

type Repository_UserId struct {
	// foreign key, mutable
	UserId string `protobuf:"bytes,5,opt,name=user_id,json=userId,proto3,oneof"`
}

type ResolveService

type ResolveService interface {
	// GetModulePins finds all the latest digests and respective dependencies of
	// the provided module references and picks a set of distinct modules pins.
	//
	// Note that module references with commits should still be passed to this function
	// to make sure this function can do dependency resolution.
	//
	// This function also deals with tiebreaking what ModulePin wins for the same repository.
	GetModulePins(context.Context, *GetModulePinsRequest) (*GetModulePinsResponse, error)
}

ResolveService is the resolve service.

This is the public service.

func NewResolveServiceJSONClient

func NewResolveServiceJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) ResolveService

NewResolveServiceJSONClient creates a JSON client that implements the ResolveService interface. It communicates using JSON and can be configured with a custom HTTPClient.

func NewResolveServiceProtobufClient

func NewResolveServiceProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) ResolveService

NewResolveServiceProtobufClient creates a Protobuf client that implements the ResolveService interface. It communicates using Protobuf and can be configured with a custom HTTPClient.

type ResolveServiceClient

type ResolveServiceClient interface {
	// GetModulePins finds all the latest digests and respective dependencies of
	// the provided module references and picks a set of distinct modules pins.
	//
	// Note that module references with commits should still be passed to this function
	// to make sure this function can do dependency resolution.
	//
	// This function also deals with tiebreaking what ModulePin wins for the same repository.
	GetModulePins(ctx context.Context, in *GetModulePinsRequest, opts ...grpc.CallOption) (*GetModulePinsResponse, error)
}

ResolveServiceClient is the client API for ResolveService 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.

type ResolveServiceServer

type ResolveServiceServer interface {
	// GetModulePins finds all the latest digests and respective dependencies of
	// the provided module references and picks a set of distinct modules pins.
	//
	// Note that module references with commits should still be passed to this function
	// to make sure this function can do dependency resolution.
	//
	// This function also deals with tiebreaking what ModulePin wins for the same repository.
	GetModulePins(context.Context, *GetModulePinsRequest) (*GetModulePinsResponse, error)
}

ResolveServiceServer is the server API for ResolveService service. All implementations should embed UnimplementedResolveServiceServer for forward compatibility

type ServerScope

type ServerScope int32
const (
	ServerScope_SERVER_SCOPE_UNSPECIFIED ServerScope = 0
	ServerScope_SERVER_SCOPE_MEMBER      ServerScope = 1
	ServerScope_SERVER_SCOPE_ADMIN       ServerScope = 2
)

func (ServerScope) Descriptor

func (ServerScope) Enum

func (x ServerScope) Enum() *ServerScope

func (ServerScope) EnumDescriptor deprecated

func (ServerScope) EnumDescriptor() ([]byte, []int)

Deprecated: Use ServerScope.Descriptor instead.

func (ServerScope) Number

func (x ServerScope) Number() protoreflect.EnumNumber

func (ServerScope) String

func (x ServerScope) String() string

func (ServerScope) Type

type TwirpServer

type TwirpServer interface {
	http.Handler

	// ServiceDescriptor returns gzipped bytes describing the .proto file that
	// this service was generated from. Once unzipped, the bytes can be
	// unmarshalled as a
	// google.golang.org/protobuf/types/descriptorpb.FileDescriptorProto.
	//
	// The returned integer is the index of this particular service within that
	// FileDescriptorProto's 'Service' slice of ServiceDescriptorProtos. This is a
	// low-level field, expected to be used for reflection.
	ServiceDescriptor() ([]byte, int)

	// ProtocGenTwirpVersion is the semantic version string of the version of
	// twirp used to generate this file.
	ProtocGenTwirpVersion() string

	// PathPrefix returns the HTTP URL path prefix for all methods handled by this
	// service. This can be used with an HTTP mux to route Twirp requests.
	// The path prefix is in the form: "/<prefix>/<package>.<Service>/"
	// that is, everything in a Twirp route except for the <Method> at the end.
	PathPrefix() string
}

TwirpServer is the interface generated server structs will support: they're HTTP handlers with additional methods for accessing metadata about the service. Those accessors are a low-level API for building reflection tools. Most people can think of TwirpServers as just http.Handlers.

func NewDownloadServiceServer

func NewDownloadServiceServer(svc DownloadService, opts ...interface{}) TwirpServer

NewDownloadServiceServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).

func NewOrganizationServiceServer

func NewOrganizationServiceServer(svc OrganizationService, opts ...interface{}) TwirpServer

NewOrganizationServiceServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).

func NewPushServiceServer

func NewPushServiceServer(svc PushService, opts ...interface{}) TwirpServer

NewPushServiceServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).

func NewRepositoryBranchServiceServer

func NewRepositoryBranchServiceServer(svc RepositoryBranchService, opts ...interface{}) TwirpServer

NewRepositoryBranchServiceServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).

func NewRepositoryCommitServiceServer

func NewRepositoryCommitServiceServer(svc RepositoryCommitService, opts ...interface{}) TwirpServer

NewRepositoryCommitServiceServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).

func NewRepositoryServiceServer

func NewRepositoryServiceServer(svc RepositoryService, opts ...interface{}) TwirpServer

NewRepositoryServiceServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).

func NewRepositoryTagServiceServer

func NewRepositoryTagServiceServer(svc RepositoryTagService, opts ...interface{}) TwirpServer

NewRepositoryTagServiceServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).

func NewResolveServiceServer

func NewResolveServiceServer(svc ResolveService, opts ...interface{}) TwirpServer

NewResolveServiceServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).

func NewUserServiceServer

func NewUserServiceServer(svc UserService, opts ...interface{}) TwirpServer

NewUserServiceServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).

type UnimplementedDownloadServiceServer

type UnimplementedDownloadServiceServer struct {
}

UnimplementedDownloadServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedDownloadServiceServer) Download

type UnimplementedOrganizationServiceServer

type UnimplementedOrganizationServiceServer struct {
}

UnimplementedOrganizationServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedOrganizationServiceServer) CreateOrganization

func (UnimplementedOrganizationServiceServer) DeleteOrganization

func (UnimplementedOrganizationServiceServer) GetOrganization

func (UnimplementedOrganizationServiceServer) ListOrganizations

type UnimplementedPushServiceServer

type UnimplementedPushServiceServer struct {
}

UnimplementedPushServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedPushServiceServer) Push

type UnimplementedRepositoryBranchServiceServer

type UnimplementedRepositoryBranchServiceServer struct {
}

UnimplementedRepositoryBranchServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedRepositoryBranchServiceServer) CreateRepositoryBranch

func (UnimplementedRepositoryBranchServiceServer) ListRepositoryBranches

type UnimplementedRepositoryCommitServiceServer

type UnimplementedRepositoryCommitServiceServer struct {
}

UnimplementedRepositoryCommitServiceServer should be embedded to have forward compatible implementations.

type UnimplementedRepositoryServiceServer

type UnimplementedRepositoryServiceServer struct {
}

UnimplementedRepositoryServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedRepositoryServiceServer) DeleteRepository

func (UnimplementedRepositoryServiceServer) GetRepository

func (UnimplementedRepositoryServiceServer) ListRepositories

func (UnimplementedRepositoryServiceServer) ListUserRepositories

func (UnimplementedRepositoryServiceServer) UpdateRepositoryName

type UnimplementedRepositoryTagServiceServer

type UnimplementedRepositoryTagServiceServer struct {
}

UnimplementedRepositoryTagServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedRepositoryTagServiceServer) CreateRepositoryTag

func (UnimplementedRepositoryTagServiceServer) ListRepositoryTags

type UnimplementedResolveServiceServer

type UnimplementedResolveServiceServer struct {
}

UnimplementedResolveServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedResolveServiceServer) GetModulePins

type UnimplementedUserServiceServer

type UnimplementedUserServiceServer struct {
}

UnimplementedUserServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedUserServiceServer) AddUserServerScope

func (UnimplementedUserServiceServer) CreateUser

func (UnimplementedUserServiceServer) DeleteUser

func (UnimplementedUserServiceServer) GetUser

func (UnimplementedUserServiceServer) GetUserByUsername

func (UnimplementedUserServiceServer) ListUsers

func (UnimplementedUserServiceServer) UpdateUserUsername

type UnsafeDownloadServiceServer

type UnsafeDownloadServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeDownloadServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DownloadServiceServer will result in compilation errors.

type UnsafeOrganizationServiceServer

type UnsafeOrganizationServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeOrganizationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OrganizationServiceServer will result in compilation errors.

type UnsafePushServiceServer

type UnsafePushServiceServer interface {
	// contains filtered or unexported methods
}

UnsafePushServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PushServiceServer will result in compilation errors.

type UnsafeRepositoryBranchServiceServer

type UnsafeRepositoryBranchServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeRepositoryBranchServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RepositoryBranchServiceServer will result in compilation errors.

type UnsafeRepositoryCommitServiceServer

type UnsafeRepositoryCommitServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeRepositoryCommitServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RepositoryCommitServiceServer will result in compilation errors.

type UnsafeRepositoryServiceServer

type UnsafeRepositoryServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeRepositoryServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RepositoryServiceServer will result in compilation errors.

type UnsafeRepositoryTagServiceServer

type UnsafeRepositoryTagServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeRepositoryTagServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RepositoryTagServiceServer will result in compilation errors.

type UnsafeResolveServiceServer

type UnsafeResolveServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeResolveServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ResolveServiceServer will result in compilation errors.

type UnsafeUserServiceServer

type UnsafeUserServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeUserServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServiceServer will result in compilation errors.

type UpdateOrganizationNameByNameRequest

type UpdateOrganizationNameByNameRequest struct {
	Name    string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	NewName string `protobuf:"bytes,2,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateOrganizationNameByNameRequest) Descriptor deprecated

func (*UpdateOrganizationNameByNameRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateOrganizationNameByNameRequest.ProtoReflect.Descriptor instead.

func (*UpdateOrganizationNameByNameRequest) GetName

func (*UpdateOrganizationNameByNameRequest) GetNewName

func (*UpdateOrganizationNameByNameRequest) ProtoMessage

func (*UpdateOrganizationNameByNameRequest) ProtoMessage()

func (*UpdateOrganizationNameByNameRequest) ProtoReflect

func (*UpdateOrganizationNameByNameRequest) Reset

func (*UpdateOrganizationNameByNameRequest) String

type UpdateOrganizationNameByNameResponse

type UpdateOrganizationNameByNameResponse struct {
	Organization *Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateOrganizationNameByNameResponse) Descriptor deprecated

func (*UpdateOrganizationNameByNameResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateOrganizationNameByNameResponse.ProtoReflect.Descriptor instead.

func (*UpdateOrganizationNameByNameResponse) GetOrganization

func (x *UpdateOrganizationNameByNameResponse) GetOrganization() *Organization

func (*UpdateOrganizationNameByNameResponse) ProtoMessage

func (*UpdateOrganizationNameByNameResponse) ProtoMessage()

func (*UpdateOrganizationNameByNameResponse) ProtoReflect

func (*UpdateOrganizationNameByNameResponse) Reset

func (*UpdateOrganizationNameByNameResponse) String

type UpdateOrganizationNameRequest

type UpdateOrganizationNameRequest struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	NewName string `protobuf:"bytes,2,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateOrganizationNameRequest) Descriptor deprecated

func (*UpdateOrganizationNameRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateOrganizationNameRequest.ProtoReflect.Descriptor instead.

func (*UpdateOrganizationNameRequest) GetId

func (*UpdateOrganizationNameRequest) GetNewName

func (x *UpdateOrganizationNameRequest) GetNewName() string

func (*UpdateOrganizationNameRequest) ProtoMessage

func (*UpdateOrganizationNameRequest) ProtoMessage()

func (*UpdateOrganizationNameRequest) ProtoReflect

func (*UpdateOrganizationNameRequest) Reset

func (x *UpdateOrganizationNameRequest) Reset()

func (*UpdateOrganizationNameRequest) String

type UpdateOrganizationNameResponse

type UpdateOrganizationNameResponse struct {
	Organization *Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateOrganizationNameResponse) Descriptor deprecated

func (*UpdateOrganizationNameResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateOrganizationNameResponse.ProtoReflect.Descriptor instead.

func (*UpdateOrganizationNameResponse) GetOrganization

func (x *UpdateOrganizationNameResponse) GetOrganization() *Organization

func (*UpdateOrganizationNameResponse) ProtoMessage

func (*UpdateOrganizationNameResponse) ProtoMessage()

func (*UpdateOrganizationNameResponse) ProtoReflect

func (*UpdateOrganizationNameResponse) Reset

func (x *UpdateOrganizationNameResponse) Reset()

func (*UpdateOrganizationNameResponse) String

type UpdateRepositoryNameByFullNameRequest

type UpdateRepositoryNameByFullNameRequest struct {
	FullName string `protobuf:"bytes,1,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"`
	NewName  string `protobuf:"bytes,2,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRepositoryNameByFullNameRequest) Descriptor deprecated

func (*UpdateRepositoryNameByFullNameRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateRepositoryNameByFullNameRequest.ProtoReflect.Descriptor instead.

func (*UpdateRepositoryNameByFullNameRequest) GetFullName

func (*UpdateRepositoryNameByFullNameRequest) GetNewName

func (*UpdateRepositoryNameByFullNameRequest) ProtoMessage

func (*UpdateRepositoryNameByFullNameRequest) ProtoMessage()

func (*UpdateRepositoryNameByFullNameRequest) ProtoReflect

func (*UpdateRepositoryNameByFullNameRequest) Reset

func (*UpdateRepositoryNameByFullNameRequest) String

type UpdateRepositoryNameByFullNameResponse

type UpdateRepositoryNameByFullNameResponse struct {
	Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRepositoryNameByFullNameResponse) Descriptor deprecated

func (*UpdateRepositoryNameByFullNameResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateRepositoryNameByFullNameResponse.ProtoReflect.Descriptor instead.

func (*UpdateRepositoryNameByFullNameResponse) GetRepository

func (*UpdateRepositoryNameByFullNameResponse) ProtoMessage

func (*UpdateRepositoryNameByFullNameResponse) ProtoReflect

func (*UpdateRepositoryNameByFullNameResponse) Reset

func (*UpdateRepositoryNameByFullNameResponse) String

type UpdateRepositoryNameRequest

type UpdateRepositoryNameRequest struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	NewName string `protobuf:"bytes,2,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRepositoryNameRequest) Descriptor deprecated

func (*UpdateRepositoryNameRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateRepositoryNameRequest.ProtoReflect.Descriptor instead.

func (*UpdateRepositoryNameRequest) GetId

func (*UpdateRepositoryNameRequest) GetNewName

func (x *UpdateRepositoryNameRequest) GetNewName() string

func (*UpdateRepositoryNameRequest) ProtoMessage

func (*UpdateRepositoryNameRequest) ProtoMessage()

func (*UpdateRepositoryNameRequest) ProtoReflect

func (*UpdateRepositoryNameRequest) Reset

func (x *UpdateRepositoryNameRequest) Reset()

func (*UpdateRepositoryNameRequest) String

func (x *UpdateRepositoryNameRequest) String() string

type UpdateRepositoryNameResponse

type UpdateRepositoryNameResponse struct {
	Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRepositoryNameResponse) Descriptor deprecated

func (*UpdateRepositoryNameResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateRepositoryNameResponse.ProtoReflect.Descriptor instead.

func (*UpdateRepositoryNameResponse) GetRepository

func (x *UpdateRepositoryNameResponse) GetRepository() *Repository

func (*UpdateRepositoryNameResponse) ProtoMessage

func (*UpdateRepositoryNameResponse) ProtoMessage()

func (*UpdateRepositoryNameResponse) ProtoReflect

func (*UpdateRepositoryNameResponse) Reset

func (x *UpdateRepositoryNameResponse) Reset()

func (*UpdateRepositoryNameResponse) String

type UpdateRepositoryVisibilityByNameRequest

type UpdateRepositoryVisibilityByNameRequest struct {
	OwnerName      string     `protobuf:"bytes,1,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"`
	RepositoryName string     `protobuf:"bytes,2,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"`
	NewVisibility  Visibility `` /* 145-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UpdateRepositoryVisibilityByNameRequest) Descriptor deprecated

func (*UpdateRepositoryVisibilityByNameRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateRepositoryVisibilityByNameRequest.ProtoReflect.Descriptor instead.

func (*UpdateRepositoryVisibilityByNameRequest) GetNewVisibility

func (*UpdateRepositoryVisibilityByNameRequest) GetOwnerName

func (*UpdateRepositoryVisibilityByNameRequest) GetRepositoryName

func (x *UpdateRepositoryVisibilityByNameRequest) GetRepositoryName() string

func (*UpdateRepositoryVisibilityByNameRequest) ProtoMessage

func (*UpdateRepositoryVisibilityByNameRequest) ProtoReflect

func (*UpdateRepositoryVisibilityByNameRequest) Reset

func (*UpdateRepositoryVisibilityByNameRequest) String

type UpdateRepositoryVisibilityByNameResponse

type UpdateRepositoryVisibilityByNameResponse struct {
	Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRepositoryVisibilityByNameResponse) Descriptor deprecated

func (*UpdateRepositoryVisibilityByNameResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateRepositoryVisibilityByNameResponse.ProtoReflect.Descriptor instead.

func (*UpdateRepositoryVisibilityByNameResponse) GetRepository

func (*UpdateRepositoryVisibilityByNameResponse) ProtoMessage

func (*UpdateRepositoryVisibilityByNameResponse) ProtoReflect

func (*UpdateRepositoryVisibilityByNameResponse) Reset

func (*UpdateRepositoryVisibilityByNameResponse) String

type UpdateRepositoryVisibilityRequest

type UpdateRepositoryVisibilityRequest struct {
	Id            string     `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	NewVisibility Visibility `` /* 145-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UpdateRepositoryVisibilityRequest) Descriptor deprecated

func (*UpdateRepositoryVisibilityRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateRepositoryVisibilityRequest.ProtoReflect.Descriptor instead.

func (*UpdateRepositoryVisibilityRequest) GetId

func (*UpdateRepositoryVisibilityRequest) GetNewVisibility

func (x *UpdateRepositoryVisibilityRequest) GetNewVisibility() Visibility

func (*UpdateRepositoryVisibilityRequest) ProtoMessage

func (*UpdateRepositoryVisibilityRequest) ProtoMessage()

func (*UpdateRepositoryVisibilityRequest) ProtoReflect

func (*UpdateRepositoryVisibilityRequest) Reset

func (*UpdateRepositoryVisibilityRequest) String

type UpdateRepositoryVisibilityResponse

type UpdateRepositoryVisibilityResponse struct {
	Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRepositoryVisibilityResponse) Descriptor deprecated

func (*UpdateRepositoryVisibilityResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateRepositoryVisibilityResponse.ProtoReflect.Descriptor instead.

func (*UpdateRepositoryVisibilityResponse) GetRepository

func (x *UpdateRepositoryVisibilityResponse) GetRepository() *Repository

func (*UpdateRepositoryVisibilityResponse) ProtoMessage

func (*UpdateRepositoryVisibilityResponse) ProtoMessage()

func (*UpdateRepositoryVisibilityResponse) ProtoReflect

func (*UpdateRepositoryVisibilityResponse) Reset

func (*UpdateRepositoryVisibilityResponse) String

type UpdateUserUsernameRequest

type UpdateUserUsernameRequest struct {
	NewUsername string `protobuf:"bytes,1,opt,name=new_username,json=newUsername,proto3" json:"new_username,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserUsernameRequest) Descriptor deprecated

func (*UpdateUserUsernameRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserUsernameRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserUsernameRequest) GetNewUsername

func (x *UpdateUserUsernameRequest) GetNewUsername() string

func (*UpdateUserUsernameRequest) ProtoMessage

func (*UpdateUserUsernameRequest) ProtoMessage()

func (*UpdateUserUsernameRequest) ProtoReflect

func (*UpdateUserUsernameRequest) Reset

func (x *UpdateUserUsernameRequest) Reset()

func (*UpdateUserUsernameRequest) String

func (x *UpdateUserUsernameRequest) String() string

type UpdateUserUsernameResponse

type UpdateUserUsernameResponse struct {
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserUsernameResponse) Descriptor deprecated

func (*UpdateUserUsernameResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserUsernameResponse.ProtoReflect.Descriptor instead.

func (*UpdateUserUsernameResponse) GetUser

func (x *UpdateUserUsernameResponse) GetUser() *User

func (*UpdateUserUsernameResponse) ProtoMessage

func (*UpdateUserUsernameResponse) ProtoMessage()

func (*UpdateUserUsernameResponse) ProtoReflect

func (*UpdateUserUsernameResponse) Reset

func (x *UpdateUserUsernameResponse) Reset()

func (*UpdateUserUsernameResponse) String

func (x *UpdateUserUsernameResponse) String() string

type User

type User struct {

	// primary key, unique, immutable
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// immutable
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// mutable
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// unique, mutable
	Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

func (*User) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetCreateTime

func (x *User) GetCreateTime() *timestamppb.Timestamp

func (*User) GetId

func (x *User) GetId() string

func (*User) GetUpdateTime

func (x *User) GetUpdateTime() *timestamppb.Timestamp

func (*User) GetUsername

func (x *User) GetUsername() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

func (x *User) ProtoReflect() protoreflect.Message

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

type UserService

type UserService interface {
	// CreateUser creates a new user with the given username.
	CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)

	// GetUser gets a user by ID.
	GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)

	// GetUserByUsername gets a user by username.
	GetUserByUsername(context.Context, *GetUserByUsernameRequest) (*GetUserByUsernameResponse, error)

	// ListUsers lists all users.
	ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)

	// ListOrganizationUsers lists all users for an organization.
	ListOrganizationUsers(context.Context, *ListOrganizationUsersRequest) (*ListOrganizationUsersResponse, error)

	// UpdateUserUsername updates a user's username.
	UpdateUserUsername(context.Context, *UpdateUserUsernameRequest) (*UpdateUserUsernameResponse, error)

	// DeleteUser deletes a user.
	DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)

	// AddUserOrganizationScope adds an organization scope for a specific organization to a user by ID.
	AddUserOrganizationScope(context.Context, *AddUserOrganizationScopeRequest) (*AddUserOrganizationScopeResponse, error)

	// AddUserOrganizationScopeByName adds an organization scope for a specific organization to a user by name.
	AddUserOrganizationScopeByName(context.Context, *AddUserOrganizationScopeByNameRequest) (*AddUserOrganizationScopeByNameResponse, error)

	// RemoveUserOrganizationScope removes an organization scope for a specific organization from a user by ID.
	RemoveUserOrganizationScope(context.Context, *RemoveUserOrganizationScopeRequest) (*RemoveUserOrganizationScopeResponse, error)

	// RemoveUserOrganizationScopeByName removes an organization scope for a specific organization from a user by name.
	RemoveUserOrganizationScopeByName(context.Context, *RemoveUserOrganizationScopeByNameRequest) (*RemoveUserOrganizationScopeByNameResponse, error)

	// AddUserServerScope adds a server scope for a user by ID.
	AddUserServerScope(context.Context, *AddUserServerScopeRequest) (*AddUserServerScopeResponse, error)

	// AddUserServerScopeByName adds a server scope for a user by name.
	AddUserServerScopeByName(context.Context, *AddUserServerScopeByNameRequest) (*AddUserServerScopeByNameResponse, error)

	// RemoveUserServerScope removes a server scope for a user by ID.
	RemoveUserServerScope(context.Context, *RemoveUserServerScopeRequest) (*RemoveUserServerScopeResponse, error)

	// RemoveUserServerScopeByName removes a server scope for a user by name.
	RemoveUserServerScopeByName(context.Context, *RemoveUserServerScopeByNameRequest) (*RemoveUserServerScopeByNameResponse, error)
}

UserService is the User service.

func NewUserServiceJSONClient

func NewUserServiceJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) UserService

NewUserServiceJSONClient creates a JSON client that implements the UserService interface. It communicates using JSON and can be configured with a custom HTTPClient.

func NewUserServiceProtobufClient

func NewUserServiceProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) UserService

NewUserServiceProtobufClient creates a Protobuf client that implements the UserService interface. It communicates using Protobuf and can be configured with a custom HTTPClient.

type UserServiceClient

type UserServiceClient interface {
	// CreateUser creates a new user with the given username.
	CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error)
	// GetUser gets a user by ID.
	GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error)
	// GetUserByUsername gets a user by username.
	GetUserByUsername(ctx context.Context, in *GetUserByUsernameRequest, opts ...grpc.CallOption) (*GetUserByUsernameResponse, error)
	// ListUsers lists all users.
	ListUsers(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error)
	// ListOrganizationUsers lists all users for an organization.
	ListOrganizationUsers(ctx context.Context, in *ListOrganizationUsersRequest, opts ...grpc.CallOption) (*ListOrganizationUsersResponse, error)
	// UpdateUserUsername updates a user's username.
	UpdateUserUsername(ctx context.Context, in *UpdateUserUsernameRequest, opts ...grpc.CallOption) (*UpdateUserUsernameResponse, error)
	// DeleteUser deletes a user.
	DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error)
	// AddUserOrganizationScope adds an organization scope for a specific organization to a user by ID.
	AddUserOrganizationScope(ctx context.Context, in *AddUserOrganizationScopeRequest, opts ...grpc.CallOption) (*AddUserOrganizationScopeResponse, error)
	// AddUserOrganizationScopeByName adds an organization scope for a specific organization to a user by name.
	AddUserOrganizationScopeByName(ctx context.Context, in *AddUserOrganizationScopeByNameRequest, opts ...grpc.CallOption) (*AddUserOrganizationScopeByNameResponse, error)
	// RemoveUserOrganizationScope removes an organization scope for a specific organization from a user by ID.
	RemoveUserOrganizationScope(ctx context.Context, in *RemoveUserOrganizationScopeRequest, opts ...grpc.CallOption) (*RemoveUserOrganizationScopeResponse, error)
	// RemoveUserOrganizationScopeByName removes an organization scope for a specific organization from a user by name.
	RemoveUserOrganizationScopeByName(ctx context.Context, in *RemoveUserOrganizationScopeByNameRequest, opts ...grpc.CallOption) (*RemoveUserOrganizationScopeByNameResponse, error)
	// AddUserServerScope adds a server scope for a user by ID.
	AddUserServerScope(ctx context.Context, in *AddUserServerScopeRequest, opts ...grpc.CallOption) (*AddUserServerScopeResponse, error)
	// AddUserServerScopeByName adds a server scope for a user by name.
	AddUserServerScopeByName(ctx context.Context, in *AddUserServerScopeByNameRequest, opts ...grpc.CallOption) (*AddUserServerScopeByNameResponse, error)
	// RemoveUserServerScope removes a server scope for a user by ID.
	RemoveUserServerScope(ctx context.Context, in *RemoveUserServerScopeRequest, opts ...grpc.CallOption) (*RemoveUserServerScopeResponse, error)
	// RemoveUserServerScopeByName removes a server scope for a user by name.
	RemoveUserServerScopeByName(ctx context.Context, in *RemoveUserServerScopeByNameRequest, opts ...grpc.CallOption) (*RemoveUserServerScopeByNameResponse, error)
}

UserServiceClient is the client API for UserService 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.

type UserServiceServer

type UserServiceServer interface {
	// CreateUser creates a new user with the given username.
	CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
	// GetUser gets a user by ID.
	GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
	// GetUserByUsername gets a user by username.
	GetUserByUsername(context.Context, *GetUserByUsernameRequest) (*GetUserByUsernameResponse, error)
	// ListUsers lists all users.
	ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
	// ListOrganizationUsers lists all users for an organization.
	ListOrganizationUsers(context.Context, *ListOrganizationUsersRequest) (*ListOrganizationUsersResponse, error)
	// UpdateUserUsername updates a user's username.
	UpdateUserUsername(context.Context, *UpdateUserUsernameRequest) (*UpdateUserUsernameResponse, error)
	// DeleteUser deletes a user.
	DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
	// AddUserOrganizationScope adds an organization scope for a specific organization to a user by ID.
	AddUserOrganizationScope(context.Context, *AddUserOrganizationScopeRequest) (*AddUserOrganizationScopeResponse, error)
	// AddUserOrganizationScopeByName adds an organization scope for a specific organization to a user by name.
	AddUserOrganizationScopeByName(context.Context, *AddUserOrganizationScopeByNameRequest) (*AddUserOrganizationScopeByNameResponse, error)
	// RemoveUserOrganizationScope removes an organization scope for a specific organization from a user by ID.
	RemoveUserOrganizationScope(context.Context, *RemoveUserOrganizationScopeRequest) (*RemoveUserOrganizationScopeResponse, error)
	// RemoveUserOrganizationScopeByName removes an organization scope for a specific organization from a user by name.
	RemoveUserOrganizationScopeByName(context.Context, *RemoveUserOrganizationScopeByNameRequest) (*RemoveUserOrganizationScopeByNameResponse, error)
	// AddUserServerScope adds a server scope for a user by ID.
	AddUserServerScope(context.Context, *AddUserServerScopeRequest) (*AddUserServerScopeResponse, error)
	// AddUserServerScopeByName adds a server scope for a user by name.
	AddUserServerScopeByName(context.Context, *AddUserServerScopeByNameRequest) (*AddUserServerScopeByNameResponse, error)
	// RemoveUserServerScope removes a server scope for a user by ID.
	RemoveUserServerScope(context.Context, *RemoveUserServerScopeRequest) (*RemoveUserServerScopeResponse, error)
	// RemoveUserServerScopeByName removes a server scope for a user by name.
	RemoveUserServerScopeByName(context.Context, *RemoveUserServerScopeByNameRequest) (*RemoveUserServerScopeByNameResponse, error)
}

UserServiceServer is the server API for UserService service. All implementations should embed UnimplementedUserServiceServer for forward compatibility

type Visibility

type Visibility int32
const (
	Visibility_VISIBILITY_UNSPECIFIED Visibility = 0
	Visibility_VISIBILITY_PUBLIC      Visibility = 1
	Visibility_VISIBILITY_PRIVATE     Visibility = 2
)

func (Visibility) Descriptor

func (Visibility) Descriptor() protoreflect.EnumDescriptor

func (Visibility) Enum

func (x Visibility) Enum() *Visibility

func (Visibility) EnumDescriptor deprecated

func (Visibility) EnumDescriptor() ([]byte, []int)

Deprecated: Use Visibility.Descriptor instead.

func (Visibility) Number

func (x Visibility) Number() protoreflect.EnumNumber

func (Visibility) String

func (x Visibility) String() string

func (Visibility) Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL