Documentation ¶
Index ¶
- Constants
- func AddressHandle(param resourcemanage.ExtendParams) (interface{}, error)
- func ExternalHandle(param resourcemanage.ExtendParams) (interface{}, error)
- func Handle(param resourcemanage.ExtendParams) (interface{}, error)
- type ExternalAccess
- func (s *ExternalAccess) DeleteExternalAccess() error
- func (s *ExternalAccess) GetExternalAccess() ([]ExternalAccessInfo, error)
- func (s *ExternalAccess) GetExternalAccessConfigMap() (tcpResultMap map[int]*ExternalAccessInfo, ...)
- func (s *ExternalAccess) GetExternalIP() ([]string, error)
- func (s *ExternalAccess) SetExternalAccess(externalServices []ExternalAccessInfo) error
- type ExternalAccessInfo
- type Service
Constants ¶
View Source
const ( TCP = "TCP" UDP = "UDP" )
Variables ¶
This section is empty.
Functions ¶
func AddressHandle ¶ added in v1.2.2
func AddressHandle(param resourcemanage.ExtendParams) (interface{}, error)
func ExternalHandle ¶ added in v1.2.2
func ExternalHandle(param resourcemanage.ExtendParams) (interface{}, error)
func Handle ¶ added in v1.2.2
func Handle(param resourcemanage.ExtendParams) (interface{}, error)
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) GetExternalAccess ¶
func (s *ExternalAccess) GetExternalAccess() ([]ExternalAccessInfo, error)
GetExternalAccess get external info
func (*ExternalAccess) GetExternalAccessConfigMap ¶ added in v1.7.0
func (s *ExternalAccess) GetExternalAccessConfigMap() (tcpResultMap map[int]*ExternalAccessInfo, udpResultMap map[int]*ExternalAccessInfo, err error)
func (*ExternalAccess) GetExternalIP ¶
func (s *ExternalAccess) GetExternalIP() ([]string, error)
GetExternalIP ingress-nginx pod status host IPs
func (*ExternalAccess) SetExternalAccess ¶
func (s *ExternalAccess) SetExternalAccess(externalServices []ExternalAccessInfo) error
type ExternalAccessInfo ¶
type Service ¶ added in v1.0.3
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶ added in v1.0.3
Click to show internal directories.
Click to hide internal directories.