Documentation ¶
Index ¶
- type Config
- type DeviceFilters
- type DeviceListConfig
- type DownloadConfig
- type Manager
- func (m *Manager) AcceptAgreement(ctx context.Context, hash string) error
- func (m *Manager) CurrentSDKPath(_ context.Context, binary bool) error
- func (m *Manager) Download(ctx context.Context, config DownloadConfig) error
- func (m *Manager) DownloadSDK(ctx context.Context, semverConstraint *semver.Constraints) error
- func (m *Manager) ListDevices(ctx context.Context, config DeviceListConfig) error
- func (m *Manager) ListSDKs(ctx context.Context, semverConstraint *semver.Constraints) error
- func (m *Manager) LoginWithCredentials(ctx context.Context, username, password string) error
- func (m *Manager) LoginWithOauth(ctx context.Context) error
- func (m *Manager) SetSDK(ctx context.Context, semverConstraint *semver.Constraints) error
- func (m *Manager) ViewAgreement(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceFilters ¶ added in v0.3.1
type DeviceFilters struct { Manifest string // Path to the manifest file where devices are specified DeviceNames []string // The name of the device to download }
DeviceFilters describes which devices should be filtered
type DeviceListConfig ¶ added in v0.4.0
type DeviceListConfig struct {
DeviceFilters DeviceFilters
}
type DownloadConfig ¶ added in v0.3.1
type DownloadConfig struct { DeviceFilters DeviceFilters IncludeFonts bool }
type Manager ¶
func NewManager ¶ added in v0.6.0
func (*Manager) AcceptAgreement ¶ added in v0.6.0
func (*Manager) CurrentSDKPath ¶ added in v0.4.0
func (*Manager) Download ¶
func (m *Manager) Download(ctx context.Context, config DownloadConfig) error
func (*Manager) DownloadSDK ¶ added in v0.4.0
func (*Manager) ListDevices ¶ added in v0.4.0
func (m *Manager) ListDevices(ctx context.Context, config DeviceListConfig) error
func (*Manager) LoginWithCredentials ¶ added in v0.4.0
func (*Manager) LoginWithOauth ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.