ownersmock

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mock

type Mock struct {
}

func (*Mock) DeleteOwner

func (s *Mock) DeleteOwner(ctx context.Context, alias string)

func (*Mock) DeleteRepository

func (s *Mock) DeleteRepository(ctx context.Context, key string)

func (*Mock) DeleteService

func (s *Mock) DeleteService(ctx context.Context, name string)

func (*Mock) GetOwner

func (s *Mock) GetOwner(ctx context.Context, alias string) (openapi.OwnerDto, error)

func (*Mock) GetOwnerListTimestamp

func (s *Mock) GetOwnerListTimestamp(ctx context.Context) string

func (*Mock) GetRepository

func (s *Mock) GetRepository(ctx context.Context, key string) (openapi.RepositoryDto, error)

func (*Mock) GetRepositoryListTimestamp

func (s *Mock) GetRepositoryListTimestamp(ctx context.Context) string

func (*Mock) GetService

func (s *Mock) GetService(ctx context.Context, name string) (openapi.ServiceDto, error)

func (*Mock) GetServiceListTimestamp

func (s *Mock) GetServiceListTimestamp(ctx context.Context) string

func (*Mock) GetSortedOwnerAliases

func (s *Mock) GetSortedOwnerAliases(ctx context.Context) []string

func (*Mock) GetSortedRepositoryKeys

func (s *Mock) GetSortedRepositoryKeys(ctx context.Context) []string

func (*Mock) GetSortedServiceNames

func (s *Mock) GetSortedServiceNames(ctx context.Context) []string

func (*Mock) IsCache

func (s *Mock) IsCache() bool

func (*Mock) PutOwner

func (s *Mock) PutOwner(ctx context.Context, alias string, entry openapi.OwnerDto)

func (*Mock) PutRepository

func (s *Mock) PutRepository(ctx context.Context, key string, entry openapi.RepositoryDto)

func (*Mock) PutService

func (s *Mock) PutService(ctx context.Context, name string, entry openapi.ServiceDto)

func (*Mock) SetOwnerListTimestamp

func (s *Mock) SetOwnerListTimestamp(ctx context.Context, timestamp string)

func (*Mock) SetRepositoryListTimestamp

func (s *Mock) SetRepositoryListTimestamp(ctx context.Context, timestamp string)

func (*Mock) SetServiceListTimestamp

func (s *Mock) SetServiceListTimestamp(ctx context.Context, timestamp string)

Jump to

Keyboard shortcuts

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