models

package
v3.2.2+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2018 License: MIT Imports: 4 Imported by: 0

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

func (m *Command) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Command) UnmarshalBinary

func (m *Command) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Command) Validate

func (m *Command) Validate(formats strfmt.Registry) error

Validate validates this command

type Config

type Config struct {

	// sso
	// Required: true
	Sso *ConfigSso `json:"sso"`
}

Config config swagger:model config

func (*Config) MarshalBinary

func (m *Config) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Config) UnmarshalBinary

func (m *Config) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Config) Validate

func (m *Config) Validate(formats strfmt.Registry) error

Validate validates this config

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

func (m *ConfigSso) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConfigSso) UnmarshalBinary

func (m *ConfigSso) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConfigSso) Validate

func (m *ConfigSso) Validate(formats strfmt.Registry) error

Validate validates this config sso

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

func (m *Error) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

func (m *Error) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Error) Validate

func (m *Error) Validate(formats strfmt.Registry) error

Validate validates this error

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

func (m *Session) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Session) UnmarshalBinary

func (m *Session) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Session) Validate

func (m *Session) Validate(formats strfmt.Registry) error

Validate validates this session

type User

type User struct {

	// email
	// Required: true
	Email *string `json:"email"`
}

User user swagger:model user

func (*User) MarshalBinary

func (m *User) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*User) UnmarshalBinary

func (m *User) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*User) Validate

func (m *User) Validate(formats strfmt.Registry) error

Validate validates this user

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL