Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterDeployPlanAgentApiServer(s grpc.ServiceRegistrar, srv DeployPlanAgentApiServer)
- func RegisterDeployPlanApiServer(s grpc.ServiceRegistrar, srv DeployPlanApiServer)
- type AgentGetToExecRequest
- func (*AgentGetToExecRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AgentGetToExecRequest) GetBlob() []byte
- func (x *AgentGetToExecRequest) GetFormat() string
- func (x *AgentGetToExecRequest) GetHostId() string
- func (x *AgentGetToExecRequest) GetPreSignData() string
- func (x *AgentGetToExecRequest) GetRest() []byte
- func (*AgentGetToExecRequest) ProtoMessage()
- func (x *AgentGetToExecRequest) ProtoReflect() protoreflect.Message
- func (x *AgentGetToExecRequest) Reset()
- func (x *AgentGetToExecRequest) String() string
- type AgentGetToExecResponse
- func (*AgentGetToExecResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AgentGetToExecResponse) GetCode() AgentGetToExecResponse_CODE
- func (x *AgentGetToExecResponse) GetDeployPlanId() string
- func (x *AgentGetToExecResponse) GetErrMsg() string
- func (x *AgentGetToExecResponse) GetExecId() string
- func (*AgentGetToExecResponse) ProtoMessage()
- func (x *AgentGetToExecResponse) ProtoReflect() protoreflect.Message
- func (x *AgentGetToExecResponse) Reset()
- func (x *AgentGetToExecResponse) String() string
- type AgentGetToExecResponse_CODE
- func (AgentGetToExecResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x AgentGetToExecResponse_CODE) Enum() *AgentGetToExecResponse_CODE
- func (AgentGetToExecResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x AgentGetToExecResponse_CODE) Number() protoreflect.EnumNumber
- func (x AgentGetToExecResponse_CODE) String() string
- func (AgentGetToExecResponse_CODE) Type() protoreflect.EnumType
- type AgentReportExecBeginRequest
- func (*AgentReportExecBeginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AgentReportExecBeginRequest) GetBlob() []byte
- func (x *AgentReportExecBeginRequest) GetDeployPlanId() string
- func (x *AgentReportExecBeginRequest) GetExecId() string
- func (x *AgentReportExecBeginRequest) GetFormat() string
- func (x *AgentReportExecBeginRequest) GetHostId() string
- func (x *AgentReportExecBeginRequest) GetPreSignData() string
- func (x *AgentReportExecBeginRequest) GetRest() []byte
- func (*AgentReportExecBeginRequest) ProtoMessage()
- func (x *AgentReportExecBeginRequest) ProtoReflect() protoreflect.Message
- func (x *AgentReportExecBeginRequest) Reset()
- func (x *AgentReportExecBeginRequest) String() string
- type AgentReportExecBeginResponse
- func (*AgentReportExecBeginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AgentReportExecBeginResponse) GetCode() AgentReportExecBeginResponse_CODE
- func (x *AgentReportExecBeginResponse) GetErrMsg() string
- func (*AgentReportExecBeginResponse) ProtoMessage()
- func (x *AgentReportExecBeginResponse) ProtoReflect() protoreflect.Message
- func (x *AgentReportExecBeginResponse) Reset()
- func (x *AgentReportExecBeginResponse) String() string
- type AgentReportExecBeginResponse_CODE
- func (AgentReportExecBeginResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x AgentReportExecBeginResponse_CODE) Enum() *AgentReportExecBeginResponse_CODE
- func (AgentReportExecBeginResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x AgentReportExecBeginResponse_CODE) Number() protoreflect.EnumNumber
- func (x AgentReportExecBeginResponse_CODE) String() string
- func (AgentReportExecBeginResponse_CODE) Type() protoreflect.EnumType
- type AgentReportExecEndRequest
- func (*AgentReportExecEndRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AgentReportExecEndRequest) GetBlob() []byte
- func (x *AgentReportExecEndRequest) GetDeployPlanId() string
- func (x *AgentReportExecEndRequest) GetExecId() string
- func (x *AgentReportExecEndRequest) GetFormat() string
- func (x *AgentReportExecEndRequest) GetHostId() string
- func (x *AgentReportExecEndRequest) GetPreSignData() string
- func (x *AgentReportExecEndRequest) GetRest() []byte
- func (*AgentReportExecEndRequest) ProtoMessage()
- func (x *AgentReportExecEndRequest) ProtoReflect() protoreflect.Message
- func (x *AgentReportExecEndRequest) Reset()
- func (x *AgentReportExecEndRequest) String() string
- type AgentReportExecEndResponse
- func (*AgentReportExecEndResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AgentReportExecEndResponse) GetCode() AgentReportExecEndResponse_CODE
- func (x *AgentReportExecEndResponse) GetErrMsg() string
- func (*AgentReportExecEndResponse) ProtoMessage()
- func (x *AgentReportExecEndResponse) ProtoReflect() protoreflect.Message
- func (x *AgentReportExecEndResponse) Reset()
- func (x *AgentReportExecEndResponse) String() string
- type AgentReportExecEndResponse_CODE
- func (AgentReportExecEndResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x AgentReportExecEndResponse_CODE) Enum() *AgentReportExecEndResponse_CODE
- func (AgentReportExecEndResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x AgentReportExecEndResponse_CODE) Number() protoreflect.EnumNumber
- func (x AgentReportExecEndResponse_CODE) String() string
- func (AgentReportExecEndResponse_CODE) Type() protoreflect.EnumType
- type AgentReportExecLogRequest
- func (*AgentReportExecLogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AgentReportExecLogRequest) GetBlob() []byte
- func (x *AgentReportExecLogRequest) GetDeployPlanId() string
- func (x *AgentReportExecLogRequest) GetExecId() string
- func (x *AgentReportExecLogRequest) GetFormat() string
- func (x *AgentReportExecLogRequest) GetHostId() string
- func (x *AgentReportExecLogRequest) GetLogLine() string
- func (x *AgentReportExecLogRequest) GetPreSignData() string
- func (x *AgentReportExecLogRequest) GetRest() []byte
- func (*AgentReportExecLogRequest) ProtoMessage()
- func (x *AgentReportExecLogRequest) ProtoReflect() protoreflect.Message
- func (x *AgentReportExecLogRequest) Reset()
- func (x *AgentReportExecLogRequest) String() string
- type AgentReportExecLogResponse
- func (*AgentReportExecLogResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AgentReportExecLogResponse) GetCode() AgentReportExecLogResponse_CODE
- func (x *AgentReportExecLogResponse) GetErrMsg() string
- func (*AgentReportExecLogResponse) ProtoMessage()
- func (x *AgentReportExecLogResponse) ProtoReflect() protoreflect.Message
- func (x *AgentReportExecLogResponse) Reset()
- func (x *AgentReportExecLogResponse) String() string
- type AgentReportExecLogResponse_CODE
- func (AgentReportExecLogResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x AgentReportExecLogResponse_CODE) Enum() *AgentReportExecLogResponse_CODE
- func (AgentReportExecLogResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x AgentReportExecLogResponse_CODE) Number() protoreflect.EnumNumber
- func (x AgentReportExecLogResponse_CODE) String() string
- func (AgentReportExecLogResponse_CODE) Type() protoreflect.EnumType
- type BasicPlanInfo
- func (*BasicPlanInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BasicPlanInfo) GetDesc() string
- func (x *BasicPlanInfo) GetName() string
- func (*BasicPlanInfo) ProtoMessage()
- func (x *BasicPlanInfo) ProtoReflect() protoreflect.Message
- func (x *BasicPlanInfo) Reset()
- func (x *BasicPlanInfo) String() string
- type CreatePlanRequest
- func (*CreatePlanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePlanRequest) GetAccessToken() string
- func (x *CreatePlanRequest) GetBasicInfo() *BasicPlanInfo
- func (*CreatePlanRequest) ProtoMessage()
- func (x *CreatePlanRequest) ProtoReflect() protoreflect.Message
- func (x *CreatePlanRequest) Reset()
- func (x *CreatePlanRequest) String() string
- type CreatePlanResponse
- func (*CreatePlanResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePlanResponse) GetCode() CreatePlanResponse_CODE
- func (x *CreatePlanResponse) GetDeployPlanId() string
- func (x *CreatePlanResponse) GetErrMsg() string
- func (*CreatePlanResponse) ProtoMessage()
- func (x *CreatePlanResponse) ProtoReflect() protoreflect.Message
- func (x *CreatePlanResponse) Reset()
- func (x *CreatePlanResponse) String() string
- type CreatePlanResponse_CODE
- func (CreatePlanResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x CreatePlanResponse_CODE) Enum() *CreatePlanResponse_CODE
- func (CreatePlanResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x CreatePlanResponse_CODE) Number() protoreflect.EnumNumber
- func (x CreatePlanResponse_CODE) String() string
- func (CreatePlanResponse_CODE) Type() protoreflect.EnumType
- type DeployPlanAgentApiClient
- type DeployPlanAgentApiServer
- type DeployPlanApiClient
- type DeployPlanApiServer
- type DeployPlanApi_ReadExecLogClient
- type DeployPlanApi_ReadExecLogServer
- type ExecPlanRequest
- func (*ExecPlanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExecPlanRequest) GetAccessToken() string
- func (x *ExecPlanRequest) GetDeployPlanId() string
- func (x *ExecPlanRequest) GetHostId() string
- func (*ExecPlanRequest) ProtoMessage()
- func (x *ExecPlanRequest) ProtoReflect() protoreflect.Message
- func (x *ExecPlanRequest) Reset()
- func (x *ExecPlanRequest) String() string
- type ExecPlanResponse
- func (*ExecPlanResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExecPlanResponse) GetCode() ExecPlanResponse_CODE
- func (x *ExecPlanResponse) GetErrMsg() string
- func (x *ExecPlanResponse) GetExecId() string
- func (*ExecPlanResponse) ProtoMessage()
- func (x *ExecPlanResponse) ProtoReflect() protoreflect.Message
- func (x *ExecPlanResponse) Reset()
- func (x *ExecPlanResponse) String() string
- type ExecPlanResponse_CODE
- func (ExecPlanResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x ExecPlanResponse_CODE) Enum() *ExecPlanResponse_CODE
- func (ExecPlanResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x ExecPlanResponse_CODE) Number() protoreflect.EnumNumber
- func (x ExecPlanResponse_CODE) String() string
- func (ExecPlanResponse_CODE) Type() protoreflect.EnumType
- type GetPlanRequest
- func (*GetPlanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPlanRequest) GetAccessToken() string
- func (x *GetPlanRequest) GetDeployPlanId() string
- func (*GetPlanRequest) ProtoMessage()
- func (x *GetPlanRequest) ProtoReflect() protoreflect.Message
- func (x *GetPlanRequest) Reset()
- func (x *GetPlanRequest) String() string
- type GetPlanResponse
- func (*GetPlanResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPlanResponse) GetCode() GetPlanResponse_CODE
- func (x *GetPlanResponse) GetDeployPlan() *PlanInfo
- func (x *GetPlanResponse) GetErrMsg() string
- func (*GetPlanResponse) ProtoMessage()
- func (x *GetPlanResponse) ProtoReflect() protoreflect.Message
- func (x *GetPlanResponse) Reset()
- func (x *GetPlanResponse) String() string
- type GetPlanResponse_CODE
- func (GetPlanResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x GetPlanResponse_CODE) Enum() *GetPlanResponse_CODE
- func (GetPlanResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetPlanResponse_CODE) Number() protoreflect.EnumNumber
- func (x GetPlanResponse_CODE) String() string
- func (GetPlanResponse_CODE) Type() protoreflect.EnumType
- type ListExecRequest
- func (*ListExecRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListExecRequest) GetAccessToken() string
- func (x *ListExecRequest) GetDeployPlanId() string
- func (x *ListExecRequest) GetFilterByHostId() bool
- func (x *ListExecRequest) GetHostId() string
- func (*ListExecRequest) ProtoMessage()
- func (x *ListExecRequest) ProtoReflect() protoreflect.Message
- func (x *ListExecRequest) Reset()
- func (x *ListExecRequest) String() string
- type ListExecResponse
- func (*ListExecResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListExecResponse) GetCode() ListExecResponse_CODE
- func (x *ListExecResponse) GetErrMsg() string
- func (x *ListExecResponse) GetPlanExecList() []*PlanExecInfo
- func (x *ListExecResponse) GetTotalCount() uint32
- func (*ListExecResponse) ProtoMessage()
- func (x *ListExecResponse) ProtoReflect() protoreflect.Message
- func (x *ListExecResponse) Reset()
- func (x *ListExecResponse) String() string
- type ListExecResponse_CODE
- func (ListExecResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x ListExecResponse_CODE) Enum() *ListExecResponse_CODE
- func (ListExecResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x ListExecResponse_CODE) Number() protoreflect.EnumNumber
- func (x ListExecResponse_CODE) String() string
- func (ListExecResponse_CODE) Type() protoreflect.EnumType
- type ListPlanRequest
- type ListPlanResponse
- func (*ListPlanResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPlanResponse) GetCode() ListPlanResponse_CODE
- func (x *ListPlanResponse) GetDeployPlanList() []*PlanInfo
- func (x *ListPlanResponse) GetErrMsg() string
- func (*ListPlanResponse) ProtoMessage()
- func (x *ListPlanResponse) ProtoReflect() protoreflect.Message
- func (x *ListPlanResponse) Reset()
- func (x *ListPlanResponse) String() string
- type ListPlanResponse_CODE
- func (ListPlanResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x ListPlanResponse_CODE) Enum() *ListPlanResponse_CODE
- func (ListPlanResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x ListPlanResponse_CODE) Number() protoreflect.EnumNumber
- func (x ListPlanResponse_CODE) String() string
- func (ListPlanResponse_CODE) Type() protoreflect.EnumType
- type PlanExecInfo
- func (*PlanExecInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PlanExecInfo) GetExecId() string
- func (x *PlanExecInfo) GetExecUserName() string
- func (x *PlanExecInfo) GetSuccess() bool
- func (x *PlanExecInfo) GetTimeStamp() int64
- func (*PlanExecInfo) ProtoMessage()
- func (x *PlanExecInfo) ProtoReflect() protoreflect.Message
- func (x *PlanExecInfo) Reset()
- func (x *PlanExecInfo) String() string
- type PlanInfo
- func (*PlanInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PlanInfo) GetBasicInfo() *BasicPlanInfo
- func (x *PlanInfo) GetDeployPlanId() string
- func (x *PlanInfo) GetGitUrl() string
- func (x *PlanInfo) GetHasMount() bool
- func (*PlanInfo) ProtoMessage()
- func (x *PlanInfo) ProtoReflect() protoreflect.Message
- func (x *PlanInfo) Reset()
- func (x *PlanInfo) String() string
- type ReadExecLogRequest
- func (*ReadExecLogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadExecLogRequest) GetAccessToken() string
- func (x *ReadExecLogRequest) GetDeployPlanId() string
- func (x *ReadExecLogRequest) GetExecId() string
- func (*ReadExecLogRequest) ProtoMessage()
- func (x *ReadExecLogRequest) ProtoReflect() protoreflect.Message
- func (x *ReadExecLogRequest) Reset()
- func (x *ReadExecLogRequest) String() string
- type ReadExecLogResponse
- func (*ReadExecLogResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadExecLogResponse) GetCode() ReadExecLogResponse_CODE
- func (x *ReadExecLogResponse) GetErrMsg() string
- func (x *ReadExecLogResponse) GetLogLine() string
- func (*ReadExecLogResponse) ProtoMessage()
- func (x *ReadExecLogResponse) ProtoReflect() protoreflect.Message
- func (x *ReadExecLogResponse) Reset()
- func (x *ReadExecLogResponse) String() string
- type ReadExecLogResponse_CODE
- func (ReadExecLogResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x ReadExecLogResponse_CODE) Enum() *ReadExecLogResponse_CODE
- func (ReadExecLogResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x ReadExecLogResponse_CODE) Number() protoreflect.EnumNumber
- func (x ReadExecLogResponse_CODE) String() string
- func (ReadExecLogResponse_CODE) Type() protoreflect.EnumType
- type RemovePlanRequest
- func (*RemovePlanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemovePlanRequest) GetAccessToken() string
- func (x *RemovePlanRequest) GetDeployPlanId() string
- func (*RemovePlanRequest) ProtoMessage()
- func (x *RemovePlanRequest) ProtoReflect() protoreflect.Message
- func (x *RemovePlanRequest) Reset()
- func (x *RemovePlanRequest) String() string
- type RemovePlanResponse
- func (*RemovePlanResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemovePlanResponse) GetCode() RemovePlanResponse_CODE
- func (x *RemovePlanResponse) GetErrMsg() string
- func (*RemovePlanResponse) ProtoMessage()
- func (x *RemovePlanResponse) ProtoReflect() protoreflect.Message
- func (x *RemovePlanResponse) Reset()
- func (x *RemovePlanResponse) String() string
- type RemovePlanResponse_CODE
- func (RemovePlanResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x RemovePlanResponse_CODE) Enum() *RemovePlanResponse_CODE
- func (RemovePlanResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x RemovePlanResponse_CODE) Number() protoreflect.EnumNumber
- func (x RemovePlanResponse_CODE) String() string
- func (RemovePlanResponse_CODE) Type() protoreflect.EnumType
- type UnimplementedDeployPlanAgentApiServer
- func (UnimplementedDeployPlanAgentApiServer) GetToExec(context.Context, *AgentGetToExecRequest) (*AgentGetToExecResponse, error)
- func (UnimplementedDeployPlanAgentApiServer) ReportExecBegin(context.Context, *AgentReportExecBeginRequest) (*AgentReportExecBeginResponse, error)
- func (UnimplementedDeployPlanAgentApiServer) ReportExecEnd(context.Context, *AgentReportExecEndRequest) (*AgentReportExecEndResponse, error)
- func (UnimplementedDeployPlanAgentApiServer) ReportExecLog(context.Context, *AgentReportExecLogRequest) (*AgentReportExecLogResponse, error)
- type UnimplementedDeployPlanApiServer
- func (UnimplementedDeployPlanApiServer) CreatePlan(context.Context, *CreatePlanRequest) (*CreatePlanResponse, error)
- func (UnimplementedDeployPlanApiServer) ExecPlan(context.Context, *ExecPlanRequest) (*ExecPlanResponse, error)
- func (UnimplementedDeployPlanApiServer) GetPlan(context.Context, *GetPlanRequest) (*GetPlanResponse, error)
- func (UnimplementedDeployPlanApiServer) ListExec(context.Context, *ListExecRequest) (*ListExecResponse, error)
- func (UnimplementedDeployPlanApiServer) ListPlan(context.Context, *ListPlanRequest) (*ListPlanResponse, error)
- func (UnimplementedDeployPlanApiServer) ReadExecLog(*ReadExecLogRequest, DeployPlanApi_ReadExecLogServer) error
- func (UnimplementedDeployPlanApiServer) RemovePlan(context.Context, *RemovePlanRequest) (*RemovePlanResponse, error)
- func (UnimplementedDeployPlanApiServer) UpdatePlan(context.Context, *UpdatePlanRequest) (*UpdatePlanResponse, error)
- type UnsafeDeployPlanAgentApiServer
- type UnsafeDeployPlanApiServer
- type UpdatePlanRequest
- func (*UpdatePlanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePlanRequest) GetAccessToken() string
- func (x *UpdatePlanRequest) GetBasicInfo() *BasicPlanInfo
- func (x *UpdatePlanRequest) GetDeployPlanId() string
- func (*UpdatePlanRequest) ProtoMessage()
- func (x *UpdatePlanRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePlanRequest) Reset()
- func (x *UpdatePlanRequest) String() string
- type UpdatePlanResponse
- func (*UpdatePlanResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePlanResponse) GetCode() UpdatePlanResponse_CODE
- func (x *UpdatePlanResponse) GetErrMsg() string
- func (*UpdatePlanResponse) ProtoMessage()
- func (x *UpdatePlanResponse) ProtoReflect() protoreflect.Message
- func (x *UpdatePlanResponse) Reset()
- func (x *UpdatePlanResponse) String() string
- type UpdatePlanResponse_CODE
- func (UpdatePlanResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x UpdatePlanResponse_CODE) Enum() *UpdatePlanResponse_CODE
- func (UpdatePlanResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x UpdatePlanResponse_CODE) Number() protoreflect.EnumNumber
- func (x UpdatePlanResponse_CODE) String() string
- func (UpdatePlanResponse_CODE) Type() protoreflect.EnumType
Constants ¶
const ( DeployPlanApi_CreatePlan_FullMethodName = "/gitops_deploy_plan_api.DeployPlanApi/createPlan" DeployPlanApi_UpdatePlan_FullMethodName = "/gitops_deploy_plan_api.DeployPlanApi/updatePlan" DeployPlanApi_ListPlan_FullMethodName = "/gitops_deploy_plan_api.DeployPlanApi/listPlan" DeployPlanApi_GetPlan_FullMethodName = "/gitops_deploy_plan_api.DeployPlanApi/getPlan" DeployPlanApi_RemovePlan_FullMethodName = "/gitops_deploy_plan_api.DeployPlanApi/removePlan" DeployPlanApi_ExecPlan_FullMethodName = "/gitops_deploy_plan_api.DeployPlanApi/execPlan" DeployPlanApi_ListExec_FullMethodName = "/gitops_deploy_plan_api.DeployPlanApi/listExec" DeployPlanApi_ReadExecLog_FullMethodName = "/gitops_deploy_plan_api.DeployPlanApi/readExecLog" )
const ( DeployPlanAgentApi_GetToExec_FullMethodName = "/gitops_deploy_plan_api.DeployPlanAgentApi/getToExec" DeployPlanAgentApi_ReportExecBegin_FullMethodName = "/gitops_deploy_plan_api.DeployPlanAgentApi/reportExecBegin" DeployPlanAgentApi_ReportExecLog_FullMethodName = "/gitops_deploy_plan_api.DeployPlanAgentApi/reportExecLog" DeployPlanAgentApi_ReportExecEnd_FullMethodName = "/gitops_deploy_plan_api.DeployPlanAgentApi/reportExecEnd" )
Variables ¶
var ( CreatePlanResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_ACCESS_TOKEN", 2: "CODE_NO_PERMISSION", } CreatePlanResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_ACCESS_TOKEN": 1, "CODE_NO_PERMISSION": 2, } )
Enum value maps for CreatePlanResponse_CODE.
var ( UpdatePlanResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_ACCESS_TOKEN", 2: "CODE_NO_PERMISSION", 3: "CODE_NO_PLAN", } UpdatePlanResponse_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 UpdatePlanResponse_CODE.
var ( ListPlanResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_ACCESS_TOKEN", 2: "CODE_NO_PERMISSION", } ListPlanResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_ACCESS_TOKEN": 1, "CODE_NO_PERMISSION": 2, } )
Enum value maps for ListPlanResponse_CODE.
var ( GetPlanResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_ACCESS_TOKEN", 2: "CODE_NO_PERMISSION", 3: "CODE_NO_PLAN", } GetPlanResponse_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 GetPlanResponse_CODE.
var ( RemovePlanResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_ACCESS_TOKEN", 2: "CODE_NO_PERMISSION", 3: "CODE_NO_PLAN", } RemovePlanResponse_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 RemovePlanResponse_CODE.
var ( ExecPlanResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_ACCESS_TOKEN", 2: "CODE_NO_PERMISSION", 3: "CODE_NO_PLAN", 4: "CODE_NO_HOST", } ExecPlanResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_ACCESS_TOKEN": 1, "CODE_NO_PERMISSION": 2, "CODE_NO_PLAN": 3, "CODE_NO_HOST": 4, } )
Enum value maps for ExecPlanResponse_CODE.
var ( ListExecResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_ACCESS_TOKEN", 2: "CODE_NO_PERMISSION", 3: "CODE_NO_PLAN", } ListExecResponse_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 ListExecResponse_CODE.
var ( ReadExecLogResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_ACCESS_TOKEN", 2: "CODE_NO_PERMISSION", 3: "CODE_NO_PLAN", 4: "CODE_NO_EXEC", } ReadExecLogResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_ACCESS_TOKEN": 1, "CODE_NO_PERMISSION": 2, "CODE_NO_PLAN": 3, "CODE_NO_EXEC": 4, } )
Enum value maps for ReadExecLogResponse_CODE.
var ( AgentGetToExecResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_PRE_SIGN_DATA", 2: "CODE_WRONG_SIGN", 3: "CODE_NO_HOST", 4: "CODE_TIME_OUT", } AgentGetToExecResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_PRE_SIGN_DATA": 1, "CODE_WRONG_SIGN": 2, "CODE_NO_HOST": 3, "CODE_TIME_OUT": 4, } )
Enum value maps for AgentGetToExecResponse_CODE.
var ( AgentReportExecBeginResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_PRE_SIGN_DATA", 2: "CODE_WRONG_SIGN", 3: "CODE_NO_EXEC", 4: "CODE_NO_HOST", 5: "CODE_NO_PLAN", } AgentReportExecBeginResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_PRE_SIGN_DATA": 1, "CODE_WRONG_SIGN": 2, "CODE_NO_EXEC": 3, "CODE_NO_HOST": 4, "CODE_NO_PLAN": 5, } )
Enum value maps for AgentReportExecBeginResponse_CODE.
var ( AgentReportExecLogResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_PRE_SIGN_DATA", 2: "CODE_WRONG_SIGN", 3: "CODE_NO_EXEC", 4: "CODE_NO_HOST", 5: "CODE_NO_PLAN", } AgentReportExecLogResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_PRE_SIGN_DATA": 1, "CODE_WRONG_SIGN": 2, "CODE_NO_EXEC": 3, "CODE_NO_HOST": 4, "CODE_NO_PLAN": 5, } )
Enum value maps for AgentReportExecLogResponse_CODE.
var ( AgentReportExecEndResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_PRE_SIGN_DATA", 2: "CODE_WRONG_SIGN", 3: "CODE_NO_EXEC", 4: "CODE_NO_HOST", 5: "CODE_NO_PLAN", } AgentReportExecEndResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_PRE_SIGN_DATA": 1, "CODE_WRONG_SIGN": 2, "CODE_NO_EXEC": 3, "CODE_NO_HOST": 4, "CODE_NO_PLAN": 5, } )
Enum value maps for AgentReportExecEndResponse_CODE.
var DeployPlanAgentApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gitops_deploy_plan_api.DeployPlanAgentApi", HandlerType: (*DeployPlanAgentApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "getToExec", Handler: _DeployPlanAgentApi_GetToExec_Handler, }, { MethodName: "reportExecBegin", Handler: _DeployPlanAgentApi_ReportExecBegin_Handler, }, { MethodName: "reportExecLog", Handler: _DeployPlanAgentApi_ReportExecLog_Handler, }, { MethodName: "reportExecEnd", Handler: _DeployPlanAgentApi_ReportExecEnd_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/deploy_plan_api.proto", }
DeployPlanAgentApi_ServiceDesc is the grpc.ServiceDesc for DeployPlanAgentApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var DeployPlanApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gitops_deploy_plan_api.DeployPlanApi", HandlerType: (*DeployPlanApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "createPlan", Handler: _DeployPlanApi_CreatePlan_Handler, }, { MethodName: "updatePlan", Handler: _DeployPlanApi_UpdatePlan_Handler, }, { MethodName: "listPlan", Handler: _DeployPlanApi_ListPlan_Handler, }, { MethodName: "getPlan", Handler: _DeployPlanApi_GetPlan_Handler, }, { MethodName: "removePlan", Handler: _DeployPlanApi_RemovePlan_Handler, }, { MethodName: "execPlan", Handler: _DeployPlanApi_ExecPlan_Handler, }, { MethodName: "listExec", Handler: _DeployPlanApi_ListExec_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "readExecLog", Handler: _DeployPlanApi_ReadExecLog_Handler, ServerStreams: true, }, }, Metadata: "proto/deploy_plan_api.proto", }
DeployPlanApi_ServiceDesc is the grpc.ServiceDesc for DeployPlanApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_proto_deploy_plan_api_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDeployPlanAgentApiServer ¶
func RegisterDeployPlanAgentApiServer(s grpc.ServiceRegistrar, srv DeployPlanAgentApiServer)
func RegisterDeployPlanApiServer ¶
func RegisterDeployPlanApiServer(s grpc.ServiceRegistrar, srv DeployPlanApiServer)
Types ¶
type AgentGetToExecRequest ¶
type AgentGetToExecRequest struct { HostId string `protobuf:"bytes,1,opt,name=hostId,proto3" json:"hostId,omitempty"` PreSignData string `protobuf:"bytes,2,opt,name=preSignData,proto3" json:"preSignData,omitempty"` Format string `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"` Blob []byte `protobuf:"bytes,4,opt,name=blob,proto3" json:"blob,omitempty"` Rest []byte `protobuf:"bytes,5,opt,name=rest,proto3" json:"rest,omitempty"` // contains filtered or unexported fields }
func (*AgentGetToExecRequest) Descriptor
deprecated
func (*AgentGetToExecRequest) Descriptor() ([]byte, []int)
Deprecated: Use AgentGetToExecRequest.ProtoReflect.Descriptor instead.
func (*AgentGetToExecRequest) GetBlob ¶
func (x *AgentGetToExecRequest) GetBlob() []byte
func (*AgentGetToExecRequest) GetFormat ¶
func (x *AgentGetToExecRequest) GetFormat() string
func (*AgentGetToExecRequest) GetHostId ¶
func (x *AgentGetToExecRequest) GetHostId() string
func (*AgentGetToExecRequest) GetPreSignData ¶
func (x *AgentGetToExecRequest) GetPreSignData() string
func (*AgentGetToExecRequest) GetRest ¶
func (x *AgentGetToExecRequest) GetRest() []byte
func (*AgentGetToExecRequest) ProtoMessage ¶
func (*AgentGetToExecRequest) ProtoMessage()
func (*AgentGetToExecRequest) ProtoReflect ¶
func (x *AgentGetToExecRequest) ProtoReflect() protoreflect.Message
func (*AgentGetToExecRequest) Reset ¶
func (x *AgentGetToExecRequest) Reset()
func (*AgentGetToExecRequest) String ¶
func (x *AgentGetToExecRequest) String() string
type AgentGetToExecResponse ¶
type AgentGetToExecResponse struct { Code AgentGetToExecResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=gitops_deploy_plan_api.AgentGetToExecResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` ExecId string `protobuf:"bytes,3,opt,name=execId,proto3" json:"execId,omitempty"` DeployPlanId string `protobuf:"bytes,4,opt,name=deployPlanId,proto3" json:"deployPlanId,omitempty"` // contains filtered or unexported fields }
func (*AgentGetToExecResponse) Descriptor
deprecated
func (*AgentGetToExecResponse) Descriptor() ([]byte, []int)
Deprecated: Use AgentGetToExecResponse.ProtoReflect.Descriptor instead.
func (*AgentGetToExecResponse) GetCode ¶
func (x *AgentGetToExecResponse) GetCode() AgentGetToExecResponse_CODE
func (*AgentGetToExecResponse) GetDeployPlanId ¶
func (x *AgentGetToExecResponse) GetDeployPlanId() string
func (*AgentGetToExecResponse) GetErrMsg ¶
func (x *AgentGetToExecResponse) GetErrMsg() string
func (*AgentGetToExecResponse) GetExecId ¶
func (x *AgentGetToExecResponse) GetExecId() string
func (*AgentGetToExecResponse) ProtoMessage ¶
func (*AgentGetToExecResponse) ProtoMessage()
func (*AgentGetToExecResponse) ProtoReflect ¶
func (x *AgentGetToExecResponse) ProtoReflect() protoreflect.Message
func (*AgentGetToExecResponse) Reset ¶
func (x *AgentGetToExecResponse) Reset()
func (*AgentGetToExecResponse) String ¶
func (x *AgentGetToExecResponse) String() string
type AgentGetToExecResponse_CODE ¶
type AgentGetToExecResponse_CODE int32
const ( AgentGetToExecResponse_CODE_OK AgentGetToExecResponse_CODE = 0 AgentGetToExecResponse_CODE_WRONG_PRE_SIGN_DATA AgentGetToExecResponse_CODE = 1 AgentGetToExecResponse_CODE_WRONG_SIGN AgentGetToExecResponse_CODE = 2 AgentGetToExecResponse_CODE_NO_HOST AgentGetToExecResponse_CODE = 3 AgentGetToExecResponse_CODE_TIME_OUT AgentGetToExecResponse_CODE = 4 )
func (AgentGetToExecResponse_CODE) Descriptor ¶
func (AgentGetToExecResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (AgentGetToExecResponse_CODE) Enum ¶
func (x AgentGetToExecResponse_CODE) Enum() *AgentGetToExecResponse_CODE
func (AgentGetToExecResponse_CODE) EnumDescriptor
deprecated
func (AgentGetToExecResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use AgentGetToExecResponse_CODE.Descriptor instead.
func (AgentGetToExecResponse_CODE) Number ¶
func (x AgentGetToExecResponse_CODE) Number() protoreflect.EnumNumber
func (AgentGetToExecResponse_CODE) String ¶
func (x AgentGetToExecResponse_CODE) String() string
func (AgentGetToExecResponse_CODE) Type ¶
func (AgentGetToExecResponse_CODE) Type() protoreflect.EnumType
type AgentReportExecBeginRequest ¶
type AgentReportExecBeginRequest struct { HostId string `protobuf:"bytes,1,opt,name=hostId,proto3" json:"hostId,omitempty"` PreSignData string `protobuf:"bytes,2,opt,name=preSignData,proto3" json:"preSignData,omitempty"` Format string `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"` Blob []byte `protobuf:"bytes,4,opt,name=blob,proto3" json:"blob,omitempty"` Rest []byte `protobuf:"bytes,5,opt,name=rest,proto3" json:"rest,omitempty"` ExecId string `protobuf:"bytes,6,opt,name=execId,proto3" json:"execId,omitempty"` DeployPlanId string `protobuf:"bytes,7,opt,name=deployPlanId,proto3" json:"deployPlanId,omitempty"` // contains filtered or unexported fields }
func (*AgentReportExecBeginRequest) Descriptor
deprecated
func (*AgentReportExecBeginRequest) Descriptor() ([]byte, []int)
Deprecated: Use AgentReportExecBeginRequest.ProtoReflect.Descriptor instead.
func (*AgentReportExecBeginRequest) GetBlob ¶
func (x *AgentReportExecBeginRequest) GetBlob() []byte
func (*AgentReportExecBeginRequest) GetDeployPlanId ¶
func (x *AgentReportExecBeginRequest) GetDeployPlanId() string
func (*AgentReportExecBeginRequest) GetExecId ¶
func (x *AgentReportExecBeginRequest) GetExecId() string
func (*AgentReportExecBeginRequest) GetFormat ¶
func (x *AgentReportExecBeginRequest) GetFormat() string
func (*AgentReportExecBeginRequest) GetHostId ¶
func (x *AgentReportExecBeginRequest) GetHostId() string
func (*AgentReportExecBeginRequest) GetPreSignData ¶
func (x *AgentReportExecBeginRequest) GetPreSignData() string
func (*AgentReportExecBeginRequest) GetRest ¶
func (x *AgentReportExecBeginRequest) GetRest() []byte
func (*AgentReportExecBeginRequest) ProtoMessage ¶
func (*AgentReportExecBeginRequest) ProtoMessage()
func (*AgentReportExecBeginRequest) ProtoReflect ¶
func (x *AgentReportExecBeginRequest) ProtoReflect() protoreflect.Message
func (*AgentReportExecBeginRequest) Reset ¶
func (x *AgentReportExecBeginRequest) Reset()
func (*AgentReportExecBeginRequest) String ¶
func (x *AgentReportExecBeginRequest) String() string
type AgentReportExecBeginResponse ¶
type AgentReportExecBeginResponse struct { Code AgentReportExecBeginResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=gitops_deploy_plan_api.AgentReportExecBeginResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` // contains filtered or unexported fields }
func (*AgentReportExecBeginResponse) Descriptor
deprecated
func (*AgentReportExecBeginResponse) Descriptor() ([]byte, []int)
Deprecated: Use AgentReportExecBeginResponse.ProtoReflect.Descriptor instead.
func (*AgentReportExecBeginResponse) GetCode ¶
func (x *AgentReportExecBeginResponse) GetCode() AgentReportExecBeginResponse_CODE
func (*AgentReportExecBeginResponse) GetErrMsg ¶
func (x *AgentReportExecBeginResponse) GetErrMsg() string
func (*AgentReportExecBeginResponse) ProtoMessage ¶
func (*AgentReportExecBeginResponse) ProtoMessage()
func (*AgentReportExecBeginResponse) ProtoReflect ¶
func (x *AgentReportExecBeginResponse) ProtoReflect() protoreflect.Message
func (*AgentReportExecBeginResponse) Reset ¶
func (x *AgentReportExecBeginResponse) Reset()
func (*AgentReportExecBeginResponse) String ¶
func (x *AgentReportExecBeginResponse) String() string
type AgentReportExecBeginResponse_CODE ¶
type AgentReportExecBeginResponse_CODE int32
const ( AgentReportExecBeginResponse_CODE_OK AgentReportExecBeginResponse_CODE = 0 AgentReportExecBeginResponse_CODE_WRONG_PRE_SIGN_DATA AgentReportExecBeginResponse_CODE = 1 AgentReportExecBeginResponse_CODE_WRONG_SIGN AgentReportExecBeginResponse_CODE = 2 AgentReportExecBeginResponse_CODE_NO_EXEC AgentReportExecBeginResponse_CODE = 3 AgentReportExecBeginResponse_CODE_NO_HOST AgentReportExecBeginResponse_CODE = 4 AgentReportExecBeginResponse_CODE_NO_PLAN AgentReportExecBeginResponse_CODE = 5 )
func (AgentReportExecBeginResponse_CODE) Descriptor ¶
func (AgentReportExecBeginResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (AgentReportExecBeginResponse_CODE) Enum ¶
func (x AgentReportExecBeginResponse_CODE) Enum() *AgentReportExecBeginResponse_CODE
func (AgentReportExecBeginResponse_CODE) EnumDescriptor
deprecated
func (AgentReportExecBeginResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use AgentReportExecBeginResponse_CODE.Descriptor instead.
func (AgentReportExecBeginResponse_CODE) Number ¶
func (x AgentReportExecBeginResponse_CODE) Number() protoreflect.EnumNumber
func (AgentReportExecBeginResponse_CODE) String ¶
func (x AgentReportExecBeginResponse_CODE) String() string
func (AgentReportExecBeginResponse_CODE) Type ¶
func (AgentReportExecBeginResponse_CODE) Type() protoreflect.EnumType
type AgentReportExecEndRequest ¶
type AgentReportExecEndRequest struct { HostId string `protobuf:"bytes,1,opt,name=hostId,proto3" json:"hostId,omitempty"` PreSignData string `protobuf:"bytes,2,opt,name=preSignData,proto3" json:"preSignData,omitempty"` Format string `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"` Blob []byte `protobuf:"bytes,4,opt,name=blob,proto3" json:"blob,omitempty"` Rest []byte `protobuf:"bytes,5,opt,name=rest,proto3" json:"rest,omitempty"` ExecId string `protobuf:"bytes,6,opt,name=execId,proto3" json:"execId,omitempty"` DeployPlanId string `protobuf:"bytes,7,opt,name=deployPlanId,proto3" json:"deployPlanId,omitempty"` // contains filtered or unexported fields }
func (*AgentReportExecEndRequest) Descriptor
deprecated
func (*AgentReportExecEndRequest) Descriptor() ([]byte, []int)
Deprecated: Use AgentReportExecEndRequest.ProtoReflect.Descriptor instead.
func (*AgentReportExecEndRequest) GetBlob ¶
func (x *AgentReportExecEndRequest) GetBlob() []byte
func (*AgentReportExecEndRequest) GetDeployPlanId ¶
func (x *AgentReportExecEndRequest) GetDeployPlanId() string
func (*AgentReportExecEndRequest) GetExecId ¶
func (x *AgentReportExecEndRequest) GetExecId() string
func (*AgentReportExecEndRequest) GetFormat ¶
func (x *AgentReportExecEndRequest) GetFormat() string
func (*AgentReportExecEndRequest) GetHostId ¶
func (x *AgentReportExecEndRequest) GetHostId() string
func (*AgentReportExecEndRequest) GetPreSignData ¶
func (x *AgentReportExecEndRequest) GetPreSignData() string
func (*AgentReportExecEndRequest) GetRest ¶
func (x *AgentReportExecEndRequest) GetRest() []byte
func (*AgentReportExecEndRequest) ProtoMessage ¶
func (*AgentReportExecEndRequest) ProtoMessage()
func (*AgentReportExecEndRequest) ProtoReflect ¶
func (x *AgentReportExecEndRequest) ProtoReflect() protoreflect.Message
func (*AgentReportExecEndRequest) Reset ¶
func (x *AgentReportExecEndRequest) Reset()
func (*AgentReportExecEndRequest) String ¶
func (x *AgentReportExecEndRequest) String() string
type AgentReportExecEndResponse ¶
type AgentReportExecEndResponse struct { Code AgentReportExecEndResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=gitops_deploy_plan_api.AgentReportExecEndResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` // contains filtered or unexported fields }
func (*AgentReportExecEndResponse) Descriptor
deprecated
func (*AgentReportExecEndResponse) Descriptor() ([]byte, []int)
Deprecated: Use AgentReportExecEndResponse.ProtoReflect.Descriptor instead.
func (*AgentReportExecEndResponse) GetCode ¶
func (x *AgentReportExecEndResponse) GetCode() AgentReportExecEndResponse_CODE
func (*AgentReportExecEndResponse) GetErrMsg ¶
func (x *AgentReportExecEndResponse) GetErrMsg() string
func (*AgentReportExecEndResponse) ProtoMessage ¶
func (*AgentReportExecEndResponse) ProtoMessage()
func (*AgentReportExecEndResponse) ProtoReflect ¶
func (x *AgentReportExecEndResponse) ProtoReflect() protoreflect.Message
func (*AgentReportExecEndResponse) Reset ¶
func (x *AgentReportExecEndResponse) Reset()
func (*AgentReportExecEndResponse) String ¶
func (x *AgentReportExecEndResponse) String() string
type AgentReportExecEndResponse_CODE ¶
type AgentReportExecEndResponse_CODE int32
const ( AgentReportExecEndResponse_CODE_OK AgentReportExecEndResponse_CODE = 0 AgentReportExecEndResponse_CODE_WRONG_PRE_SIGN_DATA AgentReportExecEndResponse_CODE = 1 AgentReportExecEndResponse_CODE_WRONG_SIGN AgentReportExecEndResponse_CODE = 2 AgentReportExecEndResponse_CODE_NO_EXEC AgentReportExecEndResponse_CODE = 3 AgentReportExecEndResponse_CODE_NO_HOST AgentReportExecEndResponse_CODE = 4 AgentReportExecEndResponse_CODE_NO_PLAN AgentReportExecEndResponse_CODE = 5 )
func (AgentReportExecEndResponse_CODE) Descriptor ¶
func (AgentReportExecEndResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (AgentReportExecEndResponse_CODE) Enum ¶
func (x AgentReportExecEndResponse_CODE) Enum() *AgentReportExecEndResponse_CODE
func (AgentReportExecEndResponse_CODE) EnumDescriptor
deprecated
func (AgentReportExecEndResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use AgentReportExecEndResponse_CODE.Descriptor instead.
func (AgentReportExecEndResponse_CODE) Number ¶
func (x AgentReportExecEndResponse_CODE) Number() protoreflect.EnumNumber
func (AgentReportExecEndResponse_CODE) String ¶
func (x AgentReportExecEndResponse_CODE) String() string
func (AgentReportExecEndResponse_CODE) Type ¶
func (AgentReportExecEndResponse_CODE) Type() protoreflect.EnumType
type AgentReportExecLogRequest ¶
type AgentReportExecLogRequest struct { HostId string `protobuf:"bytes,1,opt,name=hostId,proto3" json:"hostId,omitempty"` PreSignData string `protobuf:"bytes,2,opt,name=preSignData,proto3" json:"preSignData,omitempty"` Format string `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"` Blob []byte `protobuf:"bytes,4,opt,name=blob,proto3" json:"blob,omitempty"` Rest []byte `protobuf:"bytes,5,opt,name=rest,proto3" json:"rest,omitempty"` ExecId string `protobuf:"bytes,6,opt,name=execId,proto3" json:"execId,omitempty"` DeployPlanId string `protobuf:"bytes,7,opt,name=deployPlanId,proto3" json:"deployPlanId,omitempty"` LogLine string `protobuf:"bytes,8,opt,name=logLine,proto3" json:"logLine,omitempty"` // contains filtered or unexported fields }
func (*AgentReportExecLogRequest) Descriptor
deprecated
func (*AgentReportExecLogRequest) Descriptor() ([]byte, []int)
Deprecated: Use AgentReportExecLogRequest.ProtoReflect.Descriptor instead.
func (*AgentReportExecLogRequest) GetBlob ¶
func (x *AgentReportExecLogRequest) GetBlob() []byte
func (*AgentReportExecLogRequest) GetDeployPlanId ¶
func (x *AgentReportExecLogRequest) GetDeployPlanId() string
func (*AgentReportExecLogRequest) GetExecId ¶
func (x *AgentReportExecLogRequest) GetExecId() string
func (*AgentReportExecLogRequest) GetFormat ¶
func (x *AgentReportExecLogRequest) GetFormat() string
func (*AgentReportExecLogRequest) GetHostId ¶
func (x *AgentReportExecLogRequest) GetHostId() string
func (*AgentReportExecLogRequest) GetLogLine ¶
func (x *AgentReportExecLogRequest) GetLogLine() string
func (*AgentReportExecLogRequest) GetPreSignData ¶
func (x *AgentReportExecLogRequest) GetPreSignData() string
func (*AgentReportExecLogRequest) GetRest ¶
func (x *AgentReportExecLogRequest) GetRest() []byte
func (*AgentReportExecLogRequest) ProtoMessage ¶
func (*AgentReportExecLogRequest) ProtoMessage()
func (*AgentReportExecLogRequest) ProtoReflect ¶
func (x *AgentReportExecLogRequest) ProtoReflect() protoreflect.Message
func (*AgentReportExecLogRequest) Reset ¶
func (x *AgentReportExecLogRequest) Reset()
func (*AgentReportExecLogRequest) String ¶
func (x *AgentReportExecLogRequest) String() string
type AgentReportExecLogResponse ¶
type AgentReportExecLogResponse struct { Code AgentReportExecLogResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=gitops_deploy_plan_api.AgentReportExecLogResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` // contains filtered or unexported fields }
func (*AgentReportExecLogResponse) Descriptor
deprecated
func (*AgentReportExecLogResponse) Descriptor() ([]byte, []int)
Deprecated: Use AgentReportExecLogResponse.ProtoReflect.Descriptor instead.
func (*AgentReportExecLogResponse) GetCode ¶
func (x *AgentReportExecLogResponse) GetCode() AgentReportExecLogResponse_CODE
func (*AgentReportExecLogResponse) GetErrMsg ¶
func (x *AgentReportExecLogResponse) GetErrMsg() string
func (*AgentReportExecLogResponse) ProtoMessage ¶
func (*AgentReportExecLogResponse) ProtoMessage()
func (*AgentReportExecLogResponse) ProtoReflect ¶
func (x *AgentReportExecLogResponse) ProtoReflect() protoreflect.Message
func (*AgentReportExecLogResponse) Reset ¶
func (x *AgentReportExecLogResponse) Reset()
func (*AgentReportExecLogResponse) String ¶
func (x *AgentReportExecLogResponse) String() string
type AgentReportExecLogResponse_CODE ¶
type AgentReportExecLogResponse_CODE int32
const ( AgentReportExecLogResponse_CODE_OK AgentReportExecLogResponse_CODE = 0 AgentReportExecLogResponse_CODE_WRONG_PRE_SIGN_DATA AgentReportExecLogResponse_CODE = 1 AgentReportExecLogResponse_CODE_WRONG_SIGN AgentReportExecLogResponse_CODE = 2 AgentReportExecLogResponse_CODE_NO_EXEC AgentReportExecLogResponse_CODE = 3 AgentReportExecLogResponse_CODE_NO_HOST AgentReportExecLogResponse_CODE = 4 AgentReportExecLogResponse_CODE_NO_PLAN AgentReportExecLogResponse_CODE = 5 )
func (AgentReportExecLogResponse_CODE) Descriptor ¶
func (AgentReportExecLogResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (AgentReportExecLogResponse_CODE) Enum ¶
func (x AgentReportExecLogResponse_CODE) Enum() *AgentReportExecLogResponse_CODE
func (AgentReportExecLogResponse_CODE) EnumDescriptor
deprecated
func (AgentReportExecLogResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use AgentReportExecLogResponse_CODE.Descriptor instead.
func (AgentReportExecLogResponse_CODE) Number ¶
func (x AgentReportExecLogResponse_CODE) Number() protoreflect.EnumNumber
func (AgentReportExecLogResponse_CODE) String ¶
func (x AgentReportExecLogResponse_CODE) String() string
func (AgentReportExecLogResponse_CODE) Type ¶
func (AgentReportExecLogResponse_CODE) Type() protoreflect.EnumType
type BasicPlanInfo ¶
type BasicPlanInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Desc string `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc,omitempty"` // contains filtered or unexported fields }
func (*BasicPlanInfo) Descriptor
deprecated
func (*BasicPlanInfo) Descriptor() ([]byte, []int)
Deprecated: Use BasicPlanInfo.ProtoReflect.Descriptor instead.
func (*BasicPlanInfo) GetDesc ¶
func (x *BasicPlanInfo) GetDesc() string
func (*BasicPlanInfo) GetName ¶
func (x *BasicPlanInfo) GetName() string
func (*BasicPlanInfo) ProtoMessage ¶
func (*BasicPlanInfo) ProtoMessage()
func (*BasicPlanInfo) ProtoReflect ¶
func (x *BasicPlanInfo) ProtoReflect() protoreflect.Message
func (*BasicPlanInfo) Reset ¶
func (x *BasicPlanInfo) Reset()
func (*BasicPlanInfo) String ¶
func (x *BasicPlanInfo) String() string
type CreatePlanRequest ¶
type CreatePlanRequest struct { AccessToken string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"` BasicInfo *BasicPlanInfo `protobuf:"bytes,2,opt,name=basicInfo,proto3" json:"basicInfo,omitempty"` // contains filtered or unexported fields }
func (*CreatePlanRequest) Descriptor
deprecated
func (*CreatePlanRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePlanRequest.ProtoReflect.Descriptor instead.
func (*CreatePlanRequest) GetAccessToken ¶
func (x *CreatePlanRequest) GetAccessToken() string
func (*CreatePlanRequest) GetBasicInfo ¶
func (x *CreatePlanRequest) GetBasicInfo() *BasicPlanInfo
func (*CreatePlanRequest) ProtoMessage ¶
func (*CreatePlanRequest) ProtoMessage()
func (*CreatePlanRequest) ProtoReflect ¶
func (x *CreatePlanRequest) ProtoReflect() protoreflect.Message
func (*CreatePlanRequest) Reset ¶
func (x *CreatePlanRequest) Reset()
func (*CreatePlanRequest) String ¶
func (x *CreatePlanRequest) String() string
type CreatePlanResponse ¶
type CreatePlanResponse struct { Code CreatePlanResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=gitops_deploy_plan_api.CreatePlanResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` DeployPlanId string `protobuf:"bytes,3,opt,name=deployPlanId,proto3" json:"deployPlanId,omitempty"` // contains filtered or unexported fields }
func (*CreatePlanResponse) Descriptor
deprecated
func (*CreatePlanResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreatePlanResponse.ProtoReflect.Descriptor instead.
func (*CreatePlanResponse) GetCode ¶
func (x *CreatePlanResponse) GetCode() CreatePlanResponse_CODE
func (*CreatePlanResponse) GetDeployPlanId ¶
func (x *CreatePlanResponse) GetDeployPlanId() string
func (*CreatePlanResponse) GetErrMsg ¶
func (x *CreatePlanResponse) GetErrMsg() string
func (*CreatePlanResponse) ProtoMessage ¶
func (*CreatePlanResponse) ProtoMessage()
func (*CreatePlanResponse) ProtoReflect ¶
func (x *CreatePlanResponse) ProtoReflect() protoreflect.Message
func (*CreatePlanResponse) Reset ¶
func (x *CreatePlanResponse) Reset()
func (*CreatePlanResponse) String ¶
func (x *CreatePlanResponse) String() string
type CreatePlanResponse_CODE ¶
type CreatePlanResponse_CODE int32
const ( CreatePlanResponse_CODE_OK CreatePlanResponse_CODE = 0 CreatePlanResponse_CODE_WRONG_ACCESS_TOKEN CreatePlanResponse_CODE = 1 CreatePlanResponse_CODE_NO_PERMISSION CreatePlanResponse_CODE = 2 )
func (CreatePlanResponse_CODE) Descriptor ¶
func (CreatePlanResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (CreatePlanResponse_CODE) Enum ¶
func (x CreatePlanResponse_CODE) Enum() *CreatePlanResponse_CODE
func (CreatePlanResponse_CODE) EnumDescriptor
deprecated
func (CreatePlanResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use CreatePlanResponse_CODE.Descriptor instead.
func (CreatePlanResponse_CODE) Number ¶
func (x CreatePlanResponse_CODE) Number() protoreflect.EnumNumber
func (CreatePlanResponse_CODE) String ¶
func (x CreatePlanResponse_CODE) String() string
func (CreatePlanResponse_CODE) Type ¶
func (CreatePlanResponse_CODE) Type() protoreflect.EnumType
type DeployPlanAgentApiClient ¶
type DeployPlanAgentApiClient interface { // 获取未执行任务 GetToExec(ctx context.Context, in *AgentGetToExecRequest, opts ...grpc.CallOption) (*AgentGetToExecResponse, error) // 上报任务开始 ReportExecBegin(ctx context.Context, in *AgentReportExecBeginRequest, opts ...grpc.CallOption) (*AgentReportExecBeginResponse, error) // 上报执行日志 ReportExecLog(ctx context.Context, in *AgentReportExecLogRequest, opts ...grpc.CallOption) (*AgentReportExecLogResponse, error) // 上报任务结束 ReportExecEnd(ctx context.Context, in *AgentReportExecEndRequest, opts ...grpc.CallOption) (*AgentReportExecEndResponse, error) }
DeployPlanAgentApiClient is the client API for DeployPlanAgentApi 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 NewDeployPlanAgentApiClient ¶
func NewDeployPlanAgentApiClient(cc grpc.ClientConnInterface) DeployPlanAgentApiClient
type DeployPlanAgentApiServer ¶
type DeployPlanAgentApiServer interface { // 获取未执行任务 GetToExec(context.Context, *AgentGetToExecRequest) (*AgentGetToExecResponse, error) // 上报任务开始 ReportExecBegin(context.Context, *AgentReportExecBeginRequest) (*AgentReportExecBeginResponse, error) // 上报执行日志 ReportExecLog(context.Context, *AgentReportExecLogRequest) (*AgentReportExecLogResponse, error) // 上报任务结束 ReportExecEnd(context.Context, *AgentReportExecEndRequest) (*AgentReportExecEndResponse, error) // contains filtered or unexported methods }
DeployPlanAgentApiServer is the server API for DeployPlanAgentApi service. All implementations must embed UnimplementedDeployPlanAgentApiServer for forward compatibility
type DeployPlanApiClient ¶
type DeployPlanApiClient interface { // 创建部署计划 CreatePlan(ctx context.Context, in *CreatePlanRequest, opts ...grpc.CallOption) (*CreatePlanResponse, error) // 更新部署计划 UpdatePlan(ctx context.Context, in *UpdatePlanRequest, opts ...grpc.CallOption) (*UpdatePlanResponse, error) // 列出部署计划 ListPlan(ctx context.Context, in *ListPlanRequest, opts ...grpc.CallOption) (*ListPlanResponse, error) // 获取单个部署计划 GetPlan(ctx context.Context, in *GetPlanRequest, opts ...grpc.CallOption) (*GetPlanResponse, error) // 删除部署计划 RemovePlan(ctx context.Context, in *RemovePlanRequest, opts ...grpc.CallOption) (*RemovePlanResponse, error) // 执行部署 ExecPlan(ctx context.Context, in *ExecPlanRequest, opts ...grpc.CallOption) (*ExecPlanResponse, error) // 列出执行记录 ListExec(ctx context.Context, in *ListExecRequest, opts ...grpc.CallOption) (*ListExecResponse, error) // 查看执行日志 ReadExecLog(ctx context.Context, in *ReadExecLogRequest, opts ...grpc.CallOption) (DeployPlanApi_ReadExecLogClient, error) }
DeployPlanApiClient is the client API for DeployPlanApi 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 NewDeployPlanApiClient ¶
func NewDeployPlanApiClient(cc grpc.ClientConnInterface) DeployPlanApiClient
type DeployPlanApiServer ¶
type DeployPlanApiServer interface { // 创建部署计划 CreatePlan(context.Context, *CreatePlanRequest) (*CreatePlanResponse, error) // 更新部署计划 UpdatePlan(context.Context, *UpdatePlanRequest) (*UpdatePlanResponse, error) // 列出部署计划 ListPlan(context.Context, *ListPlanRequest) (*ListPlanResponse, error) // 获取单个部署计划 GetPlan(context.Context, *GetPlanRequest) (*GetPlanResponse, error) // 删除部署计划 RemovePlan(context.Context, *RemovePlanRequest) (*RemovePlanResponse, error) // 执行部署 ExecPlan(context.Context, *ExecPlanRequest) (*ExecPlanResponse, error) // 列出执行记录 ListExec(context.Context, *ListExecRequest) (*ListExecResponse, error) // 查看执行日志 ReadExecLog(*ReadExecLogRequest, DeployPlanApi_ReadExecLogServer) error // contains filtered or unexported methods }
DeployPlanApiServer is the server API for DeployPlanApi service. All implementations must embed UnimplementedDeployPlanApiServer for forward compatibility
type DeployPlanApi_ReadExecLogClient ¶
type DeployPlanApi_ReadExecLogClient interface { Recv() (*ReadExecLogResponse, error) grpc.ClientStream }
type DeployPlanApi_ReadExecLogServer ¶
type DeployPlanApi_ReadExecLogServer interface { Send(*ReadExecLogResponse) error grpc.ServerStream }
type ExecPlanRequest ¶
type ExecPlanRequest 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"` HostId string `protobuf:"bytes,3,opt,name=hostId,proto3" json:"hostId,omitempty"` // contains filtered or unexported fields }
func (*ExecPlanRequest) Descriptor
deprecated
func (*ExecPlanRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExecPlanRequest.ProtoReflect.Descriptor instead.
func (*ExecPlanRequest) GetAccessToken ¶
func (x *ExecPlanRequest) GetAccessToken() string
func (*ExecPlanRequest) GetDeployPlanId ¶
func (x *ExecPlanRequest) GetDeployPlanId() string
func (*ExecPlanRequest) GetHostId ¶
func (x *ExecPlanRequest) GetHostId() string
func (*ExecPlanRequest) ProtoMessage ¶
func (*ExecPlanRequest) ProtoMessage()
func (*ExecPlanRequest) ProtoReflect ¶
func (x *ExecPlanRequest) ProtoReflect() protoreflect.Message
func (*ExecPlanRequest) Reset ¶
func (x *ExecPlanRequest) Reset()
func (*ExecPlanRequest) String ¶
func (x *ExecPlanRequest) String() string
type ExecPlanResponse ¶
type ExecPlanResponse struct { Code ExecPlanResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=gitops_deploy_plan_api.ExecPlanResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` ExecId string `protobuf:"bytes,3,opt,name=execId,proto3" json:"execId,omitempty"` // contains filtered or unexported fields }
func (*ExecPlanResponse) Descriptor
deprecated
func (*ExecPlanResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExecPlanResponse.ProtoReflect.Descriptor instead.
func (*ExecPlanResponse) GetCode ¶
func (x *ExecPlanResponse) GetCode() ExecPlanResponse_CODE
func (*ExecPlanResponse) GetErrMsg ¶
func (x *ExecPlanResponse) GetErrMsg() string
func (*ExecPlanResponse) GetExecId ¶
func (x *ExecPlanResponse) GetExecId() string
func (*ExecPlanResponse) ProtoMessage ¶
func (*ExecPlanResponse) ProtoMessage()
func (*ExecPlanResponse) ProtoReflect ¶
func (x *ExecPlanResponse) ProtoReflect() protoreflect.Message
func (*ExecPlanResponse) Reset ¶
func (x *ExecPlanResponse) Reset()
func (*ExecPlanResponse) String ¶
func (x *ExecPlanResponse) String() string
type ExecPlanResponse_CODE ¶
type ExecPlanResponse_CODE int32
const ( ExecPlanResponse_CODE_OK ExecPlanResponse_CODE = 0 ExecPlanResponse_CODE_WRONG_ACCESS_TOKEN ExecPlanResponse_CODE = 1 ExecPlanResponse_CODE_NO_PERMISSION ExecPlanResponse_CODE = 2 ExecPlanResponse_CODE_NO_PLAN ExecPlanResponse_CODE = 3 ExecPlanResponse_CODE_NO_HOST ExecPlanResponse_CODE = 4 )
func (ExecPlanResponse_CODE) Descriptor ¶
func (ExecPlanResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (ExecPlanResponse_CODE) Enum ¶
func (x ExecPlanResponse_CODE) Enum() *ExecPlanResponse_CODE
func (ExecPlanResponse_CODE) EnumDescriptor
deprecated
func (ExecPlanResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExecPlanResponse_CODE.Descriptor instead.
func (ExecPlanResponse_CODE) Number ¶
func (x ExecPlanResponse_CODE) Number() protoreflect.EnumNumber
func (ExecPlanResponse_CODE) String ¶
func (x ExecPlanResponse_CODE) String() string
func (ExecPlanResponse_CODE) Type ¶
func (ExecPlanResponse_CODE) Type() protoreflect.EnumType
type GetPlanRequest ¶
type GetPlanRequest 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 (*GetPlanRequest) Descriptor
deprecated
func (*GetPlanRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPlanRequest.ProtoReflect.Descriptor instead.
func (*GetPlanRequest) GetAccessToken ¶
func (x *GetPlanRequest) GetAccessToken() string
func (*GetPlanRequest) GetDeployPlanId ¶
func (x *GetPlanRequest) GetDeployPlanId() string
func (*GetPlanRequest) ProtoMessage ¶
func (*GetPlanRequest) ProtoMessage()
func (*GetPlanRequest) ProtoReflect ¶
func (x *GetPlanRequest) ProtoReflect() protoreflect.Message
func (*GetPlanRequest) Reset ¶
func (x *GetPlanRequest) Reset()
func (*GetPlanRequest) String ¶
func (x *GetPlanRequest) String() string
type GetPlanResponse ¶
type GetPlanResponse struct { Code GetPlanResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=gitops_deploy_plan_api.GetPlanResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` DeployPlan *PlanInfo `protobuf:"bytes,3,opt,name=deployPlan,proto3" json:"deployPlan,omitempty"` // contains filtered or unexported fields }
func (*GetPlanResponse) Descriptor
deprecated
func (*GetPlanResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPlanResponse.ProtoReflect.Descriptor instead.
func (*GetPlanResponse) GetCode ¶
func (x *GetPlanResponse) GetCode() GetPlanResponse_CODE
func (*GetPlanResponse) GetDeployPlan ¶
func (x *GetPlanResponse) GetDeployPlan() *PlanInfo
func (*GetPlanResponse) GetErrMsg ¶
func (x *GetPlanResponse) GetErrMsg() string
func (*GetPlanResponse) ProtoMessage ¶
func (*GetPlanResponse) ProtoMessage()
func (*GetPlanResponse) ProtoReflect ¶
func (x *GetPlanResponse) ProtoReflect() protoreflect.Message
func (*GetPlanResponse) Reset ¶
func (x *GetPlanResponse) Reset()
func (*GetPlanResponse) String ¶
func (x *GetPlanResponse) String() string
type GetPlanResponse_CODE ¶
type GetPlanResponse_CODE int32
const ( GetPlanResponse_CODE_OK GetPlanResponse_CODE = 0 GetPlanResponse_CODE_WRONG_ACCESS_TOKEN GetPlanResponse_CODE = 1 GetPlanResponse_CODE_NO_PERMISSION GetPlanResponse_CODE = 2 GetPlanResponse_CODE_NO_PLAN GetPlanResponse_CODE = 3 )
func (GetPlanResponse_CODE) Descriptor ¶
func (GetPlanResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (GetPlanResponse_CODE) Enum ¶
func (x GetPlanResponse_CODE) Enum() *GetPlanResponse_CODE
func (GetPlanResponse_CODE) EnumDescriptor
deprecated
func (GetPlanResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetPlanResponse_CODE.Descriptor instead.
func (GetPlanResponse_CODE) Number ¶
func (x GetPlanResponse_CODE) Number() protoreflect.EnumNumber
func (GetPlanResponse_CODE) String ¶
func (x GetPlanResponse_CODE) String() string
func (GetPlanResponse_CODE) Type ¶
func (GetPlanResponse_CODE) Type() protoreflect.EnumType
type ListExecRequest ¶
type ListExecRequest 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"` FilterByHostId bool `protobuf:"varint,3,opt,name=filterByHostId,proto3" json:"filterByHostId,omitempty"` HostId string `protobuf:"bytes,4,opt,name=hostId,proto3" json:"hostId,omitempty"` // contains filtered or unexported fields }
func (*ListExecRequest) Descriptor
deprecated
func (*ListExecRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListExecRequest.ProtoReflect.Descriptor instead.
func (*ListExecRequest) GetAccessToken ¶
func (x *ListExecRequest) GetAccessToken() string
func (*ListExecRequest) GetDeployPlanId ¶
func (x *ListExecRequest) GetDeployPlanId() string
func (*ListExecRequest) GetFilterByHostId ¶
func (x *ListExecRequest) GetFilterByHostId() bool
func (*ListExecRequest) GetHostId ¶
func (x *ListExecRequest) GetHostId() string
func (*ListExecRequest) ProtoMessage ¶
func (*ListExecRequest) ProtoMessage()
func (*ListExecRequest) ProtoReflect ¶
func (x *ListExecRequest) ProtoReflect() protoreflect.Message
func (*ListExecRequest) Reset ¶
func (x *ListExecRequest) Reset()
func (*ListExecRequest) String ¶
func (x *ListExecRequest) String() string
type ListExecResponse ¶
type ListExecResponse struct { Code ListExecResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=gitops_deploy_plan_api.ListExecResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` TotalCount uint32 `protobuf:"varint,3,opt,name=totalCount,proto3" json:"totalCount,omitempty"` PlanExecList []*PlanExecInfo `protobuf:"bytes,4,rep,name=planExecList,proto3" json:"planExecList,omitempty"` // contains filtered or unexported fields }
func (*ListExecResponse) Descriptor
deprecated
func (*ListExecResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListExecResponse.ProtoReflect.Descriptor instead.
func (*ListExecResponse) GetCode ¶
func (x *ListExecResponse) GetCode() ListExecResponse_CODE
func (*ListExecResponse) GetErrMsg ¶
func (x *ListExecResponse) GetErrMsg() string
func (*ListExecResponse) GetPlanExecList ¶
func (x *ListExecResponse) GetPlanExecList() []*PlanExecInfo
func (*ListExecResponse) GetTotalCount ¶
func (x *ListExecResponse) GetTotalCount() uint32
func (*ListExecResponse) ProtoMessage ¶
func (*ListExecResponse) ProtoMessage()
func (*ListExecResponse) ProtoReflect ¶
func (x *ListExecResponse) ProtoReflect() protoreflect.Message
func (*ListExecResponse) Reset ¶
func (x *ListExecResponse) Reset()
func (*ListExecResponse) String ¶
func (x *ListExecResponse) String() string
type ListExecResponse_CODE ¶
type ListExecResponse_CODE int32
const ( ListExecResponse_CODE_OK ListExecResponse_CODE = 0 ListExecResponse_CODE_WRONG_ACCESS_TOKEN ListExecResponse_CODE = 1 ListExecResponse_CODE_NO_PERMISSION ListExecResponse_CODE = 2 ListExecResponse_CODE_NO_PLAN ListExecResponse_CODE = 3 )
func (ListExecResponse_CODE) Descriptor ¶
func (ListExecResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (ListExecResponse_CODE) Enum ¶
func (x ListExecResponse_CODE) Enum() *ListExecResponse_CODE
func (ListExecResponse_CODE) EnumDescriptor
deprecated
func (ListExecResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use ListExecResponse_CODE.Descriptor instead.
func (ListExecResponse_CODE) Number ¶
func (x ListExecResponse_CODE) Number() protoreflect.EnumNumber
func (ListExecResponse_CODE) String ¶
func (x ListExecResponse_CODE) String() string
func (ListExecResponse_CODE) Type ¶
func (ListExecResponse_CODE) Type() protoreflect.EnumType
type ListPlanRequest ¶
type ListPlanRequest struct { AccessToken string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"` // contains filtered or unexported fields }
func (*ListPlanRequest) Descriptor
deprecated
func (*ListPlanRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPlanRequest.ProtoReflect.Descriptor instead.
func (*ListPlanRequest) GetAccessToken ¶
func (x *ListPlanRequest) GetAccessToken() string
func (*ListPlanRequest) ProtoMessage ¶
func (*ListPlanRequest) ProtoMessage()
func (*ListPlanRequest) ProtoReflect ¶
func (x *ListPlanRequest) ProtoReflect() protoreflect.Message
func (*ListPlanRequest) Reset ¶
func (x *ListPlanRequest) Reset()
func (*ListPlanRequest) String ¶
func (x *ListPlanRequest) String() string
type ListPlanResponse ¶
type ListPlanResponse struct { Code ListPlanResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=gitops_deploy_plan_api.ListPlanResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` DeployPlanList []*PlanInfo `protobuf:"bytes,3,rep,name=deployPlanList,proto3" json:"deployPlanList,omitempty"` // contains filtered or unexported fields }
func (*ListPlanResponse) Descriptor
deprecated
func (*ListPlanResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPlanResponse.ProtoReflect.Descriptor instead.
func (*ListPlanResponse) GetCode ¶
func (x *ListPlanResponse) GetCode() ListPlanResponse_CODE
func (*ListPlanResponse) GetDeployPlanList ¶
func (x *ListPlanResponse) GetDeployPlanList() []*PlanInfo
func (*ListPlanResponse) GetErrMsg ¶
func (x *ListPlanResponse) GetErrMsg() string
func (*ListPlanResponse) ProtoMessage ¶
func (*ListPlanResponse) ProtoMessage()
func (*ListPlanResponse) ProtoReflect ¶
func (x *ListPlanResponse) ProtoReflect() protoreflect.Message
func (*ListPlanResponse) Reset ¶
func (x *ListPlanResponse) Reset()
func (*ListPlanResponse) String ¶
func (x *ListPlanResponse) String() string
type ListPlanResponse_CODE ¶
type ListPlanResponse_CODE int32
const ( ListPlanResponse_CODE_OK ListPlanResponse_CODE = 0 ListPlanResponse_CODE_WRONG_ACCESS_TOKEN ListPlanResponse_CODE = 1 ListPlanResponse_CODE_NO_PERMISSION ListPlanResponse_CODE = 2 )
func (ListPlanResponse_CODE) Descriptor ¶
func (ListPlanResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (ListPlanResponse_CODE) Enum ¶
func (x ListPlanResponse_CODE) Enum() *ListPlanResponse_CODE
func (ListPlanResponse_CODE) EnumDescriptor
deprecated
func (ListPlanResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use ListPlanResponse_CODE.Descriptor instead.
func (ListPlanResponse_CODE) Number ¶
func (x ListPlanResponse_CODE) Number() protoreflect.EnumNumber
func (ListPlanResponse_CODE) String ¶
func (x ListPlanResponse_CODE) String() string
func (ListPlanResponse_CODE) Type ¶
func (ListPlanResponse_CODE) Type() protoreflect.EnumType
type PlanExecInfo ¶
type PlanExecInfo struct { ExecId string `protobuf:"bytes,1,opt,name=execId,proto3" json:"execId,omitempty"` ExecUserName string `protobuf:"bytes,2,opt,name=execUserName,proto3" json:"execUserName,omitempty"` TimeStamp int64 `protobuf:"varint,3,opt,name=timeStamp,proto3" json:"timeStamp,omitempty"` Success bool `protobuf:"varint,4,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*PlanExecInfo) Descriptor
deprecated
func (*PlanExecInfo) Descriptor() ([]byte, []int)
Deprecated: Use PlanExecInfo.ProtoReflect.Descriptor instead.
func (*PlanExecInfo) GetExecId ¶
func (x *PlanExecInfo) GetExecId() string
func (*PlanExecInfo) GetExecUserName ¶
func (x *PlanExecInfo) GetExecUserName() string
func (*PlanExecInfo) GetSuccess ¶
func (x *PlanExecInfo) GetSuccess() bool
func (*PlanExecInfo) GetTimeStamp ¶
func (x *PlanExecInfo) GetTimeStamp() int64
func (*PlanExecInfo) ProtoMessage ¶
func (*PlanExecInfo) ProtoMessage()
func (*PlanExecInfo) ProtoReflect ¶
func (x *PlanExecInfo) ProtoReflect() protoreflect.Message
func (*PlanExecInfo) Reset ¶
func (x *PlanExecInfo) Reset()
func (*PlanExecInfo) String ¶
func (x *PlanExecInfo) String() string
type PlanInfo ¶
type PlanInfo struct { DeployPlanId string `protobuf:"bytes,1,opt,name=deployPlanId,proto3" json:"deployPlanId,omitempty"` BasicInfo *BasicPlanInfo `protobuf:"bytes,2,opt,name=basicInfo,proto3" json:"basicInfo,omitempty"` GitUrl string `protobuf:"bytes,3,opt,name=gitUrl,proto3" json:"gitUrl,omitempty"` HasMount bool `protobuf:"varint,4,opt,name=hasMount,proto3" json:"hasMount,omitempty"` // contains filtered or unexported fields }
func (*PlanInfo) GetBasicInfo ¶
func (x *PlanInfo) GetBasicInfo() *BasicPlanInfo
func (*PlanInfo) ProtoReflect ¶
func (x *PlanInfo) ProtoReflect() protoreflect.Message
type ReadExecLogRequest ¶
type ReadExecLogRequest 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"` ExecId string `protobuf:"bytes,3,opt,name=execId,proto3" json:"execId,omitempty"` // contains filtered or unexported fields }
func (*ReadExecLogRequest) Descriptor
deprecated
func (*ReadExecLogRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadExecLogRequest.ProtoReflect.Descriptor instead.
func (*ReadExecLogRequest) GetAccessToken ¶
func (x *ReadExecLogRequest) GetAccessToken() string
func (*ReadExecLogRequest) GetDeployPlanId ¶
func (x *ReadExecLogRequest) GetDeployPlanId() string
func (*ReadExecLogRequest) GetExecId ¶
func (x *ReadExecLogRequest) GetExecId() string
func (*ReadExecLogRequest) ProtoMessage ¶
func (*ReadExecLogRequest) ProtoMessage()
func (*ReadExecLogRequest) ProtoReflect ¶
func (x *ReadExecLogRequest) ProtoReflect() protoreflect.Message
func (*ReadExecLogRequest) Reset ¶
func (x *ReadExecLogRequest) Reset()
func (*ReadExecLogRequest) String ¶
func (x *ReadExecLogRequest) String() string
type ReadExecLogResponse ¶
type ReadExecLogResponse struct { Code ReadExecLogResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=gitops_deploy_plan_api.ReadExecLogResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` LogLine string `protobuf:"bytes,3,opt,name=logLine,proto3" json:"logLine,omitempty"` // contains filtered or unexported fields }
func (*ReadExecLogResponse) Descriptor
deprecated
func (*ReadExecLogResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadExecLogResponse.ProtoReflect.Descriptor instead.
func (*ReadExecLogResponse) GetCode ¶
func (x *ReadExecLogResponse) GetCode() ReadExecLogResponse_CODE
func (*ReadExecLogResponse) GetErrMsg ¶
func (x *ReadExecLogResponse) GetErrMsg() string
func (*ReadExecLogResponse) GetLogLine ¶
func (x *ReadExecLogResponse) GetLogLine() string
func (*ReadExecLogResponse) ProtoMessage ¶
func (*ReadExecLogResponse) ProtoMessage()
func (*ReadExecLogResponse) ProtoReflect ¶
func (x *ReadExecLogResponse) ProtoReflect() protoreflect.Message
func (*ReadExecLogResponse) Reset ¶
func (x *ReadExecLogResponse) Reset()
func (*ReadExecLogResponse) String ¶
func (x *ReadExecLogResponse) String() string
type ReadExecLogResponse_CODE ¶
type ReadExecLogResponse_CODE int32
const ( ReadExecLogResponse_CODE_OK ReadExecLogResponse_CODE = 0 ReadExecLogResponse_CODE_WRONG_ACCESS_TOKEN ReadExecLogResponse_CODE = 1 ReadExecLogResponse_CODE_NO_PERMISSION ReadExecLogResponse_CODE = 2 ReadExecLogResponse_CODE_NO_PLAN ReadExecLogResponse_CODE = 3 ReadExecLogResponse_CODE_NO_EXEC ReadExecLogResponse_CODE = 4 )
func (ReadExecLogResponse_CODE) Descriptor ¶
func (ReadExecLogResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (ReadExecLogResponse_CODE) Enum ¶
func (x ReadExecLogResponse_CODE) Enum() *ReadExecLogResponse_CODE
func (ReadExecLogResponse_CODE) EnumDescriptor
deprecated
func (ReadExecLogResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use ReadExecLogResponse_CODE.Descriptor instead.
func (ReadExecLogResponse_CODE) Number ¶
func (x ReadExecLogResponse_CODE) Number() protoreflect.EnumNumber
func (ReadExecLogResponse_CODE) String ¶
func (x ReadExecLogResponse_CODE) String() string
func (ReadExecLogResponse_CODE) Type ¶
func (ReadExecLogResponse_CODE) Type() protoreflect.EnumType
type RemovePlanRequest ¶
type RemovePlanRequest 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 (*RemovePlanRequest) Descriptor
deprecated
func (*RemovePlanRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemovePlanRequest.ProtoReflect.Descriptor instead.
func (*RemovePlanRequest) GetAccessToken ¶
func (x *RemovePlanRequest) GetAccessToken() string
func (*RemovePlanRequest) GetDeployPlanId ¶
func (x *RemovePlanRequest) GetDeployPlanId() string
func (*RemovePlanRequest) ProtoMessage ¶
func (*RemovePlanRequest) ProtoMessage()
func (*RemovePlanRequest) ProtoReflect ¶
func (x *RemovePlanRequest) ProtoReflect() protoreflect.Message
func (*RemovePlanRequest) Reset ¶
func (x *RemovePlanRequest) Reset()
func (*RemovePlanRequest) String ¶
func (x *RemovePlanRequest) String() string
type RemovePlanResponse ¶
type RemovePlanResponse struct { Code RemovePlanResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=gitops_deploy_plan_api.RemovePlanResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` // contains filtered or unexported fields }
func (*RemovePlanResponse) Descriptor
deprecated
func (*RemovePlanResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemovePlanResponse.ProtoReflect.Descriptor instead.
func (*RemovePlanResponse) GetCode ¶
func (x *RemovePlanResponse) GetCode() RemovePlanResponse_CODE
func (*RemovePlanResponse) GetErrMsg ¶
func (x *RemovePlanResponse) GetErrMsg() string
func (*RemovePlanResponse) ProtoMessage ¶
func (*RemovePlanResponse) ProtoMessage()
func (*RemovePlanResponse) ProtoReflect ¶
func (x *RemovePlanResponse) ProtoReflect() protoreflect.Message
func (*RemovePlanResponse) Reset ¶
func (x *RemovePlanResponse) Reset()
func (*RemovePlanResponse) String ¶
func (x *RemovePlanResponse) String() string
type RemovePlanResponse_CODE ¶
type RemovePlanResponse_CODE int32
const ( RemovePlanResponse_CODE_OK RemovePlanResponse_CODE = 0 RemovePlanResponse_CODE_WRONG_ACCESS_TOKEN RemovePlanResponse_CODE = 1 RemovePlanResponse_CODE_NO_PERMISSION RemovePlanResponse_CODE = 2 RemovePlanResponse_CODE_NO_PLAN RemovePlanResponse_CODE = 3 )
func (RemovePlanResponse_CODE) Descriptor ¶
func (RemovePlanResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (RemovePlanResponse_CODE) Enum ¶
func (x RemovePlanResponse_CODE) Enum() *RemovePlanResponse_CODE
func (RemovePlanResponse_CODE) EnumDescriptor
deprecated
func (RemovePlanResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use RemovePlanResponse_CODE.Descriptor instead.
func (RemovePlanResponse_CODE) Number ¶
func (x RemovePlanResponse_CODE) Number() protoreflect.EnumNumber
func (RemovePlanResponse_CODE) String ¶
func (x RemovePlanResponse_CODE) String() string
func (RemovePlanResponse_CODE) Type ¶
func (RemovePlanResponse_CODE) Type() protoreflect.EnumType
type UnimplementedDeployPlanAgentApiServer ¶
type UnimplementedDeployPlanAgentApiServer struct { }
UnimplementedDeployPlanAgentApiServer must be embedded to have forward compatible implementations.
func (UnimplementedDeployPlanAgentApiServer) GetToExec ¶
func (UnimplementedDeployPlanAgentApiServer) GetToExec(context.Context, *AgentGetToExecRequest) (*AgentGetToExecResponse, error)
func (UnimplementedDeployPlanAgentApiServer) ReportExecBegin ¶
func (UnimplementedDeployPlanAgentApiServer) ReportExecBegin(context.Context, *AgentReportExecBeginRequest) (*AgentReportExecBeginResponse, error)
func (UnimplementedDeployPlanAgentApiServer) ReportExecEnd ¶
func (UnimplementedDeployPlanAgentApiServer) ReportExecEnd(context.Context, *AgentReportExecEndRequest) (*AgentReportExecEndResponse, error)
func (UnimplementedDeployPlanAgentApiServer) ReportExecLog ¶
func (UnimplementedDeployPlanAgentApiServer) ReportExecLog(context.Context, *AgentReportExecLogRequest) (*AgentReportExecLogResponse, error)
type UnimplementedDeployPlanApiServer ¶
type UnimplementedDeployPlanApiServer struct { }
UnimplementedDeployPlanApiServer must be embedded to have forward compatible implementations.
func (UnimplementedDeployPlanApiServer) CreatePlan ¶
func (UnimplementedDeployPlanApiServer) CreatePlan(context.Context, *CreatePlanRequest) (*CreatePlanResponse, error)
func (UnimplementedDeployPlanApiServer) ExecPlan ¶
func (UnimplementedDeployPlanApiServer) ExecPlan(context.Context, *ExecPlanRequest) (*ExecPlanResponse, error)
func (UnimplementedDeployPlanApiServer) GetPlan ¶
func (UnimplementedDeployPlanApiServer) GetPlan(context.Context, *GetPlanRequest) (*GetPlanResponse, error)
func (UnimplementedDeployPlanApiServer) ListExec ¶
func (UnimplementedDeployPlanApiServer) ListExec(context.Context, *ListExecRequest) (*ListExecResponse, error)
func (UnimplementedDeployPlanApiServer) ListPlan ¶
func (UnimplementedDeployPlanApiServer) ListPlan(context.Context, *ListPlanRequest) (*ListPlanResponse, error)
func (UnimplementedDeployPlanApiServer) ReadExecLog ¶
func (UnimplementedDeployPlanApiServer) ReadExecLog(*ReadExecLogRequest, DeployPlanApi_ReadExecLogServer) error
func (UnimplementedDeployPlanApiServer) RemovePlan ¶
func (UnimplementedDeployPlanApiServer) RemovePlan(context.Context, *RemovePlanRequest) (*RemovePlanResponse, error)
func (UnimplementedDeployPlanApiServer) UpdatePlan ¶
func (UnimplementedDeployPlanApiServer) UpdatePlan(context.Context, *UpdatePlanRequest) (*UpdatePlanResponse, error)
type UnsafeDeployPlanAgentApiServer ¶
type UnsafeDeployPlanAgentApiServer interface {
// contains filtered or unexported methods
}
UnsafeDeployPlanAgentApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DeployPlanAgentApiServer will result in compilation errors.
type UnsafeDeployPlanApiServer ¶
type UnsafeDeployPlanApiServer interface {
// contains filtered or unexported methods
}
UnsafeDeployPlanApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DeployPlanApiServer will result in compilation errors.
type UpdatePlanRequest ¶
type UpdatePlanRequest 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"` BasicInfo *BasicPlanInfo `protobuf:"bytes,3,opt,name=basicInfo,proto3" json:"basicInfo,omitempty"` // contains filtered or unexported fields }
func (*UpdatePlanRequest) Descriptor
deprecated
func (*UpdatePlanRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePlanRequest.ProtoReflect.Descriptor instead.
func (*UpdatePlanRequest) GetAccessToken ¶
func (x *UpdatePlanRequest) GetAccessToken() string
func (*UpdatePlanRequest) GetBasicInfo ¶
func (x *UpdatePlanRequest) GetBasicInfo() *BasicPlanInfo
func (*UpdatePlanRequest) GetDeployPlanId ¶
func (x *UpdatePlanRequest) GetDeployPlanId() string
func (*UpdatePlanRequest) ProtoMessage ¶
func (*UpdatePlanRequest) ProtoMessage()
func (*UpdatePlanRequest) ProtoReflect ¶
func (x *UpdatePlanRequest) ProtoReflect() protoreflect.Message
func (*UpdatePlanRequest) Reset ¶
func (x *UpdatePlanRequest) Reset()
func (*UpdatePlanRequest) String ¶
func (x *UpdatePlanRequest) String() string
type UpdatePlanResponse ¶
type UpdatePlanResponse struct { Code UpdatePlanResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=gitops_deploy_plan_api.UpdatePlanResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` // contains filtered or unexported fields }
func (*UpdatePlanResponse) Descriptor
deprecated
func (*UpdatePlanResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePlanResponse.ProtoReflect.Descriptor instead.
func (*UpdatePlanResponse) GetCode ¶
func (x *UpdatePlanResponse) GetCode() UpdatePlanResponse_CODE
func (*UpdatePlanResponse) GetErrMsg ¶
func (x *UpdatePlanResponse) GetErrMsg() string
func (*UpdatePlanResponse) ProtoMessage ¶
func (*UpdatePlanResponse) ProtoMessage()
func (*UpdatePlanResponse) ProtoReflect ¶
func (x *UpdatePlanResponse) ProtoReflect() protoreflect.Message
func (*UpdatePlanResponse) Reset ¶
func (x *UpdatePlanResponse) Reset()
func (*UpdatePlanResponse) String ¶
func (x *UpdatePlanResponse) String() string
type UpdatePlanResponse_CODE ¶
type UpdatePlanResponse_CODE int32
const ( UpdatePlanResponse_CODE_OK UpdatePlanResponse_CODE = 0 UpdatePlanResponse_CODE_WRONG_ACCESS_TOKEN UpdatePlanResponse_CODE = 1 UpdatePlanResponse_CODE_NO_PERMISSION UpdatePlanResponse_CODE = 2 UpdatePlanResponse_CODE_NO_PLAN UpdatePlanResponse_CODE = 3 )
func (UpdatePlanResponse_CODE) Descriptor ¶
func (UpdatePlanResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (UpdatePlanResponse_CODE) Enum ¶
func (x UpdatePlanResponse_CODE) Enum() *UpdatePlanResponse_CODE
func (UpdatePlanResponse_CODE) EnumDescriptor
deprecated
func (UpdatePlanResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use UpdatePlanResponse_CODE.Descriptor instead.
func (UpdatePlanResponse_CODE) Number ¶
func (x UpdatePlanResponse_CODE) Number() protoreflect.EnumNumber
func (UpdatePlanResponse_CODE) String ¶
func (x UpdatePlanResponse_CODE) String() string
func (UpdatePlanResponse_CODE) Type ¶
func (UpdatePlanResponse_CODE) Type() protoreflect.EnumType