bitrise

package
Version: v0.0.0-...-80756d2 Latest Latest
Warning

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

Go to latest
Published: May 21, 2021 License: MIT Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunRequest

func RunRequest(client *Client, req *http.Request, requestResponse interface{}) (interface{}, []byte, error)

RunRequest ...

Types

type Application

type Application struct {
	Slug        string `json:"slug"`
	Title       string `json:"title"`
	ProjectType string `json:"project_type"`
	Provider    string `json:"provider"`
	RepoOwner   string `json:"repo_owner"`
	RepoURL     string `json:"repo_url"`
	RepoSlug    string `json:"repo_slug"`
	IsDisabled  bool   `json:"is_disabled"`
	Status      int    `json:"status"`
	IsPublic    bool   `json:"is_public"`
	Owner       Owner  `json:"owner"`
}

Application ...

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client ...

func NewClient

func NewClient(accessToken string) (*Client, error)

NewClient ...

func (*Client) ConfirmIdentityUpload

func (client *Client) ConfirmIdentityUpload(certificateSlug string, certificateUploadName string) error

ConfirmIdentityUpload ...

func (*Client) ConfirmProvisioningProfileUpload

func (client *Client) ConfirmProvisioningProfileUpload(profileSlug string, provUploadName string) error

ConfirmProvisioningProfileUpload ...

func (*Client) FetchProvisioningProfiles

func (client *Client) FetchProvisioningProfiles() ([]ProvisioningProfileListData, error)

FetchProvisioningProfiles ...

func (*Client) FetchUploadedIdentities

func (client *Client) FetchUploadedIdentities() ([]IdentityListData, error)

FetchUploadedIdentities ...

func (*Client) GetAppList

func (client *Client) GetAppList() ([]Application, error)

GetAppList returns the list of apps for the given access token

func (*Client) GetUploadedCertificatesSerialby

func (client *Client) GetUploadedCertificatesSerialby(identitySlug string) (certificateSerialList []big.Int, err error)

GetUploadedCertificatesSerialby ...

func (*Client) GetUploadedProvisioningProfileUUIDby

func (client *Client) GetUploadedProvisioningProfileUUIDby(profileSlug string) (UUID string, err error)

GetUploadedProvisioningProfileUUIDby ...

func (*Client) RegisterIdentity

func (client *Client) RegisterIdentity(certificateSize int64) (RegisterIdentityData, error)

RegisterIdentity ...

func (*Client) RegisterProvisioningProfile

func (client *Client) RegisterProvisioningProfile(provisioningProfSize int64, exportedProfileName string) (RegisterProvisioningProfileData, error)

RegisterProvisioningProfile ...

func (*Client) SetSelectedAppSlug

func (client *Client) SetSelectedAppSlug(slug string)

SetSelectedAppSlug ...

func (*Client) UploadArtifact

func (client *Client) UploadArtifact(uploadURL string, content io.Reader) error

UploadArtifact ...

type ConfirmIdentityUploadData

type ConfirmIdentityUploadData struct {
	UploadFileName      string `json:"upload_file_name"`
	UploadFileSize      int    `json:"upload_file_size"`
	Slug                string `json:"slug"`
	Processed           bool   `json:"processed"`
	CertificatePassword string `json:"certificate_password"`
	IsExpose            bool   `json:"is_expose"`
	IsProtected         bool   `json:"dais_protectedta"`
}

ConfirmIdentityUploadData ...

type ConfirmIdentityUploadResponse

type ConfirmIdentityUploadResponse struct {
	Data ConfirmIdentityUploadData `json:"data"`
}

ConfirmIdentityUploadResponse ...

type ConfirmProvProfileUploadData

type ConfirmProvProfileUploadData struct {
	UploadFileName string `json:"upload_file_name"`
	UploadFileSize int    `json:"upload_file_size"`
	Slug           string `json:"slug"`
	Processed      bool   `json:"processed"`
	IsExpose       bool   `json:"is_expose"`
	IsProtected    bool   `json:"dais_protectedta"`
}

ConfirmProvProfileUploadData ...

type ConfirmProvProfileUploadResponse

type ConfirmProvProfileUploadResponse struct {
	Data ConfirmProvProfileUploadData `json:"data"`
}

ConfirmProvProfileUploadResponse ...

type IdentityData

