Versions in this module Expand all Collapse all v0 v0.0.1 Dec 4, 2023 Changes in this version + type DSN struct + Driver string + Hostname string + Name string + Password string + Port int + Username string + func (d *DSN) ConvertToJSON() (string, error) + func (d *DSN) LoadFromJSON(data []byte) error + func (d *DSN) ToString() string + type Deployment struct + CreatedAt time.Time + HostFilters string + HostGroupsFilters string + HostGroupsList string + HostsList string + ID int + Meta string + Name string + PackagesToExclude string + PackagesToUpgrade string + PostPatchRebootOption string + PostPatchScript string + PrePatchScript string + RolloutOptions string + RunAt time.Time + ScheduleTime time.Time + ScheduleType string + Status string + UID int + UUID string + UpdatedAt time.Time + UpgradeType string + func (d *Deployment) ConvertToJSON() (string, error) + func (d *Deployment) IsNil() bool + func (d *Deployment) LoadFromJSON(data []byte) error + type Deployments struct + Deployments []Deployment + func (d *Deployments) ConvertToJSON() (string, error) + func (d *Deployments) LoadFromJSON(data []byte) error + type Host struct + CreatedAt time.Time + HGID int + HostName string + ID int + Labels string + Meta string + Name string + PrivateIPs string + PublicIPs string + ReportedAt time.Time + Status string + UID int + UUID string + UpdatedAt time.Time + func (h *Host) ConvertToJSON() (string, error) + func (h *Host) IsNil() bool + func (h *Host) LoadFromJSON(data []byte) error + type HostGroup struct + ApiKey string + CreatedAt time.Time + ID int + Labels string + Meta string + Name string + UID int + UUID string + UpdatedAt time.Time + func (h *HostGroup) ConvertToJSON() (string, error) + func (h *HostGroup) IsNil() bool + func (h *HostGroup) LoadFromJSON(data []byte) error + type HostGroups struct + HostGroups []HostGroup + func (h *HostGroups) ConvertToJSON() (string, error) + func (h *HostGroups) LoadFromJSON(data []byte) error + type Hosts struct + Hosts []Host + func (h *Hosts) ConvertToJSON() (string, error) + func (h *Hosts) LoadFromJSON(data []byte) error + type Log struct + CreatedAt time.Time + DID int + HGID int + HID int + ID int + Meta string + UID int + UUID string + UpdatedAt time.Time + Value string + func (l *Log) ConvertToJSON() (string, error) + func (l *Log) IsNil() bool + func (l *Log) LoadFromJSON(data []byte) error + type Logs struct + Logs []Log + func (l *Logs) ConvertToJSON() (string, error) + func (l *Logs) LoadFromJSON(data []byte) error + type Option struct + CreatedAt time.Time + ID int + Key string + UUID string + UpdatedAt time.Time + Value string + func (o *Option) ConvertToJSON() (string, error) + func (o *Option) IsNil() bool + func (o *Option) LoadFromJSON(data []byte) error + type Options struct + Options []Option + func (o *Options) ConvertToJSON() (string, error) + func (o *Options) LoadFromJSON(data []byte) error + type Session struct + CanExpire string + CreatedAt time.Time + ExpiredAt time.Time + HID int + ID int + Meta string + UID int + UUID string + UpdatedAt time.Time + Value string + func (s *Session) ConvertToJSON() (string, error) + func (s *Session) IsNil() bool + func (s *Session) LoadFromJSON(data []byte) error + type Sessions struct + Sessions []Session + func (s *Sessions) ConvertToJSON() (string, error) + func (s *Sessions) LoadFromJSON(data []byte) error + type Task struct + CreatedAt time.Time + DID int + ID int + Meta string + Payload string + Result string + Status string + UUID string + UpdatedAt time.Time + func (t *Task) ConvertToJSON() (string, error) + func (t *Task) IsNil() bool + func (t *Task) LoadFromJSON(data []byte) error + type Tasks struct + Tasks []Task + func (t *Tasks) ConvertToJSON() (string, error) + func (t *Tasks) LoadFromJSON(data []byte) error + type User struct + CreatedAt time.Time + Email string + ID int + Meta string + Name string + PasswordHash string + Role string + Status string + UUID string + UpdatedAt time.Time + func (u *User) ConvertToJSON() (string, error) + func (u *User) IsNil() bool + func (u *User) LoadFromJSON(data []byte) error + type Users struct + Users []User + func (u *Users) ConvertToJSON() (string, error) + func (u *Users) LoadFromJSON(data []byte) error