Documentation ¶
Index ¶
- type Repository
- func (r *Repository) Approve(ctx context.Context, id uint64, message string) error
- func (r *Repository) Count(ctx context.Context, qops ...zone.Option) (count int64, err error)
- func (r *Repository) Create(ctx context.Context, object *models.Zone) (uint64, error)
- func (r *Repository) Delete(ctx context.Context, id uint64, message string) error
- func (r *Repository) FetchList(ctx context.Context, qops ...zone.Option) (list []*models.Zone, err error)
- func (r *Repository) Get(ctx context.Context, id uint64) (*models.Zone, error)
- func (r *Repository) GetByCodename(ctx context.Context, codename string) (*models.Zone, error)
- func (r *Repository) Pause(ctx context.Context, id uint64, message string) error
- func (r *Repository) Reject(ctx context.Context, id uint64, message string) error
- func (r *Repository) Run(ctx context.Context, id uint64, message string) error
- func (r *Repository) Update(ctx context.Context, id uint64, object *models.Zone) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct {
repository.Repository
}
func (*Repository) GetByCodename ¶
Click to show internal directories.
Click to hide internal directories.