type IdentityData struct {
	UploadFileName      string `json:"upload_file_name"`
	UploadFileSize      int    `json:"upload_file_size"`
	Slug                string `json:"slug"`
	Processed           bool   `json:"processed"`
	CertificatePassword string `json:"certificate_password"`
	IsExpose            bool   `json:"is_expose"`
	IsProtected         bool   `json:"dais_protectedta"`
	DownloadURL         string `json:"download_url"`
}

IdentityData ...

type IdentityListData

type IdentityListData struct {
	UploadFileName      string `json:"upload_file_name"`
	UploadFileSize      int    `json:"upload_file_size"`
	Slug                string `json:"slug"`
	Processed           bool   `json:"processed"`
	CertificatePassword string `json:"certificate_password"`
	IsExpose            bool   `json:"is_expose"`
	IsProtected         bool   `json:"dais_protectedta"`
}

IdentityListData ...

type IdentityListResponse

type IdentityListResponse struct {
	Data []IdentityListData `json:"data"`
}

IdentityListResponse ...

type IdentityResponse

type IdentityResponse struct {
	Data IdentityData `json:"data"`
}

IdentityResponse ...

type MyAppsResponse

type MyAppsResponse struct {
	Data   []Application `json:"data"`
	Paging Paging        `json:"paging"`
}

MyAppsResponse ...

type Owner

type Owner struct {
	AccountType string `json:"account_type"`
	Name        string `json:"name"`
	Slug        string `json:"slug"`
}

Owner ...

type Paging

type Paging struct {
	TotalItemCount int    `json:"total_item_count"`
	PageItemLimit  int    `json:"page_item_limit"`
	Next           string `json:"next"`
}

Paging ...

type ProvisioningProfileListData

type ProvisioningProfileListData struct {
	UploadFileName string `json:"upload_file_name"`
	UploadFileSize int    `json:"upload_file_size"`
	Slug           string `json:"slug"`
	Processed      bool   `json:"processed"`
	IsExpose       bool   `json:"is_expose"`
	IsProtected    bool   `json:"dais_protectedta"`
}

ProvisioningProfileListData ...

type ProvisioningProfileListResponse

type ProvisioningProfileListResponse struct {
	Data []ProvisioningProfileListData `json:"data"`
}

ProvisioningProfileListResponse ...

type RegisterIdentityData

type RegisterIdentityData struct {
	UploadFileName string `json:"upload_file_name"`
	UploadFileSize int64  `json:"upload_file_size"`
	Slug           string `json:"slug"`
	Processed      bool   `json:"processed"`
	IsExpose       bool   `json:"is_expose"`
	IsProtected    bool   `json:"is_protected"`
	UploadURL      string `json:"upload_url"`
}

RegisterIdentityData ...

type RegisterIdentityResponse

type RegisterIdentityResponse struct {
	Data RegisterIdentityData `json:"data"`
}

RegisterIdentityResponse ...

type RegisterProvisioningProfileData

type RegisterProvisioningProfileData struct {
	UploadFileName string `json:"upload_file_name"`
	UploadFileSize int64  `json:"upload_file_size"`
	Slug           string `json:"slug"`
	Processed      bool   `json:"processed"`
	IsExpose       bool   `json:"is_expose"`
	IsProtected    bool   `json:"is_protected"`
	UploadURL      string `json:"upload_url"`
}

RegisterProvisioningProfileData ...

type RegisterProvisioningProfileResponse

type RegisterProvisioningProfileResponse struct {
	Data RegisterProvisioningProfileData `json:"data"`
}

RegisterProvisioningProfileResponse ...

type UploadedProvisioningProfileData

type UploadedProvisioningProfileData struct {
	UploadFileName string `json:"upload_file_name"`
	UploadFileSize int    `json:"upload_file_size"`
	Slug           string `json:"slug"`
	Processed      bool   `json:"processed"`
	IsExpose       bool   `json:"is_expose"`
	IsProtected    bool   `json:"dais_protectedta"`
	DownloadURL    string `json:"download_url"`
}

UploadedProvisioningProfileData ...

type UploadedProvisioningProfileResponse

type UploadedProvisioningProfileResponse struct {
	Data UploadedProvisioningProfileData `json:"data"`
}

UploadedProvisioningProfileResponse ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL