Example #1
0
File: sign.go Project: 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))
}
Example #2
0
File: sign.go Project: rswart/fleet
func (r *EtcdRegistry) destroySignatureSetOfJob(name string) {
	r.DestroySignatureSet(sign.TagForJob(name))
}
Example #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
}