Documentation ¶
Index ¶
Constants ¶
View Source
const ( TCP = "TCP" UDP = "UDP" )
Variables ¶
This section is empty.
Functions ¶
func ExternalHandle ¶
func ExternalHandle(param resourcemanage.ExtendContext) (interface{}, *errcode.ErrorInfo)
Types ¶
type ExternalAccess ¶
type ExternalAccess struct { NginxNamespace string NginxTcpServiceConfigMap string NginxUdpServiceConfigMap string // contains filtered or unexported fields }
func NewExternalAccess ¶
func (*ExternalAccess) DeleteExternalAccess ¶
func (s *ExternalAccess) DeleteExternalAccess() error
DeleteExternalAccess delete external service
func (*ExternalAccess) GetExternalAccessConfigMap ¶
func (s *ExternalAccess) GetExternalAccessConfigMap() (tcpResultMap map[int]*ExternalAccessInfo, udpResultMap map[int]*ExternalAccessInfo, err error)
func (*ExternalAccess) SetExternalAccess ¶
func (s *ExternalAccess) SetExternalAccess(externalServices []ExternalAccessInfo) error
type ExternalAccessInfo ¶
Click to show internal directories.
Click to hide internal directories.