deployPB

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Provider_name = map[int32]string{
		0:  "PROVIDER_UNSPECIFIED",
		1:  "PROVIDER_ANSSL_CLI",
		2:  "PROVIDER_ALIYUN",
		3:  "PROVIDER_TENCENT_CLOUD",
		4:  "PROVIDER_QINIU",
		5:  "PROVIDER_HUAWEI_CLOUD",
		6:  "PROVIDER_VOLCENGINE",
		7:  "PROVIDER_JD_CLOUD",
		8:  "PROVIDER_BAIDU_CLOUD",
		9:  "PROVIDER_DOGE_CLOUD",
		10: "PROVIDER_LECDN",
	}
	Provider_value = map[string]int32{
		"PROVIDER_UNSPECIFIED":   0,
		"PROVIDER_ANSSL_CLI":     1,
		"PROVIDER_ALIYUN":        2,
		"PROVIDER_TENCENT_CLOUD": 3,
		"PROVIDER_QINIU":         4,
		"PROVIDER_HUAWEI_CLOUD":  5,
		"PROVIDER_VOLCENGINE":    6,
		"PROVIDER_JD_CLOUD":      7,
		"PROVIDER_BAIDU_CLOUD":   8,
		"PROVIDER_DOGE_CLOUD":    9,
		"PROVIDER_LECDN":         10,
	}
)

Enum value maps for Provider.

View Source
var (
	DeploymentType_name = map[int32]string{
		0:  "DEPLOYMENT_TYPE_UNSPECIFIED",
		1:  "DEPLOYMENT_TYPE_ANSSL_CLI_NGINX_CERT",
		2:  "DEPLOYMENT_TYPE_UPLOAD_CERT",
		3:  "DEPLOYMENT_TYPE_CDN",
		4:  "DEPLOYMENT_TYPE_DCDN",
		6:  "DEPLOYMENT_TYPE_ANSSL_CLI_APACHE_CERT",
		7:  "DEPLOYMENT_TYPE_ANSSL_CLI_RUSTFS_CERT",
		8:  "DEPLOYMENT_TYPE_ANSSL_CLI_FEINIU_CERT",
		9:  "DEPLOYMENT_TYPE_ANSSL_CLI_1PANEL_CERT",
		10: "DEPLOYMENT_TYPE_ANSSL_CLI_OPENVPN_AS_CERT",
		11: "DEPLOYMENT_TYPE_ANSSL_CLI_UPLOAD_ONLY_CERT",
		12: "DEPLOYMENT_TYPE_ESA",
		13: "DEPLOYMENT_TYPE_EDGEONE",
		14: "DEPLOYMENT_TYPE_COS",
		15: "DEPLOYMENT_TYPE_OSS_CUSTOM_DOMAIN",
		16: "DEPLOYMENT_TYPE_CLB",
		17: "DEPLOYMENT_TYPE_ALB",
		18: "DEPLOYMENT_TYPE_NLB",
		19: "DEPLOYMENT_TYPE_ANSSL_CLI_SAFELINE_CERT",
		20: "DEPLOYMENT_TYPE_ANSSL_CLI_1PANEL_WEBSITE_CERT",
		21: "DEPLOYMENT_TYPE_ANSSL_CLI_BT_PANEL_WEBSITE_CERT",
		22: "DEPLOYMENT_TYPE_ANSSL_CLI_BT_PANEL_CERT",
		23: "DEPLOYMENT_TYPE_OBS_CUSTOM_DOMAIN",
		24: "DEPLOYMENT_TYPE_TOS_CUSTOM_DOMAIN",
		25: "DEPLOYMENT_TYPE_ELB",
	}
	DeploymentType_value = map[string]int32{
		"DEPLOYMENT_TYPE_UNSPECIFIED":                     0,
		"DEPLOYMENT_TYPE_ANSSL_CLI_NGINX_CERT":            1,
		"DEPLOYMENT_TYPE_UPLOAD_CERT":                     2,
		"DEPLOYMENT_TYPE_CDN":                             3,
		"DEPLOYMENT_TYPE_DCDN":                            4,
		"DEPLOYMENT_TYPE_ANSSL_CLI_APACHE_CERT":           6,
		"DEPLOYMENT_TYPE_ANSSL_CLI_RUSTFS_CERT":           7,
		"DEPLOYMENT_TYPE_ANSSL_CLI_FEINIU_CERT":           8,
		"DEPLOYMENT_TYPE_ANSSL_CLI_1PANEL_CERT":           9,
		"DEPLOYMENT_TYPE_ANSSL_CLI_OPENVPN_AS_CERT":       10,
		"DEPLOYMENT_TYPE_ANSSL_CLI_UPLOAD_ONLY_CERT":      11,
		"DEPLOYMENT_TYPE_ESA":                             12,
		"DEPLOYMENT_TYPE_EDGEONE":                         13,
		"DEPLOYMENT_TYPE_COS":                             14,
		"DEPLOYMENT_TYPE_OSS_CUSTOM_DOMAIN":               15,
		"DEPLOYMENT_TYPE_CLB":                             16,
		"DEPLOYMENT_TYPE_ALB":                             17,
		"DEPLOYMENT_TYPE_NLB":                             18,
		"DEPLOYMENT_TYPE_ANSSL_CLI_SAFELINE_CERT":         19,
		"DEPLOYMENT_TYPE_ANSSL_CLI_1PANEL_WEBSITE_CERT":   20,
		"DEPLOYMENT_TYPE_ANSSL_CLI_BT_PANEL_WEBSITE_CERT": 21,
		"DEPLOYMENT_TYPE_ANSSL_CLI_BT_PANEL_CERT":         22,
		"DEPLOYMENT_TYPE_OBS_CUSTOM_DOMAIN":               23,
		"DEPLOYMENT_TYPE_TOS_CUSTOM_DOMAIN":               24,
		"DEPLOYMENT_TYPE_ELB":                             25,
	}
)

Enum value maps for DeploymentType.

View Source
var (
	DeploymentTargetMode_name = map[int32]string{
		0: "DEPLOYMENT_TARGET_MODE_UNSPECIFIED",
		1: "DEPLOYMENT_TARGET_MODE_NONE",
		2: "DEPLOYMENT_TARGET_MODE_REQUIRED",
	}
	DeploymentTargetMode_value = map[string]int32{
		"DEPLOYMENT_TARGET_MODE_UNSPECIFIED": 0,
		"DEPLOYMENT_TARGET_MODE_NONE":        1,
		"DEPLOYMENT_TARGET_MODE_REQUIRED":    2,
	}
)

Enum value maps for DeploymentTargetMode.

View Source
var (
	DeploymentCategory_name = map[int32]string{
		0: "DEPLOYMENT_CATEGORY_UNSPECIFIED",
		1: "DEPLOYMENT_CATEGORY_LOCAL",
		2: "DEPLOYMENT_CATEGORY_PANEL",
		3: "DEPLOYMENT_CATEGORY_CLOUD",
	}
	DeploymentCategory_value = map[string]int32{
		"DEPLOYMENT_CATEGORY_UNSPECIFIED": 0,
		"DEPLOYMENT_CATEGORY_LOCAL":       1,
		"DEPLOYMENT_CATEGORY_PANEL":       2,
		"DEPLOYMENT_CATEGORY_CLOUD":       3,
	}
)

Enum value maps for DeploymentCategory.

View Source
var (
	DeploymentDomainPolicy_name = map[int32]string{
		0: "DEPLOYMENT_DOMAIN_POLICY_UNSPECIFIED",
		1: "DEPLOYMENT_DOMAIN_POLICY_NONE",
		2: "DEPLOYMENT_DOMAIN_POLICY_ALL",
		3: "DEPLOYMENT_DOMAIN_POLICY_ANY",
	}
	DeploymentDomainPolicy_value = map[string]int32{
		"DEPLOYMENT_DOMAIN_POLICY_UNSPECIFIED": 0,
		"DEPLOYMENT_DOMAIN_POLICY_NONE":        1,
		"DEPLOYMENT_DOMAIN_POLICY_ALL":         2,
		"DEPLOYMENT_DOMAIN_POLICY_ANY":         3,
	}
)

Enum value maps for DeploymentDomainPolicy.

View Source
var (
	Type_name = map[int32]string{
		0: "UNKNOWN",
		1: "CONNECT",
		2: "UPDATE_VERSION",
		3: "GET_PROVIDER",
		4: "REGISTER",
		5: "EXECUTE_BUSINES",
		6: "CHALLENGE",
	}
	Type_value = map[string]int32{
		"UNKNOWN":         0,
		"CONNECT":         1,
		"UPDATE_VERSION":  2,
		"GET_PROVIDER":    3,
		"REGISTER":        4,
		"EXECUTE_BUSINES": 5,
		"CHALLENGE":       6,
	}
)

Enum value maps for Type.

View Source
var (
	ExecuteBusinesType_name = map[int32]string{
		0:  "EXECUTE_BUSINES_UNKNOWN",
		1:  "EXECUTE_BUSINES_ANSSL_CLI_CERT",
		2:  "EXECUTE_BUSINES_UPLOAD_CERT",
		3:  "EXECUTE_BUSINES_CDN",
		4:  "EXECUTE_BUSINES_DCDN",
		6:  "EXECUTE_BUSINES_ANSSL_CLI_APACHE_CERT",
		7:  "EXECUTE_BUSINES_ANSSL_CLI_RUSTFS_CERT",
		8:  "EXECUTE_BUSINES_ANSSL_CLI_FEINIU_CERT",
		9:  "EXECUTE_BUSINES_ANSSL_CLI_1PANEL_CERT",
		10: "EXECUTE_BUSINES_ANSSL_CLI_OPENVPN_AS_CERT",
		11: "EXECUTE_BUSINES_ANSSL_CLI_UPLOAD_ONLY_CERT",
		12: "EXECUTE_BUSINES_ESA",
		13: "EXECUTE_BUSINES_EDGEONE",
		14: "EXECUTE_BUSINES_COS",
		15: "EXECUTE_BUSINES_OSS_CUSTOM_DOMAIN",
		16: "EXECUTE_BUSINES_CLB",
		17: "EXECUTE_BUSINES_ALB",
		18: "EXECUTE_BUSINES_NLB",
		19: "EXECUTE_BUSINES_ANSSL_CLI_SAFELINE_CERT",
		20: "EXECUTE_BUSINES_ANSSL_CLI_1PANEL_WEBSITE_CERT",
		21: "EXECUTE_BUSINES_ANSSL_CLI_BT_PANEL_WEBSITE_CERT",
		22: "EXECUTE_BUSINES_ANSSL_CLI_BT_PANEL_CERT",
	}
	ExecuteBusinesType_value = map[string]int32{
		"EXECUTE_BUSINES_UNKNOWN":                         0,
		"EXECUTE_BUSINES_ANSSL_CLI_CERT":                  1,
		"EXECUTE_BUSINES_UPLOAD_CERT":                     2,
		"EXECUTE_BUSINES_CDN":                             3,
		"EXECUTE_BUSINES_DCDN":                            4,
		"EXECUTE_BUSINES_ANSSL_CLI_APACHE_CERT":           6,
		"EXECUTE_BUSINES_ANSSL_CLI_RUSTFS_CERT":           7,
		"EXECUTE_BUSINES_ANSSL_CLI_FEINIU_CERT":           8,
		"EXECUTE_BUSINES_ANSSL_CLI_1PANEL_CERT":           9,
		"EXECUTE_BUSINES_ANSSL_CLI_OPENVPN_AS_CERT":       10,
		"EXECUTE_BUSINES_ANSSL_CLI_UPLOAD_ONLY_CERT":      11,
		"EXECUTE_BUSINES_ESA":                             12,
		"EXECUTE_BUSINES_EDGEONE":                         13,
		"EXECUTE_BUSINES_COS":                             14,
		"EXECUTE_BUSINES_OSS_CUSTOM_DOMAIN":               15,
		"EXECUTE_BUSINES_CLB":                             16,
		"EXECUTE_BUSINES_ALB":                             17,
		"EXECUTE_BUSINES_NLB":                             18,
		"EXECUTE_BUSINES_ANSSL_CLI_SAFELINE_CERT":         19,
		"EXECUTE_BUSINES_ANSSL_CLI_1PANEL_WEBSITE_CERT":   20,
		"EXECUTE_BUSINES_ANSSL_CLI_BT_PANEL_WEBSITE_CERT": 21,
		"EXECUTE_BUSINES_ANSSL_CLI_BT_PANEL_CERT":         22,
	}
)

Enum value maps for ExecuteBusinesType.

View Source
var (
	DeploymentResourceStatus_name = map[int32]string{
		0: "DEPLOYMENT_RESOURCE_STATUS_UNKNOWN",
		1: "DEPLOYMENT_RESOURCE_STATUS_READY",
		2: "DEPLOYMENT_RESOURCE_STATUS_EMPTY",
		3: "DEPLOYMENT_RESOURCE_STATUS_NOT_CONFIGURED",
		4: "DEPLOYMENT_RESOURCE_STATUS_UNAVAILABLE",
		5: "DEPLOYMENT_RESOURCE_STATUS_PARTIAL",
		6: "DEPLOYMENT_RESOURCE_STATUS_PERMISSION_DENIED",
	}
	DeploymentResourceStatus_value = map[string]int32{
		"DEPLOYMENT_RESOURCE_STATUS_UNKNOWN":           0,
		"DEPLOYMENT_RESOURCE_STATUS_READY":             1,
		"DEPLOYMENT_RESOURCE_STATUS_EMPTY":             2,
		"DEPLOYMENT_RESOURCE_STATUS_NOT_CONFIGURED":    3,
		"DEPLOYMENT_RESOURCE_STATUS_UNAVAILABLE":       4,
		"DEPLOYMENT_RESOURCE_STATUS_PARTIAL":           5,
		"DEPLOYMENT_RESOURCE_STATUS_PERMISSION_DENIED": 6,
	}
)

Enum value maps for DeploymentResourceStatus.

