v1beta

package
v0.1.14 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2020 License: MIT Imports: 14 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

This section is empty.

Functions

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 (such as grpc.SendHeader, etc) to stop working. Consider using RegisterManifestExtractionServiceHandlerFromEndpoint instead.

func RegisterManifestExtractionServiceServer

func RegisterManifestExtractionServiceServer(s *grpc.Server, 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 (such as grpc.SendHeader, etc) to stop working. Consider using RegisterManifestStorageServiceHandlerFromEndpoint instead.

func RegisterManifestStorageServiceServer

func RegisterManifestStorageServiceServer(s *grpc.Server, 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 (such as grpc.SendHeader, etc) to stop working. Consider using RegisterModuleServiceHandlerFromEndpoint instead.

func RegisterModuleServiceServer

func RegisterModuleServiceServer(s *grpc.Server, 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 (such as grpc.SendHeader, etc) to stop working. Consider using RegisterSourceServiceHandlerFromEndpoint instead.

func RegisterSourceServiceServer

func RegisterSourceServiceServer(s *grpc.Server, 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 (such as grpc.SendHeader, etc) to stop working. Consider using RegisterTraversalServiceHandlerFromEndpoint instead.

func RegisterTraversalServiceServer

func RegisterTraversalServiceServer(s *grpc.Server, srv TraversalServiceServer)

Types

type DependenciesResponse

type DependenciesResponse struct {
	Dependencies         []*Dependency `protobuf:"bytes,1,rep,name=dependencies,proto3" json:"dependencies,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*DependenciesResponse) Descriptor

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

func (*DependenciesResponse) GetDependencies

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

func (*DependenciesResponse) ProtoMessage

func (*DependenciesResponse) ProtoMessage()

func (*DependenciesResponse) Reset

func (m *DependenciesResponse) Reset()

func (*DependenciesResponse) String

func (m *DependenciesResponse) String() string

func (*DependenciesResponse) XXX_DiscardUnknown

func (m *DependenciesResponse) XXX_DiscardUnknown()

func (*DependenciesResponse) XXX_Marshal

func (m *DependenciesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DependenciesResponse) XXX_Merge

func (m *DependenciesResponse) XXX_Merge(src proto.Message)

func (*DependenciesResponse) XXX_Size

func (m *DependenciesResponse) XXX_Size() int

func (*DependenciesResponse) XXX_Unmarshal

func (m *DependenciesResponse) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*Dependency) Descriptor

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

func (*Dependency) GetEdgeData

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

func (*Dependency) GetModule

func (m *Dependency) GetModule() *Module

func (*Dependency) ProtoMessage

func (*Dependency) ProtoMessage()

func (*Dependency) Reset

func (m *Dependency) Reset()

func (*Dependency) String

func (m *Dependency) String() string

func (*Dependency) XXX_DiscardUnknown

func (m *Dependency) XXX_DiscardUnknown()

func (*Dependency) XXX_Marshal

func (m *Dependency) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Dependency) XXX_Merge

func (m *Dependency) XXX_Merge(src proto.Message)

func (*Dependency) XXX_Size

func (m *Dependency) XXX_Size() int

func (*Dependency) XXX_Unmarshal

func (m *Dependency) XXX_Unmarshal(b []byte) error

type DependentsResponse

type DependentsResponse struct {
	Dependents           []*Dependency `protobuf:"bytes,1,rep,name=dependents,proto3" json:"dependents,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*DependentsResponse) Descriptor

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

func (*DependentsResponse) GetDependents

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

func (*DependentsResponse) ProtoMessage

func (*DependentsResponse) ProtoMessage()

func (*DependentsResponse) Reset

func (m *DependentsResponse) Reset()

func (*DependentsResponse) String

func (m *DependentsResponse) String() string

func (*DependentsResponse) XXX_DiscardUnknown

func (m *DependentsResponse) XXX_DiscardUnknown()

func (*DependentsResponse) XXX_Marshal

func (m *DependentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DependentsResponse) XXX_Merge

func (m *DependentsResponse) XXX_Merge(src proto.Message)

func (*DependentsResponse) XXX_Size

func (m *DependentsResponse) XXX_Size() int

func (*DependentsResponse) XXX_Unmarshal

func (m *DependentsResponse) XXX_Unmarshal(b []byte) error

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 */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

ExtractRequest encapsulates requirements for the `Extract` operation.

func (*ExtractRequest) Descriptor

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

func (*ExtractRequest) GetFileContents

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

func (*ExtractRequest) GetSeparator

func (m *ExtractRequest) GetSeparator() string

func (*ExtractRequest) ProtoMessage

func (*ExtractRequest) ProtoMessage()

func (*ExtractRequest) Reset

func (m *ExtractRequest) Reset()

func (*ExtractRequest) String

func (m *ExtractRequest) String() string

func (*ExtractRequest) XXX_DiscardUnknown

func (m *ExtractRequest) XXX_DiscardUnknown()

func (*ExtractRequest) XXX_Marshal

func (m *ExtractRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExtractRequest) XXX_Merge

func (m *ExtractRequest) XXX_Merge(src proto.Message)

func (*ExtractRequest) XXX_Size

func (m *ExtractRequest) XXX_Size() int

func (*ExtractRequest) XXX_Unmarshal

func (m *ExtractRequest) XXX_Unmarshal(b []byte) error

type ExtractResponse

type ExtractResponse struct {
	ManifestFiles        []*ManifestFile `protobuf:"bytes,1,rep,name=manifest_files,json=manifestFiles,proto3" json:"manifest_files,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

ExtractResponse encapsulates response data for the `Extract` operation.

func (*ExtractResponse) Descriptor

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

func (*ExtractResponse) GetManifestFiles

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

func (*ExtractResponse) ProtoMessage

func (*ExtractResponse) ProtoMessage()

func (*ExtractResponse) Reset

func (m *ExtractResponse) Reset()

func (*ExtractResponse) String

func (m *ExtractResponse) String() string

func (*ExtractResponse) XXX_DiscardUnknown

func (m *ExtractResponse) XXX_DiscardUnknown()

func (*ExtractResponse) XXX_Marshal

func (m *ExtractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExtractResponse) XXX_Merge

func (m *ExtractResponse) XXX_Merge(src proto.Message)

func (*ExtractResponse) XXX_Size

func (m *ExtractResponse) XXX_Size() int

func (*ExtractResponse) XXX_Unmarshal

func (m *ExtractResponse) XXX_Unmarshal(b []byte) error

type ListManagedModulesResponse

type ListManagedModulesResponse struct {
	Modules              []*ManagedModule `protobuf:"bytes,1,rep,name=modules,proto3" json:"modules,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*ListManagedModulesResponse) Descriptor

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

func (*ListManagedModulesResponse) GetModules

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

func (*ListManagedModulesResponse) ProtoMessage

func (*ListManagedModulesResponse) ProtoMessage()

func (*ListManagedModulesResponse) Reset

func (m *ListManagedModulesResponse) Reset()

func (*ListManagedModulesResponse) String

func (m *ListManagedModulesResponse) String() string

func (*ListManagedModulesResponse) XXX_DiscardUnknown

func (m *ListManagedModulesResponse) XXX_DiscardUnknown()

func (*ListManagedModulesResponse) XXX_Marshal

func (m *ListManagedModulesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListManagedModulesResponse) XXX_Merge

func (m *ListManagedModulesResponse) XXX_Merge(src proto.Message)

func (*ListManagedModulesResponse) XXX_Size

func (m *ListManagedModulesResponse) XXX_Size() int

func (*ListManagedModulesResponse) XXX_Unmarshal

func (m *ListManagedModulesResponse) XXX_Unmarshal(b []byte) error

type ListManagedSourcesResponse

type ListManagedSourcesResponse struct {
	Sources              []*ManagedSource `protobuf:"bytes,1,rep,name=sources,proto3" json:"sources,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*ListManagedSourcesResponse) Descriptor

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

func (*ListManagedSourcesResponse) GetSources

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

func (*ListManagedSourcesResponse) ProtoMessage

func (*ListManagedSourcesResponse) ProtoMessage()

func (*ListManagedSourcesResponse) Reset

func (m *ListManagedSourcesResponse) Reset()

func (*ListManagedSourcesResponse) String

func (m *ListManagedSourcesResponse) String() string

func (*ListManagedSourcesResponse) XXX_DiscardUnknown

func (m *ListManagedSourcesResponse) XXX_DiscardUnknown()

func (*ListManagedSourcesResponse) XXX_Marshal

func (m *ListManagedSourcesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListManagedSourcesResponse) XXX_Merge

func (m *ListManagedSourcesResponse) XXX_Merge(src proto.Message)

func (*ListManagedSourcesResponse) XXX_Size

func (m *ListManagedSourcesResponse) XXX_Size() int

func (*ListManagedSourcesResponse) XXX_Unmarshal

func (m *ListManagedSourcesResponse) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*ListModulesResponse) Descriptor

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

func (*ListModulesResponse) GetModules

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

func (*ListModulesResponse) GetNextPageToken

func (m *ListModulesResponse) GetNextPageToken() string

func (*ListModulesResponse) ProtoMessage

func (*ListModulesResponse) ProtoMessage()

func (*ListModulesResponse) Reset

func (m *ListModulesResponse) Reset()

func (*ListModulesResponse) String

func (m *ListModulesResponse) String() string

func (*ListModulesResponse) XXX_DiscardUnknown

func (m *ListModulesResponse) XXX_DiscardUnknown()

func (*ListModulesResponse) XXX_Marshal

func (m *ListModulesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListModulesResponse) XXX_Merge

func (m *ListModulesResponse) XXX_Merge(src proto.Message)

func (*ListModulesResponse) XXX_Size

func (m *ListModulesResponse) XXX_Size() int

func (*ListModulesResponse) XXX_Unmarshal

func (m *ListModulesResponse) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListRequest) Descriptor

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

func (*ListRequest) GetPageSize

func (m *ListRequest) GetPageSize() int32

func (*ListRequest) GetPageToken

func (m *ListRequest) GetPageToken() string

func (*ListRequest) GetParent

func (m *ListRequest) GetParent() string

func (*ListRequest) ProtoMessage

func (*ListRequest) ProtoMessage()

func (*ListRequest) Reset

func (m *ListRequest) Reset()

func (*ListRequest) String

func (m *ListRequest) String() string

func (*ListRequest) XXX_DiscardUnknown

func (m *ListRequest) XXX_DiscardUnknown()

func (*ListRequest) XXX_Marshal

func (m *ListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListRequest) XXX_Merge

func (m *ListRequest) XXX_Merge(src proto.Message)

func (*ListRequest) XXX_Size

func (m *ListRequest) XXX_Size() int

func (*ListRequest) XXX_Unmarshal

func (m *ListRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*ListSourcesResponse) Descriptor

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

func (*ListSourcesResponse) GetNextPageToken

func (m *ListSourcesResponse) GetNextPageToken() string

func (*ListSourcesResponse) GetSources

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

func (*ListSourcesResponse) ProtoMessage

func (*ListSourcesResponse) ProtoMessage()

func (*ListSourcesResponse) Reset

func (m *ListSourcesResponse) Reset()

func (*ListSourcesResponse) String

func (m *ListSourcesResponse) String() string

func (*ListSourcesResponse) XXX_DiscardUnknown

func (m *ListSourcesResponse) XXX_DiscardUnknown()

func (*ListSourcesResponse) XXX_Marshal

func (m *ListSourcesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListSourcesResponse) XXX_Merge

func (m *ListSourcesResponse) XXX_Merge(src proto.Message)

func (*ListSourcesResponse) XXX_Size

func (m *ListSourcesResponse) XXX_Size() int

func (*ListSourcesResponse) XXX_Unmarshal

func (m *ListSourcesResponse) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*ManagedModule) Descriptor

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

func (*ManagedModule) GetEdgeData

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

func (*ManagedModule) GetModule

func (m *ManagedModule) GetModule() *Module

func (*ManagedModule) ProtoMessage

func (*ManagedModule) ProtoMessage()

func (*ManagedModule) Reset

func (m *ManagedModule) Reset()

func (*ManagedModule) String

func (m *ManagedModule) String() string

func (*ManagedModule) XXX_DiscardUnknown

func (m *ManagedModule) XXX_DiscardUnknown()

func (*ManagedModule) XXX_Marshal

func (m *ManagedModule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ManagedModule) XXX_Merge

func (m *ManagedModule) XXX_Merge(src proto.Message)

func (*ManagedModule) XXX_Size

func (m *ManagedModule) XXX_Size() int

func (*ManagedModule) XXX_Unmarshal

func (m *ManagedModule) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*ManagedSource) Descriptor

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

func (*ManagedSource) GetEdgeData

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

func (*ManagedSource) GetSource

func (m *ManagedSource) GetSource() *Source

func (*ManagedSource) ProtoMessage

func (*ManagedSource) ProtoMessage()

func (*ManagedSource) Reset

func (m *ManagedSource) Reset()

func (*ManagedSource) String

func (m *ManagedSource) String() string

func (*ManagedSource) XXX_DiscardUnknown

func (m *ManagedSource) XXX_DiscardUnknown()

func (*ManagedSource) XXX_Marshal

func (m *ManagedSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ManagedSource) XXX_Merge

func (m *ManagedSource) XXX_Merge(src proto.Message)

func (*ManagedSource) XXX_Size

func (m *ManagedSource) XXX_Size() int

func (*ManagedSource) XXX_Unmarshal

func (m *ManagedSource) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ManifestDependency) Descriptor

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

func (*ManifestDependency) GetName

func (m *ManifestDependency) GetName() string

func (*ManifestDependency) GetScopes

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

func (*ManifestDependency) GetVersionConstraint

func (m *ManifestDependency) GetVersionConstraint() string

func (*ManifestDependency) ProtoMessage

func (*ManifestDependency) ProtoMessage()

func (*ManifestDependency) Reset

func (m *ManifestDependency) Reset()

func (*ManifestDependency) String

func (m *ManifestDependency) String() string

func (*ManifestDependency) XXX_DiscardUnknown

func (m *ManifestDependency) XXX_DiscardUnknown()

func (*ManifestDependency) XXX_Marshal

func (m *ManifestDependency) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ManifestDependency) XXX_Merge

func (m *ManifestDependency) XXX_Merge(src proto.Message)

func (*ManifestDependency) XXX_Size

func (m *ManifestDependency) XXX_Size() int

func (*ManifestDependency) XXX_Unmarshal

func (m *ManifestDependency) XXX_Unmarshal(b []byte) error

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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewManifestExtractionServiceClient

func NewManifestExtractionServiceClient(cc *grpc.ClientConn) ManifestExtractionServiceClient

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)
}

ManifestExtractionServiceServer is the server API for ManifestExtractionService service.

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"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

ManifestFile represents a file who identifies dependencies.

func (*ManifestFile) Descriptor

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

func (*ManifestFile) GetDependencies

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

func (*ManifestFile) GetLanguage

func (m *ManifestFile) GetLanguage() string

func (*ManifestFile) GetName

func (m *ManifestFile) GetName() string

func (*ManifestFile) GetSourceUrl

func (m *ManifestFile) GetSourceUrl() string

func (*ManifestFile) GetSystem

func (m *ManifestFile) GetSystem() string

func (*ManifestFile) GetVersion

func (m *ManifestFile) GetVersion() string

func (*ManifestFile) ProtoMessage

func (*ManifestFile) ProtoMessage()

func (*ManifestFile) Reset

func (m *ManifestFile) Reset()

func (*ManifestFile) String

func (m *ManifestFile) String() string

func (*ManifestFile) XXX_DiscardUnknown

func (m *ManifestFile) XXX_DiscardUnknown()

func (*ManifestFile) XXX_Marshal

func (m *ManifestFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ManifestFile) XXX_Merge

func (m *ManifestFile) XXX_Merge(src proto.Message)

func (*ManifestFile) XXX_Size

func (m *ManifestFile) XXX_Size() int

func (*ManifestFile) XXX_Unmarshal

func (m *ManifestFile) XXX_Unmarshal(b []byte) error

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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewManifestStorageServiceClient

func NewManifestStorageServiceClient(cc *grpc.ClientConn) ManifestStorageServiceClient

type ManifestStorageServiceServer

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

ManifestStorageServiceServer is the server API for ManifestStorageService service.

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

MatchRequest encapsulates requirements for the `Match` operation.

func (*MatchRequest) Descriptor

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

func (*MatchRequest) GetPaths

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

func (*MatchRequest) GetSeparator

func (m *MatchRequest) GetSeparator() string

func (*MatchRequest) ProtoMessage

func (*MatchRequest) ProtoMessage()

func (*MatchRequest) Reset

func (m *MatchRequest) Reset()

func (*MatchRequest) String

func (m *MatchRequest) String() string

func (*MatchRequest) XXX_DiscardUnknown

func (m *MatchRequest) XXX_DiscardUnknown()

func (*MatchRequest) XXX_Marshal

func (m *MatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MatchRequest) XXX_Merge

func (m *MatchRequest) XXX_Merge(src proto.Message)

func (*MatchRequest) XXX_Size

func (m *MatchRequest) XXX_Size() int

func (*MatchRequest) XXX_Unmarshal

func (m *MatchRequest) XXX_Unmarshal(b []byte) error

type MatchResponse

type MatchResponse struct {
	MatchedPaths         []string `protobuf:"bytes,1,rep,name=matched_paths,json=matchedPaths,proto3" json:"matched_paths,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

MatchResponse encapsulates response data for the `Match` operation.

func (*MatchResponse) Descriptor

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

func (*MatchResponse) GetMatchedPaths

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

func (*MatchResponse) ProtoMessage

func (*MatchResponse) ProtoMessage()

func (*MatchResponse) Reset

func (m *MatchResponse) Reset()

func (*MatchResponse) String

func (m *MatchResponse) String() string

func (*MatchResponse) XXX_DiscardUnknown

func (m *MatchResponse) XXX_DiscardUnknown()

func (*MatchResponse) XXX_Marshal

func (m *MatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MatchResponse) XXX_Merge

func (m *MatchResponse) XXX_Merge(src proto.Message)

func (*MatchResponse) XXX_Size

func (m *MatchResponse) XXX_Size() int

func (*MatchResponse) XXX_Unmarshal

func (m *MatchResponse) XXX_Unmarshal(b []byte) error

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 */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

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

func (*Module) Descriptor

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

func (*Module) GetLabels

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

func (*Module) GetLanguage

func (m *Module) GetLanguage() string

func (*Module) GetName

func (m *Module) GetName() string

func (*Module) ProtoMessage

func (*Module) ProtoMessage()

func (*Module) Reset

func (m *Module) Reset()

func (*Module) String

func (m *Module) String() string

func (*Module) XXX_DiscardUnknown

func (m *Module) XXX_DiscardUnknown()

func (*Module) XXX_Marshal

func (m *Module) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Module) XXX_Merge

func (m *Module) XXX_Merge(src proto.Message)

func (*Module) XXX_Size

func (m *Module) XXX_Size() int

func (*Module) XXX_Unmarshal

func (m *Module) XXX_Unmarshal(b []byte) error

type ModuleDependency

type ModuleDependency struct {
	// The version associated with the dependent module.
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,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 */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

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

func (*ModuleDependency) Descriptor

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

func (*ModuleDependency) GetLabels

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

func (*ModuleDependency) GetScopes

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

func (*ModuleDependency) GetVersion

func (m *ModuleDependency) GetVersion() string

func (*ModuleDependency) GetVersionConstraint

func (m *ModuleDependency) GetVersionConstraint() string

func (*ModuleDependency) ProtoMessage

func (*ModuleDependency) ProtoMessage()

func (*ModuleDependency) Reset

func (m *ModuleDependency) Reset()

func (*ModuleDependency) String

func (m *ModuleDependency) String() string

func (*ModuleDependency) XXX_DiscardUnknown

func (m *ModuleDependency) XXX_DiscardUnknown()

func (*ModuleDependency) XXX_Marshal

func (m *ModuleDependency) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ModuleDependency) XXX_Merge

func (m *ModuleDependency) XXX_Merge(src proto.Message)

func (*ModuleDependency) XXX_Size

func (m *ModuleDependency) XXX_Size() int

func (*ModuleDependency) XXX_Unmarshal

func (m *ModuleDependency) XXX_Unmarshal(b []byte) error

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)
}

ModuleServiceClient is the client API for ModuleService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewModuleServiceClient

func NewModuleServiceClient(cc *grpc.ClientConn) ModuleServiceClient

type ModuleServiceServer

type ModuleServiceServer interface {
	List(context.Context, *ListRequest) (*ListModulesResponse, error)
	ListSources(context.Context, *ManagedModule) (*ListManagedSourcesResponse, error)
}

ModuleServiceServer is the server API for ModuleService service.

type ProviderURL

type ProviderURL struct {
	Provider             string   `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	Host                 string   `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
	Path                 string   `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	Reference            string   `protobuf:"bytes,4,opt,name=reference,proto3" json:"reference,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

func (*ProviderURL) GetHost

func (m *ProviderURL) GetHost() string

func (*ProviderURL) GetPath

func (m *ProviderURL) GetPath() string

func (*ProviderURL) GetProvider

func (m *ProviderURL) GetProvider() string

func (*ProviderURL) GetReference

func (m *ProviderURL) GetReference() string

func (*ProviderURL) ProtoMessage

func (*ProviderURL) ProtoMessage()

func (*ProviderURL) Reset

func (m *ProviderURL) Reset()

func (*ProviderURL) String

func (m *ProviderURL) String() string

func (*ProviderURL) XXX_DiscardUnknown

func (m *ProviderURL) XXX_DiscardUnknown()

func (*ProviderURL) XXX_Marshal

func (m *ProviderURL) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProviderURL) XXX_Merge

func (m *ProviderURL) XXX_Merge(src proto.Message)

func (*ProviderURL) XXX_Size

func (m *ProviderURL) XXX_Size() int

func (*ProviderURL) XXX_Unmarshal

func (m *ProviderURL) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*SearchRequest) Descriptor

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

func (*SearchRequest) GetCancel

func (m *SearchRequest) GetCancel() bool

func (*SearchRequest) GetDependenciesFor

func (m *SearchRequest) GetDependenciesFor() *Dependency

func (*SearchRequest) GetDependentsOf

func (m *SearchRequest) GetDependentsOf() *Dependency

func (*SearchRequest) GetModulesFor

func (m *SearchRequest) GetModulesFor() *ManagedSource

func (*SearchRequest) GetSourcesOf

func (m *SearchRequest) GetSourcesOf() *ManagedModule

func (*SearchRequest) ProtoMessage

func (*SearchRequest) ProtoMessage()

func (*SearchRequest) Reset

func (m *SearchRequest) Reset()

func (*SearchRequest) String

func (m *SearchRequest) String() string

func (*SearchRequest) XXX_DiscardUnknown

func (m *SearchRequest) XXX_DiscardUnknown()

func (*SearchRequest) XXX_Marshal

func (m *SearchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SearchRequest) XXX_Merge

func (m *SearchRequest) XXX_Merge(src proto.Message)

func (*SearchRequest) XXX_Size

func (m *SearchRequest) XXX_Size() int

func (*SearchRequest) XXX_Unmarshal

func (m *SearchRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*SearchResponse) Descriptor

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

func (*SearchResponse) GetDependencies

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

func (*SearchResponse) GetDependents

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

func (*SearchResponse) GetModules

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

func (*SearchResponse) GetRequest

func (m *SearchResponse) GetRequest() *SearchRequest

func (*SearchResponse) GetSources

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

func (*SearchResponse) ProtoMessage

func (*SearchResponse) ProtoMessage()

func (*SearchResponse) Reset

func (m *SearchResponse) Reset()

func (*SearchResponse) String

func (m *SearchResponse) String() string

func (*SearchResponse) XXX_DiscardUnknown

func (m *SearchResponse) XXX_DiscardUnknown()

func (*SearchResponse) XXX_Marshal

func (m *SearchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SearchResponse) XXX_Merge

func (m *SearchResponse) XXX_Merge(src proto.Message)

func (*SearchResponse) XXX_Size

func (m *SearchResponse) XXX_Size() int

func (*SearchResponse) XXX_Unmarshal

func (m *SearchResponse) XXX_Unmarshal(b []byte) error

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 */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

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

func (*Source) Descriptor

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

func (*Source) GetKind

func (m *Source) GetKind() string

func (*Source) GetLabels

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

func (*Source) GetUrl

func (m *Source) GetUrl() string

func (*Source) ProtoMessage

func (*Source) ProtoMessage()

func (*Source) Reset

func (m *Source) Reset()

func (*Source) String

func (m *Source) String() string

func (*Source) XXX_DiscardUnknown

func (m *Source) XXX_DiscardUnknown()

func (*Source) XXX_Marshal

func (m *Source) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Source) XXX_Merge

func (m *Source) XXX_Merge(src proto.Message)

func (*Source) XXX_Size

func (m *Source) XXX_Size() int

func (*Source) XXX_Unmarshal

func (m *Source) XXX_Unmarshal(b []byte) error

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 */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

SourceModule describes the relationship between a project and a module.

func (*SourceModule) Descriptor

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

func (*SourceModule) GetLabels

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

func (*SourceModule) GetSystem

func (m *SourceModule) GetSystem() string

func (*SourceModule) GetVersion

func (m *SourceModule) GetVersion() string

func (*SourceModule) ProtoMessage

func (*SourceModule) ProtoMessage()

func (*SourceModule) Reset

func (m *SourceModule) Reset()

func (*SourceModule) String

func (m *SourceModule) String() string

func (*SourceModule) XXX_DiscardUnknown

func (m *SourceModule) XXX_DiscardUnknown()

func (*SourceModule) XXX_Marshal

func (m *SourceModule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SourceModule) XXX_Merge

func (m *SourceModule) XXX_Merge(src proto.Message)

func (*SourceModule) XXX_Size

func (m *SourceModule) XXX_Size() int

func (*SourceModule) XXX_Unmarshal

func (m *SourceModule) XXX_Unmarshal(b []byte) error

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)
}

