コード例 #1
0
ファイル: sous_query_ads.go プロジェクト: opentable/sous
func (*SousQueryAds) RegisterOn(psy Addable) {
	psy.Add(graph.DryrunOption("none"))
}
コード例 #2
0
ファイル: sous_deploy.go プロジェクト: opentable/sous
// RegisterOn adds the DeploymentConfig to the psyringe to configure the
// labeller and registrar.
func (sd *SousDeploy) RegisterOn(psy Addable) {
	psy.Add(&sd.DeployFilterFlags)
	psy.Add(&sd.OTPLFlags)
	psy.Add(graph.DryrunOption(sd.rectifyFlags.dryrun))
}
コード例 #3
0
ファイル: sous_server.go プロジェクト: opentable/sous
// RegisterOn adds the DeploymentConfig to the psyringe to configure the
// labeller and registrar.
func (ss *SousServer) RegisterOn(psy Addable) {
	psy.Add(graph.DryrunOption(ss.flags.dryrun))
	psy.Add(&ss.DeployFilterFlags)
}
コード例 #4
0
ファイル: sous_rectify.go プロジェクト: opentable/sous
// RegisterOn adds the DeploymentConfig to the psyringe to configure the
// labeller and registrar.
func (sr *SousRectify) RegisterOn(psy Addable) {
	psy.Add(graph.DryrunOption(sr.flags.dryrun))
	psy.Add(&sr.SourceFlags)
}