Documentation ¶
Index ¶
- Variables
- func MapFromCredential(a []*CredentialsResponse) []artifacts.Credentials
- func MapFromCredentials(c *CredentialsResponse) artifacts.Credentials
- func MapFromDockerImageResponse(a *DockerImageResponse) artifacts.DockerImage
- func MapFromDockerRegistryResponse(a *DockerRegistryResponse) artifacts.DockerRegistryInformation
- func MapFromHelmChartsResponse(a *HelmChartResponse) artifacts.HelmChart
- func MapFromHelmRepositoryResponse(a *HelmRepositoryResponse) artifacts.HelmRepositoryInformation
- func MapFromMavenPackageResponse(a *MavenArtifactResponse) artifacts.MavenArtifact
- func MapFromMavenRepositoryResponse(a *MavenRepositoryResponse) artifacts.MavenRepositoryInformation
- func MapFromNugetFeedResponse(a *NugetFeedResponse) artifacts.NugetFeedInformation
- func MapFromNugetPackageResponse(a *NugetPackageResponse) artifacts.NugetPackage
- func RegisterDockerServer(s grpc.ServiceRegistrar, srv DockerServer)
- func RegisterHelmServer(s grpc.ServiceRegistrar, srv HelmServer)
- func RegisterMavenServer(s grpc.ServiceRegistrar, srv MavenServer)
- func RegisterNugetServer(s grpc.ServiceRegistrar, srv NugetServer)
- type CredentialsRequest
- func (*CredentialsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CredentialsRequest) GetFilterKind() string
- func (x *CredentialsRequest) GetReference() string
- func (x *CredentialsRequest) GetScopeID() string
- func (x *CredentialsRequest) GetUser() string
- func (*CredentialsRequest) ProtoMessage()
- func (x *CredentialsRequest) ProtoReflect() protoreflect.Message
- func (x *CredentialsRequest) Reset()
- func (x *CredentialsRequest) String() string
- type CredentialsResponse
- func (*CredentialsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CredentialsResponse) GetId() string
- func (x *CredentialsResponse) GetKind() string
- func (x *CredentialsResponse) GetName() string
- func (x *CredentialsResponse) GetPassword() string
- func (x *CredentialsResponse) GetUsername() string
- func (*CredentialsResponse) ProtoMessage()
- func (x *CredentialsResponse) ProtoReflect() protoreflect.Message
- func (x *CredentialsResponse) Reset()
- func (x *CredentialsResponse) String() string
- type DockerClient
- type DockerImageResponse
- func (*DockerImageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DockerImageResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *DockerImageResponse) GetDigest() string
- func (x *DockerImageResponse) GetId() string
- func (x *DockerImageResponse) GetName() string
- func (x *DockerImageResponse) GetScope() string
- func (x *DockerImageResponse) GetScopeID() string
- func (x *DockerImageResponse) GetTag() string
- func (x *DockerImageResponse) GetUpdatedAt() *timestamppb.Timestamp
- func (*DockerImageResponse) ProtoMessage()
- func (x *DockerImageResponse) ProtoReflect() protoreflect.Message
- func (x *DockerImageResponse) Reset()
- func (x *DockerImageResponse) String() string
- type DockerImagesRequest
- func (*DockerImagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DockerImagesRequest) GetReference() string
- func (x *DockerImagesRequest) GetScopeID() string
- func (*DockerImagesRequest) ProtoMessage()
- func (x *DockerImagesRequest) ProtoReflect() protoreflect.Message
- func (x *DockerImagesRequest) Reset()
- func (x *DockerImagesRequest) String() string
- type DockerRegistriesRequest
- func (*DockerRegistriesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DockerRegistriesRequest) GetReference() string
- func (x *DockerRegistriesRequest) GetScopeID() string
- func (*DockerRegistriesRequest) ProtoMessage()
- func (x *DockerRegistriesRequest) ProtoReflect() protoreflect.Message
- func (x *DockerRegistriesRequest) Reset()
- func (x *DockerRegistriesRequest) String() string
- type DockerRegistryResponse
- func (*DockerRegistryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DockerRegistryResponse) GetReference() string
- func (x *DockerRegistryResponse) GetScope() string
- func (x *DockerRegistryResponse) GetScopeID() string
- func (x *DockerRegistryResponse) GetServer() string
- func (*DockerRegistryResponse) ProtoMessage()
- func (x *DockerRegistryResponse) ProtoReflect() protoreflect.Message
- func (x *DockerRegistryResponse) Reset()
- func (x *DockerRegistryResponse) String() string
- type DockerServer
- type Docker_DockerCredentialsClient
- type Docker_DockerCredentialsServer
- type Docker_DockerImagesClient
- type Docker_DockerImagesServer
- type Docker_DockerRegistriesClient
- type Docker_DockerRegistriesServer
- type HelmChartResponse
- func (*HelmChartResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HelmChartResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *HelmChartResponse) GetId() string
- func (x *HelmChartResponse) GetName() string
- func (x *HelmChartResponse) GetScope() string
- func (x *HelmChartResponse) GetScopeID() string
- func (x *HelmChartResponse) GetVersion() string
- func (*HelmChartResponse) ProtoMessage()
- func (x *HelmChartResponse) ProtoReflect() protoreflect.Message
- func (x *HelmChartResponse) Reset()
- func (x *HelmChartResponse) String() string
- type HelmChartsRequest
- func (*HelmChartsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HelmChartsRequest) GetReference() string
- func (x *HelmChartsRequest) GetScopeID() string
- func (*HelmChartsRequest) ProtoMessage()
- func (x *HelmChartsRequest) ProtoReflect() protoreflect.Message
- func (x *HelmChartsRequest) Reset()
- func (x *HelmChartsRequest) String() string
- type HelmClient
- type HelmRepositoriesRequest
- func (*HelmRepositoriesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HelmRepositoriesRequest) GetReference() string
- func (x *HelmRepositoriesRequest) GetScopeID() string
- func (*HelmRepositoriesRequest) ProtoMessage()
- func (x *HelmRepositoriesRequest) ProtoReflect() protoreflect.Message
- func (x *HelmRepositoriesRequest) Reset()
- func (x *HelmRepositoriesRequest) String() string
- type HelmRepositoryResponse
- func (*HelmRepositoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HelmRepositoryResponse) GetReference() string
- func (x *HelmRepositoryResponse) GetScope() string
- func (x *HelmRepositoryResponse) GetScopeID() string
- func (x *HelmRepositoryResponse) GetUrl() string
- func (*HelmRepositoryResponse) ProtoMessage()
- func (x *HelmRepositoryResponse) ProtoReflect() protoreflect.Message
- func (x *HelmRepositoryResponse) Reset()
- func (x *HelmRepositoryResponse) String() string
- type HelmServer
- type Helm_HelmChartsClient
- type Helm_HelmChartsServer
- type Helm_HelmCredentialsClient
- type Helm_HelmCredentialsServer
- type Helm_HelmRepositoriesClient
- type Helm_HelmRepositoriesServer
- type MavenArtifactResponse
- func (*MavenArtifactResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MavenArtifactResponse) GetArtifactID() string
- func (x *MavenArtifactResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *MavenArtifactResponse) GetGroupID() string
- func (x *MavenArtifactResponse) GetId() string
- func (x *MavenArtifactResponse) GetScope() string
- func (x *MavenArtifactResponse) GetScopeID() string
- func (x *MavenArtifactResponse) GetVersion() string
- func (*MavenArtifactResponse) ProtoMessage()
- func (x *MavenArtifactResponse) ProtoReflect() protoreflect.Message
- func (x *MavenArtifactResponse) Reset()
- func (x *MavenArtifactResponse) String() string
- type MavenArtifactsRequest
- func (*MavenArtifactsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MavenArtifactsRequest) GetReference() string
- func (x *MavenArtifactsRequest) GetScopeID() string
- func (*MavenArtifactsRequest) ProtoMessage()
- func (x *MavenArtifactsRequest) ProtoReflect() protoreflect.Message
- func (x *MavenArtifactsRequest) Reset()
- func (x *MavenArtifactsRequest) String() string
- type MavenClient
- type MavenRepositoriesRequest
- func (*MavenRepositoriesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MavenRepositoriesRequest) GetReference() string
- func (x *MavenRepositoriesRequest) GetScopeID() string
- func (*MavenRepositoriesRequest) ProtoMessage()
- func (x *MavenRepositoriesRequest) ProtoReflect() protoreflect.Message
- func (x *MavenRepositoriesRequest) Reset()
- func (x *MavenRepositoriesRequest) String() string
- type MavenRepositoryResponse
- func (*MavenRepositoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MavenRepositoryResponse) GetReference() string
- func (x *MavenRepositoryResponse) GetRepository() string
- func (x *MavenRepositoryResponse) GetScope() string
- func (x *MavenRepositoryResponse) GetScopeID() string
- func (*MavenRepositoryResponse) ProtoMessage()
- func (x *MavenRepositoryResponse) ProtoReflect() protoreflect.Message
- func (x *MavenRepositoryResponse) Reset()
- func (x *MavenRepositoryResponse) String() string
- type MavenServer
- type Maven_MavenArtifactsClient
- type Maven_MavenArtifactsServer
- type Maven_MavenCredentialsClient
- type Maven_MavenCredentialsServer
- type Maven_MavenRepositoriesClient
- type Maven_MavenRepositoriesServer
- type NugetClient
- type NugetFeedResponse
- func (*NugetFeedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NugetFeedResponse) GetFeed() string
- func (x *NugetFeedResponse) GetReference() string
- func (x *NugetFeedResponse) GetScope() string
- func (x *NugetFeedResponse) GetScopeID() string
- func (*NugetFeedResponse) ProtoMessage()
- func (x *NugetFeedResponse) ProtoReflect() protoreflect.Message
- func (x *NugetFeedResponse) Reset()
- func (x *NugetFeedResponse) String() string
- type NugetFeedsRequest
- func (*NugetFeedsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NugetFeedsRequest) GetReference() string
- func (x *NugetFeedsRequest) GetScopeID() string
- func (*NugetFeedsRequest) ProtoMessage()
- func (x *NugetFeedsRequest) ProtoReflect() protoreflect.Message
- func (x *NugetFeedsRequest) Reset()
- func (x *NugetFeedsRequest) String() string
- type NugetPackageResponse
- func (*NugetPackageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NugetPackageResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *NugetPackageResponse) GetId() string
- func (x *NugetPackageResponse) GetName() string
- func (x *NugetPackageResponse) GetScope() string
- func (x *NugetPackageResponse) GetScopeID() string
- func (x *NugetPackageResponse) GetTags() []string
- func (x *NugetPackageResponse) GetUpdatedAt() *timestamppb.Timestamp
- func (x *NugetPackageResponse) GetVersion() string
- func (*NugetPackageResponse) ProtoMessage()
- func (x *NugetPackageResponse) ProtoReflect() protoreflect.Message
- func (x *NugetPackageResponse) Reset()
- func (x *NugetPackageResponse) String() string
- type NugetPackagesRequest
- func (*NugetPackagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NugetPackagesRequest) GetReference() string
- func (x *NugetPackagesRequest) GetScopeID() string
- func (*NugetPackagesRequest) ProtoMessage()
- func (x *NugetPackagesRequest) ProtoReflect() protoreflect.Message
- func (x *NugetPackagesRequest) Reset()
- func (x *NugetPackagesRequest) String() string
- type NugetServer
- type Nuget_NugetCredentialsClient
- type Nuget_NugetCredentialsServer
- type Nuget_NugetFeedsClient
- type Nuget_NugetFeedsServer
- type Nuget_NugetPackagesClient
- type Nuget_NugetPackagesServer
- type UnimplementedDockerServer
- func (UnimplementedDockerServer) DockerCredentials(*CredentialsRequest, Docker_DockerCredentialsServer) error
- func (UnimplementedDockerServer) DockerImages(*DockerImagesRequest, Docker_DockerImagesServer) error
- func (UnimplementedDockerServer) DockerRegistries(*DockerRegistriesRequest, Docker_DockerRegistriesServer) error
- type UnimplementedHelmServer
- func (UnimplementedHelmServer) HelmCharts(*HelmChartsRequest, Helm_HelmChartsServer) error
- func (UnimplementedHelmServer) HelmCredentials(*CredentialsRequest, Helm_HelmCredentialsServer) error
- func (UnimplementedHelmServer) HelmRepositories(*HelmRepositoriesRequest, Helm_HelmRepositoriesServer) error
- type UnimplementedMavenServer
- func (UnimplementedMavenServer) MavenArtifacts(*MavenArtifactsRequest, Maven_MavenArtifactsServer) error
- func (UnimplementedMavenServer) MavenCredentials(*CredentialsRequest, Maven_MavenCredentialsServer) error
- func (UnimplementedMavenServer) MavenRepositories(*MavenRepositoriesRequest, Maven_MavenRepositoriesServer) error
- type UnimplementedNugetServer
- func (UnimplementedNugetServer) NugetCredentials(*CredentialsRequest, Nuget_NugetCredentialsServer) error
- func (UnimplementedNugetServer) NugetFeeds(*NugetFeedsRequest, Nuget_NugetFeedsServer) error
- func (UnimplementedNugetServer) NugetPackages(*NugetPackagesRequest, Nuget_NugetPackagesServer) error
- type UnsafeDockerServer
- type UnsafeHelmServer
- type UnsafeMavenServer
- type UnsafeNugetServer
Constants ¶
This section is empty.
Variables ¶
var Docker_ServiceDesc = grpc.ServiceDesc{ ServiceName: "artifacts.Docker", HandlerType: (*DockerServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "DockerRegistries", Handler: _Docker_DockerRegistries_Handler, ServerStreams: true, }, { StreamName: "DockerImages", Handler: _Docker_DockerImages_Handler, ServerStreams: true, }, { StreamName: "DockerCredentials", Handler: _Docker_DockerCredentials_Handler, ServerStreams: true, }, }, Metadata: "proto/artifacts.proto", }
Docker_ServiceDesc is the grpc.ServiceDesc for Docker service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_proto_artifacts_proto protoreflect.FileDescriptor
var Helm_ServiceDesc = grpc.ServiceDesc{ ServiceName: "artifacts.Helm", HandlerType: (*HelmServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "HelmRepositories", Handler: _Helm_HelmRepositories_Handler, ServerStreams: true, }, { StreamName: "HelmCharts", Handler: _Helm_HelmCharts_Handler, ServerStreams: true, }, { StreamName: "HelmCredentials", Handler: _Helm_HelmCredentials_Handler, ServerStreams: true, }, }, Metadata: "proto/artifacts.proto", }
Helm_ServiceDesc is the grpc.ServiceDesc for Helm service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Maven_ServiceDesc = grpc.ServiceDesc{ ServiceName: "artifacts.Maven", HandlerType: (*MavenServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "MavenRepositories", Handler: _Maven_MavenRepositories_Handler, ServerStreams: true, }, { StreamName: "MavenArtifacts", Handler: _Maven_MavenArtifacts_Handler, ServerStreams: true, }, { StreamName: "MavenCredentials", Handler: _Maven_MavenCredentials_Handler, ServerStreams: true, }, }, Metadata: "proto/artifacts.proto", }
Maven_ServiceDesc is the grpc.ServiceDesc for Maven service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Nuget_ServiceDesc = grpc.ServiceDesc{ ServiceName: "artifacts.Nuget", HandlerType: (*NugetServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "NugetFeeds", Handler: _Nuget_NugetFeeds_Handler, ServerStreams: true, }, { StreamName: "NugetPackages", Handler: _Nuget_NugetPackages_Handler, ServerStreams: true, }, { StreamName: "NugetCredentials", Handler: _Nuget_NugetCredentials_Handler, ServerStreams: true, }, }, Metadata: "proto/artifacts.proto", }
Nuget_ServiceDesc is the grpc.ServiceDesc for Nuget service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func MapFromCredential ¶
func MapFromCredential(a []*CredentialsResponse) []artifacts.Credentials
func MapFromCredentials ¶
func MapFromCredentials(c *CredentialsResponse) artifacts.Credentials
func MapFromDockerImageResponse ¶
func MapFromDockerImageResponse(a *DockerImageResponse) artifacts.DockerImage
func MapFromDockerRegistryResponse ¶
func MapFromDockerRegistryResponse(a *DockerRegistryResponse) artifacts.DockerRegistryInformation
func MapFromHelmChartsResponse ¶
func MapFromHelmChartsResponse(a *HelmChartResponse) artifacts.HelmChart
func MapFromHelmRepositoryResponse ¶
func MapFromHelmRepositoryResponse(a *HelmRepositoryResponse) artifacts.HelmRepositoryInformation
func MapFromMavenPackageResponse ¶
func MapFromMavenPackageResponse(a *MavenArtifactResponse) artifacts.MavenArtifact
func MapFromMavenRepositoryResponse ¶
func MapFromMavenRepositoryResponse(a *MavenRepositoryResponse) artifacts.MavenRepositoryInformation
func MapFromNugetFeedResponse ¶
func MapFromNugetFeedResponse(a *NugetFeedResponse) artifacts.NugetFeedInformation
func MapFromNugetPackageResponse ¶
func MapFromNugetPackageResponse(a *NugetPackageResponse) artifacts.NugetPackage
CLIENT ----------------------------------------------------------------------------
func RegisterDockerServer ¶
func RegisterDockerServer(s grpc.ServiceRegistrar, srv DockerServer)
func RegisterHelmServer ¶
func RegisterHelmServer(s grpc.ServiceRegistrar, srv HelmServer)
func RegisterMavenServer ¶
func RegisterMavenServer(s grpc.ServiceRegistrar, srv MavenServer)
func RegisterNugetServer ¶
func RegisterNugetServer(s grpc.ServiceRegistrar, srv NugetServer)
Types ¶
type CredentialsRequest ¶
type CredentialsRequest struct { Reference string `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"` ScopeID string `protobuf:"bytes,2,opt,name=scopeID,proto3" json:"scopeID,omitempty"` User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` FilterKind string `protobuf:"bytes,4,opt,name=filterKind,proto3" json:"filterKind,omitempty"` // contains filtered or unexported fields }
func (*CredentialsRequest) Descriptor
deprecated
func (*CredentialsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CredentialsRequest.ProtoReflect.Descriptor instead.
func (*CredentialsRequest) GetFilterKind ¶
func (x *CredentialsRequest) GetFilterKind() string
func (*CredentialsRequest) GetReference ¶
func (x *CredentialsRequest) GetReference() string
func (*CredentialsRequest) GetScopeID ¶
func (x *CredentialsRequest) GetScopeID() string
func (*CredentialsRequest) GetUser ¶
func (x *CredentialsRequest) GetUser() string
func (*CredentialsRequest) ProtoMessage ¶
func (*CredentialsRequest) ProtoMessage()
func (*CredentialsRequest) ProtoReflect ¶
func (x *CredentialsRequest) ProtoReflect() protoreflect.Message
func (*CredentialsRequest) Reset ¶
func (x *CredentialsRequest) Reset()
func (*CredentialsRequest) String ¶
func (x *CredentialsRequest) String() string
type CredentialsResponse ¶
type CredentialsResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func MapToCredentialsResponse ¶
func MapToCredentialsResponse(c artifacts.Credentials) *CredentialsResponse
func (*CredentialsResponse) Descriptor
deprecated
func (*CredentialsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CredentialsResponse.ProtoReflect.Descriptor instead.
func (*CredentialsResponse) GetId ¶
func (x *CredentialsResponse) GetId() string
func (*CredentialsResponse) GetKind ¶
func (x *CredentialsResponse) GetKind() string
func (*CredentialsResponse) GetName ¶
func (x *CredentialsResponse) GetName() string
func (*CredentialsResponse) GetPassword ¶
func (x *CredentialsResponse) GetPassword() string
func (*CredentialsResponse) GetUsername ¶
func (x *CredentialsResponse) GetUsername() string
func (*CredentialsResponse) ProtoMessage ¶
func (*CredentialsResponse) ProtoMessage()
func (*CredentialsResponse) ProtoReflect ¶
func (x *CredentialsResponse) ProtoReflect() protoreflect.Message
func (*CredentialsResponse) Reset ¶
func (x *CredentialsResponse) Reset()
func (*CredentialsResponse) String ¶
func (x *CredentialsResponse) String() string
type DockerClient ¶
type DockerClient interface { DockerRegistries(ctx context.Context, in *DockerRegistriesRequest, opts ...grpc.CallOption) (Docker_DockerRegistriesClient, error) DockerImages(ctx context.Context, in *DockerImagesRequest, opts ...grpc.CallOption) (Docker_DockerImagesClient, error) DockerCredentials(ctx context.Context, in *CredentialsRequest, opts ...grpc.CallOption) (Docker_DockerCredentialsClient, error) }
DockerClient is the client API for Docker 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 NewDockerClient ¶
func NewDockerClient(cc grpc.ClientConnInterface) DockerClient
type DockerImageResponse ¶
type DockerImageResponse struct { Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` ScopeID string `protobuf:"bytes,2,opt,name=scopeID,proto3" json:"scopeID,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Digest string `protobuf:"bytes,5,opt,name=digest,proto3" json:"digest,omitempty"` Tag string `protobuf:"bytes,6,opt,name=tag,proto3" json:"tag,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updatedAt,proto3,oneof" json:"updatedAt,omitempty"` // contains filtered or unexported fields }
docker run {server}/{name}:{tag}
func MapToDockerImageResponse ¶
func MapToDockerImageResponse(a artifacts.DockerImage) *DockerImageResponse
func (*DockerImageResponse) Descriptor
deprecated
func (*DockerImageResponse) Descriptor() ([]byte, []int)
Deprecated: Use DockerImageResponse.ProtoReflect.Descriptor instead.
func (*DockerImageResponse) GetCreatedAt ¶
func (x *DockerImageResponse) GetCreatedAt() *timestamppb.Timestamp
func (*DockerImageResponse) GetDigest ¶
func (x *DockerImageResponse) GetDigest() string
func (*DockerImageResponse) GetId ¶
func (x *DockerImageResponse) GetId() string
func (*DockerImageResponse) GetName ¶
func (x *DockerImageResponse) GetName() string
func (*DockerImageResponse) GetScope ¶
func (x *DockerImageResponse) GetScope() string
func (*DockerImageResponse) GetScopeID ¶
func (x *DockerImageResponse) GetScopeID() string
func (*DockerImageResponse) GetTag ¶
func (x *DockerImageResponse) GetTag() string
func (*DockerImageResponse) GetUpdatedAt ¶
func (x *DockerImageResponse) GetUpdatedAt() *timestamppb.Timestamp
func (*DockerImageResponse) ProtoMessage ¶
func (*DockerImageResponse) ProtoMessage()
func (*DockerImageResponse) ProtoReflect ¶
func (x *DockerImageResponse) ProtoReflect() protoreflect.Message
func (*DockerImageResponse) Reset ¶
func (x *DockerImageResponse) Reset()
func (*DockerImageResponse) String ¶
func (x *DockerImageResponse) String() string
type DockerImagesRequest ¶
type DockerImagesRequest struct { Reference string `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"` ScopeID *string `protobuf:"bytes,2,opt,name=scopeID,proto3,oneof" json:"scopeID,omitempty"` // contains filtered or unexported fields }
func (*DockerImagesRequest) Descriptor
deprecated
func (*DockerImagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use DockerImagesRequest.ProtoReflect.Descriptor instead.
func (*DockerImagesRequest) GetReference ¶
func (x *DockerImagesRequest) GetReference() string
func (*DockerImagesRequest) GetScopeID ¶
func (x *DockerImagesRequest) GetScopeID() string
func (*DockerImagesRequest) ProtoMessage ¶
func (*DockerImagesRequest) ProtoMessage()
func (*DockerImagesRequest) ProtoReflect ¶
func (x *DockerImagesRequest) ProtoReflect() protoreflect.Message
func (*DockerImagesRequest) Reset ¶
func (x *DockerImagesRequest) Reset()
func (*DockerImagesRequest) String ¶
func (x *DockerImagesRequest) String() string
type DockerRegistriesRequest ¶
type DockerRegistriesRequest struct { Reference string `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"` ScopeID *string `protobuf:"bytes,2,opt,name=scopeID,proto3,oneof" json:"scopeID,omitempty"` // contains filtered or unexported fields }
Docker ----------------------------------------------------------------------------- Assumption: For GitLab always show instaance wide registry
func (*DockerRegistriesRequest) Descriptor
deprecated
func (*DockerRegistriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use DockerRegistriesRequest.ProtoReflect.Descriptor instead.
func (*DockerRegistriesRequest) GetReference ¶
func (x *DockerRegistriesRequest) GetReference() string
func (*DockerRegistriesRequest) GetScopeID ¶
func (x *DockerRegistriesRequest) GetScopeID() string
func (*DockerRegistriesRequest) ProtoMessage ¶
func (*DockerRegistriesRequest) ProtoMessage()
func (*DockerRegistriesRequest) ProtoReflect ¶
func (x *DockerRegistriesRequest) ProtoReflect() protoreflect.Message
func (*DockerRegistriesRequest) Reset ¶
func (x *DockerRegistriesRequest) Reset()
func (*DockerRegistriesRequest) String ¶
func (x *DockerRegistriesRequest) String() string
type DockerRegistryResponse ¶
type DockerRegistryResponse struct { Reference string `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"` Scope string `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"` ScopeID string `protobuf:"bytes,3,opt,name=scopeID,proto3" json:"scopeID,omitempty"` Server string `protobuf:"bytes,4,opt,name=server,proto3" json:"server,omitempty"` // contains filtered or unexported fields }
docker login -i {credentials.Username} -p {credentials.Password} {server}
func MapToDockerRegistryResponse ¶
func MapToDockerRegistryResponse(a artifacts.DockerRegistryInformation) *DockerRegistryResponse
func (*DockerRegistryResponse) Descriptor
deprecated
func (*DockerRegistryResponse) Descriptor() ([]byte, []int)
Deprecated: Use DockerRegistryResponse.ProtoReflect.Descriptor instead.
func (*DockerRegistryResponse) GetReference ¶
func (x *DockerRegistryResponse) GetReference() string
func (*DockerRegistryResponse) GetScope ¶
func (x *DockerRegistryResponse) GetScope() string
func (*DockerRegistryResponse) GetScopeID ¶
func (x *DockerRegistryResponse) GetScopeID() string
func (*DockerRegistryResponse) GetServer ¶
func (x *DockerRegistryResponse) GetServer() string
func (*DockerRegistryResponse) ProtoMessage ¶
func (*DockerRegistryResponse) ProtoMessage()
func (*DockerRegistryResponse) ProtoReflect ¶
func (x *DockerRegistryResponse) ProtoReflect() protoreflect.Message
func (*DockerRegistryResponse) Reset ¶
func (x *DockerRegistryResponse) Reset()
func (*DockerRegistryResponse) String ¶
func (x *DockerRegistryResponse) String() string
type DockerServer ¶
type DockerServer interface { DockerRegistries(*DockerRegistriesRequest, Docker_DockerRegistriesServer) error DockerImages(*DockerImagesRequest, Docker_DockerImagesServer) error DockerCredentials(*CredentialsRequest, Docker_DockerCredentialsServer) error // contains filtered or unexported methods }
DockerServer is the server API for Docker service. All implementations must embed UnimplementedDockerServer for forward compatibility
type Docker_DockerCredentialsClient ¶
type Docker_DockerCredentialsClient interface { Recv() (*CredentialsResponse, error) grpc.ClientStream }
type Docker_DockerCredentialsServer ¶
type Docker_DockerCredentialsServer interface { Send(*CredentialsResponse) error grpc.ServerStream }
type Docker_DockerImagesClient ¶
type Docker_DockerImagesClient interface { Recv() (*DockerImageResponse, error) grpc.ClientStream }
type Docker_DockerImagesServer ¶
type Docker_DockerImagesServer interface { Send(*DockerImageResponse) error grpc.ServerStream }
type Docker_DockerRegistriesClient ¶
type Docker_DockerRegistriesClient interface { Recv() (*DockerRegistryResponse, error) grpc.ClientStream }
type Docker_DockerRegistriesServer ¶
type Docker_DockerRegistriesServer interface { Send(*DockerRegistryResponse) error grpc.ServerStream }
type HelmChartResponse ¶
type HelmChartResponse struct { Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` ScopeID string `protobuf:"bytes,2,opt,name=scopeID,proto3" json:"scopeID,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=createdAt,proto3" json:"createdAt,omitempty"` // contains filtered or unexported fields }
https://helm.sh/docs/topics/charts/
func MapToHelmChartsResponse ¶
func MapToHelmChartsResponse(a artifacts.HelmChart) *HelmChartResponse
func (*HelmChartResponse) Descriptor
deprecated
func (*HelmChartResponse) Descriptor() ([]byte, []int)
Deprecated: Use HelmChartResponse.ProtoReflect.Descriptor instead.
func (*HelmChartResponse) GetCreatedAt ¶
func (x *HelmChartResponse) GetCreatedAt() *timestamppb.Timestamp
func (*HelmChartResponse) GetId ¶
func (x *HelmChartResponse) GetId() string
func (*HelmChartResponse) GetName ¶
func (x *HelmChartResponse) GetName() string
func (*HelmChartResponse) GetScope ¶
func (x *HelmChartResponse) GetScope() string
func (*HelmChartResponse) GetScopeID ¶
func (x *HelmChartResponse) GetScopeID() string
func (*HelmChartResponse) GetVersion ¶
func (x *HelmChartResponse) GetVersion() string
func (*HelmChartResponse) ProtoMessage ¶
func (*HelmChartResponse) ProtoMessage()
func (*HelmChartResponse) ProtoReflect ¶
func (x *HelmChartResponse) ProtoReflect() protoreflect.Message
func (*HelmChartResponse) Reset ¶
func (x *HelmChartResponse) Reset()
func (*HelmChartResponse) String ¶
func (x *HelmChartResponse) String() string
type HelmChartsRequest ¶
type HelmChartsRequest struct { Reference string `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"` ScopeID *string `protobuf:"bytes,2,opt,name=scopeID,proto3,oneof" json:"scopeID,omitempty"` // contains filtered or unexported fields }
func (*HelmChartsRequest) Descriptor
deprecated
func (*HelmChartsRequest) Descriptor() ([]byte, []int)
Deprecated: Use HelmChartsRequest.ProtoReflect.Descriptor instead.
func (*HelmChartsRequest) GetReference ¶
func (x *HelmChartsRequest) GetReference() string
func (*HelmChartsRequest) GetScopeID ¶
func (x *HelmChartsRequest) GetScopeID() string
func (*HelmChartsRequest) ProtoMessage ¶
func (*HelmChartsRequest) ProtoMessage()
func (*HelmChartsRequest) ProtoReflect ¶
func (x *HelmChartsRequest) ProtoReflect() protoreflect.Message
func (*HelmChartsRequest) Reset ¶
func (x *HelmChartsRequest) Reset()
func (*HelmChartsRequest) String ¶
func (x *HelmChartsRequest) String() string
type HelmClient ¶
type HelmClient interface { HelmRepositories(ctx context.Context, in *HelmRepositoriesRequest, opts ...grpc.CallOption) (Helm_HelmRepositoriesClient, error) HelmCharts(ctx context.Context, in *HelmChartsRequest, opts ...grpc.CallOption) (Helm_HelmChartsClient, error) HelmCredentials(ctx context.Context, in *CredentialsRequest, opts ...grpc.CallOption) (Helm_HelmCredentialsClient, error) }
HelmClient is the client API for Helm 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 NewHelmClient ¶
func NewHelmClient(cc grpc.ClientConnInterface) HelmClient
type HelmRepositoriesRequest ¶
type HelmRepositoriesRequest struct { Reference string `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"` ScopeID *string `protobuf:"bytes,2,opt,name=scopeID,proto3,oneof" json:"scopeID,omitempty"` // contains filtered or unexported fields }
Helm -----------------------------------------------------------------------------
func (*HelmRepositoriesRequest) Descriptor
deprecated
func (*HelmRepositoriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use HelmRepositoriesRequest.ProtoReflect.Descriptor instead.
func (*HelmRepositoriesRequest) GetReference ¶
func (x *HelmRepositoriesRequest) GetReference() string
func (*HelmRepositoriesRequest) GetScopeID ¶
func (x *HelmRepositoriesRequest) GetScopeID() string
func (*HelmRepositoriesRequest) ProtoMessage ¶
func (*HelmRepositoriesRequest) ProtoMessage()
func (*HelmRepositoriesRequest) ProtoReflect ¶
func (x *HelmRepositoriesRequest) ProtoReflect() protoreflect.Message
func (*HelmRepositoriesRequest) Reset ¶
func (x *HelmRepositoriesRequest) Reset()
func (*HelmRepositoriesRequest) String ¶
func (x *HelmRepositoriesRequest) String() string
type HelmRepositoryResponse ¶
type HelmRepositoryResponse struct { Reference string `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"` Scope string `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"` ScopeID string `protobuf:"bytes,3,opt,name=scopeID,proto3" json:"scopeID,omitempty"` Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
helm repo add {Scope} {url} https://helm.sh/docs/helm/helm_repo_add/
func MapToHelmRepositoryResponse ¶
func MapToHelmRepositoryResponse(a artifacts.HelmRepositoryInformation) *HelmRepositoryResponse
func (*HelmRepositoryResponse) Descriptor
deprecated
func (*HelmRepositoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use HelmRepositoryResponse.ProtoReflect.Descriptor instead.
func (*HelmRepositoryResponse) GetReference ¶
func (x *HelmRepositoryResponse) GetReference() string
func (*HelmRepositoryResponse) GetScope ¶
func (x *HelmRepositoryResponse) GetScope() string
func (*HelmRepositoryResponse) GetScopeID ¶
func (x *HelmRepositoryResponse) GetScopeID() string
func (*HelmRepositoryResponse) GetUrl ¶
func (x *HelmRepositoryResponse) GetUrl() string
func (*HelmRepositoryResponse) ProtoMessage ¶
func (*HelmRepositoryResponse) ProtoMessage()
func (*HelmRepositoryResponse) ProtoReflect ¶
func (x *HelmRepositoryResponse) ProtoReflect() protoreflect.Message
func (*HelmRepositoryResponse) Reset ¶
func (x *HelmRepositoryResponse) Reset()
func (*HelmRepositoryResponse) String ¶
func (x *HelmRepositoryResponse) String() string
type HelmServer ¶
type HelmServer interface { HelmRepositories(*HelmRepositoriesRequest, Helm_HelmRepositoriesServer) error HelmCharts(*HelmChartsRequest, Helm_HelmChartsServer) error HelmCredentials(*CredentialsRequest, Helm_HelmCredentialsServer) error // contains filtered or unexported methods }
HelmServer is the server API for Helm service. All implementations must embed UnimplementedHelmServer for forward compatibility
type Helm_HelmChartsClient ¶
type Helm_HelmChartsClient interface { Recv() (*HelmChartResponse, error) grpc.ClientStream }
type Helm_HelmChartsServer ¶
type Helm_HelmChartsServer interface { Send(*HelmChartResponse) error grpc.ServerStream }
type Helm_HelmCredentialsClient ¶
type Helm_HelmCredentialsClient interface { Recv() (*CredentialsResponse, error) grpc.ClientStream }
type Helm_HelmCredentialsServer ¶
type Helm_HelmCredentialsServer interface { Send(*CredentialsResponse) error grpc.ServerStream }
type Helm_HelmRepositoriesClient ¶
type Helm_HelmRepositoriesClient interface { Recv() (*HelmRepositoryResponse, error) grpc.ClientStream }
type Helm_HelmRepositoriesServer ¶
type Helm_HelmRepositoriesServer interface { Send(*HelmRepositoryResponse) error grpc.ServerStream }
type MavenArtifactResponse ¶
type MavenArtifactResponse struct { Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` ScopeID string `protobuf:"bytes,2,opt,name=scopeID,proto3" json:"scopeID,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` GroupID string `protobuf:"bytes,4,opt,name=groupID,proto3" json:"groupID,omitempty"` ArtifactID string `protobuf:"bytes,5,opt,name=artifactID,proto3" json:"artifactID,omitempty"` Version string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=createdAt,proto3" json:"createdAt,omitempty"` // contains filtered or unexported fields }
See here: https://maven.apache.org/guides/introduction/introduction-to-the-pom.html
func MapToMavenPackgeResponse ¶
func MapToMavenPackgeResponse(a artifacts.MavenArtifact) *MavenArtifactResponse
func (*MavenArtifactResponse) Descriptor
deprecated
func (*MavenArtifactResponse) Descriptor() ([]byte, []int)
Deprecated: Use MavenArtifactResponse.ProtoReflect.Descriptor instead.
func (*MavenArtifactResponse) GetArtifactID ¶
func (x *MavenArtifactResponse) GetArtifactID() string
func (*MavenArtifactResponse) GetCreatedAt ¶
func (x *MavenArtifactResponse) GetCreatedAt() *timestamppb.Timestamp
func (*MavenArtifactResponse) GetGroupID ¶
func (x *MavenArtifactResponse) GetGroupID() string
func (*MavenArtifactResponse) GetId ¶
func (x *MavenArtifactResponse) GetId() string
func (*MavenArtifactResponse) GetScope ¶
func (x *MavenArtifactResponse) GetScope() string
func (*MavenArtifactResponse) GetScopeID ¶
func (x *MavenArtifactResponse) GetScopeID() string
func (*MavenArtifactResponse) GetVersion ¶
func (x *MavenArtifactResponse) GetVersion() string
func (*MavenArtifactResponse) ProtoMessage ¶
func (*MavenArtifactResponse) ProtoMessage()
func (*MavenArtifactResponse) ProtoReflect ¶
func (x *MavenArtifactResponse) ProtoReflect() protoreflect.Message
func (*MavenArtifactResponse) Reset ¶
func (x *MavenArtifactResponse) Reset()
func (*MavenArtifactResponse) String ¶
func (x *MavenArtifactResponse) String() string
type MavenArtifactsRequest ¶
type MavenArtifactsRequest struct { Reference string `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"` ScopeID *string `protobuf:"bytes,2,opt,name=scopeID,proto3,oneof" json:"scopeID,omitempty"` // contains filtered or unexported fields }
func (*MavenArtifactsRequest) Descriptor
deprecated
func (*MavenArtifactsRequest) Descriptor() ([]byte, []int)
Deprecated: Use MavenArtifactsRequest.ProtoReflect.Descriptor instead.
func (*MavenArtifactsRequest) GetReference ¶
func (x *MavenArtifactsRequest) GetReference() string
func (*MavenArtifactsRequest) GetScopeID ¶
func (x *MavenArtifactsRequest) GetScopeID() string
func (*MavenArtifactsRequest) ProtoMessage ¶
func (*MavenArtifactsRequest) ProtoMessage()
func (*MavenArtifactsRequest) ProtoReflect ¶
func (x *MavenArtifactsRequest) ProtoReflect() protoreflect.Message
func (*MavenArtifactsRequest) Reset ¶
func (x *MavenArtifactsRequest) Reset()
func (*MavenArtifactsRequest) String ¶
func (x *MavenArtifactsRequest) String() string
type MavenClient ¶
type MavenClient interface { MavenRepositories(ctx context.Context, in *MavenRepositoriesRequest, opts ...grpc.CallOption) (Maven_MavenRepositoriesClient, error) MavenArtifacts(ctx context.Context, in *MavenArtifactsRequest, opts ...grpc.CallOption) (Maven_MavenArtifactsClient, error) MavenCredentials(ctx context.Context, in *CredentialsRequest, opts ...grpc.CallOption) (Maven_MavenCredentialsClient, error) }
MavenClient is the client API for Maven 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 NewMavenClient ¶
func NewMavenClient(cc grpc.ClientConnInterface) MavenClient
type MavenRepositoriesRequest ¶
type MavenRepositoriesRequest struct { Reference string `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"` ScopeID *string `protobuf:"bytes,2,opt,name=scopeID,proto3,oneof" json:"scopeID,omitempty"` // contains filtered or unexported fields }
Maven -----------------------------------------------------------------------------
func (*MavenRepositoriesRequest) Descriptor
deprecated
func (*MavenRepositoriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use MavenRepositoriesRequest.ProtoReflect.Descriptor instead.
func (*MavenRepositoriesRequest) GetReference ¶
func (x *MavenRepositoriesRequest) GetReference() string
func (*MavenRepositoriesRequest) GetScopeID ¶
func (x *MavenRepositoriesRequest) GetScopeID() string
func (*MavenRepositoriesRequest) ProtoMessage ¶
func (*MavenRepositoriesRequest) ProtoMessage()
func (*MavenRepositoriesRequest) ProtoReflect ¶
func (x *MavenRepositoriesRequest) ProtoReflect() protoreflect.Message
func (*MavenRepositoriesRequest) Reset ¶
func (x *MavenRepositoriesRequest) Reset()
func (*MavenRepositoriesRequest) String ¶
func (x *MavenRepositoriesRequest) String() string
type MavenRepositoryResponse ¶
type MavenRepositoryResponse struct { Reference string `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"` Scope string `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"` ScopeID string `protobuf:"bytes,3,opt,name=scopeID,proto3" json:"scopeID,omitempty"` Repository string `protobuf:"bytes,4,opt,name=repository,proto3" json:"repository,omitempty"` // contains filtered or unexported fields }
mvn package -Dmaven.repo.remote={repository} <project>
... <repositories> <repository> <id>{repositoryId}</id> <url>{Scope}</url> </repository> </repositories> ...
</project>
func MapToMavenRepositoryResponse ¶
func MapToMavenRepositoryResponse(a artifacts.MavenRepositoryInformation) *MavenRepositoryResponse
func (*MavenRepositoryResponse) Descriptor
deprecated
func (*MavenRepositoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use MavenRepositoryResponse.ProtoReflect.Descriptor instead.
func (*MavenRepositoryResponse) GetReference ¶
func (x *MavenRepositoryResponse) GetReference() string
func (*MavenRepositoryResponse) GetRepository ¶
func (x *MavenRepositoryResponse) GetRepository() string
func (*MavenRepositoryResponse) GetScope ¶
func (x *MavenRepositoryResponse) GetScope() string
func (*MavenRepositoryResponse) GetScopeID ¶
func (x *MavenRepositoryResponse) GetScopeID() string
func (*MavenRepositoryResponse) ProtoMessage ¶
func (*MavenRepositoryResponse) ProtoMessage()
func (*MavenRepositoryResponse) ProtoReflect ¶
func (x *MavenRepositoryResponse) ProtoReflect() protoreflect.Message
func (*MavenRepositoryResponse) Reset ¶
func (x *MavenRepositoryResponse) Reset()
func (*MavenRepositoryResponse) String ¶
func (x *MavenRepositoryResponse) String() string
type MavenServer ¶
type MavenServer interface { MavenRepositories(*MavenRepositoriesRequest, Maven_MavenRepositoriesServer) error MavenArtifacts(*MavenArtifactsRequest, Maven_MavenArtifactsServer) error MavenCredentials(*CredentialsRequest, Maven_MavenCredentialsServer) error // contains filtered or unexported methods }
MavenServer is the server API for Maven service. All implementations must embed UnimplementedMavenServer for forward compatibility
type Maven_MavenArtifactsClient ¶
type Maven_MavenArtifactsClient interface { Recv() (*MavenArtifactResponse, error) grpc.ClientStream }
type Maven_MavenArtifactsServer ¶
type Maven_MavenArtifactsServer interface { Send(*MavenArtifactResponse) error grpc.ServerStream }
type Maven_MavenCredentialsClient ¶
type Maven_MavenCredentialsClient interface { Recv() (*CredentialsResponse, error) grpc.ClientStream }
type Maven_MavenCredentialsServer ¶
type Maven_MavenCredentialsServer interface { Send(*CredentialsResponse) error grpc.ServerStream }
type Maven_MavenRepositoriesClient ¶
type Maven_MavenRepositoriesClient interface { Recv() (*MavenRepositoryResponse, error) grpc.ClientStream }
type Maven_MavenRepositoriesServer ¶
type Maven_MavenRepositoriesServer interface { Send(*MavenRepositoryResponse) error grpc.ServerStream }
type NugetClient ¶
type NugetClient interface { NugetFeeds(ctx context.Context, in *NugetFeedsRequest, opts ...grpc.CallOption) (Nuget_NugetFeedsClient, error) NugetPackages(ctx context.Context, in *NugetPackagesRequest, opts ...grpc.CallOption) (Nuget_NugetPackagesClient, error) NugetCredentials(ctx context.Context, in *CredentialsRequest, opts ...grpc.CallOption) (Nuget_NugetCredentialsClient, error) }
NugetClient is the client API for Nuget 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 NewNugetClient ¶
func NewNugetClient(cc grpc.ClientConnInterface) NugetClient
type NugetFeedResponse ¶
type NugetFeedResponse struct { Reference string `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"` Scope string `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"` ScopeID string `protobuf:"bytes,3,opt,name=scopeID,proto3" json:"scopeID,omitempty"` Feed string `protobuf:"bytes,4,opt,name=feed,proto3" json:"feed,omitempty"` // contains filtered or unexported fields }
dotnet nuget add source {Scope} --username {name} --password {feed} We could introduce an optional name, but that might clash with the users current configuration
func MapToNugetFeedResponse ¶
func MapToNugetFeedResponse(a artifacts.NugetFeedInformation) *NugetFeedResponse
func (*NugetFeedResponse) Descriptor
deprecated
func (*NugetFeedResponse) Descriptor() ([]byte, []int)
Deprecated: Use NugetFeedResponse.ProtoReflect.Descriptor instead.
func (*NugetFeedResponse) GetFeed ¶
func (x *NugetFeedResponse) GetFeed() string
func (*NugetFeedResponse) GetReference ¶
func (x *NugetFeedResponse) GetReference() string
func (*NugetFeedResponse) GetScope ¶
func (x *NugetFeedResponse) GetScope() string
func (*NugetFeedResponse) GetScopeID ¶
func (x *NugetFeedResponse) GetScopeID() string
func (*NugetFeedResponse) ProtoMessage ¶
func (*NugetFeedResponse) ProtoMessage()
func (*NugetFeedResponse) ProtoReflect ¶
func (x *NugetFeedResponse) ProtoReflect() protoreflect.Message
func (*NugetFeedResponse) Reset ¶
func (x *NugetFeedResponse) Reset()
func (*NugetFeedResponse) String ¶
func (x *NugetFeedResponse) String() string
type NugetFeedsRequest ¶
type NugetFeedsRequest struct { Reference string `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"` ScopeID *string `protobuf:"bytes,2,opt,name=scopeID,proto3,oneof" json:"scopeID,omitempty"` // contains filtered or unexported fields }
Nuget -----------------------------------------------------------------------------
func (*NugetFeedsRequest) Descriptor
deprecated
func (*NugetFeedsRequest) Descriptor() ([]byte, []int)
Deprecated: Use NugetFeedsRequest.ProtoReflect.Descriptor instead.
func (*NugetFeedsRequest) GetReference ¶
func (x *NugetFeedsRequest) GetReference() string
func (*NugetFeedsRequest) GetScopeID ¶
func (x *NugetFeedsRequest) GetScopeID() string
func (*NugetFeedsRequest) ProtoMessage ¶
func (*NugetFeedsRequest) ProtoMessage()
func (*NugetFeedsRequest) ProtoReflect ¶
func (x *NugetFeedsRequest) ProtoReflect() protoreflect.Message
func (*NugetFeedsRequest) Reset ¶
func (x *NugetFeedsRequest) Reset()
func (*NugetFeedsRequest) String ¶
func (x *NugetFeedsRequest) String() string
type NugetPackageResponse ¶
type NugetPackageResponse struct { Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` ScopeID string `protobuf:"bytes,2,opt,name=scopeID,proto3" json:"scopeID,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"` Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updatedAt,proto3,oneof" json:"updatedAt,omitempty"` // contains filtered or unexported fields }
dotnet add package {id} --version {version} or <PackageReference Include="{name}" Version="{Version}" />
func MapToNugetPackgeResponse ¶
func MapToNugetPackgeResponse(a artifacts.NugetPackage) *NugetPackageResponse
SERVER ----------------------------------------------------------------------------
func (*NugetPackageResponse) Descriptor
deprecated
func (*NugetPackageResponse) Descriptor() ([]byte, []int)
Deprecated: Use NugetPackageResponse.ProtoReflect.Descriptor instead.
func (*NugetPackageResponse) GetCreatedAt ¶
func (x *NugetPackageResponse) GetCreatedAt() *timestamppb.Timestamp
func (*NugetPackageResponse) GetId ¶
func (x *NugetPackageResponse) GetId() string
func (*NugetPackageResponse) GetName ¶
func (x *NugetPackageResponse) GetName() string
func (*NugetPackageResponse) GetScope ¶
func (x *NugetPackageResponse) GetScope() string
func (*NugetPackageResponse) GetScopeID ¶
func (x *NugetPackageResponse) GetScopeID() string
func (*NugetPackageResponse) GetTags ¶
func (x *NugetPackageResponse) GetTags() []string
func (*NugetPackageResponse) GetUpdatedAt ¶
func (x *NugetPackageResponse) GetUpdatedAt() *timestamppb.Timestamp
func (*NugetPackageResponse) GetVersion ¶
func (x *NugetPackageResponse) GetVersion() string
func (*NugetPackageResponse) ProtoMessage ¶
func (*NugetPackageResponse) ProtoMessage()
func (*NugetPackageResponse) ProtoReflect ¶
func (x *NugetPackageResponse) ProtoReflect() protoreflect.Message
func (*NugetPackageResponse) Reset ¶
func (x *NugetPackageResponse) Reset()
func (*NugetPackageResponse) String ¶
func (x *NugetPackageResponse) String() string
type NugetPackagesRequest ¶
type NugetPackagesRequest struct { Reference string `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"` ScopeID *string `protobuf:"bytes,2,opt,name=scopeID,proto3,oneof" json:"scopeID,omitempty"` // contains filtered or unexported fields }
func (*NugetPackagesRequest) Descriptor
deprecated
func (*NugetPackagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use NugetPackagesRequest.ProtoReflect.Descriptor instead.
func (*NugetPackagesRequest) GetReference ¶
func (x *NugetPackagesRequest) GetReference() string
func (*NugetPackagesRequest) GetScopeID ¶
func (x *NugetPackagesRequest) GetScopeID() string
func (*NugetPackagesRequest) ProtoMessage ¶
func (*NugetPackagesRequest) ProtoMessage()
func (*NugetPackagesRequest) ProtoReflect ¶
func (x *NugetPackagesRequest) ProtoReflect() protoreflect.Message
func (*NugetPackagesRequest) Reset ¶
func (x *NugetPackagesRequest) Reset()
func (*NugetPackagesRequest) String ¶
func (x *NugetPackagesRequest) String() string
type NugetServer ¶
type NugetServer interface { NugetFeeds(*NugetFeedsRequest, Nuget_NugetFeedsServer) error NugetPackages(*NugetPackagesRequest, Nuget_NugetPackagesServer) error NugetCredentials(*CredentialsRequest, Nuget_NugetCredentialsServer) error // contains filtered or unexported methods }
NugetServer is the server API for Nuget service. All implementations must embed UnimplementedNugetServer for forward compatibility
type Nuget_NugetCredentialsClient ¶
type Nuget_NugetCredentialsClient interface { Recv() (*CredentialsResponse, error) grpc.ClientStream }
type Nuget_NugetCredentialsServer ¶
type Nuget_NugetCredentialsServer interface { Send(*CredentialsResponse) error grpc.ServerStream }
type Nuget_NugetFeedsClient ¶
type Nuget_NugetFeedsClient interface { Recv() (*NugetFeedResponse, error) grpc.ClientStream }
type Nuget_NugetFeedsServer ¶
type Nuget_NugetFeedsServer interface { Send(*NugetFeedResponse) error grpc.ServerStream }
type Nuget_NugetPackagesClient ¶
type Nuget_NugetPackagesClient interface { Recv() (*NugetPackageResponse, error) grpc.ClientStream }
type Nuget_NugetPackagesServer ¶
type Nuget_NugetPackagesServer interface { Send(*NugetPackageResponse) error grpc.ServerStream }
type UnimplementedDockerServer ¶
type UnimplementedDockerServer struct { }
UnimplementedDockerServer must be embedded to have forward compatible implementations.
func (UnimplementedDockerServer) DockerCredentials ¶
func (UnimplementedDockerServer) DockerCredentials(*CredentialsRequest, Docker_DockerCredentialsServer) error
func (UnimplementedDockerServer) DockerImages ¶
func (UnimplementedDockerServer) DockerImages(*DockerImagesRequest, Docker_DockerImagesServer) error
func (UnimplementedDockerServer) DockerRegistries ¶
func (UnimplementedDockerServer) DockerRegistries(*DockerRegistriesRequest, Docker_DockerRegistriesServer) error
type UnimplementedHelmServer ¶
type UnimplementedHelmServer struct { }
UnimplementedHelmServer must be embedded to have forward compatible implementations.
func (UnimplementedHelmServer) HelmCharts ¶
func (UnimplementedHelmServer) HelmCharts(*HelmChartsRequest, Helm_HelmChartsServer) error
func (UnimplementedHelmServer) HelmCredentials ¶
func (UnimplementedHelmServer) HelmCredentials(*CredentialsRequest, Helm_HelmCredentialsServer) error
func (UnimplementedHelmServer) HelmRepositories ¶
func (UnimplementedHelmServer) HelmRepositories(*HelmRepositoriesRequest, Helm_HelmRepositoriesServer) error
type UnimplementedMavenServer ¶
type UnimplementedMavenServer struct { }
UnimplementedMavenServer must be embedded to have forward compatible implementations.
func (UnimplementedMavenServer) MavenArtifacts ¶
func (UnimplementedMavenServer) MavenArtifacts(*MavenArtifactsRequest, Maven_MavenArtifactsServer) error
func (UnimplementedMavenServer) MavenCredentials ¶
func (UnimplementedMavenServer) MavenCredentials(*CredentialsRequest, Maven_MavenCredentialsServer) error
func (UnimplementedMavenServer) MavenRepositories ¶
func (UnimplementedMavenServer) MavenRepositories(*MavenRepositoriesRequest, Maven_MavenRepositoriesServer) error
type UnimplementedNugetServer ¶
type UnimplementedNugetServer struct { }
UnimplementedNugetServer must be embedded to have forward compatible implementations.
func (UnimplementedNugetServer) NugetCredentials ¶
func (UnimplementedNugetServer) NugetCredentials(*CredentialsRequest, Nuget_NugetCredentialsServer) error
func (UnimplementedNugetServer) NugetFeeds ¶
func (UnimplementedNugetServer) NugetFeeds(*NugetFeedsRequest, Nuget_NugetFeedsServer) error
func (UnimplementedNugetServer) NugetPackages ¶
func (UnimplementedNugetServer) NugetPackages(*NugetPackagesRequest, Nuget_NugetPackagesServer) error
type UnsafeDockerServer ¶
type UnsafeDockerServer interface {
// contains filtered or unexported methods
}
UnsafeDockerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DockerServer will result in compilation errors.
type UnsafeHelmServer ¶
type UnsafeHelmServer interface {
// contains filtered or unexported methods
}
UnsafeHelmServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HelmServer will result in compilation errors.
type UnsafeMavenServer ¶
type UnsafeMavenServer interface {
// contains filtered or unexported methods
}
UnsafeMavenServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MavenServer will result in compilation errors.
type UnsafeNugetServer ¶
type UnsafeNugetServer interface {
// contains filtered or unexported methods
}
UnsafeNugetServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NugetServer will result in compilation errors.