Documentation
¶
Index ¶
- type NacosCloud
- type RealTencentCloud
- func (r *RealTencentCloud) CreateNacos(nacos *appv1.Nacos) (response *tse.CreateEngineResponse, err error)
- func (r *RealTencentCloud) DeleteNacos(id string) (response *tse.DeleteEngineResponse, err error)
- func (r *RealTencentCloud) QueryAccessAddress(id string) (*tse.DescribeSREInstanceAccessAddressResponse, error)
- func (r *RealTencentCloud) QueryNacos(id string) (response *tse.DescribeSREInstancesResponse, err error)
- func (r *RealTencentCloud) UpdateInternetAccess(id string, isEnabled bool) error
- type TencentCloud
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NacosCloud ¶
type NacosCloud interface { CreateNacos(nacos *appv1.Nacos) (*tse.CreateEngineResponse, error) DeleteNacos(id string) (*tse.DeleteEngineResponse, error) QueryNacos(id string) (*tse.DescribeSREInstancesResponse, error) QueryAccessAddress(id string) (*tse.DescribeSREInstanceAccessAddressResponse, error) UpdateInternetAccess(id string, isEnabled bool) error }
type RealTencentCloud ¶
type RealTencentCloud struct {
// contains filtered or unexported fields
}
func NewRealTencentCloud ¶
func NewRealTencentCloud(secretId, secretKey string) *RealTencentCloud
func (*RealTencentCloud) CreateNacos ¶
func (r *RealTencentCloud) CreateNacos(nacos *appv1.Nacos) (response *tse.CreateEngineResponse, err error)
CreateNacos 创建nacos实例
func (*RealTencentCloud) DeleteNacos ¶
func (r *RealTencentCloud) DeleteNacos(id string) (response *tse.DeleteEngineResponse, err error)
DeleteNacos 删除nacos实例
func (*RealTencentCloud) QueryAccessAddress ¶
func (r *RealTencentCloud) QueryAccessAddress(id string) (*tse.DescribeSREInstanceAccessAddressResponse, error)
QueryAccessAddress 查询访问地址
func (*RealTencentCloud) QueryNacos ¶
func (r *RealTencentCloud) QueryNacos(id string) (response *tse.DescribeSREInstancesResponse, err error)
QueryNacos 查询nacos实例
func (*RealTencentCloud) UpdateInternetAccess ¶
func (r *RealTencentCloud) UpdateInternetAccess(id string, isEnabled bool) error
UpdateInternetAccess 开启或关闭公网地址访问
type TencentCloud ¶
type TencentCloud interface { NacosCloud }
Click to show internal directories.
Click to hide internal directories.