gitSensor

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 9 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_gitSensor_service_proto protoreflect.FileDescriptor
View Source
var GitSensorService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "gitService.GitSensorService",
	HandlerType: (*GitSensorServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SaveGitProvider",
			Handler:    _GitSensorService_SaveGitProvider_Handler,
		},
		{
			MethodName: "AddRepo",
			Handler:    _GitSensorService_AddRepo_Handler,
		},
		{
			MethodName: "UpdateRepo",
			Handler:    _GitSensorService_UpdateRepo_Handler,
		},
		{
			MethodName: "SavePipelineMaterial",
			Handler:    _GitSensorService_SavePipelineMaterial_Handler,
		},
		{
			MethodName: "FetchChanges",
			Handler:    _GitSensorService_FetchChanges_Handler,
		},
		{
			MethodName: "GetHeadForPipelineMaterials",
			Handler:    _GitSensorService_GetHeadForPipelineMaterials_Handler,
		},
		{
			MethodName: "GetCommitMetadata",
			Handler:    _GitSensorService_GetCommitMetadata_Handler,
		},
		{
			MethodName: "GetCommitMetadataForPipelineMaterial",
			Handler:    _GitSensorService_GetCommitMetadataForPipelineMaterial_Handler,
		},
		{
			MethodName: "GetCommitInfoForTag",
			Handler:    _GitSensorService_GetCommitInfoForTag_Handler,
		},
		{
			MethodName: "RefreshGitMaterial",
			Handler:    _GitSensorService_RefreshGitMaterial_Handler,
		},
		{
			MethodName: "ReloadAllMaterial",
			Handler:    _GitSensorService_ReloadAllMaterial_Handler,
		},
		{
			MethodName: "ReloadMaterial",
			Handler:    _GitSensorService_ReloadMaterial_Handler,
		},
		{
			MethodName: "GetChangesInRelease",
			Handler:    _GitSensorService_GetChangesInRelease_Handler,
		},
		{
			MethodName: "GetWebhookData",
			Handler:    _GitSensorService_GetWebhookData_Handler,
		},
		{
			MethodName: "GetAllWebhookEventConfigForHost",
			Handler:    _GitSensorService_GetAllWebhookEventConfigForHost_Handler,
		},
		{
			MethodName: "GetWebhookEventConfig",
			Handler:    _GitSensorService_GetWebhookEventConfig_Handler,
		},
		{
			MethodName: "GetWebhookPayloadDataForPipelineMaterialId",
			Handler:    _GitSensorService_GetWebhookPayloadDataForPipelineMaterialId_Handler,
		},
		{
			MethodName: "GetWebhookPayloadFilterDataForPipelineMaterialId",
			Handler:    _GitSensorService_GetWebhookPayloadFilterDataForPipelineMaterialId_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "gitSensor/service.proto",
}

GitSensorService_ServiceDesc is the grpc.ServiceDesc for GitSensorService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterGitSensorServiceServer

func RegisterGitSensorServiceServer(s grpc.ServiceRegistrar, srv GitSensorServiceServer)

Types

type AddRepoRequest

type AddRepoRequest struct {
	GitMaterialList []*GitMaterial `protobuf:"bytes,1,rep,name=gitMaterialList,proto3" json:"gitMaterialList,omitempty"`
	// contains filtered or unexported fields
}

func (*AddRepoRequest) Descriptor deprecated

