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

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

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

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

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

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

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

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

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

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

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

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

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

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

func (AgentGetPreSignDataResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use AgentGetPreSignDataResponse_CODE.Descriptor instead.

func (AgentGetPreSignDataResponse_CODE) Number

func (AgentGetPreSignDataResponse_CODE) String

func (AgentGetPreSignDataResponse_CODE) Type

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

func (AgentJoinResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use AgentJoinResponse_CODE.Descriptor instead.

func (AgentJoinResponse_CODE) Number

func (AgentJoinResponse_CODE) String

func (x AgentJoinResponse_CODE) String() string

func (AgentJoinResponse_CODE) Type

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

func (AgentKeepAliveResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use AgentKeepAliveResponse_CODE.Descriptor instead.

func (AgentKeepAliveResponse_CODE) Number

func (AgentKeepAliveResponse_CODE) String

func (AgentKeepAliveResponse_CODE) Type

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

func (GenJoinTokenResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use GenJoinTokenResponse_CODE.Descriptor instead.

func (GenJoinTokenResponse_CODE) Number

func (GenJoinTokenResponse_CODE) String

func (x GenJoinTokenResponse_CODE) String() string

func (GenJoinTokenResponse_CODE) Type

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

func (GetHostResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use GetHostResponse_CODE.Descriptor instead.

func (GetHostResponse_CODE) Number

func (GetHostResponse_CODE) String

func (x GetHostResponse_CODE) String() string

func (GetHostResponse_CODE) Type

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

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

Deprecated: Use HostInfo.ProtoReflect.Descriptor instead.

func (*HostInfo) GetHostId

func (x *HostInfo) GetHostId() string

func (*HostInfo) GetHostName

func (x *HostInfo) GetHostName() string

func (*HostInfo) GetOnline

func (x *HostInfo) GetOnline() bool

func (*HostInfo) GetPubKey

func (x *HostInfo) GetPubKey() string

func (*HostInfo) ProtoMessage

func (*HostInfo) ProtoMessage()

func (*HostInfo) ProtoReflect

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

func (*HostInfo) Reset

func (x *HostInfo) Reset()

func (*HostInfo) String

func (x *HostInfo) String() string

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

func (LinkDeployPlanResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use LinkDeployPlanResponse_CODE.Descriptor instead.

func (LinkDeployPlanResponse_CODE) Number

func (LinkDeployPlanResponse_CODE) String

func (LinkDeployPlanResponse_CODE) Type

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

func (x *ListHostLinkResponse) GetErrMsg() string
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) Enum

func (ListHostLinkResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use ListHostLinkResponse_CODE.Descriptor instead.

func (ListHostLinkResponse_CODE) Number

func (ListHostLinkResponse_CODE) String

func (x ListHostLinkResponse_CODE) String() string

func (ListHostLinkResponse_CODE) Type

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

func (ListHostResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use ListHostResponse_CODE.Descriptor instead.

func (ListHostResponse_CODE) Number

func (ListHostResponse_CODE) String

func (x ListHostResponse_CODE) String() string

func (ListHostResponse_CODE) Type

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

func (RemoveHostResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use RemoveHostResponse_CODE.Descriptor instead.

func (RemoveHostResponse_CODE) Number

func (RemoveHostResponse_CODE) String

func (x RemoveHostResponse_CODE) String() string

func (RemoveHostResponse_CODE) Type

type UnimplementedDeployHostAgentApiServer

type UnimplementedDeployHostAgentApiServer struct {
}

UnimplementedDeployHostAgentApiServer must be embedded to have forward compatible implementations.

func (UnimplementedDeployHostAgentApiServer) GetPreSignData

func (UnimplementedDeployHostAgentApiServer) Join

func (UnimplementedDeployHostAgentApiServer) KeepAlive

type UnimplementedDeployHostApiServer

type UnimplementedDeployHostApiServer struct {
}

UnimplementedDeployHostApiServer must be embedded to have forward compatible implementations.

func (UnimplementedDeployHostApiServer) GenJoinToken

func (UnimplementedDeployHostApiServer) GetHost

func (UnimplementedDeployHostApiServer) LinkDeployPlan

func (UnimplementedDeployHostApiServer) ListHost

func (UnimplementedDeployHostApiServer) RemoveHost

func (UnimplementedDeployHostApiServer) UnlinkDeployPlan

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

func (UnlinkDeployPlanResponse_CODE) EnumDescriptor deprecated

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

Deprecated: Use UnlinkDeployPlanResponse_CODE.Descriptor instead.

func (UnlinkDeployPlanResponse_CODE) Number

func (UnlinkDeployPlanResponse_CODE) String

func (UnlinkDeployPlanResponse_CODE) Type

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.

Jump to

Keyboard shortcuts

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