SourceServiceClient is the client API for SourceService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewSourceServiceClient

func NewSourceServiceClient(cc *grpc.ClientConn) SourceServiceClient

type SourceServiceServer

type SourceServiceServer interface {
	List(context.Context, *ListRequest) (*ListSourcesResponse, error)
	ListModules(context.Context, *ManagedSource) (*ListManagedModulesResponse, error)
}

SourceServiceServer is the server API for SourceService service.

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"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

StoreRequest stores information about manifest files.

func (*StoreRequest) Descriptor

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

func (*StoreRequest) GetKind

func (m *StoreRequest) GetKind() string

func (*StoreRequest) GetManifestFiles

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

func (*StoreRequest) GetRef

func (m *StoreRequest) GetRef() string

func (*StoreRequest) GetUrl

func (m *StoreRequest) GetUrl() string

func (*StoreRequest) ProtoMessage

func (*StoreRequest) ProtoMessage()

func (*StoreRequest) Reset

func (m *StoreRequest) Reset()

func (*StoreRequest) String

func (m *StoreRequest) String() string

func (*StoreRequest) XXX_DiscardUnknown

func (m *StoreRequest) XXX_DiscardUnknown()

func (*StoreRequest) XXX_Marshal

func (m *StoreRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StoreRequest) XXX_Merge

