Documentation
¶
Overview ¶
Package base provides a Config type for open network.
Index ¶
- type Config
- func (*Config) Class() string
- func (*Config) HostapdConfig() (map[string]string, error)
- func (*Config) InstallClientCredentials(context.Context, *netcertstore.Store) error
- func (*Config) InstallRouterCredentials(context.Context, *ssh.Conn, string) error
- func (*Config) NeedsNetCertStore() bool
- func (*Config) ShillServiceProperties() (map[string]interface{}, error)
- type ConfigFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct{}
Config implements security.Config interface for open network, i.e., no security.
func (*Config) HostapdConfig ¶
HostapdConfig returns hostapd config of open network.
func (*Config) InstallClientCredentials ¶
InstallClientCredentials installs the necessary credentials onto DUT.
func (*Config) InstallRouterCredentials ¶
InstallRouterCredentials installs the necessary credentials onto router.
func (*Config) NeedsNetCertStore ¶
NeedsNetCertStore tells that netcert store is not necessary for this configuration.
func (*Config) ShillServiceProperties ¶
ShillServiceProperties returns shill properties of open network.
type ConfigFactory ¶
type ConfigFactory struct{}
ConfigFactory provides Gen method to build a new Config.
func NewConfigFactory ¶
func NewConfigFactory() *ConfigFactory
NewConfigFactory builds a ConfigFactory.
Click to show internal directories.
Click to hide internal directories.