appservice

package
v1.0.0-beta.227 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Adapter   app.Adapter
	Publisher eventbus.Publisher
}

func (Config) Validate

func (c Config) Validate() error

type Service

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

func New

func New(config Config) (*Service, error)

func (*Service) AuthorizeMarketplaceListingOauth2Install

func (s *Service) AuthorizeMarketplaceListingOauth2Install(ctx context.Context, input app.AuthorizeOauth2InstallInput) error

func (*Service) CreateApp

func (s *Service) CreateApp(ctx context.Context, input app.CreateAppInput) (app.AppBase, error)

func (*Service) DeleteCustomer

func (s *Service) DeleteCustomer(ctx context.Context, input app.DeleteCustomerInput) error

func (*Service) EnsureCustomer

func (s *Service) EnsureCustomer(ctx context.Context, input app.EnsureCustomerInput) error

func (*Service) GetApp

func (s *Service) GetApp(ctx context.Context, input app.GetAppInput) (app.App, error)

func (*Service) GetMarketplaceListing

func (s *Service) GetMarketplaceListing(ctx context.Context, input app.MarketplaceGetInput) (app.RegistryItem, error)

func (*Service) GetMarketplaceListingOauth2InstallURL

func (s *Service) GetMarketplaceListingOauth2InstallURL(ctx context.Context, input app.GetOauth2InstallURLInput) (app.GetOauth2InstallURLOutput, error)

func (*Service) InstallMarketplaceListing

func (s *Service) InstallMarketplaceListing(ctx context.Context, input app.InstallAppInput) (app.App, error)

func (*Service) InstallMarketplaceListingWithAPIKey

func (s *Service) InstallMarketplaceListingWithAPIKey(ctx context.Context, input app.InstallAppWithAPIKeyInput) (app.App, error)

func (*Service) ListApps

func (s *Service) ListApps(ctx context.Context, input app.ListAppInput) (pagination.Result[app.App], error)

func (*Service) ListCustomerData

func (s *Service) ListCustomerData(ctx context.Context, input app.ListCustomerInput) (pagination.Result[app.CustomerApp], error)

func (*Service) ListMarketplaceListings

func (s *Service) ListMarketplaceListings(ctx context.Context, input app.MarketplaceListInput) (pagination.Result[app.RegistryItem], error)

func (*Service) RegisterMarketplaceListing

func (s *Service) RegisterMarketplaceListing(input app.RegisterMarketplaceListingInput) error

func (*Service) UninstallApp

func (s *Service) UninstallApp(ctx context.Context, input app.UninstallAppInput) error

func (*Service) UpdateApp

func (s *Service) UpdateApp(ctx context.Context, input app.UpdateAppInput) (app.App, error)

func (*Service) UpdateAppStatus

func (s *Service) UpdateAppStatus(ctx context.Context, input app.UpdateAppStatusInput) error

Jump to

Keyboard shortcuts

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