Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

notifier: Refactor and add client certificate authentification support. #29

Merged
merged 2 commits into from
Dec 4, 2015

Conversation

Quentin-M
Copy link
Contributor

Fixes #23

@Quentin-M Quentin-M force-pushed the notifier_tls branch 4 times, most recently from 6cafe4f to 8260b17 Compare November 24, 2015 15:49
@jzelinskie jzelinskie self-assigned this Nov 25, 2015
// A Notification represents the structure of the notifications that are sent by a Notifier.
type Notification struct {
Name, Type string
Content interface{}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Eventually we should change this type to something like json.Marshaller.

@Quentin-M
Copy link
Contributor Author

Updated.

func (notifier *HTTPNotifier) Run(st *utils.Stopper) {
defer st.End()
// NewNotifier initializes a new Notifier from the specified configuration.
func NewNotifier(cfg Config) *Notifier {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could just call this New to make it less redundant. It would look like notifier.New() then.

@jzelinskie
Copy link
Contributor

rebase

@Quentin-M Quentin-M force-pushed the notifier_tls branch 2 times, most recently from 203607f to 0ec7ad5 Compare December 4, 2015 21:37
@jzelinskie
Copy link
Contributor

LGTM

Quentin-M pushed a commit that referenced this pull request Dec 4, 2015
notifier: Refactor and add client certificate authentification support.
@Quentin-M Quentin-M merged commit d05a97a into quay:master Dec 4, 2015
@Quentin-M Quentin-M deleted the notifier_tls branch December 4, 2015 21:59
@jzelinskie jzelinskie added area/usability related to improving user experience kind/cleanup no functional changes, only reorganization kind/feature request wishes for new functionality/docs reviewed/lgtm labels Mar 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/usability related to improving user experience kind/cleanup no functional changes, only reorganization kind/feature request wishes for new functionality/docs
Development

Successfully merging this pull request may close these issues.

None yet

2 participants