Versions in this module Expand all Collapse all v0 v0.1.0 Jul 8, 2015 v0.0.10 May 1, 2015 v0.0.9 Apr 15, 2015 v0.0.8 Apr 3, 2015 v0.0.7 Mar 18, 2015 v0.0.6 Feb 20, 2015 v0.0.5 Feb 18, 2015 v0.0.4 Feb 6, 2015 v0.0.3 Jan 29, 2015 v0.0.2 Jan 29, 2015 v0.0.1 Jan 27, 2015 Changes in this version + const DefaultAPIURL + const DefaultUserAgent + const Version + var DefaultClient = &http.Client + var DefaultTransport = &Transport + func Bool(v bool) *bool + func Float64(v float64) *float64 + func Int(v int) *int + func String(v string) *string + type Account struct + AllowTracking bool + Beta bool + CreatedAt time.Time + Email string + ID string + LastLogin time.Time + Name *string + UpdatedAt time.Time + Verified bool + type AccountChangeEmailOpts struct + Email string + Password string + type AccountChangePasswordOpts struct + NewPassword string + Password string + type AccountFeature struct + CreatedAt time.Time + Description string + DocURL string + Enabled bool + ID string + Name string + State string + UpdatedAt time.Time + type AccountFeatureUpdateOpts struct + Enabled bool + type AccountUpdateOpts struct + AllowTracking *bool + Beta *bool + Name *string + Password string + type Addon struct + AddonService struct{ ... } + ConfigVars []string + CreatedAt time.Time + ID string + Name string + Plan struct{ ... } + ProviderID string + UpdatedAt time.Time + type AddonCreateOpts struct + Config *map[string]string + Plan string + type AddonService struct + CreatedAt time.Time + ID string + Name string + UpdatedAt time.Time + type AddonUpdateOpts struct + Plan string + type App struct + ArchivedAt *time.Time + BuildpackProvidedDescription *string + CreatedAt time.Time + GitURL string + ID string + Maintenance bool + Name string + Owner struct{ ... } + Region struct{ ... } + ReleasedAt *time.Time + RepoSize *int + SlugSize *int + Stack struct{ ... } + UpdatedAt time.Time + WebURL string + type AppCreateOpts struct + Name *string + Region *string + Stack *string + type AppFeature struct + CreatedAt time.Time + Description string + DocURL string + Enabled bool + ID string + Name string + State string + UpdatedAt time.Time + type AppFeatureUpdateOpts struct + Enabled bool + type AppSetup struct + App struct{ ... } + Build struct{ ... } + CreatedAt time.Time + FailureMessage *string + ID string + ManifestErrors []string + Postdeploy ... + ResolvedSuccessURL *string + Status string + UpdatedAt time.Time + type AppSetupCreateOpts struct + App ... + Overrides ... + SourceBlob struct{ ... } + type AppTransfer struct + App struct{ ... } + CreatedAt time.Time + ID string + Owner struct{ ... } + Recipient struct{ ... } + State string + UpdatedAt time.Time + type AppTransferCreateOpts struct + App string + Recipient string + type AppTransferUpdateOpts struct + State string + type AppUpdateOpts struct + Maintenance *bool + Name *string + type Build struct + CreatedAt time.Time + ID string + Slug ... + SourceBlob struct{ ... } + Status string + UpdatedAt time.Time + User struct{ ... } + type BuildCreateOpts struct + SourceBlob struct{ ... } + type BuildResult struct + Build struct{ ... } + ExitCode float64 + Lines []struct{ ... } + type Collaborator struct + CreatedAt time.Time + ID string + UpdatedAt time.Time + User struct{ ... } + type CollaboratorCreateOpts struct + Silent *bool + User string + type ConfigVar map[string]string + type ConfigVarUpdateOpts map[string]*string + type Credit struct + Amount float64 + Balance float64 + CreatedAt time.Time + ExpiresAt time.Time + ID string + Title string + UpdatedAt time.Time + type Domain struct + CreatedAt time.Time + Hostname string + ID string + UpdatedAt time.Time + type DomainCreateOpts struct + Hostname string + type Dyno struct + AttachURL *string + Command string + CreatedAt time.Time + ID string + Name string + Release struct{ ... } + Size string + State string + Type string + UpdatedAt time.Time + type DynoCreateOpts struct + Attach *bool + Command string + Env *map[string]string + Size *string + type Error struct + ID string + URL string + type Formation struct + Command string + CreatedAt time.Time + ID string + Quantity int + Size string + Type string + UpdatedAt time.Time + type FormationBatchUpdateOpts struct + Updates []struct{ ... } + type FormationUpdateOpts struct + Quantity *int + Size *string + type Key struct + Comment string + CreatedAt time.Time + Email string + Fingerprint string + ID string + PublicKey string + UpdatedAt time.Time + type KeyCreateOpts struct + PublicKey string + type ListRange struct + Descending bool + Field string + FirstID string + LastID string + Max int + func (lr *ListRange) SetHeader(req *http.Request) + type LogDrain struct + Addon ... + CreatedAt time.Time + ID string + Token string + URL string + UpdatedAt time.Time + type LogDrainCreateOpts struct + URL string + type LogSession struct + CreatedAt time.Time + ID string + LogplexURL string + UpdatedAt time.Time + type LogSessionCreateOpts struct + Dyno *string + Lines *int + Source *string + Tail *bool + type OAuthAuthorization struct + AccessToken ... + Client ... + CreatedAt time.Time + Grant ... + ID string + RefreshToken ... + Scope []string + UpdatedAt time.Time + type OAuthAuthorizationCreateOpts struct + Client *string + Description *string + ExpiresIn *int + Scope []string + type OAuthClient struct + CreatedAt time.Time + ID string + IgnoresDelinquent *bool + Name string + RedirectURI string + Secret string + UpdatedAt time.Time + type OAuthClientCreateOpts struct + Name string + RedirectURI string + type OAuthClientUpdateOpts struct + Name *string + RedirectURI *string + type OAuthGrant struct + type OAuthToken struct + AccessToken struct{ ... } + Authorization struct{ ... } + Client ... + CreatedAt time.Time + Grant struct{ ... } + ID string + RefreshToken struct{ ... } + Session struct{ ... } + UpdatedAt time.Time + User struct{ ... } + type OAuthTokenCreateOpts struct + Client struct{ ... } + Grant struct{ ... } + RefreshToken struct{ ... } + type Organization struct + CreditCardCollections bool + Default bool + Name string + ProvisionedLicenses bool + Role string + type OrganizationApp struct + ArchivedAt *time.Time + BuildpackProvidedDescription *string + CreatedAt time.Time + GitURL string + ID string + Joined bool + Locked bool + Maintenance bool + Name string + Organization ... + Owner ... + Region struct{ ... } + ReleasedAt *time.Time + RepoSize *int + SlugSize *int + Stack struct{ ... } + UpdatedAt time.Time + WebURL string + type OrganizationAppCollaborator struct + CreatedAt time.Time + ID string + Role string + UpdatedAt time.Time + User struct{ ... } + type OrganizationAppCollaboratorCreateOpts struct + Silent *bool + User string + type OrganizationAppCreateOpts struct + Locked *bool + Name *string + Organization *string + Personal *bool + Region *string + Stack *string + type OrganizationAppTransferToAccountOpts struct + Owner string + type OrganizationAppTransferToOrganizationOpts struct + Owner string + type OrganizationAppUpdateLockedOpts struct + Locked bool + type OrganizationMember struct + CreatedAt time.Time + Email string + Role string + UpdatedAt time.Time + type OrganizationMemberCreateOrUpdateOpts struct + Email string + Role string + type OrganizationUpdateOpts struct + Default *bool + type Plan struct + CreatedAt time.Time + Default bool + Description string + ID string + Name string + Price struct{ ... } + State string + UpdatedAt time.Time + type RateLimit struct + Remaining int + type Region struct + CreatedAt time.Time + Description string + ID string + Name string + UpdatedAt time.Time + type Release struct + CreatedAt time.Time + Description string + ID string + Slug ... + UpdatedAt time.Time + User struct{ ... } + Version int + type ReleaseCreateOpts struct + Description *string + Slug string + type ReleaseRollbackOpts struct + Release string + type SSLEndpoint struct + CName string + CertificateChain string + CreatedAt time.Time + ID string + Name string + UpdatedAt time.Time + type SSLEndpointCreateOpts struct + CertificateChain string + Preprocess *bool + PrivateKey string + type SSLEndpointUpdateOpts struct + CertificateChain *string + Preprocess *bool + PrivateKey *string + Rollback *bool + type Service struct + func NewService(c *http.Client) *Service + func (s *Service) AccountChangeEmail(o struct{ ... }) (*Account, error) + func (s *Service) AccountChangePassword(o struct{ ... }) (*Account, error) + func (s *Service) AccountFeatureInfo(accountFeatureIdentity string) (*AccountFeature, error) + func (s *Service) AccountFeatureList(lr *ListRange) ([]*AccountFeature, error) + func (s *Service) AccountFeatureUpdate(accountFeatureIdentity string, o struct{ ... }) (*AccountFeature, error) + func (s *Service) AccountInfo() (*Account, error) + func (s *Service) AccountUpdate(o struct{ ... }) (*Account, error) + func (s *Service) AddonCreate(appIdentity string, o struct{ ... }) (*Addon, error) + func (s *Service) AddonDelete(appIdentity string, addonIdentity string) error + func (s *Service) AddonInfo(appIdentity string, addonIdentity string) (*Addon, error) + func (s *Service) AddonList(appIdentity string, lr *ListRange) ([]*Addon, error) + func (s *Service) AddonServiceInfo(addonServiceIdentity string) (*AddonService, error) + func (s *Service) AddonServiceList(lr *ListRange) ([]*AddonService, error) + func (s *Service) AddonUpdate(appIdentity string, addonIdentity string, o struct{ ... }) (*Addon, error) + func (s *Service) AppCreate(o struct{ ... }) (*App, error) + func (s *Service) AppDelete(appIdentity string) error + func (s *Service) AppFeatureInfo(appIdentity string, appFeatureIdentity string) (*AppFeature, error) + func (s *Service) AppFeatureList(appIdentity string, lr *ListRange) ([]*AppFeature, error) + func (s *Service) AppFeatureUpdate(appIdentity string, appFeatureIdentity string, o struct{ ... }) (*AppFeature, error) + func (s *Service) AppInfo(appIdentity string) (*App, error) + func (s *Service) AppList(lr *ListRange) ([]*App, error) + func (s *Service) AppSetupCreate(o struct{ ... }) (*AppSetup, error) + func (s *Service) AppSetupInfo(appSetupIdentity string) (*AppSetup, error) + func (s *Service) AppTransferCreate(o struct{ ... }) (*AppTransfer, error) + func (s *Service) AppTransferDelete(appTransferIdentity string) error + func (s *Service) AppTransferInfo(appTransferIdentity string) (*AppTransfer, error) + func (s *Service) AppTransferList(lr *ListRange) ([]*AppTransfer, error) + func (s *Service) AppTransferUpdate(appTransferIdentity string, o struct{ ... }) (*AppTransfer, error) + func (s *Service) AppUpdate(appIdentity string, o struct{ ... }) (*App, error) + func (s *Service) BuildCreate(appIdentity string, o struct{ ... }) (*Build, error) + func (s *Service) BuildInfo(appIdentity string, buildIdentity string) (*Build, error) + func (s *Service) BuildList(appIdentity string, lr *ListRange) ([]*Build, error) + func (s *Service) BuildResultInfo(appIdentity string, buildIdentity string) (*BuildResult, error) + func (s *Service) CollaboratorCreate(appIdentity string, o struct{ ... }) (*Collaborator, error) + func (s *Service) CollaboratorDelete(appIdentity string, collaboratorIdentity string) error + func (s *Service) CollaboratorInfo(appIdentity string, collaboratorIdentity string) (*Collaborator, error) + func (s *Service) CollaboratorList(appIdentity string, lr *ListRange) ([]*Collaborator, error) + func (s *Service) ConfigVarInfo(appIdentity string) (map[string]string, error) + func (s *Service) ConfigVarUpdate(appIdentity string, o map[string]*string) (map[string]string, error) + func (s *Service) CreditInfo(creditIdentity string) (*Credit, error) + func (s *Service) CreditList(lr *ListRange) ([]*Credit, error) + func (s *Service) Delete(path string) error + func (s *Service) Do(v interface{}, method, path string, body interface{}, lr *ListRange) error + func (s *Service) DomainCreate(appIdentity string, o struct{ ... }) (*Domain, error) + func (s *Service) DomainDelete(appIdentity string, domainIdentity string) error + func (s *Service) DomainInfo(appIdentity string, domainIdentity string) (*Domain, error) + func (s *Service) DomainList(appIdentity string, lr *ListRange) ([]*Domain, error) + func (s *Service) DynoCreate(appIdentity string, o struct{ ... }) (*Dyno, error) + func (s *Service) DynoInfo(appIdentity string, dynoIdentity string) (*Dyno, error) + func (s *Service) DynoList(appIdentity string, lr *ListRange) ([]*Dyno, error) + func (s *Service) DynoRestart(appIdentity string, dynoIdentity string) error + func (s *Service) DynoRestartAll(appIdentity string) error + func (s *Service) FormationBatchUpdate(appIdentity string, o struct{ ... }) (*Formation, error) + func (s *Service) FormationInfo(appIdentity string, formationIdentity string) (*Formation, error) + func (s *Service) FormationList(appIdentity string, lr *ListRange) ([]*Formation, error) + func (s *Service) FormationUpdate(appIdentity string, formationIdentity string, o struct{ ... }) (*Formation, error) + func (s *Service) Get(v interface{}, path string, lr *ListRange) error + func (s *Service) KeyCreate(o struct{ ... }) (*Key, error) + func (s *Service) KeyDelete(keyIdentity string) error + func (s *Service) KeyInfo(keyIdentity string) (*Key, error) + func (s *Service) KeyList(lr *ListRange) ([]*Key, error) + func (s *Service) LogDrainCreate(appIdentity string, o struct{ ... }) (*LogDrain, error) + func (s *Service) LogDrainDelete(appIdentity string, logDrainIdentity string) error + func (s *Service) LogDrainInfo(appIdentity string, logDrainIdentity string) (*LogDrain, error) + func (s *Service) LogDrainList(appIdentity string, lr *ListRange) ([]*LogDrain, error) + func (s *Service) LogSessionCreate(appIdentity string, o struct{ ... }) (*LogSession, error) + func (s *Service) NewRequest(method, path string, body interface{}) (*http.Request, error) + func (s *Service) OAuthAuthorizationCreate(o struct{ ... }) (*OAuthAuthorization, error) + func (s *Service) OAuthAuthorizationDelete(oauthAuthorizationIdentity string) error + func (s *Service) OAuthAuthorizationInfo(oauthAuthorizationIdentity string) (*OAuthAuthorization, error) + func (s *Service) OAuthAuthorizationList(lr *ListRange) ([]*OAuthAuthorization, error) + func (s *Service) OAuthClientCreate(o struct{ ... }) (*OAuthClient, error) + func (s *Service) OAuthClientDelete(oauthClientIdentity string) error + func (s *Service) OAuthClientInfo(oauthClientIdentity string) (*OAuthClient, error) + func (s *Service) OAuthClientList(lr *ListRange) ([]*OAuthClient, error) + func (s *Service) OAuthClientUpdate(oauthClientIdentity string, o struct{ ... }) (*OAuthClient, error) + func (s *Service) OAuthTokenCreate(o struct{ ... }) (*OAuthToken, error) + func (s *Service) OrganizationAppCollaboratorCreate(appIdentity string, o struct{ ... }) (*OrganizationAppCollaborator, error) + func (s *Service) OrganizationAppCollaboratorDelete(organizationAppIdentity string, organizationAppCollaboratorIdentity string) error + func (s *Service) OrganizationAppCollaboratorInfo(organizationAppIdentity string, organizationAppCollaboratorIdentity string) (*OrganizationAppCollaborator, error) + func (s *Service) OrganizationAppCollaboratorList(organizationAppIdentity string, lr *ListRange) ([]*OrganizationAppCollaborator, error) + func (s *Service) OrganizationAppCreate(o struct{ ... }) (*OrganizationApp, error) + func (s *Service) OrganizationAppInfo(organizationAppIdentity string) (*OrganizationApp, error) + func (s *Service) OrganizationAppList(lr *ListRange) ([]*OrganizationApp, error) + func (s *Service) OrganizationAppListForOrganization(organizationIdentity string, lr *ListRange) ([]*OrganizationApp, error) + func (s *Service) OrganizationAppTransferToAccount(organizationAppIdentity string, o struct{ ... }) (*OrganizationApp, error) + func (s *Service) OrganizationAppTransferToOrganization(organizationAppIdentity string, o struct{ ... }) (*OrganizationApp, error) + func (s *Service) OrganizationAppUpdateLocked(organizationAppIdentity string, o struct{ ... }) (*OrganizationApp, error) + func (s *Service) OrganizationList(lr *ListRange) ([]*Organization, error) + func (s *Service) OrganizationMemberCreateOrUpdate(organizationIdentity string, o struct{ ... }) (*OrganizationMember, error) + func (s *Service) OrganizationMemberDelete(organizationIdentity string, organizationMemberIdentity string) error + func (s *Service) OrganizationMemberList(organizationIdentity string, lr *ListRange) ([]*OrganizationMember, error) + func (s *Service) OrganizationUpdate(organizationIdentity string, o struct{ ... }) (*Organization, error) + func (s *Service) Patch(v interface{}, path string, body interface{}) error + func (s *Service) PlanInfo(addonServiceIdentity string, planIdentity string) (*Plan, error) + func (s *Service) PlanList(addonServiceIdentity string, lr *ListRange) ([]*Plan, error) + func (s *Service) Post(v interface{}, path string, body interface{}) error + func (s *Service) Put(v interface{}, path string, body interface{}) error + func (s *Service) RateLimitInfo() (*RateLimit, error) + func (s *Service) RegionInfo(regionIdentity string) (*Region, error) + func (s *Service) RegionList(lr *ListRange) ([]*Region, error) + func (s *Service) ReleaseCreate(appIdentity string, o struct{ ... }) (*Release, error) + func (s *Service) ReleaseInfo(appIdentity string, releaseIdentity string) (*Release, error) + func (s *Service) ReleaseList(appIdentity string, lr *ListRange) ([]*Release, error) + func (s *Service) ReleaseRollback(appIdentity string, o struct{ ... }) (*Release, error) + func (s *Service) SSLEndpointCreate(appIdentity string, o struct{ ... }) (*SSLEndpoint, error) + func (s *Service) SSLEndpointDelete(appIdentity string, sslEndpointIdentity string) error + func (s *Service) SSLEndpointInfo(appIdentity string, sslEndpointIdentity string) (*SSLEndpoint, error) + func (s *Service) SSLEndpointList(appIdentity string, lr *ListRange) ([]*SSLEndpoint, error) + func (s *Service) SSLEndpointUpdate(appIdentity string, sslEndpointIdentity string, o struct{ ... }) (*SSLEndpoint, error) + func (s *Service) SlugCreate(appIdentity string, o struct{ ... }) (*Slug, error) + func (s *Service) SlugInfo(appIdentity string, slugIdentity string) (*Slug, error) + func (s *Service) StackInfo(stackIdentity string) (*Stack, error) + func (s *Service) StackList(lr *ListRange) ([]*Stack, error) + type Slug struct + Blob struct{ ... } + BuildpackProvidedDescription *string + Commit *string + CreatedAt time.Time + ID string + ProcessTypes map[string]string + Size *int + UpdatedAt time.Time + type SlugCreateOpts struct + BuildpackProvidedDescription *string + Commit *string + ProcessTypes map[string]string + type Stack struct + CreatedAt time.Time + ID string + Name string + State string + UpdatedAt time.Time + type Transport struct + AdditionalHeaders http.Header + Debug bool + Password string + Transport http.RoundTripper + UserAgent string + Username string + func (t *Transport) CancelRequest(req *http.Request) + func (t *Transport) RoundTrip(req *http.Request) (*http.Response, error)