Documentation ¶
Index ¶
- Constants
- type BaseRes
- type Hafiles
- type HafilesReq
- type HafilesRes
- type Hanode
- type HanodeReq
- type HanodeRes
- type Lbvserver
- type LbvserverReq
- type LbvserverRes
- type LbvserverServiceBinding
- type LbvserverServiceBindingReq
- type LbvserverServiceBindingRes
- type Nsfeature
- type NsfeatureReq
- type NsfeatureRes
- type Nsrpcnode
- type NsrpcnodeReq
- type NsrpcnodeRes
- type Service
- type ServiceLbmonitorBinding
- type ServiceLbmonitorBindingReq
- type ServiceLbmonitorBindingRes
- type ServiceReq
- type ServiceRes
- type Sslcertkey
- type SslcertkeyReq
- type SslcertkeyRes
- type SslvserverSslcertkeyBinding
- type SslvserverSslcertkeyBindingReq
- type SslvserverSslcertkeyBindingRes
- type Systemfile
- type SystemfileReq
- type SystemfileRes
- type Systemuser
- type SystemuserReq
- type SystemuserRes
Constants ¶
View Source
const ( CONFIG = "config" STAT = "stat" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseRes ¶
type BaseRes struct { Errorcode *int `json:"errorcode,omitempty"` Message *string `json:"message,omitempty"` Severity *string `json:"severity,omitempty"` }
Base
type HafilesReq ¶
type HafilesReq struct {
Hafiles *Hafiles `json:"hafiles,omitempty"`
}
type HafilesRes ¶
type Hanode ¶
type Hanode struct { Id *string `json:"id,omitempty"` Ipaddress *string `json:"ipaddress,omitempty"` Hastatus *string `json:"hastatus,omitempty"` }
hanode
type Lbvserver ¶
type Lbvserver struct { Name *string `json:"name,omitempty"` ServiceType *string `json:"servicetype,omitempty"` Port *int `json:"port,omitempty"` Lbmethod *string `json:"lbmethod,omitempty"` Ipv46 *string `json:"ipv46,omitempty"` Persistencetype *string `json:"persistencetype,omitempty"` }
lbvserver
type LbvserverReq ¶
type LbvserverReq struct {
Lbvserver *Lbvserver `json:"lbvserver,omitempty"`
}
type LbvserverRes ¶
type LbvserverServiceBinding ¶
type LbvserverServiceBinding struct { Name *string `json:"name,omitempty"` ServiceName *string `json:"serviceName,omitempty"` }
lbvserver_service_binding
type LbvserverServiceBindingReq ¶
type LbvserverServiceBindingReq struct {
LbvserverServiceBinding *LbvserverServiceBinding `json:"lbvserver_service_binding,omitempty"`
}
type LbvserverServiceBindingRes ¶
type LbvserverServiceBindingRes struct { BaseRes LbvserverServiceBinding []LbvserverServiceBinding `json:"lbvserver_service_binding,omitempty"` }
type NsfeatureReq ¶
type NsfeatureReq struct {
Nsfeature *Nsfeature `json:"nsfeature,omitempty"`
}
type NsfeatureRes ¶
type Nsrpcnode ¶
type Nsrpcnode struct { Ipaddress *string `json:"ipaddress,omitempty"` Password *string `json:"password,omitempty"` }
nsrpcnode
type NsrpcnodeReq ¶
type NsrpcnodeReq struct {
Nsrpcnode *Nsrpcnode `json:"nsrpcnode,omitempty"`
}
type NsrpcnodeRes ¶
type Service ¶
type Service struct { Name *string `json:"name,omitempty"` Ip *string `json:"ip,omitempty"` Ipaddress *string `json:"ipaddress,omitempty"` ServiceType *string `json:"servicetype,omitempty"` Port *int `json:"port,omitempty"` Weight *int `json:"weight,omitempty"` Maxclient *string `json:"maxclient,omitempty"` Usip *string `json:"usip,omitempty"` }
service
type ServiceLbmonitorBinding ¶
type ServiceLbmonitorBinding struct { Name *string `json:"name,omitempty"` MonitorName *string `json:"monitor_name,omitempty"` }
service_lbmonitor_binding
type ServiceLbmonitorBindingReq ¶
type ServiceLbmonitorBindingReq struct {
ServiceLbmonitorBinding *ServiceLbmonitorBinding `json:"service_lbmonitor_binding,omitempty"`
}
type ServiceLbmonitorBindingRes ¶
type ServiceLbmonitorBindingRes struct { BaseRes ServiceLbmonitorBinding []ServiceLbmonitorBinding `json:"service_lbmonitor_binding,omitempty"` }
type ServiceReq ¶
type ServiceReq struct {
Service *Service `json:"service,omitempty"`
}
type ServiceRes ¶
type Sslcertkey ¶
type Sslcertkey struct { Certkey *string `json:"certkey,omitempty"` Cert *string `json:"cert,omitempty"` Key *string `json:"key,omitempty"` }
sslcertkey
type SslcertkeyReq ¶
type SslcertkeyReq struct {
Sslcertkey *Sslcertkey `json:"sslcertkey,omitempty"`
}
type SslcertkeyRes ¶
type SslcertkeyRes struct { BaseRes Sslcertkey []Sslcertkey `json:"sslcertkey,omitempty"` }
type SslvserverSslcertkeyBinding ¶
type SslvserverSslcertkeyBinding struct { Vservername *string `json:"vservername,omitempty"` Certkeyname *string `json:"certkeyname,omitempty"` }
sslvserver_sslcertkey_binding
type SslvserverSslcertkeyBindingReq ¶
type SslvserverSslcertkeyBindingReq struct {
SslvserverSslcertkeyBinding *SslvserverSslcertkeyBinding `json:"sslvserver_sslcertkey_binding,omitempty"`
}
type SslvserverSslcertkeyBindingRes ¶
type SslvserverSslcertkeyBindingRes struct { BaseRes SslvserverSslcertkeyBinding []SslvserverSslcertkeyBinding `json:"sslvserver_sslcertkey_binding,omitempty"` }
type Systemfile ¶
type Systemfile struct { Filename *string `json:"filename,omitempty"` Filelocation *string `json:"filelocation,omitempty"` Filecontent *string `json:"filecontent,omitempty"` Fileencoding *string `json:"fileencoding,omitempty"` }
systemfile
type SystemfileReq ¶
type SystemfileReq struct {
Systemfile *Systemfile `json:"systemfile,omitempty"`
}
type SystemfileRes ¶
type SystemfileRes struct { BaseRes Systemfile []Systemfile `json:"systemfile,omitempty"` }
type Systemuser ¶
type Systemuser struct { Username *string `json:"username,omitempty"` Password *string `json:"password,omitempty"` }
systemuser
type SystemuserReq ¶
type SystemuserReq struct {
Systemuser *Systemuser `json:"systemuser,omitempty"`
}
type SystemuserRes ¶
type SystemuserRes struct { BaseRes Systemuser []Systemuser `json:"systemuser,omitempty"` }
Click to show internal directories.
Click to hide internal directories.