Documentation ¶
Index ¶
- func Health(w http.ResponseWriter, _ *http.Request)
- func NewAPIKeyResponse(apiKey db.ApiKey, token string) *responses.APIKeyResponse
- func NewAPIKeysResponse(apiKeys []db.ApiKey) *responses.APIKeysResponse
- func NewAuditLogsListResponse(logs []db.AuditLog, callers []any) *responses.AuditLogsResponse
- func NewCloudAccountListResponse(accounts []db.CloudAccount) *responses.CloudAccountListResponse
- func NewCloudAccountResponse(account db.CloudAccount) *responses.CloudAccountResponse
- func NewCloudTenantListResponse(tenants []db.CloudTenant) *responses.CloudTenantsResponse
- func NewCloudTenantResponse(tenant db.CloudTenant) *responses.CloudTenantResponse
- func NewOrganizationalUnitResponse(organizationalUnit db.OrganizationalUnit) *responses.OrganizationalUnitResponse
- func NewOrganizationalUnitsResponse(organizationalUnits []db.OrganizationalUnit) *responses.OrganizationalUnitsResponse
- func NewTagResponse(tag db.StandardTag) *responses.TagResponse
- func NewTagsResponse(tags []db.StandardTag) *responses.TagsResponse
- func NewUserResponse(user db.User) *responses.UserResponse
- func NewUsersResponse(users []db.User) *responses.UsersResponse
- func V1AssignCloudAccountToOU(app *application.App) func(w http.ResponseWriter, r *http.Request)
- func V1CallerCloudAccounts(app *application.App) func(w http.ResponseWriter, r *http.Request)
- func V1CallerProfile(app *application.App) func(w http.ResponseWriter, r *http.Request)
- func V1CreateAPIKey(app *application.App) func(w http.ResponseWriter, r *http.Request)
- func V1CreateOrUpdateResource(app *application.App) func(w http.ResponseWriter, r *http.Request)
- func V1CreateOrUpdateTenants(app *application.App) func(w http.ResponseWriter, r *http.Request)
- func V1CreateOrganizationalUnit(app *application.App) func(w http.ResponseWriter, r *http.Request)
- func V1CreateStandardTag(app *application.App) func(w http.ResponseWriter, r *http.Request)
- func V1DeleteOrganizationalUnit(app *application.App) func(w http.ResponseWriter, r *http.Request)
- func V1GetAPIKey(_ *application.App) func(w http.ResponseWriter, r *http.Request)
- func V1GetOrganizationalUnit(_ *application.App) func(w http.ResponseWriter, r *http.Request)
- func V1GetResource(_ *application.App) func(w http.ResponseWriter, r *http.Request)
- func V1ListAPIKeys(app *application.App) func(w http.ResponseWriter, r *http.Request)
- func V1ListAuditLogs(app *application.App) func(w http.ResponseWriter, r *http.Request)
- func V1ListCloudTenants(app *application.App) func(w http.ResponseWriter, r *http.Request)
- func V1ListOrganizationalUnits(app *application.App) func(w http.ResponseWriter, r *http.Request)
- func V1ListResources(app *application.App) func(w http.ResponseWriter, r *http.Request)
- func V1StandardTags(app *application.App) func(w http.ResponseWriter, r *http.Request)
- func V1UpdateStandardTag(app *application.App) func(w http.ResponseWriter, r *http.Request)
- func V1User(_ *application.App) func(w http.ResponseWriter, r *http.Request)
- func V1Users(app *application.App) func(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAPIKeyResponse ¶
func NewAPIKeyResponse(apiKey db.ApiKey, token string) *responses.APIKeyResponse
func NewAPIKeysResponse ¶
func NewAPIKeysResponse(apiKeys []db.ApiKey) *responses.APIKeysResponse
func NewAuditLogsListResponse ¶
func NewAuditLogsListResponse(logs []db.AuditLog, callers []any) *responses.AuditLogsResponse
func NewCloudAccountListResponse ¶
func NewCloudAccountListResponse(accounts []db.CloudAccount) *responses.CloudAccountListResponse
NewCloudAccountListResponse creates a new resp.CloudAccountListResponse from a list of db.CloudAccount.
func NewCloudAccountResponse ¶
func NewCloudAccountResponse(account db.CloudAccount) *responses.CloudAccountResponse
NewCloudAccountResponse creates a new resp.CloudAccountResponse from a db.CloudAccount.
func NewCloudTenantListResponse ¶
func NewCloudTenantListResponse(tenants []db.CloudTenant) *responses.CloudTenantsResponse
func NewCloudTenantResponse ¶
func NewCloudTenantResponse(tenant db.CloudTenant) *responses.CloudTenantResponse
NewCloudTenantResponse creates a new CloudTenantResponse from a db.CloudTenant.
func NewOrganizationalUnitResponse ¶
func NewOrganizationalUnitResponse(organizationalUnit db.OrganizationalUnit) *responses.OrganizationalUnitResponse
func NewOrganizationalUnitsResponse ¶
func NewOrganizationalUnitsResponse(organizationalUnits []db.OrganizationalUnit) *responses.OrganizationalUnitsResponse
func NewTagResponse ¶
func NewTagResponse(tag db.StandardTag) *responses.TagResponse
func NewTagsResponse ¶
func NewTagsResponse(tags []db.StandardTag) *responses.TagsResponse
func NewUserResponse ¶
func NewUserResponse(user db.User) *responses.UserResponse
func NewUsersResponse ¶
func NewUsersResponse(users []db.User) *responses.UsersResponse
func V1AssignCloudAccountToOU ¶
func V1AssignCloudAccountToOU(app *application.App) func(w http.ResponseWriter, r *http.Request)
func V1CallerCloudAccounts ¶
func V1CallerCloudAccounts(app *application.App) func(w http.ResponseWriter, r *http.Request)
func V1CallerProfile ¶
func V1CallerProfile(app *application.App) func(w http.ResponseWriter, r *http.Request)
func V1CreateAPIKey ¶
func V1CreateAPIKey(app *application.App) func(w http.ResponseWriter, r *http.Request)
func V1CreateOrUpdateResource ¶
func V1CreateOrUpdateResource(app *application.App) func(w http.ResponseWriter, r *http.Request)
func V1CreateOrUpdateTenants ¶
func V1CreateOrUpdateTenants(app *application.App) func(w http.ResponseWriter, r *http.Request)
func V1CreateOrganizationalUnit ¶
func V1CreateOrganizationalUnit(app *application.App) func(w http.ResponseWriter, r *http.Request)
func V1CreateStandardTag ¶
func V1CreateStandardTag(app *application.App) func(w http.ResponseWriter, r *http.Request)
func V1DeleteOrganizationalUnit ¶
func V1DeleteOrganizationalUnit(app *application.App) func(w http.ResponseWriter, r *http.Request)
func V1GetAPIKey ¶
func V1GetAPIKey(_ *application.App) func(w http.ResponseWriter, r *http.Request)
func V1GetOrganizationalUnit ¶
func V1GetOrganizationalUnit(_ *application.App) func(w http.ResponseWriter, r *http.Request)
func V1GetResource ¶
func V1GetResource(_ *application.App) func(w http.ResponseWriter, r *http.Request)
func V1ListAPIKeys ¶
func V1ListAPIKeys(app *application.App) func(w http.ResponseWriter, r *http.Request)
func V1ListAuditLogs ¶
func V1ListAuditLogs(app *application.App) func(w http.ResponseWriter, r *http.Request)
func V1ListCloudTenants ¶
func V1ListCloudTenants(app *application.App) func(w http.ResponseWriter, r *http.Request)
func V1ListOrganizationalUnits ¶
func V1ListOrganizationalUnits(app *application.App) func(w http.ResponseWriter, r *http.Request)
func V1ListResources ¶
func V1ListResources(app *application.App) func(w http.ResponseWriter, r *http.Request)
func V1StandardTags ¶
func V1StandardTags(app *application.App) func(w http.ResponseWriter, r *http.Request)
func V1UpdateStandardTag ¶
func V1UpdateStandardTag(app *application.App) func(w http.ResponseWriter, r *http.Request)
func V1User ¶
func V1User(_ *application.App) func(w http.ResponseWriter, r *http.Request)
func V1Users ¶
func V1Users(app *application.App) func(w http.ResponseWriter, r *http.Request)
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.