Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSpecPath ¶ added in v0.2.22
Buckets/syncc/[]{tenant-id}/spec/[]{webhook-id}/[]spec
Types ¶
type Client ¶
type Client interface { UploadSpec(tenant string, webhook string, name string, spec *openapi3.T) error Upload(path string, file []byte) error Read(path string) ([]byte, error) Close() error }
func NewInMemoryStore ¶
type InMemoryStore ¶
type InMemoryStore struct {
// contains filtered or unexported fields
}
func (*InMemoryStore) Close ¶ added in v0.0.2
func (m *InMemoryStore) Close() error
func (*InMemoryStore) Read ¶ added in v0.0.4
func (m *InMemoryStore) Read(path string) ([]byte, error)
func (*InMemoryStore) Upload ¶ added in v0.2.22
func (m *InMemoryStore) Upload(string, []byte) error
func (*InMemoryStore) UploadSpec ¶ added in v0.0.2
Click to show internal directories.
Click to hide internal directories.