func (*AddRepoRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddRepoRequest.ProtoReflect.Descriptor instead.

func (*AddRepoRequest) GetGitMaterialList

func (x *AddRepoRequest) GetGitMaterialList() []*GitMaterial

func (*AddRepoRequest) ProtoMessage

func (*AddRepoRequest) ProtoMessage()

func (*AddRepoRequest) ProtoReflect

func (x *AddRepoRequest) ProtoReflect() protoreflect.Message

func (*AddRepoRequest) Reset

func (x *AddRepoRequest) Reset()

func (*AddRepoRequest) String

func (x *AddRepoRequest) String() string

type Author

type Author struct {
	Name  string               `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	Email string               `protobuf:"bytes,2,opt,name=Email,proto3" json:"Email,omitempty"`
	Date  *timestamp.Timestamp `protobuf:"bytes,3,opt,name=Date,proto3" json:"Date,omitempty"`
	// contains filtered or unexported fields
}

func (*Author) Descriptor deprecated

func (*Author) Descriptor() ([]byte, []int)

Deprecated: Use Author.ProtoReflect.Descriptor instead.

func (*Author) GetDate

func (x *Author) GetDate() *timestamp.Timestamp

func (*Author) GetEmail

func (x *Author) GetEmail() string

func (*Author) GetName

func (x *Author) GetName() string

func (*Author) ProtoMessage

func (*Author) ProtoMessage()

func (*Author) ProtoReflect

func (x *Author) ProtoReflect() protoreflect.Message

func (*Author) Reset

func (x *Author) Reset()

func (*Author) String

func (x *Author) String() string

type CiPipelineMaterial

type CiPipelineMaterial struct {
	Id            int64                `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	GitMaterialId int64                `protobuf:"varint,2,opt,name=gitMaterialId,proto3" json:"gitMaterialId,omitempty"`
	Type          string               `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Value         string               `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	Active        bool                 `protobuf:"varint,5,opt,name=active,proto3" json:"active,omitempty"`
	LastSeenHash  string               `protobuf:"bytes,6,opt,name=lastSeenHash,proto3" json:"lastSeenHash,omitempty"`
	CommitAuthor  string               `protobuf:"bytes,7,opt,name=commitAuthor,proto3" json:"commitAuthor,omitempty"`
	CommitMessage string               `protobuf:"bytes,8,opt,name=commitMessage,proto3" json:"commitMessage,omitempty"`
	CommitDate    *timestamp.Timestamp `protobuf:"bytes,9,opt,name=commitDate,proto3" json:"commitDate,omitempty"`
	CommitHistory string               `protobuf:"bytes,10,opt,name=commitHistory,proto3" json:"commitHistory,omitempty"`
	Errored       bool                 `protobuf:"varint,11,opt,name=errored,proto3" json:"errored,omitempty"`
	ErrorMsg      string               `protobuf:"bytes,12,opt,name=errorMsg,proto3" json:"errorMsg,omitempty"`
	// contains filtered or unexported fields
}

func (*CiPipelineMaterial) Descriptor deprecated

func (*CiPipelineMaterial) Descriptor() ([]byte, []int)

Deprecated: Use CiPipelineMaterial.ProtoReflect.Descriptor instead.

func (*CiPipelineMaterial) GetActive

func (x *CiPipelineMaterial) GetActive() bool

func (*CiPipelineMaterial) GetCommitAuthor

func (x *CiPipelineMaterial) GetCommitAuthor() string

func (*CiPipelineMaterial) GetCommitDate

func (x *CiPipelineMaterial) GetCommitDate() *timestamp.Timestamp

func (*CiPipelineMaterial) GetCommitHistory

func (x *CiPipelineMaterial) GetCommitHistory() string

func (*CiPipelineMaterial) GetCommitMessage

func (x *CiPipelineMaterial) GetCommitMessage() string

func (*CiPipelineMaterial) GetErrorMsg

func (x *CiPipelineMaterial) GetErrorMsg() string

func (*CiPipelineMaterial) GetErrored

func (x *CiPipelineMaterial) GetErrored() bool

func (*CiPipelineMaterial) GetGitMaterialId

func (x *CiPipelineMaterial) GetGitMaterialId() int64

func (*CiPipelineMaterial) GetId

func (x *CiPipelineMaterial) GetId() int64

func (*CiPipelineMaterial) GetLastSeenHash

func (x *CiPipelineMaterial) GetLastSeenHash() string

func (*CiPipelineMaterial) GetType

func (x *CiPipelineMaterial) GetType() string

func (*CiPipelineMaterial) GetValue

func (x *CiPipelineMaterial) GetValue() string

func (*CiPipelineMaterial) ProtoMessage

func (*CiPipelineMaterial) ProtoMessage()

func (*CiPipelineMaterial) ProtoReflect

func (x *CiPipelineMaterial) ProtoReflect() protoreflect.Message

func (*CiPipelineMaterial) Reset

func (x *CiPipelineMaterial) Reset()

func (*CiPipelineMaterial) String

func (x *CiPipelineMaterial) String() string

type CiPipelineMaterialBean

type CiPipelineMaterialBean struct {
	Id                        int64             `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`
	GitMaterialId             int64             `protobuf:"varint,2,opt,name=GitMaterialId,proto3" json:"GitMaterialId,omitempty"`
	Type                      string            `protobuf:"bytes,3,opt,name=Type,proto3" json:"Type,omitempty"`
	Value                     string            `protobuf:"bytes,4,opt,name=Value,proto3" json:"Value,omitempty"`
	Active                    bool              `protobuf:"varint,5,opt,name=Active,proto3" json:"Active,omitempty"`
	GitCommit                 *GitCommit        `protobuf:"bytes,6,opt,name=GitCommit,proto3" json:"GitCommit,omitempty"`
	ExtraEnvironmentVariables map[string]string `` /* 191-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CiPipelineMaterialBean) Descriptor deprecated

func (*CiPipelineMaterialBean) Descriptor() ([]byte, []int)

Deprecated: Use CiPipelineMaterialBean.ProtoReflect.Descriptor instead.

func (*CiPipelineMaterialBean) GetActive

func (x *CiPipelineMaterialBean) GetActive() bool

func (*CiPipelineMaterialBean) GetExtraEnvironmentVariables

func (x *CiPipelineMaterialBean) GetExtraEnvironmentVariables() map[string]string

func (*CiPipelineMaterialBean) GetGitCommit

func (x *CiPipelineMaterialBean) GetGitCommit() *GitCommit

func (*CiPipelineMaterialBean) GetGitMaterialId

func (x *CiPipelineMaterialBean) GetGitMaterialId() int64

func (*CiPipelineMaterialBean) GetId

func (x *CiPipelineMaterialBean) GetId() int64

func (*CiPipelineMaterialBean) GetType

func (x *CiPipelineMaterialBean) GetType() string

func (*CiPipelineMaterialBean) GetValue

func (x *CiPipelineMaterialBean) GetValue() string

func (*CiPipelineMaterialBean) ProtoMessage

func (*CiPipelineMaterialBean) ProtoMessage()

func (*CiPipelineMaterialBean) ProtoReflect

func (x *CiPipelineMaterialBean) ProtoReflect() protoreflect.Message

func (*CiPipelineMaterialBean) Reset

func (x *CiPipelineMaterialBean) Reset()

func (*CiPipelineMaterialBean) String

func (x *CiPipelineMaterialBean) String() string

type Commit

type Commit struct {
	Hash      *Hash      `protobuf:"bytes,1,opt,name=Hash,proto3" json:"Hash,omitempty"`
	Tree      *Tree      `protobuf:"bytes,2,opt,name=Tree,proto3" json:"Tree,omitempty"`
	Author    *Author    `protobuf:"bytes,3,opt,name=Author,proto3" json:"Author,omitempty"`
	Committer *Committer `protobuf:"bytes,4,opt,name=Committer,proto3" json:"Committer,omitempty"`
	Tag       *Tag       `protobuf:"bytes,5,opt,name=Tag,proto3" json:"Tag,omitempty"`
	Subject   string     `protobuf:"bytes,6,opt,name=Subject,proto3" json:"Subject,omitempty"`
	Body      string     `protobuf:"bytes,7,opt,name=Body,proto3" json:"Body,omitempty"`
	// contains filtered or unexported fields
}

func (*Commit) Descriptor deprecated

func (*Commit) Descriptor() ([]byte, []int)

Deprecated: Use Commit.ProtoReflect.Descriptor instead.

func (*Commit) GetAuthor

func (x *Commit) GetAuthor() *Author

func (*Commit) GetBody

func (x *Commit) GetBody() string

func (*Commit) GetCommitter

func (x *Commit) GetCommitter() *Committer

func (*Commit) GetHash

func (x *Commit) GetHash() *Hash

func (*Commit) GetSubject

func (x *Commit) GetSubject() string

func (*Commit) GetTag

func (x *Commit) GetTag() *Tag

func (*Commit) GetTree

func (x *Commit) GetTree() *Tree

func (*Commit) ProtoMessage

func (*Commit) ProtoMessage()

func (*Commit) ProtoReflect

func (x *Commit) ProtoReflect() protoreflect.Message

func (*Commit) Reset

func (x *Commit) Reset()

func (*Commit) String

func (x *Commit) String() string

type CommitMetadataRequest

type CommitMetadataRequest struct {
	PipelineMaterialId int64  `protobuf:"varint,1,opt,name=pipelineMaterialId,proto3" json:"pipelineMaterialId,omitempty"`
	GitHash            string `protobuf:"bytes,2,opt,name=gitHash,proto3" json:"gitHash,omitempty"`
	GitTag             string `protobuf:"bytes,3,opt,name=gitTag,proto3" json:"gitTag,omitempty"`
	BranchName         string `protobuf:"bytes,4,opt,name=branchName,proto3" json:"branchName,omitempty"`
	// contains filtered or unexported fields
}

func (*CommitMetadataRequest) Descriptor deprecated

func (*CommitMetadataRequest) Descriptor() ([]byte, []int)

Deprecated: Use CommitMetadataRequest.ProtoReflect.Descriptor instead.

func (*CommitMetadataRequest) GetBranchName

func (x *CommitMetadataRequest) GetBranchName() string

func (*CommitMetadataRequest) GetGitHash

func (x *CommitMetadataRequest) GetGitHash() string

func (*CommitMetadataRequest) GetGitTag

func (x *CommitMetadataRequest) GetGitTag() string

func (*CommitMetadataRequest) GetPipelineMaterialId

func (x *CommitMetadataRequest) GetPipelineMaterialId() int64

func (*CommitMetadataRequest) ProtoMessage

func (*CommitMetadataRequest) ProtoMessage()

func (*CommitMetadataRequest) ProtoReflect

func (x *CommitMetadataRequest) ProtoReflect() protoreflect.Message

func (*CommitMetadataRequest) Reset

func (x *CommitMetadataRequest) Reset()

func (*CommitMetadataRequest) String

func (x *CommitMetadataRequest) String() string

type Committer

type Committer struct {
	Name  string               `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	Email string               `protobuf:"bytes,2,opt,name=Email,proto3" json:"Email,omitempty"`
	Date  *timestamp.Timestamp `protobuf:"bytes,3,opt,name=Date,proto3" json:"Date,omitempty"`
	// contains filtered or unexported fields
}

func (*Committer) Descriptor deprecated

func (*Committer) Descriptor() ([]byte, []int)

Deprecated: Use Committer.ProtoReflect.Descriptor instead.

func (*Committer) GetDate

func (x *Committer) GetDate() *timestamp.Timestamp

func (*Committer) GetEmail

func (x *Committer) GetEmail() string

func (*Committer) GetName

func (x *Committer) GetName() string

func (*Committer) ProtoMessage

func (*Committer) ProtoMessage()

func (*Committer) ProtoReflect

func (x *Committer) ProtoReflect() protoreflect.Message

func (*Committer) Reset

func (x *Committer) Reset()

func (*Committer) String

func (x *Committer) String() string

type Empty

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

func (*Empty) Descriptor deprecated

func (*Empty) Descriptor() ([]byte, []int)

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

func (x *Empty) ProtoReflect() protoreflect.Message

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

type FetchScmChangesRequest

type FetchScmChangesRequest struct {
	PipelineMaterialId int64  `protobuf:"varint,1,opt,name=pipelineMaterialId,proto3" json:"pipelineMaterialId,omitempty"`
	From               string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
	To                 string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
	Count              int64  `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
	ShowAll            bool   `protobuf:"varint,5,opt,name=showAll,proto3" json:"showAll,omitempty"`
	// contains filtered or unexported fields
}

func (*FetchScmChangesRequest) Descriptor deprecated

func (*FetchScmChangesRequest) Descriptor() ([]byte, []int)

Deprecated: Use FetchScmChangesRequest.ProtoReflect.Descriptor instead.

func (*FetchScmChangesRequest) GetCount

func (x *FetchScmChangesRequest) GetCount() int64

func (*FetchScmChangesRequest) GetFrom

func (x *FetchScmChangesRequest) GetFrom() string

func (*FetchScmChangesRequest) GetPipelineMaterialId

func (x *FetchScmChangesRequest) GetPipelineMaterialId() int64

func (*FetchScmChangesRequest) GetShowAll

func (x *FetchScmChangesRequest) GetShowAll() bool

func (*FetchScmChangesRequest) GetTo

func (x *FetchScmChangesRequest) GetTo() string

func (*FetchScmChangesRequest) ProtoMessage

func (*FetchScmChangesRequest) ProtoMessage()

func (*FetchScmChangesRequest) ProtoReflect

func (x *FetchScmChangesRequest) ProtoReflect() protoreflect.Message

func (*FetchScmChangesRequest) Reset

func (x *FetchScmChangesRequest) Reset()

func (*FetchScmChangesRequest) String

func (x *FetchScmChangesRequest) String() string

type FileStat

type FileStat struct {
	Name     string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	Addition int64  `protobuf:"varint,2,opt,name=Addition,proto3" json:"Addition,omitempty"`
	Deletion int64  `protobuf:"varint,3,opt,name=Deletion,proto3" json:"Deletion,omitempty"`
	// contains filtered or unexported fields
}

func (*FileStat) Descriptor deprecated

func (*FileStat) Descriptor() ([]byte, []int)

Deprecated: Use FileStat.ProtoReflect.Descriptor instead.

func (*FileStat) GetAddition

func (x *FileStat) GetAddition() int64

func (*FileStat) GetDeletion

func (x *FileStat) GetDeletion() int64

func (*FileStat) GetName

func (x *FileStat) GetName() string

func (*FileStat) ProtoMessage

func (*FileStat) ProtoMessage()

func (*FileStat) ProtoReflect

func (x *FileStat) ProtoReflect() protoreflect.Message

func (*FileStat) Reset

func (x *FileStat) Reset()

func (*FileStat) String

func (x *FileStat) String() string

type GenericResponse

type GenericResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*GenericResponse) Descriptor deprecated

func (*GenericResponse) Descriptor() ([]byte, []int)

Deprecated: Use GenericResponse.ProtoReflect.Descriptor instead.

func (*GenericResponse) GetMessage

func (x *GenericResponse) GetMessage() string

func (*GenericResponse) ProtoMessage

func (*GenericResponse) ProtoMessage()

func (*GenericResponse) ProtoReflect

func (x *GenericResponse) ProtoReflect() protoreflect.Message

func (*GenericResponse) Reset

func (x *GenericResponse) Reset()

func (*GenericResponse) String

func (x *GenericResponse) String() string

type GetHeadForPipelineMaterialsResponse

type GetHeadForPipelineMaterialsResponse struct {
	Materials []*CiPipelineMaterialBean `protobuf:"bytes,1,rep,name=materials,proto3" json:"materials,omitempty"`
	// contains filtered or unexported fields
}

func (*GetHeadForPipelineMaterialsResponse) Descriptor deprecated

func (*GetHeadForPipelineMaterialsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetHeadForPipelineMaterialsResponse.ProtoReflect.Descriptor instead.

func (*GetHeadForPipelineMaterialsResponse) GetMaterials

func (*GetHeadForPipelineMaterialsResponse) ProtoMessage

func (*GetHeadForPipelineMaterialsResponse) ProtoMessage()

func (*GetHeadForPipelineMaterialsResponse) ProtoReflect

func (*GetHeadForPipelineMaterialsResponse) Reset

func (*GetHeadForPipelineMaterialsResponse) String

type GitChanges

type GitChanges struct {
	Commits   []*Commit   `protobuf:"bytes,1,rep,name=Commits,proto3" json:"Commits,omitempty"`
	FileStats []*FileStat `protobuf:"bytes,2,rep,name=FileStats,proto3" json:"FileStats,omitempty"`
	// contains filtered or unexported fields
}

func (*GitChanges) Descriptor deprecated

func (*GitChanges) Descriptor() ([]byte, []int)

Deprecated: Use GitChanges.ProtoReflect.Descriptor instead.

func (*GitChanges) GetCommits

func (x *GitChanges) GetCommits() []*Commit

func (*GitChanges) GetFileStats

func (x *GitChanges) GetFileStats() []*FileStat

func (*GitChanges) ProtoMessage

func (*GitChanges) ProtoMessage()

func (*GitChanges) ProtoReflect

func (x *GitChanges) ProtoReflect() protoreflect.Message

func (*GitChanges) Reset

func (x *GitChanges) Reset()

func (*GitChanges) String

func (x *GitChanges) String() string

type GitCommit

type GitCommit struct {
	Commit      string               `protobuf:"bytes,1,opt,name=Commit,proto3" json:"Commit,omitempty"`
	Author      string               `protobuf:"bytes,2,opt,name=Author,proto3" json:"Author,omitempty"`
	Date        *timestamp.Timestamp `protobuf:"bytes,3,opt,name=Date,proto3" json:"Date,omitempty"`
	Message     string               `protobuf:"bytes,4,opt,name=Message,proto3" json:"Message,omitempty"`
	Changes     []string             `protobuf:"bytes,5,rep,name=Changes,proto3" json:"Changes,omitempty"`
	FileStats   []*FileStat          `protobuf:"bytes,6,rep,name=FileStats,proto3" json:"FileStats,omitempty"`
	WebhookData *WebhookData         `protobuf:"bytes,7,opt,name=WebhookData,proto3" json:"WebhookData,omitempty"`
	Excluded    bool                 `protobuf:"varint,8,opt,name=Excluded,proto3" json:"Excluded,omitempty"`
	// contains filtered or unexported fields
}

func (*GitCommit) Descriptor deprecated

func (*GitCommit) Descriptor() ([]byte, []int)

Deprecated: Use GitCommit.ProtoReflect.Descriptor instead.

func (*GitCommit) GetAuthor

func (x *GitCommit) GetAuthor() string

func (*GitCommit) GetChanges

func (x *GitCommit) GetChanges() []string

func (*GitCommit) GetCommit

func (x *GitCommit) GetCommit() string

func (*GitCommit) GetDate

func (x *GitCommit) GetDate() *timestamp.Timestamp

func (*GitCommit) GetExcluded

func (x *GitCommit) GetExcluded() bool

func (*GitCommit) GetFileStats

func (x *GitCommit) GetFileStats() []*FileStat

func (*GitCommit) GetMessage

func (x *GitCommit) GetMessage() string

func (*GitCommit) GetWebhookData

func (x *GitCommit) GetWebhookData() *WebhookData

func (*GitCommit) ProtoMessage

func (*GitCommit) ProtoMessage()

func (*GitCommit) ProtoReflect

func (x *GitCommit) ProtoReflect() protoreflect.Message

func (*GitCommit) Reset

func (x *GitCommit) Reset()

func (*GitCommit) String

func (x *GitCommit) String() string

type GitMaterial

type GitMaterial struct {
	Id               int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	GitProviderId    int64    `protobuf:"varint,2,opt,name=gitProviderId,proto3" json:"gitProviderId,omitempty"`
	Url              string   `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
	FetchSubmodules  bool     `protobuf:"varint,4,opt,name=fetchSubmodules,proto3" json:"fetchSubmodules,omitempty"`
	Name             string   `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	CheckoutLocation string   `protobuf:"bytes,6,opt,name=checkoutLocation,proto3" json:"checkoutLocation,omitempty"`
	CheckoutStatus   bool     `protobuf:"varint,7,opt,name=checkoutStatus,proto3" json:"checkoutStatus,omitempty"`
	CheckoutMsgAny   string   `protobuf:"bytes,8,opt,name=checkoutMsgAny,proto3" json:"checkoutMsgAny,omitempty"`
	Deleted          bool     `protobuf:"varint,9,opt,name=deleted,proto3" json:"deleted,omitempty"`
	FilterPattern    []string `protobuf:"bytes,10,rep,name=filterPattern,proto3" json:"filterPattern,omitempty"`
	// contains filtered or unexported fields
}

func (*GitMaterial) Descriptor deprecated

func (*GitMaterial) Descriptor() ([]byte, []int)

Deprecated: Use GitMaterial.ProtoReflect.Descriptor instead.

func (*GitMaterial) GetCheckoutLocation

func (x *GitMaterial) GetCheckoutLocation() string

func (*GitMaterial) GetCheckoutMsgAny

func (x *GitMaterial) GetCheckoutMsgAny() string

func (*GitMaterial) GetCheckoutStatus

func (x *GitMaterial) GetCheckoutStatus() bool

func (*GitMaterial) GetDeleted

func (x *GitMaterial) GetDeleted() bool

func (*GitMaterial) GetFetchSubmodules

func (x *GitMaterial) GetFetchSubmodules() bool

func (*GitMaterial) GetFilterPattern

func (x *GitMaterial) GetFilterPattern() []string

func (*GitMaterial) GetGitProviderId

func (x *GitMaterial) GetGitProviderId() int64

func (*GitMaterial) GetId

func (x *GitMaterial) GetId() int64

func (*GitMaterial) GetName

func (x *GitMaterial) GetName() string

func (*GitMaterial) GetUrl

func (x *GitMaterial) GetUrl() string

func (*GitMaterial) ProtoMessage

func (*GitMaterial) ProtoMessage()

func (*GitMaterial) ProtoReflect

func (x *GitMaterial) ProtoReflect() protoreflect.Message

func (*GitMaterial) Reset

func (x *GitMaterial) Reset()

func (*GitMaterial) String

func (x *GitMaterial) String() string

type GitProvider

type GitProvider struct {
	Id            int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name          string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Url           string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
	UserName      string `protobuf:"bytes,4,opt,name=userName,proto3" json:"userName,omitempty"`
	Password      string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"`
	SshPrivateKey string `protobuf:"bytes,6,opt,name=sshPrivateKey,proto3" json:"sshPrivateKey,omitempty"`
	AccessToken   string `protobuf:"bytes,7,opt,name=accessToken,proto3" json:"accessToken,omitempty"`
	AuthMode      string `protobuf:"bytes,8,opt,name=authMode,proto3" json:"authMode,omitempty"`
	Active        bool   `protobuf:"varint,9,opt,name=active,proto3" json:"active,omitempty"`
	// contains filtered or unexported fields
}

func (*GitProvider) Descriptor deprecated

func (*GitProvider) Descriptor() ([]byte, []int)

Deprecated: Use GitProvider.ProtoReflect.Descriptor instead.

func (*GitProvider) GetAccessToken

func (x *GitProvider) GetAccessToken() string

func (*GitProvider) GetActive

func (x *GitProvider) GetActive() bool

func (*GitProvider) GetAuthMode

func (x *GitProvider) GetAuthMode() string

func (*GitProvider) GetId

func (x *GitProvider) GetId() int64

func (*GitProvider) GetName

func (x *GitProvider) GetName() string

func (*GitProvider) GetPassword

func (x *GitProvider) GetPassword() string

func (*GitProvider) GetSshPrivateKey

func (x *GitProvider) GetSshPrivateKey() string

func (*GitProvider) GetUrl

func (x *GitProvider) GetUrl() string

func (*GitProvider) GetUserName

func (x *GitProvider) GetUserName() string

func (*GitProvider) ProtoMessage

func (*GitProvider) ProtoMessage()

func (*GitProvider) ProtoReflect

func (x *GitProvider) ProtoReflect() protoreflect.Message

func (*GitProvider) Reset

func (x *GitProvider) Reset()

func (*GitProvider) String

func (x *GitProvider) String() string

type GitSensorServiceClient

type GitSensorServiceClient interface {
	// Saves Git credentials
	SaveGitProvider(ctx context.Context, in *GitProvider, opts ...grpc.CallOption) (*Empty, error)
	// Add Repo
	AddRepo(ctx context.Context, in *AddRepoRequest, opts ...grpc.CallOption) (*Empty, error)
	// Update Repo
	UpdateRepo(ctx context.Context, in *GitMaterial, opts ...grpc.CallOption) (*Empty, error)
	// Save CI pipeline material
	SavePipelineMaterial(ctx context.Context, in *SavePipelineMaterialRequest, opts ...grpc.CallOption) (*Empty, error)
	// Fetch SCM changes
	FetchChanges(ctx context.Context, in *FetchScmChangesRequest, opts ...grpc.CallOption) (*MaterialChangeResponse, error)
	// Get Head for pipeline materials
	GetHeadForPipelineMaterials(ctx context.Context, in *HeadRequest, opts ...grpc.CallOption) (*GetHeadForPipelineMaterialsResponse, error)
	// Get commit metadata
	GetCommitMetadata(ctx context.Context, in *CommitMetadataRequest, opts ...grpc.CallOption) (*GitCommit, error)
	// Get commit metadata for pipeline material
	GetCommitMetadataForPipelineMaterial(ctx context.Context, in *CommitMetadataRequest, opts ...grpc.CallOption) (*GitCommit, error)
	// Get commit info for Tag
	GetCommitInfoForTag(ctx context.Context, in *CommitMetadataRequest, opts ...grpc.CallOption) (*GitCommit, error)
	// Refresh git material
	RefreshGitMaterial(ctx context.Context, in *RefreshGitMaterialRequest, opts ...grpc.CallOption) (*RefreshGitMaterialResponse, error)
	// Reload all material
	ReloadAllMaterial(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error)
	// Reload a specific material
	ReloadMaterial(ctx context.Context, in *ReloadMaterialRequest, opts ...grpc.CallOption) (*GenericResponse, error)
	// Get changes in release
	GetChangesInRelease(ctx context.Context, in *ReleaseChangeRequest, opts ...grpc.CallOption) (*GitChanges, error)
	// Get webhook data
	GetWebhookData(ctx context.Context, in *WebhookDataRequest, opts ...grpc.CallOption) (*WebhookAndCiData, error)
	// Get all webhook event config for host
	GetAllWebhookEventConfigForHost(ctx context.Context, in *WebhookEventConfigRequest, opts ...grpc.CallOption) (*WebhookEventConfigResponse, error)
	// Get webhook event config
	GetWebhookEventConfig(ctx context.Context, in *WebhookEventConfigRequest, opts ...grpc.CallOption) (*WebhookEventConfig, error)
	// Get webhook payload data by pipeline material id
	GetWebhookPayloadDataForPipelineMaterialId(ctx context.Context, in *WebhookPayloadDataRequest, opts ...grpc.CallOption) (*WebhookPayloadDataResponse, error)
	// Get webhook payload data by pipeline material id with filter
	GetWebhookPayloadFilterDataForPipelineMaterialId(ctx context.Context, in *WebhookPayloadFilterDataRequest, opts ...grpc.CallOption) (*WebhookPayloadFilterDataResponse, error)
}

GitSensorServiceClient is the client API for GitSensorService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.golang.ir/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type GitSensorServiceServer

type GitSensorServiceServer interface {
	// Saves Git credentials
	SaveGitProvider(context.Context, *GitProvider) (*Empty, error)
	// Add Repo
	AddRepo(context.Context, *AddRepoRequest) (*Empty, error)
	// Update Repo
	UpdateRepo(context.Context, *GitMaterial) (*Empty, error)
	// Save CI pipeline material
	SavePipelineMaterial(context.Context, *SavePipelineMaterialRequest) (*Empty, error)
	// Fetch SCM changes
	FetchChanges(context.Context, *FetchScmChangesRequest) (*MaterialChangeResponse, error)
	// Get Head for pipeline materials
	GetHeadForPipelineMaterials(context.Context, *HeadRequest) (*GetHeadForPipelineMaterialsResponse, error)
	// Get commit metadata
	GetCommitMetadata(context.Context, *CommitMetadataRequest) (*GitCommit, error)
	// Get commit metadata for pipeline material
	GetCommitMetadataForPipelineMaterial(context.Context, *CommitMetadataRequest) (*GitCommit, error)
	// Get commit info for Tag
	GetCommitInfoForTag(context.Context, *CommitMetadataRequest) (*GitCommit, error)
	// Refresh git material
	RefreshGitMaterial(context.Context, *RefreshGitMaterialRequest) (*RefreshGitMaterialResponse, error)
	// Reload all material
	ReloadAllMaterial(context.Context, *Empty) (*Empty, error)
	// Reload a specific material
	ReloadMaterial(context.Context, *ReloadMaterialRequest) (*GenericResponse, error)
	// Get changes in release
	GetChangesInRelease(context.Context, *ReleaseChangeRequest) (*GitChanges, error)
	// Get webhook data
	GetWebhookData(context.Context, *WebhookDataRequest) (*WebhookAndCiData, error)
	// Get all webhook event config for host
	GetAllWebhookEventConfigForHost(context.Context, *WebhookEventConfigRequest) (*WebhookEventConfigResponse, error)
	// Get webhook event config
	GetWebhookEventConfig(context.Context, *WebhookEventConfigRequest) (*WebhookEventConfig, error)
	// Get webhook payload data by pipeline material id
	GetWebhookPayloadDataForPipelineMaterialId(context.Context, *WebhookPayloadDataRequest) (*WebhookPayloadDataResponse, error)
	// Get webhook payload data by pipeline material id with filter
	GetWebhookPayloadFilterDataForPipelineMaterialId(context.Context, *WebhookPayloadFilterDataRequest) (*WebhookPayloadFilterDataResponse, error)
	// contains filtered or unexported methods
}

GitSensorServiceServer is the server API for GitSensorService service. All implementations must embed UnimplementedGitSensorServiceServer for forward compatibility

type Hash

type Hash struct {
	Long  string `protobuf:"bytes,1,opt,name=Long,proto3" json:"Long,omitempty"`
	Short string `protobuf:"bytes,2,opt,name=Short,proto3" json:"Short,omitempty"`
	// contains filtered or unexported fields
}

func (*Hash) Descriptor deprecated

func (*Hash) Descriptor() ([]byte, []int)

Deprecated: Use Hash.ProtoReflect.Descriptor instead.

func (*Hash) GetLong

func (x *Hash) GetLong() string

func (*Hash) GetShort

func (x *Hash) GetShort() string

func (*Hash) ProtoMessage

func (*Hash) ProtoMessage()

func (*Hash) ProtoReflect

func (x *Hash) ProtoReflect() protoreflect.Message

func (*Hash) Reset

func (x *Hash) Reset()

func (*Hash) String

func (x *Hash) String() string

type HeadRequest

type HeadRequest struct {
	MaterialIds []int64 `protobuf:"varint,1,rep,packed,name=materialIds,proto3" json:"materialIds,omitempty"`
	// contains filtered or unexported fields
}

func (*HeadRequest) Descriptor deprecated

func (*HeadRequest) Descriptor() ([]byte, []int)

Deprecated: Use HeadRequest.ProtoReflect.Descriptor instead.

func (*HeadRequest) GetMaterialIds

func (x *HeadRequest) GetMaterialIds() []int64

func (*HeadRequest) ProtoMessage

func (*HeadRequest) ProtoMessage()

func (*HeadRequest) ProtoReflect

func (x *HeadRequest) ProtoReflect() protoreflect.Message

func (*HeadRequest) Reset

func (x *HeadRequest) Reset()

func (*HeadRequest) String

func (x *HeadRequest) String() string

type MaterialChangeResponse

type MaterialChangeResponse struct {
	Commits        []*GitCommit         `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"`
	LastFetchTime  *timestamp.Timestamp `protobuf:"bytes,2,opt,name=lastFetchTime,proto3" json:"lastFetchTime,omitempty"`
	IsRepoError    bool                 `protobuf:"varint,3,opt,name=isRepoError,proto3" json:"isRepoError,omitempty"`
	RepoErrorMsg   string               `protobuf:"bytes,4,opt,name=repoErrorMsg,proto3" json:"repoErrorMsg,omitempty"`
	IsBranchError  bool                 `protobuf:"varint,5,opt,name=isBranchError,proto3" json:"isBranchError,omitempty"`
	BranchErrorMsg string               `protobuf:"bytes,6,opt,name=branchErrorMsg,proto3" json:"branchErrorMsg,omitempty"`
	// contains filtered or unexported fields
}

func (*MaterialChangeResponse) Descriptor deprecated

func (*MaterialChangeResponse) Descriptor() ([]byte, []int)

Deprecated: Use MaterialChangeResponse.ProtoReflect.Descriptor instead.

func (*MaterialChangeResponse) GetBranchErrorMsg

func (x *MaterialChangeResponse) GetBranchErrorMsg() string

func (*MaterialChangeResponse) GetCommits

func (x *MaterialChangeResponse) GetCommits() []*GitCommit

func (*MaterialChangeResponse) GetIsBranchError

func (x *MaterialChangeResponse) GetIsBranchError() bool

func (*MaterialChangeResponse) GetIsRepoError

func (x *MaterialChangeResponse) GetIsRepoError() bool

func (*MaterialChangeResponse) GetLastFetchTime

func (x *MaterialChangeResponse) GetLastFetchTime() *timestamp.Timestamp

func (*MaterialChangeResponse) GetRepoErrorMsg

func (x *MaterialChangeResponse) GetRepoErrorMsg() string

func (*MaterialChangeResponse) ProtoMessage

func (*MaterialChangeResponse) ProtoMessage()

func (*MaterialChangeResponse) ProtoReflect

func (x *MaterialChangeResponse) ProtoReflect() protoreflect.Message

func (*MaterialChangeResponse) Reset

func (x *MaterialChangeResponse) Reset()

func (*MaterialChangeResponse) String

func (x *MaterialChangeResponse) String() string

type RefreshGitMaterialRequest

type RefreshGitMaterialRequest struct {
	GitMaterialId int64 `protobuf:"varint,1,opt,name=gitMaterialId,proto3" json:"gitMaterialId,omitempty"`
	// contains filtered or unexported fields
}

func (*RefreshGitMaterialRequest) Descriptor deprecated

func (*RefreshGitMaterialRequest) Descriptor() ([]byte, []int)

Deprecated: Use RefreshGitMaterialRequest.ProtoReflect.Descriptor instead.

func (*RefreshGitMaterialRequest) GetGitMaterialId

func (x *RefreshGitMaterialRequest) GetGitMaterialId() int64

func (*RefreshGitMaterialRequest) ProtoMessage

func (*RefreshGitMaterialRequest) ProtoMessage()

func (*RefreshGitMaterialRequest) ProtoReflect

func (*RefreshGitMaterialRequest) Reset

func (x *RefreshGitMaterialRequest) Reset()

func (*RefreshGitMaterialRequest) String

func (x *RefreshGitMaterialRequest) String() string

type RefreshGitMaterialResponse

type RefreshGitMaterialResponse struct {
	Message       string               `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	ErrorMsg      string               `protobuf:"bytes,2,opt,name=errorMsg,proto3" json:"errorMsg,omitempty"`
	LastFetchTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=lastFetchTime,proto3" json:"lastFetchTime,omitempty"`
	// contains filtered or unexported fields
}

func (*RefreshGitMaterialResponse) Descriptor deprecated

func (*RefreshGitMaterialResponse) Descriptor() ([]byte, []int)

Deprecated: Use RefreshGitMaterialResponse.ProtoReflect.Descriptor instead.

func (*RefreshGitMaterialResponse) GetErrorMsg

func (x *RefreshGitMaterialResponse) GetErrorMsg() string

func (*RefreshGitMaterialResponse) GetLastFetchTime

func (x *RefreshGitMaterialResponse) GetLastFetchTime() *timestamp.Timestamp

func (*RefreshGitMaterialResponse) GetMessage

func (x *RefreshGitMaterialResponse) GetMessage() string

func (*RefreshGitMaterialResponse) ProtoMessage

func (*RefreshGitMaterialResponse) ProtoMessage()

func (*RefreshGitMaterialResponse) ProtoReflect

func (*RefreshGitMaterialResponse) Reset

func (x *RefreshGitMaterialResponse) Reset()

func (*RefreshGitMaterialResponse) String

func (x *RefreshGitMaterialResponse) String() string

type ReleaseChangeRequest

type ReleaseChangeRequest struct {
	PipelineMaterialId int64  `protobuf:"varint,1,opt,name=pipelineMaterialId,proto3" json:"pipelineMaterialId,omitempty"`
	OldCommit          string `protobuf:"bytes,2,opt,name=oldCommit,proto3" json:"oldCommit,omitempty"`
	NewCommit          string `protobuf:"bytes,3,opt,name=newCommit,proto3" json:"newCommit,omitempty"`
	// contains filtered or unexported fields
}

func (*ReleaseChangeRequest) Descriptor deprecated

func (*ReleaseChangeRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReleaseChangeRequest.ProtoReflect.Descriptor instead.

func (*ReleaseChangeRequest) GetNewCommit

func (x *ReleaseChangeRequest) GetNewCommit() string

func (*ReleaseChangeRequest) GetOldCommit

func (x *ReleaseChangeRequest) GetOldCommit() string

func (*ReleaseChangeRequest) GetPipelineMaterialId

func (x *ReleaseChangeRequest) GetPipelineMaterialId() int64

func (*ReleaseChangeRequest) ProtoMessage

func (*ReleaseChangeRequest) ProtoMessage()

func (*ReleaseChangeRequest) ProtoReflect

func (x *ReleaseChangeRequest) ProtoReflect() protoreflect.Message

func (*ReleaseChangeRequest) Reset

func (x *ReleaseChangeRequest) Reset()

func (*ReleaseChangeRequest) String

func (x *ReleaseChangeRequest) String() string

type ReloadMaterialRequest

type ReloadMaterialRequest struct {
	MaterialId int64 `protobuf:"varint,1,opt,name=materialId,proto3" json:"materialId,omitempty"`
	// contains filtered or unexported fields
}

func (*ReloadMaterialRequest) Descriptor deprecated

func (*ReloadMaterialRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReloadMaterialRequest.ProtoReflect.Descriptor instead.

func (*ReloadMaterialRequest) GetMaterialId

func (x *ReloadMaterialRequest) GetMaterialId() int64

func (*ReloadMaterialRequest) ProtoMessage

func (*ReloadMaterialRequest) ProtoMessage()

func (*ReloadMaterialRequest) ProtoReflect

func (x *ReloadMaterialRequest) ProtoReflect() protoreflect.Message

func (*ReloadMaterialRequest) Reset

func (x *ReloadMaterialRequest) Reset()

func (*ReloadMaterialRequest) String

func (x *ReloadMaterialRequest) String() string

type SavePipelineMaterialRequest

type SavePipelineMaterialRequest struct {
	CiPipelineMaterials []*CiPipelineMaterial `protobuf:"bytes,1,rep,name=ciPipelineMaterials,proto3" json:"ciPipelineMaterials,omitempty"`
	// contains filtered or unexported fields
}

func (*SavePipelineMaterialRequest) Descriptor deprecated

func (*SavePipelineMaterialRequest) Descriptor() ([]byte, []int)

Deprecated: Use SavePipelineMaterialRequest.ProtoReflect.Descriptor instead.

func (*SavePipelineMaterialRequest) GetCiPipelineMaterials

func (x *SavePipelineMaterialRequest) GetCiPipelineMaterials() []*CiPipelineMaterial

func (*SavePipelineMaterialRequest) ProtoMessage

func (*SavePipelineMaterialRequest) ProtoMessage()

func (*SavePipelineMaterialRequest) ProtoReflect

func (*SavePipelineMaterialRequest) Reset

func (x *SavePipelineMaterialRequest) Reset()

func (*SavePipelineMaterialRequest) String

func (x *SavePipelineMaterialRequest) String() string

type Tag

type Tag struct {
	Name string               `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	Date *timestamp.Timestamp `protobuf:"bytes,2,opt,name=Date,proto3" json:"Date,omitempty"`
	// contains filtered or unexported fields
}

func (*Tag) Descriptor deprecated

func (*Tag) Descriptor() ([]byte, []int)

Deprecated: Use Tag.ProtoReflect.Descriptor instead.

func (*Tag) GetDate

func (x *Tag) GetDate() *timestamp.Timestamp

func (*Tag) GetName

func (x *Tag) GetName() string

func (*Tag) ProtoMessage

func (*Tag) ProtoMessage()

func (*Tag) ProtoReflect

func (x *Tag) ProtoReflect() protoreflect.Message

func (*Tag) Reset

func (x *Tag) Reset()

func (*Tag) String

func (x *Tag) String() string

type Tree

type Tree struct {
	Long  string `protobuf:"bytes,1,opt,name=Long,proto3" json:"Long,omitempty"`
	Short string `protobuf:"bytes,2,opt,name=Short,proto3" json:"Short,omitempty"`
	// contains filtered or unexported fields
}

func (*Tree) Descriptor deprecated

func (*Tree) Descriptor() ([]byte, []int)

Deprecated: Use Tree.ProtoReflect.Descriptor instead.

func (*Tree) GetLong

func (x *Tree) GetLong() string

func (*Tree) GetShort

func (x *Tree) GetShort() string

func (*Tree) ProtoMessage

func (*Tree) ProtoMessage()

func (*Tree) ProtoReflect

func (x *Tree) ProtoReflect() protoreflect.Message

func (*Tree) Reset

func (x *Tree) Reset()

func (*Tree) String

func (x *Tree) String() string

type UnimplementedGitSensorServiceServer

type UnimplementedGitSensorServiceServer struct {
}

UnimplementedGitSensorServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedGitSensorServiceServer) AddRepo

func (UnimplementedGitSensorServiceServer) FetchChanges

func (UnimplementedGitSensorServiceServer) GetAllWebhookEventConfigForHost

func (UnimplementedGitSensorServiceServer) GetChangesInRelease

func (UnimplementedGitSensorServiceServer) GetCommitInfoForTag

func (UnimplementedGitSensorServiceServer) GetCommitMetadata

func (UnimplementedGitSensorServiceServer) GetCommitMetadataForPipelineMaterial

func (UnimplementedGitSensorServiceServer) GetCommitMetadataForPipelineMaterial(context.Context, *CommitMetadataRequest) (*GitCommit, error)

func (UnimplementedGitSensorServiceServer) GetHeadForPipelineMaterials

func (UnimplementedGitSensorServiceServer) GetWebhookData

func (UnimplementedGitSensorServiceServer) GetWebhookEventConfig

func (UnimplementedGitSensorServiceServer) GetWebhookPayloadDataForPipelineMaterialId

func (UnimplementedGitSensorServiceServer) GetWebhookPayloadFilterDataForPipelineMaterialId

func (UnimplementedGitSensorServiceServer) RefreshGitMaterial

func (UnimplementedGitSensorServiceServer) ReloadAllMaterial

func (UnimplementedGitSensorServiceServer) ReloadMaterial

func (UnimplementedGitSensorServiceServer) SaveGitProvider

func (UnimplementedGitSensorServiceServer) SavePipelineMaterial

func (UnimplementedGitSensorServiceServer) UpdateRepo

type UnsafeGitSensorServiceServer

type UnsafeGitSensorServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeGitSensorServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GitSensorServiceServer will result in compilation errors.

type WebhookAndCiData

type WebhookAndCiData struct {
	ExtraEnvironmentVariables map[string]string `` /* 191-byte string literal not displayed */
	WebhookData               *WebhookData      `protobuf:"bytes,2,opt,name=webhookData,proto3" json:"webhookData,omitempty"`
	// contains filtered or unexported fields
}

func (*WebhookAndCiData) Descriptor deprecated

func (*WebhookAndCiData) Descriptor() ([]byte, []int)

Deprecated: Use WebhookAndCiData.ProtoReflect.Descriptor instead.

func (*WebhookAndCiData) GetExtraEnvironmentVariables

func (x *WebhookAndCiData) GetExtraEnvironmentVariables() map[string]string

func (*WebhookAndCiData) GetWebhookData

func (x *WebhookAndCiData) GetWebhookData() *WebhookData

func (*WebhookAndCiData) ProtoMessage

func (*WebhookAndCiData) ProtoMessage()

func (*WebhookAndCiData) ProtoReflect

func (x *WebhookAndCiData) ProtoReflect() protoreflect.Message

func (*WebhookAndCiData) Reset

func (x *WebhookAndCiData) Reset()

func (*WebhookAndCiData) String

func (x *WebhookAndCiData) String() string

type WebhookData

type WebhookData struct {
	Id              int64             `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	EventActionType string            `protobuf:"bytes,2,opt,name=eventActionType,proto3" json:"eventActionType,omitempty"`
	Data            map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*WebhookData) Descriptor deprecated

func (*WebhookData) Descriptor() ([]byte, []int)

Deprecated: Use WebhookData.ProtoReflect.Descriptor instead.

func (*WebhookData) GetData

func (x *WebhookData) GetData() map[string]string

func (*WebhookData) GetEventActionType

func (x *WebhookData) GetEventActionType() string

func (*WebhookData) GetId

func (x *WebhookData) GetId() int64

func (*WebhookData) ProtoMessage

func (*WebhookData) ProtoMessage()

func (*WebhookData) ProtoReflect

func (x *WebhookData) ProtoReflect() protoreflect.Message

func (*WebhookData) Reset

func (x *WebhookData) Reset()

func (*WebhookData) String

func (x *WebhookData) String() string

type WebhookDataRequest

type WebhookDataRequest struct {
	Id                   int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	CiPipelineMaterialId int64 `protobuf:"varint,2,opt,name=ciPipelineMaterialId,proto3" json:"ciPipelineMaterialId,omitempty"`
	// contains filtered or unexported fields
}

func (*WebhookDataRequest) Descriptor deprecated

func (*WebhookDataRequest) Descriptor() ([]byte, []int)

Deprecated: Use WebhookDataRequest.ProtoReflect.Descriptor instead.

func (*WebhookDataRequest) GetCiPipelineMaterialId

func (x *WebhookDataRequest) GetCiPipelineMaterialId() int64

func (*WebhookDataRequest) GetId

func (x *WebhookDataRequest) GetId() int64

func (*WebhookDataRequest) ProtoMessage

func (*WebhookDataRequest) ProtoMessage()

func (*WebhookDataRequest) ProtoReflect

func (x *WebhookDataRequest) ProtoReflect() protoreflect.Message

func (*WebhookDataRequest) Reset

func (x *WebhookDataRequest) Reset()

func (*WebhookDataRequest) String

func (x *WebhookDataRequest) String() string

type WebhookEventConfig

type WebhookEventConfig struct {
	Id            int64                    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	GitHostId     int64                    `protobuf:"varint,2,opt,name=gitHostId,proto3" json:"gitHostId,omitempty"`
	Name          string                   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	EventTypesCsv string                   `protobuf:"bytes,4,opt,name=eventTypesCsv,proto3" json:"eventTypesCsv,omitempty"`
	ActionType    string                   `protobuf:"bytes,5,opt,name=actionType,proto3" json:"actionType,omitempty"`
	IsActive      bool                     `protobuf:"varint,6,opt,name=isActive,proto3" json:"isActive,omitempty"`
	CreatedOn     *timestamp.Timestamp     `protobuf:"bytes,7,opt,name=createdOn,proto3" json:"createdOn,omitempty"`
	UpdatedOn     *timestamp.Timestamp     `protobuf:"bytes,8,opt,name=updatedOn,proto3" json:"updatedOn,omitempty"`
	Selectors     []*WebhookEventSelectors `protobuf:"bytes,9,rep,name=selectors,proto3" json:"selectors,omitempty"`
	// contains filtered or unexported fields
}

func (*WebhookEventConfig) Descriptor deprecated

func (*WebhookEventConfig) Descriptor() ([]byte, []int)

Deprecated: Use WebhookEventConfig.ProtoReflect.Descriptor instead.

func (*WebhookEventConfig) GetActionType

func (x *WebhookEventConfig) GetActionType() string

func (*WebhookEventConfig) GetCreatedOn

func (x *WebhookEventConfig) GetCreatedOn() *timestamp.Timestamp

func (*WebhookEventConfig) GetEventTypesCsv

func (x *WebhookEventConfig) GetEventTypesCsv() string

func (*WebhookEventConfig) GetGitHostId

func (x *WebhookEventConfig) GetGitHostId() int64

func (*WebhookEventConfig) GetId

func (x *WebhookEventConfig) GetId() int64

func (*WebhookEventConfig) GetIsActive

func (x *WebhookEventConfig) GetIsActive() bool

func (*WebhookEventConfig) GetName

func (x *WebhookEventConfig) GetName() string

func (*WebhookEventConfig) GetSelectors

func (x *WebhookEventConfig) GetSelectors() []*WebhookEventSelectors

func (*WebhookEventConfig) GetUpdatedOn

func (x *WebhookEventConfig) GetUpdatedOn() *timestamp.Timestamp

func (*WebhookEventConfig) ProtoMessage

func (*WebhookEventConfig) ProtoMessage()

func (*WebhookEventConfig) ProtoReflect

func (x *WebhookEventConfig) ProtoReflect() protoreflect.Message

func (*WebhookEventConfig) Reset

func (x *WebhookEventConfig) Reset()

func (*WebhookEventConfig) String

func (x *WebhookEventConfig) String() string

type WebhookEventConfigRequest

type WebhookEventConfigRequest struct {
	GitHostId int64 `protobuf:"varint,1,opt,name=gitHostId,proto3" json:"gitHostId,omitempty"`
	EventId   int64 `protobuf:"varint,2,opt,name=eventId,proto3" json:"eventId,omitempty"`
	// contains filtered or unexported fields
}

func (*WebhookEventConfigRequest) Descriptor deprecated

func (*WebhookEventConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use WebhookEventConfigRequest.ProtoReflect.Descriptor instead.

func (*WebhookEventConfigRequest) GetEventId

func (x *WebhookEventConfigRequest) GetEventId() int64

func (*WebhookEventConfigRequest) GetGitHostId

func (x *WebhookEventConfigRequest) GetGitHostId() int64

func (*WebhookEventConfigRequest) ProtoMessage

func (*WebhookEventConfigRequest) ProtoMessage()

func (*WebhookEventConfigRequest) ProtoReflect

func (*WebhookEventConfigRequest) Reset

func (x *WebhookEventConfigRequest) Reset()

func (*WebhookEventConfigRequest) String

func (x *WebhookEventConfigRequest) String() string

type WebhookEventConfigResponse

type WebhookEventConfigResponse struct {
	WebhookEventConfig []*WebhookEventConfig `protobuf:"bytes,1,rep,name=webhookEventConfig,proto3" json:"webhookEventConfig,omitempty"`
	// contains filtered or unexported fields
}

func (*WebhookEventConfigResponse) Descriptor deprecated

func (*WebhookEventConfigResponse) Descriptor() ([]byte, []int)

Deprecated: Use WebhookEventConfigResponse.ProtoReflect.Descriptor instead.

func (*WebhookEventConfigResponse) GetWebhookEventConfig

func (x *WebhookEventConfigResponse) GetWebhookEventConfig() []*WebhookEventConfig

func (*WebhookEventConfigResponse) ProtoMessage

func (*WebhookEventConfigResponse) ProtoMessage()

func (*WebhookEventConfigResponse) ProtoReflect

func (*WebhookEventConfigResponse) Reset

func (x *WebhookEventConfigResponse) Reset()

func (*WebhookEventConfigResponse) String

func (x *WebhookEventConfigResponse) String() string

type WebhookEventSelectors

type WebhookEventSelectors struct {
	Id               int64                `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	EventId          int64                `protobuf:"varint,2,opt,name=eventId,proto3" json:"eventId,omitempty"`
	Name             string               `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	ToShow           bool                 `protobuf:"varint,4,opt,name=toShow,proto3" json:"toShow,omitempty"`
	ToShowInCiFilter bool                 `protobuf:"varint,5,opt,name=toShowInCiFilter,proto3" json:"toShowInCiFilter,omitempty"`
	FixValue         string               `protobuf:"bytes,6,opt,name=fixValue,proto3" json:"fixValue,omitempty"`
	PossibleValues   string               `protobuf:"bytes,7,opt,name=possibleValues,proto3" json:"possibleValues,omitempty"`
	IsActive         bool                 `protobuf:"varint,8,opt,name=isActive,proto3" json:"isActive,omitempty"`
	CreatedOn        *timestamp.Timestamp `protobuf:"bytes,9,opt,name=createdOn,proto3" json:"createdOn,omitempty"`
	UpdatedOn        *timestamp.Timestamp `protobuf:"bytes,10,opt,name=updatedOn,proto3" json:"updatedOn,omitempty"`
	// contains filtered or unexported fields
}

func (*WebhookEventSelectors) Descriptor deprecated

func (*WebhookEventSelectors) Descriptor() ([]byte, []int)

Deprecated: Use WebhookEventSelectors.ProtoReflect.Descriptor instead.

func (*WebhookEventSelectors) GetCreatedOn

func (x *WebhookEventSelectors) GetCreatedOn() *timestamp.Timestamp

func (*WebhookEventSelectors) GetEventId

func (x *WebhookEventSelectors) GetEventId() int64

func (*WebhookEventSelectors) GetFixValue

func (x *WebhookEventSelectors) GetFixValue() string

func (*WebhookEventSelectors) GetId

func (x *WebhookEventSelectors) GetId() int64

func (*WebhookEventSelectors) GetIsActive

func (x *WebhookEventSelectors) GetIsActive() bool

func (*WebhookEventSelectors) GetName

func (x *WebhookEventSelectors) GetName() string

func (*WebhookEventSelectors) GetPossibleValues

func (x *WebhookEventSelectors) GetPossibleValues() string

func (*WebhookEventSelectors) GetToShow

func (x *WebhookEventSelectors) GetToShow() bool

func (*WebhookEventSelectors) GetToShowInCiFilter

func (x *WebhookEventSelectors) GetToShowInCiFilter() bool

func (*WebhookEventSelectors) GetUpdatedOn

func (x *WebhookEventSelectors) GetUpdatedOn() *timestamp.Timestamp

func (*WebhookEventSelectors) ProtoMessage

func (*WebhookEventSelectors) ProtoMessage()

func (*WebhookEventSelectors) ProtoReflect

func (x *WebhookEventSelectors) ProtoReflect() protoreflect.Message

func (*WebhookEventSelectors) Reset

func (x *WebhookEventSelectors) Reset()

func (*WebhookEventSelectors) String

func (x *WebhookEventSelectors) String() string

type WebhookPayload

type WebhookPayload struct {
	ParsedDataId        int64                `protobuf:"varint,1,opt,name=parsedDataId,proto3" json:"parsedDataId,omitempty"`
	EventTime           *timestamp.Timestamp `protobuf:"bytes,2,opt,name=eventTime,proto3" json:"eventTime,omitempty"`
	MatchedFiltersCount int64                `protobuf:"varint,3,opt,name=matchedFiltersCount,proto3" json:"matchedFiltersCount,omitempty"`
	FailedFiltersCount  int64                `protobuf:"varint,4,opt,name=failedFiltersCount,proto3" json:"failedFiltersCount,omitempty"`
	MatchedFilters      bool                 `protobuf:"varint,5,opt,name=matchedFilters,proto3" json:"matchedFilters,omitempty"`
	// contains filtered or unexported fields
}

func (*WebhookPayload) Descriptor deprecated

func (*WebhookPayload) Descriptor() ([]byte, []int)

Deprecated: Use WebhookPayload.ProtoReflect.Descriptor instead.

func (*WebhookPayload) GetEventTime

func (x *WebhookPayload) GetEventTime() *timestamp.Timestamp

func (*WebhookPayload) GetFailedFiltersCount

func (x *WebhookPayload) GetFailedFiltersCount() int64

func (*WebhookPayload) GetMatchedFilters

func (x *WebhookPayload) GetMatchedFilters() bool

func (*WebhookPayload) GetMatchedFiltersCount

func (x *WebhookPayload) GetMatchedFiltersCount() int64

func (*WebhookPayload) GetParsedDataId

func (x *WebhookPayload) GetParsedDataId() int64

func (*WebhookPayload) ProtoMessage

func (*WebhookPayload) ProtoMessage()

func (*WebhookPayload) ProtoReflect

func (x *WebhookPayload) ProtoReflect() protoreflect.Message

func (*WebhookPayload) Reset

func (x *WebhookPayload) Reset()

func (*WebhookPayload) String

func (x *WebhookPayload) String() string

type WebhookPayloadDataRequest

type WebhookPayloadDataRequest struct {
	CiPipelineMaterialId int64  `protobuf:"varint,1,opt,name=ciPipelineMaterialId,proto3" json:"ciPipelineMaterialId,omitempty"`
	Limit                int64  `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset               int64  `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
	EventTimeSortOrder   string `protobuf:"bytes,4,opt,name=eventTimeSortOrder,proto3" json:"eventTimeSortOrder,omitempty"`
	// contains filtered or unexported fields
}

func (*WebhookPayloadDataRequest) Descriptor deprecated

func (*WebhookPayloadDataRequest) Descriptor() ([]byte, []int)

Deprecated: Use WebhookPayloadDataRequest.ProtoReflect.Descriptor instead.

func (*WebhookPayloadDataRequest) GetCiPipelineMaterialId

func (x *WebhookPayloadDataRequest) GetCiPipelineMaterialId() int64

func (*WebhookPayloadDataRequest) GetEventTimeSortOrder

func (x *WebhookPayloadDataRequest) GetEventTimeSortOrder() string

func (*WebhookPayloadDataRequest) GetLimit

func (x *WebhookPayloadDataRequest) GetLimit() int64

func (*WebhookPayloadDataRequest) GetOffset

func (x *WebhookPayloadDataRequest) GetOffset() int64

func (*WebhookPayloadDataRequest) ProtoMessage

func (*WebhookPayloadDataRequest) ProtoMessage()

func (*WebhookPayloadDataRequest) ProtoReflect

func (*WebhookPayloadDataRequest) Reset

func (x *WebhookPayloadDataRequest) Reset()

func (*WebhookPayloadDataRequest) String

func (x *WebhookPayloadDataRequest) String() string

type WebhookPayloadDataResponse

type WebhookPayloadDataResponse struct {
	Filters       map[string]string `` /* 155-byte string literal not displayed */
	RepositoryUrl string            `protobuf:"bytes,2,opt,name=repositoryUrl,proto3" json:"repositoryUrl,omitempty"`
	Payloads      []*WebhookPayload `protobuf:"bytes,3,rep,name=payloads,proto3" json:"payloads,omitempty"`
	// contains filtered or unexported fields
}

func (*WebhookPayloadDataResponse) Descriptor deprecated

func (*WebhookPayloadDataResponse) Descriptor() ([]byte, []int)

Deprecated: Use WebhookPayloadDataResponse.ProtoReflect.Descriptor instead.

func (*WebhookPayloadDataResponse) GetFilters

func (x *WebhookPayloadDataResponse) GetFilters() map[string]string

func (*WebhookPayloadDataResponse) GetPayloads

func (x *WebhookPayloadDataResponse) GetPayloads() []*WebhookPayload

func (*WebhookPayloadDataResponse) GetRepositoryUrl

func (x *WebhookPayloadDataResponse) GetRepositoryUrl() string

func (*WebhookPayloadDataResponse) ProtoMessage

func (*WebhookPayloadDataResponse) ProtoMessage()

func (*WebhookPayloadDataResponse) ProtoReflect

func (*WebhookPayloadDataResponse) Reset

func (x *WebhookPayloadDataResponse) Reset()

func (*WebhookPayloadDataResponse) String

func (x *WebhookPayloadDataResponse) String() string

type WebhookPayloadFilterDataRequest

type WebhookPayloadFilterDataRequest struct {
	CiPipelineMaterialId int64 `protobuf:"varint,1,opt,name=ciPipelineMaterialId,proto3" json:"ciPipelineMaterialId,omitempty"`
	ParsedDataId         int64 `protobuf:"varint,2,opt,name=parsedDataId,proto3" json:"parsedDataId,omitempty"`
	// contains filtered or unexported fields
}

func (*WebhookPayloadFilterDataRequest) Descriptor deprecated

func (*WebhookPayloadFilterDataRequest) Descriptor() ([]byte, []int)

Deprecated: Use WebhookPayloadFilterDataRequest.ProtoReflect.Descriptor instead.

func (*WebhookPayloadFilterDataRequest) GetCiPipelineMaterialId

func (x *WebhookPayloadFilterDataRequest) GetCiPipelineMaterialId() int64

func (*WebhookPayloadFilterDataRequest) GetParsedDataId

func (x *WebhookPayloadFilterDataRequest) GetParsedDataId() int64

func (*WebhookPayloadFilterDataRequest) ProtoMessage

func (*WebhookPayloadFilterDataRequest) ProtoMessage()

func (*WebhookPayloadFilterDataRequest) ProtoReflect

func (*WebhookPayloadFilterDataRequest) Reset

func (*WebhookPayloadFilterDataRequest) String

type WebhookPayloadFilterDataResponse

type WebhookPayloadFilterDataResponse struct {
	PayloadId     int64                                       `protobuf:"varint,1,opt,name=payloadId,proto3" json:"payloadId,omitempty"`
	SelectorsData []*WebhookPayloadFilterDataSelectorResponse `protobuf:"bytes,2,rep,name=selectorsData,proto3" json:"selectorsData,omitempty"`
	PayloadJson   string                                      `protobuf:"bytes,3,opt,name=payloadJson,proto3" json:"payloadJson,omitempty"`
	// contains filtered or unexported fields
}

func (*WebhookPayloadFilterDataResponse) Descriptor deprecated

func (*WebhookPayloadFilterDataResponse) Descriptor() ([]byte, []int)

Deprecated: Use WebhookPayloadFilterDataResponse.ProtoReflect.Descriptor instead.

func (*WebhookPayloadFilterDataResponse) GetPayloadId

func (x *WebhookPayloadFilterDataResponse) GetPayloadId() int64

func (*WebhookPayloadFilterDataResponse) GetPayloadJson

func (x *WebhookPayloadFilterDataResponse) GetPayloadJson() string

func (*WebhookPayloadFilterDataResponse) GetSelectorsData

func (*WebhookPayloadFilterDataResponse) ProtoMessage

func (*WebhookPayloadFilterDataResponse) ProtoMessage()

func (*WebhookPayloadFilterDataResponse) ProtoReflect

func (*WebhookPayloadFilterDataResponse) Reset

func (*WebhookPayloadFilterDataResponse) String

type WebhookPayloadFilterDataSelectorResponse

type WebhookPayloadFilterDataSelectorResponse struct {
	SelectorName      string `protobuf:"bytes,1,opt,name=selectorName,proto3" json:"selectorName,omitempty"`
	SelectorCondition string `protobuf:"bytes,2,opt,name=selectorCondition,proto3" json:"selectorCondition,omitempty"`
	SelectorValue     string `protobuf:"bytes,3,opt,name=selectorValue,proto3" json:"selectorValue,omitempty"`
	Match             bool   `protobuf:"varint,4,opt,name=match,proto3" json:"match,omitempty"`
	// contains filtered or unexported fields
}

func (*WebhookPayloadFilterDataSelectorResponse) Descriptor deprecated

func (*WebhookPayloadFilterDataSelectorResponse) Descriptor() ([]byte, []int)

Deprecated: Use WebhookPayloadFilterDataSelectorResponse.ProtoReflect.Descriptor instead.

func (*WebhookPayloadFilterDataSelectorResponse) GetMatch

func (*WebhookPayloadFilterDataSelectorResponse) GetSelectorCondition

func (x *WebhookPayloadFilterDataSelectorResponse) GetSelectorCondition() string

func (*WebhookPayloadFilterDataSelectorResponse) GetSelectorName

func (x *WebhookPayloadFilterDataSelectorResponse) GetSelectorName() string

func (*WebhookPayloadFilterDataSelectorResponse) GetSelectorValue

func (x *WebhookPayloadFilterDataSelectorResponse) GetSelectorValue() string

func (*WebhookPayloadFilterDataSelectorResponse) ProtoMessage

func (*WebhookPayloadFilterDataSelectorResponse) ProtoReflect

func (*WebhookPayloadFilterDataSelectorResponse) Reset

func (*WebhookPayloadFilterDataSelectorResponse) String

Jump to

Keyboard shortcuts

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