Ejemplo n.º 1
0
Archivo: sign.go Proyecto: rswart/fleet
// GetSignatureSetOfJob retrieves the SignatureSet associated with the given
// job, or nil if none can be found
func (r *EtcdRegistry) GetSignatureSetOfJob(name string) *sign.SignatureSet {
	return r.GetSignatureSet(sign.TagForJob(name))
}
Ejemplo n.º 2
0
Archivo: sign.go Proyecto: rswart/fleet
func (r *EtcdRegistry) destroySignatureSetOfJob(name string) {
	r.DestroySignatureSet(sign.TagForJob(name))
}
Ejemplo n.º 3
0
// JobSignatureSet retrieves the SignatureSet associated with the given
// job, or nil if none can be found
func (r *EtcdRegistry) JobSignatureSet(name string) (*sign.SignatureSet, error) {
	// TODO(jonboulle): handle errors
	return r.getSignatureSet(sign.TagForJob(name)), nil
}