Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ProjectEntityName is the storage entity name for project resources. ProjectEntityName = "Project" // ApiEntityName is the storage entity name for API resources. ApiEntityName = "Api" // VersionEntityName is the storage entity name for API version resources. VersionEntityName = "Version" // SpecEntityName is the storage entity name for API spec resources. SpecEntityName = "Spec" // SpecRevisionTagEntityName is the storage entity name for API spec revision tag resources. SpecRevisionTagEntityName = "SpecRevisionTag" // ArtifactEntityName is the storage entity name for artifact resources. ArtifactEntityName = "Artifact" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { Close() Get(ctx context.Context, k Key, v interface{}) error Put(ctx context.Context, k Key, v interface{}) (Key, error) Delete(ctx context.Context, k Key) error Run(ctx context.Context, q Query) Iterator IsNotFound(err error) bool NewKey(kind, name string) Key NewQuery(query string) Query DeleteChildrenOfProject(ctx context.Context, project names.Project) error DeleteChildrenOfApi(ctx context.Context, api names.Api) error DeleteChildrenOfVersion(ctx context.Context, version names.Version) error DeleteAllMatches(ctx context.Context, q Query) error DeleteChildrenOfSpec(ctx context.Context, spec names.Spec) error GetRecentSpecRevisions(ctx context.Context, offset int32, projectID, apiID, versionID string) Iterator }
Click to show internal directories.
Click to hide internal directories.