Documentation ¶
Overview ¶
Package minirepo (internal) provides all types needed for implementing the command line interface
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server contains the functionality of minirepo's commandline interface This is supposed to be internal use only ;) A Server abstracts the metadata file creation of a repository, including cryptographic operations. The normal usage of this class would be:
obj := NewServer(...) obj.LoadKeypair() obj.UpdateMetadata()
func (*Server) GenerateKeypair ¶
func (s *Server) GenerateKeypair()
GenerateKeypair generates a new keypair for signing
func (*Server) UpdateMetadata ¶
func (s *Server) UpdateMetadata()
UpdateMetadata updates metadata, that is, loads all files, calculates checksums, outputs the YAML file and signs it
Click to show internal directories.
Click to hide internal directories.