Versions in this module Expand all Collapse all v1 v1.3.3 Aug 16, 2023 v1.3.2 Aug 15, 2023 v1.3.1 Aug 14, 2023 Changes in this version + type ACLMutation struct + TriggerUpdate bool v1.3.0 Aug 12, 2023 Changes in this version + func CheckIsAdmin(ctx context.Context) (bool, error) + type UserInfo struct + Email string + Groups []string + Name string + func (c *UserInfo) DBFilter(nameKey string, m bson.M) bson.M + func (c *UserInfo) DBFilterEmpty(nameKey string) bson.M + func (c *UserInfo) IsAdmin() bool v1.2.0 Aug 11, 2023 Changes in this version type HMachineMutation + MoveMachine *HMachine type HUser + CreatedAt *Timestamp + type HUserMutation struct + CreateUser *HUser + DeleteUser bool + RenameUser *HUser type HeadscaleMutation + User *HUserMutation type HeadscaleQuery + Users []*HUser v1.1.1 Aug 5, 2023 v1.1.0 Apr 19, 2023 Changes in this version + type HMachine struct + ForcedTags []string + GivenName string + ID int + IPAddresses []string + LastSeen *Timestamp + Name string + Online bool + Routes []*HRoute + User *HUser + func ToHMachine(m *v1.Machine) *HMachine + type HMachineMutation struct + DeleteMachine bool + RenameMachine *HMachine + SetMachineTags *HMachine + type HRoute struct + Advertised bool + CreatedAt *Timestamp + DeletedAt *Timestamp + Enabled bool + ID int + IsPrimary bool + Machine *HMachine + Prefix string + UpdatedAt *Timestamp + func ToHRoute(r *v1.Route) *HRoute + type HRouteMutation struct + DeleteRoute bool + EnableRoute bool + type HUser struct + ID string + Name string + func ToHUser(u *v1.User) *HUser + type HeadscaleMutation struct + Machine *HMachineMutation + Route *HRouteMutation + type HeadscaleQuery struct + Machine *HMachine + Machines []*HMachine + type Timestamp struct + Nanos int + Seconds int + func ToTimestamp(t *timestamppb.Timestamp) *Timestamp v1.0.0 Apr 15, 2023 Changes in this version + type HasID interface + GetID func() *string + IsHasID func() + type Machine struct + ID *string + Name *string + func (Machine) IsHasID() + func (this Machine) GetID() *string + type MachineInput struct + ID *string + Name *string + func (input *MachineInput) GetID() *string + func (machine *MachineInput) ToBson() *bson.M + type MachineMutation struct + DeleteMachine int + SaveMachine *Machine + type Project struct + Code *string + ID *string + Machine *Machine + MachineID *string + MachineIDs []*string + Machines []*Machine + Name *string + Routes []*Route + func (Project) IsHasID() + func (this Project) GetID() *string + type ProjectInput struct + Code *string + ID *string + MachineID *string + MachineIDs []*string + Name *string + func (input *ProjectInput) GetID() *string + func (project *ProjectInput) ToBson() *bson.M + type ProjectMutation struct + DeleteProject int + SaveProject *Project + SyncProjectRoute []*SyncResult + type Route struct + Description *string + ID *string + Name *string + Project *Project + ProjectID *string + func (Route) IsHasID() + func (this Route) GetID() *string + type RouteInput struct + Description *string + ID *string + Name *string + ProjectID *string + func (input *RouteInput) GetID() *string + func (route *RouteInput) ToBson() *bson.M + type RouteMutation struct + DeleteRoute int + SaveRoute *Route + type SyncResult struct + Machine *Machine + MachineID string + Project *Project + ProjectID string + Route *Route + RouteEnable bool + RouteID string