github.com/makyo/juju@v0.0.0-20160425123129-2608902037e9/apiserver/params/ssh.go (about)

     1  // Copyright 2016 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  package params
     5  
     6  // SSHHostKeySet defines SSH host keys for one or more entities
     7  // (typically machines).
     8  type SSHHostKeySet struct {
     9  	EntityKeys []SSHHostKeys `json:"entity-keys"`
    10  }
    11  
    12  // SSHHostKeys defines the SSH host keys for one entity.
    13  type SSHHostKeys struct {
    14  	Tag        string   `json:"tag"`
    15  	PublicKeys []string `json:"public-keys"`
    16  }