Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAgentDisabled = errors.New("agentregistryservice: agent is disabled")
Functions ¶
func ResolveForSpawn ¶
Types ¶
type Service ¶
type Service interface {
Create(ctx context.Context, agent *runtimetypes.Agent) error
Get(ctx context.Context, id string) (*runtimetypes.Agent, error)
GetByName(ctx context.Context, name string) (*runtimetypes.Agent, error)
Update(ctx context.Context, agent *runtimetypes.Agent) error
Delete(ctx context.Context, id string) error
List(ctx context.Context, createdAtCursor *time.Time, limit int) ([]*runtimetypes.Agent, error)
}
Click to show internal directories.
Click to hide internal directories.