appstoreconnectclient

package
v2.0.0-alpha.44 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 11 Imported by: 1

Documentation

Overview

Package appstoreconnectclient implements autocodesign.DevPortalClient, using an API key as the authentication method.

It depends on appstoreconnect package.

Index

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

Attributes ...

func (APIProfile) BundleID

func (p APIProfile) BundleID() (appstoreconnect.BundleID, error)

BundleID ...

func (APIProfile) CertificateIDs

func (p APIProfile) CertificateIDs() ([]string, error)

CertificateIDs ...

func (APIProfile) DeviceIDs

func (p APIProfile) DeviceIDs() ([]string, error)

DeviceIDs ...

func (APIProfile) Entitlements

func (p APIProfile) Entitlements() (autocodesign.Entitlements, error)

Entitlements ...

func (APIProfile) ID

func (p APIProfile) ID() string

ID ...

type AuthClient

type AuthClient struct {
}

AuthClient ...

func NewAuthClient

func NewAuthClient() *AuthClient

NewAuthClient ...

func (*AuthClient) Login

func (c *AuthClient) Login() error

Login ...

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

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 ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL