github.com/wallyworld/juju@v0.0.0-20161013125918-6cf1bc9d917a/api/uniter/endpoint.go (about)

     1  // Copyright 2013 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  package uniter
     5  
     6  import (
     7  	"gopkg.in/juju/charm.v6-unstable"
     8  )
     9  
    10  // Endpoint represents one endpoint of a relation. It is just a wrapper
    11  // around charm.Relation. No API calls to the server-side are needed to
    12  // support the interface needed by the uniter worker.
    13  type Endpoint struct {
    14  	charm.Relation
    15  }