v1beta

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2021 License: MIT Imports: 16 Imported by: 2

Documentation

Overview

Package v1beta is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package v1beta is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var File_depscloud_api_v1beta_core_proto protoreflect.FileDescriptor
View Source
var File_depscloud_api_v1beta_manifest_proto protoreflect.FileDescriptor
View Source
var File_depscloud_api_v1beta_rpc_proto protoreflect.FileDescriptor
View Source
var LanguageService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "depscloud.api.v1beta.LanguageService",
	HandlerType: (*LanguageServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "List",
			Handler:    _LanguageService_List_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "depscloud/api/v1beta/rpc.proto",
}

LanguageService_ServiceDesc is the grpc.ServiceDesc for LanguageService 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 ManifestExtractionService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "depscloud.api.v1beta.ManifestExtractionService",
	HandlerType: (*ManifestExtractionServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Match",
			Handler:    _ManifestExtractionService_Match_Handler,
		},
		{
			MethodName: "Extract",
			Handler:    _ManifestExtractionService_Extract_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "depscloud/api/v1beta/manifest.proto",
}

ManifestExtractionService_ServiceDesc is the grpc.ServiceDesc for ManifestExtractionService 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 ManifestStorageService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "depscloud.api.v1beta.ManifestStorageService",
	HandlerType: (*ManifestStorageServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Store",
			Handler:    _ManifestStorageService_Store_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "depscloud/api/v1beta/manifest.proto",
}

ManifestStorageService_ServiceDesc is the grpc.ServiceDesc for ManifestStorageService 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 ModuleService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "depscloud.api.v1beta.ModuleService",
	HandlerType: (*ModuleServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "List",
			Handler:    _ModuleService_List_Handler,
		},
		{
			MethodName: "ListSources",
			Handler:    _ModuleService_ListSources_Handler,
		},
		{
			MethodName: "Search",
			Handler:    _ModuleService_Search_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "depscloud/api/v1beta/rpc.proto",
}

ModuleService_ServiceDesc is the grpc.ServiceDesc for ModuleService 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 SourceService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "depscloud.api.v1beta.SourceService",
	HandlerType: (*SourceServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "List",
			Handler:    _SourceService_List_Handler,
		},
		{
			MethodName: "ListModules",
			Handler:    _SourceService_ListModules_Handler,
		},
		{
			MethodName: "Search",
			Handler:    _SourceService_Search_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "depscloud/api/v1beta/rpc.proto",
}

SourceService_ServiceDesc is the grpc.ServiceDesc for SourceService 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 TraversalService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "depscloud.api.v1beta.TraversalService",
	HandlerType: (*TraversalServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetDependents",
			Handler:    _TraversalService_GetDependents_Handler,
		},
		{
			MethodName: "GetDependencies",
			Handler:    _TraversalService_GetDependencies_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Search",
			Handler:       _TraversalService_Search_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "BreadthFirstSearch",
			Handler:       _TraversalService_BreadthFirstSearch_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "DepthFirstSearch",
			Handler:       _TraversalService_DepthFirstSearch_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "depscloud/api/v1beta/rpc.proto",
}

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

Functions

func RegisterLanguageServiceHandler added in v0.3.3

func RegisterLanguageServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterLanguageServiceHandler registers the http handlers for service LanguageService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterLanguageServiceHandlerClient added in v0.3.3

func RegisterLanguageServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client LanguageServiceClient) error

RegisterLanguageServiceHandlerClient registers the http handlers for service LanguageService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "LanguageServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "LanguageServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "LanguageServiceClient" to call the correct interceptors.

func RegisterLanguageServiceHandlerFromEndpoint added in v0.3.3

func RegisterLanguageServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterLanguageServiceHandlerFromEndpoint is same as RegisterLanguageServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterLanguageServiceHandlerServer added in v0.3.3

func RegisterLanguageServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server LanguageServiceServer) error

RegisterLanguageServiceHandlerServer registers the http handlers for service LanguageService to "mux". UnaryRPC :call LanguageServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterLanguageServiceHandlerFromEndpoint instead.

func RegisterLanguageServiceServer added in v0.3.3

func RegisterLanguageServiceServer(s grpc.ServiceRegistrar, srv LanguageServiceServer)

func RegisterManifestExtractionServiceHandler

func RegisterManifestExtractionServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterManifestExtractionServiceHandler registers the http handlers for service ManifestExtractionService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterManifestExtractionServiceHandlerClient

func RegisterManifestExtractionServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ManifestExtractionServiceClient) error

RegisterManifestExtractionServiceHandlerClient registers the http handlers for service ManifestExtractionService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ManifestExtractionServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ManifestExtractionServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ManifestExtractionServiceClient" to call the correct interceptors.

func RegisterManifestExtractionServiceHandlerFromEndpoint

func RegisterManifestExtractionServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterManifestExtractionServiceHandlerFromEndpoint is same as RegisterManifestExtractionServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterManifestExtractionServiceHandlerServer

func RegisterManifestExtractionServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ManifestExtractionServiceServer) error

RegisterManifestExtractionServiceHandlerServer registers the http handlers for service ManifestExtractionService to "mux". UnaryRPC :call ManifestExtractionServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterManifestExtractionServiceHandlerFromEndpoint instead.

func RegisterManifestExtractionServiceServer

func RegisterManifestExtractionServiceServer(s grpc.ServiceRegistrar, srv ManifestExtractionServiceServer)

func RegisterManifestStorageServiceHandler

func RegisterManifestStorageServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterManifestStorageServiceHandler registers the http handlers for service ManifestStorageService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterManifestStorageServiceHandlerClient

func RegisterManifestStorageServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ManifestStorageServiceClient) error

RegisterManifestStorageServiceHandlerClient registers the http handlers for service ManifestStorageService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ManifestStorageServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ManifestStorageServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ManifestStorageServiceClient" to call the correct interceptors.

func RegisterManifestStorageServiceHandlerFromEndpoint

func RegisterManifestStorageServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterManifestStorageServiceHandlerFromEndpoint is same as RegisterManifestStorageServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterManifestStorageServiceHandlerServer

func RegisterManifestStorageServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ManifestStorageServiceServer) error

RegisterManifestStorageServiceHandlerServer registers the http handlers for service ManifestStorageService to "mux". UnaryRPC :call ManifestStorageServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterManifestStorageServiceHandlerFromEndpoint instead.

func RegisterManifestStorageServiceServer

func RegisterManifestStorageServiceServer(s grpc.ServiceRegistrar, srv ManifestStorageServiceServer)

func RegisterModuleServiceHandler

func RegisterModuleServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterModuleServiceHandler registers the http handlers for service ModuleService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterModuleServiceHandlerClient

func RegisterModuleServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ModuleServiceClient) error

RegisterModuleServiceHandlerClient registers the http handlers for service ModuleService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ModuleServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ModuleServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ModuleServiceClient" to call the correct interceptors.

func RegisterModuleServiceHandlerFromEndpoint

func RegisterModuleServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterModuleServiceHandlerFromEndpoint is same as RegisterModuleServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterModuleServiceHandlerServer

func RegisterModuleServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ModuleServiceServer) error

RegisterModuleServiceHandlerServer registers the http handlers for service ModuleService to "mux". UnaryRPC :call ModuleServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterModuleServiceHandlerFromEndpoint instead.

func RegisterModuleServiceServer

func RegisterModuleServiceServer(s grpc.ServiceRegistrar, srv ModuleServiceServer)

func RegisterSourceServiceHandler

func RegisterSourceServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterSourceServiceHandler registers the http handlers for service SourceService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterSourceServiceHandlerClient

func RegisterSourceServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SourceServiceClient) error

RegisterSourceServiceHandlerClient registers the http handlers for service SourceService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SourceServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SourceServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "SourceServiceClient" to call the correct interceptors.

func RegisterSourceServiceHandlerFromEndpoint

func RegisterSourceServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterSourceServiceHandlerFromEndpoint is same as RegisterSourceServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterSourceServiceHandlerServer

func RegisterSourceServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SourceServiceServer) error

RegisterSourceServiceHandlerServer registers the http handlers for service SourceService to "mux". UnaryRPC :call SourceServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterSourceServiceHandlerFromEndpoint instead.

func RegisterSourceServiceServer

func RegisterSourceServiceServer(s grpc.ServiceRegistrar, srv SourceServiceServer)

func RegisterTraversalServiceHandler

func RegisterTraversalServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterTraversalServiceHandler registers the http handlers for service TraversalService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterTraversalServiceHandlerClient

func RegisterTraversalServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TraversalServiceClient) error

RegisterTraversalServiceHandlerClient registers the http handlers for service TraversalService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "TraversalServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "TraversalServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "TraversalServiceClient" to call the correct interceptors.

func RegisterTraversalServiceHandlerFromEndpoint

func RegisterTraversalServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterTraversalServiceHandlerFromEndpoint is same as RegisterTraversalServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterTraversalServiceHandlerServer

func RegisterTraversalServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TraversalServiceServer) error

RegisterTraversalServiceHandlerServer registers the http handlers for service TraversalService to "mux". UnaryRPC :call TraversalServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterTraversalServiceHandlerFromEndpoint instead.

func RegisterTraversalServiceServer

func RegisterTraversalServiceServer(s grpc.ServiceRegistrar, srv TraversalServiceServer)

Types

type DependenciesResponse

type DependenciesResponse struct {
	Dependencies []*Dependency `protobuf:"bytes,1,rep,name=dependencies,proto3" json:"dependencies,omitempty"`
	// contains filtered or unexported fields
}

func (*DependenciesResponse) Descriptor deprecated

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

Deprecated: Use DependenciesResponse.ProtoReflect.Descriptor instead.

func (*DependenciesResponse) GetDependencies

func (x *DependenciesResponse) GetDependencies() []*Dependency

func (*DependenciesResponse) ProtoMessage

func (*DependenciesResponse) ProtoMessage()

func (*DependenciesResponse) ProtoReflect added in v0.3.2

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

func (*DependenciesResponse) Reset

func (x *DependenciesResponse) Reset()

func (*DependenciesResponse) String

func (x *DependenciesResponse) String() string

type Dependency

