gitops_deploy_plan_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 (
	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"
)
View Source
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

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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)

View Source
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)

View Source
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 (*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) Enum

func (AgentGetToExecResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use AgentGetToExecResponse_CODE.Descriptor instead.

func (AgentGetToExecResponse_CODE) Number

func (AgentGetToExecResponse_CODE) String

func (AgentGetToExecResponse_CODE) Type

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 (*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 (*AgentReportExecBeginResponse) GetErrMsg

func (x *AgentReportExecBeginResponse) GetErrMsg() string

func (*AgentReportExecBeginResponse) ProtoMessage

func (*AgentReportExecBeginResponse) ProtoMessage()

func (*AgentReportExecBeginResponse) ProtoReflect

func (*AgentReportExecBeginResponse) Reset

func (x *AgentReportExecBeginResponse) Reset()

func (*AgentReportExecBeginResponse) 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) Enum

func (AgentReportExecBeginResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use AgentReportExecBeginResponse_CODE.Descriptor instead.

func (AgentReportExecBeginResponse_CODE) Number

func (AgentReportExecBeginResponse_CODE) String

func (AgentReportExecBeginResponse_CODE) Type

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 (*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 (*AgentReportExecEndResponse) GetErrMsg

func (x *AgentReportExecEndResponse) GetErrMsg() string

func (*AgentReportExecEndResponse) ProtoMessage

func (*AgentReportExecEndResponse) ProtoMessage()

func (*AgentReportExecEndResponse) ProtoReflect

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) Enum

func (AgentReportExecEndResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use AgentReportExecEndResponse_CODE.Descriptor instead.

func (AgentReportExecEndResponse_CODE) Number

func (AgentReportExecEndResponse_CODE) String

func (AgentReportExecEndResponse_CODE) Type

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 (*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 (*AgentReportExecLogResponse) GetErrMsg

func (x *AgentReportExecLogResponse) GetErrMsg() string

func (*AgentReportExecLogResponse) ProtoMessage

func (*AgentReportExecLogResponse) ProtoMessage()

func (*AgentReportExecLogResponse) ProtoReflect

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) Enum

func (AgentReportExecLogResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use AgentReportExecLogResponse_CODE.Descriptor instead.

func (AgentReportExecLogResponse_CODE) Number

func (AgentReportExecLogResponse_CODE) String

func (AgentReportExecLogResponse_CODE) Type

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 (*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) Enum

func (CreatePlanResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use CreatePlanResponse_CODE.Descriptor instead.

func (CreatePlanResponse_CODE) Number

func (CreatePlanResponse_CODE) String

func (x CreatePlanResponse_CODE) String() string

func (CreatePlanResponse_CODE) Type

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 (*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) Enum

func (ExecPlanResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use ExecPlanResponse_CODE.Descriptor instead.

func (ExecPlanResponse_CODE) Number

func (ExecPlanResponse_CODE) String

func (x ExecPlanResponse_CODE) String() string

func (ExecPlanResponse_CODE) Type

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 (*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) Enum

func (GetPlanResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use GetPlanResponse_CODE.Descriptor instead.

func (GetPlanResponse_CODE) Number

func (GetPlanResponse_CODE) String

func (x GetPlanResponse_CODE) String() string

func (GetPlanResponse_CODE) Type

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 (*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) Enum

func (ListExecResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use ListExecResponse_CODE.Descriptor instead.

func (ListExecResponse_CODE) Number

func (ListExecResponse_CODE) String

func (x ListExecResponse_CODE) String() string

func (ListExecResponse_CODE) Type

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 (*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) Enum

func (ListPlanResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use ListPlanResponse_CODE.Descriptor instead.

func (ListPlanResponse_CODE) Number

func (ListPlanResponse_CODE) String

func (x ListPlanResponse_CODE) String() string

func (ListPlanResponse_CODE) Type

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) Descriptor deprecated

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

Deprecated: Use PlanInfo.ProtoReflect.Descriptor instead.

func (*PlanInfo) GetBasicInfo

func (x *PlanInfo) GetBasicInfo() *BasicPlanInfo

func (*PlanInfo) GetDeployPlanId

func (x *PlanInfo) GetDeployPlanId() string

func (*PlanInfo) GetGitUrl

func (x *PlanInfo) GetGitUrl() string

func (*PlanInfo) GetHasMount

func (x *PlanInfo) GetHasMount() bool

func (*PlanInfo) ProtoMessage

func (*PlanInfo) ProtoMessage()

func (*PlanInfo) ProtoReflect

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

func (*PlanInfo) Reset

func (x *PlanInfo) Reset()

func (*PlanInfo) String

func (x *PlanInfo) String() string

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 (*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) Enum

func (ReadExecLogResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use ReadExecLogResponse_CODE.Descriptor instead.

func (ReadExecLogResponse_CODE) Number

func (ReadExecLogResponse_CODE) String

func (x ReadExecLogResponse_CODE) String() string

func (ReadExecLogResponse_CODE) Type

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 (*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) Enum

func (RemovePlanResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use RemovePlanResponse_CODE.Descriptor instead.

func (RemovePlanResponse_CODE) Number

func (RemovePlanResponse_CODE) String

func (x RemovePlanResponse_CODE) String() string

func (RemovePlanResponse_CODE) Type

type UnimplementedDeployPlanAgentApiServer

type UnimplementedDeployPlanAgentApiServer struct {
}

UnimplementedDeployPlanAgentApiServer must be embedded to have forward compatible implementations.

func (UnimplementedDeployPlanAgentApiServer) GetToExec

func (UnimplementedDeployPlanAgentApiServer) ReportExecBegin

func (UnimplementedDeployPlanAgentApiServer) ReportExecEnd

func (UnimplementedDeployPlanAgentApiServer) ReportExecLog

type UnimplementedDeployPlanApiServer

type UnimplementedDeployPlanApiServer struct {
}

UnimplementedDeployPlanApiServer must be embedded to have forward compatible implementations.

func (UnimplementedDeployPlanApiServer) CreatePlan

func (UnimplementedDeployPlanApiServer) ExecPlan

func (UnimplementedDeployPlanApiServer) GetPlan

func (UnimplementedDeployPlanApiServer) ListExec

func (UnimplementedDeployPlanApiServer) ListPlan

func (UnimplementedDeployPlanApiServer) ReadExecLog

func (UnimplementedDeployPlanApiServer) RemovePlan

func (UnimplementedDeployPlanApiServer) UpdatePlan

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 (*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) Enum

func (UpdatePlanResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use UpdatePlanResponse_CODE.Descriptor instead.

func (UpdatePlanResponse_CODE) Number

func (UpdatePlanResponse_CODE) String

func (x UpdatePlanResponse_CODE) String() string

func (UpdatePlanResponse_CODE) Type

Jump to

Keyboard shortcuts

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