Documentation ¶
Index ¶
- Constants
- Variables
- type DenoClient
- type DescriptedPath
- type DomainService
- type Manager
- func (m *Manager) ApplyUpdates0(ctx context.Context, appID string, updates []Update) ([]*resource.ResourceFile, error)
- func (m *Manager) AssociateDescriptor(paths ...string) ([]DescriptedPath, error)
- func (m *Manager) List() ([]string, error)
- func (m *Manager) ReadAppFile(desc resource.Descriptor, view resource.AppFileView) (interface{}, error)
- type TutorialService
- type Update
Constants ¶
View Source
const ConfigFileMaxSize = 100 * 1024
Variables ¶
View Source
var ResouceTooLarge = apierrors.RequestEntityTooLarge.WithReason("ResourceTooLarge")
View Source
var ResourceUpdateConflict = apierrors.Forbidden.WithReason("ResourceUpdateConflict")
Functions ¶
This section is empty.
Types ¶
type DescriptedPath ¶
type DescriptedPath struct { Descriptor resource.Descriptor Path string }
type DomainService ¶
type Manager ¶
type Manager struct { Logger *log.Logger AppResourceManager *resource.Manager AppFS resource.Fs AppFeatureConfig *config.FeatureConfig AppHostSuffixes *config.AppHostSuffixes DomainService DomainService Tutorials TutorialService DenoClient DenoClient Clock clock.Clock SAMLEnvironmentConfig config.SAMLEnvironmentConfig }
func (*Manager) ApplyUpdates0 ¶
func (m *Manager) ApplyUpdates0(ctx context.Context, appID string, updates []Update) ([]*resource.ResourceFile, error)
ApplyUpdates0 assume acquired connection.
func (*Manager) AssociateDescriptor ¶
func (m *Manager) AssociateDescriptor(paths ...string) ([]DescriptedPath, error)
func (*Manager) ReadAppFile ¶
func (m *Manager) ReadAppFile(desc resource.Descriptor, view resource.AppFileView) (interface{}, error)
type TutorialService ¶
type TutorialService interface {
OnUpdateResource0(ctx context.Context, appID string, resourcesInAllFss []resource.ResourceFile, resourceInTargetFs *resource.ResourceFile, data []byte) (err error)
}
Click to show internal directories.
Click to hide internal directories.