Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterDeployHostAgentApiServer(s grpc.ServiceRegistrar, srv DeployHostAgentApiServer)
- func RegisterDeployHostApiServer(s grpc.ServiceRegistrar, srv DeployHostApiServer)
- type AgentGetPreSignDataRequest
- func (*AgentGetPreSignDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AgentGetPreSignDataRequest) GetHostId() string
- func (*AgentGetPreSignDataRequest) ProtoMessage()
- func (x *AgentGetPreSignDataRequest) ProtoReflect() protoreflect.Message
- func (x *AgentGetPreSignDataRequest) Reset()
- func (x *AgentGetPreSignDataRequest) String() string
- type AgentGetPreSignDataResponse
- func (*AgentGetPreSignDataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AgentGetPreSignDataResponse) GetCode() AgentGetPreSignDataResponse_CODE
- func (x *AgentGetPreSignDataResponse) GetErrMsg() string
- func (x *AgentGetPreSignDataResponse) GetPreSignData() string
- func (*AgentGetPreSignDataResponse) ProtoMessage()
- func (x *AgentGetPreSignDataResponse) ProtoReflect() protoreflect.Message
- func (x *AgentGetPreSignDataResponse) Reset()
- func (x *AgentGetPreSignDataResponse) String() string
- type AgentGetPreSignDataResponse_CODE
- func (AgentGetPreSignDataResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x AgentGetPreSignDataResponse_CODE) Enum() *AgentGetPreSignDataResponse_CODE
- func (AgentGetPreSignDataResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x AgentGetPreSignDataResponse_CODE) Number() protoreflect.EnumNumber
- func (x AgentGetPreSignDataResponse_CODE) String() string
- func (AgentGetPreSignDataResponse_CODE) Type() protoreflect.EnumType
- type AgentJoinRequest
- func (*AgentJoinRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AgentJoinRequest) GetHostId() string
- func (x *AgentJoinRequest) GetHostName() string
- func (x *AgentJoinRequest) GetJoinToken() string
- func (x *AgentJoinRequest) GetPubKey() string
- func (*AgentJoinRequest) ProtoMessage()
- func (x *AgentJoinRequest) ProtoReflect() protoreflect.Message
- func (x *AgentJoinRequest) Reset()
- func (x *AgentJoinRequest) String() string
- type AgentJoinResponse
- func (*AgentJoinResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AgentJoinResponse) GetCode() AgentJoinResponse_CODE
- func (x *AgentJoinResponse) GetDeployPlanId() string
- func (x *AgentJoinResponse) GetErrMsg() string
- func (*AgentJoinResponse) ProtoMessage()
- func (x *AgentJoinResponse) ProtoReflect() protoreflect.Message
- func (x *AgentJoinResponse) Reset()
- func (x *AgentJoinResponse) String() string
- type AgentJoinResponse_CODE
- func (AgentJoinResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x AgentJoinResponse_CODE) Enum() *AgentJoinResponse_CODE
- func (AgentJoinResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x AgentJoinResponse_CODE) Number() protoreflect.EnumNumber
- func (x AgentJoinResponse_CODE) String() string
- func (AgentJoinResponse_CODE) Type() protoreflect.EnumType
- type AgentKeepAliveRequest
- func (*AgentKeepAliveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AgentKeepAliveRequest) GetBlob() []byte
- func (x *AgentKeepAliveRequest) GetFormat() string
- func (x *AgentKeepAliveRequest) GetHostId() string
- func (x *AgentKeepAliveRequest) GetPreSignData() string
- func (x *AgentKeepAliveRequest) GetRest() []byte
- func (*AgentKeepAliveRequest) ProtoMessage()
- func (x *AgentKeepAliveRequest) ProtoReflect() protoreflect.Message
- func (x *AgentKeepAliveRequest) Reset()
- func (x *AgentKeepAliveRequest) String() string
- type AgentKeepAliveResponse
- func (*AgentKeepAliveResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AgentKeepAliveResponse) GetCode() AgentKeepAliveResponse_CODE
- func (x *AgentKeepAliveResponse) GetErrMsg() string
- func (*AgentKeepAliveResponse) ProtoMessage()
- func (x *AgentKeepAliveResponse) ProtoReflect() protoreflect.Message
- func (x *AgentKeepAliveResponse) Reset()
- func (x *AgentKeepAliveResponse) String() string
- type AgentKeepAliveResponse_CODE
- func (AgentKeepAliveResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x AgentKeepAliveResponse_CODE) Enum() *AgentKeepAliveResponse_CODE
- func (AgentKeepAliveResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x AgentKeepAliveResponse_CODE) Number() protoreflect.EnumNumber
- func (x AgentKeepAliveResponse_CODE) String() string
- func (AgentKeepAliveResponse_CODE) Type() protoreflect.EnumType
- type DeployHostAgentApiClient
- type DeployHostAgentApiServer
- type DeployHostApiClient
- type DeployHostApiServer
- type GenJoinTokenRequest
- func (*GenJoinTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GenJoinTokenRequest) GetAccessToken() string
- func (*GenJoinTokenRequest) ProtoMessage()
- func (x *GenJoinTokenRequest) ProtoReflect() protoreflect.Message
- func (x *GenJoinTokenRequest) Reset()
- func (x *GenJoinTokenRequest) String() string
- type GenJoinTokenResponse
- func (*GenJoinTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GenJoinTokenResponse) GetCode() GenJoinTokenResponse_CODE
- func (x *GenJoinTokenResponse) GetErrMsg() string
- func (x *GenJoinTokenResponse) GetJoinToken() string
- func (*GenJoinTokenResponse) ProtoMessage()
- func (x *GenJoinTokenResponse) ProtoReflect() protoreflect.Message
- func (x *GenJoinTokenResponse) Reset()
- func (x *GenJoinTokenResponse) String() string
- type GenJoinTokenResponse_CODE
- func (GenJoinTokenResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x GenJoinTokenResponse_CODE) Enum() *GenJoinTokenResponse_CODE
- func (GenJoinTokenResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x GenJoinTokenResponse_CODE) Number() protoreflect.EnumNumber
- func (x GenJoinTokenResponse_CODE) String() string
- func (GenJoinTokenResponse_CODE) Type() protoreflect.EnumType
- type GetHostRequest
- func (*GetHostRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetHostRequest) GetAccessToken() string
- func (x *GetHostRequest) GetDeployPlanId() string
- func (x *GetHostRequest) GetFilterByDeployPlanId() bool
- func (x *GetHostRequest) GetHostId() string
- func (*GetHostRequest) ProtoMessage()
- func (x *GetHostRequest) ProtoReflect() protoreflect.Message
- func (x *GetHostRequest) Reset()
- func (x *GetHostRequest) String() string
- type GetHostResponse
- func (*GetHostResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetHostResponse) GetCode() GetHostResponse_CODE
- func (x *GetHostResponse) GetErrMsg() string
- func (x *GetHostResponse) GetHost() *HostInfo
- func (*GetHostResponse) ProtoMessage()
- func (x *GetHostResponse) ProtoReflect() protoreflect.Message
- func (x *GetHostResponse) Reset()
- func (x *GetHostResponse) String() string
- type GetHostResponse_CODE
- func (GetHostResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x GetHostResponse_CODE) Enum() *GetHostResponse_CODE
- func (GetHostResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetHostResponse_CODE) Number() protoreflect.EnumNumber
- func (x GetHostResponse_CODE) String() string
- func (GetHostResponse_CODE) Type() protoreflect.EnumType
- type HostInfo
- func (*HostInfo) Descriptor() ([]byte, []int)deprecated
- func (x *HostInfo) GetHostId() string
- func (x *HostInfo) GetHostName() string
- func (x *HostInfo) GetOnline() bool
- func (x *HostInfo) GetPubKey() string
- func (*HostInfo) ProtoMessage()
- func (x *HostInfo) ProtoReflect() protoreflect.Message
- func (x *HostInfo) Reset()
- func (x *HostInfo) String() string
- type HostLinkInfo
- func (*HostLinkInfo) Descriptor() ([]byte, []int)deprecated
- func (x *HostLinkInfo) GetDeployPlanId() string
- func (x *HostLinkInfo) GetDeployPlanName() string
- func (*HostLinkInfo) ProtoMessage()
- func (x *HostLinkInfo) ProtoReflect() protoreflect.Message
- func (x *HostLinkInfo) Reset()
- func (x *HostLinkInfo) String() string
- type LinkDeployPlanRequest
- func (*LinkDeployPlanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LinkDeployPlanRequest) GetAccessToken() string
- func (x *LinkDeployPlanRequest) GetDeployPlanId() string
- func (x *LinkDeployPlanRequest) GetHostId() string
- func (*LinkDeployPlanRequest) ProtoMessage()
- func (x *LinkDeployPlanRequest) ProtoReflect() protoreflect.Message
- func (x *LinkDeployPlanRequest) Reset()
- func (x *LinkDeployPlanRequest) String() string
- type LinkDeployPlanResponse
- func (*LinkDeployPlanResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LinkDeployPlanResponse) GetCode() LinkDeployPlanResponse_CODE
- func (x *LinkDeployPlanResponse) GetErrMsg() string
- func (*LinkDeployPlanResponse) ProtoMessage()
- func (x *LinkDeployPlanResponse) ProtoReflect() protoreflect.Message
- func (x *LinkDeployPlanResponse) Reset()
- func (x *LinkDeployPlanResponse) String() string
- type LinkDeployPlanResponse_CODE
- func (LinkDeployPlanResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x LinkDeployPlanResponse_CODE) Enum() *LinkDeployPlanResponse_CODE
- func (LinkDeployPlanResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x LinkDeployPlanResponse_CODE) Number() protoreflect.EnumNumber
- func (x LinkDeployPlanResponse_CODE) String() string
- func (LinkDeployPlanResponse_CODE) Type() protoreflect.EnumType
- type ListHostLinkRequest
- func (*ListHostLinkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListHostLinkRequest) GetAccessToken() string
- func (x *ListHostLinkRequest) GetHostId() string
- func (*ListHostLinkRequest) ProtoMessage()
- func (x *ListHostLinkRequest) ProtoReflect() protoreflect.Message
- func (x *ListHostLinkRequest) Reset()
- func (x *ListHostLinkRequest) String() string
- type ListHostLinkResponse
- func (*ListHostLinkResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListHostLinkResponse) GetCode() ListHostLinkResponse_CODE
- func (x *ListHostLinkResponse) GetErrMsg() string
- func (x *ListHostLinkResponse) GetLinkList() []*HostLinkInfo
- func (*ListHostLinkResponse) ProtoMessage()
- func (x *ListHostLinkResponse) ProtoReflect() protoreflect.Message
- func (x *ListHostLinkResponse) Reset()
- func (x *ListHostLinkResponse) String() string
- type ListHostLinkResponse_CODE
- func (ListHostLinkResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x ListHostLinkResponse_CODE) Enum() *ListHostLinkResponse_CODE
- func (ListHostLinkResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x ListHostLinkResponse_CODE) Number() protoreflect.EnumNumber
- func (x ListHostLinkResponse_CODE) String() string
- func (ListHostLinkResponse_CODE) Type() protoreflect.EnumType
- type ListHostRequest
- func (*ListHostRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListHostRequest) GetAccessToken() string
- func (x *ListHostRequest) GetDeployPlanId() string
- func (x *ListHostRequest) GetFilterByDeployPlanId() bool
- func (*ListHostRequest) ProtoMessage()
- func (x *ListHostRequest) ProtoReflect() protoreflect.Message
- func (x *ListHostRequest) Reset()
- func (x *ListHostRequest) String() string
- type ListHostResponse
- func (*ListHostResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListHostResponse) GetCode() ListHostResponse_CODE
- func (x *ListHostResponse) GetErrMsg() string
- func (x *ListHostResponse) GetHostList() []*HostInfo
- func (*ListHostResponse) ProtoMessage()
- func (x *ListHostResponse) ProtoReflect() protoreflect.Message
- func (x *ListHostResponse) Reset()
- func (x *ListHostResponse) String() string
- type ListHostResponse_CODE
- func (ListHostResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x ListHostResponse_CODE) Enum() *ListHostResponse_CODE
- func (ListHostResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x ListHostResponse_CODE) Number() protoreflect.EnumNumber
- func (x ListHostResponse_CODE) String() string
- func (ListHostResponse_CODE) Type() protoreflect.EnumType
- type RemoveHostRequest
- func (*RemoveHostRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveHostRequest) GetAccessToken() string
- func (x *RemoveHostRequest) GetHostId() string
- func (*RemoveHostRequest) ProtoMessage()
- func (x *RemoveHostRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveHostRequest) Reset()
- func (x *RemoveHostRequest) String() string
- type RemoveHostResponse
- func (*RemoveHostResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveHostResponse) GetCode() RemoveHostResponse_CODE
- func (x *RemoveHostResponse) GetErrMsg() string
- func (*RemoveHostResponse) ProtoMessage()
- func (x *RemoveHostResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveHostResponse) Reset()
- func (x *RemoveHostResponse) String() string
- type RemoveHostResponse_CODE
- func (RemoveHostResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x RemoveHostResponse_CODE) Enum() *RemoveHostResponse_CODE
- func (RemoveHostResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x RemoveHostResponse_CODE) Number() protoreflect.EnumNumber
- func (x RemoveHostResponse_CODE) String() string
- func (RemoveHostResponse_CODE) Type() protoreflect.EnumType
- type UnimplementedDeployHostAgentApiServer
- func (UnimplementedDeployHostAgentApiServer) GetPreSignData(context.Context, *AgentGetPreSignDataRequest) (*AgentGetPreSignDataResponse, error)
- func (UnimplementedDeployHostAgentApiServer) Join(context.Context, *AgentJoinRequest) (*AgentJoinResponse, error)
- func (UnimplementedDeployHostAgentApiServer) KeepAlive(context.Context, *AgentKeepAliveRequest) (*AgentKeepAliveResponse, error)
- type UnimplementedDeployHostApiServer
- func (UnimplementedDeployHostApiServer) GenJoinToken(context.Context, *GenJoinTokenRequest) (*GenJoinTokenResponse, error)
- func (UnimplementedDeployHostApiServer) GetHost(context.Context, *GetHostRequest) (*GetHostResponse, error)
- func (UnimplementedDeployHostApiServer) LinkDeployPlan(context.Context, *LinkDeployPlanRequest) (*LinkDeployPlanResponse, error)
- func (UnimplementedDeployHostApiServer) ListHost(context.Context, *ListHostRequest) (*ListHostResponse, error)
- func (UnimplementedDeployHostApiServer) ListHostLink(context.Context, *ListHostLinkRequest) (*ListHostLinkResponse, error)
- func (UnimplementedDeployHostApiServer) RemoveHost(context.Context, *RemoveHostRequest) (*RemoveHostResponse, error)
- func (UnimplementedDeployHostApiServer) UnlinkDeployPlan(context.Context, *UnlinkDeployPlanRequest) (*UnlinkDeployPlanResponse, error)
- type UnlinkDeployPlanRequest
- func (*UnlinkDeployPlanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnlinkDeployPlanRequest) GetAccessToken() string
- func (x *UnlinkDeployPlanRequest) GetDeployPlanId() string
- func (x *UnlinkDeployPlanRequest) GetHostId() string
- func (*UnlinkDeployPlanRequest) ProtoMessage()
- func (x *UnlinkDeployPlanRequest) ProtoReflect() protoreflect.Message
- func (x *UnlinkDeployPlanRequest) Reset()
- func (x *UnlinkDeployPlanRequest) String() string
- type UnlinkDeployPlanResponse
- func (*UnlinkDeployPlanResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UnlinkDeployPlanResponse) GetCode() UnlinkDeployPlanResponse_CODE
- func (x *UnlinkDeployPlanResponse) GetErrMsg() string
- func (*UnlinkDeployPlanResponse) ProtoMessage()
- func (x *UnlinkDeployPlanResponse) ProtoReflect() protoreflect.Message
- func (x *UnlinkDeployPlanResponse) Reset()
- func (x *UnlinkDeployPlanResponse) String() string
- type UnlinkDeployPlanResponse_CODE
- func (UnlinkDeployPlanResponse_CODE) Descriptor() protoreflect.EnumDescriptor
- func (x UnlinkDeployPlanResponse_CODE) Enum() *UnlinkDeployPlanResponse_CODE
- func (UnlinkDeployPlanResponse_CODE) EnumDescriptor() ([]byte, []int)deprecated
- func (x UnlinkDeployPlanResponse_CODE) Number() protoreflect.EnumNumber
- func (x UnlinkDeployPlanResponse_CODE) String() string
- func (UnlinkDeployPlanResponse_CODE) Type() protoreflect.EnumType
- type UnsafeDeployHostAgentApiServer
- type UnsafeDeployHostApiServer
Constants ¶
const ( DeployHostApi_GenJoinToken_FullMethodName = "/gitops_deploy_host_api.DeployHostApi/genJoinToken" DeployHostApi_ListHost_FullMethodName = "/gitops_deploy_host_api.DeployHostApi/listHost" DeployHostApi_GetHost_FullMethodName = "/gitops_deploy_host_api.DeployHostApi/getHost" DeployHostApi_RemoveHost_FullMethodName = "/gitops_deploy_host_api.DeployHostApi/removeHost" DeployHostApi_ListHostLink_FullMethodName = "/gitops_deploy_host_api.DeployHostApi/listHostLink" DeployHostApi_LinkDeployPlan_FullMethodName = "/gitops_deploy_host_api.DeployHostApi/linkDeployPlan" DeployHostApi_UnlinkDeployPlan_FullMethodName = "/gitops_deploy_host_api.DeployHostApi/unlinkDeployPlan" )
const ( DeployHostAgentApi_Join_FullMethodName = "/gitops_deploy_host_api.DeployHostAgentApi/join" DeployHostAgentApi_GetPreSignData_FullMethodName = "/gitops_deploy_host_api.DeployHostAgentApi/getPreSignData" DeployHostAgentApi_KeepAlive_FullMethodName = "/gitops_deploy_host_api.DeployHostAgentApi/keepAlive" )
Variables ¶
var ( GenJoinTokenResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_ACCESS_TOKEN", 2: "CODE_NO_PERMISSION", } GenJoinTokenResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_ACCESS_TOKEN": 1, "CODE_NO_PERMISSION": 2, } )
Enum value maps for GenJoinTokenResponse_CODE.
var ( ListHostResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_ACCESS_TOKEN", 2: "CODE_NO_PERMISSION", 3: "CODE_NO_PLAN", } ListHostResponse_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 ListHostResponse_CODE.
var ( GetHostResponse_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", } GetHostResponse_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 GetHostResponse_CODE.
var ( RemoveHostResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_ACCESS_TOKEN", 2: "CODE_NO_PERMISSION", } RemoveHostResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_ACCESS_TOKEN": 1, "CODE_NO_PERMISSION": 2, } )
Enum value maps for RemoveHostResponse_CODE.
var ( ListHostLinkResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_ACCESS_TOKEN", 2: "CODE_NO_PERMISSION", 3: "CODE_NO_HOST", } ListHostLinkResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_ACCESS_TOKEN": 1, "CODE_NO_PERMISSION": 2, "CODE_NO_HOST": 3, } )
Enum value maps for ListHostLinkResponse_CODE.
var ( LinkDeployPlanResponse_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", } LinkDeployPlanResponse_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 LinkDeployPlanResponse_CODE.
var ( UnlinkDeployPlanResponse_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", } UnlinkDeployPlanResponse_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 UnlinkDeployPlanResponse_CODE.
var ( AgentJoinResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_JOIN_TOKEN", } AgentJoinResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_JOIN_TOKEN": 1, } )
Enum value maps for AgentJoinResponse_CODE.
var ( AgentGetPreSignDataResponse_CODE_name = map[int32]string{ 0: "CODE_OK", } AgentGetPreSignDataResponse_CODE_value = map[string]int32{ "CODE_OK": 0, } )
Enum value maps for AgentGetPreSignDataResponse_CODE.
var ( AgentKeepAliveResponse_CODE_name = map[int32]string{ 0: "CODE_OK", 1: "CODE_WRONG_PRE_SIGN_DATA", 2: "CODE_WRONG_SIGN", 3: "CODE_NO_HOST", } AgentKeepAliveResponse_CODE_value = map[string]int32{ "CODE_OK": 0, "CODE_WRONG_PRE_SIGN_DATA": 1, "CODE_WRONG_SIGN": 2, "CODE_NO_HOST": 3, } )
Enum value maps for AgentKeepAliveResponse_CODE.
var DeployHostAgentApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gitops_deploy_host_api.DeployHostAgentApi", HandlerType: (*DeployHostAgentApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "join", Handler: _DeployHostAgentApi_Join_Handler, }, { MethodName: "getPreSignData", Handler: _DeployHostAgentApi_GetPreSignData_Handler, }, { MethodName: "keepAlive", Handler: _DeployHostAgentApi_KeepAlive_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/deploy_host_api.proto", }
DeployHostAgentApi_ServiceDesc is the grpc.ServiceDesc for DeployHostAgentApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var DeployHostApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gitops_deploy_host_api.DeployHostApi", HandlerType: (*DeployHostApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "genJoinToken", Handler: _DeployHostApi_GenJoinToken_Handler, }, { MethodName: "listHost", Handler: _DeployHostApi_ListHost_Handler, }, { MethodName: "getHost", Handler: _DeployHostApi_GetHost_Handler, }, { MethodName: "removeHost", Handler: _DeployHostApi_RemoveHost_Handler, }, { MethodName: "listHostLink", Handler: _DeployHostApi_ListHostLink_Handler, }, { MethodName: "linkDeployPlan", Handler: _DeployHostApi_LinkDeployPlan_Handler, }, { MethodName: "unlinkDeployPlan", Handler: _DeployHostApi_UnlinkDeployPlan_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/deploy_host_api.proto", }
DeployHostApi_ServiceDesc is the grpc.ServiceDesc for DeployHostApi 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_host_api_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDeployHostAgentApiServer ¶
func RegisterDeployHostAgentApiServer(s grpc.ServiceRegistrar, srv DeployHostAgentApiServer)
func RegisterDeployHostApiServer ¶
func RegisterDeployHostApiServer(s grpc.ServiceRegistrar, srv DeployHostApiServer)
Types ¶
type AgentGetPreSignDataRequest ¶
type AgentGetPreSignDataRequest struct { HostId string `protobuf:"bytes,1,opt,name=hostId,proto3" json:"hostId,omitempty"` // contains filtered or unexported fields }
func (*AgentGetPreSignDataRequest) Descriptor
deprecated
func (*AgentGetPreSignDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use AgentGetPreSignDataRequest.ProtoReflect.Descriptor instead.
func (*AgentGetPreSignDataRequest) GetHostId ¶
func (x *AgentGetPreSignDataRequest) GetHostId() string
func (*AgentGetPreSignDataRequest) ProtoMessage ¶
func (*AgentGetPreSignDataRequest) ProtoMessage()
func (*AgentGetPreSignDataRequest) ProtoReflect ¶
func (x *AgentGetPreSignDataRequest) ProtoReflect() protoreflect.Message
func (*AgentGetPreSignDataRequest) Reset ¶
func (x *AgentGetPreSignDataRequest) Reset()
func (*AgentGetPreSignDataRequest) String ¶
func (x *AgentGetPreSignDataRequest) String() string
type AgentGetPreSignDataResponse ¶
type AgentGetPreSignDataResponse struct { Code AgentGetPreSignDataResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=gitops_deploy_host_api.AgentGetPreSignDataResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` PreSignData string `protobuf:"bytes,3,opt,name=preSignData,proto3" json:"preSignData,omitempty"` // contains filtered or unexported fields }
func (*AgentGetPreSignDataResponse) Descriptor
deprecated
func (*AgentGetPreSignDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use AgentGetPreSignDataResponse.ProtoReflect.Descriptor instead.
func (*AgentGetPreSignDataResponse) GetCode ¶
func (x *AgentGetPreSignDataResponse) GetCode() AgentGetPreSignDataResponse_CODE
func (*AgentGetPreSignDataResponse) GetErrMsg ¶
func (x *AgentGetPreSignDataResponse) GetErrMsg() string
func (*AgentGetPreSignDataResponse) GetPreSignData ¶
func (x *AgentGetPreSignDataResponse) GetPreSignData() string
func (*AgentGetPreSignDataResponse) ProtoMessage ¶
func (*AgentGetPreSignDataResponse) ProtoMessage()
func (*AgentGetPreSignDataResponse) ProtoReflect ¶
func (x *AgentGetPreSignDataResponse) ProtoReflect() protoreflect.Message
func (*AgentGetPreSignDataResponse) Reset ¶
func (x *AgentGetPreSignDataResponse) Reset()
func (*AgentGetPreSignDataResponse) String ¶
func (x *AgentGetPreSignDataResponse) String() string
type AgentGetPreSignDataResponse_CODE ¶
type AgentGetPreSignDataResponse_CODE int32
const (
AgentGetPreSignDataResponse_CODE_OK AgentGetPreSignDataResponse_CODE = 0
)
func (AgentGetPreSignDataResponse_CODE) Descriptor ¶
func (AgentGetPreSignDataResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (AgentGetPreSignDataResponse_CODE) Enum ¶
func (x AgentGetPreSignDataResponse_CODE) Enum() *AgentGetPreSignDataResponse_CODE
func (AgentGetPreSignDataResponse_CODE) EnumDescriptor
deprecated
func (AgentGetPreSignDataResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use AgentGetPreSignDataResponse_CODE.Descriptor instead.
func (AgentGetPreSignDataResponse_CODE) Number ¶
func (x AgentGetPreSignDataResponse_CODE) Number() protoreflect.EnumNumber
func (AgentGetPreSignDataResponse_CODE) String ¶
func (x AgentGetPreSignDataResponse_CODE) String() string
func (AgentGetPreSignDataResponse_CODE) Type ¶
func (AgentGetPreSignDataResponse_CODE) Type() protoreflect.EnumType
type AgentJoinRequest ¶
type AgentJoinRequest struct { JoinToken string `protobuf:"bytes,1,opt,name=joinToken,proto3" json:"joinToken,omitempty"` HostId string `protobuf:"bytes,2,opt,name=hostId,proto3" json:"hostId,omitempty"` HostName string `protobuf:"bytes,3,opt,name=hostName,proto3" json:"hostName,omitempty"` PubKey string `protobuf:"bytes,4,opt,name=pubKey,proto3" json:"pubKey,omitempty"` // contains filtered or unexported fields }
func (*AgentJoinRequest) Descriptor
deprecated
func (*AgentJoinRequest) Descriptor() ([]byte, []int)
Deprecated: Use AgentJoinRequest.ProtoReflect.Descriptor instead.
func (*AgentJoinRequest) GetHostId ¶
func (x *AgentJoinRequest) GetHostId() string
func (*AgentJoinRequest) GetHostName ¶
func (x *AgentJoinRequest) GetHostName() string
func (*AgentJoinRequest) GetJoinToken ¶
func (x *AgentJoinRequest) GetJoinToken() string
func (*AgentJoinRequest) GetPubKey ¶
func (x *AgentJoinRequest) GetPubKey() string
func (*AgentJoinRequest) ProtoMessage ¶
func (*AgentJoinRequest) ProtoMessage()
func (*AgentJoinRequest) ProtoReflect ¶
func (x *AgentJoinRequest) ProtoReflect() protoreflect.Message
func (*AgentJoinRequest) Reset ¶
func (x *AgentJoinRequest) Reset()
func (*AgentJoinRequest) String ¶
func (x *AgentJoinRequest) String() string
type AgentJoinResponse ¶
type AgentJoinResponse struct { Code AgentJoinResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=gitops_deploy_host_api.AgentJoinResponse_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 (*AgentJoinResponse) Descriptor
deprecated
func (*AgentJoinResponse) Descriptor() ([]byte, []int)
Deprecated: Use AgentJoinResponse.ProtoReflect.Descriptor instead.
func (*AgentJoinResponse) GetCode ¶
func (x *AgentJoinResponse) GetCode() AgentJoinResponse_CODE
func (*AgentJoinResponse) GetDeployPlanId ¶
func (x *AgentJoinResponse) GetDeployPlanId() string
func (*AgentJoinResponse) GetErrMsg ¶
func (x *AgentJoinResponse) GetErrMsg() string
func (*AgentJoinResponse) ProtoMessage ¶
func (*AgentJoinResponse) ProtoMessage()
func (*AgentJoinResponse) ProtoReflect ¶
func (x *AgentJoinResponse) ProtoReflect() protoreflect.Message
func (*AgentJoinResponse) Reset ¶
func (x *AgentJoinResponse) Reset()
func (*AgentJoinResponse) String ¶
func (x *AgentJoinResponse) String() string
type AgentJoinResponse_CODE ¶
type AgentJoinResponse_CODE int32
const ( AgentJoinResponse_CODE_OK AgentJoinResponse_CODE = 0 AgentJoinResponse_CODE_WRONG_JOIN_TOKEN AgentJoinResponse_CODE = 1 )
func (AgentJoinResponse_CODE) Descriptor ¶
func (AgentJoinResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (AgentJoinResponse_CODE) Enum ¶
func (x AgentJoinResponse_CODE) Enum() *AgentJoinResponse_CODE
func (AgentJoinResponse_CODE) EnumDescriptor
deprecated
func (AgentJoinResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use AgentJoinResponse_CODE.Descriptor instead.
func (AgentJoinResponse_CODE) Number ¶
func (x AgentJoinResponse_CODE) Number() protoreflect.EnumNumber
func (AgentJoinResponse_CODE) String ¶
func (x AgentJoinResponse_CODE) String() string
func (AgentJoinResponse_CODE) Type ¶
func (AgentJoinResponse_CODE) Type() protoreflect.EnumType
type AgentKeepAliveRequest ¶
type AgentKeepAliveRequest 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 (*AgentKeepAliveRequest) Descriptor
deprecated
func (*AgentKeepAliveRequest) Descriptor() ([]byte, []int)
Deprecated: Use AgentKeepAliveRequest.ProtoReflect.Descriptor instead.
func (*AgentKeepAliveRequest) GetBlob ¶
func (x *AgentKeepAliveRequest) GetBlob() []byte
func (*AgentKeepAliveRequest) GetFormat ¶
func (x *AgentKeepAliveRequest) GetFormat() string
func (*AgentKeepAliveRequest) GetHostId ¶
func (x *AgentKeepAliveRequest) GetHostId() string
func (*AgentKeepAliveRequest) GetPreSignData ¶
func (x *AgentKeepAliveRequest) GetPreSignData() string
func (*AgentKeepAliveRequest) GetRest ¶
func (x *AgentKeepAliveRequest) GetRest() []byte
func (*AgentKeepAliveRequest) ProtoMessage ¶
func (*AgentKeepAliveRequest) ProtoMessage()
func (*AgentKeepAliveRequest) ProtoReflect ¶
func (x *AgentKeepAliveRequest) ProtoReflect() protoreflect.Message
func (*AgentKeepAliveRequest) Reset ¶
func (x *AgentKeepAliveRequest) Reset()
func (*AgentKeepAliveRequest) String ¶
func (x *AgentKeepAliveRequest) String() string
type AgentKeepAliveResponse ¶
type AgentKeepAliveResponse struct { Code AgentKeepAliveResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=gitops_deploy_host_api.AgentKeepAliveResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` // contains filtered or unexported fields }
func (*AgentKeepAliveResponse) Descriptor
deprecated
func (*AgentKeepAliveResponse) Descriptor() ([]byte, []int)
Deprecated: Use AgentKeepAliveResponse.ProtoReflect.Descriptor instead.
func (*AgentKeepAliveResponse) GetCode ¶
func (x *AgentKeepAliveResponse) GetCode() AgentKeepAliveResponse_CODE
func (*AgentKeepAliveResponse) GetErrMsg ¶
func (x *AgentKeepAliveResponse) GetErrMsg() string
func (*AgentKeepAliveResponse) ProtoMessage ¶
func (*AgentKeepAliveResponse) ProtoMessage()
func (*AgentKeepAliveResponse) ProtoReflect ¶
func (x *AgentKeepAliveResponse) ProtoReflect() protoreflect.Message
func (*AgentKeepAliveResponse) Reset ¶
func (x *AgentKeepAliveResponse) Reset()
func (*AgentKeepAliveResponse) String ¶
func (x *AgentKeepAliveResponse) String() string
type AgentKeepAliveResponse_CODE ¶
type AgentKeepAliveResponse_CODE int32
const ( AgentKeepAliveResponse_CODE_OK AgentKeepAliveResponse_CODE = 0 AgentKeepAliveResponse_CODE_WRONG_PRE_SIGN_DATA AgentKeepAliveResponse_CODE = 1 AgentKeepAliveResponse_CODE_WRONG_SIGN AgentKeepAliveResponse_CODE = 2 AgentKeepAliveResponse_CODE_NO_HOST AgentKeepAliveResponse_CODE = 3 )
func (AgentKeepAliveResponse_CODE) Descriptor ¶
func (AgentKeepAliveResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (AgentKeepAliveResponse_CODE) Enum ¶
func (x AgentKeepAliveResponse_CODE) Enum() *AgentKeepAliveResponse_CODE
func (AgentKeepAliveResponse_CODE) EnumDescriptor
deprecated
func (AgentKeepAliveResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use AgentKeepAliveResponse_CODE.Descriptor instead.
func (AgentKeepAliveResponse_CODE) Number ¶
func (x AgentKeepAliveResponse_CODE) Number() protoreflect.EnumNumber
func (AgentKeepAliveResponse_CODE) String ¶
func (x AgentKeepAliveResponse_CODE) String() string
func (AgentKeepAliveResponse_CODE) Type ¶
func (AgentKeepAliveResponse_CODE) Type() protoreflect.EnumType
type DeployHostAgentApiClient ¶
type DeployHostAgentApiClient interface { // 加入部署计划 Join(ctx context.Context, in *AgentJoinRequest, opts ...grpc.CallOption) (*AgentJoinResponse, error) // 更新签名数据 GetPreSignData(ctx context.Context, in *AgentGetPreSignDataRequest, opts ...grpc.CallOption) (*AgentGetPreSignDataResponse, error) // 心跳保活 KeepAlive(ctx context.Context, in *AgentKeepAliveRequest, opts ...grpc.CallOption) (*AgentKeepAliveResponse, error) }
DeployHostAgentApiClient is the client API for DeployHostAgentApi 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 NewDeployHostAgentApiClient ¶
func NewDeployHostAgentApiClient(cc grpc.ClientConnInterface) DeployHostAgentApiClient
type DeployHostAgentApiServer ¶
type DeployHostAgentApiServer interface { // 加入部署计划 Join(context.Context, *AgentJoinRequest) (*AgentJoinResponse, error) // 更新签名数据 GetPreSignData(context.Context, *AgentGetPreSignDataRequest) (*AgentGetPreSignDataResponse, error) // 心跳保活 KeepAlive(context.Context, *AgentKeepAliveRequest) (*AgentKeepAliveResponse, error) // contains filtered or unexported methods }
DeployHostAgentApiServer is the server API for DeployHostAgentApi service. All implementations must embed UnimplementedDeployHostAgentApiServer for forward compatibility
type DeployHostApiClient ¶
type DeployHostApiClient interface { // 获取加入令牌 GenJoinToken(ctx context.Context, in *GenJoinTokenRequest, opts ...grpc.CallOption) (*GenJoinTokenResponse, error) // 列出部署主机 ListHost(ctx context.Context, in *ListHostRequest, opts ...grpc.CallOption) (*ListHostResponse, error) // 获取单个部署主机 GetHost(ctx context.Context, in *GetHostRequest, opts ...grpc.CallOption) (*GetHostResponse, error) // 删除部署主机 RemoveHost(ctx context.Context, in *RemoveHostRequest, opts ...grpc.CallOption) (*RemoveHostResponse, error) // 列出关联信息 ListHostLink(ctx context.Context, in *ListHostLinkRequest, opts ...grpc.CallOption) (*ListHostLinkResponse, error) // 关联部署计划 LinkDeployPlan(ctx context.Context, in *LinkDeployPlanRequest, opts ...grpc.CallOption) (*LinkDeployPlanResponse, error) // 取消关联部署计划 UnlinkDeployPlan(ctx context.Context, in *UnlinkDeployPlanRequest, opts ...grpc.CallOption) (*UnlinkDeployPlanResponse, error) }
DeployHostApiClient is the client API for DeployHostApi 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 NewDeployHostApiClient ¶
func NewDeployHostApiClient(cc grpc.ClientConnInterface) DeployHostApiClient
type DeployHostApiServer ¶
type DeployHostApiServer interface { // 获取加入令牌 GenJoinToken(context.Context, *GenJoinTokenRequest) (*GenJoinTokenResponse, error) // 列出部署主机 ListHost(context.Context, *ListHostRequest) (*ListHostResponse, error) // 获取单个部署主机 GetHost(context.Context, *GetHostRequest) (*GetHostResponse, error) // 删除部署主机 RemoveHost(context.Context, *RemoveHostRequest) (*RemoveHostResponse, error) // 列出关联信息 ListHostLink(context.Context, *ListHostLinkRequest) (*ListHostLinkResponse, error) // 关联部署计划 LinkDeployPlan(context.Context, *LinkDeployPlanRequest) (*LinkDeployPlanResponse, error) // 取消关联部署计划 UnlinkDeployPlan(context.Context, *UnlinkDeployPlanRequest) (*UnlinkDeployPlanResponse, error) // contains filtered or unexported methods }
DeployHostApiServer is the server API for DeployHostApi service. All implementations must embed UnimplementedDeployHostApiServer for forward compatibility
type GenJoinTokenRequest ¶
type GenJoinTokenRequest struct { AccessToken string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"` // contains filtered or unexported fields }
func (*GenJoinTokenRequest) Descriptor
deprecated
func (*GenJoinTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenJoinTokenRequest.ProtoReflect.Descriptor instead.
func (*GenJoinTokenRequest) GetAccessToken ¶
func (x *GenJoinTokenRequest) GetAccessToken() string
func (*GenJoinTokenRequest) ProtoMessage ¶
func (*GenJoinTokenRequest) ProtoMessage()
func (*GenJoinTokenRequest) ProtoReflect ¶
func (x *GenJoinTokenRequest) ProtoReflect() protoreflect.Message
func (*GenJoinTokenRequest) Reset ¶
func (x *GenJoinTokenRequest) Reset()
func (*GenJoinTokenRequest) String ¶
func (x *GenJoinTokenRequest) String() string
type GenJoinTokenResponse ¶
type GenJoinTokenResponse struct { Code GenJoinTokenResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=gitops_deploy_host_api.GenJoinTokenResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` JoinToken string `protobuf:"bytes,3,opt,name=joinToken,proto3" json:"joinToken,omitempty"` // contains filtered or unexported fields }
func (*GenJoinTokenResponse) Descriptor
deprecated
func (*GenJoinTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenJoinTokenResponse.ProtoReflect.Descriptor instead.
func (*GenJoinTokenResponse) GetCode ¶
func (x *GenJoinTokenResponse) GetCode() GenJoinTokenResponse_CODE
func (*GenJoinTokenResponse) GetErrMsg ¶
func (x *GenJoinTokenResponse) GetErrMsg() string
func (*GenJoinTokenResponse) GetJoinToken ¶
func (x *GenJoinTokenResponse) GetJoinToken() string
func (*GenJoinTokenResponse) ProtoMessage ¶
func (*GenJoinTokenResponse) ProtoMessage()
func (*GenJoinTokenResponse) ProtoReflect ¶
func (x *GenJoinTokenResponse) ProtoReflect() protoreflect.Message
func (*GenJoinTokenResponse) Reset ¶
func (x *GenJoinTokenResponse) Reset()
func (*GenJoinTokenResponse) String ¶
func (x *GenJoinTokenResponse) String() string
type GenJoinTokenResponse_CODE ¶
type GenJoinTokenResponse_CODE int32
const ( GenJoinTokenResponse_CODE_OK GenJoinTokenResponse_CODE = 0 GenJoinTokenResponse_CODE_WRONG_ACCESS_TOKEN GenJoinTokenResponse_CODE = 1 GenJoinTokenResponse_CODE_NO_PERMISSION GenJoinTokenResponse_CODE = 2 )
func (GenJoinTokenResponse_CODE) Descriptor ¶
func (GenJoinTokenResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (GenJoinTokenResponse_CODE) Enum ¶
func (x GenJoinTokenResponse_CODE) Enum() *GenJoinTokenResponse_CODE
func (GenJoinTokenResponse_CODE) EnumDescriptor
deprecated
func (GenJoinTokenResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use GenJoinTokenResponse_CODE.Descriptor instead.
func (GenJoinTokenResponse_CODE) Number ¶
func (x GenJoinTokenResponse_CODE) Number() protoreflect.EnumNumber
func (GenJoinTokenResponse_CODE) String ¶
func (x GenJoinTokenResponse_CODE) String() string
func (GenJoinTokenResponse_CODE) Type ¶
func (GenJoinTokenResponse_CODE) Type() protoreflect.EnumType
type GetHostRequest ¶
type GetHostRequest struct { AccessToken string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"` FilterByDeployPlanId bool `protobuf:"varint,2,opt,name=filterByDeployPlanId,proto3" json:"filterByDeployPlanId,omitempty"` DeployPlanId string `protobuf:"bytes,3,opt,name=deployPlanId,proto3" json:"deployPlanId,omitempty"` HostId string `protobuf:"bytes,4,opt,name=hostId,proto3" json:"hostId,omitempty"` // contains filtered or unexported fields }
func (*GetHostRequest) Descriptor
deprecated
func (*GetHostRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetHostRequest.ProtoReflect.Descriptor instead.
func (*GetHostRequest) GetAccessToken ¶
func (x *GetHostRequest) GetAccessToken() string
func (*GetHostRequest) GetDeployPlanId ¶
func (x *GetHostRequest) GetDeployPlanId() string
func (*GetHostRequest) GetFilterByDeployPlanId ¶
func (x *GetHostRequest) GetFilterByDeployPlanId() bool
func (*GetHostRequest) GetHostId ¶
func (x *GetHostRequest) GetHostId() string
func (*GetHostRequest) ProtoMessage ¶
func (*GetHostRequest) ProtoMessage()
func (*GetHostRequest) ProtoReflect ¶
func (x *GetHostRequest) ProtoReflect() protoreflect.Message
func (*GetHostRequest) Reset ¶
func (x *GetHostRequest) Reset()
func (*GetHostRequest) String ¶
func (x *GetHostRequest) String() string
type GetHostResponse ¶
type GetHostResponse struct { Code GetHostResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=gitops_deploy_host_api.GetHostResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` Host *HostInfo `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"` // contains filtered or unexported fields }
func (*GetHostResponse) Descriptor
deprecated
func (*GetHostResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetHostResponse.ProtoReflect.Descriptor instead.
func (*GetHostResponse) GetCode ¶
func (x *GetHostResponse) GetCode() GetHostResponse_CODE
func (*GetHostResponse) GetErrMsg ¶
func (x *GetHostResponse) GetErrMsg() string
func (*GetHostResponse) GetHost ¶
func (x *GetHostResponse) GetHost() *HostInfo
func (*GetHostResponse) ProtoMessage ¶
func (*GetHostResponse) ProtoMessage()
func (*GetHostResponse) ProtoReflect ¶
func (x *GetHostResponse) ProtoReflect() protoreflect.Message
func (*GetHostResponse) Reset ¶
func (x *GetHostResponse) Reset()
func (*GetHostResponse) String ¶
func (x *GetHostResponse) String() string
type GetHostResponse_CODE ¶
type GetHostResponse_CODE int32
const ( GetHostResponse_CODE_OK GetHostResponse_CODE = 0 GetHostResponse_CODE_WRONG_ACCESS_TOKEN GetHostResponse_CODE = 1 GetHostResponse_CODE_NO_PERMISSION GetHostResponse_CODE = 2 GetHostResponse_CODE_NO_PLAN GetHostResponse_CODE = 3 GetHostResponse_CODE_NO_HOST GetHostResponse_CODE = 4 )
func (GetHostResponse_CODE) Descriptor ¶
func (GetHostResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (GetHostResponse_CODE) Enum ¶
func (x GetHostResponse_CODE) Enum() *GetHostResponse_CODE
func (GetHostResponse_CODE) EnumDescriptor
deprecated
func (GetHostResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetHostResponse_CODE.Descriptor instead.
func (GetHostResponse_CODE) Number ¶
func (x GetHostResponse_CODE) Number() protoreflect.EnumNumber
func (GetHostResponse_CODE) String ¶
func (x GetHostResponse_CODE) String() string
func (GetHostResponse_CODE) Type ¶
func (GetHostResponse_CODE) Type() protoreflect.EnumType
type HostInfo ¶
type HostInfo struct { HostId string `protobuf:"bytes,1,opt,name=hostId,proto3" json:"hostId,omitempty"` HostName string `protobuf:"bytes,2,opt,name=hostName,proto3" json:"hostName,omitempty"` PubKey string `protobuf:"bytes,3,opt,name=pubKey,proto3" json:"pubKey,omitempty"` Online bool `protobuf:"varint,4,opt,name=online,proto3" json:"online,omitempty"` // contains filtered or unexported fields }
func (*HostInfo) ProtoReflect ¶
func (x *HostInfo) ProtoReflect() protoreflect.Message
type HostLinkInfo ¶
type HostLinkInfo struct { DeployPlanId string `protobuf:"bytes,1,opt,name=deployPlanId,proto3" json:"deployPlanId,omitempty"` DeployPlanName string `protobuf:"bytes,2,opt,name=deployPlanName,proto3" json:"deployPlanName,omitempty"` // contains filtered or unexported fields }
func (*HostLinkInfo) Descriptor
deprecated
func (*HostLinkInfo) Descriptor() ([]byte, []int)
Deprecated: Use HostLinkInfo.ProtoReflect.Descriptor instead.
func (*HostLinkInfo) GetDeployPlanId ¶
func (x *HostLinkInfo) GetDeployPlanId() string
func (*HostLinkInfo) GetDeployPlanName ¶
func (x *HostLinkInfo) GetDeployPlanName() string
func (*HostLinkInfo) ProtoMessage ¶
func (*HostLinkInfo) ProtoMessage()
func (*HostLinkInfo) ProtoReflect ¶
func (x *HostLinkInfo) ProtoReflect() protoreflect.Message
func (*HostLinkInfo) Reset ¶
func (x *HostLinkInfo) Reset()
func (*HostLinkInfo) String ¶
func (x *HostLinkInfo) String() string
type LinkDeployPlanRequest ¶
type LinkDeployPlanRequest struct { AccessToken string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"` HostId string `protobuf:"bytes,2,opt,name=hostId,proto3" json:"hostId,omitempty"` DeployPlanId string `protobuf:"bytes,3,opt,name=deployPlanId,proto3" json:"deployPlanId,omitempty"` // contains filtered or unexported fields }
func (*LinkDeployPlanRequest) Descriptor
deprecated
func (*LinkDeployPlanRequest) Descriptor() ([]byte, []int)
Deprecated: Use LinkDeployPlanRequest.ProtoReflect.Descriptor instead.
func (*LinkDeployPlanRequest) GetAccessToken ¶
func (x *LinkDeployPlanRequest) GetAccessToken() string
func (*LinkDeployPlanRequest) GetDeployPlanId ¶
func (x *LinkDeployPlanRequest) GetDeployPlanId() string
func (*LinkDeployPlanRequest) GetHostId ¶
func (x *LinkDeployPlanRequest) GetHostId() string
func (*LinkDeployPlanRequest) ProtoMessage ¶
func (*LinkDeployPlanRequest) ProtoMessage()
func (*LinkDeployPlanRequest) ProtoReflect ¶
func (x *LinkDeployPlanRequest) ProtoReflect() protoreflect.Message
func (*LinkDeployPlanRequest) Reset ¶
func (x *LinkDeployPlanRequest) Reset()
func (*LinkDeployPlanRequest) String ¶
func (x *LinkDeployPlanRequest) String() string
type LinkDeployPlanResponse ¶
type LinkDeployPlanResponse struct { Code LinkDeployPlanResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=gitops_deploy_host_api.LinkDeployPlanResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` // contains filtered or unexported fields }
func (*LinkDeployPlanResponse) Descriptor
deprecated
func (*LinkDeployPlanResponse) Descriptor() ([]byte, []int)
Deprecated: Use LinkDeployPlanResponse.ProtoReflect.Descriptor instead.
func (*LinkDeployPlanResponse) GetCode ¶
func (x *LinkDeployPlanResponse) GetCode() LinkDeployPlanResponse_CODE
func (*LinkDeployPlanResponse) GetErrMsg ¶
func (x *LinkDeployPlanResponse) GetErrMsg() string
func (*LinkDeployPlanResponse) ProtoMessage ¶
func (*LinkDeployPlanResponse) ProtoMessage()
func (*LinkDeployPlanResponse) ProtoReflect ¶
func (x *LinkDeployPlanResponse) ProtoReflect() protoreflect.Message
func (*LinkDeployPlanResponse) Reset ¶
func (x *LinkDeployPlanResponse) Reset()
func (*LinkDeployPlanResponse) String ¶
func (x *LinkDeployPlanResponse) String() string
type LinkDeployPlanResponse_CODE ¶
type LinkDeployPlanResponse_CODE int32
const ( LinkDeployPlanResponse_CODE_OK LinkDeployPlanResponse_CODE = 0 LinkDeployPlanResponse_CODE_WRONG_ACCESS_TOKEN LinkDeployPlanResponse_CODE = 1 LinkDeployPlanResponse_CODE_NO_PERMISSION LinkDeployPlanResponse_CODE = 2 LinkDeployPlanResponse_CODE_NO_PLAN LinkDeployPlanResponse_CODE = 3 LinkDeployPlanResponse_CODE_NO_HOST LinkDeployPlanResponse_CODE = 4 )
func (LinkDeployPlanResponse_CODE) Descriptor ¶
func (LinkDeployPlanResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (LinkDeployPlanResponse_CODE) Enum ¶
func (x LinkDeployPlanResponse_CODE) Enum() *LinkDeployPlanResponse_CODE
func (LinkDeployPlanResponse_CODE) EnumDescriptor
deprecated
func (LinkDeployPlanResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use LinkDeployPlanResponse_CODE.Descriptor instead.
func (LinkDeployPlanResponse_CODE) Number ¶
func (x LinkDeployPlanResponse_CODE) Number() protoreflect.EnumNumber
func (LinkDeployPlanResponse_CODE) String ¶
func (x LinkDeployPlanResponse_CODE) String() string
func (LinkDeployPlanResponse_CODE) Type ¶
func (LinkDeployPlanResponse_CODE) Type() protoreflect.EnumType
type ListHostLinkRequest ¶
type ListHostLinkRequest struct { AccessToken string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"` HostId string `protobuf:"bytes,2,opt,name=hostId,proto3" json:"hostId,omitempty"` // contains filtered or unexported fields }
func (*ListHostLinkRequest) Descriptor
deprecated
func (*ListHostLinkRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListHostLinkRequest.ProtoReflect.Descriptor instead.
func (*ListHostLinkRequest) GetAccessToken ¶
func (x *ListHostLinkRequest) GetAccessToken() string
func (*ListHostLinkRequest) GetHostId ¶
func (x *ListHostLinkRequest) GetHostId() string
func (*ListHostLinkRequest) ProtoMessage ¶
func (*ListHostLinkRequest) ProtoMessage()
func (*ListHostLinkRequest) ProtoReflect ¶
func (x *ListHostLinkRequest) ProtoReflect() protoreflect.Message
func (*ListHostLinkRequest) Reset ¶
func (x *ListHostLinkRequest) Reset()
func (*ListHostLinkRequest) String ¶
func (x *ListHostLinkRequest) String() string
type ListHostLinkResponse ¶
type ListHostLinkResponse struct { Code ListHostLinkResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=gitops_deploy_host_api.ListHostLinkResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` LinkList []*HostLinkInfo `protobuf:"bytes,3,rep,name=linkList,proto3" json:"linkList,omitempty"` // contains filtered or unexported fields }
func (*ListHostLinkResponse) Descriptor
deprecated
func (*ListHostLinkResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListHostLinkResponse.ProtoReflect.Descriptor instead.
func (*ListHostLinkResponse) GetCode ¶
func (x *ListHostLinkResponse) GetCode() ListHostLinkResponse_CODE
func (*ListHostLinkResponse) GetErrMsg ¶
func (x *ListHostLinkResponse) GetErrMsg() string
func (*ListHostLinkResponse) GetLinkList ¶
func (x *ListHostLinkResponse) GetLinkList() []*HostLinkInfo
func (*ListHostLinkResponse) ProtoMessage ¶
func (*ListHostLinkResponse) ProtoMessage()
func (*ListHostLinkResponse) ProtoReflect ¶
func (x *ListHostLinkResponse) ProtoReflect() protoreflect.Message
func (*ListHostLinkResponse) Reset ¶
func (x *ListHostLinkResponse) Reset()
func (*ListHostLinkResponse) String ¶
func (x *ListHostLinkResponse) String() string
type ListHostLinkResponse_CODE ¶
type ListHostLinkResponse_CODE int32
const ( ListHostLinkResponse_CODE_OK ListHostLinkResponse_CODE = 0 ListHostLinkResponse_CODE_WRONG_ACCESS_TOKEN ListHostLinkResponse_CODE = 1 ListHostLinkResponse_CODE_NO_PERMISSION ListHostLinkResponse_CODE = 2 ListHostLinkResponse_CODE_NO_HOST ListHostLinkResponse_CODE = 3 )
func (ListHostLinkResponse_CODE) Descriptor ¶
func (ListHostLinkResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (ListHostLinkResponse_CODE) Enum ¶
func (x ListHostLinkResponse_CODE) Enum() *ListHostLinkResponse_CODE
func (ListHostLinkResponse_CODE) EnumDescriptor
deprecated
func (ListHostLinkResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use ListHostLinkResponse_CODE.Descriptor instead.
func (ListHostLinkResponse_CODE) Number ¶
func (x ListHostLinkResponse_CODE) Number() protoreflect.EnumNumber
func (ListHostLinkResponse_CODE) String ¶
func (x ListHostLinkResponse_CODE) String() string
func (ListHostLinkResponse_CODE) Type ¶
func (ListHostLinkResponse_CODE) Type() protoreflect.EnumType
type ListHostRequest ¶
type ListHostRequest struct { AccessToken string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"` FilterByDeployPlanId bool `protobuf:"varint,2,opt,name=filterByDeployPlanId,proto3" json:"filterByDeployPlanId,omitempty"` DeployPlanId string `protobuf:"bytes,3,opt,name=deployPlanId,proto3" json:"deployPlanId,omitempty"` // contains filtered or unexported fields }
func (*ListHostRequest) Descriptor
deprecated
func (*ListHostRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListHostRequest.ProtoReflect.Descriptor instead.
func (*ListHostRequest) GetAccessToken ¶
func (x *ListHostRequest) GetAccessToken() string
func (*ListHostRequest) GetDeployPlanId ¶
func (x *ListHostRequest) GetDeployPlanId() string
func (*ListHostRequest) GetFilterByDeployPlanId ¶
func (x *ListHostRequest) GetFilterByDeployPlanId() bool
func (*ListHostRequest) ProtoMessage ¶
func (*ListHostRequest) ProtoMessage()
func (*ListHostRequest) ProtoReflect ¶
func (x *ListHostRequest) ProtoReflect() protoreflect.Message
func (*ListHostRequest) Reset ¶
func (x *ListHostRequest) Reset()
func (*ListHostRequest) String ¶
func (x *ListHostRequest) String() string
type ListHostResponse ¶
type ListHostResponse struct { Code ListHostResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=gitops_deploy_host_api.ListHostResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` HostList []*HostInfo `protobuf:"bytes,3,rep,name=hostList,proto3" json:"hostList,omitempty"` // contains filtered or unexported fields }
func (*ListHostResponse) Descriptor
deprecated
func (*ListHostResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListHostResponse.ProtoReflect.Descriptor instead.
func (*ListHostResponse) GetCode ¶
func (x *ListHostResponse) GetCode() ListHostResponse_CODE
func (*ListHostResponse) GetErrMsg ¶
func (x *ListHostResponse) GetErrMsg() string
func (*ListHostResponse) GetHostList ¶
func (x *ListHostResponse) GetHostList() []*HostInfo
func (*ListHostResponse) ProtoMessage ¶
func (*ListHostResponse) ProtoMessage()
func (*ListHostResponse) ProtoReflect ¶
func (x *ListHostResponse) ProtoReflect() protoreflect.Message
func (*ListHostResponse) Reset ¶
func (x *ListHostResponse) Reset()
func (*ListHostResponse) String ¶
func (x *ListHostResponse) String() string
type ListHostResponse_CODE ¶
type ListHostResponse_CODE int32
const ( ListHostResponse_CODE_OK ListHostResponse_CODE = 0 ListHostResponse_CODE_WRONG_ACCESS_TOKEN ListHostResponse_CODE = 1 ListHostResponse_CODE_NO_PERMISSION ListHostResponse_CODE = 2 ListHostResponse_CODE_NO_PLAN ListHostResponse_CODE = 3 )
func (ListHostResponse_CODE) Descriptor ¶
func (ListHostResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (ListHostResponse_CODE) Enum ¶
func (x ListHostResponse_CODE) Enum() *ListHostResponse_CODE
func (ListHostResponse_CODE) EnumDescriptor
deprecated
func (ListHostResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use ListHostResponse_CODE.Descriptor instead.
func (ListHostResponse_CODE) Number ¶
func (x ListHostResponse_CODE) Number() protoreflect.EnumNumber
func (ListHostResponse_CODE) String ¶
func (x ListHostResponse_CODE) String() string
func (ListHostResponse_CODE) Type ¶
func (ListHostResponse_CODE) Type() protoreflect.EnumType
type RemoveHostRequest ¶
type RemoveHostRequest struct { AccessToken string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"` HostId string `protobuf:"bytes,2,opt,name=hostId,proto3" json:"hostId,omitempty"` // contains filtered or unexported fields }
func (*RemoveHostRequest) Descriptor
deprecated
func (*RemoveHostRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveHostRequest.ProtoReflect.Descriptor instead.
func (*RemoveHostRequest) GetAccessToken ¶
func (x *RemoveHostRequest) GetAccessToken() string
func (*RemoveHostRequest) GetHostId ¶
func (x *RemoveHostRequest) GetHostId() string
func (*RemoveHostRequest) ProtoMessage ¶
func (*RemoveHostRequest) ProtoMessage()
func (*RemoveHostRequest) ProtoReflect ¶
func (x *RemoveHostRequest) ProtoReflect() protoreflect.Message
func (*RemoveHostRequest) Reset ¶
func (x *RemoveHostRequest) Reset()
func (*RemoveHostRequest) String ¶
func (x *RemoveHostRequest) String() string
type RemoveHostResponse ¶
type RemoveHostResponse struct { Code RemoveHostResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=gitops_deploy_host_api.RemoveHostResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` // contains filtered or unexported fields }
func (*RemoveHostResponse) Descriptor
deprecated
func (*RemoveHostResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveHostResponse.ProtoReflect.Descriptor instead.
func (*RemoveHostResponse) GetCode ¶
func (x *RemoveHostResponse) GetCode() RemoveHostResponse_CODE
func (*RemoveHostResponse) GetErrMsg ¶
func (x *RemoveHostResponse) GetErrMsg() string
func (*RemoveHostResponse) ProtoMessage ¶
func (*RemoveHostResponse) ProtoMessage()
func (*RemoveHostResponse) ProtoReflect ¶
func (x *RemoveHostResponse) ProtoReflect() protoreflect.Message
func (*RemoveHostResponse) Reset ¶
func (x *RemoveHostResponse) Reset()
func (*RemoveHostResponse) String ¶
func (x *RemoveHostResponse) String() string
type RemoveHostResponse_CODE ¶
type RemoveHostResponse_CODE int32
const ( RemoveHostResponse_CODE_OK RemoveHostResponse_CODE = 0 RemoveHostResponse_CODE_WRONG_ACCESS_TOKEN RemoveHostResponse_CODE = 1 RemoveHostResponse_CODE_NO_PERMISSION RemoveHostResponse_CODE = 2 )
func (RemoveHostResponse_CODE) Descriptor ¶
func (RemoveHostResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (RemoveHostResponse_CODE) Enum ¶
func (x RemoveHostResponse_CODE) Enum() *RemoveHostResponse_CODE
func (RemoveHostResponse_CODE) EnumDescriptor
deprecated
func (RemoveHostResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use RemoveHostResponse_CODE.Descriptor instead.
func (RemoveHostResponse_CODE) Number ¶
func (x RemoveHostResponse_CODE) Number() protoreflect.EnumNumber
func (RemoveHostResponse_CODE) String ¶
func (x RemoveHostResponse_CODE) String() string
func (RemoveHostResponse_CODE) Type ¶
func (RemoveHostResponse_CODE) Type() protoreflect.EnumType
type UnimplementedDeployHostAgentApiServer ¶
type UnimplementedDeployHostAgentApiServer struct { }
UnimplementedDeployHostAgentApiServer must be embedded to have forward compatible implementations.
func (UnimplementedDeployHostAgentApiServer) GetPreSignData ¶
func (UnimplementedDeployHostAgentApiServer) GetPreSignData(context.Context, *AgentGetPreSignDataRequest) (*AgentGetPreSignDataResponse, error)
func (UnimplementedDeployHostAgentApiServer) Join ¶
func (UnimplementedDeployHostAgentApiServer) Join(context.Context, *AgentJoinRequest) (*AgentJoinResponse, error)
func (UnimplementedDeployHostAgentApiServer) KeepAlive ¶
func (UnimplementedDeployHostAgentApiServer) KeepAlive(context.Context, *AgentKeepAliveRequest) (*AgentKeepAliveResponse, error)
type UnimplementedDeployHostApiServer ¶
type UnimplementedDeployHostApiServer struct { }
UnimplementedDeployHostApiServer must be embedded to have forward compatible implementations.
func (UnimplementedDeployHostApiServer) GenJoinToken ¶
func (UnimplementedDeployHostApiServer) GenJoinToken(context.Context, *GenJoinTokenRequest) (*GenJoinTokenResponse, error)
func (UnimplementedDeployHostApiServer) GetHost ¶
func (UnimplementedDeployHostApiServer) GetHost(context.Context, *GetHostRequest) (*GetHostResponse, error)
func (UnimplementedDeployHostApiServer) LinkDeployPlan ¶
func (UnimplementedDeployHostApiServer) LinkDeployPlan(context.Context, *LinkDeployPlanRequest) (*LinkDeployPlanResponse, error)
func (UnimplementedDeployHostApiServer) ListHost ¶
func (UnimplementedDeployHostApiServer) ListHost(context.Context, *ListHostRequest) (*ListHostResponse, error)
func (UnimplementedDeployHostApiServer) ListHostLink ¶
func (UnimplementedDeployHostApiServer) ListHostLink(context.Context, *ListHostLinkRequest) (*ListHostLinkResponse, error)
func (UnimplementedDeployHostApiServer) RemoveHost ¶
func (UnimplementedDeployHostApiServer) RemoveHost(context.Context, *RemoveHostRequest) (*RemoveHostResponse, error)
func (UnimplementedDeployHostApiServer) UnlinkDeployPlan ¶
func (UnimplementedDeployHostApiServer) UnlinkDeployPlan(context.Context, *UnlinkDeployPlanRequest) (*UnlinkDeployPlanResponse, error)
type UnlinkDeployPlanRequest ¶
type UnlinkDeployPlanRequest struct { AccessToken string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"` HostId string `protobuf:"bytes,2,opt,name=hostId,proto3" json:"hostId,omitempty"` DeployPlanId string `protobuf:"bytes,3,opt,name=deployPlanId,proto3" json:"deployPlanId,omitempty"` // contains filtered or unexported fields }
func (*UnlinkDeployPlanRequest) Descriptor
deprecated
func (*UnlinkDeployPlanRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnlinkDeployPlanRequest.ProtoReflect.Descriptor instead.
func (*UnlinkDeployPlanRequest) GetAccessToken ¶
func (x *UnlinkDeployPlanRequest) GetAccessToken() string
func (*UnlinkDeployPlanRequest) GetDeployPlanId ¶
func (x *UnlinkDeployPlanRequest) GetDeployPlanId() string
func (*UnlinkDeployPlanRequest) GetHostId ¶
func (x *UnlinkDeployPlanRequest) GetHostId() string
func (*UnlinkDeployPlanRequest) ProtoMessage ¶
func (*UnlinkDeployPlanRequest) ProtoMessage()
func (*UnlinkDeployPlanRequest) ProtoReflect ¶
func (x *UnlinkDeployPlanRequest) ProtoReflect() protoreflect.Message
func (*UnlinkDeployPlanRequest) Reset ¶
func (x *UnlinkDeployPlanRequest) Reset()
func (*UnlinkDeployPlanRequest) String ¶
func (x *UnlinkDeployPlanRequest) String() string
type UnlinkDeployPlanResponse ¶
type UnlinkDeployPlanResponse struct { Code UnlinkDeployPlanResponse_CODE `protobuf:"varint,1,opt,name=code,proto3,enum=gitops_deploy_host_api.UnlinkDeployPlanResponse_CODE" json:"code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"` // contains filtered or unexported fields }
func (*UnlinkDeployPlanResponse) Descriptor
deprecated
func (*UnlinkDeployPlanResponse) Descriptor() ([]byte, []int)
Deprecated: Use UnlinkDeployPlanResponse.ProtoReflect.Descriptor instead.
func (*UnlinkDeployPlanResponse) GetCode ¶
func (x *UnlinkDeployPlanResponse) GetCode() UnlinkDeployPlanResponse_CODE
func (*UnlinkDeployPlanResponse) GetErrMsg ¶
func (x *UnlinkDeployPlanResponse) GetErrMsg() string
func (*UnlinkDeployPlanResponse) ProtoMessage ¶
func (*UnlinkDeployPlanResponse) ProtoMessage()
func (*UnlinkDeployPlanResponse) ProtoReflect ¶
func (x *UnlinkDeployPlanResponse) ProtoReflect() protoreflect.Message
func (*UnlinkDeployPlanResponse) Reset ¶
func (x *UnlinkDeployPlanResponse) Reset()
func (*UnlinkDeployPlanResponse) String ¶
func (x *UnlinkDeployPlanResponse) String() string
type UnlinkDeployPlanResponse_CODE ¶
type UnlinkDeployPlanResponse_CODE int32
const ( UnlinkDeployPlanResponse_CODE_OK UnlinkDeployPlanResponse_CODE = 0 UnlinkDeployPlanResponse_CODE_WRONG_ACCESS_TOKEN UnlinkDeployPlanResponse_CODE = 1 UnlinkDeployPlanResponse_CODE_NO_PERMISSION UnlinkDeployPlanResponse_CODE = 2 UnlinkDeployPlanResponse_CODE_NO_PLAN UnlinkDeployPlanResponse_CODE = 3 UnlinkDeployPlanResponse_CODE_NO_HOST UnlinkDeployPlanResponse_CODE = 4 )
func (UnlinkDeployPlanResponse_CODE) Descriptor ¶
func (UnlinkDeployPlanResponse_CODE) Descriptor() protoreflect.EnumDescriptor
func (UnlinkDeployPlanResponse_CODE) Enum ¶
func (x UnlinkDeployPlanResponse_CODE) Enum() *UnlinkDeployPlanResponse_CODE
func (UnlinkDeployPlanResponse_CODE) EnumDescriptor
deprecated
func (UnlinkDeployPlanResponse_CODE) EnumDescriptor() ([]byte, []int)
Deprecated: Use UnlinkDeployPlanResponse_CODE.Descriptor instead.
func (UnlinkDeployPlanResponse_CODE) Number ¶
func (x UnlinkDeployPlanResponse_CODE) Number() protoreflect.EnumNumber
func (UnlinkDeployPlanResponse_CODE) String ¶
func (x UnlinkDeployPlanResponse_CODE) String() string
func (UnlinkDeployPlanResponse_CODE) Type ¶
func (UnlinkDeployPlanResponse_CODE) Type() protoreflect.EnumType
type UnsafeDeployHostAgentApiServer ¶
type UnsafeDeployHostAgentApiServer interface {
// contains filtered or unexported methods
}
UnsafeDeployHostAgentApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DeployHostAgentApiServer will result in compilation errors.
type UnsafeDeployHostApiServer ¶
type UnsafeDeployHostApiServer interface {
// contains filtered or unexported methods
}
UnsafeDeployHostApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DeployHostApiServer will result in compilation errors.