View Source
var (
	DeploymentResourceAvailability_name = map[int32]string{
		0: "DEPLOYMENT_RESOURCE_AVAILABILITY_UNKNOWN",
		1: "DEPLOYMENT_RESOURCE_AVAILABILITY_READY",
		2: "DEPLOYMENT_RESOURCE_AVAILABILITY_STOPPED",
		3: "DEPLOYMENT_RESOURCE_AVAILABILITY_DISABLED",
		4: "DEPLOYMENT_RESOURCE_AVAILABILITY_LOCKED",
		5: "DEPLOYMENT_RESOURCE_AVAILABILITY_UNSUPPORTED",
	}
	DeploymentResourceAvailability_value = map[string]int32{
		"DEPLOYMENT_RESOURCE_AVAILABILITY_UNKNOWN":     0,
		"DEPLOYMENT_RESOURCE_AVAILABILITY_READY":       1,
		"DEPLOYMENT_RESOURCE_AVAILABILITY_STOPPED":     2,
		"DEPLOYMENT_RESOURCE_AVAILABILITY_DISABLED":    3,
		"DEPLOYMENT_RESOURCE_AVAILABILITY_LOCKED":      4,
		"DEPLOYMENT_RESOURCE_AVAILABILITY_UNSUPPORTED": 5,
	}
)

Enum value maps for DeploymentResourceAvailability.

View Source
var (
	FailureKind_name = map[int32]string{
		0: "FAILURE_KIND_UNSPECIFIED",
		1: "FAILURE_KIND_TIMEOUT",
		2: "FAILURE_KIND_CANCELED",
		3: "FAILURE_KIND_BUSY",
		4: "FAILURE_KIND_TARGET_UNAVAILABLE",
		5: "FAILURE_KIND_PROVIDER",
		6: "FAILURE_KIND_LOCAL_PUBLISH",
	}
	FailureKind_value = map[string]int32{
		"FAILURE_KIND_UNSPECIFIED":        0,
		"FAILURE_KIND_TIMEOUT":            1,
		"FAILURE_KIND_CANCELED":           2,
		"FAILURE_KIND_BUSY":               3,
		"FAILURE_KIND_TARGET_UNAVAILABLE": 4,
		"FAILURE_KIND_PROVIDER":           5,
		"FAILURE_KIND_LOCAL_PUBLISH":      6,
	}
)

Enum value maps for FailureKind.

View Source
var (
	DeploymentExecutionResult_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "STATUS_SUCCESS",
		2: "STATUS_FAILED",
		3: "STATUS_NOT_SUPPORTED",
	}
	DeploymentExecutionResult_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED":   0,
		"STATUS_SUCCESS":       1,
		"STATUS_FAILED":        2,
		"STATUS_NOT_SUPPORTED": 3,
	}
)

Enum value maps for DeploymentExecutionResult_Status.

View Source
var (
	DeploymentChallengeRequest_Action_name = map[int32]string{
		0: "ACTION_UNSPECIFIED",
		1: "ACTION_SET",
		2: "ACTION_DELETE",
	}
	DeploymentChallengeRequest_Action_value = map[string]int32{
		"ACTION_UNSPECIFIED": 0,
		"ACTION_SET":         1,
		"ACTION_DELETE":      2,
	}
)

Enum value maps for DeploymentChallengeRequest_Action.

View Source
var (
	ChallengeRequest_Action_name = map[int32]string{
		0: "CHALLENGE_ACTION_UNKNOWN",
		1: "CHALLENGE_ACTION_SET",
		2: "CHALLENGE_ACTION_DELETE",
	}
	ChallengeRequest_Action_value = map[string]int32{
		"CHALLENGE_ACTION_UNKNOWN": 0,
		"CHALLENGE_ACTION_SET":     1,
		"CHALLENGE_ACTION_DELETE":  2,
	}
)

Enum value maps for ChallengeRequest_Action.

View Source
var (
	ChallengeResponse_Result_name = map[int32]string{
		0: "CHALLENGE_RESULT_UNKNOWN",
		1: "CHALLENGE_RESULT_SUCCESS",
		2: "CHALLENGE_RESULT_FAILED",
		3: "CHALLENGE_RESULT_NOT_SUPPORTED",
	}
	ChallengeResponse_Result_value = map[string]int32{
		"CHALLENGE_RESULT_UNKNOWN":       0,
		"CHALLENGE_RESULT_SUCCESS":       1,
		"CHALLENGE_RESULT_FAILED":        2,
		"CHALLENGE_RESULT_NOT_SUPPORTED": 3,
	}
)

Enum value maps for ChallengeResponse_Result.

View Source
var (
	ExecuteBusinesRequest_RequestResult_name = map[int32]string{
		0: "REQUEST_RESULT_UNKNOWN",
		1: "REQUEST_RESULT_SUCCESS",
		2: "REQUEST_RESULT_FAILED",
		3: "REQUEST_RESULT_NOT_SUPPORTED",
	}
	ExecuteBusinesRequest_RequestResult_value = map[string]int32{
		"REQUEST_RESULT_UNKNOWN":       0,
		"REQUEST_RESULT_SUCCESS":       1,
		"REQUEST_RESULT_FAILED":        2,
		"REQUEST_RESULT_NOT_SUPPORTED": 3,
	}
)

Enum value maps for ExecuteBusinesRequest_RequestResult.

View Source
var File_deployPB_deploy_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CertUpdateRequest

type CertUpdateRequest struct {
	// contains filtered or unexported fields
}

MARK: - 证书更新

func (*CertUpdateRequest) Descriptor deprecated

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

Deprecated: Use CertUpdateRequest.ProtoReflect.Descriptor instead.

func (*CertUpdateRequest) ProtoMessage

func (*CertUpdateRequest) ProtoMessage()

func (*CertUpdateRequest) ProtoReflect

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

func (*CertUpdateRequest) Reset

func (x *CertUpdateRequest) Reset()

func (*CertUpdateRequest) String

func (x *CertUpdateRequest) String() string

type CertUpdateResponse

type CertUpdateResponse struct {
	Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` // 域名
	Url    string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`       // 证书下载URL
	// contains filtered or unexported fields
}

func (*CertUpdateResponse) Descriptor deprecated

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

Deprecated: Use CertUpdateResponse.ProtoReflect.Descriptor instead.

func (*CertUpdateResponse) GetDomain

func (x *CertUpdateResponse) GetDomain() string

func (*CertUpdateResponse) GetUrl

func (x *CertUpdateResponse) GetUrl() string

func (*CertUpdateResponse) ProtoMessage

func (*CertUpdateResponse) ProtoMessage()

func (*CertUpdateResponse) ProtoReflect

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

func (*CertUpdateResponse) Reset

func (x *CertUpdateResponse) Reset()

func (*CertUpdateResponse) String

func (x *CertUpdateResponse) String() string

type ChallengeRequest added in v0.6.2

type ChallengeRequest struct {
	OperationId int64                   `protobuf:"varint,1,opt,name=operationId,proto3" json:"operationId,omitempty"`                             // 证书操作 ID
	CertId      int32                   `protobuf:"varint,2,opt,name=certId,proto3" json:"certId,omitempty"`                                       // 证书 ID
	Domain      string                  `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"`                                        // 验证域名
	Token       string                  `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"`                                          // ACME challenge token
	KeyAuth     string                  `protobuf:"bytes,5,opt,name=keyAuth,proto3" json:"keyAuth,omitempty"`                                      // HTTP 端点应返回的 key authorization
	Action      ChallengeRequest_Action `protobuf:"varint,6,opt,name=action,proto3,enum=deployPB.ChallengeRequest_Action" json:"action,omitempty"` // 客户端需要执行的动作
	// contains filtered or unexported fields
}

MARK: - HTTP-01 challenge ChallengeRequest 要求 deploy 客户端设置或删除一条精确的 HTTP-01 challenge。

func (*ChallengeRequest) Descriptor deprecated added in v0.6.2

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

Deprecated: Use ChallengeRequest.ProtoReflect.Descriptor instead.

func (*ChallengeRequest) GetAction added in v0.6.2

func (*ChallengeRequest) GetCertId added in v0.6.2

func (x *ChallengeRequest) GetCertId() int32

func (*ChallengeRequest) GetDomain added in v0.6.2

func (x *ChallengeRequest) GetDomain() string

func (*ChallengeRequest) GetKeyAuth added in v0.6.2

func (x *ChallengeRequest) GetKeyAuth() string

func (*ChallengeRequest) GetOperationId added in v0.6.2

func (x *ChallengeRequest) GetOperationId() int64

func (*ChallengeRequest) GetToken added in v0.6.2

func (x *ChallengeRequest) GetToken() string

func (*ChallengeRequest) ProtoMessage added in v0.6.2

func (*ChallengeRequest) ProtoMessage()

func (*ChallengeRequest) ProtoReflect added in v0.6.2

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

func (*ChallengeRequest) Reset added in v0.6.2

func (x *ChallengeRequest) Reset()

func (*ChallengeRequest) String added in v0.6.2

func (x *ChallengeRequest) String() string

type ChallengeRequest_Action added in v0.6.2

type ChallengeRequest_Action int32
const (
	ChallengeRequest_CHALLENGE_ACTION_UNKNOWN ChallengeRequest_Action = 0 // 未知操作
	ChallengeRequest_CHALLENGE_ACTION_SET     ChallengeRequest_Action = 1 // 设置 challenge
	ChallengeRequest_CHALLENGE_ACTION_DELETE  ChallengeRequest_Action = 2 // 删除 challenge
)

func (ChallengeRequest_Action) Descriptor added in v0.6.2

func (ChallengeRequest_Action) Enum added in v0.6.2

func (ChallengeRequest_Action) EnumDescriptor deprecated added in v0.6.2

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

Deprecated: Use ChallengeRequest_Action.Descriptor instead.

func (ChallengeRequest_Action) Number added in v0.6.2

func (ChallengeRequest_Action) String added in v0.6.2

func (x ChallengeRequest_Action) String() string

func (ChallengeRequest_Action) Type added in v0.6.2

type ChallengeResponse added in v0.6.2

type ChallengeResponse struct {
	OperationId int64                    `protobuf:"varint,1,opt,name=operationId,proto3" json:"operationId,omitempty"`                              // 证书操作 ID
	CertId      int32                    `protobuf:"varint,2,opt,name=certId,proto3" json:"certId,omitempty"`                                        // 证书 ID
	Domain      string                   `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"`                                         // 验证域名
	Token       string                   `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"`                                           // ACME challenge token
	Result      ChallengeResponse_Result `protobuf:"varint,5,opt,name=result,proto3,enum=deployPB.ChallengeResponse_Result" json:"result,omitempty"` // 客户端执行结果
	Message     string                   `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"`                                       // 失败原因或成功说明
	// contains filtered or unexported fields
}

ChallengeResponse 返回 deploy 客户端执行 challenge 请求的明确结果。

func (*ChallengeResponse) Descriptor deprecated added in v0.6.2

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

Deprecated: Use ChallengeResponse.ProtoReflect.Descriptor instead.

func (*ChallengeResponse) GetCertId added in v0.6.2

func (x *ChallengeResponse) GetCertId() int32

func (*ChallengeResponse) GetDomain added in v0.6.2

func (x *ChallengeResponse) GetDomain() string

func (*ChallengeResponse) GetMessage added in v0.6.2

func (x *ChallengeResponse) GetMessage() string

func (*ChallengeResponse) GetOperationId added in v0.6.2

func (x *ChallengeResponse) GetOperationId() int64

func (*ChallengeResponse) GetResult added in v0.6.2

func (*ChallengeResponse) GetToken added in v0.6.2

func (x *ChallengeResponse) GetToken() string

func (*ChallengeResponse) ProtoMessage added in v0.6.2

func (*ChallengeResponse) ProtoMessage()

func (*ChallengeResponse) ProtoReflect added in v0.6.2

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

func (*ChallengeResponse) Reset added in v0.6.2

func (x *ChallengeResponse) Reset()

func (*ChallengeResponse) String added in v0.6.2

func (x *ChallengeResponse) String() string

type ChallengeResponse_Result added in v0.6.2

type ChallengeResponse_Result int32
const (
	ChallengeResponse_CHALLENGE_RESULT_UNKNOWN       ChallengeResponse_Result = 0 // 未知结果
	ChallengeResponse_CHALLENGE_RESULT_SUCCESS       ChallengeResponse_Result = 1 // 执行成功
	ChallengeResponse_CHALLENGE_RESULT_FAILED        ChallengeResponse_Result = 2 // 执行失败
	ChallengeResponse_CHALLENGE_RESULT_NOT_SUPPORTED ChallengeResponse_Result = 3 // 客户端不支持
)

func (ChallengeResponse_Result) Descriptor added in v0.6.2

func (ChallengeResponse_Result) Enum added in v0.6.2

func (ChallengeResponse_Result) EnumDescriptor deprecated added in v0.6.2

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

Deprecated: Use ChallengeResponse_Result.Descriptor instead.

func (ChallengeResponse_Result) Number added in v0.6.2

func (ChallengeResponse_Result) String added in v0.6.2

func (x ChallengeResponse_Result) String() string

func (ChallengeResponse_Result) Type added in v0.6.2

type ConnectRequest

type ConnectRequest struct {
	Provider           string             `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` // 提供商
	Success            bool               `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`  // 是否成功
	ExecuteBusinesType ExecuteBusinesType ``                                                                      // 需要测试的具体部署业务
	/* 151-byte string literal not displayed */
	TargetRef string `protobuf:"bytes,5,opt,name=target_ref,json=targetRef,proto3" json:"target_ref,omitempty"` // 资源型业务需要测试的客户端不透明资源引用
	// contains filtered or unexported fields
}

MARK: - Connect: 连接

func (*ConnectRequest) Descriptor deprecated

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

Deprecated: Use ConnectRequest.ProtoReflect.Descriptor instead.

func (*ConnectRequest) GetExecuteBusinesType added in v0.6.5

func (x *ConnectRequest) GetExecuteBusinesType() ExecuteBusinesType

func (*ConnectRequest) GetProvider

func (x *ConnectRequest) GetProvider() string

func (*ConnectRequest) GetSuccess

func (x *ConnectRequest) GetSuccess() bool

func (*ConnectRequest) GetTargetRef added in v0.7.0

func (x *ConnectRequest) GetTargetRef() string

func (*ConnectRequest) ProtoMessage

func (*ConnectRequest) ProtoMessage()

func (*ConnectRequest) ProtoReflect

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

func (*ConnectRequest) Reset

func (x *ConnectRequest) Reset()

func (*ConnectRequest) String

func (x *ConnectRequest) String() string

type DeployResource added in v0.6.4

