aboutsummaryrefslogtreecommitdiffstats
path: root/lib/agent/project-interface.go
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2018-01-05 15:50:09 +0100
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-01-05 15:50:09 +0100
commita2cc38902ff7528870822110c4f04329a3918564 (patch)
tree039b3efea72a9092a6988209354e590ecafc7716 /lib/agent/project-interface.go
parent2de3cf95d310ae0c83e68973cd97921f7f6fff4a (diff)
Migration to AGL gerrit (update go import)
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'lib/agent/project-interface.go')
-rw-r--r--lib/agent/project-interface.go20
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/agent/project-interface.go b/lib/agent/project-interface.go
index 867c588..4d61819 100644
--- a/lib/agent/project-interface.go
+++ b/lib/agent/project-interface.go
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2017 "IoT.bzh"
+ * Copyright (C) 2017-2018 "IoT.bzh"
* Author Sebastien Douheret <sebastien@iot.bzh>
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -17,16 +17,16 @@
package agent
-import "github.com/iotbzh/xds-agent/lib/xaapiv1"
+import "gerrit.automotivelinux.org/gerrit/src/xds/xds-agent/lib/xaapiv1"
// IPROJECT Project interface
type IPROJECT interface {
- Add(cfg xaapiv1.ProjectConfig) (*xaapiv1.ProjectConfig, error) // Add a new project
- Setup(prj xaapiv1.ProjectConfig) (*xaapiv1.ProjectConfig, error) // Local setup of the project
- Delete() error // Delete a project
- GetProject() *xaapiv1.ProjectConfig // Get project public configuration
- Update(prj xaapiv1.ProjectConfig) (*xaapiv1.ProjectConfig, error) // Update project configuration
- GetServer() *XdsServer // Get XdsServer that holds this project
- Sync() error // Force project files synchronization
- IsInSync() (bool, error) // Check if project files are in-sync
+ Add(cfg xaapiv1.ProjectConfig) (*xaapiv1.ProjectConfig, error) // Add a new project
+ Setup(prj xaapiv1.ProjectConfig) (*xaapiv1.ProjectConfig, error) // Local setup of the project
+ Delete() error // Delete a project
+ GetProject() *xaapiv1.ProjectConfig // Get project public configuration
+ Update(prj xaapiv1.ProjectConfig) (*xaapiv1.ProjectConfig, error) // Update project configuration
+ GetServer() *XdsServer // Get XdsServer that holds this project
+ Sync() error // Force project files synchronization
+ IsInSync() (bool, error) // Check if project files are in-sync
}