generic

package
v1.63.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Service

func Service(credentials *settings.Credentials) settings.CRUDService[*generic.Settings]

Types

type LoggingRoundTripper added in v1.44.1

type LoggingRoundTripper struct {
	RoundTripper http.RoundTripper
}

func (*LoggingRoundTripper) RoundTrip added in v1.44.1

func (lrt *LoggingRoundTripper) RoundTrip(r *http.Request) (*http.Response, error)

type Matcher

type Matcher interface {
	Match(o any) bool
}

type QueryParams added in v1.63.0

type QueryParams struct {
	Schema string
	Scope  string
	Filter string
}

type SettingsObject

type SettingsObject struct {
	SchemaVersion string          `json:"schemaVersion"`
	SchemaID      string          `json:"schemaId"`
	Scope         string          `json:"scope"`
	Value         json.RawMessage `json:"value"`
}

type SettingsObjectList

type SettingsObjectList struct {
	Items       []*SettingsObjectListItem `json:"items"`
	NextPageKey *string                   `json:"nextPageKey,omitempty"`
}

type SettingsObjectListItem

type SettingsObjectListItem struct {
	ObjectID      string          `json:"objectId"`
	Scope         string          `json:"scope"`
	SchemaVersion string          `json:"schemaVersion"`
	Value         json.RawMessage `json:"value"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL