Versions in this module Expand all Collapse all v0 v0.3.0 Oct 23, 2024 Changes in this version + func Start[Configuration, State any](restConnector connector.Connector[Configuration, State], ...) error + type CLI struct + Convert command.ConvertCommandArguments + func (c CLI) Execute(ctx context.Context, cmd string) error + type NDCRestSchemaWithName struct + func BuildSchemaFiles(configDir string, files []configuration.ConfigItem, logger *slog.Logger) ([]NDCRestSchemaWithName, map[string][]string) + type Option (func(*options)) + func WithClient(client internal.Doer) Option + type RESTConnector struct + func NewRESTConnector(opts ...Option) *RESTConnector + func (c *RESTConnector) ApplyNDCRestSchemas(schemas []NDCRestSchemaWithName) map[string][]string + func (c *RESTConnector) GetCapabilities(configuration *configuration.Configuration) schema.CapabilitiesResponseMarshaler + func (c *RESTConnector) GetSchema(ctx context.Context, configuration *configuration.Configuration, _ *State) (schema.SchemaResponseMarshaler, error) + func (c *RESTConnector) HealthCheck(ctx context.Context, configuration *configuration.Configuration, state *State) error + func (c *RESTConnector) Mutation(ctx context.Context, configuration *configuration.Configuration, state *State, ...) (*schema.MutationResponse, error) + func (c *RESTConnector) MutationExplain(ctx context.Context, configuration *configuration.Configuration, state *State, ...) (*schema.ExplainResponse, error) + func (c *RESTConnector) ParseConfiguration(ctx context.Context, configurationDir string) (*configuration.Configuration, error) + func (c *RESTConnector) Query(ctx context.Context, configuration *configuration.Configuration, state *State, ...) (schema.QueryResponse, error) + func (c *RESTConnector) QueryExplain(ctx context.Context, configuration *configuration.Configuration, state *State, ...) (*schema.ExplainResponse, error) + func (c *RESTConnector) TryInitState(ctx context.Context, configuration *configuration.Configuration, ...) (*State, error) + type State struct + Schema *rest.NDCRestSchema