type DeployResource struct {
	TargetRef    string                         `protobuf:"bytes,1,opt,name=target_ref,json=targetRef,proto3" json:"target_ref,omitempty"`                                     // 客户端根据本地资源定位参数生成的不透明引用
	Label        string                         `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`                                                              // 供控制台展示的资源名称
	Domain       string                         `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"`                                                            // 资源绑定的精确域名
	Domains      []string                       `protobuf:"bytes,4,rep,name=domains,proto3" json:"domains,omitempty"`                                                          // 资源绑定的全部规范化域名
	Protocol     string                         `protobuf:"bytes,5,opt,name=protocol,proto3" json:"protocol,omitempty"`                                                        // 资源当前协议,仅动态面板网站资源上报 HTTP 或 HTTPS
	Status       string                         `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`                                                            // 资源当前运行状态,仅动态面板网站资源上报 Running 或 Stopped
	Group        string                         `protobuf:"bytes,7,opt,name=group,proto3" json:"group,omitempty"`                                                              // 资源所属站点、Bucket 或负载均衡实例的脱敏展示名称
	Region       string                         `protobuf:"bytes,8,opt,name=region,proto3" json:"region,omitempty"`                                                            // 资源所在地域的公开名称或代码
	Port         uint32                         `protobuf:"varint,9,opt,name=port,proto3" json:"port,omitempty"`                                                               // 负载均衡监听端口,非监听器资源为 0
	Availability DeploymentResourceAvailability `protobuf:"varint,10,opt,name=availability,proto3,enum=deployPB.DeploymentResourceAvailability" json:"availability,omitempty"` // 资源当前是否允许选择、测试和部署
	// contains filtered or unexported fields
}

DeployResource 是某项明确部署业务下可选择的脱敏资源。

func (*DeployResource) Descriptor deprecated added in v0.6.4

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

Deprecated: Use DeployResource.ProtoReflect.Descriptor instead.

func (*DeployResource) GetAvailability added in v0.7.0

func (x *DeployResource) GetAvailability() DeploymentResourceAvailability

func (*DeployResource) GetDomain added in v0.6.4

func (x *DeployResource) GetDomain() string

func (*DeployResource) GetDomains added in v0.7.0

func (x *DeployResource) GetDomains() []string

func (*DeployResource) GetGroup added in v0.7.0

func (x *DeployResource) GetGroup() string

func (*DeployResource) GetLabel added in v0.6.4

func (x *DeployResource) GetLabel() string

func (*DeployResource) GetPort added in v0.7.0

func (x *DeployResource) GetPort() uint32

func (*DeployResource) GetProtocol added in v0.7.0

func (x *DeployResource) GetProtocol() string

func (*DeployResource) GetRegion added in v0.7.0

func (x *DeployResource) GetRegion() string

func (*DeployResource) GetStatus added in v0.7.0

func (x *DeployResource) GetStatus() string

func (*DeployResource) GetTargetRef added in v0.6.4

func (x *DeployResource) GetTargetRef() string

func (*DeployResource) ProtoMessage added in v0.6.4

func (*DeployResource) ProtoMessage()

func (*DeployResource) ProtoReflect added in v0.6.4

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

func (*DeployResource) Reset added in v0.6.4

func (x *DeployResource) Reset()

func (*DeployResource) String added in v0.6.4

func (x *DeployResource) String() string

type DeploymentCapability added in v0.7.0

type DeploymentCapability struct {
	Provider       Provider       `protobuf:"varint,1,opt,name=provider,proto3,enum=deployPB.Provider" json:"provider,omitempty"` // 服务商
	DeploymentType DeploymentType ``                                                                                              // 明确部署业务
	/* 133-byte string literal not displayed */
	TargetMode DeploymentTargetMode `` // 资源引用模式
	/* 127-byte string literal not displayed */
	SupportsTest          bool `protobuf:"varint,4,opt,name=supports_test,json=supportsTest,proto3" json:"supports_test,omitempty"` // 是否支持连接测试
	SupportsManualExecute bool ``                                                                                                   // 是否支持手动执行
	/* 127-byte string literal not displayed */
	ResourceStatus DeploymentResourceStatus `` // 动态资源目录状态
	/* 143-byte string literal not displayed */
	Resources        []*DeploymentResource  `protobuf:"bytes,7,rep,name=resources,proto3" json:"resources,omitempty"`                                          // 脱敏动态资源目录
	ProviderNameZh   string                 `protobuf:"bytes,8,opt,name=provider_name_zh,json=providerNameZh,proto3" json:"provider_name_zh,omitempty"`        // 服务商中文展示名
	ProviderNameEn   string                 `protobuf:"bytes,9,opt,name=provider_name_en,json=providerNameEn,proto3" json:"provider_name_en,omitempty"`        // 服务商英文展示名
	DeploymentNameZh string                 `protobuf:"bytes,10,opt,name=deployment_name_zh,json=deploymentNameZh,proto3" json:"deployment_name_zh,omitempty"` // 部署业务中文展示名
	DeploymentNameEn string                 `protobuf:"bytes,11,opt,name=deployment_name_en,json=deploymentNameEn,proto3" json:"deployment_name_en,omitempty"` // 部署业务英文展示名
	Category         DeploymentCategory     `protobuf:"varint,12,opt,name=category,proto3,enum=deployPB.DeploymentCategory" json:"category,omitempty"`         // 前端稳定分类
	DomainPolicy     DeploymentDomainPolicy ``                                                                                                                 // 域名匹配策略
	/* 136-byte string literal not displayed */
	PermissionDescription string `protobuf:"bytes,14,opt,name=permission_description,json=permissionDescription,proto3" json:"permission_description,omitempty"` // 最小权限说明
	DefaultTimeoutSeconds uint32 ``                                                                                                                              // 默认执行超时秒数
	/* 128-byte string literal not displayed */
	DefaultMaxAttempts uint32 `protobuf:"varint,16,opt,name=default_max_attempts,json=defaultMaxAttempts,proto3" json:"default_max_attempts,omitempty"` // 默认最大执行次数
	// contains filtered or unexported fields
}

DeploymentCapability 描述客户端支持的一项部署能力。

func (*DeploymentCapability) Descriptor deprecated added in v0.7.0

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

Deprecated: Use DeploymentCapability.ProtoReflect.Descriptor instead.

func (*DeploymentCapability) GetCategory added in v0.7.0

func (x *DeploymentCapability) GetCategory() DeploymentCategory

func (*DeploymentCapability) GetDefaultMaxAttempts added in v0.7.0

func (x *DeploymentCapability) GetDefaultMaxAttempts() uint32

func (*DeploymentCapability) GetDefaultTimeoutSeconds added in v0.7.0

func (x *DeploymentCapability) GetDefaultTimeoutSeconds() uint32

func (*DeploymentCapability) GetDeploymentNameEn added in v0.7.0

func (x *DeploymentCapability) GetDeploymentNameEn() string

func (*DeploymentCapability) GetDeploymentNameZh added in v0.7.0

func (x *DeploymentCapability) GetDeploymentNameZh() string

func (*DeploymentCapability) GetDeploymentType added in v0.7.0

func (x *DeploymentCapability) GetDeploymentType() DeploymentType

func (*DeploymentCapability) GetDomainPolicy added in v0.7.0

func (x *DeploymentCapability) GetDomainPolicy() DeploymentDomainPolicy

func (*DeploymentCapability) GetPermissionDescription added in v0.7.0

func (x *DeploymentCapability) GetPermissionDescription() string

func (*DeploymentCapability) GetProvider added in v0.7.0

func (x *DeploymentCapability) GetProvider() Provider

func (*DeploymentCapability) GetProviderNameEn added in v0.7.0

func (x *DeploymentCapability) GetProviderNameEn() string

func (*DeploymentCapability) GetProviderNameZh added in v0.7.0

func (x *DeploymentCapability) GetProviderNameZh() string

func (*DeploymentCapability) GetResourceStatus added in v0.7.0

func (x *DeploymentCapability) GetResourceStatus() DeploymentResourceStatus

func (*DeploymentCapability) GetResources added in v0.7.0

func (x *DeploymentCapability) GetResources() []*DeploymentResource

func (*DeploymentCapability) GetSupportsManualExecute added in v0.7.0

func (x *DeploymentCapability) GetSupportsManualExecute() bool

func (*DeploymentCapability) GetSupportsTest added in v0.7.0

func (x *DeploymentCapability) GetSupportsTest() bool

func (*DeploymentCapability) GetTargetMode added in v0.7.0

func (x *DeploymentCapability) GetTargetMode() DeploymentTargetMode

func (*DeploymentCapability) ProtoMessage added in v0.7.0

func (*DeploymentCapability) ProtoMessage()

func (*DeploymentCapability) ProtoReflect added in v0.7.0

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

func (*DeploymentCapability) Reset added in v0.7.0

func (x *DeploymentCapability) Reset()

func (*DeploymentCapability) String added in v0.7.0

func (x *DeploymentCapability) String() string

type DeploymentCategory added in v0.7.0

type DeploymentCategory int32

DeploymentCategory 是前端展示部署能力时使用的稳定分类。

const (
	DeploymentCategory_DEPLOYMENT_CATEGORY_UNSPECIFIED DeploymentCategory = 0 // 未指定分类
	DeploymentCategory_DEPLOYMENT_CATEGORY_LOCAL       DeploymentCategory = 1 // 本地服务
	DeploymentCategory_DEPLOYMENT_CATEGORY_PANEL       DeploymentCategory = 2 // 运维面板
	DeploymentCategory_DEPLOYMENT_CATEGORY_CLOUD       DeploymentCategory = 3 // 云服务
)

func (DeploymentCategory) Descriptor added in v0.7.0

func (DeploymentCategory) Enum added in v0.7.0

func (DeploymentCategory) EnumDescriptor deprecated added in v0.7.0

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

Deprecated: Use DeploymentCategory.Descriptor instead.

func (DeploymentCategory) Number added in v0.7.0

func (DeploymentCategory) String added in v0.7.0

func (x DeploymentCategory) String() string

func (DeploymentCategory) Type added in v0.7.0

type DeploymentChallengeRequest added in v0.7.0

type DeploymentChallengeRequest struct {
	RequestId   string                            `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`                           // 请求 ID
	OperationId int64                             `protobuf:"varint,2,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`                    // 证书操作 ID
	CertId      int32                             `protobuf:"varint,3,opt,name=cert_id,json=certId,proto3" json:"cert_id,omitempty"`                                   // 证书 ID
	Domain      string                            `protobuf:"bytes,4,opt,name=domain,proto3" json:"domain,omitempty"`                                                  // 验证域名
	Token       string                            `protobuf:"bytes,5,opt,name=token,proto3" json:"token,omitempty"`                                                    // ACME token
	KeyAuth     string                            `protobuf:"bytes,6,opt,name=key_auth,json=keyAuth,proto3" json:"key_auth,omitempty"`                                 // Key authorization
	Action      DeploymentChallengeRequest_Action `protobuf:"varint,7,opt,name=action,proto3,enum=deployPB.DeploymentChallengeRequest_Action" json:"action,omitempty"` // 操作类型
	// contains filtered or unexported fields
}

DeploymentChallengeRequest 请求客户端设置或清理 HTTP-01 challenge。

func (*DeploymentChallengeRequest) Descriptor deprecated added in v0.7.0

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

Deprecated: Use DeploymentChallengeRequest.ProtoReflect.Descriptor instead.

func (*DeploymentChallengeRequest) GetAction added in v0.7.0

func (*DeploymentChallengeRequest) GetCertId added in v0.7.0

func (x *DeploymentChallengeRequest) GetCertId() int32

func (*DeploymentChallengeRequest) GetDomain added in v0.7.0

func (x *DeploymentChallengeRequest) GetDomain() string

func (*DeploymentChallengeRequest) GetKeyAuth added in v0.7.0

func (x *DeploymentChallengeRequest) GetKeyAuth() string

func (*DeploymentChallengeRequest) GetOperationId added in v0.7.0

func (x *DeploymentChallengeRequest) GetOperationId() int64

func (*DeploymentChallengeRequest) GetRequestId added in v0.7.0

func (x *DeploymentChallengeRequest) GetRequestId() string

func (*DeploymentChallengeRequest) GetToken added in v0.7.0

func (x *DeploymentChallengeRequest) GetToken() string

func (*DeploymentChallengeRequest) ProtoMessage added in v0.7.0

func (*DeploymentChallengeRequest) ProtoMessage()

func (*DeploymentChallengeRequest) ProtoReflect added in v0.7.0

func (*DeploymentChallengeRequest) Reset added in v0.7.0

func (x *DeploymentChallengeRequest) Reset()

func (*DeploymentChallengeRequest) String added in v0.7.0

func (x *DeploymentChallengeRequest) String() string

type DeploymentChallengeRequest_Action added in v0.7.0

type DeploymentChallengeRequest_Action int32
const (
	DeploymentChallengeRequest_ACTION_UNSPECIFIED DeploymentChallengeRequest_Action = 0 // 未指定操作
	DeploymentChallengeRequest_ACTION_SET         DeploymentChallengeRequest_Action = 1 // 设置 challenge
	DeploymentChallengeRequest_ACTION_DELETE      DeploymentChallengeRequest_Action = 2 // 清理 challenge
)

func (DeploymentChallengeRequest_Action) Descriptor added in v0.7.0

func (DeploymentChallengeRequest_Action) Enum added in v0.7.0

func (DeploymentChallengeRequest_Action) EnumDescriptor deprecated added in v0.7.0

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

Deprecated: Use DeploymentChallengeRequest_Action.Descriptor instead.

func (DeploymentChallengeRequest_Action) Number added in v0.7.0

func (DeploymentChallengeRequest_Action) String added in v0.7.0

func (DeploymentChallengeRequest_Action) Type added in v0.7.0

type DeploymentChallengeResponse added in v0.7.0

type DeploymentChallengeResponse struct {
	RequestId   string                     `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`        // 请求 ID
	OperationId int64                      `protobuf:"varint,2,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` // 证书操作 ID
	CertId      int32                      `protobuf:"varint,3,opt,name=cert_id,json=certId,proto3" json:"cert_id,omitempty"`                // 证书 ID
	Domain      string                     `protobuf:"bytes,4,opt,name=domain,proto3" json:"domain,omitempty"`                               // 验证域名
	Token       string                     `protobuf:"bytes,5,opt,name=token,proto3" json:"token,omitempty"`                                 // ACME token
	Result      *DeploymentExecutionResult `protobuf:"bytes,6,opt,name=result,proto3" json:"result,omitempty"`                               // 执行结果
	// contains filtered or unexported fields
}

DeploymentChallengeResponse 返回 HTTP-01 challenge 结果。

func (*DeploymentChallengeResponse) Descriptor deprecated added in v0.7.0

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

Deprecated: Use DeploymentChallengeResponse.ProtoReflect.Descriptor instead.

func (*DeploymentChallengeResponse) GetCertId added in v0.7.0

func (x *DeploymentChallengeResponse) GetCertId() int32

func (*DeploymentChallengeResponse) GetDomain added in v0.7.0

