gitops_deploy_git_api

package
v0.0.0-...-6d3c127 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DeployGitApi_SetPlanGit_FullMethodName     = "/gitops_deploy_git_api.DeployGitApi/setPlanGit"
	DeployGitApi_CheckPlanGit_FullMethodName   = "/gitops_deploy_git_api.DeployGitApi/checkPlanGit"
	DeployGitApi_SyncPlanGit_FullMethodName    = "/gitops_deploy_git_api.DeployGitApi/syncPlanGit"
	DeployGitApi_ListBranch_FullMethodName     = "/gitops_deploy_git_api.DeployGitApi/listBranch"
	DeployGitApi_ListTag_FullMethodName        = "/gitops_deploy_git_api.DeployGitApi/listTag"
	DeployGitApi_ListCommit_FullMethodName     = "/gitops_deploy_git_api.DeployGitApi/listCommit"
	DeployGitApi_Checkout_FullMethodName       = "/gitops_deploy_git_api.DeployGitApi/checkout"
	DeployGitApi_ListWorkDir_FullMethodName    = "/gitops_deploy_git_api.DeployGitApi/listWorkDir"
	DeployGitApi_GetFileContent_FullMethodName = "/gitops_deploy_git_api.DeployGitApi/getFileContent"
)

Variables

View Source
var (
	SetPlanGitResponse_CODE_name = map[int32]string{
		0: "CODE_OK",
		1: "CODE_WRONG_ACCESS_TOKEN",
		2: "CODE_NO_PERMISSION",
		3: "CODE_NO_PLAN",
		4: "CODE_WRONG_SSH_KEY",
	}
	SetPlanGitResponse_CODE_value = map[string]int32{
		"CODE_OK":                 0,
		"CODE_WRONG_ACCESS_TOKEN": 1,
		"CODE_NO_PERMISSION":      2,
		"CODE_NO_PLAN":            3,
		"CODE_WRONG_SSH_KEY":      4,
	}
)

Enum value maps for SetPlanGitResponse_CODE.

View Source
var (
	CheckPlanGitResponse_CODE_name = map[int32]string{
		0: "CODE_OK",
		1: "CODE_WRONG_ACCESS_TOKEN",
		2: "CODE_NO_PERMISSION",
		3: "CODE_NO_PLAN",
	}
	CheckPlanGitResponse_CODE_value = map[string]int32{
		"CODE_OK":                 0,
		"CODE_WRONG_ACCESS_TOKEN": 1,
		"CODE_NO_PERMISSION":      2,
		"CODE_NO_PLAN":            3,
	}
)

Enum value maps for CheckPlanGitResponse_CODE.

View Source
var (
	SyncPlanGitResponse_CODE_name = map[int32]string{
		0: "CODE_OK",
		1: "CODE_WRONG_ACCESS_TOKEN",
		2: "CODE_NO_PERMISSION",
		3: "CODE_NO_PLAN",
		4: "CODE_NO_GIT_CONFIG",
		5: "CODE_GIT_PULL_ERROR",
	}
	SyncPlanGitResponse_CODE_value = map[string]int32{
		"CODE_OK":                 0,
		"CODE_WRONG_ACCESS_TOKEN": 1,
		"CODE_NO_PERMISSION":      2,
		"CODE_NO_PLAN":            3,
		"CODE_NO_GIT_CONFIG":      4,
		"CODE_GIT_PULL_ERROR":     5,
	}
)

Enum value maps for SyncPlanGitResponse_CODE.

View Source
var (
	ListBranchResponse_CODE_name = map[int32]string{
		0: "CODE_OK",
		1: "CODE_WRONG_ACCESS_TOKEN",
		2: "CODE_NO_PERMISSION",
		3: "CODE_NO_PLAN",
		4: "CODE_NO_GIT_CONFIG",
		5: "CODE_NO_GIT_CLONE",
	}
	ListBranchResponse_CODE_value = map[string]int32{
		"CODE_OK":                 0,
		"CODE_WRONG_ACCESS_TOKEN": 1,
		"CODE_NO_PERMISSION":      2,
		"CODE_NO_PLAN":            3,
		"CODE_NO_GIT_CONFIG":      4,
		"CODE_NO_GIT_CLONE":       5,
	}
)

Enum value maps for ListBranchResponse_CODE.

View Source
var (
	ListTagResponse_CODE_name = map[int32]string{
		0: "CODE_OK",
		1: "CODE_WRONG_ACCESS_TOKEN",
		2: "CODE_NO_PERMISSION",
		3: "CODE_NO_PLAN",
		4: "CODE_NO_GIT_CONFIG",
		5: "CODE_NO_GIT_CLONE",
	}
	ListTagResponse_CODE_value = map[string]int32{
		"CODE_OK":                 0,
		"CODE_WRONG_ACCESS_TOKEN": 1,
		"CODE_NO_PERMISSION":      2,
		"CODE_NO_PLAN":            3,
		"CODE_NO_GIT_CONFIG":      4,
		"CODE_NO_GIT_CLONE":       5,
	}
)

Enum value maps for ListTagResponse_CODE.

View Source
var (
	ListCommitResponse_CODE_name = map[int32]string{
		0: "CODE_OK",
		1: "CODE_WRONG_ACCESS_TOKEN",
		2: "CODE_NO_PERMISSION",
		3: "CODE_NO_PLAN",
		4: "CODE_NO_GIT_CONFIG",
		5: "CODE_NO_GIT_CLONE",
	}
	ListCommitResponse_CODE_value = map[string]int32{
		"CODE_OK":                 0,
		"CODE_WRONG_ACCESS_TOKEN": 1,
		"CODE_NO_PERMISSION":      2,
		"CODE_NO_PLAN":            3,
		"CODE_NO_GIT_CONFIG":      4,
		"CODE_NO_GIT_CLONE":       5,
	}
)

Enum value maps for ListCommitResponse_CODE.

