Documentation ¶
Index ¶
- type ModuleService
- type Options
- type Service
- func (svc *Service) ApplyAction(ctx context.Context, urn string, act module.ActionRequest, ...) (*resource.Resource, error)
- func (svc *Service) CreateResource(ctx context.Context, res resource.Resource, resourceOpts ...Options) (*resource.Resource, error)
- func (svc *Service) DeleteResource(ctx context.Context, urn string) error
- func (svc *Service) GetLog(ctx context.Context, urn string, filter map[string]string) (<-chan module.LogChunk, error)
- func (svc *Service) GetResource(ctx context.Context, urn string) (*resource.Resource, error)
- func (svc *Service) GetRevisions(ctx context.Context, selector resource.RevisionsSelector) ([]resource.Revision, error)
- func (svc *Service) ListResources(ctx context.Context, filter resource.Filter, withSpecConfigs bool) (resource.PagedResource, error)
- func (svc *Service) RunSyncer(ctx context.Context, workerCount int, interval time.Duration, ...)
- func (svc *Service) UpdateResource(ctx context.Context, urn string, req resource.UpdateRequest, ...) (*resource.Resource, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModuleService ¶
type ModuleService interface { PlanAction(ctx context.Context, res module.ExpandedResource, act module.ActionRequest) (*resource.Resource, error) SyncState(ctx context.Context, res module.ExpandedResource) (*resource.State, error) StreamLogs(ctx context.Context, res module.ExpandedResource, filter map[string]string) (<-chan module.LogChunk, error) GetOutput(ctx context.Context, res module.ExpandedResource) (json.RawMessage, error) }
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) ApplyAction ¶
func (*Service) CreateResource ¶
func (*Service) DeleteResource ¶
func (*Service) GetResource ¶
func (*Service) GetRevisions ¶
func (*Service) ListResources ¶
Click to show internal directories.
Click to hide internal directories.