// 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)) }
func (r *EtcdRegistry) destroySignatureSetOfJob(name string) { r.DestroySignatureSet(sign.TagForJob(name)) }
// 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 }