View Source
var (
	CheckoutResponse_CODE_name = map[int32]string{
		0: "CODE_OK",
		1: "CODE_WRONG_ACCESS_TOKEN",
		2: "CODE_NO_PERMISSION",
		3: "CODE_NO_PLAN",
		4: "CODE_NO_GIT_CONFIG",
		5: "CODE_NO_GIT_CLONE",
	}
	CheckoutResponse_CODE_value = map[string]int32{
		"CODE_OK":                 0,
		"CODE_WRONG_ACCESS_TOKEN": 1,
		"CODE_NO_PERMISSION":      2,
		"CODE_NO_PLAN":            3,
		"CODE_NO_GIT_CONFIG":      4,
		"CODE_NO_GIT_CLONE":       5,
	}
)

Enum value maps for CheckoutResponse_CODE.

View Source
var (
	ListWorkDirResponse_CODE_name = map[int32]string{
		0: "CODE_OK",
		1: "CODE_WRONG_ACCESS_TOKEN",
		2: "CODE_NO_PERMISSION",
		3: "CODE_NO_PLAN",
		4: "CODE_NO_GIT_CONFIG",
		5: "CODE_NO_GIT_CLONE",
	}
	ListWorkDirResponse_CODE_value = map[string]int32{
		"CODE_OK":                 0,
		"CODE_WRONG_ACCESS_TOKEN": 1,
		"CODE_NO_PERMISSION":      2,
		"CODE_NO_PLAN":            3,
		"CODE_NO_GIT_CONFIG":      4,
		"CODE_NO_GIT_CLONE":       5,
	}
)

Enum value maps for ListWorkDirResponse_CODE.

View Source
var (
	GetFileContentResponse_CODE_name = map[int32]string{
		0: "CODE_OK",
		1: "CODE_WRONG_ACCESS_TOKEN",
		2: "CODE_NO_PERMISSION",
		3: "CODE_NO_PLAN",
		4: "CODE_NO_GIT_CONFIG",
		5: "CODE_NO_GIT_CLONE",
		6: "CODE_NO_HOST",
	}
	GetFileContentResponse_CODE_value = map[string]int32{
		"CODE_OK":                 0,
		"CODE_WRONG_ACCESS_TOKEN": 1,
		"CODE_NO_PERMISSION":      2,
		"CODE_NO_PLAN":            3,
		"CODE_NO_GIT_CONFIG":      4,
		"CODE_NO_GIT_CLONE":       5,
		"CODE_NO_HOST":            6,
	}
)

Enum value maps for GetFileContentResponse_CODE.

View Source
var DeployGitApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "gitops_deploy_git_api.DeployGitApi",
	HandlerType: (*DeployGitApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "setPlanGit",
			Handler:    _DeployGitApi_SetPlanGit_Handler,
		},
		{
			MethodName: "checkPlanGit",
			Handler:    _DeployGitApi_CheckPlanGit_Handler,
		},
		{
			MethodName: "syncPlanGit",
			Handler:    _DeployGitApi_SyncPlanGit_Handler,
		},
		{
			MethodName: "listBranch",
			Handler:    _DeployGitApi_ListBranch_Handler,
		},
		{
			MethodName: "listTag",
			Handler:    _DeployGitApi_ListTag_Handler,
		},
		{
			MethodName: "listCommit",
			Handler:    _DeployGitApi_ListCommit_Handler,
		},
		{
			MethodName: "checkout",
			Handler:    _DeployGitApi_Checkout_Handler,
		},
		{
			MethodName: "listWorkDir",
			Handler:    _DeployGitApi_ListWorkDir_Handler,
		},
		{
			MethodName: "getFileContent",
			Handler:    _DeployGitApi_GetFileContent_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/deploy_git_api.proto",
}

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

View Source
var File_proto_deploy_git_api_proto protoreflect.FileDescriptor

Functions

func RegisterDeployGitApiServer

func RegisterDeployGitApiServer(s grpc.ServiceRegistrar, srv DeployGitApiServer)

Types

type CheckPlanGitRequest

