github.com/cloudbase/juju-core@v0.0.0-20140504232958-a7271ac7912f/state/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  	"launchpad.net/juju-core/charm"
     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  }