Documentation ¶
Overview ¶
Package appstoreconnectclient implements autocodesign.DevPortalClient, using an API key as the authentication method.
It depends on appstoreconnect package.
Index ¶
- func NewAPIDevPortalClient(client *appstoreconnect.Client) autocodesign.DevPortalClient
- func NewAPIProfile(client *appstoreconnect.Client, profile *appstoreconnect.Profile) autocodesign.Profile
- type APIProfile
- func (p APIProfile) Attributes() appstoreconnect.ProfileAttributes
- func (p APIProfile) BundleID() (appstoreconnect.BundleID, error)
- func (p APIProfile) CertificateIDs() ([]string, error)
- func (p APIProfile) DeviceIDs() ([]string, error)
- func (p APIProfile) Entitlements() (autocodesign.Entitlements, error)
- func (p APIProfile) ID() string
- type AuthClient
- type CertificateSource
- type Client
- type DeviceClient
- type ProfileClient
- func (c *ProfileClient) CheckBundleIDEntitlements(bundleID appstoreconnect.BundleID, appEntitlements autocodesign.Entitlements) error
- func (c *ProfileClient) CreateBundleID(bundleIDIdentifier, appIDName string) (*appstoreconnect.BundleID, error)
- func (c *ProfileClient) CreateProfile(name string, profileType appstoreconnect.ProfileType, ...) (autocodesign.Profile, error)
- func (c *ProfileClient) DeleteProfile(id string) error
- func (c *ProfileClient) FindBundleID(bundleIDIdentifier string) (*appstoreconnect.BundleID, error)
- func (c *ProfileClient) FindProfile(name string, profileType appstoreconnect.ProfileType) (autocodesign.Profile, error)
- func (c *ProfileClient) SyncBundleID(bundleID appstoreconnect.BundleID, appEntitlements autocodesign.Entitlements) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAPIDevPortalClient ¶
func NewAPIDevPortalClient(client *appstoreconnect.Client) autocodesign.DevPortalClient
NewAPIDevPortalClient ...
func NewAPIProfile ¶
func NewAPIProfile(client *appstoreconnect.Client, profile *appstoreconnect.Profile) autocodesign.Profile
NewAPIProfile ...
Types ¶
type APIProfile ¶
type APIProfile struct {
// contains filtered or unexported fields
}
APIProfile ...
func (APIProfile) Attributes ¶
func (p APIProfile) Attributes() appstoreconnect.ProfileAttributes
Attributes ...
func (APIProfile) BundleID ¶
func (p APIProfile) BundleID() (appstoreconnect.BundleID, error)
BundleID ...
func (APIProfile) CertificateIDs ¶
func (p APIProfile) CertificateIDs() ([]string, error)
CertificateIDs ...
func (APIProfile) Entitlements ¶
func (p APIProfile) Entitlements() (autocodesign.Entitlements, error)
Entitlements ...
type CertificateSource ¶
type CertificateSource struct {
// contains filtered or unexported fields
}
CertificateSource ...
func NewCertificateSource ¶
func NewCertificateSource(client *appstoreconnect.Client) *CertificateSource
NewCertificateSource ...
func (*CertificateSource) QueryAllIOSCertificates ¶
func (s *CertificateSource) QueryAllIOSCertificates() (map[appstoreconnect.CertificateType][]autocodesign.Certificate, error)
QueryAllIOSCertificates returns all iOS certificates from App Store Connect API
func (*CertificateSource) QueryCertificateBySerial ¶
func (s *CertificateSource) QueryCertificateBySerial(serial big.Int) (autocodesign.Certificate, error)
QueryCertificateBySerial ...
type Client ¶
type Client struct { *AuthClient *CertificateSource *DeviceClient *ProfileClient }
Client ...
type DeviceClient ¶
type DeviceClient struct {
// contains filtered or unexported fields
}
DeviceClient ...
func NewDeviceClient ¶
func NewDeviceClient(client *appstoreconnect.Client) *DeviceClient
NewDeviceClient ...
func (*DeviceClient) ListDevices ¶
func (d *DeviceClient) ListDevices(udid string, platform appstoreconnect.DevicePlatform) ([]appstoreconnect.Device, error)
ListDevices returns the registered devices on the Apple Developer portal
func (*DeviceClient) RegisterDevice ¶
func (d *DeviceClient) RegisterDevice(testDevice devportalservice.TestDevice) (*appstoreconnect.Device, error)
RegisterDevice ...
type ProfileClient ¶
type ProfileClient struct {
// contains filtered or unexported fields
}
ProfileClient ...
func NewProfileClient ¶
func NewProfileClient(client *appstoreconnect.Client) *ProfileClient
NewProfileClient ...
func (*ProfileClient) CheckBundleIDEntitlements ¶
func (c *ProfileClient) CheckBundleIDEntitlements(bundleID appstoreconnect.BundleID, appEntitlements autocodesign.Entitlements) error
CheckBundleIDEntitlements checks if a given Bundle ID has every capability enabled, required by the project.
func (*ProfileClient) CreateBundleID ¶
func (c *ProfileClient) CreateBundleID(bundleIDIdentifier, appIDName string) (*appstoreconnect.BundleID, error)
CreateBundleID ...
func (*ProfileClient) CreateProfile ¶
func (c *ProfileClient) CreateProfile(name string, profileType appstoreconnect.ProfileType, bundleID appstoreconnect.BundleID, certificateIDs []string, deviceIDs []string) (autocodesign.Profile, error)
CreateProfile ...
func (*ProfileClient) DeleteProfile ¶
func (c *ProfileClient) DeleteProfile(id string) error
DeleteProfile ...
func (*ProfileClient) FindBundleID ¶
func (c *ProfileClient) FindBundleID(bundleIDIdentifier string) (*appstoreconnect.BundleID, error)
FindBundleID ...
func (*ProfileClient) FindProfile ¶
func (c *ProfileClient) FindProfile(name string, profileType appstoreconnect.ProfileType) (autocodesign.Profile, error)
FindProfile ...
func (*ProfileClient) SyncBundleID ¶
func (c *ProfileClient) SyncBundleID(bundleID appstoreconnect.BundleID, appEntitlements autocodesign.Entitlements) error
SyncBundleID ...