Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tenet ¶
type Tenet interface { // Pull uses the tenet's driver to pull its image from its repository. Pull(bool) error // Service initiates the backing mirco-service and returns an object // to interact with it. Note the service needs to be explicitly // started and stopped. OpenService() (TenetService, error) }
type TenetService ¶
type TenetService interface { // Close stops the micro-service. This closes the connection to the service. If // it is a locally running micro-service, the locally running process will // be killed. Close() error // Review reads from filesc and writes to issuesc. It is the // responsibility of the caller to close filesc. The stream to the service // will stay open until filesc is closed. Review(filesc <-chan *api.File, issuesc chan<- *api.Issue, t *tomb.Tomb) error // Info returns all metadata about this tenet. Info() (*api.Info, error) // contains filtered or unexported methods }
Click to show internal directories.
Click to hide internal directories.