Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
feudal
feudalClient
Commits
c2cbb91b
Commit
c2cbb91b
authored
Jan 14, 2020
by
Lukas Burgey
Browse files
Merge branch 'service-contact' into dev
parents
3c78804f
4f04df33
Pipeline
#64877
failed with stages
in 31 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
config/config.go
View file @
c2cbb91b
...
@@ -21,9 +21,19 @@ type (
...
@@ -21,9 +21,19 @@ type (
// Service for which we do deployments
// Service for which we do deployments
Service
struct
{
Service
struct
{
Name
string
`json:"name" yaml:"name"`
// Name is the name of the service. It is presented to users.
Command
string
`json:"command" yaml:"command"`
Name
string
`json:"name" yaml:"name"`
// Command is a shell command to invoke the adapter
Command
string
`json:"command" yaml:"command"`
// Description describes the service. It is presented to users
Description
string
`json:"description" yaml:"description"`
Description
string
`json:"description" yaml:"description"`
// ContactEmail is an email
ContactEmail
string
`json:"contact_email" yaml:"contact_email"`
// ContactDescription describes the person contable using ContactEmail
ContactDescription
string
`json:"contact_description" yaml:"contact_description"`
}
}
// RabbitMQConfig is used for the amqp source
// RabbitMQConfig is used for the amqp source
...
...
main.go
View file @
c2cbb91b
...
@@ -26,7 +26,7 @@ var (
...
@@ -26,7 +26,7 @@ var (
)
.
Author
(
)
.
Author
(
"Lukas Burgey"
,
"Lukas Burgey"
,
)
.
Version
(
)
.
Version
(
"v2.
1.3
"
,
"v2.
2.0
"
,
)
)
cmdStart
=
app
.
Command
(
"start"
,
"Starts the client in its normal operation mode."
)
.
Default
()
cmdStart
=
app
.
Command
(
"start"
,
"Starts the client in its normal operation mode."
)
.
Default
()
cmdDeregister
=
app
.
Command
(
"deregister"
,
"Before disabling the client: Use deregister to inform the backend that the client ceases operation."
)
cmdDeregister
=
app
.
Command
(
"deregister"
,
"Before disabling the client: Use deregister to inform the backend that the client ceases operation."
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment