Documentation ¶
Index ¶
Constants ¶
View Source
const Ec2User = "ec2-user"
Variables ¶
View Source
var ErrNoInstances = errors.New("No bastion instances found")
Functions ¶
This section is empty.
Types ¶
type EC2BastionService ¶
type EC2BastionService struct {
// contains filtered or unexported fields
}
func NewEC2BastionService ¶
func NewEC2BastionService( ec2Client *ec2.Client, instanceConnect *ec2instanceconnect.Client, filters []ec2Types.Filter, ) *EC2BastionService
func (*EC2BastionService) GetBastion ¶
func (self *EC2BastionService) GetBastion(ctx context.Context) (*tunnels.BastionEntity, error)
GetBastion implements services.BastionService.
func (*EC2BastionService) PushKey ¶
func (self *EC2BastionService) PushKey( ctx context.Context, bastion *tunnels.BastionEntity, pub string, ) error
PushKey implements tunnels.BastionService.
Click to show internal directories.
Click to hide internal directories.