Documentation ¶
Index ¶
- Variables
- type Server
- func (s *Server) GetArtifactList(ctx context.Context, in *apb.GetArtifactListRequest) (*vpb.ArtifactSet, error)
- func (s *Server) GetDownloadLink(ctx context.Context, in *apb.GetDownloadLinkRequest) (*apb.GetDownloadLinkResponse, error)
- func (s *Server) UpdateManifest(m *manifest.ArtifactManifest) error
Constants ¶
This section is empty.
Variables ¶
View Source
var URLSigner = storage.SignedURL
URLSigner is the function used to sign urls.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is the controller for the artifact tracker service.
func (*Server) GetArtifactList ¶
func (s *Server) GetArtifactList(ctx context.Context, in *apb.GetArtifactListRequest) (*vpb.ArtifactSet, error)
GetArtifactList returns a list of artifacts matching the passed in criteria.
func (*Server) GetDownloadLink ¶
func (s *Server) GetDownloadLink(ctx context.Context, in *apb.GetDownloadLinkRequest) (*apb.GetDownloadLinkResponse, error)
GetDownloadLink returns a signed download link that can be used to download the artifact.
func (*Server) UpdateManifest ¶
func (s *Server) UpdateManifest(m *manifest.ArtifactManifest) error
UpdateManifest switches the server's manifest to use the one given.
Click to show internal directories.
Click to hide internal directories.