Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct {
// app name
AppName string `json:"app_name,omitempty"`
// command id
// Read Only: true
CommandID int64 `json:"command_id,omitempty"`
// content
Content string `json:"content,omitempty"`
// Unix timestamp(unit: second)
CreatedAt int64 `json:"created_at,omitempty"`
// instance no
InstanceNo string `json:"instance_no,omitempty"`
// proc name
ProcName string `json:"proc_name,omitempty"`
// session id
// Read Only: true
SessionID int64 `json:"session_id,omitempty"`
// user
User string `json:"user,omitempty"`
}
Command command swagger:model command
func (*Command) MarshalBinary ¶
MarshalBinary interface implementation
func (*Command) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Config ¶
type Config struct {
// sso
// Required: true
Sso *ConfigSso `json:"sso"`
}
Config config swagger:model config
func (*Config) MarshalBinary ¶
MarshalBinary interface implementation
func (*Config) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ConfigSso ¶
type ConfigSso struct {
// client id
// Required: true
ClientID *string `json:"client_id"`
// domain
// Required: true
Domain *string `json:"domain"`
// redirect uri
// Required: true
RedirectURI *string `json:"redirect_uri"`
// scope
// Required: true
Scope *string `json:"scope"`
}
ConfigSso config sso swagger:model configSso
func (*ConfigSso) MarshalBinary ¶
MarshalBinary interface implementation
func (*ConfigSso) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Error ¶
type Error struct {
// code
Code int64 `json:"code,omitempty"`
// message
// Required: true
Message *string `json:"message"`
}
Error error swagger:model error
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Session ¶
type Session struct {
// app name
AppName string `json:"app_name,omitempty"`
// container id
ContainerID string `json:"container_id,omitempty"`
// Unix timestamp(unit: second)
CreatedAt int64 `json:"created_at,omitempty"`
// Unix timestamp(unit: second)
EndedAt int64 `json:"ended_at,omitempty"`
// instance no
InstanceNo string `json:"instance_no,omitempty"`
// node ip
NodeIP string `json:"node_ip,omitempty"`
// proc name
ProcName string `json:"proc_name,omitempty"`
// session id
// Read Only: true
SessionID int64 `json:"session_id,omitempty"`
// source ip
SourceIP string `json:"source_ip,omitempty"`
// status
Status string `json:"status,omitempty"`
// user
User string `json:"user,omitempty"`
}
Session session swagger:model session
func (*Session) MarshalBinary ¶
MarshalBinary interface implementation
func (*Session) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type User ¶
type User struct {
// email
// Required: true
Email *string `json:"email"`
}
User user swagger:model user
func (*User) MarshalBinary ¶
MarshalBinary interface implementation
func (*User) UnmarshalBinary ¶
UnmarshalBinary interface implementation