func (m *StoreRequest) XXX_Merge(src proto.Message)

func (*StoreRequest) XXX_Size

func (m *StoreRequest) XXX_Size() int

func (*StoreRequest) XXX_Unmarshal

func (m *StoreRequest) XXX_Unmarshal(b []byte) error

type StoreResponse

type StoreResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*StoreResponse) Descriptor

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

func (*StoreResponse) ProtoMessage

func (*StoreResponse) ProtoMessage()

func (*StoreResponse) Reset

func (m *StoreResponse) Reset()

func (*StoreResponse) String

func (m *StoreResponse) String() string

func (*StoreResponse) XXX_DiscardUnknown

func (m *StoreResponse) XXX_DiscardUnknown()

func (*StoreResponse) XXX_Marshal

func (m *StoreResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StoreResponse) XXX_Merge

func (m *StoreResponse) XXX_Merge(src proto.Message)

func (*StoreResponse) XXX_Size

func (m *StoreResponse) XXX_Size() int

func (*StoreResponse) XXX_Unmarshal

func (m *StoreResponse) XXX_Unmarshal(b []byte) error

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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewTraversalServiceClient

func NewTraversalServiceClient(cc *grpc.ClientConn) TraversalServiceClient

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
}

TraversalServiceServer is the server API for TraversalService service.

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 UnimplementedManifestExtractionServiceServer

type UnimplementedManifestExtractionServiceServer struct {
}

UnimplementedManifestExtractionServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedManifestExtractionServiceServer) Extract

func (*UnimplementedManifestExtractionServiceServer) Match

type UnimplementedManifestStorageServiceServer

type UnimplementedManifestStorageServiceServer struct {
}

UnimplementedManifestStorageServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedManifestStorageServiceServer) Store

type UnimplementedModuleServiceServer

type UnimplementedModuleServiceServer struct {
}

UnimplementedModuleServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedModuleServiceServer) List

func (*UnimplementedModuleServiceServer) ListSources

type UnimplementedSourceServiceServer

type UnimplementedSourceServiceServer struct {
}

UnimplementedSourceServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedSourceServiceServer) List

func (*UnimplementedSourceServiceServer) ListModules

type UnimplementedTraversalServiceServer

type UnimplementedTraversalServiceServer struct {
}

UnimplementedTraversalServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedTraversalServiceServer) BreadthFirstSearch

func (*UnimplementedTraversalServiceServer) DepthFirstSearch

func (*UnimplementedTraversalServiceServer) GetDependencies

func (*UnimplementedTraversalServiceServer) GetDependents

func (*UnimplementedTraversalServiceServer) Search

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