Skip to content

ServiceSourceProps

Properties for defining a ServiceSource.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mse-servicesource

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkmse"
&alicloudroscdkmse.ServiceSourceProps {
    GatewayUniqueId: interface{},
    Name: interface{},
    Source: interface{},
    Address: interface{},
    GroupList: interface{},
    IngressOptions: interface{},
    PathList: interface{},
}

Properties

Name Type Description
GatewayUniqueId interface{} Property gatewayUniqueId: The unique ID of the gateway.
Name interface{} Property name: The name.
Source interface{} Property source: The service source.
Address interface{} Property address: Registration Address.
GroupList interface{} Property groupList: The list of service groups.
IngressOptions interface{} Property ingressOptions: The Ingress configuration.
PathList interface{} Property pathList: An array of service root paths.

GatewayUniqueIdRequired

GatewayUniqueId interface{}
  • Type: interface{}

Property gatewayUniqueId: The unique ID of the gateway.


NameRequired

Name interface{}
  • Type: interface{}

Property name: The name.

If Source=K8S, this parameter specifies the name of the ACK cluster. If Source=MSE, this parameter specifies the ID of the Nacos instance. If Source=MSE_ZK, this parameter specifies the ID of the ZooKeeper instance. If Source=EDAS, this parameter specifies the ID of the EDAS namespace. If Source=SAE, this parameter specifies the ID of the SAE namespace.


SourceRequired

Source interface{}
  • Type: interface{}

Property source: The service source.

Valid values: K8S: ACK cluster MSE: MSE Nacos instance


AddressOptional

Address interface{}
  • Type: interface{}

Property address: Registration Address.

If not specified, it will be automatically generated based on the selected instance.


GroupListOptional

GroupList interface{}
  • Type: interface{}

Property groupList: The list of service groups.

This is required when Source=EDAS.


IngressOptionsOptional

IngressOptions interface{}
  • Type: interface{}

Property ingressOptions: The Ingress configuration.


PathListOptional

PathList interface{}
  • Type: interface{}

Property pathList: An array of service root paths.