Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TagIt ¶
type TagIt struct {
ConsulAddr string
ServiceID string
Script string
Interval time.Duration
Token string
TagPrefix string
// contains filtered or unexported fields
}
TagIt is the main struct for the tagit flow.
func New ¶
func New(consulAddr string, serviceID string, script string, interval time.Duration, token string, tagPrefix string) (t *TagIt, err error)
New creates a new TagIt struct.
func (*TagIt) CleanupServiceTags ¶
CleanupServiceTags cleans up the service tags added by tagit.
Click to show internal directories.
Click to hide internal directories.