Documentation ¶
Index ¶
- Variables
- func DeleteT[T PatchDtos](ctx context.Context, s *Impl, resultPtr *T, fullPath string, ...) error
- func GetT[T Dtos](_ context.Context, s *Impl, resultPtr *T, fullPath string) error
- func Move(ctx context.Context, s *Impl, v interface{}, oldFullPath string, ...) error
- func New() auacornapi.Acorn
- func SetCommitHash(dto interface{}, commitHash string)
- func SetJiraIssue(dto interface{}, commitMessage string)
- func SetTimeStamp(dto interface{}, rawTimeStamp time.Time)
- func WriteT[T Dtos](ctx context.Context, s *Impl, resultPtr *T, path string, fileNameNoPath string, ...) error
- type Dtos
- type Impl
- func (s *Impl) AcornName() string
- func (s *Impl) AssembleAcorn(registry auacornapi.AcornRegistry) error
- func (s *Impl) ContainsNewInformation(_ context.Context, event repository.UpdateEvent) bool
- func (s *Impl) DeleteOwner(ctx context.Context, ownerAlias string, jiraIssue string) (openapi.OwnerPatchDto, error)
- func (s *Impl) DeleteRepository(ctx context.Context, repoKey string, jiraIssue string) (openapi.RepositoryPatchDto, error)
- func (s *Impl) DeleteService(ctx context.Context, serviceName string, jiraIssue string) (openapi.ServicePatchDto, error)
- func (s *Impl) GetOwner(ctx context.Context, ownerAlias string) (openapi.OwnerDto, error)
- func (s *Impl) GetRepository(ctx context.Context, repoKey string) (openapi.RepositoryDto, error)
- func (s *Impl) GetService(ctx context.Context, serviceName string) (openapi.ServiceDto, error)
- func (s *Impl) GetSortedOwnerAliases(_ context.Context) ([]string, error)
- func (s *Impl) GetSortedRepositoryKeys(ctx context.Context) ([]string, error)
- func (s *Impl) GetSortedServiceNames(ctx context.Context) ([]string, error)
- func (s *Impl) IsMapper() bool
- func (s *Impl) IsOwnerEmpty(_ context.Context, ownerAlias string) bool
- func (s *Impl) RefreshMetadata(ctx context.Context) ([]repository.UpdateEvent, error)
- func (s *Impl) Setup(_ context.Context) error
- func (s *Impl) SetupAcorn(registry auacornapi.AcornRegistry) error
- func (s *Impl) TeardownAcorn(_ auacornapi.AcornRegistry) error
- func (s *Impl) WriteOwner(ctx context.Context, ownerAlias string, owner openapi.OwnerDto) (openapi.OwnerDto, error)
- func (s *Impl) WriteRepository(ctx context.Context, repoKey string, repository openapi.RepositoryDto) (openapi.RepositoryDto, error)
- func (s *Impl) WriteRepositoryWithChangedOwner(ctx context.Context, repoKey string, repository openapi.RepositoryDto) (openapi.RepositoryDto, error)
- func (s *Impl) WriteService(ctx context.Context, serviceName string, service openapi.ServiceDto) (openapi.ServiceDto, error)
- func (s *Impl) WriteServiceWithChangedOwner(ctx context.Context, serviceName string, service openapi.ServiceDto) (openapi.ServiceDto, error)
- type PatchDtos
Constants ¶
This section is empty.
Variables ¶
View Source
var TimeStampFormat = "2006-01-02T15:04:05Z"
Functions ¶
func SetCommitHash ¶
func SetCommitHash(dto interface{}, commitHash string)
func SetJiraIssue ¶
func SetJiraIssue(dto interface{}, commitMessage string)
func SetTimeStamp ¶
Types ¶
type Dtos ¶
type Dtos interface { openapi.OwnerDto | openapi.ServiceDto | openapi.RepositoryDto }
type Impl ¶
type Impl struct { Configuration librepo.Configuration CustomConfiguration config.CustomConfiguration Logging librepo.Logging Metadata repository.Metadata Now func() time.Time // contains filtered or unexported fields }
func (*Impl) AssembleAcorn ¶
func (*Impl) ContainsNewInformation ¶
func (s *Impl) ContainsNewInformation(_ context.Context, event repository.UpdateEvent) bool
func (*Impl) DeleteOwner ¶
func (*Impl) DeleteRepository ¶
func (*Impl) DeleteService ¶
func (*Impl) GetRepository ¶
func (*Impl) GetService ¶
func (*Impl) GetSortedOwnerAliases ¶
func (*Impl) GetSortedRepositoryKeys ¶
func (*Impl) GetSortedServiceNames ¶
func (*Impl) RefreshMetadata ¶
func (s *Impl) RefreshMetadata(ctx context.Context) ([]repository.UpdateEvent, error)
func (*Impl) SetupAcorn ¶
func (*Impl) TeardownAcorn ¶
func (*Impl) WriteOwner ¶
func (*Impl) WriteRepository ¶
func (s *Impl) WriteRepository(ctx context.Context, repoKey string, repository openapi.RepositoryDto) (openapi.RepositoryDto, error)
func (*Impl) WriteRepositoryWithChangedOwner ¶
func (s *Impl) WriteRepositoryWithChangedOwner(ctx context.Context, repoKey string, repository openapi.RepositoryDto) (openapi.RepositoryDto, error)
func (*Impl) WriteService ¶
func (s *Impl) WriteService(ctx context.Context, serviceName string, service openapi.ServiceDto) (openapi.ServiceDto, error)
func (*Impl) WriteServiceWithChangedOwner ¶
func (s *Impl) WriteServiceWithChangedOwner(ctx context.Context, serviceName string, service openapi.ServiceDto) (openapi.ServiceDto, error)
type PatchDtos ¶
type PatchDtos interface { openapi.OwnerPatchDto | openapi.ServicePatchDto | openapi.RepositoryPatchDto }
Click to show internal directories.
Click to hide internal directories.