func (x *DeploymentChallengeResponse) GetDomain() string

func (*DeploymentChallengeResponse) GetOperationId added in v0.7.0

func (x *DeploymentChallengeResponse) GetOperationId() int64

func (*DeploymentChallengeResponse) GetRequestId added in v0.7.0

func (x *DeploymentChallengeResponse) GetRequestId() string

func (*DeploymentChallengeResponse) GetResult added in v0.7.0

func (*DeploymentChallengeResponse) GetToken added in v0.7.0

func (x *DeploymentChallengeResponse) GetToken() string

func (*DeploymentChallengeResponse) ProtoMessage added in v0.7.0

func (*DeploymentChallengeResponse) ProtoMessage()

func (*DeploymentChallengeResponse) ProtoReflect added in v0.7.0

func (*DeploymentChallengeResponse) Reset added in v0.7.0

func (x *DeploymentChallengeResponse) Reset()

func (*DeploymentChallengeResponse) String added in v0.7.0

func (x *DeploymentChallengeResponse) String() string

type DeploymentDiscoverRequest added in v0.7.0

type DeploymentDiscoverRequest struct {
	Selector         *DeploymentSelector `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"`                                          // 指定服务商和部署业务
	IncludeResources bool                `protobuf:"varint,2,opt,name=include_resources,json=includeResources,proto3" json:"include_resources,omitempty"` // 是否读取动态资源
	// contains filtered or unexported fields
}

DeploymentDiscoverRequest 请求客户端发现指定部署能力的资源。

func (*DeploymentDiscoverRequest) Descriptor deprecated added in v0.7.0

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

Deprecated: Use DeploymentDiscoverRequest.ProtoReflect.Descriptor instead.

func (*DeploymentDiscoverRequest) GetIncludeResources added in v0.7.0

func (x *DeploymentDiscoverRequest) GetIncludeResources() bool

func (*DeploymentDiscoverRequest) GetSelector added in v0.7.0

func (*DeploymentDiscoverRequest) ProtoMessage added in v0.7.0

func (*DeploymentDiscoverRequest) ProtoMessage()

func (*DeploymentDiscoverRequest) ProtoReflect added in v0.7.0

func (*DeploymentDiscoverRequest) Reset added in v0.7.0

func (x *DeploymentDiscoverRequest) Reset()

func (*DeploymentDiscoverRequest) String added in v0.7.0

func (x *DeploymentDiscoverRequest) String() string

type DeploymentDiscoverResponse added in v0.7.0

type DeploymentDiscoverResponse struct {
	Capability *DeploymentCapability `protobuf:"bytes,1,opt,name=capability,proto3" json:"capability,omitempty"` // 能力及资源目录
	// contains filtered or unexported fields
}

DeploymentDiscoverResponse 返回客户端发现的部署资源。

func (*DeploymentDiscoverResponse) Descriptor deprecated added in v0.7.0

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

Deprecated: Use DeploymentDiscoverResponse.ProtoReflect.Descriptor instead.

func (*DeploymentDiscoverResponse) GetCapability added in v0.7.0

func (*DeploymentDiscoverResponse) ProtoMessage added in v0.7.0

func (*DeploymentDiscoverResponse) ProtoMessage()

func (*DeploymentDiscoverResponse) ProtoReflect added in v0.7.0

func (*DeploymentDiscoverResponse) Reset added in v0.7.0

func (x *DeploymentDiscoverResponse) Reset()

func (*DeploymentDiscoverResponse) String added in v0.7.0

func (x *DeploymentDiscoverResponse) String() string

type DeploymentDomainPolicy added in v0.7.0

type DeploymentDomainPolicy int32

DeploymentDomainPolicy 描述证书域名与目标资源域名的匹配策略。

const (
	DeploymentDomainPolicy_DEPLOYMENT_DOMAIN_POLICY_UNSPECIFIED DeploymentDomainPolicy = 0 // 未指定策略
	DeploymentDomainPolicy_DEPLOYMENT_DOMAIN_POLICY_NONE        DeploymentDomainPolicy = 1 // 目标不包含动态资源域名
	DeploymentDomainPolicy_DEPLOYMENT_DOMAIN_POLICY_ALL         DeploymentDomainPolicy = 2 // 证书必须覆盖资源的全部域名
	DeploymentDomainPolicy_DEPLOYMENT_DOMAIN_POLICY_ANY         DeploymentDomainPolicy = 3 // 证书覆盖资源任一域名即可
)

func (DeploymentDomainPolicy) Descriptor added in v0.7.0

func (DeploymentDomainPolicy) Enum added in v0.7.0

func (DeploymentDomainPolicy) EnumDescriptor deprecated added in v0.7.0

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

Deprecated: Use DeploymentDomainPolicy.Descriptor instead.

func (DeploymentDomainPolicy) Number added in v0.7.0

func (DeploymentDomainPolicy) String added in v0.7.0

func (x DeploymentDomainPolicy) String() string

func (DeploymentDomainPolicy) Type added in v0.7.0

type DeploymentExecuteRequest added in v0.7.0

type DeploymentExecuteRequest struct {
	RequestId string              `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // 请求 ID
	Selector  *DeploymentSelector `protobuf:"bytes,2,opt,name=selector,proto3" json:"selector,omitempty"`                    // 部署目标
	Domain    string              `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"`                        // 证书主域名
	Url       string              `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"`                              // 可选证书下载 URL
	Cert      string              `protobuf:"bytes,5,opt,name=cert,proto3" json:"cert,omitempty"`                            // 完整证书链
	Key       string              `protobuf:"bytes,6,opt,name=key,proto3" json:"key,omitempty"`                              // 私钥
	// contains filtered or unexported fields
}

DeploymentExecuteRequest 请求客户端执行证书部署。

func (*DeploymentExecuteRequest) Descriptor deprecated added in v0.7.0

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

Deprecated: Use DeploymentExecuteRequest.ProtoReflect.Descriptor instead.

func (*DeploymentExecuteRequest) GetCert added in v0.7.0

func (x *DeploymentExecuteRequest) GetCert() string

func (*DeploymentExecuteRequest) GetDomain added in v0.7.0

func (x *DeploymentExecuteRequest) GetDomain() string

func (*DeploymentExecuteRequest) GetKey added in v0.7.0

func (x *DeploymentExecuteRequest) GetKey() string

func (*DeploymentExecuteRequest) GetRequestId added in v0.7.0

func (x *DeploymentExecuteRequest) GetRequestId() string

func (*DeploymentExecuteRequest) GetSelector added in v0.7.0

func (x *DeploymentExecuteRequest) GetSelector() *DeploymentSelector

func (*DeploymentExecuteRequest) GetUrl added in v0.7.0

func (x *DeploymentExecuteRequest) GetUrl() string

func (*DeploymentExecuteRequest) ProtoMessage added in v0.7.0

func (*DeploymentExecuteRequest) ProtoMessage()

func (*DeploymentExecuteRequest) ProtoReflect added in v0.7.0

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

func (*DeploymentExecuteRequest) Reset added in v0.7.0

func (x *DeploymentExecuteRequest) Reset()

func (*DeploymentExecuteRequest) String added in v0.7.0

func (x *DeploymentExecuteRequest) String() string

type DeploymentExecuteResponse added in v0.7.0

type DeploymentExecuteResponse struct {
	RequestId string                     `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // 请求 ID
	Selector  *DeploymentSelector        `protobuf:"bytes,2,opt,name=selector,proto3" json:"selector,omitempty"`                    // 被执行的部署目标
	Result    *DeploymentExecutionResult `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"`                        // 部署结果
	// contains filtered or unexported fields
}

DeploymentExecuteResponse 返回证书部署结果。

func (*DeploymentExecuteResponse) Descriptor deprecated added in v0.7.0

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

Deprecated: Use DeploymentExecuteResponse.ProtoReflect.Descriptor instead.

func (*DeploymentExecuteResponse) GetRequestId added in v0.7.0

func (x *DeploymentExecuteResponse) GetRequestId() string

func (*DeploymentExecuteResponse) GetResult added in v0.7.0

func (*DeploymentExecuteResponse) GetSelector added in v0.7.0

func (*DeploymentExecuteResponse) ProtoMessage added in v0.7.0

func (*DeploymentExecuteResponse) ProtoMessage()

func (*DeploymentExecuteResponse) ProtoReflect added in v0.7.0

func (*DeploymentExecuteResponse) Reset added in v0.7.0

func (x *DeploymentExecuteResponse) Reset()

func (*DeploymentExecuteResponse) String added in v0.7.0

func (x *DeploymentExecuteResponse) String() string

type DeploymentExecutionResult added in v0.7.0

type DeploymentExecutionResult struct {
	Status            DeploymentExecutionResult_Status `protobuf:"varint,1,opt,name=status,proto3,enum=deployPB.DeploymentExecutionResult_Status" json:"status,omitempty"`         // 执行结果
	Message           string                           `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`                                                       // 可安全返回的脱敏说明
	Retryable         *bool                            `protobuf:"varint,3,opt,name=retryable,proto3,oneof" json:"retryable,omitempty"`                                            // 是否建议重试
	ProviderRequestId string                           `protobuf:"bytes,4,opt,name=provider_request_id,json=providerRequestId,proto3" json:"provider_request_id,omitempty"`        // 云厂商请求 ID
	FailureKind       FailureKind                      `protobuf:"varint,5,opt,name=failure_kind,json=failureKind,proto3,enum=deployPB.FailureKind" json:"failure_kind,omitempty"` // 稳定失败原因分类
	// contains filtered or unexported fields
}

DeploymentExecutionResult 是 v2 测试和执行的统一结果。

func (*DeploymentExecutionResult) Descriptor deprecated added in v0.7.0

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

Deprecated: Use DeploymentExecutionResult.ProtoReflect.Descriptor instead.

func (*DeploymentExecutionResult) GetFailureKind added in v0.7.0

func (x *DeploymentExecutionResult) GetFailureKind() FailureKind

func (*DeploymentExecutionResult) GetMessage added in v0.7.0

func (x *DeploymentExecutionResult) GetMessage() string

func (*DeploymentExecutionResult) GetProviderRequestId added in v0.7.0

func (x *DeploymentExecutionResult) GetProviderRequestId() string

func (*DeploymentExecutionResult) GetRetryable added in v0.7.0

func (x *DeploymentExecutionResult) GetRetryable() bool

func (*DeploymentExecutionResult) GetStatus added in v0.7.0

func (*DeploymentExecutionResult) ProtoMessage added in v0.7.0

func (*DeploymentExecutionResult) ProtoMessage()

func (*DeploymentExecutionResult) ProtoReflect added in v0.7.0

func (*DeploymentExecutionResult) Reset added in v0.7.0

func (x *DeploymentExecutionResult) Reset()

func (*DeploymentExecutionResult) String added in v0.7.0

func (x *DeploymentExecutionResult) String() string

type DeploymentExecutionResult_Status added in v0.7.0

type DeploymentExecutionResult_Status int32
const (
	DeploymentExecutionResult_STATUS_UNSPECIFIED   DeploymentExecutionResult_Status = 0 // 未指定
	DeploymentExecutionResult_STATUS_SUCCESS       DeploymentExecutionResult_Status = 1 // 成功
	DeploymentExecutionResult_STATUS_FAILED        DeploymentExecutionResult_Status = 2 // 失败
	DeploymentExecutionResult_STATUS_NOT_SUPPORTED DeploymentExecutionResult_Status = 3 // 不支持
)

func (DeploymentExecutionResult_Status) Descriptor added in v0.7.0

func (DeploymentExecutionResult_Status) Enum added in v0.7.0

func (DeploymentExecutionResult_Status) EnumDescriptor deprecated added in v0.7.0

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

Deprecated: Use DeploymentExecutionResult_Status.Descriptor instead.

func (DeploymentExecutionResult_Status) Number added in v0.7.0

func (DeploymentExecutionResult_Status) String added in v0.7.0

func (DeploymentExecutionResult_Status) Type added in v0.7.0

type DeploymentHeartbeat added in v0.7.0

type DeploymentHeartbeat struct {
	Registration *DeploymentRegisterV2 `protobuf:"bytes,1,opt,name=registration,proto3" json:"registration,omitempty"` // 最新协议、版本和能力摘要
	// contains filtered or unexported fields
}

DeploymentHeartbeat 描述 v2 客户端的轻量心跳。

func (*DeploymentHeartbeat) Descriptor deprecated added in v0.7.0

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

Deprecated: Use DeploymentHeartbeat.ProtoReflect.Descriptor instead.

func (*DeploymentHeartbeat) GetRegistration added in v0.7.0

func (x *DeploymentHeartbeat) GetRegistration() *DeploymentRegisterV2

func (*DeploymentHeartbeat) ProtoMessage added in v0.7.0

func (*DeploymentHeartbeat) ProtoMessage()

func (*DeploymentHeartbeat) ProtoReflect added in v0.7.0

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

func (*DeploymentHeartbeat) Reset added in v0.7.0

func (x *DeploymentHeartbeat) Reset()

func (*DeploymentHeartbeat) String added in v0.7.0

func (x *DeploymentHeartbeat) String() string

type DeploymentRegisterV2 added in v0.7.0

type DeploymentRegisterV2 struct {
	ProtocolVersion uint32                  `protobuf:"varint,1,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"` // 协议主版本
	ClientVersion   string                  `protobuf:"bytes,2,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"`        // 客户端版本
	Features        []string                `protobuf:"bytes,3,rep,name=features,proto3" json:"features,omitempty"`                                       // 客户端能力开关
	Capabilities    []*DeploymentCapability `protobuf:"bytes,4,rep,name=capabilities,proto3" json:"capabilities,omitempty"`                               // 支持的部署能力
	Os              string                  `protobuf:"bytes,5,opt,name=os,proto3" json:"os,omitempty"`                                                   // 操作系统摘要
	Arch            string                  `protobuf:"bytes,6,opt,name=arch,proto3" json:"arch,omitempty"`                                               // CPU 架构摘要
	Hostname        string                  `protobuf:"bytes,7,opt,name=hostname,proto3" json:"hostname,omitempty"`                                       // 主机名摘要
	Ip              string                  `protobuf:"bytes,8,opt,name=ip,proto3" json:"ip,omitempty"`                                                   // 客户端 IP 摘要
	// contains filtered or unexported fields
}

DeploymentRegisterV2 描述 v2 客户端注册能力。

func (*DeploymentRegisterV2) Descriptor deprecated added in v0.7.0

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

Deprecated: Use DeploymentRegisterV2.ProtoReflect.Descriptor instead.

