Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Group ¶
type Group interface { FindByName(ctx context.Context, name string) (*models.Sgroup, error) Upsert(ctx context.Context, record []string) error List(ctx context.Context, match string) (models.SgroupSlice, error) }
func NewGroupRepo ¶
type Host ¶
type Host interface { FindByHostname(ctx context.Context, hostname string) (*models.Host, error) ListByGroupID(ctx context.Context, groupID int64) (models.HostSlice, error) Upsert(ctx context.Context, record []string, zone string) error List(ctx context.Context, match string) (models.HostSlice, error) }
func NewHostRepo ¶
Click to show internal directories.
Click to hide internal directories.