hostgrouprepo

package
v0.3.0-alpha4 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repo

type Repo interface {
	Delete(ctx context.Context, id uuid.UUID) error
	GetAll(ctx context.Context) ([]*hostgroup.HostGroup, error)
	GetByID(ctx context.Context, id uuid.UUID) (*hostgroup.HostGroup, error)
	Store(ctx context.Context, u []*hostgroup.HostGroup) error
	Upsert(ctx context.Context, u []*hostgroup.HostGroup) error
	Update(ctx context.Context, u *hostgroup.HostGroup) error
	TruncateTable(ctx context.Context) error
}

Jump to

Keyboard shortcuts

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