func (*DeploymentRegisterV2) GetArch added in v0.7.0

func (x *DeploymentRegisterV2) GetArch() string

func (*DeploymentRegisterV2) GetCapabilities added in v0.7.0

func (x *DeploymentRegisterV2) GetCapabilities() []*DeploymentCapability

func (*DeploymentRegisterV2) GetClientVersion added in v0.7.0

func (x *DeploymentRegisterV2) GetClientVersion() string

func (*DeploymentRegisterV2) GetFeatures added in v0.7.0

func (x *DeploymentRegisterV2) GetFeatures() []string

func (*DeploymentRegisterV2) GetHostname added in v0.7.0

func (x *DeploymentRegisterV2) GetHostname() string

func (*DeploymentRegisterV2) GetIp added in v0.7.0

func (x *DeploymentRegisterV2) GetIp() string

func (*DeploymentRegisterV2) GetOs added in v0.7.0

func (x *DeploymentRegisterV2) GetOs() string

func (*DeploymentRegisterV2) GetProtocolVersion added in v0.7.0

func (x *DeploymentRegisterV2) GetProtocolVersion() uint32

func (*DeploymentRegisterV2) ProtoMessage added in v0.7.0

func (*DeploymentRegisterV2) ProtoMessage()

func (*DeploymentRegisterV2) ProtoReflect added in v0.7.0

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

func (*DeploymentRegisterV2) Reset added in v0.7.0

func (x *DeploymentRegisterV2) Reset()

func (*DeploymentRegisterV2) String added in v0.7.0

func (x *DeploymentRegisterV2) String() string

type DeploymentRequest added in v0.7.0

type DeploymentRequest struct {
	AccessKey string `protobuf:"bytes,1,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"` // 访问令牌
	ClientId  string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`    // 客户端公开 ID
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // 请求和响应的关联 ID
	// Types that are valid to be assigned to Data:
	//
	//	*DeploymentRequest_Register
	//	*DeploymentRequest_Heartbeat
	//	*DeploymentRequest_DiscoverResponse
	//	*DeploymentRequest_TestResponse
	//	*DeploymentRequest_ExecuteResponse
	//	*DeploymentRequest_ChallengeResponse
	Data isDeploymentRequest_Data `protobuf_oneof:"data"`
	// contains filtered or unexported fields
}

DeploymentRequest 是 v2 客户端发送给服务端的统一消息信封。

func (*DeploymentRequest) Descriptor deprecated added in v0.7.0

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

Deprecated: Use DeploymentRequest.ProtoReflect.Descriptor instead.

func (*DeploymentRequest) GetAccessKey added in v0.7.0

func (x *DeploymentRequest) GetAccessKey() string

func (*DeploymentRequest) GetChallengeResponse added in v0.7.0

func (x *DeploymentRequest) GetChallengeResponse() *DeploymentChallengeResponse

func (*DeploymentRequest) GetClientId added in v0.7.0

func (x *DeploymentRequest) GetClientId() string

func (*DeploymentRequest) GetData added in v0.7.0

func (x *DeploymentRequest) GetData() isDeploymentRequest_Data

func (*DeploymentRequest) GetDiscoverResponse added in v0.7.0

func (x *DeploymentRequest) GetDiscoverResponse() *DeploymentDiscoverResponse

func (*DeploymentRequest) GetExecuteResponse added in v0.7.0

func (x *DeploymentRequest) GetExecuteResponse() *DeploymentExecuteResponse

func (*DeploymentRequest) GetHeartbeat added in v0.7.0

func (x *DeploymentRequest) GetHeartbeat() *DeploymentHeartbeat

func (*DeploymentRequest) GetRegister added in v0.7.0

func (x *DeploymentRequest) GetRegister() *DeploymentRegisterV2

func (*DeploymentRequest) GetRequestId added in v0.7.0

func (x *DeploymentRequest) GetRequestId() string

func (*DeploymentRequest) GetTestResponse added in v0.7.0

func (x *DeploymentRequest) GetTestResponse() *DeploymentTestResponse

func (*DeploymentRequest) ProtoMessage added in v0.7.0

func (*DeploymentRequest) ProtoMessage()

func (*DeploymentRequest) ProtoReflect added in v0.7.0

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

func (*DeploymentRequest) Reset added in v0.7.0

func (x *DeploymentRequest) Reset()

func (*DeploymentRequest) String added in v0.7.0

func (x *DeploymentRequest) String() string

type DeploymentRequest_ChallengeResponse added in v0.7.0

type DeploymentRequest_ChallengeResponse struct {
	ChallengeResponse *DeploymentChallengeResponse `protobuf:"bytes,15,opt,name=challenge_response,json=challengeResponse,proto3,oneof"` // HTTP-01 响应
}

type DeploymentRequest_DiscoverResponse added in v0.7.0

type DeploymentRequest_DiscoverResponse struct {
	DiscoverResponse *DeploymentDiscoverResponse `protobuf:"bytes,12,opt,name=discover_response,json=discoverResponse,proto3,oneof"` // 资源发现响应
}

type DeploymentRequest_ExecuteResponse added in v0.7.0

type DeploymentRequest_ExecuteResponse struct {
	ExecuteResponse *DeploymentExecuteResponse `protobuf:"bytes,14,opt,name=execute_response,json=executeResponse,proto3,oneof"` // 证书部署响应
}

type DeploymentRequest_Heartbeat added in v0.7.0

type DeploymentRequest_Heartbeat struct {
	Heartbeat *DeploymentHeartbeat `protobuf:"bytes,11,opt,name=heartbeat,proto3,oneof"` // 连接保活
}

type DeploymentRequest_Register added in v0.7.0

type DeploymentRequest_Register struct {
	Register *DeploymentRegisterV2 `protobuf:"bytes,10,opt,name=register,proto3,oneof"` // 首次注册或能力更新
}

type DeploymentRequest_TestResponse added in v0.7.0

type DeploymentRequest_TestResponse struct {
	TestResponse *DeploymentTestResponse `protobuf:"bytes,13,opt,name=test_response,json=testResponse,proto3,oneof"` // 目标测试响应
}

type DeploymentResource added in v0.7.0

type DeploymentResource struct {
	TargetRef    string                         `protobuf:"bytes,1,opt,name=target_ref,json=targetRef,proto3" json:"target_ref,omitempty"`                                     // 客户端生成的不透明资源引用
	Label        string                         `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`                                                              // 资源展示名称
	Domain       string                         `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"`                                                            // 资源主域名
	Domains      []string                       `protobuf:"bytes,4,rep,name=domains,proto3" json:"domains,omitempty"`                                                          // 资源全部规范化域名
	Protocol     string                         `protobuf:"bytes,5,opt,name=protocol,proto3" json:"protocol,omitempty"`                                                        // 资源协议
	Status       string                         `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`                                                            // 资源运行状态
	Group        string                         `protobuf:"bytes,7,opt,name=group,proto3" json:"group,omitempty"`                                                              // 资源所属分组
	Region       string                         `protobuf:"bytes,8,opt,name=region,proto3" json:"region,omitempty"`                                                            // 资源地域
	Port         uint32                         `protobuf:"varint,9,opt,name=port,proto3" json:"port,omitempty"`                                                               // 监听端口
	Availability DeploymentResourceAvailability `protobuf:"varint,10,opt,name=availability,proto3,enum=deployPB.DeploymentResourceAvailability" json:"availability,omitempty"` // 资源可用状态
	// contains filtered or unexported fields
}

DeploymentResource 是 v2 客户端发现的脱敏动态资源。

func (*DeploymentResource) Descriptor deprecated added in v0.7.0

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

Deprecated: Use DeploymentResource.ProtoReflect.Descriptor instead.

func (*DeploymentResource) GetAvailability added in v0.7.0

func (*DeploymentResource) GetDomain added in v0.7.0

func (x *DeploymentResource) GetDomain() string

func (*DeploymentResource) GetDomains added in v0.7.0

func (x *DeploymentResource) GetDomains() []string

func (*DeploymentResource) GetGroup added in v0.7.0

func (x *DeploymentResource) GetGroup() string

func (*DeploymentResource) GetLabel added in v0.7.0

func (x *DeploymentResource) GetLabel() string

func (*DeploymentResource) GetPort added in v0.7.0

func (x *DeploymentResource) GetPort() uint32

func (*DeploymentResource) GetProtocol added in v0.7.0

func (x *DeploymentResource) GetProtocol() string

func (*DeploymentResource) GetRegion added in v0.7.0

func (x *DeploymentResource) GetRegion() string

func (*DeploymentResource) GetStatus added in v0.7.0

func (x *DeploymentResource) GetStatus() string

func (*DeploymentResource) GetTargetRef added in v0.7.0

func (x *DeploymentResource) GetTargetRef() string

func (*DeploymentResource) ProtoMessage added in v0.7.0

func (*DeploymentResource) ProtoMessage()

func (*DeploymentResource) ProtoReflect added in v0.7.0

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

func (*DeploymentResource) Reset added in v0.7.0

func (x *DeploymentResource) Reset()

func (*DeploymentResource) String added in v0.7.0

func (x *DeploymentResource) String() string

type DeploymentResourceAvailability added in v0.7.0

type DeploymentResourceAvailability int32

DeploymentResourceAvailability 描述单个动态部署资源当前是否可以执行证书部署。

const (
	DeploymentResourceAvailability_DEPLOYMENT_RESOURCE_AVAILABILITY_UNKNOWN     DeploymentResourceAvailability = 0 // 旧客户端未上报资源可用性
	DeploymentResourceAvailability_DEPLOYMENT_RESOURCE_AVAILABILITY_READY       DeploymentResourceAvailability = 1 // 资源状态正常,可以测试和部署
	DeploymentResourceAvailability_DEPLOYMENT_RESOURCE_AVAILABILITY_STOPPED     DeploymentResourceAvailability = 2 // 资源已停止运行
	DeploymentResourceAvailability_DEPLOYMENT_RESOURCE_AVAILABILITY_DISABLED    DeploymentResourceAvailability = 3 // 资源或 HTTPS 能力已禁用
	DeploymentResourceAvailability_DEPLOYMENT_RESOURCE_AVAILABILITY_LOCKED      DeploymentResourceAvailability = 4 // 资源因冻结、锁定等状态不可修改
	DeploymentResourceAvailability_DEPLOYMENT_RESOURCE_AVAILABILITY_UNSUPPORTED DeploymentResourceAvailability = 5 // 资源形态暂不支持精确部署
)

func (DeploymentResourceAvailability) Descriptor added in v0.7.0

func (DeploymentResourceAvailability) Enum added in v0.7.0

func (DeploymentResourceAvailability) EnumDescriptor deprecated added in v0.7.0

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

Deprecated: Use DeploymentResourceAvailability.Descriptor instead.

func (DeploymentResourceAvailability) Number added in v0.7.0

func (DeploymentResourceAvailability) String added in v0.7.0

func (DeploymentResourceAvailability) Type added in v0.7.0

type DeploymentResourceStatus added in v0.7.0

type DeploymentResourceStatus int32

DeploymentResourceStatus 描述动态部署资源目录的可用状态,不携带客户端诊断信息。

const (
	DeploymentResourceStatus_DEPLOYMENT_RESOURCE_STATUS_UNKNOWN           DeploymentResourceStatus = 0 // 旧客户端未上报或该业务不使用动态资源
	DeploymentResourceStatus_DEPLOYMENT_RESOURCE_STATUS_READY             DeploymentResourceStatus = 1 // 动态资源目录已成功加载
	DeploymentResourceStatus_DEPLOYMENT_RESOURCE_STATUS_EMPTY             DeploymentResourceStatus = 2 // 动态资源目录加载成功但没有可用资源
	DeploymentResourceStatus_DEPLOYMENT_RESOURCE_STATUS_NOT_CONFIGURED    DeploymentResourceStatus = 3 // deploy 客户端未配置该资源来源
	DeploymentResourceStatus_DEPLOYMENT_RESOURCE_STATUS_UNAVAILABLE       DeploymentResourceStatus = 4 // 动态资源目录暂时不可用,详细原因仅保留在客户端日志
	DeploymentResourceStatus_DEPLOYMENT_RESOURCE_STATUS_PARTIAL           DeploymentResourceStatus = 5 // 动态资源目录只完成部分扫描,已发现资源仍可使用
	DeploymentResourceStatus_DEPLOYMENT_RESOURCE_STATUS_PERMISSION_DENIED DeploymentResourceStatus = 6 // 云厂商明确拒绝访问,前端可展示该业务的静态权限指引
)

func (DeploymentResourceStatus) Descriptor added in v0.7.0

func (DeploymentResourceStatus) Enum added in v0.7.0

func (DeploymentResourceStatus) EnumDescriptor deprecated added in v0.7.0

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

Deprecated: Use DeploymentResourceStatus.Descriptor instead.

func (DeploymentResourceStatus) Number added in v0.7.0

func (DeploymentResourceStatus) String added in v0.7.0

func (x DeploymentResourceStatus) String() string

func (DeploymentResourceStatus) Type added in v0.7.0

type DeploymentResponse added in v0.7.0

type DeploymentResponse struct {
	ClientId  string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`    // 客户端公开 ID
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // 请求和响应的关联 ID
	// Types that are valid to be assigned to Data:
	//
	//	*DeploymentResponse_Register
	//	*DeploymentResponse_DiscoverRequest
	//	*DeploymentResponse_TestRequest
	//	*DeploymentResponse_ExecuteRequest
	//	*DeploymentResponse_ChallengeRequest
	//	*DeploymentResponse_UpdateRequest
	Data isDeploymentResponse_Data `protobuf_oneof:"data"`
	// contains filtered or unexported fields
}

DeploymentResponse 是服务端发送给 v2 客户端的统一消息信封。

func (*DeploymentResponse) Descriptor deprecated added in v0.7.0

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

Deprecated: Use DeploymentResponse.ProtoReflect.Descriptor instead.

func (*DeploymentResponse) GetChallengeRequest added in v0.7.0

func (x *DeploymentResponse) GetChallengeRequest() *DeploymentChallengeRequest

func (*DeploymentResponse) GetClientId added in v0.7.0

func (x *DeploymentResponse) GetClientId() string

func (*DeploymentResponse) GetData added in v0.7.0

func (x *DeploymentResponse) GetData() isDeploymentResponse_Data

func (*DeploymentResponse) GetDiscoverRequest added in v0.7.0

func (x *DeploymentResponse) GetDiscoverRequest() *DeploymentDiscoverRequest

func (*DeploymentResponse) GetExecuteRequest added in v0.7.0

func (x *DeploymentResponse) GetExecuteRequest() *DeploymentExecuteRequest

func (*DeploymentResponse) GetRegister added in v0.7.0

func (x *DeploymentResponse) GetRegister() *DeploymentRegisterV2

func (*DeploymentResponse) GetRequestId added in v0.7.0

func (x *DeploymentResponse) GetRequestId() string

func (*DeploymentResponse) GetTestRequest added in v0.7.0

func (x *DeploymentResponse) GetTestRequest() *DeploymentTestRequest

func (*DeploymentResponse) GetUpdateRequest added in v0.7.0

func (x *DeploymentResponse) GetUpdateRequest() *DeploymentUpdateRequest

func (*DeploymentResponse) ProtoMessage added in v0.7.0

func (*DeploymentResponse) ProtoMessage()

func (*DeploymentResponse) ProtoReflect added in v0.7.0

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

func (*DeploymentResponse) Reset added in v0.7.0

func (x *DeploymentResponse) Reset()

func (*DeploymentResponse) String added in v0.7.0

func (x *DeploymentResponse) String() string

type DeploymentResponse_ChallengeRequest added in v0.7.0

type DeploymentResponse_ChallengeRequest struct {
	ChallengeRequest *DeploymentChallengeRequest `protobuf:"bytes,14,opt,name=challenge_request,json=challengeRequest,proto3,oneof"` // HTTP-01 请求
}

type DeploymentResponse_DiscoverRequest added in v0.7.0

type DeploymentResponse_DiscoverRequest struct {
	DiscoverRequest *DeploymentDiscoverRequest `protobuf:"bytes,11,opt,name=discover_request,json=discoverRequest,proto3,oneof"` // 资源发现请求
}

type DeploymentResponse_ExecuteRequest added in v0.7.0

type DeploymentResponse_ExecuteRequest struct {
	ExecuteRequest *DeploymentExecuteRequest `protobuf:"bytes,13,opt,name=execute_request,json=executeRequest,proto3,oneof"` // 证书部署请求
}

type DeploymentResponse_Register added in v0.7.0

type DeploymentResponse_Register struct {
	Register *DeploymentRegisterV2 `protobuf:"bytes,10,opt,name=register,proto3,oneof"` // 注册确认和最新能力摘要
}

type DeploymentResponse_TestRequest added in v0.7.0

type DeploymentResponse_TestRequest struct {
	TestRequest *DeploymentTestRequest `protobuf:"bytes,12,opt,name=test_request,json=testRequest,proto3,oneof"` // 目标测试请求
}

type DeploymentResponse_UpdateRequest added in v0.7.0

type DeploymentResponse_UpdateRequest struct {
	UpdateRequest *DeploymentUpdateRequest `protobuf:"bytes,15,opt,name=update_request,json=updateRequest,proto3,oneof"` // 客户端版本更新请求
}

type DeploymentSelector added in v0.7.0

type DeploymentSelector struct {
	Provider       Provider       `protobuf:"varint,1,opt,name=provider,proto3,enum=deployPB.Provider" json:"provider,omitempty"` // 服务商
	DeploymentType DeploymentType ``                                                                                              // 明确部署业务
	/* 133-byte string literal not displayed */
	TargetRef string `protobuf:"bytes,3,opt,name=target_ref,json=targetRef,proto3" json:"target_ref,omitempty"` // 客户端生成的不透明资源引用
	// contains filtered or unexported fields
}

DeploymentSelector 是定位客户端部署目标的稳定选择器。

func (*DeploymentSelector) Descriptor deprecated added in v0.7.0

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

Deprecated: Use DeploymentSelector.ProtoReflect.Descriptor instead.

func (*DeploymentSelector) GetDeploymentType added in v0.7.0

func (x *DeploymentSelector) GetDeploymentType() DeploymentType

func (*DeploymentSelector) GetProvider added in v0.7.0

func (x *DeploymentSelector) GetProvider() Provider

func (*DeploymentSelector) GetTargetRef added in v0.7.0

func (x *DeploymentSelector) GetTargetRef() string

func (*DeploymentSelector) ProtoMessage added in v0.7.0

func (*DeploymentSelector) ProtoMessage()

func (*DeploymentSelector) ProtoReflect added in v0.7.0

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

func (*DeploymentSelector) Reset added in v0.7.0

func (x *DeploymentSelector) Reset()

func (*DeploymentSelector) String added in v0.7.0

func (x *DeploymentSelector) String() string

type DeploymentTargetMode added in v0.7.0

type DeploymentTargetMode int32

DeploymentTargetMode 描述业务是否需要客户端动态资源引用。

const (
	DeploymentTargetMode_DEPLOYMENT_TARGET_MODE_UNSPECIFIED DeploymentTargetMode = 0 // 未指定模式
	DeploymentTargetMode_DEPLOYMENT_TARGET_MODE_NONE        DeploymentTargetMode = 1 // 不需要 targetRef
	DeploymentTargetMode_DEPLOYMENT_TARGET_MODE_REQUIRED    DeploymentTargetMode = 2 // 必须提供 targetRef
)

func (DeploymentTargetMode) Descriptor added in v0.7.0

func (DeploymentTargetMode) Enum added in v0.7.0

func (DeploymentTargetMode) EnumDescriptor deprecated added in v0.7.0

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

Deprecated: Use DeploymentTargetMode.Descriptor instead.

func (DeploymentTargetMode) Number added in v0.7.0

func (DeploymentTargetMode) String added in v0.7.0

func (x DeploymentTargetMode) String() string

func (DeploymentTargetMode) Type added in v0.7.0

type DeploymentTestRequest added in v0.7.0

type DeploymentTestRequest struct {
	RequestId string              `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // 请求 ID
	Selector  *DeploymentSelector `protobuf:"bytes,2,opt,name=selector,proto3" json:"selector,omitempty"`                    // 部署目标
	// contains filtered or unexported fields
}

DeploymentTestRequest 请求测试一个部署目标。

func (*DeploymentTestRequest) Descriptor deprecated added in v0.7.0

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

Deprecated: Use DeploymentTestRequest.ProtoReflect.Descriptor instead.

func (*DeploymentTestRequest) GetRequestId added in v0.7.0

func (x *DeploymentTestRequest) GetRequestId() string

func (*DeploymentTestRequest) GetSelector added in v0.7.0

func (x *DeploymentTestRequest) GetSelector() *DeploymentSelector

func (*DeploymentTestRequest) ProtoMessage added in v0.7.0

func (*DeploymentTestRequest) ProtoMessage()

func (*DeploymentTestRequest) ProtoReflect added in v0.7.0

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

func (*DeploymentTestRequest) Reset added in v0.7.0

func (x *DeploymentTestRequest) Reset()

func (*DeploymentTestRequest) String added in v0.7.0

func (x *DeploymentTestRequest) String() string

type DeploymentTestResponse added in v0.7.0

type DeploymentTestResponse struct {
	RequestId string                     `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // 请求 ID
	Selector  *DeploymentSelector        `protobuf:"bytes,2,opt,name=selector,proto3" json:"selector,omitempty"`                    // 被测试的部署目标
	Result    *DeploymentExecutionResult `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"`                        // 测试结果
	// contains filtered or unexported fields
}

DeploymentTestResponse 返回部署目标测试结果。

func (*DeploymentTestResponse) Descriptor deprecated added in v0.7.0

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

Deprecated: Use DeploymentTestResponse.ProtoReflect.Descriptor instead.

func (*DeploymentTestResponse) GetRequestId added in v0.7.0

func (x *DeploymentTestResponse) GetRequestId() string

func (*DeploymentTestResponse) GetResult added in v0.7.0

func (*DeploymentTestResponse) GetSelector added in v0.7.0

func (x *DeploymentTestResponse) GetSelector() *DeploymentSelector

func (*DeploymentTestResponse) ProtoMessage added in v0.7.0

func (*DeploymentTestResponse) ProtoMessage()

func (*DeploymentTestResponse) ProtoReflect added in v0.7.0

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

func (*DeploymentTestResponse) Reset added in v0.7.0

func (x *DeploymentTestResponse) Reset()

func (*DeploymentTestResponse) String added in v0.7.0

func (x *DeploymentTestResponse) String() string

type DeploymentType added in v0.7.0

type DeploymentType int32

DeploymentType 是 v2 部署协议中的明确部署业务。

const (
	DeploymentType_DEPLOYMENT_TYPE_UNSPECIFIED                     DeploymentType = 0  // 未指定部署业务
	DeploymentType_DEPLOYMENT_TYPE_ANSSL_CLI_NGINX_CERT            DeploymentType = 1  // Nginx 证书部署
	DeploymentType_DEPLOYMENT_TYPE_UPLOAD_CERT                     DeploymentType = 2  // 上传证书
	DeploymentType_DEPLOYMENT_TYPE_CDN                             DeploymentType = 3  // CDN
	DeploymentType_DEPLOYMENT_TYPE_DCDN                            DeploymentType = 4  // DCDN
	DeploymentType_DEPLOYMENT_TYPE_ANSSL_CLI_APACHE_CERT           DeploymentType = 6  // Apache 证书部署
	DeploymentType_DEPLOYMENT_TYPE_ANSSL_CLI_RUSTFS_CERT           DeploymentType = 7  // RustFS 证书部署
	DeploymentType_DEPLOYMENT_TYPE_ANSSL_CLI_FEINIU_CERT           DeploymentType = 8  // 飞牛 OS 证书部署
	DeploymentType_DEPLOYMENT_TYPE_ANSSL_CLI_1PANEL_CERT           DeploymentType = 9  // 1Panel 证书部署
	DeploymentType_DEPLOYMENT_TYPE_ANSSL_CLI_OPENVPN_AS_CERT       DeploymentType = 10 // OpenVPN-AS 证书部署
	DeploymentType_DEPLOYMENT_TYPE_ANSSL_CLI_UPLOAD_ONLY_CERT      DeploymentType = 11 // 仅上传证书
	DeploymentType_DEPLOYMENT_TYPE_ESA                             DeploymentType = 12 // 阿里云 ESA
	DeploymentType_DEPLOYMENT_TYPE_EDGEONE                         DeploymentType = 13 // 腾讯云 EdgeOne
	DeploymentType_DEPLOYMENT_TYPE_COS                             DeploymentType = 14 // 腾讯云 COS 自定义域名
	DeploymentType_DEPLOYMENT_TYPE_OSS_CUSTOM_DOMAIN               DeploymentType = 15 // 阿里云 OSS 自定义域名
	DeploymentType_DEPLOYMENT_TYPE_CLB                             DeploymentType = 16 // 负载均衡 CLB
	DeploymentType_DEPLOYMENT_TYPE_ALB                             DeploymentType = 17 // 阿里云 ALB
	DeploymentType_DEPLOYMENT_TYPE_NLB                             DeploymentType = 18 // 阿里云 NLB
	DeploymentType_DEPLOYMENT_TYPE_ANSSL_CLI_SAFELINE_CERT         DeploymentType = 19 // 雷池 WAF 证书部署
	DeploymentType_DEPLOYMENT_TYPE_ANSSL_CLI_1PANEL_WEBSITE_CERT   DeploymentType = 20 // 1Panel 网站证书部署
	DeploymentType_DEPLOYMENT_TYPE_ANSSL_CLI_BT_PANEL_WEBSITE_CERT DeploymentType = 21 // 宝塔面板网站证书部署
	DeploymentType_DEPLOYMENT_TYPE_ANSSL_CLI_BT_PANEL_CERT         DeploymentType = 22 // 宝塔面板证书库上传
	DeploymentType_DEPLOYMENT_TYPE_OBS_CUSTOM_DOMAIN               DeploymentType = 23 // 华为云 OBS 自定义域名
	DeploymentType_DEPLOYMENT_TYPE_TOS_CUSTOM_DOMAIN               DeploymentType = 24 // 火山引擎 TOS 自定义域名
	DeploymentType_DEPLOYMENT_TYPE_ELB                             DeploymentType = 25 // 华为云 ELB
)

func (DeploymentType) Descriptor added in v0.7.0

func (DeploymentType) Enum added in v0.7.0

func (x DeploymentType) Enum() *DeploymentType

func (DeploymentType) EnumDescriptor deprecated added in v0.7.0

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

Deprecated: Use DeploymentType.Descriptor instead.

func (DeploymentType) Number added in v0.7.0

func (DeploymentType) String added in v0.7.0

func (x DeploymentType) String() string

func (DeploymentType) Type added in v0.7.0

type DeploymentUpdateRequest added in v0.7.0

type DeploymentUpdateRequest struct {
	Version     string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`                            // 目标版本
	DownloadUrl string `protobuf:"bytes,2,opt,name=download_url,json=downloadUrl,proto3" json:"download_url,omitempty"` // 可选下载地址
	ReleaseNote string `protobuf:"bytes,3,opt,name=release_note,json=releaseNote,proto3" json:"release_note,omitempty"` // 可选发布说明
	// contains filtered or unexported fields
}

DeploymentUpdateRequest 请求 v2 客户端检查并安装指定版本。

func (*DeploymentUpdateRequest) Descriptor deprecated added in v0.7.0

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

Deprecated: Use DeploymentUpdateRequest.ProtoReflect.Descriptor instead.

func (*DeploymentUpdateRequest) GetDownloadUrl added in v0.7.0

func (x *DeploymentUpdateRequest) GetDownloadUrl() string

func (*DeploymentUpdateRequest) GetReleaseNote added in v0.7.0

func (x *DeploymentUpdateRequest) GetReleaseNote() string

func (*DeploymentUpdateRequest) GetVersion added in v0.7.0

func (x *DeploymentUpdateRequest) GetVersion() string

func (*DeploymentUpdateRequest) ProtoMessage added in v0.7.0

func (*DeploymentUpdateRequest) ProtoMessage()

func (*DeploymentUpdateRequest) ProtoReflect added in v0.7.0

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

func (*DeploymentUpdateRequest) Reset added in v0.7.0

func (x *DeploymentUpdateRequest) Reset()

func (*DeploymentUpdateRequest) String added in v0.7.0

func (x *DeploymentUpdateRequest) String() string

type ExecuteBusinesRequest

type ExecuteBusinesRequest struct {
	RequestResult ExecuteBusinesRequest_RequestResult `` // 请求结果
	/* 130-byte string literal not displayed */
	Message           string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`                                                // 失败原因或成功说明
	Retryable         *bool  `protobuf:"varint,3,opt,name=retryable,proto3,oneof" json:"retryable,omitempty"`                                     // 是否建议后端重试;未设置表示旧客户端未分类
	ProviderRequestId string `protobuf:"bytes,4,opt,name=provider_request_id,json=providerRequestId,proto3" json:"provider_request_id,omitempty"` // 云厂商请求 ID,便于排查 API 调用
	// contains filtered or unexported fields
}

