Versions in this module Expand all Collapse all v0 v0.1.0 Jul 16, 2026 Changes in this version + type Manager struct + func NewManager(opts ...ManagerOption) *Manager + func (m *Manager) CreateAll(args ...interface{}) error + func (m *Manager) DestroyAll(args ...interface{}) error + func (m *Manager) LoadState(v *opaqueany.Any) error + func (m *Manager) Resource(n string) *Resource + func (m *Manager) State() *opaqueany.Any + func (m *Manager) StatusAll(args ...interface{}) ([]*pb.StatusReport_Resource, error) + func (m *Manager) StatusReport(args ...interface{}) (*pb.StatusReport, error) + func (m *Manager) Validate() error + type ManagerOption func(*Manager) + func WithDeclaredResourcesResp(dcr *component.DeclaredResourcesResp) ManagerOption + func WithDestroyedResourcesResp(dtr *component.DestroyedResourcesResp) ManagerOption + func WithLogger(l hclog.Logger) ManagerOption + func WithResource(r *Resource) ManagerOption + func WithValueProvider(f interface{}) ManagerOption + type Resource struct + func NewResource(opts ...ResourceOption) *Resource + func (r *Resource) Create(args ...interface{}) error + func (r *Resource) DeclaredResource() (*pb.DeclaredResource, error) + func (r *Resource) Destroy(args ...interface{}) error + func (r *Resource) DestroyedResource() (*pb.DestroyedResource, error) + func (r *Resource) SetState(v interface{}) error + func (r *Resource) State() interface{} + func (r *Resource) Status() *StatusResponse + func (r *Resource) Validate() error + type ResourceOption func(*Resource) + func WithCategoryDisplayHint(categoryDisplayHint pb.ResourceCategoryDisplayHint) ResourceOption + func WithCreate(f interface{}) ResourceOption + func WithDestroy(f interface{}) ResourceOption + func WithName(n string) ResourceOption + func WithPlatform(platform string) ResourceOption + func WithState(v interface{}) ResourceOption + func WithStatus(f interface{}) ResourceOption + func WithType(t string) ResourceOption + type StatusResponse struct + Resources []*pb.StatusReport_Resource