type CheckPlanGitRequest struct {
	AccessToken  string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"`
	DeployPlanId string `protobuf:"bytes,2,opt,name=deployPlanId,proto3" json:"deployPlanId,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckPlanGitRequest) Descriptor deprecated

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

Deprecated: Use CheckPlanGitRequest.ProtoReflect.Descriptor instead.

func (*CheckPlanGitRequest) GetAccessToken

func (x *CheckPlanGitRequest) GetAccessToken() string

func (*CheckPlanGitRequest) GetDeployPlanId

func (x *CheckPlanGitRequest) GetDeployPlanId() string

func (*CheckPlanGitRequest) ProtoMessage

func (*CheckPlanGitRequest) ProtoMessage()

func (*CheckPlanGitRequest) ProtoReflect

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

func (*CheckPlanGitRequest) Reset

func (x *CheckPlanGitRequest) Reset()

func (*CheckPlanGitRequest) String

func (x *CheckPlanGitRequest) String() string

type CheckPlanGitResponse

type CheckPlanGitResponse struct {
	Code         CheckPlanGitResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=gitops_deploy_git_api.CheckPlanGitResponse_CODE" json:"code,omitempty"`
	ErrMsg       string                    `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	HasGitConfig bool                      `protobuf:"varint,3,opt,name=hasGitConfig,proto3" json:"hasGitConfig,omitempty"`
	HasGitClone  bool                      `protobuf:"varint,4,opt,name=hasGitClone,proto3" json:"hasGitClone,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckPlanGitResponse) Descriptor deprecated

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

Deprecated: Use CheckPlanGitResponse.ProtoReflect.Descriptor instead.

func (*CheckPlanGitResponse) GetCode

func (*CheckPlanGitResponse) GetErrMsg

func (x *CheckPlanGitResponse) GetErrMsg() string

func (*CheckPlanGitResponse) GetHasGitClone

func (x *CheckPlanGitResponse) GetHasGitClone() bool

func (*CheckPlanGitResponse) GetHasGitConfig

func (x *CheckPlanGitResponse) GetHasGitConfig() bool

func (*CheckPlanGitResponse) ProtoMessage

func (*CheckPlanGitResponse) ProtoMessage()

func (*CheckPlanGitResponse) ProtoReflect

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

func (*CheckPlanGitResponse) Reset

func (x *CheckPlanGitResponse) Reset()

func (*CheckPlanGitResponse) String

func (x *CheckPlanGitResponse) String() string

type CheckPlanGitResponse_CODE

type CheckPlanGitResponse_CODE int32
const (
	CheckPlanGitResponse_CODE_OK                 CheckPlanGitResponse_CODE = 0
	CheckPlanGitResponse_CODE_WRONG_ACCESS_TOKEN CheckPlanGitResponse_CODE = 1
	CheckPlanGitResponse_CODE_NO_PERMISSION      CheckPlanGitResponse_CODE = 2
	CheckPlanGitResponse_CODE_NO_PLAN            CheckPlanGitResponse_CODE = 3
)

func (CheckPlanGitResponse_CODE) Descriptor

func (CheckPlanGitResponse_CODE) Enum

func (CheckPlanGitResponse_CODE) EnumDescriptor deprecated

func (CheckPlanGitResponse_CODE) EnumDescriptor() ([]byte, []int)

Deprecated: Use CheckPlanGitResponse_CODE.Descriptor instead.

func (CheckPlanGitResponse_CODE) Number

func (CheckPlanGitResponse_CODE) String

func (x CheckPlanGitResponse_CODE) String() string

func (CheckPlanGitResponse_CODE) Type

type CheckoutRequest

type CheckoutRequest struct {
	AccessToken  string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"`
	DeployPlanId string `protobuf:"bytes,2,opt,name=deployPlanId,proto3" json:"deployPlanId,omitempty"`
	Target       string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` //分支,tag或commit id
	// contains filtered or unexported fields
}

func (*CheckoutRequest) Descriptor deprecated

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

Deprecated: Use CheckoutRequest.ProtoReflect.Descriptor instead.

func (*CheckoutRequest) GetAccessToken

func (x *CheckoutRequest) GetAccessToken() string

func (*CheckoutRequest) GetDeployPlanId

func (x *CheckoutRequest) GetDeployPlanId() string

func (*CheckoutRequest) GetTarget

func (x *CheckoutRequest) GetTarget() string

func (*CheckoutRequest) ProtoMessage

func (*CheckoutRequest) ProtoMessage()

func (*CheckoutRequest) ProtoReflect

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

func (*CheckoutRequest) Reset

func (x *CheckoutRequest) Reset()

func (*CheckoutRequest) String

func (x *CheckoutRequest) String() string

type CheckoutResponse

type CheckoutResponse struct {
	Code   CheckoutResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=gitops_deploy_git_api.CheckoutResponse_CODE" json:"code,omitempty"`
	ErrMsg string                `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckoutResponse) Descriptor deprecated

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

Deprecated: Use CheckoutResponse.ProtoReflect.Descriptor instead.

func (*CheckoutResponse) GetCode

func (*CheckoutResponse) GetErrMsg

func (x *CheckoutResponse) GetErrMsg() string

func (*CheckoutResponse) ProtoMessage

func (*CheckoutResponse) ProtoMessage()

func (*CheckoutResponse) ProtoReflect

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

func (*CheckoutResponse) Reset

func (x *CheckoutResponse) Reset()

func (*CheckoutResponse) String

func (x *CheckoutResponse) String() string

type CheckoutResponse_CODE

type CheckoutResponse_CODE int32
const (
	CheckoutResponse_CODE_OK                 CheckoutResponse_CODE = 0
	CheckoutResponse_CODE_WRONG_ACCESS_TOKEN CheckoutResponse_CODE = 1
	CheckoutResponse_CODE_NO_PERMISSION      CheckoutResponse_CODE = 2
	CheckoutResponse_CODE_NO_PLAN            CheckoutResponse_CODE = 3
	CheckoutResponse_CODE_NO_GIT_CONFIG      CheckoutResponse_CODE = 4
	CheckoutResponse_CODE_NO_GIT_CLONE       CheckoutResponse_CODE = 5
)

func (CheckoutResponse_CODE) Descriptor

func (CheckoutResponse_CODE) Enum

func (CheckoutResponse_CODE) EnumDescriptor deprecated

func (CheckoutResponse_CODE) EnumDescriptor() ([]byte, []int)

Deprecated: Use CheckoutResponse_CODE.Descriptor instead.

func (CheckoutResponse_CODE) Number

func (CheckoutResponse_CODE) String

func (x CheckoutResponse_CODE) String() string

func (CheckoutResponse_CODE) Type

type CommitInfo

type CommitInfo struct {
	Sha            string `protobuf:"bytes,1,opt,name=sha,proto3" json:"sha,omitempty"`
	CommitUserName string `protobuf:"bytes,2,opt,name=commitUserName,proto3" json:"commitUserName,omitempty"`
	CommitEmail    string `protobuf:"bytes,3,opt,name=commitEmail,proto3" json:"commitEmail,omitempty"`
	Content        string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
	TimeStamp      int64  `protobuf:"varint,5,opt,name=timeStamp,proto3" json:"timeStamp,omitempty"`
	// contains filtered or unexported fields
}

func (*CommitInfo) Descriptor deprecated

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

Deprecated: Use CommitInfo.ProtoReflect.Descriptor instead.

func (*CommitInfo) GetCommitEmail

func (x *CommitInfo) GetCommitEmail() string

func (*CommitInfo) GetCommitUserName

func (x *CommitInfo) GetCommitUserName() string

func (*CommitInfo) GetContent

func (x *CommitInfo) GetContent() string

func (*CommitInfo) GetSha

func (x *CommitInfo) GetSha() string

func (*CommitInfo) GetTimeStamp

func (x *CommitInfo) GetTimeStamp() int64

func (*CommitInfo) ProtoMessage

func (*CommitInfo) ProtoMessage()

func (*CommitInfo) ProtoReflect

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

func (*CommitInfo) Reset

func (x *CommitInfo) Reset()

func (*CommitInfo) String

func (x *CommitInfo) String() string

type DeployGitApiClient

type DeployGitApiClient interface {
	// 设置Git仓库
	SetPlanGit(ctx context.Context, in *SetPlanGitRequest, opts ...grpc.CallOption) (*SetPlanGitResponse, error)
	// 检查仓库是否克隆
	CheckPlanGit(ctx context.Context, in *CheckPlanGitRequest, opts ...grpc.CallOption) (*CheckPlanGitResponse, error)
	// 同步Git仓库
	SyncPlanGit(ctx context.Context, in *SyncPlanGitRequest, opts ...grpc.CallOption) (*SyncPlanGitResponse, error)
	// 列出分支
	ListBranch(ctx context.Context, in *ListBranchRequest, opts ...grpc.CallOption) (*ListBranchResponse, error)
	// 列出Tag
	ListTag(ctx context.Context, in *ListTagRequest, opts ...grpc.CallOption) (*ListTagResponse, error)
	// 列出Commit
	ListCommit(ctx context.Context, in *ListCommitRequest, opts ...grpc.CallOption) (*ListCommitResponse, error)
	// 切换目标(分支,Tag或commit)
	Checkout(ctx context.Context, in *CheckoutRequest, opts ...grpc.CallOption) (*CheckoutResponse, error)
	// 列出目录文件
	ListWorkDir(ctx context.Context, in *ListWorkDirRequest, opts ...grpc.CallOption) (*ListWorkDirResponse, error)
	// 查看目录文件
	GetFileContent(ctx context.Context, in *GetFileContentRequest, opts ...grpc.CallOption) (*GetFileContentResponse, error)
}

DeployGitApiClient is the client API for DeployGitApi service.

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

func NewDeployGitApiClient

func NewDeployGitApiClient(cc grpc.ClientConnInterface) DeployGitApiClient

type DeployGitApiServer

type DeployGitApiServer interface {
	// 设置Git仓库
	SetPlanGit(context.Context, *SetPlanGitRequest) (*SetPlanGitResponse, error)
	// 检查仓库是否克隆
	CheckPlanGit(context.Context, *CheckPlanGitRequest) (*CheckPlanGitResponse, error)
	// 同步Git仓库
	SyncPlanGit(context.Context, *SyncPlanGitRequest) (*SyncPlanGitResponse, error)
	// 列出分支
	ListBranch(context.Context, *ListBranchRequest) (*ListBranchResponse, error)
	// 列出Tag
	ListTag(context.Context, *ListTagRequest) (*ListTagResponse, error)
	// 列出Commit
	ListCommit(context.Context, *ListCommitRequest) (*ListCommitResponse, error)
	// 切换目标(分支,Tag或commit)
	Checkout(context.Context, *CheckoutRequest) (*CheckoutResponse, error)
	// 列出目录文件
	ListWorkDir(context.Context, *ListWorkDirRequest) (*ListWorkDirResponse, error)
	// 查看目录文件
	GetFileContent(context.Context, *GetFileContentRequest) (*GetFileContentResponse, error)
	// contains filtered or unexported methods
}

DeployGitApiServer is the server API for DeployGitApi service. All implementations must embed UnimplementedDeployGitApiServer for forward compatibility

type GetFileContentRequest

type GetFileContentRequest struct {
	AccessToken  string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"`
	DeployPlanId string `protobuf:"bytes,2,opt,name=deployPlanId,proto3" json:"deployPlanId,omitempty"`
	FilePath     string `protobuf:"bytes,3,opt,name=filePath,proto3" json:"filePath,omitempty"`
	HostId       string `protobuf:"bytes,4,opt,name=hostId,proto3" json:"hostId,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFileContentRequest) Descriptor deprecated

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

Deprecated: Use GetFileContentRequest.ProtoReflect.Descriptor instead.

func (*GetFileContentRequest) GetAccessToken

func (x *GetFileContentRequest) GetAccessToken() string

func (*GetFileContentRequest) GetDeployPlanId

func (x *GetFileContentRequest) GetDeployPlanId() string

func (*GetFileContentRequest) GetFilePath

func (x *GetFileContentRequest) GetFilePath() string

func (*GetFileContentRequest) GetHostId

func (x *GetFileContentRequest) GetHostId() string

func (*GetFileContentRequest) ProtoMessage

func (*GetFileContentRequest) ProtoMessage()

func (*GetFileContentRequest) ProtoReflect

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

func (*GetFileContentRequest) Reset

func (x *GetFileContentRequest) Reset()

func (*GetFileContentRequest) String

func (x *GetFileContentRequest) String() string

type GetFileContentResponse

type GetFileContentResponse struct {
	Code    GetFileContentResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=gitops_deploy_git_api.GetFileContentResponse_CODE" json:"code,omitempty"`
	ErrMsg  string                      `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	Content string                      `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFileContentResponse) Descriptor deprecated

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

Deprecated: Use GetFileContentResponse.ProtoReflect.Descriptor instead.

func (*GetFileContentResponse) GetCode

func (*GetFileContentResponse) GetContent

func (x *GetFileContentResponse) GetContent() string

func (*GetFileContentResponse) GetErrMsg

func (x *GetFileContentResponse) GetErrMsg() string

func (*GetFileContentResponse) ProtoMessage

func (*GetFileContentResponse) ProtoMessage()

func (*GetFileContentResponse) ProtoReflect

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

func (*GetFileContentResponse) Reset

func (x *GetFileContentResponse) Reset()

func (*GetFileContentResponse) String

func (x *GetFileContentResponse) String() string

type GetFileContentResponse_CODE

type GetFileContentResponse_CODE int32
const (
	GetFileContentResponse_CODE_OK                 GetFileContentResponse_CODE = 0
	GetFileContentResponse_CODE_WRONG_ACCESS_TOKEN GetFileContentResponse_CODE = 1
	GetFileContentResponse_CODE_NO_PERMISSION      GetFileContentResponse_CODE = 2
	GetFileContentResponse_CODE_NO_PLAN            GetFileContentResponse_CODE = 3
	GetFileContentResponse_CODE_NO_GIT_CONFIG      GetFileContentResponse_CODE = 4
	GetFileContentResponse_CODE_NO_GIT_CLONE       GetFileContentResponse_CODE = 5
	GetFileContentResponse_CODE_NO_HOST            GetFileContentResponse_CODE = 6
)

func (GetFileContentResponse_CODE) Descriptor

func (GetFileContentResponse_CODE) Enum

func (GetFileContentResponse_CODE) EnumDescriptor deprecated

func (GetFileContentResponse_CODE) EnumDescriptor() ([]byte, []int)

Deprecated: Use GetFileContentResponse_CODE.Descriptor instead.

func (GetFileContentResponse_CODE) Number

func (GetFileContentResponse_CODE) String

func (GetFileContentResponse_CODE) Type

type ListBranchRequest

type ListBranchRequest struct {
	AccessToken  string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"`
	DeployPlanId string `protobuf:"bytes,2,opt,name=deployPlanId,proto3" json:"deployPlanId,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBranchRequest) Descriptor deprecated

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

Deprecated: Use ListBranchRequest.ProtoReflect.Descriptor instead.

func (*ListBranchRequest) GetAccessToken

func (x *ListBranchRequest) GetAccessToken() string

func (*ListBranchRequest) GetDeployPlanId

func (x *ListBranchRequest) GetDeployPlanId() string

func (*ListBranchRequest) ProtoMessage

func (*ListBranchRequest) ProtoMessage()

func (*ListBranchRequest) ProtoReflect

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

func (*ListBranchRequest) Reset

func (x *ListBranchRequest) Reset()

func (*ListBranchRequest) String

func (x *ListBranchRequest) String() string

type ListBranchResponse

type ListBranchResponse struct {
	Code       ListBranchResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=gitops_deploy_git_api.ListBranchResponse_CODE" json:"code,omitempty"`
	ErrMsg     string                  `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	BranchList []string                `protobuf:"bytes,3,rep,name=branchList,proto3" json:"branchList,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBranchResponse) Descriptor deprecated

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

Deprecated: Use ListBranchResponse.ProtoReflect.Descriptor instead.

func (*ListBranchResponse) GetBranchList

func (x *ListBranchResponse) GetBranchList() []string

func (*ListBranchResponse) GetCode

func (*ListBranchResponse) GetErrMsg

func (x *ListBranchResponse) GetErrMsg() string

func (*ListBranchResponse) ProtoMessage

func (*ListBranchResponse) ProtoMessage()

func (*ListBranchResponse) ProtoReflect

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

func (*ListBranchResponse) Reset

func (x *ListBranchResponse) Reset()

func (*ListBranchResponse) String

func (x *ListBranchResponse) String() string

type ListBranchResponse_CODE

type ListBranchResponse_CODE int32
const (
	ListBranchResponse_CODE_OK                 ListBranchResponse_CODE = 0
	ListBranchResponse_CODE_WRONG_ACCESS_TOKEN ListBranchResponse_CODE = 1
	ListBranchResponse_CODE_NO_PERMISSION      ListBranchResponse_CODE = 2
	ListBranchResponse_CODE_NO_PLAN            ListBranchResponse_CODE = 3
	ListBranchResponse_CODE_NO_GIT_CONFIG      ListBranchResponse_CODE = 4
	ListBranchResponse_CODE_NO_GIT_CLONE       ListBranchResponse_CODE = 5
)

func (ListBranchResponse_CODE) Descriptor

func (ListBranchResponse_CODE) Enum

func (ListBranchResponse_CODE) EnumDescriptor deprecated

func (ListBranchResponse_CODE) EnumDescriptor() ([]byte, []int)

Deprecated: Use ListBranchResponse_CODE.Descriptor instead.

func (ListBranchResponse_CODE) Number

func (ListBranchResponse_CODE) String

func (x ListBranchResponse_CODE) String() string

func (ListBranchResponse_CODE) Type

type ListCommitRequest

type ListCommitRequest struct {
	AccessToken  string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"`
	DeployPlanId string `protobuf:"bytes,2,opt,name=deployPlanId,proto3" json:"deployPlanId,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCommitRequest) Descriptor deprecated

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

Deprecated: Use ListCommitRequest.ProtoReflect.Descriptor instead.

func (*ListCommitRequest) GetAccessToken

func (x *ListCommitRequest) GetAccessToken() string

func (*ListCommitRequest) GetDeployPlanId

func (x *ListCommitRequest) GetDeployPlanId() string

func (*ListCommitRequest) ProtoMessage

func (*ListCommitRequest) ProtoMessage()

func (*ListCommitRequest) ProtoReflect

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

func (*ListCommitRequest) Reset

func (x *ListCommitRequest) Reset()

func (*ListCommitRequest) String

func (x *ListCommitRequest) String() string

type ListCommitResponse

type ListCommitResponse struct {
	Code       ListCommitResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=gitops_deploy_git_api.ListCommitResponse_CODE" json:"code,omitempty"`
	ErrMsg     string                  `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	CommitList []*CommitInfo           `protobuf:"bytes,3,rep,name=commitList,proto3" json:"commitList,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCommitResponse) Descriptor deprecated

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

Deprecated: Use ListCommitResponse.ProtoReflect.Descriptor instead.

func (*ListCommitResponse) GetCode

func (*ListCommitResponse) GetCommitList

func (x *ListCommitResponse) GetCommitList() []*CommitInfo

func (*ListCommitResponse) GetErrMsg

func (x *ListCommitResponse) GetErrMsg() string

func (*ListCommitResponse) ProtoMessage

func (*ListCommitResponse) ProtoMessage()

func (*ListCommitResponse) ProtoReflect

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

func (*ListCommitResponse) Reset

func (x *ListCommitResponse) Reset()

func (*ListCommitResponse) String

func (x *ListCommitResponse) String() string

type ListCommitResponse_CODE

type ListCommitResponse_CODE int32
const (
	ListCommitResponse_CODE_OK                 ListCommitResponse_CODE = 0
	ListCommitResponse_CODE_WRONG_ACCESS_TOKEN ListCommitResponse_CODE = 1
	ListCommitResponse_CODE_NO_PERMISSION      ListCommitResponse_CODE = 2
	ListCommitResponse_CODE_NO_PLAN            ListCommitResponse_CODE = 3
	ListCommitResponse_CODE_NO_GIT_CONFIG      ListCommitResponse_CODE = 4
	ListCommitResponse_CODE_NO_GIT_CLONE       ListCommitResponse_CODE = 5
)

func (ListCommitResponse_CODE) Descriptor

func (ListCommitResponse_CODE) Enum

func (ListCommitResponse_CODE) EnumDescriptor deprecated

func (ListCommitResponse_CODE) EnumDescriptor() ([]byte, []int)

Deprecated: Use ListCommitResponse_CODE.Descriptor instead.

func (ListCommitResponse_CODE) Number

func (ListCommitResponse_CODE) String

func (x ListCommitResponse_CODE) String() string

func (ListCommitResponse_CODE) Type

type ListTagRequest

type ListTagRequest struct {
	AccessToken  string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"`
	DeployPlanId string `protobuf:"bytes,2,opt,name=deployPlanId,proto3" json:"deployPlanId,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTagRequest) Descriptor deprecated

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

Deprecated: Use ListTagRequest.ProtoReflect.Descriptor instead.

func (*ListTagRequest) GetAccessToken

func (x *ListTagRequest) GetAccessToken() string

func (*ListTagRequest) GetDeployPlanId

func (x *ListTagRequest) GetDeployPlanId() string

func (*ListTagRequest) ProtoMessage

func (*ListTagRequest) ProtoMessage()

func (*ListTagRequest) ProtoReflect

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

func (*ListTagRequest) Reset

func (x *ListTagRequest) Reset()

func (*ListTagRequest) String

func (x *ListTagRequest) String() string

type ListTagResponse

type ListTagResponse struct {
	Code    ListTagResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=gitops_deploy_git_api.ListTagResponse_CODE" json:"code,omitempty"`
	ErrMsg  string               `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	TagList []string             `protobuf:"bytes,3,rep,name=tagList,proto3" json:"tagList,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTagResponse) Descriptor deprecated

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

Deprecated: Use ListTagResponse.ProtoReflect.Descriptor instead.

func (*ListTagResponse) GetCode

func (*ListTagResponse) GetErrMsg

func (x *ListTagResponse) GetErrMsg() string

func (*ListTagResponse) GetTagList

func (x *ListTagResponse) GetTagList() []string

func (*ListTagResponse) ProtoMessage

func (*ListTagResponse) ProtoMessage()

func (*ListTagResponse) ProtoReflect

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

func (*ListTagResponse) Reset

func (x *ListTagResponse) Reset()

func (*ListTagResponse) String

func (x *ListTagResponse) String() string

type ListTagResponse_CODE

type ListTagResponse_CODE int32
const (
	ListTagResponse_CODE_OK                 ListTagResponse_CODE = 0
	ListTagResponse_CODE_WRONG_ACCESS_TOKEN ListTagResponse_CODE = 1
	ListTagResponse_CODE_NO_PERMISSION      ListTagResponse_CODE = 2
	ListTagResponse_CODE_NO_PLAN            ListTagResponse_CODE = 3
	ListTagResponse_CODE_NO_GIT_CONFIG      ListTagResponse_CODE = 4
	ListTagResponse_CODE_NO_GIT_CLONE       ListTagResponse_CODE = 5
)

func (ListTagResponse_CODE) Descriptor

func (ListTagResponse_CODE) Enum

func (ListTagResponse_CODE) EnumDescriptor deprecated

func (ListTagResponse_CODE) EnumDescriptor() ([]byte, []int)

Deprecated: Use ListTagResponse_CODE.Descriptor instead.

func (ListTagResponse_CODE) Number

func (ListTagResponse_CODE) String

func (x ListTagResponse_CODE) String() string

func (ListTagResponse_CODE) Type

type ListWorkDirRequest

type ListWorkDirRequest struct {
	AccessToken  string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"`
	DeployPlanId string `protobuf:"bytes,2,opt,name=deployPlanId,proto3" json:"deployPlanId,omitempty"`
	BaseDir      string `protobuf:"bytes,3,opt,name=baseDir,proto3" json:"baseDir,omitempty"`
	// contains filtered or unexported fields
}

func (*ListWorkDirRequest) Descriptor deprecated

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

Deprecated: Use ListWorkDirRequest.ProtoReflect.Descriptor instead.

func (*ListWorkDirRequest) GetAccessToken

func (x *ListWorkDirRequest) GetAccessToken() string

func (*ListWorkDirRequest) GetBaseDir

func (x *ListWorkDirRequest) GetBaseDir() string

func (*ListWorkDirRequest) GetDeployPlanId

func (x *ListWorkDirRequest) GetDeployPlanId() string

func (*ListWorkDirRequest) ProtoMessage

func (*ListWorkDirRequest) ProtoMessage()

func (*ListWorkDirRequest) ProtoReflect

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

func (*ListWorkDirRequest) Reset

func (x *ListWorkDirRequest) Reset()

func (*ListWorkDirRequest) String

func (x *ListWorkDirRequest) String() string

type ListWorkDirResponse

type ListWorkDirResponse struct {
	Code         ListWorkDirResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=gitops_deploy_git_api.ListWorkDirResponse_CODE" json:"code,omitempty"`
	ErrMsg       string                   `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	PathInfoList []*PathInfo              `protobuf:"bytes,3,rep,name=pathInfoList,proto3" json:"pathInfoList,omitempty"`
	// contains filtered or unexported fields
}

func (*ListWorkDirResponse) Descriptor deprecated

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

Deprecated: Use ListWorkDirResponse.ProtoReflect.Descriptor instead.

func (*ListWorkDirResponse) GetCode

func (*ListWorkDirResponse) GetErrMsg

func (x *ListWorkDirResponse) GetErrMsg() string

func (*ListWorkDirResponse) GetPathInfoList

func (x *ListWorkDirResponse) GetPathInfoList() []*PathInfo

func (*ListWorkDirResponse) ProtoMessage

func (*ListWorkDirResponse) ProtoMessage()

func (*ListWorkDirResponse) ProtoReflect

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

func (*ListWorkDirResponse) Reset

func (x *ListWorkDirResponse) Reset()

func (*ListWorkDirResponse) String

func (x *ListWorkDirResponse) String() string

type ListWorkDirResponse_CODE

type ListWorkDirResponse_CODE int32
const (
	ListWorkDirResponse_CODE_OK                 ListWorkDirResponse_CODE = 0
	ListWorkDirResponse_CODE_WRONG_ACCESS_TOKEN ListWorkDirResponse_CODE = 1
	ListWorkDirResponse_CODE_NO_PERMISSION      ListWorkDirResponse_CODE = 2
	ListWorkDirResponse_CODE_NO_PLAN            ListWorkDirResponse_CODE = 3
	ListWorkDirResponse_CODE_NO_GIT_CONFIG      ListWorkDirResponse_CODE = 4
	ListWorkDirResponse_CODE_NO_GIT_CLONE       ListWorkDirResponse_CODE = 5
)

func (ListWorkDirResponse_CODE) Descriptor

func (ListWorkDirResponse_CODE) Enum

func (ListWorkDirResponse_CODE) EnumDescriptor deprecated

func (ListWorkDirResponse_CODE) EnumDescriptor() ([]byte, []int)

Deprecated: Use ListWorkDirResponse_CODE.Descriptor instead.

func (ListWorkDirResponse_CODE) Number

func (ListWorkDirResponse_CODE) String

func (x ListWorkDirResponse_CODE) String() string

func (ListWorkDirResponse_CODE) Type

type PathInfo

type PathInfo struct {
	Name     string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	FullName string `protobuf:"bytes,2,opt,name=fullName,proto3" json:"fullName,omitempty"`
	Dir      bool   `protobuf:"varint,3,opt,name=dir,proto3" json:"dir,omitempty"`
	// contains filtered or unexported fields
}

func (*PathInfo) Descriptor deprecated

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

Deprecated: Use PathInfo.ProtoReflect.Descriptor instead.

func (*PathInfo) GetDir

func (x *PathInfo) GetDir() bool

func (*PathInfo) GetFullName

func (x *PathInfo) GetFullName() string

func (*PathInfo) GetName

func (x *PathInfo) GetName() string

func (*PathInfo) ProtoMessage

func (*PathInfo) ProtoMessage()

func (*PathInfo) ProtoReflect

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

func (*PathInfo) Reset

func (x *PathInfo) Reset()

func (*PathInfo) String

func (x *PathInfo) String() string

type SetPlanGitRequest

type SetPlanGitRequest struct {
	AccessToken  string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"`
	DeployPlanId string `protobuf:"bytes,2,opt,name=deployPlanId,proto3" json:"deployPlanId,omitempty"`
	GitUrl       string `protobuf:"bytes,3,opt,name=gitUrl,proto3" json:"gitUrl,omitempty"`
	GitUserName  string `protobuf:"bytes,4,opt,name=gitUserName,proto3" json:"gitUserName,omitempty"`
	GitPassword  string `protobuf:"bytes,5,opt,name=gitPassword,proto3" json:"gitPassword,omitempty"`
	GitSshKey    string `protobuf:"bytes,6,opt,name=gitSshKey,proto3" json:"gitSshKey,omitempty"`
	// contains filtered or unexported fields
}

func (*SetPlanGitRequest) Descriptor deprecated

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

Deprecated: Use SetPlanGitRequest.ProtoReflect.Descriptor instead.

func (*SetPlanGitRequest) GetAccessToken

func (x *SetPlanGitRequest) GetAccessToken() string

func (*SetPlanGitRequest) GetDeployPlanId

func (x *SetPlanGitRequest) GetDeployPlanId() string

func (*SetPlanGitRequest) GetGitPassword

func (x *SetPlanGitRequest) GetGitPassword() string

func (*SetPlanGitRequest) GetGitSshKey

func (x *SetPlanGitRequest) GetGitSshKey() string

func (*SetPlanGitRequest) GetGitUrl

func (x *SetPlanGitRequest) GetGitUrl() string

func (*SetPlanGitRequest) GetGitUserName

func (x *SetPlanGitRequest) GetGitUserName() string

func (*SetPlanGitRequest) ProtoMessage

func (*SetPlanGitRequest) ProtoMessage()

func (*SetPlanGitRequest) ProtoReflect

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

func (*SetPlanGitRequest) Reset

func (x *SetPlanGitRequest) Reset()

func (*SetPlanGitRequest) String

func (x *SetPlanGitRequest) String() string

type SetPlanGitResponse

type SetPlanGitResponse struct {
	Code   SetPlanGitResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=gitops_deploy_git_api.SetPlanGitResponse_CODE" json:"code,omitempty"`
	ErrMsg string                  `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	// contains filtered or unexported fields
}

func (*SetPlanGitResponse) Descriptor deprecated

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

Deprecated: Use SetPlanGitResponse.ProtoReflect.Descriptor instead.

func (*SetPlanGitResponse) GetCode

func (*SetPlanGitResponse) GetErrMsg

func (x *SetPlanGitResponse) GetErrMsg() string

func (*SetPlanGitResponse) ProtoMessage

func (*SetPlanGitResponse) ProtoMessage()

func (*SetPlanGitResponse) ProtoReflect

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

func (*SetPlanGitResponse) Reset

func (x *SetPlanGitResponse) Reset()

func (*SetPlanGitResponse) String

func (x *SetPlanGitResponse) String() string

type SetPlanGitResponse_CODE

type SetPlanGitResponse_CODE int32
const (
	SetPlanGitResponse_CODE_OK                 SetPlanGitResponse_CODE = 0
	SetPlanGitResponse_CODE_WRONG_ACCESS_TOKEN SetPlanGitResponse_CODE = 1
	SetPlanGitResponse_CODE_NO_PERMISSION      SetPlanGitResponse_CODE = 2
	SetPlanGitResponse_CODE_NO_PLAN            SetPlanGitResponse_CODE = 3
	SetPlanGitResponse_CODE_WRONG_SSH_KEY      SetPlanGitResponse_CODE = 4
)

func (SetPlanGitResponse_CODE) Descriptor

func (SetPlanGitResponse_CODE) Enum

func (SetPlanGitResponse_CODE) EnumDescriptor deprecated

func (SetPlanGitResponse_CODE) EnumDescriptor() ([]byte, []int)

Deprecated: Use SetPlanGitResponse_CODE.Descriptor instead.

func (SetPlanGitResponse_CODE) Number

func (SetPlanGitResponse_CODE) String

func (x SetPlanGitResponse_CODE) String() string

func (SetPlanGitResponse_CODE) Type

type SyncPlanGitRequest

type SyncPlanGitRequest struct {
	AccessToken  string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"`
	DeployPlanId string `protobuf:"bytes,2,opt,name=deployPlanId,proto3" json:"deployPlanId,omitempty"`
	// contains filtered or unexported fields
}

func (*SyncPlanGitRequest) Descriptor deprecated

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

Deprecated: Use SyncPlanGitRequest.ProtoReflect.Descriptor instead.

func (*SyncPlanGitRequest) GetAccessToken

func (x *SyncPlanGitRequest) GetAccessToken() string

func (*SyncPlanGitRequest) GetDeployPlanId

func (x *SyncPlanGitRequest) GetDeployPlanId() string

func (*SyncPlanGitRequest) ProtoMessage

func (*SyncPlanGitRequest) ProtoMessage()

func (*SyncPlanGitRequest) ProtoReflect

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

func (*SyncPlanGitRequest) Reset

func (x *SyncPlanGitRequest) Reset()

func (*SyncPlanGitRequest) String

func (x *SyncPlanGitRequest) String() string

type SyncPlanGitResponse

type SyncPlanGitResponse struct {
	Code   SyncPlanGitResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=gitops_deploy_git_api.SyncPlanGitResponse_CODE" json:"code,omitempty"`
	ErrMsg string                   `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	// contains filtered or unexported fields
}

func (*SyncPlanGitResponse) Descriptor deprecated

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

Deprecated: Use SyncPlanGitResponse.ProtoReflect.Descriptor instead.

func (*SyncPlanGitResponse) GetCode

func (*SyncPlanGitResponse) GetErrMsg

func (x *SyncPlanGitResponse) GetErrMsg() string

func (*SyncPlanGitResponse) ProtoMessage

func (*SyncPlanGitResponse) ProtoMessage()

func (*SyncPlanGitResponse) ProtoReflect

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

func (*SyncPlanGitResponse) Reset

func (x *SyncPlanGitResponse) Reset()

func (*SyncPlanGitResponse) String

func (x *SyncPlanGitResponse) String() string

type SyncPlanGitResponse_CODE

type SyncPlanGitResponse_CODE int32
const (
	SyncPlanGitResponse_CODE_OK                 SyncPlanGitResponse_CODE = 0
	SyncPlanGitResponse_CODE_WRONG_ACCESS_TOKEN SyncPlanGitResponse_CODE = 1
	SyncPlanGitResponse_CODE_NO_PERMISSION      SyncPlanGitResponse_CODE = 2
	SyncPlanGitResponse_CODE_NO_PLAN            SyncPlanGitResponse_CODE = 3
	SyncPlanGitResponse_CODE_NO_GIT_CONFIG      SyncPlanGitResponse_CODE = 4
	SyncPlanGitResponse_CODE_GIT_PULL_ERROR     SyncPlanGitResponse_CODE = 5
)

func (SyncPlanGitResponse_CODE) Descriptor

func (SyncPlanGitResponse_CODE) Enum

func (SyncPlanGitResponse_CODE) EnumDescriptor deprecated

func (SyncPlanGitResponse_CODE) EnumDescriptor() ([]byte, []int)

Deprecated: Use SyncPlanGitResponse_CODE.Descriptor instead.

func (SyncPlanGitResponse_CODE) Number

func (SyncPlanGitResponse_CODE) String

func (x SyncPlanGitResponse_CODE) String() string

func (SyncPlanGitResponse_CODE) Type

type UnimplementedDeployGitApiServer

type UnimplementedDeployGitApiServer struct {
}

UnimplementedDeployGitApiServer must be embedded to have forward compatible implementations.

func (UnimplementedDeployGitApiServer) CheckPlanGit

func (UnimplementedDeployGitApiServer) Checkout

func (UnimplementedDeployGitApiServer) GetFileContent

func (UnimplementedDeployGitApiServer) ListBranch

func (UnimplementedDeployGitApiServer) ListCommit

func (UnimplementedDeployGitApiServer) ListTag

func (UnimplementedDeployGitApiServer) ListWorkDir

func (UnimplementedDeployGitApiServer) SetPlanGit

func (UnimplementedDeployGitApiServer) SyncPlanGit

type UnsafeDeployGitApiServer

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

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

Jump to

Keyboard shortcuts

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