Versions in this module Expand all Collapse all v0 v0.20.0 Oct 3, 2024 v0.19.0 Oct 3, 2024 v0.18.1 Sep 16, 2024 v0.18.0 Sep 12, 2024 Changes in this version + const ContextTimeoutInSeconds + type Author struct + Date time.Time + Email string + Name string + type ClientRequest struct + Method string + Path string + RequestBody interface{} + ResponseBody interface{} + type Commit struct + Author *Author + Body string + Committer *Committer + Hash *Hash + Subject string + Tag *Tag + Tree *Tree + type Committer struct + Date time.Time + Email string + Name string + type FileStat struct + Addition int + Deletion int + Name string + type FileStats []FileStat + type GitChanges struct + Commits []*Commit + FileStats FileStats + type GitSensorApiError struct + Code string + HttpStatusCode int + InternalMessage string + UserDetailMessage string + UserMessage string + type GitSensorClient interface + GetReleaseChanges func(request *ReleaseChangesRequest) (*GitChanges, error) + type GitSensorClientImpl struct + func NewGitSensorSession(config *GitSensorConfig, logger *zap.SugaredLogger) (session *GitSensorClientImpl, err error) + func (session GitSensorClientImpl) GetReleaseChanges(req *ReleaseChangesRequest) (changes *GitChanges, err error) + type GitSensorConfig struct + Timeout int + Url string + func GetGitSensorConfig() (*GitSensorConfig, error) + type GitSensorGrpcClient interface + GetChangesInRelease func(ctx context.Context, req *pb.ReleaseChangeRequest) (*GitChanges, error) + type GitSensorGrpcClientConfig struct + Url string + func GetConfig() (*GitSensorGrpcClientConfig, error) + type GitSensorGrpcClientImpl struct + func NewGitSensorGrpcClientImpl(logger *zap.SugaredLogger, config *GitSensorGrpcClientConfig) *GitSensorGrpcClientImpl + func (client *GitSensorGrpcClientImpl) GetChangesInRelease(ctx context.Context, req *pb.ReleaseChangeRequest) (*GitChanges, error) + type GitSensorResponse struct + Code int + Errors []*GitSensorApiError + Result json.RawMessage + Status string + type Hash struct + Long string + Short string + type ReleaseChangesRequest struct + NewCommit string + OldCommit string + PipelineMaterialId int + type StatusCode int + func (code StatusCode) IsSuccess() bool + type Tag struct + Date time.Time + Name string + type Tree struct + Long string + Short string