Documentation ¶
Index ¶
- type ListResourceByFilterRow
- type Store
- func (st *Store) Close() error
- func (st *Store) Create(ctx context.Context, r resource.Resource, hooks ...resource.MutationHook) error
- func (st *Store) CreateModule(ctx context.Context, m module.Module) error
- func (st *Store) Delete(ctx context.Context, urn string, hooks ...resource.MutationHook) error
- func (st *Store) DeleteModule(ctx context.Context, urn string) error
- func (st *Store) GetByURN(ctx context.Context, urn string) (*resource.Resource, error)
- func (st *Store) GetModule(ctx context.Context, urn string) (*module.Module, error)
- func (st *Store) List(ctx context.Context, filter resource.Filter, withSpecConfigs bool) ([]resource.Resource, error)
- func (st *Store) ListModules(ctx context.Context, project string) ([]module.Module, error)
- func (st *Store) Migrate(ctx context.Context) error
- func (st *Store) Revisions(ctx context.Context, selector resource.RevisionsSelector) ([]resource.Revision, error)
- func (st *Store) SyncOne(ctx context.Context, syncFn resource.SyncFn) error
- func (st *Store) Update(ctx context.Context, r resource.Resource, saveRevision bool, reason string, ...) error
- func (st *Store) UpdateModule(ctx context.Context, m module.Module) error
- type TxFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListResourceByFilterRow ¶ added in v0.1.10
type ListResourceByFilterRow struct { ID int64 Urn string Kind string Name string Project string CreatedAt *time.Time UpdatedAt *time.Time SpecConfigs []byte StateStatus string StateOutput []byte StateModuleData []byte StateNextSync *time.Time StateSyncResult []byte CreatedBy string UpdatedBy string Tags pq.StringArray Dependencies []byte }
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) CreateModule ¶
func (*Store) ListModules ¶
Click to show internal directories.
Click to hide internal directories.