Documentation
¶
Index ¶
- func NewReleaseChecksumManager(client *github.Client, releaseOwner, releaseRepository string, ...) checksum.Manager
- type ClientFactory
- type CommitRef
- type ReleaseRef
- type Service
- func (s Service) IsDetectedServer(_ context.Context, lookupRef service.LookupRef) bool
- func (s Service) IsKnownServer(_ context.Context, lookupRef service.LookupRef) bool
- func (s Service) ResolveRef(ctx context.Context, lookupRef service.LookupRef) (service.ResolvedRef, error)
- func (s Service) ServiceName() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClientFactory ¶
type ClientFactory struct {
// contains filtered or unexported fields
}
func NewClientFactory ¶ added in v0.3.0
func NewClientFactory(log *logrus.Logger, httpClientFactory func() *http.Client) *ClientFactory
type CommitRef ¶
type CommitRef struct {
// contains filtered or unexported fields
}
func (*CommitRef) CanonicalRef ¶ added in v0.4.0
func (*CommitRef) GetMetadata ¶ added in v0.5.0
func (*CommitRef) ResolveResource ¶
func (r *CommitRef) ResolveResource(ctx context.Context, resourceType service.ResourceType, resource service.ResourceName) ([]service.ResolvedResource, error)
type ReleaseRef ¶
type ReleaseRef struct {
// contains filtered or unexported fields
}
func (*ReleaseRef) CanonicalRef ¶ added in v0.4.0
func (r *ReleaseRef) CanonicalRef() service.Ref
func (*ReleaseRef) GetMetadata ¶
func (r *ReleaseRef) GetMetadata(ctx context.Context) (service.RefMetadata, error)
func (*ReleaseRef) ResolveResource ¶
func (r *ReleaseRef) ResolveResource(ctx context.Context, resourceType service.ResourceType, resource service.ResourceName) ([]service.ResolvedResource, error)
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(log *logrus.Logger, clientFactory *ClientFactory) *Service
func (Service) IsDetectedServer ¶ added in v0.5.2
func (Service) IsKnownServer ¶ added in v0.5.2
func (Service) ResolveRef ¶
func (Service) ServiceName ¶ added in v0.5.2
Source Files
¶
Click to show internal directories.
Click to hide internal directories.