Documentation ¶
Index ¶
- Constants
- func InvalidateTokenCache() error
- type AccountConfig
- type BinaryReviewResult
- type Client
- func (c *Client) ChangeActiveMembership(ctx context.Context, selected Membership) error
- func (c *Client) GetActiveCompanyID() int
- func (c *Client) GetActiveMembership() Membership
- func (c *Client) GetMemberships() []Membership
- func (c *Client) GetMyProfile(ctx context.Context) (*MyProfile, error)
- func (c *Client) GetUserID() int
- func (c *Client) Merchant() *MerchantEndpoint
- func (c *Client) NewAuthenticatedRequest(ctx context.Context, method, path string, body io.Reader) (*http.Request, error)
- func (c *Client) Producer(ctx context.Context) (*ProducerEndpoint, error)
- type CreateExtensionRequest
- type Extension
- type ExtensionBinary
- type ExtensionCreate
- type ExtensionGeneralInformation
- type ExtensionImage
- type ExtensionUpdate
- type ExtensionUpdateChangelog
- type ListExtensionCriteria
- type Locale
- type LoginRequest
- type Membership
- type MerchantEndpoint
- func (m MerchantEndpoint) GenerateComposerToken(ctx context.Context, shopId int) (string, error)
- func (m MerchantEndpoint) GetComposerToken(ctx context.Context, shopId int) (string, error)
- func (m MerchantEndpoint) SaveComposerToken(ctx context.Context, shopId int, token string) error
- func (m MerchantEndpoint) Shops(ctx context.Context) (MerchantShopList, error)
- type MerchantShop
- type MerchantShopList
- type MyProfile
- type Producer
- type ProducerEndpoint
- func (e ProducerEndpoint) AddExtensionImage(ctx context.Context, extensionId int, file string) (*ExtensionImage, error)
- func (e ProducerEndpoint) CreateExtension(ctx context.Context, newExtension CreateExtensionRequest) (*Extension, error)
- func (e ProducerEndpoint) CreateExtensionBinary(ctx context.Context, extensionId int, create ExtensionCreate) (*ExtensionBinary, error)
- func (e ProducerEndpoint) DeleteExtension(ctx context.Context, id int) error
- func (e ProducerEndpoint) DeleteExtensionImages(ctx context.Context, extensionId, imageId int) error
- func (e ProducerEndpoint) Extensions(ctx context.Context, criteria *ListExtensionCriteria) ([]Extension, error)
- func (e ProducerEndpoint) GetBinaryReviewResults(ctx context.Context, extensionId, binaryId int) ([]BinaryReviewResult, error)
- func (e ProducerEndpoint) GetExtensionBinaries(ctx context.Context, extensionId int) ([]*ExtensionBinary, error)
- func (e ProducerEndpoint) GetExtensionById(ctx context.Context, id int) (*Extension, error)
- func (e ProducerEndpoint) GetExtensionByName(ctx context.Context, name string) (*Extension, error)
- func (e ProducerEndpoint) GetExtensionGeneralInfo(ctx context.Context) (*ExtensionGeneralInformation, error)
- func (e ProducerEndpoint) GetExtensionImages(ctx context.Context, extensionId int) ([]*ExtensionImage, error)
- func (e ProducerEndpoint) GetId() int
- func (e ProducerEndpoint) GetSoftwareVersions(ctx context.Context, generation string) (*SoftwareVersionList, error)
- func (e ProducerEndpoint) Profile(ctx context.Context) (*Producer, error)
- func (e ProducerEndpoint) TriggerCodeReview(ctx context.Context, extensionId int) error
- func (e ProducerEndpoint) UpdateExtension(ctx context.Context, extension *Extension) error
- func (e ProducerEndpoint) UpdateExtensionBinaryFile(ctx context.Context, extensionId, binaryId int, zipPath string) error
- func (e ProducerEndpoint) UpdateExtensionBinaryInfo(ctx context.Context, extensionId int, update ExtensionUpdate) error
- func (e ProducerEndpoint) UpdateExtensionIcon(ctx context.Context, extensionId int, iconFile string) error
- func (e ProducerEndpoint) UpdateExtensionImage(ctx context.Context, extensionId int, image *ExtensionImage) error
- type SoftwareVersion
- type SoftwareVersionList
- type StoreAvailablity
- type StoreCategory
- type StoreFaq
- type StoreProductType
- type StoreTag
- type StoreVideo
Constants ¶
View Source
const ( GenerationClassic = "classic" GenerationThemes = "themes" GenerationApps = "apps" GenerationPlatform = "platform" )
View Source
const ApiUrl = "https://api.shopware.com"
View Source
const CacheFileName = "shopware-api-client-token.json"
Variables ¶
This section is empty.
Functions ¶
func InvalidateTokenCache ¶
func InvalidateTokenCache() error
Types ¶
type AccountConfig ¶
type BinaryReviewResult ¶
type BinaryReviewResult struct { Id int `json:"id"` BinaryId int `json:"binaryId"` Type struct { Id int `json:"id"` Name string `json:"name"` Description string `json:"description"` } `json:"type"` Message string `json:"message"` CreationDate string `json:"creationDate"` SubCheckResults []struct { SubCheck string `json:"subCheck"` Status string `json:"status"` Passed bool `json:"passed"` Message string `json:"message"` HasWarnings bool `json:"hasWarnings"` } `json:"subCheckResults"` }
func (BinaryReviewResult) GetSummary ¶
func (review BinaryReviewResult) GetSummary() string
func (BinaryReviewResult) HasPassed ¶
func (review BinaryReviewResult) HasPassed() bool
func (BinaryReviewResult) HasWarnings ¶
func (review BinaryReviewResult) HasWarnings() bool
func (BinaryReviewResult) IsPending ¶
func (review BinaryReviewResult) IsPending() bool
type Client ¶
type Client struct { Token token `json:"token"` ActiveMembership Membership `json:"active_membership"` Memberships []Membership `json:"memberships"` }
func (*Client) ChangeActiveMembership ¶
func (c *Client) ChangeActiveMembership(ctx context.Context, selected Membership) error
func (*Client) GetActiveCompanyID ¶
func (*Client) GetActiveMembership ¶
func (c *Client) GetActiveMembership() Membership
func (*Client) GetMemberships ¶
func (c *Client) GetMemberships() []Membership
func (*Client) GetMyProfile ¶
func (*Client) Merchant ¶
func (c *Client) Merchant() *MerchantEndpoint
func (*Client) NewAuthenticatedRequest ¶
type CreateExtensionRequest ¶
type Extension ¶
type Extension struct { Id int `json:"id"` Producer struct { Id int `json:"id"` Prefix string `json:"prefix"` Contract struct { Id int `json:"id"` Path string `json:"path"` } `json:"contract"` Name string `json:"name"` Details []struct { Id int `json:"id"` Locale struct { Id int `json:"id"` Name string `json:"name"` } `json:"locale"` Description string `json:"description"` } `json:"details"` Website string `json:"website"` Fixed bool `json:"fixed"` HasCancelledContract bool `json:"hasCancelledContract"` IconPath string `json:"iconPath"` IconIsSet bool `json:"iconIsSet"` ShopwareID string `json:"shopwareId"` UserId int `json:"userId"` CompanyId int `json:"companyId"` CompanyName string `json:"companyName"` SaleMail string `json:"saleMail"` SupportMail string `json:"supportMail"` RatingMail string `json:"ratingMail"` SupportedLanguages []struct { Id int `json:"id"` Name string `json:"name"` } `json:"supportedLanguages"` IconURL string `json:"iconUrl"` CancelledContract interface{} `json:"cancelledContract"` } `json:"producer"` Type struct { Id int `json:"id"` Name string `json:"name"` Description string `json:"description"` } `json:"type"` Name string `json:"name"` Code string `json:"code"` ModuleKey string `json:"moduleKey"` LifecycleStatus struct { Id int `json:"id"` Name string `json:"name"` Description string `json:"description"` } `json:"lifecycleStatus"` Generation struct { Id int `json:"id"` Name string `json:"name"` Description string `json:"description"` } `json:"generation"` ActivationStatus struct { Id int `json:"id"` Name string `json:"name"` Description string `json:"description"` } `json:"activationStatus"` ApprovalStatus struct { Id int `json:"id"` Name string `json:"name"` Description string `json:"description"` } `json:"approvalStatus"` StandardLocale Locale `json:"standardLocale"` License struct { Id int `json:"id"` Name string `json:"name"` Description string `json:"description"` } `json:"license"` Infos []*struct { Id int `json:"id"` Locale Locale `json:"locale"` Name string `json:"name"` Description string `json:"description"` InstallationManual string `json:"installationManual"` ShortDescription string `json:"shortDescription"` Highlights string `json:"highlights"` Features string `json:"features"` Tags []StoreTag `json:"tags"` Videos []StoreVideo `json:"videos"` Faqs []StoreFaq `json:"faqs"` } `json:"infos"` PriceModels []interface{} `json:"priceModels"` Variants []interface{} `json:"variants"` StoreAvailabilities []StoreAvailablity `json:"storeAvailabilities"` Categories []StoreCategory `json:"categories"` Category *StoreCategory `json:"selectedFutureCategory"` Addons []interface{} `json:"addons"` LastChange string `json:"lastChange"` CreationDate string `json:"creationDate"` Support bool `json:"support"` SupportOnlyCommercial bool `json:"supportOnlyCommercial"` IconPath string `json:"iconPath"` IconIsSet bool `json:"iconIsSet"` ExamplePageUrl string `json:"examplePageUrl"` Demos []interface{} `json:"demos"` Localizations []Locale `json:"localizations"` LatestBinary interface{} `json:"latestBinary"` MigrationSupport bool `json:"migrationSupport"` AutomaticBugfixVersionCompatibility bool `json:"automaticBugfixVersionCompatibility"` HiddenInStore bool `json:"hiddenInStore"` Certification interface{} `json:"certification"` ProductType *StoreProductType `json:"productType"` Status struct { Name string `json:"name"` } `json:"status"` MinimumMarketingSoftwareVersion interface{} `json:"minimumMarketingSoftwareVersion"` IsSubscriptionEnabled bool `json:"isSubscriptionEnabled"` ReleaseDate interface{} `json:"releaseDate"` PlannedReleaseDate interface{} `json:"plannedReleaseDate"` LastBusinessModelChangeDate interface{} `json:"lastBusinessModelChangeDate"` IsSW5Compatible bool `json:"isSW5Compatible"` Subprocessors interface{} `json:"subprocessors"` PluginTestingInstanceDisabled bool `json:"pluginTestingInstanceDisabled"` IconURL string `json:"iconUrl"` Pictures string `json:"pictures"` HasPictures bool `json:"hasPictures"` Comments string `json:"comments"` Reviews string `json:"reviews"` IsPremiumPlugin bool `json:"isPremiumPlugin"` IsAdvancedFeature bool `json:"isAdvancedFeature"` IsEnterpriseAccelerator bool `json:"isEnterpriseAccelerator"` IsSW6EnterpriseFeature bool `json:"isSW6EnterpriseFeature"` IsSW6ProfessionalEditionFeature bool `json:"isSW6ProfessionalEditionFeature"` Binaries interface{} `json:"binaries"` Predecessor interface{} `json:"predecessor"` Successor interface{} `json:"successor"` IsCompatibleWithLatestShopwareVersion bool `json:"isCompatibleWithLatestShopwareVersion"` PluginPreview interface{} `json:"pluginPreview"` IsNoLongerAvailableForDownload bool `json:"isNoLongerAvailableForDownload"` }
type ExtensionBinary ¶
type ExtensionBinary struct { Id int `json:"id"` Name string `json:"name"` Version string `json:"version"` Status struct { Id int `json:"id"` Name string `json:"name"` Description string `json:"description"` } `json:"status"` CompatibleSoftwareVersions SoftwareVersionList `json:"compatibleSoftwareVersions"` Changelogs []struct { Id int `json:"id"` Locale struct { Id int `json:"id"` Name string `json:"name"` } `json:"locale"` Text string `json:"text"` } `json:"changelogs"` CreationDate string `json:"creationDate"` LastChangeDate string `json:"lastChangeDate"` IonCubeEncrypted bool `json:"ionCubeEncrypted"` LicenseCheckRequired bool `json:"licenseCheckRequired"` HasActiveCodeReviewWarnings bool `json:"hasActiveCodeReviewWarnings"` }
type ExtensionCreate ¶
type ExtensionCreate struct { SoftwareVersions []string `json:"softwareVersions"` Changelogs []ExtensionUpdateChangelog `json:"changelogs"` Version string `json:"version"` }
type ExtensionGeneralInformation ¶
type ExtensionGeneralInformation struct { Categories []StoreCategory `json:"categories"` FutureCategories []StoreCategory `json:"futureCategories"` Addons interface{} `json:"addons"` Generations []struct { Id int `json:"id"` Name string `json:"name"` Description string `json:"description"` } `json:"generations"` ActivationStatus []struct { Id int `json:"id"` Name string `json:"name"` Description string `json:"description"` } `json:"activationStatus"` ApprovalStatus []struct { Id int `json:"id"` Name string `json:"name"` Description string `json:"description"` } `json:"approvalStatus"` LifecycleStatus []struct { Id int `json:"id"` Name string `json:"name"` Description string `json:"description"` } `json:"lifecycleStatus"` BinaryStatus []struct { Id int `json:"id"` Name string `json:"name"` Description string `json:"description"` } `json:"binaryStatus"` Locales []Locale `json:"locales"` Licenses []struct { Id int `json:"id"` Name string `json:"name"` Description string `json:"description"` } `json:"licenses"` StoreAvailabilities []StoreAvailablity `json:"storeAvailabilities"` PriceModels []interface{} `json:"priceModels"` SoftwareVersions SoftwareVersionList `json:"softwareVersions"` DemoTypes interface{} `json:"demoTypes"` Localizations []Locale `json:"localizations"` ProductTypes []StoreProductType `json:"productTypes"` ReleaseRequestStatus interface{} `json:"releaseRequestStatus"` }
type ExtensionImage ¶
type ExtensionImage struct { Id int `json:"id"` RemoteLink string `json:"remoteLink"` Details []struct { Id int `json:"id"` Preview bool `json:"preview"` Activated bool `json:"activated"` Caption string `json:"caption"` Locale Locale `json:"locale"` } `json:"details"` Priority int `json:"priority"` }
type ExtensionUpdate ¶
type ExtensionUpdate struct { Id int SoftwareVersions []string `json:"softwareVersions"` IonCubeEncrypted bool `json:"ionCubeEncrypted"` LicenseCheckRequired bool `json:"licenseCheckRequired"` Changelogs []ExtensionUpdateChangelog `json:"changelogs"` }
type ListExtensionCriteria ¶
type LoginRequest ¶
func (LoginRequest) GetAccountEmail ¶
func (l LoginRequest) GetAccountEmail() string
func (LoginRequest) GetAccountPassword ¶
func (l LoginRequest) GetAccountPassword() string
type Membership ¶
type Membership struct { Id int `json:"id"` CreationDate string `json:"creationDate"` Active bool `json:"active"` Member struct { Id int `json:"id"` Email string `json:"email"` AvatarUrl interface{} `json:"avatarUrl"` PersonalData struct { Id int `json:"id"` Salutation struct { Id int `json:"id"` Name string `json:"name"` Description string `json:"description"` } `json:"salutation"` FirstName string `json:"firstName"` LastName string `json:"lastName"` Locale struct { Id int `json:"id"` Name string `json:"name"` Description string `json:"description"` } `json:"locale"` } `json:"personalData"` } `json:"member"` Company struct { Id int `json:"id"` Name string `json:"name"` CustomerNumber string `json:"customerNumber"` } `json:"company"` Roles []struct { Id int `json:"id"` Name string `json:"name"` CreationDate string `json:"creationDate"` Company interface{} `json:"company"` Permissions []struct { Id int `json:"id"` Context string `json:"context"` Name string `json:"name"` } `json:"permissions"` } `json:"roles"` }
func (Membership) GetRoles ¶
func (m Membership) GetRoles() []string
type MerchantEndpoint ¶
type MerchantEndpoint struct {
// contains filtered or unexported fields
}
func (MerchantEndpoint) GenerateComposerToken ¶
func (MerchantEndpoint) GetComposerToken ¶
func (MerchantEndpoint) SaveComposerToken ¶
func (MerchantEndpoint) Shops ¶
func (m MerchantEndpoint) Shops(ctx context.Context) (MerchantShopList, error)
type MerchantShop ¶
type MerchantShop struct { Id int `json:"id"` Domain string `json:"domain"` Type string `json:"type"` CompanyId int `json:"companyId"` CompanyName string `json:"companyName"` Dispo int `json:"dispo"` Balance float64 `json:"balance"` IsPartnerShop bool `json:"isPartnerShop"` Subaccount *int `json:"subaccount"` IsCommercial bool `json:"isCommercial"` DocumentComment string `json:"documentComment"` Activated bool `json:"activated"` AccountId string `json:"accountId"` ShopNumber int `json:"shopNumber"` CreationDate string `json:"creationDate"` Branch interface{} `json:"branch"` SubscriptionModules []struct { Id int `json:"id"` Module struct { Id int `json:"id"` Name string `json:"name"` Description string `json:"description"` Price int `json:"price"` PriceMonthlyPayment int `json:"priceMonthlyPayment"` Price24 int `json:"price24"` Price24MonthlyPayment int `json:"price24MonthlyPayment"` UpgradeOrder int `json:"upgradeOrder"` DurationInMonths int `json:"durationInMonths"` BookingKey string `json:"bookingKey"` } `json:"module"` Status struct { Id int `json:"id"` Name string `json:"name"` } `json:"status"` ExpirationDate string `json:"expirationDate"` CreationDate string `json:"creationDate"` UpgradeDate interface{} `json:"upgradeDate"` MonthlyPayment bool `json:"monthlyPayment"` DurationInMonths int `json:"durationInMonths"` DurationOptions []struct { Name string `json:"name"` DurationInMonths int `json:"durationInMonths"` } `json:"durationOptions"` AutomaticExtension bool `json:"automaticExtension"` Charging struct { Id int `json:"id"` ShopId int `json:"shopId"` BookingShopId int `json:"bookingShopId"` Price int `json:"price"` } `json:"charging"` } `json:"subscriptionModules"` Environment struct { Id int `json:"id"` Name string `json:"name"` Description string `json:"description"` } `json:"environment"` Staging bool `json:"staging"` Instance bool `json:"instance"` Mandant bool `json:"mandant"` PlatformMigrationInformation interface{} `json:"platformMigrationInformation"` ShopwareVersion struct { Id int `json:"id"` Name string `json:"name"` Parent int `json:"parent"` Selectable bool `json:"selectable"` Major string `json:"major"` ReleaseDate string `json:"releaseDate"` Public bool `json:"public"` } `json:"shopwareVersion"` ShopwareEdition string `json:"shopwareEdition"` DomainIdn string `json:"domain_idn"` LatestVerificationStatusChange struct { Id int `json:"id"` ShopId int `json:"shopId"` StatusCreationDate string `json:"statusCreationDate"` PreviousStatusChange struct { Id int `json:"id"` ShopId int `json:"shopId"` StatusCreationDate string `json:"statusCreationDate"` PreviousStatusChange interface{} `json:"previousStatusChange"` ShopDomainVerificationStatus struct { Id int `json:"id"` Name string `json:"name"` Description string `json:"description"` } `json:"shopDomainVerificationStatus"` } `json:"previousStatusChange"` ShopDomainVerificationStatus struct { Id int `json:"id"` Name string `json:"name"` Description string `json:"description"` } `json:"shopDomainVerificationStatus"` } `json:"latestVerificationStatusChange"` }
type MerchantShopList ¶
type MerchantShopList []*MerchantShop
func (MerchantShopList) GetByDomain ¶
func (m MerchantShopList) GetByDomain(domain string) *MerchantShop
type MyProfile ¶
type MyProfile struct { Id int `json:"id"` Email string `json:"email"` CreationDate string `json:"creationDate"` Banned bool `json:"banned"` Verified bool `json:"verified"` PersonalData struct { Id int `json:"id"` Salutation struct { Id int `json:"id"` Name string `json:"name"` Description string `json:"description"` } `json:"salutation"` FirstName string `json:"firstName"` LastName string `json:"lastName"` Locale struct { Id int `json:"id"` Name string `json:"name"` Description string `json:"description"` } `json:"locale"` } `json:"personalData"` PartnerMarketingOptIn bool `json:"partnerMarketingOptIn"` SelectedMembership struct { Id int `json:"id"` CreationDate string `json:"creationDate"` Active bool `json:"active"` Member struct { Id int `json:"id"` Email string `json:"email"` AvatarUrl interface{} `json:"avatarUrl"` PersonalData struct { Id int `json:"id"` Salutation struct { Id int `json:"id"` Name string `json:"name"` Description string `json:"description"` } `json:"salutation"` FirstName string `json:"firstName"` LastName string `json:"lastName"` Locale struct { Id int `json:"id"` Name string `json:"name"` Description string `json:"description"` } `json:"locale"` } `json:"personalData"` } `json:"member"` Company struct { Id int `json:"id"` Name string `json:"name"` CustomerNumber string `json:"customerNumber"` } `json:"company"` Roles []struct { Id int `json:"id"` Name string `json:"name"` CreationDate string `json:"creationDate"` Company interface{} `json:"company"` Permissions []struct { Id int `json:"id"` Context string `json:"context"` Name string `json:"name"` } `json:"permissions"` } `json:"roles"` } `json:"selectedMembership"` }
type Producer ¶
type Producer struct { Id int `json:"id"` Prefix string `json:"prefix"` Contract struct { Id int `json:"id"` Path string `json:"path"` } `json:"contract"` Name string `json:"name"` Details []struct { Id int `json:"id"` Locale struct { Id int `json:"id"` Name string `json:"name"` } `json:"locale"` Description string `json:"description"` } `json:"details"` Website string `json:"website"` Fixed bool `json:"fixed"` HasCancelledContract bool `json:"hasCancelledContract"` IconPath string `json:"iconPath"` IconIsSet bool `json:"iconIsSet"` ShopwareID string `json:"shopwareId"` UserId int `json:"userId"` CompanyId int `json:"companyId"` CompanyName string `json:"companyName"` SaleMail string `json:"saleMail"` SupportMail string `json:"supportMail"` RatingMail string `json:"ratingMail"` SupportedLanguages []struct { Id int `json:"id"` Name string `json:"name"` Description string `json:"description"` } `json:"supportedLanguages"` IconURL string `json:"iconUrl"` CancelledContract interface{} `json:"cancelledContract"` }
type ProducerEndpoint ¶
type ProducerEndpoint struct {
// contains filtered or unexported fields
}
func (ProducerEndpoint) AddExtensionImage ¶
func (e ProducerEndpoint) AddExtensionImage(ctx context.Context, extensionId int, file string) (*ExtensionImage, error)
func (ProducerEndpoint) CreateExtension ¶
func (e ProducerEndpoint) CreateExtension(ctx context.Context, newExtension CreateExtensionRequest) (*Extension, error)
func (ProducerEndpoint) CreateExtensionBinary ¶
func (e ProducerEndpoint) CreateExtensionBinary(ctx context.Context, extensionId int, create ExtensionCreate) (*ExtensionBinary, error)
func (ProducerEndpoint) DeleteExtension ¶
func (e ProducerEndpoint) DeleteExtension(ctx context.Context, id int) error
func (ProducerEndpoint) DeleteExtensionImages ¶
func (e ProducerEndpoint) DeleteExtensionImages(ctx context.Context, extensionId, imageId int) error
func (ProducerEndpoint) Extensions ¶
func (e ProducerEndpoint) Extensions(ctx context.Context, criteria *ListExtensionCriteria) ([]Extension, error)
func (ProducerEndpoint) GetBinaryReviewResults ¶
func (e ProducerEndpoint) GetBinaryReviewResults(ctx context.Context, extensionId, binaryId int) ([]BinaryReviewResult, error)
func (ProducerEndpoint) GetExtensionBinaries ¶
func (e ProducerEndpoint) GetExtensionBinaries(ctx context.Context, extensionId int) ([]*ExtensionBinary, error)
func (ProducerEndpoint) GetExtensionById ¶
func (ProducerEndpoint) GetExtensionByName ¶
func (ProducerEndpoint) GetExtensionGeneralInfo ¶
func (e ProducerEndpoint) GetExtensionGeneralInfo(ctx context.Context) (*ExtensionGeneralInformation, error)
func (ProducerEndpoint) GetExtensionImages ¶
func (e ProducerEndpoint) GetExtensionImages(ctx context.Context, extensionId int) ([]*ExtensionImage, error)
func (ProducerEndpoint) GetId ¶
func (e ProducerEndpoint) GetId() int
func (ProducerEndpoint) GetSoftwareVersions ¶
func (e ProducerEndpoint) GetSoftwareVersions(ctx context.Context, generation string) (*SoftwareVersionList, error)
func (ProducerEndpoint) Profile ¶
func (e ProducerEndpoint) Profile(ctx context.Context) (*Producer, error)
func (ProducerEndpoint) TriggerCodeReview ¶
func (e ProducerEndpoint) TriggerCodeReview(ctx context.Context, extensionId int) error
func (ProducerEndpoint) UpdateExtension ¶
func (e ProducerEndpoint) UpdateExtension(ctx context.Context, extension *Extension) error
func (ProducerEndpoint) UpdateExtensionBinaryFile ¶
func (ProducerEndpoint) UpdateExtensionBinaryInfo ¶
func (e ProducerEndpoint) UpdateExtensionBinaryInfo(ctx context.Context, extensionId int, update ExtensionUpdate) error
func (ProducerEndpoint) UpdateExtensionIcon ¶
func (ProducerEndpoint) UpdateExtensionImage ¶
func (e ProducerEndpoint) UpdateExtensionImage(ctx context.Context, extensionId int, image *ExtensionImage) error
type SoftwareVersion ¶
type SoftwareVersionList ¶
type SoftwareVersionList []SoftwareVersion
func (SoftwareVersionList) FilterOnVersion ¶
func (list SoftwareVersionList) FilterOnVersion(constriant *version.Constraints) SoftwareVersionList
func (SoftwareVersionList) FilterOnVersionStringList ¶
func (list SoftwareVersionList) FilterOnVersionStringList(constriant *version.Constraints) []string
type StoreAvailablity ¶
type StoreCategory ¶
type StoreCategory struct { Id int `json:"id"` Name string `json:"name"` Description string `json:"description"` Parent interface{} `json:"parent"` Position int `json:"position"` Public bool `json:"public"` Visible bool `json:"visible"` Suggested bool `json:"suggested"` Applicable bool `json:"applicable"` Details interface{} `json:"details"` Active bool `json:"active"` }
type StoreProductType ¶
type StoreVideo ¶
type StoreVideo struct {
URL string `json:"url"`
}
Click to show internal directories.
Click to hide internal directories.