github.com/aporeto-inc/trireme-lib@v10.358.0+incompatible/controller/pkg/secrets/interfaces.go (about)

     1  package secrets
     2  
     3  // PublicKeyAdder register a publicKey for a Node.
     4  type PublicKeyAdder interface {
     5  
     6  	// PublicKeyAdd adds the given cert for the given host.
     7  	PublicKeyAdd(host string, cert []byte) error
     8  }