Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizedKey ¶
type AuthorizedKey struct {
// contains filtered or unexported fields
}
func (*AuthorizedKey) String ¶
func (k *AuthorizedKey) String() string
func (*AuthorizedKey) UnmarshalYAML ¶
func (k *AuthorizedKey) UnmarshalYAML(node *yaml.Node) error
type AwsConfig ¶
type AwsConfig struct { Region string Credentials *credentials.Credentials }
func (*AwsConfig) UnmarshalYAML ¶
type Config ¶
type Config struct { HostKeys HostKeys `yaml:"HostKeys"` AwsConfig AwsConfig `yaml:"AwsConfig"` DefaultFormat DefaultFormat `yaml:"DefaultFormat"` Permissions []Permission `yaml:"Permissions"` ListenAddress string `yaml:"ListenAddress"` }
type DefaultFormat ¶
type DefaultFormat struct {
// contains filtered or unexported fields
}
func (*DefaultFormat) Apply ¶
func (df *DefaultFormat) Apply(response *boggart.Response) ([]byte, error)
func (*DefaultFormat) Name ¶
func (df *DefaultFormat) Name() string
func (*DefaultFormat) UnmarshalYAML ¶
func (df *DefaultFormat) UnmarshalYAML(node *yaml.Node) error
type HostKeys ¶
func (*HostKeys) UnmarshalYAML ¶
type Permission ¶
type Permission struct { Name string `yaml:"Name"` AuthorizedKey AuthorizedKey `yaml:"AuthorizedKey"` Roles []RolePattern `yaml:"Roles"` }
func (*Permission) CanAssumeRole ¶
func (p *Permission) CanAssumeRole(arn string) bool
func (*Permission) IsKeyAuthorized ¶
func (p *Permission) IsKeyAuthorized(key ssh.PublicKey) bool
type RolePattern ¶
type RolePattern struct {
// contains filtered or unexported fields
}
func (*RolePattern) Matches ¶
func (rp *RolePattern) Matches(arn string) bool
func (*RolePattern) UnmarshalYAML ¶
func (rp *RolePattern) UnmarshalYAML(node *yaml.Node) error
Click to show internal directories.
Click to hide internal directories.