func (c *serializeContainerPermission) CreatePermission(cmd *cobra.Command, id string) (*jobs.KeyPermission, error) { return jobs.NewKeyPermission(ssh.ContainerPermissionType, id) }
func (c *permissionHandler) CreatePermission(cmd *cobra.Command, id string) (*sshjobs.KeyPermission, error) { return sshjobs.NewKeyPermission(git.RepositoryPermissionType, &git.RepositoryPermission{id, c.writeAccess}) }