gitspace

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

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

Go to latest
Published: Jul 29, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Service

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

func NewService

func NewService(
	tx dbtx.Transactor,
	gitspaceStore store.GitspaceConfigStore,
	gitspaceInstanceStore store.GitspaceInstanceStore,
	spaceStore store.SpaceStore,
	infraProviderSvc *infraprovider.Service,
) *Service

func ProvideGitspace

func ProvideGitspace(
	tx dbtx.Transactor,
	gitspaceStore store.GitspaceConfigStore,
	gitspaceInstanceStore store.GitspaceInstanceStore,
	spaceStore store.SpaceStore,
	infraProviderSvc *infraprovider.Service,
) *Service

func (*Service) Find

func (c *Service) Find(
	ctx context.Context,
	spaceRef string,
	identifier string,
) (*types.GitspaceConfig, error)

func (*Service) ListGitspacesForSpace

func (c *Service) ListGitspacesForSpace(
	ctx context.Context,
	space *types.Space,
	userIdentifier string,
	filter types.ListQueryFilter,
) ([]*types.GitspaceConfig, int64, error)

func (*Service) UpdateConfig

func (c *Service) UpdateConfig(
	ctx context.Context,
	gitspaceConfig *types.GitspaceConfig,
) error

func (*Service) UpdateInstance

func (c *Service) UpdateInstance(
	ctx context.Context,
	gitspaceInstance *types.GitspaceInstance,
) error

Jump to

Keyboard shortcuts

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