app

package
v0.0.0-...-4e66905 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2017 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppBuildCreatedResponse

type AppBuildCreatedResponse struct {
	PublicKey string `json:"publicKey"`
	BuildID   string `json:"buildID"`
}

type Build

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

func NewBuild

func NewBuild(artifactRetriever mobile.ArtifactRetriever, saToken string) *Build

func (*Build) AddBuildAsset

func (b *Build) AddBuildAsset(br mobile.BuildCruder, resource io.Reader, asset *mobile.BuildAsset) (string, error)

func (*Build) BuildApp

func (b *Build) BuildApp(buildRepo mobile.BuildCruder, buildID string) error

func (*Build) CreateAppBuild

func (b *Build) CreateAppBuild(buildRepo mobile.BuildCruder, build *mobile.BuildConfig) (*AppBuildCreatedResponse, error)

func (*Build) CreateBuildSrcKeySecret

func (b *Build) CreateBuildSrcKeySecret(br mobile.BuildCruder, buildName string) (string, []byte, error)

CreateBuildSrcKeySecret creates a public private key pair and returns the secret name it is stored in and the public part of the key as bytes

func (*Build) Download

func (b *Build) Download(br mobile.BuildCruder, buildName string) (io.ReadCloser, error)

func (*Build) EnableDownload

func (b *Build) EnableDownload(br mobile.BuildCruder, buildName string) (*mobile.BuildDownload, error)

EnableDownload will enabling downloading of a build artefact for a set amount of time

type Service

type Service struct {
}

func (*Service) Create

func (s *Service) Create(appCrudder mobile.AppCruder, app *mobile.App) error

func (*Service) Delete

func (s *Service) Delete(appCruder mobile.AppCruder, appID string) error

Jump to

Keyboard shortcuts

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