MARK: - 执行业务

func (*ExecuteBusinesRequest) Descriptor deprecated

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

Deprecated: Use ExecuteBusinesRequest.ProtoReflect.Descriptor instead.

func (*ExecuteBusinesRequest) GetMessage added in v0.6.4

func (x *ExecuteBusinesRequest) GetMessage() string

func (*ExecuteBusinesRequest) GetProviderRequestId added in v0.6.4

func (x *ExecuteBusinesRequest) GetProviderRequestId() string

func (*ExecuteBusinesRequest) GetRequestResult

func (*ExecuteBusinesRequest) GetRetryable added in v0.6.4

func (x *ExecuteBusinesRequest) GetRetryable() bool

func (*ExecuteBusinesRequest) ProtoMessage

func (*ExecuteBusinesRequest) ProtoMessage()

func (*ExecuteBusinesRequest) ProtoReflect

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

func (*ExecuteBusinesRequest) Reset

func (x *ExecuteBusinesRequest) Reset()

func (*ExecuteBusinesRequest) String

func (x *ExecuteBusinesRequest) String() string

type ExecuteBusinesRequest_RequestResult

type ExecuteBusinesRequest_RequestResult int32

请求结果

const (
	ExecuteBusinesRequest_REQUEST_RESULT_UNKNOWN       ExecuteBusinesRequest_RequestResult = 0 // 未知
	ExecuteBusinesRequest_REQUEST_RESULT_SUCCESS       ExecuteBusinesRequest_RequestResult = 1 // 成功
	ExecuteBusinesRequest_REQUEST_RESULT_FAILED        ExecuteBusinesRequest_RequestResult = 2 // 失败
	ExecuteBusinesRequest_REQUEST_RESULT_NOT_SUPPORTED ExecuteBusinesRequest_RequestResult = 3 // 不支持
)

func (ExecuteBusinesRequest_RequestResult) Descriptor

func (ExecuteBusinesRequest_RequestResult) Enum

func (ExecuteBusinesRequest_RequestResult) EnumDescriptor deprecated

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

Deprecated: Use ExecuteBusinesRequest_RequestResult.Descriptor instead.

func (ExecuteBusinesRequest_RequestResult) Number

func (ExecuteBusinesRequest_RequestResult) String

func (ExecuteBusinesRequest_RequestResult) Type

type ExecuteBusinesResponse

type ExecuteBusinesResponse struct {
	Provider           string             `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`                                                       // 提供商
	ExecuteBusinesType ExecuteBusinesType `protobuf:"varint,2,opt,name=executeBusinesType,proto3,enum=deployPB.ExecuteBusinesType" json:"executeBusinesType,omitempty"` // 执行业务类型
	Domain             string             `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"`                                                           // 域名
	Url                string             `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"`                                                                 // 证书下载URL
	Cert               string             `protobuf:"bytes,5,opt,name=cert,proto3" json:"cert,omitempty"`                                                               // 证书
	Key                string             `protobuf:"bytes,6,opt,name=key,proto3" json:"key,omitempty"`                                                                 // 私钥
	ChallengeToken     string             `protobuf:"bytes,7,opt,name=challengeToken,proto3" json:"challengeToken,omitempty"`                                           // ACME challenge token
	ChallengeResponse  string             `protobuf:"bytes,8,opt,name=challengeResponse,proto3" json:"challengeResponse,omitempty"`                                     // ACME challenge response
	TargetRef          string             `protobuf:"bytes,9,opt,name=target_ref,json=targetRef,proto3" json:"target_ref,omitempty"`                                    // 客户端本地配置中的精确部署资源引用
	// contains filtered or unexported fields
}

func (*ExecuteBusinesResponse) Descriptor deprecated

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

Deprecated: Use ExecuteBusinesResponse.ProtoReflect.Descriptor instead.

func (*ExecuteBusinesResponse) GetCert

func (x *ExecuteBusinesResponse) GetCert() string

func (*ExecuteBusinesResponse) GetChallengeResponse added in v0.4.1

func (x *ExecuteBusinesResponse) GetChallengeResponse() string

func (*ExecuteBusinesResponse) GetChallengeToken added in v0.4.1

func (x *ExecuteBusinesResponse) GetChallengeToken() string

func (*ExecuteBusinesResponse) GetDomain

func (x *ExecuteBusinesResponse) GetDomain() string

func (*ExecuteBusinesResponse) GetExecuteBusinesType

func (x *ExecuteBusinesResponse) GetExecuteBusinesType() ExecuteBusinesType

func (*ExecuteBusinesResponse) GetKey

func (x *ExecuteBusinesResponse) GetKey() string

func (*ExecuteBusinesResponse) GetProvider

func (x *ExecuteBusinesResponse) GetProvider() string

func (*ExecuteBusinesResponse) GetTargetRef added in v0.6.4

func (x *ExecuteBusinesResponse) GetTargetRef() string

func (*ExecuteBusinesResponse) GetUrl

func (x *ExecuteBusinesResponse) GetUrl() string

func (*ExecuteBusinesResponse) ProtoMessage

func (*ExecuteBusinesResponse) ProtoMessage()

func (*ExecuteBusinesResponse) ProtoReflect

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

func (*ExecuteBusinesResponse) Reset

func (x *ExecuteBusinesResponse) Reset()

func (*ExecuteBusinesResponse) String

func (x *ExecuteBusinesResponse) String() string

type ExecuteBusinesType

type ExecuteBusinesType int32

MARK: - 执行业务类型

const (
	ExecuteBusinesType_EXECUTE_BUSINES_UNKNOWN                         ExecuteBusinesType = 0  // 未知
	ExecuteBusinesType_EXECUTE_BUSINES_ANSSL_CLI_CERT                  ExecuteBusinesType = 1  // Nginx 证书部署
	ExecuteBusinesType_EXECUTE_BUSINES_UPLOAD_CERT                     ExecuteBusinesType = 2  // 上传证书
	ExecuteBusinesType_EXECUTE_BUSINES_CDN                             ExecuteBusinesType = 3  // CDN
	ExecuteBusinesType_EXECUTE_BUSINES_DCDN                            ExecuteBusinesType = 4  // DCDN
	ExecuteBusinesType_EXECUTE_BUSINES_ANSSL_CLI_APACHE_CERT           ExecuteBusinesType = 6  // Apache 证书部署
	ExecuteBusinesType_EXECUTE_BUSINES_ANSSL_CLI_RUSTFS_CERT           ExecuteBusinesType = 7  // RustFS 证书部署
	ExecuteBusinesType_EXECUTE_BUSINES_ANSSL_CLI_FEINIU_CERT           ExecuteBusinesType = 8  // 飞牛 证书部署
	ExecuteBusinesType_EXECUTE_BUSINES_ANSSL_CLI_1PANEL_CERT           ExecuteBusinesType = 9  // 1Panel 证书部署
	ExecuteBusinesType_EXECUTE_BUSINES_ANSSL_CLI_OPENVPN_AS_CERT       ExecuteBusinesType = 10 // OpenVPN-AS 证书部署
	ExecuteBusinesType_EXECUTE_BUSINES_ANSSL_CLI_UPLOAD_ONLY_CERT      ExecuteBusinesType = 11 // UploadOnly 仅上传证书
	ExecuteBusinesType_EXECUTE_BUSINES_ESA                             ExecuteBusinesType = 12 // ESA Record 证书部署
	ExecuteBusinesType_EXECUTE_BUSINES_EDGEONE                         ExecuteBusinesType = 13 // EdgeOne Host 证书部署
	ExecuteBusinesType_EXECUTE_BUSINES_COS                             ExecuteBusinesType = 14 // COS 自定义域名证书部署
	ExecuteBusinesType_EXECUTE_BUSINES_OSS_CUSTOM_DOMAIN               ExecuteBusinesType = 15 // OSS 自定义域名证书部署
	ExecuteBusinesType_EXECUTE_BUSINES_CLB                             ExecuteBusinesType = 16 // 负载均衡 CLB 证书部署
	ExecuteBusinesType_EXECUTE_BUSINES_ALB                             ExecuteBusinesType = 17 // 负载均衡 ALB 证书部署
	ExecuteBusinesType_EXECUTE_BUSINES_NLB                             ExecuteBusinesType = 18 // 负载均衡 NLB 证书部署
	ExecuteBusinesType_EXECUTE_BUSINES_ANSSL_CLI_SAFELINE_CERT         ExecuteBusinesType = 19 // 雷池 WAF 证书部署
	ExecuteBusinesType_EXECUTE_BUSINES_ANSSL_CLI_1PANEL_WEBSITE_CERT   ExecuteBusinesType = 20 // 1Panel 网站证书部署
	ExecuteBusinesType_EXECUTE_BUSINES_ANSSL_CLI_BT_PANEL_WEBSITE_CERT ExecuteBusinesType = 21 // 宝塔面板网站证书部署
	ExecuteBusinesType_EXECUTE_BUSINES_ANSSL_CLI_BT_PANEL_CERT         ExecuteBusinesType = 22 // 宝塔面板证书库上传
)

func (ExecuteBusinesType) Descriptor

func (ExecuteBusinesType) Enum

func (ExecuteBusinesType) EnumDescriptor deprecated

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

Deprecated: Use ExecuteBusinesType.Descriptor instead.

func (ExecuteBusinesType) Number

func (ExecuteBusinesType) String

func (x ExecuteBusinesType) String() string

func (ExecuteBusinesType) Type

type FailureKind added in v0.7.0

type FailureKind int32

FailureKind 描述部署失败的稳定原因分类。

const (
	FailureKind_FAILURE_KIND_UNSPECIFIED        FailureKind = 0 // 未分类或旧客户端未上报
	FailureKind_FAILURE_KIND_TIMEOUT            FailureKind = 1 // 操作或传输超时
	FailureKind_FAILURE_KIND_CANCELED           FailureKind = 2 // 调用方取消或客户端关闭
	FailureKind_FAILURE_KIND_BUSY               FailureKind = 3 // 客户端并发或目标锁繁忙
	FailureKind_FAILURE_KIND_TARGET_UNAVAILABLE FailureKind = 4 // 目标失效或当前不可部署
	FailureKind_FAILURE_KIND_PROVIDER           FailureKind = 5 // 云厂商 API 或 SDK 失败
	FailureKind_FAILURE_KIND_LOCAL_PUBLISH      FailureKind = 6 // 本地文件、SSH 或发布失败
)

func (FailureKind) Descriptor added in v0.7.0

func (FailureKind) Enum added in v0.7.0

func (x FailureKind) Enum() *FailureKind

func (FailureKind) EnumDescriptor deprecated added in v0.7.0

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

Deprecated: Use FailureKind.Descriptor instead.

func (FailureKind) Number added in v0.7.0

func (x FailureKind) Number() protoreflect.EnumNumber

func (FailureKind) String added in v0.7.0

func (x FailureKind) String() string

func (FailureKind) Type added in v0.7.0

type GetProviderRequest

type GetProviderRequest struct {
	Provider           string             `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` // 为空时返回全部已配置 provider 的轻量能力
	ExecuteBusinesType ExecuteBusinesType ``                                                                      // include_resources=true 时只扫描这一项业务
	/* 151-byte string literal not displayed */
	IncludeResources bool `protobuf:"varint,3,opt,name=include_resources,json=includeResources,proto3" json:"include_resources,omitempty"` // 是否实时读取指定业务的资源目录
	// contains filtered or unexported fields
}

MARK: - 获取提供商信息

func (*GetProviderRequest) Descriptor deprecated

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

Deprecated: Use GetProviderRequest.ProtoReflect.Descriptor instead.

func (*GetProviderRequest) GetExecuteBusinesType added in v0.7.0

func (x *GetProviderRequest) GetExecuteBusinesType() ExecuteBusinesType

func (*GetProviderRequest) GetIncludeResources added in v0.7.0

func (x *GetProviderRequest) GetIncludeResources() bool

func (*GetProviderRequest) GetProvider added in v0.7.0

func (x *GetProviderRequest) GetProvider() string

func (*GetProviderRequest) ProtoMessage

func (*GetProviderRequest) ProtoMessage()

func (*GetProviderRequest) ProtoReflect

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

func (*GetProviderRequest) Reset

func (x *GetProviderRequest) Reset()

func (*GetProviderRequest) String

func (x *GetProviderRequest) String() string

type GetProviderResponse

type GetProviderResponse struct {
	Providers []*GetProviderResponse_Provider `protobuf:"bytes,1,rep,name=providers,proto3" json:"providers,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProviderResponse) Descriptor deprecated

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

Deprecated: Use GetProviderResponse.ProtoReflect.Descriptor instead.

func (*GetProviderResponse) GetProviders

func (*GetProviderResponse) ProtoMessage

func (*GetProviderResponse) ProtoMessage()

func (*GetProviderResponse) ProtoReflect

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

func (*GetProviderResponse) Reset

func (x *GetProviderResponse) Reset()

func (*GetProviderResponse) String

func (x *GetProviderResponse) String() string

type GetProviderResponse_Provider

type GetProviderResponse_Provider struct {
	Name       string                                   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`             // 提供商名称
	Remark     string                                   `protobuf:"bytes,2,opt,name=remark,proto3" json:"remark,omitempty"`         // 备注
	Businesses []*GetProviderResponse_Provider_Business `protobuf:"bytes,3,rep,name=businesses,proto3" json:"businesses,omitempty"` // 按明确部署业务分组的资源目录
	// contains filtered or unexported fields
}

func (*GetProviderResponse_Provider) Descriptor deprecated

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

Deprecated: Use GetProviderResponse_Provider.ProtoReflect.Descriptor instead.

func (*GetProviderResponse_Provider) GetBusinesses added in v0.6.4

func (*GetProviderResponse_Provider) GetName

func (x *GetProviderResponse_Provider) GetName() string

func (*GetProviderResponse_Provider) GetRemark

func (x *GetProviderResponse_Provider) GetRemark() string

func (*GetProviderResponse_Provider) ProtoMessage

func (*GetProviderResponse_Provider) ProtoMessage()

func (*GetProviderResponse_Provider) ProtoReflect

func (*GetProviderResponse_Provider) Reset

func (x *GetProviderResponse_Provider) Reset()

func (*GetProviderResponse_Provider) String

type GetProviderResponse_Provider_Business added in v0.6.4

type GetProviderResponse_Provider_Business struct {
	ExecuteBusinesType ExecuteBusinesType `` // CDN、DCDN、ESA、OSS、EdgeOne、COS 或 CLB 等明确业务
	/* 151-byte string literal not displayed */
	Resources      []*DeployResource        `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"` // 当前业务下可部署的脱敏资源目录
	ResourceStatus DeploymentResourceStatus ``                                                                        // 动态资源目录状态,不包含客户端错误详情
	/* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetProviderResponse_Provider_Business) Descriptor deprecated added in v0.6.4

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

Deprecated: Use GetProviderResponse_Provider_Business.ProtoReflect.Descriptor instead.

func (*GetProviderResponse_Provider_Business) GetExecuteBusinesType added in v0.6.4

func (x *GetProviderResponse_Provider_Business) GetExecuteBusinesType() ExecuteBusinesType

func (*GetProviderResponse_Provider_Business) GetResourceStatus added in v0.7.0

func (*GetProviderResponse_Provider_Business) GetResources added in v0.6.4

func (*GetProviderResponse_Provider_Business) ProtoMessage added in v0.6.4

func (*GetProviderResponse_Provider_Business) ProtoMessage()

func (*GetProviderResponse_Provider_Business) ProtoReflect added in v0.6.4

func (*GetProviderResponse_Provider_Business) Reset added in v0.6.4

func (*GetProviderResponse_Provider_Business) String added in v0.6.4

type NotifyRequest

type NotifyRequest struct {
	AccessKey string `protobuf:"bytes,1,opt,name=accessKey,proto3" json:"accessKey,omitempty"` // 令牌
	ClientId  string `protobuf:"bytes,2,opt,name=clientId,proto3" json:"clientId,omitempty"`   // 客户端ID
	RequestId string `protobuf:"bytes,3,opt,name=requestId,proto3" json:"requestId,omitempty"` // 请求ID(用于请求-响应匹配)
	Version   string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`     // 客户端版本
	// Types that are valid to be assigned to Data:
	//
	//	*NotifyRequest_GetProviderResponse
	//	*NotifyRequest_RegisterResponse
	//	*NotifyRequest_ConnectRequest
	//	*NotifyRequest_ExecuteBusinesRequest
	//	*NotifyRequest_ChallengeResponse
	Data isNotifyRequest_Data `protobuf_oneof:"data"`
	// contains filtered or unexported fields
}

MARK: - 通知

func (*NotifyRequest) Descriptor deprecated

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

Deprecated: Use NotifyRequest.ProtoReflect.Descriptor instead.

func (*NotifyRequest) GetAccessKey

func (x *NotifyRequest) GetAccessKey() string

func (*NotifyRequest) GetChallengeResponse added in v0.6.2

func (x *NotifyRequest) GetChallengeResponse() *ChallengeResponse

func (*NotifyRequest) GetClientId

func (x *NotifyRequest) GetClientId() string

func (*NotifyRequest) GetConnectRequest

func (x *NotifyRequest) GetConnectRequest() *ConnectRequest

func (*NotifyRequest) GetData

func (x *NotifyRequest) GetData() isNotifyRequest_Data

func (*NotifyRequest) GetExecuteBusinesRequest

func (x *NotifyRequest) GetExecuteBusinesRequest() *ExecuteBusinesRequest

func (*NotifyRequest) GetGetProviderResponse

func (x *NotifyRequest) GetGetProviderResponse() *GetProviderResponse

func (*NotifyRequest) GetRegisterResponse

func (x *NotifyRequest) GetRegisterResponse() *RegisterResponse

func (*NotifyRequest) GetRequestId

func (x *NotifyRequest) GetRequestId() string

func (*NotifyRequest) GetVersion

func (x *NotifyRequest) GetVersion() string

func (*NotifyRequest) ProtoMessage

func (*NotifyRequest) ProtoMessage()

func (*NotifyRequest) ProtoReflect

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

func (*NotifyRequest) Reset

func (x *NotifyRequest) Reset()

func (*NotifyRequest) String

func (x *NotifyRequest) String() string

type NotifyRequest_ChallengeResponse added in v0.6.2

type NotifyRequest_ChallengeResponse struct {
	ChallengeResponse *ChallengeResponse `protobuf:"bytes,14,opt,name=challengeResponse,proto3,oneof"`
}

type NotifyRequest_ConnectRequest

type NotifyRequest_ConnectRequest struct {
	ConnectRequest *ConnectRequest `protobuf:"bytes,12,opt,name=connectRequest,proto3,oneof"`
}

type NotifyRequest_ExecuteBusinesRequest

type NotifyRequest_ExecuteBusinesRequest struct {
	ExecuteBusinesRequest *ExecuteBusinesRequest `protobuf:"bytes,13,opt,name=executeBusinesRequest,proto3,oneof"`
}

type NotifyRequest_GetProviderResponse

type NotifyRequest_GetProviderResponse struct {
	GetProviderResponse *GetProviderResponse `protobuf:"bytes,10,opt,name=getProviderResponse,proto3,oneof"`
}

type NotifyRequest_RegisterResponse

type NotifyRequest_RegisterResponse struct {
	RegisterResponse *RegisterResponse `protobuf:"bytes,11,opt,name=registerResponse,proto3,oneof"`
}

type NotifyResponse

type NotifyResponse struct {
	Type      Type   `protobuf:"varint,1,opt,name=type,proto3,enum=deployPB.Type" json:"type,omitempty"` // 类型
	ClientId  string `protobuf:"bytes,2,opt,name=clientId,proto3" json:"clientId,omitempty"`             // 客户端ID
	RequestId string `protobuf:"bytes,3,opt,name=requestId,proto3" json:"requestId,omitempty"`           // 请求ID(用于请求-响应匹配)
	// Types that are valid to be assigned to Data:
	//
	//	*NotifyResponse_GetProviderResponse
	//	*NotifyResponse_RegisterRequest
	//	*NotifyResponse_ConnectRequest
	//	*NotifyResponse_ExecuteBusinesResponse
	//	*NotifyResponse_ChallengeRequest
	//	*NotifyResponse_GetProviderRequest
	Data isNotifyResponse_Data `protobuf_oneof:"data"`
	// contains filtered or unexported fields
}

func (*NotifyResponse) Descriptor deprecated

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

Deprecated: Use NotifyResponse.ProtoReflect.Descriptor instead.

func (*NotifyResponse) GetChallengeRequest added in v0.6.2

func (x *NotifyResponse) GetChallengeRequest() *ChallengeRequest

func (*NotifyResponse) GetClientId

func (x *NotifyResponse) GetClientId() string

func (*NotifyResponse) GetConnectRequest

func (x *NotifyResponse) GetConnectRequest() *ConnectRequest

func (*NotifyResponse) GetData

func (x *NotifyResponse) GetData() isNotifyResponse_Data

func (*NotifyResponse) GetExecuteBusinesResponse

func (x *NotifyResponse) GetExecuteBusinesResponse() *ExecuteBusinesResponse

func (*NotifyResponse) GetGetProviderRequest added in v0.7.0

func (x *NotifyResponse) GetGetProviderRequest() *GetProviderRequest

func (*NotifyResponse) GetGetProviderResponse

func (x *NotifyResponse) GetGetProviderResponse() *GetProviderResponse

func (*NotifyResponse) GetRegisterRequest

func (x *NotifyResponse) GetRegisterRequest() *RegisterRequest

func (*NotifyResponse) GetRequestId

func (x *NotifyResponse) GetRequestId() string

func (*NotifyResponse) GetType

func (x *NotifyResponse) GetType() Type

func (*NotifyResponse) ProtoMessage

func (*NotifyResponse) ProtoMessage()

func (*NotifyResponse) ProtoReflect

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

func (*NotifyResponse) Reset

func (x *NotifyResponse) Reset()

func (*NotifyResponse) String

func (x *NotifyResponse) String() string

type NotifyResponse_ChallengeRequest added in v0.6.2

type NotifyResponse_ChallengeRequest struct {
	ChallengeRequest *ChallengeRequest `protobuf:"bytes,9,opt,name=challengeRequest,proto3,oneof"`
}

type NotifyResponse_ConnectRequest

type NotifyResponse_ConnectRequest struct {
	ConnectRequest *ConnectRequest `protobuf:"bytes,7,opt,name=connectRequest,proto3,oneof"`
}

type NotifyResponse_ExecuteBusinesResponse

type NotifyResponse_ExecuteBusinesResponse struct {
	ExecuteBusinesResponse *ExecuteBusinesResponse `protobuf:"bytes,8,opt,name=executeBusinesResponse,proto3,oneof"`
}

type NotifyResponse_GetProviderRequest added in v0.7.0

type NotifyResponse_GetProviderRequest struct {
	GetProviderRequest *GetProviderRequest `protobuf:"bytes,10,opt,name=getProviderRequest,proto3,oneof"`
}

type NotifyResponse_GetProviderResponse

type NotifyResponse_GetProviderResponse struct {
	GetProviderResponse *GetProviderResponse `protobuf:"bytes,5,opt,name=getProviderResponse,proto3,oneof"`
}

type NotifyResponse_RegisterRequest

type NotifyResponse_RegisterRequest struct {
	RegisterRequest *RegisterRequest `protobuf:"bytes,6,opt,name=registerRequest,proto3,oneof"`
}

type Provider added in v0.7.0

type Provider int32

Provider 是 v2 部署协议中的服务商身份。

const (
	Provider_PROVIDER_UNSPECIFIED   Provider = 0  // 未指定服务商
	Provider_PROVIDER_ANSSL_CLI     Provider = 1  // anssl 自动部署客户端
	Provider_PROVIDER_ALIYUN        Provider = 2  // 阿里云
	Provider_PROVIDER_TENCENT_CLOUD Provider = 3  // 腾讯云
	Provider_PROVIDER_QINIU         Provider = 4  // 七牛云
	Provider_PROVIDER_HUAWEI_CLOUD  Provider = 5  // 华为云
	Provider_PROVIDER_VOLCENGINE    Provider = 6  // 火山引擎
	Provider_PROVIDER_JD_CLOUD      Provider = 7  // 京东云
	Provider_PROVIDER_BAIDU_CLOUD   Provider = 8  // 百度云
	Provider_PROVIDER_DOGE_CLOUD    Provider = 9  // 多吉云
	Provider_PROVIDER_LECDN         Provider = 10 // LeCDN
)

func (Provider) Descriptor added in v0.7.0

func (Provider) Descriptor() protoreflect.EnumDescriptor

func (Provider) Enum added in v0.7.0

func (x Provider) Enum() *Provider

func (Provider) EnumDescriptor deprecated added in v0.7.0

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

Deprecated: Use Provider.Descriptor instead.

func (Provider) Number added in v0.7.0

func (x Provider) Number() protoreflect.EnumNumber

func (Provider) String added in v0.7.0

func (x Provider) String() string

func (Provider) Type added in v0.7.0

type RegisterRequest

type RegisterRequest struct {
	// contains filtered or unexported fields
}

MARK: - 注册客户端

func (*RegisterRequest) Descriptor deprecated

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

Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.

func (*RegisterRequest) ProtoMessage

func (*RegisterRequest) ProtoMessage()

func (*RegisterRequest) ProtoReflect

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

func (*RegisterRequest) Reset

func (x *RegisterRequest) Reset()

func (*RegisterRequest) String

func (x *RegisterRequest) String() string

type RegisterResponse

type RegisterResponse struct {
	SystemInfo *RegisterResponse_SystemInfo `protobuf:"bytes,1,opt,name=systemInfo,proto3" json:"systemInfo,omitempty"` // 系统信息
	// contains filtered or unexported fields
}

func (*RegisterResponse) Descriptor deprecated

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

Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead.

func (*RegisterResponse) GetSystemInfo

func (x *RegisterResponse) GetSystemInfo() *RegisterResponse_SystemInfo

func (*RegisterResponse) ProtoMessage

func (*RegisterResponse) ProtoMessage()

func (*RegisterResponse) ProtoReflect

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

func (*RegisterResponse) Reset

func (x *RegisterResponse) Reset()

func (*RegisterResponse) String

func (x *RegisterResponse) String() string

type RegisterResponse_SystemInfo

type RegisterResponse_SystemInfo struct {
	Os       string `protobuf:"bytes,1,opt,name=os,proto3" json:"os,omitempty"`             // 操作系统
	Arch     string `protobuf:"bytes,2,opt,name=arch,proto3" json:"arch,omitempty"`         // 架构
	Hostname string `protobuf:"bytes,3,opt,name=hostname,proto3" json:"hostname,omitempty"` // 主机名
	Ip       string `protobuf:"bytes,4,opt,name=ip,proto3" json:"ip,omitempty"`             // IP地址
	// contains filtered or unexported fields
}

func (*RegisterResponse_SystemInfo) Descriptor deprecated

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

Deprecated: Use RegisterResponse_SystemInfo.ProtoReflect.Descriptor instead.

func (*RegisterResponse_SystemInfo) GetArch

func (x *RegisterResponse_SystemInfo) GetArch() string

func (*RegisterResponse_SystemInfo) GetHostname

func (x *RegisterResponse_SystemInfo) GetHostname() string

func (*RegisterResponse_SystemInfo) GetIp

func (*RegisterResponse_SystemInfo) GetOs

func (*RegisterResponse_SystemInfo) ProtoMessage

func (*RegisterResponse_SystemInfo) ProtoMessage()

func (*RegisterResponse_SystemInfo) ProtoReflect

func (*RegisterResponse_SystemInfo) Reset

func (x *RegisterResponse_SystemInfo) Reset()

func (*RegisterResponse_SystemInfo) String

func (x *RegisterResponse_SystemInfo) String() string

type Type

type Type int32

MARK: - 通知类型

const (
	Type_UNKNOWN         Type = 0 // 未知
	Type_CONNECT         Type = 1 // 连接成功
	Type_UPDATE_VERSION  Type = 2 // 更新版本
	Type_GET_PROVIDER    Type = 3 // 获取提供商信息
	Type_REGISTER        Type = 4 // 注册客户端
	Type_EXECUTE_BUSINES Type = 5 // 执行业务
	Type_CHALLENGE       Type = 6 // ACME HTTP-01 验证
)

func (Type) Descriptor

func (Type) Descriptor() protoreflect.EnumDescriptor

func (Type) Enum

func (x Type) Enum() *Type

func (Type) EnumDescriptor deprecated

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

Deprecated: Use Type.Descriptor instead.

func (Type) Number

func (x Type) Number() protoreflect.EnumNumber

func (Type) String

func (x Type) String() string

func (Type) Type

func (Type) Type() protoreflect.EnumType

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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