Documentation
¶
Index ¶
- Constants
- func DecodeBody(c *gin.Context, result interface{}) error
- func NotImplemented(c *gin.Context)
- type Api
- type ApiKeyHandler
- type CreateSchemaVersionRequest
- type ListMeta
- type Middlewares
- type NamespaceHandler
- func (nsApi *NamespaceHandler) CreateNamespace(c *gin.Context)
- func (nsApi *NamespaceHandler) DeleteNamespace(c *gin.Context)
- func (nsApi *NamespaceHandler) DeleteNamespaceVariable(c *gin.Context)
- func (nsApi *NamespaceHandler) GetNamespace(c *gin.Context)
- func (nsApi *NamespaceHandler) GetNamespaceVariable(c *gin.Context)
- func (nsApi *NamespaceHandler) ListNamespaceVariables(c *gin.Context)
- func (nsApi *NamespaceHandler) ListNamespaces(c *gin.Context)
- func (nsApi *NamespaceHandler) PostNamespaceVariable(c *gin.Context)
- func (nsApi *NamespaceHandler) PutNamespaceVariable(c *gin.Context)
- func (nsApi *NamespaceHandler) Resolve(c *gin.Context)
- func (nsApi *NamespaceHandler) UpdateNamespace(c *gin.Context)
- type NewApiKeyRequest
- type NewNamespaceRequest
- type NewNamespaceVariable
- type NewOrganizationRequest
- type NewSchemaRequest
- type OrganizationHandler
- func (orgApi *OrganizationHandler) CreateOrganization(c *gin.Context)
- func (orgApi *OrganizationHandler) DeleteOrganization(c *gin.Context)
- func (orgApi *OrganizationHandler) GetListOfOrganizations(c *gin.Context)
- func (orgApi *OrganizationHandler) GetOrganization(c *gin.Context)
- func (orgApi *OrganizationHandler) UpdateOrganization(c *gin.Context)
- type ResolveResourceResponse
- type ResolveSchemaVersionRequest
- type SchemaApiHandler
- func (sApi *SchemaApiHandler) CreateSchema(c *gin.Context)
- func (sApi *SchemaApiHandler) CreateSchemaVersion(c *gin.Context)
- func (sApi *SchemaApiHandler) DeleteSchema(c *gin.Context)
- func (sApi *SchemaApiHandler) DeleteSchemaVersion(c *gin.Context)
- func (sApi *SchemaApiHandler) GetSchema(c *gin.Context)
- func (sApi *SchemaApiHandler) GetSchemaVersion(c *gin.Context)
- func (sApi *SchemaApiHandler) ListSchemaVersions(c *gin.Context)
- func (sApi *SchemaApiHandler) ListSchemas(c *gin.Context)
- func (sApi *SchemaApiHandler) ResolveResourceName(c *gin.Context)
- func (sApi *SchemaApiHandler) UpdateSchema(c *gin.Context)
- func (sApi *SchemaApiHandler) UpdateSchemaVersion(c *gin.Context)
- type TerraxenClaims
- type UpdateNamespaceRequest
- type UpdateNamespaceVariable
- type UpdateOrganizationRequest
- type UpdateSchemaRequest
- type UpdateSchemaVersionRequest
Constants ¶
View Source
const (
ORG_CONTEXT_NAME = "x-organization-id"
)
Variables ¶
This section is empty.
Functions ¶
func DecodeBody ¶
Types ¶
type ApiKeyHandler ¶
type ApiKeyHandler struct {
// contains filtered or unexported fields
}
func NewApiKeyHandler ¶
func NewApiKeyHandler(apiKeySvc services.ApiKeyProvider) *ApiKeyHandler
func (*ApiKeyHandler) CreateKey ¶
func (aka *ApiKeyHandler) CreateKey(c *gin.Context)
func (*ApiKeyHandler) DeleteKey ¶
func (aka *ApiKeyHandler) DeleteKey(c *gin.Context)
func (*ApiKeyHandler) GetKey ¶
func (aka *ApiKeyHandler) GetKey(c *gin.Context)
func (*ApiKeyHandler) ListApiKeys ¶
func (aka *ApiKeyHandler) ListApiKeys(c *gin.Context)
type ListMeta ¶
func ProcessListMetadata ¶
type Middlewares ¶
type Middlewares struct {
// contains filtered or unexported fields
}
func NewMiddlewares ¶
func NewMiddlewares(apiKeySvc services.ApiKeyProvider) *Middlewares
func (*Middlewares) ValidateRequest ¶
func (m *Middlewares) ValidateRequest(c *gin.Context)
type NamespaceHandler ¶
type NamespaceHandler struct {
// contains filtered or unexported fields
}
func NewNamespaceHandler ¶
func NewNamespaceHandler(svc services.NamespaceServiceProvider, oSvc services.OrganizationServiceProvider, sSvc services.SchemaServiceProvider) *NamespaceHandler
func (*NamespaceHandler) CreateNamespace ¶
func (nsApi *NamespaceHandler) CreateNamespace(c *gin.Context)
func (*NamespaceHandler) DeleteNamespace ¶
func (nsApi *NamespaceHandler) DeleteNamespace(c *gin.Context)
func (*NamespaceHandler) DeleteNamespaceVariable ¶
func (nsApi *NamespaceHandler) DeleteNamespaceVariable(c *gin.Context)
func (*NamespaceHandler) GetNamespace ¶
func (nsApi *NamespaceHandler) GetNamespace(c *gin.Context)
func (*NamespaceHandler) GetNamespaceVariable ¶
func (nsApi *NamespaceHandler) GetNamespaceVariable(c *gin.Context)
func (*NamespaceHandler) ListNamespaceVariables ¶
func (nsApi *NamespaceHandler) ListNamespaceVariables(c *gin.Context)
func (*NamespaceHandler) ListNamespaces ¶
func (nsApi *NamespaceHandler) ListNamespaces(c *gin.Context)
func (*NamespaceHandler) PostNamespaceVariable ¶
func (nsApi *NamespaceHandler) PostNamespaceVariable(c *gin.Context)
func (*NamespaceHandler) PutNamespaceVariable ¶
func (nsApi *NamespaceHandler) PutNamespaceVariable(c *gin.Context)
func (*NamespaceHandler) Resolve ¶
func (nsApi *NamespaceHandler) Resolve(c *gin.Context)
func (*NamespaceHandler) UpdateNamespace ¶
func (nsApi *NamespaceHandler) UpdateNamespace(c *gin.Context)
type NewApiKeyRequest ¶
type NewNamespaceRequest ¶
type NewNamespaceVariable ¶
type NewOrganizationRequest ¶
type NewSchemaRequest ¶
type NewSchemaRequest struct {
Name string `json:"name"`
}
type OrganizationHandler ¶
type OrganizationHandler struct {
// contains filtered or unexported fields
}
func NewOrganizationHandler ¶
func NewOrganizationHandler(orgSvc services.OrganizationServiceProvider) *OrganizationHandler
func (*OrganizationHandler) CreateOrganization ¶
func (orgApi *OrganizationHandler) CreateOrganization(c *gin.Context)
func (*OrganizationHandler) DeleteOrganization ¶
func (orgApi *OrganizationHandler) DeleteOrganization(c *gin.Context)
func (*OrganizationHandler) GetListOfOrganizations ¶
func (orgApi *OrganizationHandler) GetListOfOrganizations(c *gin.Context)
func (*OrganizationHandler) GetOrganization ¶
func (orgApi *OrganizationHandler) GetOrganization(c *gin.Context)
func (*OrganizationHandler) UpdateOrganization ¶
func (orgApi *OrganizationHandler) UpdateOrganization(c *gin.Context)
type ResolveResourceResponse ¶
type SchemaApiHandler ¶
type SchemaApiHandler struct {
// contains filtered or unexported fields
}
func NewSchemaApiHandler ¶
func NewSchemaApiHandler(svc services.SchemaServiceProvider) *SchemaApiHandler
func (*SchemaApiHandler) CreateSchema ¶
func (sApi *SchemaApiHandler) CreateSchema(c *gin.Context)
Create a new schema and a new version 1 for that schema
func (*SchemaApiHandler) CreateSchemaVersion ¶
func (sApi *SchemaApiHandler) CreateSchemaVersion(c *gin.Context)
func (*SchemaApiHandler) DeleteSchema ¶
func (sApi *SchemaApiHandler) DeleteSchema(c *gin.Context)
func (*SchemaApiHandler) DeleteSchemaVersion ¶
func (sApi *SchemaApiHandler) DeleteSchemaVersion(c *gin.Context)
func (*SchemaApiHandler) GetSchema ¶
func (sApi *SchemaApiHandler) GetSchema(c *gin.Context)
func (*SchemaApiHandler) GetSchemaVersion ¶
func (sApi *SchemaApiHandler) GetSchemaVersion(c *gin.Context)
func (*SchemaApiHandler) ListSchemaVersions ¶
func (sApi *SchemaApiHandler) ListSchemaVersions(c *gin.Context)
func (*SchemaApiHandler) ListSchemas ¶
func (sApi *SchemaApiHandler) ListSchemas(c *gin.Context)
func (*SchemaApiHandler) ResolveResourceName ¶
func (sApi *SchemaApiHandler) ResolveResourceName(c *gin.Context)
func (*SchemaApiHandler) UpdateSchema ¶
func (sApi *SchemaApiHandler) UpdateSchema(c *gin.Context)
func (*SchemaApiHandler) UpdateSchemaVersion ¶
func (sApi *SchemaApiHandler) UpdateSchemaVersion(c *gin.Context)
type TerraxenClaims ¶
type UpdateNamespaceRequest ¶
type UpdateNamespaceVariable ¶
type UpdateNamespaceVariable struct {
Value string `json:"value"`
}
type UpdateSchemaRequest ¶
Click to show internal directories.
Click to hide internal directories.