type Dependency struct {
	Module   *Module             `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
	EdgeData []*ModuleDependency `protobuf:"bytes,2,rep,name=edge_data,json=edgeData,proto3" json:"edge_data,omitempty"`
	// contains filtered or unexported fields
}

func (*Dependency) Descriptor deprecated

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

Deprecated: Use Dependency.ProtoReflect.Descriptor instead.

func (*Dependency) GetEdgeData

func (x *Dependency) GetEdgeData() []*ModuleDependency

func (*Dependency) GetModule

func (x *Dependency) GetModule() *Module

func (*Dependency) ProtoMessage

func (*Dependency) ProtoMessage()

func (*Dependency) ProtoReflect added in v0.3.2

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

func (*Dependency) Reset

func (x *Dependency) Reset()

func (*Dependency) String

func (x *Dependency) String() string

type DependentsResponse

type DependentsResponse struct {
	Dependents []*Dependency `protobuf:"bytes,1,rep,name=dependents,proto3" json:"dependents,omitempty"`
	// contains filtered or unexported fields
}

func (*DependentsResponse) Descriptor deprecated

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

Deprecated: Use DependentsResponse.ProtoReflect.Descriptor instead.

func (*DependentsResponse) GetDependents

func (x *DependentsResponse) GetDependents() []*Dependency

func (*DependentsResponse) ProtoMessage

func (*DependentsResponse) ProtoMessage()

func (*DependentsResponse) ProtoReflect added in v0.3.2

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

func (*DependentsResponse) Reset

func (x *DependentsResponse) Reset()

func (*DependentsResponse) String

func (x *DependentsResponse) String() string

type ExtractRequest

type ExtractRequest struct {
	Separator    string            `protobuf:"bytes,1,opt,name=separator,proto3" json:"separator,omitempty"`
	FileContents map[string]string `` /* 185-byte string literal not displayed */
	SourceUrl    string            `protobuf:"bytes,3,opt,name=source_url,json=sourceUrl,proto3" json:"source_url,omitempty"`
	// contains filtered or unexported fields
}

ExtractRequest encapsulates requirements for the `Extract` operation.

func (*ExtractRequest) Descriptor deprecated

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

Deprecated: Use ExtractRequest.ProtoReflect.Descriptor instead.

func (*ExtractRequest) GetFileContents

func (x *ExtractRequest) GetFileContents() map[string]string

func (*ExtractRequest) GetSeparator

func (x *ExtractRequest) GetSeparator() string

func (*ExtractRequest) GetSourceUrl added in v0.1.18

func (x *ExtractRequest) GetSourceUrl() string

func (*ExtractRequest) ProtoMessage

func (*ExtractRequest) ProtoMessage()

func (*ExtractRequest) ProtoReflect added in v0.3.2

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

func (*ExtractRequest) Reset

func (x *ExtractRequest) Reset()

func (*ExtractRequest) String

func (x *ExtractRequest) String() string

type ExtractResponse

type ExtractResponse struct {
	ManifestFiles []*ManifestFile `protobuf:"bytes,1,rep,name=manifest_files,json=manifestFiles,proto3" json:"manifest_files,omitempty"`
	// contains filtered or unexported fields
}

ExtractResponse encapsulates response data for the `Extract` operation.

func (*ExtractResponse) Descriptor deprecated

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

Deprecated: Use ExtractResponse.ProtoReflect.Descriptor instead.

func (*ExtractResponse) GetManifestFiles

func (x *ExtractResponse) GetManifestFiles() []*ManifestFile

func (*ExtractResponse) ProtoMessage

func (*ExtractResponse) ProtoMessage()

func (*ExtractResponse) ProtoReflect added in v0.3.2

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

func (*ExtractResponse) Reset

func (x *ExtractResponse) Reset()

func (*ExtractResponse) String

func (x *ExtractResponse) String() string

type Language added in v0.3.3

type Language struct {

	// The name of the programming language.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

A language represents a programming language for which we have a dependency graph.

func (*Language) Descriptor deprecated added in v0.3.3

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

Deprecated: Use Language.ProtoReflect.Descriptor instead.

func (*Language) GetName added in v0.3.3

func (x *Language) GetName() string

func (*Language) ProtoMessage added in v0.3.3

func (*Language) ProtoMessage()

func (*Language) ProtoReflect added in v0.3.3

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

func (*Language) Reset added in v0.3.3

func (x *Language) Reset()

func (*Language) String added in v0.3.3

func (x *Language) String() string

type LanguageServiceClient added in v0.3.3

type LanguageServiceClient interface {
	List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListLanguagesResponse, error)
}

LanguageServiceClient is the client API for LanguageService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewLanguageServiceClient added in v0.3.3

func NewLanguageServiceClient(cc grpc.ClientConnInterface) LanguageServiceClient

type LanguageServiceServer added in v0.3.3

type LanguageServiceServer interface {
	List(context.Context, *ListRequest) (*ListLanguagesResponse, error)
	// contains filtered or unexported methods
}

LanguageServiceServer is the server API for LanguageService service. All implementations must embed UnimplementedLanguageServiceServer for forward compatibility

type ListLanguagesResponse added in v0.3.3

type ListLanguagesResponse struct {
	NextPageToken string      `protobuf:"bytes,1,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	Languages     []*Language `protobuf:"bytes,2,rep,name=languages,proto3" json:"languages,omitempty"`
	// contains filtered or unexported fields
}

func (*ListLanguagesResponse) Descriptor deprecated added in v0.3.3

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

Deprecated: Use ListLanguagesResponse.ProtoReflect.Descriptor instead.

func (*ListLanguagesResponse) GetLanguages added in v0.3.3

func (x *ListLanguagesResponse) GetLanguages() []*Language

func (*ListLanguagesResponse) GetNextPageToken added in v0.3.3

func (x *ListLanguagesResponse) GetNextPageToken() string

func (*ListLanguagesResponse) ProtoMessage added in v0.3.3

func (*ListLanguagesResponse) ProtoMessage()

func (*ListLanguagesResponse) ProtoReflect added in v0.3.3

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

func (*ListLanguagesResponse) Reset added in v0.3.3

func (x *ListLanguagesResponse) Reset()

func (*ListLanguagesResponse) String added in v0.3.3

func (x *ListLanguagesResponse) String() string

type ListManagedModulesResponse

type ListManagedModulesResponse struct {
	Modules []*ManagedModule `protobuf:"bytes,1,rep,name=modules,proto3" json:"modules,omitempty"`
	// contains filtered or unexported fields
}

func (*ListManagedModulesResponse) Descriptor deprecated

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

Deprecated: Use ListManagedModulesResponse.ProtoReflect.Descriptor instead.

func (*ListManagedModulesResponse) GetModules

func (x *ListManagedModulesResponse) GetModules() []*ManagedModule

func (*ListManagedModulesResponse) ProtoMessage

func (*ListManagedModulesResponse) ProtoMessage()

func (*ListManagedModulesResponse) ProtoReflect added in v0.3.2

func (*ListManagedModulesResponse) Reset

func (x *ListManagedModulesResponse) Reset()

func (*ListManagedModulesResponse) String

func (x *ListManagedModulesResponse) String() string

type ListManagedSourcesResponse

type ListManagedSourcesResponse struct {
	Sources []*ManagedSource `protobuf:"bytes,1,rep,name=sources,proto3" json:"sources,omitempty"`
	// contains filtered or unexported fields
}

func (*ListManagedSourcesResponse) Descriptor deprecated

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

Deprecated: Use ListManagedSourcesResponse.ProtoReflect.Descriptor instead.

func (*ListManagedSourcesResponse) GetSources

func (x *ListManagedSourcesResponse) GetSources() []*ManagedSource

func (*ListManagedSourcesResponse) ProtoMessage

func (*ListManagedSourcesResponse) ProtoMessage()

func (*ListManagedSourcesResponse) ProtoReflect added in v0.3.2

func (*ListManagedSourcesResponse) Reset

func (x *ListManagedSourcesResponse) Reset()

func (*ListManagedSourcesResponse) String

func (x *ListManagedSourcesResponse) String() string

type ListModulesResponse

type ListModulesResponse struct {
	NextPageToken string    `protobuf:"bytes,1,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	Modules       []*Module `protobuf:"bytes,2,rep,name=modules,proto3" json:"modules,omitempty"`
	// contains filtered or unexported fields
}

func (*ListModulesResponse) Descriptor deprecated

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

Deprecated: Use ListModulesResponse.ProtoReflect.Descriptor instead.

func (*ListModulesResponse) GetModules

func (x *ListModulesResponse) GetModules() []*Module

func (*ListModulesResponse) GetNextPageToken

func (x *ListModulesResponse) GetNextPageToken() string

func (*ListModulesResponse) ProtoMessage

func (*ListModulesResponse) ProtoMessage()

func (*ListModulesResponse) ProtoReflect added in v0.3.2

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

func (*ListModulesResponse) Reset

func (x *ListModulesResponse) Reset()

func (*ListModulesResponse) String

func (x *ListModulesResponse) String() string

type ListRequest

type ListRequest struct {
	Parent    string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	PageSize  int32  `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRequest) Descriptor deprecated

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

Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.

func (*ListRequest) GetPageSize

func (x *ListRequest) GetPageSize() int32

func (*ListRequest) GetPageToken

func (x *ListRequest) GetPageToken() string

func (*ListRequest) GetParent

func (x *ListRequest) GetParent() string

func (*ListRequest) ProtoMessage

func (*ListRequest) ProtoMessage()

func (*ListRequest) ProtoReflect added in v0.3.2

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

func (*ListRequest) Reset

func (x *ListRequest) Reset()

func (*ListRequest) String

func (x *ListRequest) String() string

type ListSourcesResponse

type ListSourcesResponse struct {
	NextPageToken string    `protobuf:"bytes,1,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	Sources       []*Source `protobuf:"bytes,2,rep,name=sources,proto3" json:"sources,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSourcesResponse) Descriptor deprecated

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

Deprecated: Use ListSourcesResponse.ProtoReflect.Descriptor instead.

func (*ListSourcesResponse) GetNextPageToken

func (x *ListSourcesResponse) GetNextPageToken() string

func (*ListSourcesResponse) GetSources

func (x *ListSourcesResponse) GetSources() []*Source

func (*ListSourcesResponse) ProtoMessage

func (*ListSourcesResponse) ProtoMessage()

func (*ListSourcesResponse) ProtoReflect added in v0.3.2

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

func (*ListSourcesResponse) Reset

func (x *ListSourcesResponse) Reset()

func (*ListSourcesResponse) String

func (x *ListSourcesResponse) String() string

type ManagedModule

type ManagedModule struct {
	Module   *Module         `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
	EdgeData []*SourceModule `protobuf:"bytes,2,rep,name=edge_data,json=edgeData,proto3" json:"edge_data,omitempty"`
	// contains filtered or unexported fields
}

func (*ManagedModule) Descriptor deprecated

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

Deprecated: Use ManagedModule.ProtoReflect.Descriptor instead.

func (*ManagedModule) GetEdgeData

func (x *ManagedModule) GetEdgeData() []*SourceModule

func (*ManagedModule) GetModule

func (x *ManagedModule) GetModule() *Module

func (*ManagedModule) ProtoMessage

func (*ManagedModule) ProtoMessage()

func (*ManagedModule) ProtoReflect added in v0.3.2

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

func (*ManagedModule) Reset

func (x *ManagedModule) Reset()

func (*ManagedModule) String

func (x *ManagedModule) String() string

type ManagedSource

type ManagedSource struct {
	Source   *Source         `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	EdgeData []*SourceModule `protobuf:"bytes,2,rep,name=edge_data,json=edgeData,proto3" json:"edge_data,omitempty"`
	// contains filtered or unexported fields
}

func (*ManagedSource) Descriptor deprecated

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

Deprecated: Use ManagedSource.ProtoReflect.Descriptor instead.

func (*ManagedSource) GetEdgeData

func (x *ManagedSource) GetEdgeData() []*SourceModule

func (*ManagedSource) GetSource

func (x *ManagedSource) GetSource() *Source

func (*ManagedSource) ProtoMessage

func (*ManagedSource) ProtoMessage()

func (*ManagedSource) ProtoReflect added in v0.3.2

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

func (*ManagedSource) Reset

func (x *ManagedSource) Reset()

func (*ManagedSource) String

func (x *ManagedSource) String() string

type ManifestDependency

type ManifestDependency struct {

	// The name of the dependency.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The version constraint applied at resolution.
	VersionConstraint string `protobuf:"bytes,2,opt,name=version_constraint,json=versionConstraint,proto3" json:"version_constraint,omitempty"`
	// The scopes at which this dependency is required.
	Scopes []string `protobuf:"bytes,3,rep,name=scopes,proto3" json:"scopes,omitempty"`
	// contains filtered or unexported fields
}

func (*ManifestDependency) Descriptor deprecated

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

Deprecated: Use ManifestDependency.ProtoReflect.Descriptor instead.

func (*ManifestDependency) GetName

func (x *ManifestDependency) GetName() string

func (*ManifestDependency) GetScopes

func (x *ManifestDependency) GetScopes() []string

func (*ManifestDependency) GetVersionConstraint

func (x *ManifestDependency) GetVersionConstraint() string

func (*ManifestDependency) ProtoMessage

func (*ManifestDependency) ProtoMessage()

func (*ManifestDependency) ProtoReflect added in v0.3.2

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

func (*ManifestDependency) Reset

func (x *ManifestDependency) Reset()

func (*ManifestDependency) String

func (x *ManifestDependency) String() string

type ManifestExtractionServiceClient

type ManifestExtractionServiceClient interface {
	// Match matches files that we support extracting content from.
	Match(ctx context.Context, in *MatchRequest, opts ...grpc.CallOption) (*MatchResponse, error)
	// Extract parses supplied files and returns standard representations of manifests.
	Extract(ctx context.Context, in *ExtractRequest, opts ...grpc.CallOption) (*ExtractResponse, error)
}

ManifestExtractionServiceClient is the client API for ManifestExtractionService 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 ManifestExtractionServiceServer

type ManifestExtractionServiceServer interface {
	// Match matches files that we support extracting content from.
	Match(context.Context, *MatchRequest) (*MatchResponse, error)
	// Extract parses supplied files and returns standard representations of manifests.
	Extract(context.Context, *ExtractRequest) (*ExtractResponse, error)
	// contains filtered or unexported methods
}

ManifestExtractionServiceServer is the server API for ManifestExtractionService service. All implementations must embed UnimplementedManifestExtractionServiceServer for forward compatibility

type ManifestFile

type ManifestFile struct {

	// The language associated with the manifest file.
	Language string `protobuf:"bytes,1,opt,name=language,proto3" json:"language,omitempty"`
	// The dependency management system associated with this file.
	System string `protobuf:"bytes,2,opt,name=system,proto3" json:"system,omitempty"`
	// The identified source url from the manifest file.
	SourceUrl string `protobuf:"bytes,3,opt,name=source_url,json=sourceUrl,proto3" json:"source_url,omitempty"`
	// The name of the module associated with this manifest file.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// The version of the module represented by this manifest file.
	Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
	// The associated dependencies for this manifest file.
	Dependencies []*ManifestDependency `protobuf:"bytes,6,rep,name=dependencies,proto3" json:"dependencies,omitempty"`
	// contains filtered or unexported fields
}

ManifestFile represents a file who identifies dependencies.

func (*ManifestFile) Descriptor deprecated

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

Deprecated: Use ManifestFile.ProtoReflect.Descriptor instead.

func (*ManifestFile) GetDependencies

func (x *ManifestFile) GetDependencies() []*ManifestDependency

func (*ManifestFile) GetLanguage

func (x *ManifestFile) GetLanguage() string

func (*ManifestFile) GetName

func (x *ManifestFile) GetName() string

func (*ManifestFile) GetSourceUrl

func (x *ManifestFile) GetSourceUrl() string

func (*ManifestFile) GetSystem

func (x *ManifestFile) GetSystem() string

func (*ManifestFile) GetVersion

func (x *ManifestFile) GetVersion() string

func (*ManifestFile) ProtoMessage

func (*ManifestFile) ProtoMessage()

func (*ManifestFile) ProtoReflect added in v0.3.2

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

func (*ManifestFile) Reset

func (x *ManifestFile) Reset()

func (*ManifestFile) String

func (x *ManifestFile) String() string

type ManifestStorageServiceClient

type ManifestStorageServiceClient interface {
	// Store accepts information about discovered manifest files and persists them.
	Store(ctx context.Context, in *StoreRequest, opts ...grpc.CallOption) (*StoreResponse, error)
}

ManifestStorageServiceClient is the client API for ManifestStorageService 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 ManifestStorageServiceServer

type ManifestStorageServiceServer interface {
	// Store accepts information about discovered manifest files and persists them.
	Store(context.Context, *StoreRequest) (*StoreResponse, error)
	// contains filtered or unexported methods
}

ManifestStorageServiceServer is the server API for ManifestStorageService service. All implementations must embed UnimplementedManifestStorageServiceServer for forward compatibility

type MatchRequest

type MatchRequest struct {
	Separator string   `protobuf:"bytes,1,opt,name=separator,proto3" json:"separator,omitempty"`
	Paths     []string `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"`
	// contains filtered or unexported fields
}

MatchRequest encapsulates requirements for the `Match` operation.

func (*MatchRequest) Descriptor deprecated

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

Deprecated: Use MatchRequest.ProtoReflect.Descriptor instead.

func (*MatchRequest) GetPaths

func (x *MatchRequest) GetPaths() []string

func (*MatchRequest) GetSeparator

func (x *MatchRequest) GetSeparator() string

func (*MatchRequest) ProtoMessage

func (*MatchRequest) ProtoMessage()

func (*MatchRequest) ProtoReflect added in v0.3.2

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

func (*MatchRequest) Reset

func (x *MatchRequest) Reset()

func (*MatchRequest) String

func (x *MatchRequest) String() string

type MatchResponse

type MatchResponse struct {
	MatchedPaths []string `protobuf:"bytes,1,rep,name=matched_paths,json=matchedPaths,proto3" json:"matched_paths,omitempty"`
	// contains filtered or unexported fields
}

MatchResponse encapsulates response data for the `Match` operation.

func (*MatchResponse) Descriptor deprecated

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

Deprecated: Use MatchResponse.ProtoReflect.Descriptor instead.

func (*MatchResponse) GetMatchedPaths

func (x *MatchResponse) GetMatchedPaths() []string

func (*MatchResponse) ProtoMessage

func (*MatchResponse) ProtoMessage()

func (*MatchResponse) ProtoReflect added in v0.3.2

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

func (*MatchResponse) Reset

func (x *MatchResponse) Reset()

func (*MatchResponse) String

func (x *MatchResponse) String() string

type Module

type Module struct {

	// The language associated with the module.
	Language string `protobuf:"bytes,1,opt,name=language,proto3" json:"language,omitempty"`
	// The name of the application or library.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Labels contain additional metadata about the entity
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

A module in depscloud is a generic representation of an application or library.

func (*Module) Descriptor deprecated

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

Deprecated: Use Module.ProtoReflect.Descriptor instead.

func (*Module) GetLabels

func (x *Module) GetLabels() map[string]string

func (*Module) GetLanguage

func (x *Module) GetLanguage() string

func (*Module) GetName

func (x *Module) GetName() string

func (*Module) ProtoMessage

func (*Module) ProtoMessage()

func (*Module) ProtoReflect added in v0.3.2

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

func (*Module) Reset

func (x *Module) Reset()

func (*Module) String

func (x *Module) String() string

type ModuleDependency

type ModuleDependency struct {

	// A reference to the associated dependent module (version or branch).
	Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
	// The version constraint defined by the project.
	VersionConstraint string `protobuf:"bytes,2,opt,name=version_constraint,json=versionConstraint,proto3" json:"version_constraint,omitempty"`
	// The scopes at which the requested module is needed.
	Scopes []string `protobuf:"bytes,3,rep,name=scopes,proto3" json:"scopes,omitempty"`
	// Labels contain additional metadata about the entity
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

ModuleDependency describes the relationship between two modules. Because of this circular relationship, traditional database modeling is difficult.

func (*ModuleDependency) Descriptor deprecated

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

Deprecated: Use ModuleDependency.ProtoReflect.Descriptor instead.

func (*ModuleDependency) GetLabels

func (x *ModuleDependency) GetLabels() map[string]string

func (*ModuleDependency) GetRef added in v0.1.15

func (x *ModuleDependency) GetRef() string

func (*ModuleDependency) GetScopes

func (x *ModuleDependency) GetScopes() []string

func (*ModuleDependency) GetVersionConstraint

func (x *ModuleDependency) GetVersionConstraint() string

func (*ModuleDependency) ProtoMessage

func (*ModuleDependency) ProtoMessage()

func (*ModuleDependency) ProtoReflect added in v0.3.2

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

func (*ModuleDependency) Reset

func (x *ModuleDependency) Reset()

func (*ModuleDependency) String

func (x *ModuleDependency) String() string

type ModuleServiceClient

type ModuleServiceClient interface {
	List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListModulesResponse, error)
	ListSources(ctx context.Context, in *ManagedModule, opts ...grpc.CallOption) (*ListManagedSourcesResponse, error)
	Search(ctx context.Context, in *ModulesSearchRequest, opts ...grpc.CallOption) (*ListModulesResponse, error)
}

ModuleServiceClient is the client API for ModuleService 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 ModuleServiceServer

type ModuleServiceServer interface {
	List(context.Context, *ListRequest) (*ListModulesResponse, error)
	ListSources(context.Context, *ManagedModule) (*ListManagedSourcesResponse, error)
	Search(context.Context, *ModulesSearchRequest) (*ListModulesResponse, error)
	// contains filtered or unexported methods
}

ModuleServiceServer is the server API for ModuleService service. All implementations must embed UnimplementedModuleServiceServer for forward compatibility

type ModulesSearchRequest added in v0.3.3

type ModulesSearchRequest struct {
	Parent    string  `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	PageSize  int32   `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken string  `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	Like      *Module `protobuf:"bytes,4,opt,name=like,proto3" json:"like,omitempty"`
	// contains filtered or unexported fields
}

func (*ModulesSearchRequest) Descriptor deprecated added in v0.3.3

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

Deprecated: Use ModulesSearchRequest.ProtoReflect.Descriptor instead.

func (*ModulesSearchRequest) GetLike added in v0.3.3

func (x *ModulesSearchRequest) GetLike() *Module

func (*ModulesSearchRequest) GetPageSize added in v0.3.3

func (x *ModulesSearchRequest) GetPageSize() int32

func (*ModulesSearchRequest) GetPageToken added in v0.3.3

func (x *ModulesSearchRequest) GetPageToken() string

func (*ModulesSearchRequest) GetParent added in v0.3.3

func (x *ModulesSearchRequest) GetParent() string

func (*ModulesSearchRequest) ProtoMessage added in v0.3.3

func (*ModulesSearchRequest) ProtoMessage()

func (*ModulesSearchRequest) ProtoReflect added in v0.3.3

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

func (*ModulesSearchRequest) Reset added in v0.3.3

func (x *ModulesSearchRequest) Reset()

func (*ModulesSearchRequest) String added in v0.3.3

func (x *ModulesSearchRequest) String() string

type ProviderURL

type ProviderURL struct {
	Provider  string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`   // gitlab
	Host      string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`           // gitlab.corp.net || gitlab.com
	Path      string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`           // /{group}/{repo}[/{path}]
	Reference string `protobuf:"bytes,4,opt,name=reference,proto3" json:"reference,omitempty"` // main
	// contains filtered or unexported fields
}

ProviderURL is a specifically formatted URI to create standard a standard representation for a source. The following shows example ProviderURL:

# General Format
- {provider}://{host}{path}#{reference}
# VCS Integrations
- github:///depscloud/tracker#main
- github://github.deps.cloud/oss/tracker#main
- gitlab:///depscloud/terraform#main
- gitlab://gitlab.deps.cloud/infra/terraform#main
- bitbucket:///depscloud/test#main
# Artifactory Integrations
- jfrog://jfrog.deps.cloud/oss/tracker#0.2.19
- nexus3://nexus3.deps.cloud/oss/tracker#0.2.19

func (*ProviderURL) Descriptor deprecated

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

Deprecated: Use ProviderURL.ProtoReflect.Descriptor instead.

func (*ProviderURL) GetHost

func (x *ProviderURL) GetHost() string

func (*ProviderURL) GetPath

func (x *ProviderURL) GetPath() string

func (*ProviderURL) GetProvider

func (x *ProviderURL) GetProvider() string

func (*ProviderURL) GetReference

func (x *ProviderURL) GetReference() string

func (*ProviderURL) ProtoMessage

func (*ProviderURL) ProtoMessage()

func (*ProviderURL) ProtoReflect added in v0.3.2

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

func (*ProviderURL) Reset

func (x *ProviderURL) Reset()

func (*ProviderURL) String

func (x *ProviderURL) String() string

type SearchRequest

type SearchRequest struct {
	Cancel          bool           `protobuf:"varint,1,opt,name=cancel,proto3" json:"cancel,omitempty"`
	ModulesFor      *ManagedSource `protobuf:"bytes,5,opt,name=modules_for,json=modulesFor,proto3" json:"modules_for,omitempty"`
	DependenciesFor *Dependency    `protobuf:"bytes,6,opt,name=dependencies_for,json=dependenciesFor,proto3" json:"dependencies_for,omitempty"`
	DependentsOf    *Dependency    `protobuf:"bytes,7,opt,name=dependents_of,json=dependentsOf,proto3" json:"dependents_of,omitempty"`
	SourcesOf       *ManagedModule `protobuf:"bytes,8,opt,name=sources_of,json=sourcesOf,proto3" json:"sources_of,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchRequest) Descriptor deprecated

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

Deprecated: Use SearchRequest.ProtoReflect.Descriptor instead.

func (*SearchRequest) GetCancel

func (x *SearchRequest) GetCancel() bool

func (*SearchRequest) GetDependenciesFor

func (x *SearchRequest) GetDependenciesFor() *Dependency

func (*SearchRequest) GetDependentsOf

func (x *SearchRequest) GetDependentsOf() *Dependency

func (*SearchRequest) GetModulesFor

func (x *SearchRequest) GetModulesFor() *ManagedSource

func (*SearchRequest) GetSourcesOf

func (x *SearchRequest) GetSourcesOf() *ManagedModule

func (*SearchRequest) ProtoMessage

func (*SearchRequest) ProtoMessage()

func (*SearchRequest) ProtoReflect added in v0.3.2

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

func (*SearchRequest) Reset

func (x *SearchRequest) Reset()

func (*SearchRequest) String

func (x *SearchRequest) String() string

type SearchResponse

type SearchResponse struct {
	Request      *SearchRequest   `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
	Modules      []*ManagedModule `protobuf:"bytes,5,rep,name=modules,proto3" json:"modules,omitempty"`
	Dependencies []*Dependency    `protobuf:"bytes,6,rep,name=dependencies,proto3" json:"dependencies,omitempty"`
	Dependents   []*Dependency    `protobuf:"bytes,7,rep,name=dependents,proto3" json:"dependents,omitempty"`
	Sources      []*ManagedSource `protobuf:"bytes,8,rep,name=sources,proto3" json:"sources,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchResponse) Descriptor deprecated

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

Deprecated: Use SearchResponse.ProtoReflect.Descriptor instead.

func (*SearchResponse) GetDependencies

func (x *SearchResponse) GetDependencies() []*Dependency

func (*SearchResponse) GetDependents

func (x *SearchResponse) GetDependents() []*Dependency

func (*SearchResponse) GetModules

func (x *SearchResponse) GetModules() []*ManagedModule

func (*SearchResponse) GetRequest

func (x *SearchResponse) GetRequest() *SearchRequest

func (*SearchResponse) GetSources

func (x *SearchResponse) GetSources() []*ManagedSource

func (*SearchResponse) ProtoMessage

func (*SearchResponse) ProtoMessage()

func (*SearchResponse) ProtoReflect added in v0.3.2

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

func (*SearchResponse) Reset

func (x *SearchResponse) Reset()

func (*SearchResponse) String

func (x *SearchResponse) String() string

type Source

type Source struct {

	// The kind of source, typically repository or artifactory. This was kept
	// separate from the URL as systems like GitHub and GitLab offer some
	// artifact support.
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// A string formatted ProviderURL.
	Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// Labels contain additional metadata about the entity
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

A source in depscloud represents an origin for information. This includes, but is not limited to, repositories and artifactories.

func (*Source) Descriptor deprecated

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

Deprecated: Use Source.ProtoReflect.Descriptor instead.

func (*Source) GetKind

func (x *Source) GetKind() string

func (*Source) GetLabels

func (x *Source) GetLabels() map[string]string

func (*Source) GetUrl

func (x *Source) GetUrl() string

func (*Source) ProtoMessage

func (*Source) ProtoMessage()

func (*Source) ProtoReflect added in v0.3.2

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

func (*Source) Reset

func (x *Source) Reset()

func (*Source) String

func (x *Source) String() string

type SourceModule

type SourceModule struct {

	// The version associated with the module.
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// The system used to manage dependencies for the target module.
	System string `protobuf:"bytes,2,opt,name=system,proto3" json:"system,omitempty"`
	// Labels contain additional metadata about the association
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

SourceModule describes the relationship between a project and a module.

func (*SourceModule) Descriptor deprecated

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

Deprecated: Use SourceModule.ProtoReflect.Descriptor instead.

func (*SourceModule) GetLabels

func (x *SourceModule) GetLabels() map[string]string

func (*SourceModule) GetSystem

func (x *SourceModule) GetSystem() string

func (*SourceModule) GetVersion

func (x *SourceModule) GetVersion() string

func (*SourceModule) ProtoMessage

func (*SourceModule) ProtoMessage()

func (*SourceModule) ProtoReflect added in v0.3.2

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

func (*SourceModule) Reset

func (x *SourceModule) Reset()

func (*SourceModule) String

func (x *SourceModule) String() string

type SourceServiceClient

type SourceServiceClient interface {
	List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListSourcesResponse, error)
	ListModules(ctx context.Context, in *ManagedSource, opts ...grpc.CallOption) (*ListManagedModulesResponse, error)
	Search(ctx context.Context, in *SourcesSearchRequest, opts ...grpc.CallOption) (*ListSourcesResponse, error)
}

SourceServiceClient is the client API for SourceService 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 SourceServiceServer

type SourceServiceServer interface {
	List(context.Context, *ListRequest) (*ListSourcesResponse, error)
	ListModules(context.Context, *ManagedSource) (*ListManagedModulesResponse, error)
	Search(context.Context, *SourcesSearchRequest) (*ListSourcesResponse, error)
	// contains filtered or unexported methods
}

SourceServiceServer is the server API for SourceService service. All implementations must embed UnimplementedSourceServiceServer for forward compatibility

type SourcesSearchRequest added in v0.3.3

type SourcesSearchRequest struct {
	Parent    string  `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	PageSize  int32   `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken string  `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	Like      *Source `protobuf:"bytes,4,opt,name=like,proto3" json:"like,omitempty"`
	// contains filtered or unexported fields
}

func (*SourcesSearchRequest) Descriptor deprecated added in v0.3.3

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

Deprecated: Use SourcesSearchRequest.ProtoReflect.Descriptor instead.

func (*SourcesSearchRequest) GetLike added in v0.3.3

func (x *SourcesSearchRequest) GetLike() *Source

func (*SourcesSearchRequest) GetPageSize added in v0.3.3

func (x *SourcesSearchRequest) GetPageSize() int32

func (*SourcesSearchRequest) GetPageToken added in v0.3.3

func (x *SourcesSearchRequest) GetPageToken() string

func (*SourcesSearchRequest) GetParent added in v0.3.3

func (x *SourcesSearchRequest) GetParent() string

func (*SourcesSearchRequest) ProtoMessage added in v0.3.3

func (*SourcesSearchRequest) ProtoMessage()

func (*SourcesSearchRequest) ProtoReflect added in v0.3.3

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

func (*SourcesSearchRequest) Reset added in v0.3.3

func (x *SourcesSearchRequest) Reset()

func (*SourcesSearchRequest) String added in v0.3.3

func (x *SourcesSearchRequest) String() string

type StoreRequest

type StoreRequest struct {
	Url           string          `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Ref           string          `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"`
	Kind          string          `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"`
	ManifestFiles []*ManifestFile `protobuf:"bytes,4,rep,name=manifest_files,json=manifestFiles,proto3" json:"manifest_files,omitempty"`
	// contains filtered or unexported fields
}

StoreRequest stores information about manifest files.

func (*StoreRequest) Descriptor deprecated

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

Deprecated: Use StoreRequest.ProtoReflect.Descriptor instead.

func (*StoreRequest) GetKind

func (x *StoreRequest) GetKind() string

func (*StoreRequest) GetManifestFiles

func (x *StoreRequest) GetManifestFiles() []*ManifestFile

func (*StoreRequest) GetRef

func (x *StoreRequest) GetRef() string

func (*StoreRequest) GetUrl

func (x *StoreRequest) GetUrl() string

func (*StoreRequest) ProtoMessage

func (*StoreRequest) ProtoMessage()

func (*StoreRequest) ProtoReflect added in v0.3.2

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

func (*StoreRequest) Reset

func (x *StoreRequest) Reset()

func (*StoreRequest) String

func (x *StoreRequest) String() string

type StoreResponse

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

StoreResponse encapsulates any response data from the `Store` operation.

func (*StoreResponse) Descriptor deprecated

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

Deprecated: Use StoreResponse.ProtoReflect.Descriptor instead.

func (*StoreResponse) ProtoMessage

func (*StoreResponse) ProtoMessage()

func (*StoreResponse) ProtoReflect added in v0.3.2

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

func (*StoreResponse) Reset

func (x *StoreResponse) Reset()

func (*StoreResponse) String

func (x *StoreResponse) String() string

type TraversalServiceClient

type TraversalServiceClient interface {
	GetDependents(ctx context.Context, in *Dependency, opts ...grpc.CallOption) (*DependentsResponse, error)
	GetDependencies(ctx context.Context, in *Dependency, opts ...grpc.CallOption) (*DependenciesResponse, error)
	Search(ctx context.Context, opts ...grpc.CallOption) (TraversalService_SearchClient, error)
	BreadthFirstSearch(ctx context.Context, opts ...grpc.CallOption) (TraversalService_BreadthFirstSearchClient, error)
	DepthFirstSearch(ctx context.Context, opts ...grpc.CallOption) (TraversalService_DepthFirstSearchClient, error)
}

TraversalServiceClient is the client API for TraversalService 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 TraversalServiceServer

type TraversalServiceServer interface {
	GetDependents(context.Context, *Dependency) (*DependentsResponse, error)
	GetDependencies(context.Context, *Dependency) (*DependenciesResponse, error)
	Search(TraversalService_SearchServer) error
	BreadthFirstSearch(TraversalService_BreadthFirstSearchServer) error
	DepthFirstSearch(TraversalService_DepthFirstSearchServer) error
	// contains filtered or unexported methods
}

TraversalServiceServer is the server API for TraversalService service. All implementations must embed UnimplementedTraversalServiceServer for forward compatibility

type TraversalService_BreadthFirstSearchClient

type TraversalService_BreadthFirstSearchClient interface {
	Send(*SearchRequest) error
	Recv() (*SearchResponse, error)
	grpc.ClientStream
}

type TraversalService_BreadthFirstSearchServer

type TraversalService_BreadthFirstSearchServer interface {
	Send(*SearchResponse) error
	Recv() (*SearchRequest, error)
	grpc.ServerStream
}

type TraversalService_DepthFirstSearchClient

type TraversalService_DepthFirstSearchClient interface {
	Send(*SearchRequest) error
	Recv() (*SearchResponse, error)
	grpc.ClientStream
}

type TraversalService_DepthFirstSearchServer

type TraversalService_DepthFirstSearchServer interface {
	Send(*SearchResponse) error
	Recv() (*SearchRequest, error)
	grpc.ServerStream
}

type TraversalService_SearchClient

type TraversalService_SearchClient interface {
	Send(*SearchRequest) error
	Recv() (*SearchResponse, error)
	grpc.ClientStream
}

type TraversalService_SearchServer

type TraversalService_SearchServer interface {
	Send(*SearchResponse) error
	Recv() (*SearchRequest, error)
	grpc.ServerStream
}

type UnimplementedLanguageServiceServer added in v0.3.3

type UnimplementedLanguageServiceServer struct {
}

UnimplementedLanguageServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedLanguageServiceServer) List added in v0.3.3

type UnimplementedManifestExtractionServiceServer

type UnimplementedManifestExtractionServiceServer struct {
}

UnimplementedManifestExtractionServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedManifestExtractionServiceServer) Extract

func (UnimplementedManifestExtractionServiceServer) Match

type UnimplementedManifestStorageServiceServer

type UnimplementedManifestStorageServiceServer struct {
}

UnimplementedManifestStorageServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedManifestStorageServiceServer) Store

type UnimplementedModuleServiceServer

type UnimplementedModuleServiceServer struct {
}

UnimplementedModuleServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedModuleServiceServer) List

func (UnimplementedModuleServiceServer) ListSources

func (UnimplementedModuleServiceServer) Search added in v0.3.3

type UnimplementedSourceServiceServer

type UnimplementedSourceServiceServer struct {
}

UnimplementedSourceServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedSourceServiceServer) List

func (UnimplementedSourceServiceServer) ListModules

func (UnimplementedSourceServiceServer) Search added in v0.3.3

type UnimplementedTraversalServiceServer

type UnimplementedTraversalServiceServer struct {
}

UnimplementedTraversalServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedTraversalServiceServer) BreadthFirstSearch

func (UnimplementedTraversalServiceServer) DepthFirstSearch

func (UnimplementedTraversalServiceServer) GetDependencies

func (UnimplementedTraversalServiceServer) GetDependents

func (UnimplementedTraversalServiceServer) Search

type UnsafeLanguageServiceServer added in v0.3.3

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

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

type UnsafeManifestExtractionServiceServer added in v0.3.2

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

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

type UnsafeManifestStorageServiceServer added in v0.3.2

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

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

type UnsafeModuleServiceServer added in v0.3.2

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

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

type UnsafeSourceServiceServer added in v0.3.2

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

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

type UnsafeTraversalServiceServer added in v0.3.2

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

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

Directories

Path Synopsis
Package graphstore is a reverse proxy.
Package graphstore is a reverse proxy.

Jump to

Keyboard shortcuts

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