Documentation ¶
Index ¶
- Constants
- func ToKeySlice(keys types.Keys) *[]Key
- func ToRolePermissionsResponse(permissions types.Permissions) *[]RolePermissions
- type AuthHandler
- type Handler
- func (h *Handler) DeleteV1ClustersClusterName(c *gin.Context, clusterName ClusterName)
- func (h *Handler) DeleteV1ClustersClusterNameAttributesAttributeName(c *gin.Context, clusterName ClusterName, attributeName AttributeName)
- func (h *Handler) DeleteV1ListenersListenerName(c *gin.Context, listenerName ListenerName)
- func (h *Handler) DeleteV1ListenersListenerNameAttributesAttributeName(c *gin.Context, listenerName ListenerName, attributeName AttributeName)
- func (h *Handler) DeleteV1OrganizationsOrganizationName(c *gin.Context, organizationName OrganizationName)
- func (h *Handler) DeleteV1OrganizationsOrganizationNameApiproductsApiproductName(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) DeleteV1OrganizationsOrganizationNameApiproductsApiproductNameAttributesAttributeName(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) DeleteV1OrganizationsOrganizationNameCompaniesCompanyName(c *gin.Context, organizationName OrganizationName, companyName CompanyName)
- func (h *Handler) DeleteV1OrganizationsOrganizationNameCompaniesCompanyNameAttributesAttributeName(c *gin.Context, organizationName OrganizationName, companyName CompanyName, ...)
- func (h *Handler) DeleteV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddress(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) DeleteV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppName(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) DeleteV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameAttributesAttributeName(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) DeleteV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameKeysConsumerKey(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) DeleteV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameKeysConsumerKeyApiproductsApiproductName(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) DeleteV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameKeysConsumerKeyAttributesAttributeName(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) DeleteV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAttributesAttributeName(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) DeleteV1RolesRoleName(c *gin.Context, roleName RoleName)
- func (h *Handler) DeleteV1RoutesRouteName(c *gin.Context, routeName RouteName)
- func (h *Handler) DeleteV1RoutesRouteNameAttributesAttributeName(c *gin.Context, routeName RouteName, attributeName AttributeName)
- func (h *Handler) DeleteV1UsersUserName(c *gin.Context, userName UserName)
- func (h *Handler) GetV1AuditOrganizationsOrganizationName(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) GetV1AuditOrganizationsOrganizationNameApiproductsApiproductName(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) GetV1AuditOrganizationsOrganizationNameDevelopersDeveloperId(c *gin.Context, organizationName OrganizationName, developerId DeveloperId, ...)
- func (h *Handler) GetV1AuditOrganizationsOrganizationNameDevelopersDeveloperIdAppsAppId(c *gin.Context, organizationName OrganizationName, developerId DeveloperId, ...)
- func (h *Handler) GetV1AuditUsersUserName(c *gin.Context, userName UserName, params GetV1AuditUsersUserNameParams)
- func (h *Handler) GetV1Clusters(c *gin.Context)
- func (h *Handler) GetV1ClustersClusterName(c *gin.Context, clusterName ClusterName)
- func (h *Handler) GetV1ClustersClusterNameAttributes(c *gin.Context, clusterName ClusterName)
- func (h *Handler) GetV1ClustersClusterNameAttributesAttributeName(c *gin.Context, clusterName ClusterName, attributeName AttributeName)
- func (h *Handler) GetV1Listeners(c *gin.Context)
- func (h *Handler) GetV1ListenersListenerName(c *gin.Context, listenerName ListenerName)
- func (h *Handler) GetV1ListenersListenerNameAttributes(c *gin.Context, listenerName ListenerName)
- func (h *Handler) GetV1ListenersListenerNameAttributesAttributeName(c *gin.Context, listenerName ListenerName, attributeName AttributeName)
- func (h *Handler) GetV1Organizations(c *gin.Context)
- func (h *Handler) GetV1OrganizationsOrganizationName(c *gin.Context, organizationName OrganizationName)
- func (h *Handler) GetV1OrganizationsOrganizationNameApiproducts(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) GetV1OrganizationsOrganizationNameApiproductsApiproductName(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) GetV1OrganizationsOrganizationNameApiproductsApiproductNameAttributes(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) GetV1OrganizationsOrganizationNameApiproductsApiproductNameAttributesAttributeName(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) GetV1OrganizationsOrganizationNameApps(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) GetV1OrganizationsOrganizationNameAppsAppId(c *gin.Context, organizationName OrganizationName, appId AppId)
- func (h *Handler) GetV1OrganizationsOrganizationNameCompanies(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) GetV1OrganizationsOrganizationNameCompaniesCompanyName(c *gin.Context, organizationName OrganizationName, companyName CompanyName)
- func (h *Handler) GetV1OrganizationsOrganizationNameCompaniesCompanyNameAttributes(c *gin.Context, organizationName OrganizationName, companyName CompanyName)
- func (h *Handler) GetV1OrganizationsOrganizationNameCompaniesCompanyNameAttributesAttributeName(c *gin.Context, organizationName OrganizationName, companyName CompanyName, ...)
- func (h *Handler) GetV1OrganizationsOrganizationNameDevelopers(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) GetV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddress(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) GetV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressApps(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) GetV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppName(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) GetV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameAttributes(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) GetV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameAttributesAttributeName(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) GetV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameKeys(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) GetV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameKeysConsumerKey(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) GetV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameKeysConsumerKeyAttributes(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) GetV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameKeysConsumerKeyAttributesAttributeName(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) GetV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAttributes(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) GetV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAttributesAttributeName(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) GetV1Roles(c *gin.Context)
- func (h *Handler) GetV1RolesRoleName(c *gin.Context, roleName RoleName)
- func (h *Handler) GetV1RolesRoleNameUsers(c *gin.Context, roleName RoleName)
- func (h *Handler) GetV1Routes(c *gin.Context)
- func (h *Handler) GetV1RoutesRouteName(c *gin.Context, routeName RouteName)
- func (h *Handler) GetV1RoutesRouteNameAttributes(c *gin.Context, routeName RouteName)
- func (h *Handler) GetV1RoutesRouteNameAttributesAttributeName(c *gin.Context, routeName RouteName, attributeName AttributeName)
- func (h *Handler) GetV1Users(c *gin.Context)
- func (h *Handler) GetV1UsersUserName(c *gin.Context, userName UserName)
- func (h *Handler) PostV1Clusters(c *gin.Context)
- func (h *Handler) PostV1ClustersClusterName(c *gin.Context, clusterName ClusterName)
- func (h *Handler) PostV1ClustersClusterNameAttributes(c *gin.Context, clusterName ClusterName)
- func (h *Handler) PostV1ClustersClusterNameAttributesAttributeName(c *gin.Context, clusterName ClusterName, attributeName AttributeName)
- func (h *Handler) PostV1Listeners(c *gin.Context)
- func (h *Handler) PostV1ListenersListenerName(c *gin.Context, listenerName ListenerName)
- func (h *Handler) PostV1ListenersListenerNameAttributes(c *gin.Context, listenerName ListenerName)
- func (h *Handler) PostV1ListenersListenerNameAttributesAttributeName(c *gin.Context, listenerName ListenerName, attributeName AttributeName)
- func (h *Handler) PostV1Organizations(c *gin.Context)
- func (h *Handler) PostV1OrganizationsOrganizationName(c *gin.Context, organizationName OrganizationName)
- func (h *Handler) PostV1OrganizationsOrganizationNameApiproducts(c *gin.Context, organizationName OrganizationName)
- func (h *Handler) PostV1OrganizationsOrganizationNameApiproductsApiproductName(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) PostV1OrganizationsOrganizationNameApiproductsApiproductNameAttributes(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) PostV1OrganizationsOrganizationNameApiproductsApiproductNameAttributesAttributeName(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) PostV1OrganizationsOrganizationNameCompanies(c *gin.Context, organizationName OrganizationName)
- func (h *Handler) PostV1OrganizationsOrganizationNameCompaniesCompanyName(c *gin.Context, organizationName OrganizationName, companyName CompanyName, ...)
- func (h *Handler) PostV1OrganizationsOrganizationNameCompaniesCompanyNameAttributes(c *gin.Context, organizationName OrganizationName, companyName CompanyName)
- func (h *Handler) PostV1OrganizationsOrganizationNameCompaniesCompanyNameAttributesAttributeName(c *gin.Context, organizationName OrganizationName, companyName CompanyName, ...)
- func (h *Handler) PostV1OrganizationsOrganizationNameDevelopers(c *gin.Context, organizationName OrganizationName)
- func (h *Handler) PostV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddress(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) PostV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressApps(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) PostV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppName(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) PostV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameAttributes(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) PostV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameAttributesAttributeName(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) PostV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameKeysConsumerKey(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) PostV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameKeysConsumerKeyApiproductsApiproductName(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) PostV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameKeysConsumerKeyAttributes(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) PostV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameKeysConsumerKeyAttributesAttributeName(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) PostV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameKeysCreate(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) PostV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAttributes(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) PostV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAttributesAttributeName(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) PostV1Roles(c *gin.Context)
- func (h *Handler) PostV1RolesRoleName(c *gin.Context, roleName RoleName)
- func (h *Handler) PostV1Routes(c *gin.Context)
- func (h *Handler) PostV1RoutesRouteName(c *gin.Context, routeName RouteName)
- func (h *Handler) PostV1RoutesRouteNameAttributes(c *gin.Context, routeName RouteName)
- func (h *Handler) PostV1RoutesRouteNameAttributesAttributeName(c *gin.Context, routeName RouteName, attributeName AttributeName)
- func (h *Handler) PostV1Users(c *gin.Context)
- func (h *Handler) PostV1UsersUserName(c *gin.Context, userName UserName)
- func (h *Handler) PutV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppName(c *gin.Context, organizationName OrganizationName, ...)
- func (h *Handler) ToAPIproductResponse(a *types.APIProduct) APIProduct
- func (h *Handler) ToAuditResponse(a *types.Audit) Audit
- func (h *Handler) ToClusterResponse(c *types.Cluster) Cluster
- func (h *Handler) ToCompanyResponse(c *types.Company) Company
- func (h *Handler) ToDeveloperResponse(d *types.Developer) Developer
- func (h *Handler) ToListenerResponse(l *types.Listener) Listener
- func (h *Handler) ToOrganizationResponse(o *types.Organization) Organization
- func (h *Handler) ToRoleResponse(l *types.Role) Role
- func (h *Handler) ToRouteResponse(r *types.Route) Route
- func (h *Handler) ToUserResponse(l *types.User) User
Constants ¶
const (
// key in request context holding name & connection details of requestor
RequestorKey = "Requestor"
)
Variables ¶
This section is empty.
Functions ¶
func ToKeySlice ¶
func ToRolePermissionsResponse ¶
func ToRolePermissionsResponse(permissions types.Permissions) *[]RolePermissions
Types ¶
type AuthHandler ¶
type AuthHandler struct {
// contains filtered or unexported fields
}
AuthHandler provides authentication and authorization middleware
func (*AuthHandler) AuthenticateAndAuthorize ¶
func (a *AuthHandler) AuthenticateAndAuthorize(c *gin.Context)
AuthenticateAndAuthorize validates username and password supplied via HTTP Basic authentication and checks whether requested path is allowed according to the assigned roles of the user
func (*AuthHandler) IsPathAllowedByUser ¶
func (a *AuthHandler) IsPathAllowedByUser(user *types.User, method, path string) ( roleName string, e types.Error)
IsPathAllowedByUser checks whether user is allowed to access a path, if allowed return name of allowing role
func (*AuthHandler) ValidatePassword ¶
ValidatePassword confirm if user supplied a valid password
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler has implements all methods of oapi-codegen's ServiceInterface
func New ¶
func New(router *gin.Engine, db *db.Database, s *service.Service, applicationName string, disableAPIAuthentication bool, logger *zap.Logger) *Handler
New sets up all API endpoint routes
func (*Handler) DeleteV1ClustersClusterName ¶
deletes an cluster (DELETE /v1/clusters/{cluster_name})
func (*Handler) DeleteV1ClustersClusterNameAttributesAttributeName ¶
func (h *Handler) DeleteV1ClustersClusterNameAttributesAttributeName( c *gin.Context, clusterName ClusterName, attributeName AttributeName)
deletes one attribute of an cluster (DELETE /v1/clusters/{cluster_name}/attributes/{attribute_name})
func (*Handler) DeleteV1ListenersListenerName ¶
deletes an listener (DELETE /v1/listeners/{listener_name})
func (*Handler) DeleteV1ListenersListenerNameAttributesAttributeName ¶
func (h *Handler) DeleteV1ListenersListenerNameAttributesAttributeName(c *gin.Context, listenerName ListenerName, attributeName AttributeName)
deletes one attribute of an listener (DELETE /v1/listeners/{listener_name}/attributes/{attribute_name})
func (*Handler) DeleteV1OrganizationsOrganizationName ¶
func (h *Handler) DeleteV1OrganizationsOrganizationName(c *gin.Context, organizationName OrganizationName)
deletes an organization (DELETE /v1/organizations/{organization_name})
func (*Handler) DeleteV1OrganizationsOrganizationNameApiproductsApiproductName ¶
func (h *Handler) DeleteV1OrganizationsOrganizationNameApiproductsApiproductName( c *gin.Context, organizationName OrganizationName, apiproductName ApiproductName)
deletes an apiproduct (DELETE /v1/organizations/{organization_name}/apiproducts/{apiproduct_name})
func (*Handler) DeleteV1OrganizationsOrganizationNameApiproductsApiproductNameAttributesAttributeName ¶
func (h *Handler) DeleteV1OrganizationsOrganizationNameApiproductsApiproductNameAttributesAttributeName( c *gin.Context, organizationName OrganizationName, apiproductName ApiproductName, attributeName AttributeName)
deletes one attribute of an apiproduct (DELETE /v1/organizations/{organization_name}/apiproducts/{apiproduct_name}/attributes/{attribute_name})
func (*Handler) DeleteV1OrganizationsOrganizationNameCompaniesCompanyName ¶
func (h *Handler) DeleteV1OrganizationsOrganizationNameCompaniesCompanyName( c *gin.Context, organizationName OrganizationName, companyName CompanyName)
deletes an company (DELETE /v1/organizations/{organization_name}/companies/{company_name})
func (*Handler) DeleteV1OrganizationsOrganizationNameCompaniesCompanyNameAttributesAttributeName ¶
func (h *Handler) DeleteV1OrganizationsOrganizationNameCompaniesCompanyNameAttributesAttributeName( c *gin.Context, organizationName OrganizationName, companyName CompanyName, attributeName AttributeName)
deletes one attribute of an company (DELETE /v1/organizations/{organization_name}/companies/{company_name}/attributes/{attribute_name})
func (*Handler) DeleteV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddress ¶
func (h *Handler) DeleteV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddress( c *gin.Context, organizationName OrganizationName, developerEmailaddress DeveloperEmailaddress)
deletes a developer (DELETE /v1/organizations/{organization_name}/developers/{developer_emailaddress})
func (*Handler) DeleteV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppName ¶
func (h *Handler) DeleteV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppName( c *gin.Context, organizationName OrganizationName, developerEmailaddress DeveloperEmailaddress, appName AppName)
(DELETE /v1/organizations/{organization_name}/developers/{developer_emailaddress}/apps/{app_name})
func (*Handler) DeleteV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameAttributesAttributeName ¶
func (h *Handler) DeleteV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameAttributesAttributeName( c *gin.Context, organizationName OrganizationName, developerEmailaddress DeveloperEmailaddress, appName AppName, attributeName AttributeName)
deletes one attriubte of an application (DELETE /v1/organizations/{organization_name}/developers/{developer_emailaddress}/apps/{app_name}/attributes/{attribute_name})´
func (*Handler) DeleteV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameKeysConsumerKey ¶
func (h *Handler) DeleteV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameKeysConsumerKey(c *gin.Context, organizationName OrganizationName, developerEmailaddress DeveloperEmailaddress, appName AppName, consumerKey ConsumerKey)
Removes key from application (DELETE /v1/organizations/{organization_name}/developers/{developer_emailaddress}/apps/{app_name}/keys/{consumer_key})
func (*Handler) DeleteV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameKeysConsumerKeyApiproductsApiproductName ¶
func (h *Handler) DeleteV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameKeysConsumerKeyApiproductsApiproductName( c *gin.Context, organizationName OrganizationName, developerEmailaddress DeveloperEmailaddress, appName AppName, consumerKey ConsumerKey, apiproductName ApiproductName)
Removes apiproduct from key (DELETE /v1/organizations/{organization_name}/developers/{developer_emailaddress}/apps/{app_name}/keys/{consumer_key}/apiproducts/{apiproduct_name})
func (*Handler) DeleteV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameKeysConsumerKeyAttributesAttributeName ¶
func (h *Handler) DeleteV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameKeysConsumerKeyAttributesAttributeName(c *gin.Context, organizationName OrganizationName, developerEmailaddress DeveloperEmailaddress, appName AppName, consumerKey ConsumerKey, attributeName AttributeName)
Delete key attribute (DELETE /v1/organizations/{organization_name}/developers/{developer_emailaddress}/apps/{app_name}/keys/{consumer_key}/attributes/{attribute_name})
func (*Handler) DeleteV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAttributesAttributeName ¶
func (h *Handler) DeleteV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAttributesAttributeName( c *gin.Context, organizationName OrganizationName, developerEmailaddress DeveloperEmailaddress, attributeName AttributeName)
deletes one attriubte of a developer (DELETE /v1/organizations/{organization_name}/developers/{developer_emailaddress}/attributes/{attribute_name})
func (*Handler) DeleteV1RolesRoleName ¶
deleteRole deletes a role (DELETE /v1/roles/{role_name})
func (*Handler) DeleteV1RoutesRouteName ¶
deletes an route (DELETE /v1/routes/{route_name})
func (*Handler) DeleteV1RoutesRouteNameAttributesAttributeName ¶
func (h *Handler) DeleteV1RoutesRouteNameAttributesAttributeName( c *gin.Context, routeName RouteName, attributeName AttributeName)
deletes one attribute of an route (DELETE /v1/routes/{route_name}/attributes/{attribute_name})
func (*Handler) DeleteV1UsersUserName ¶
deletes an user (DELETE /v1/users/{user_name})
func (*Handler) GetV1AuditOrganizationsOrganizationName ¶
func (h *Handler) GetV1AuditOrganizationsOrganizationName(c *gin.Context, organizationName OrganizationName, params GetV1AuditOrganizationsOrganizationNameParams)
GetV1AuditOrganizationsOrganizationName retrieves audit records of organization. (GET /v1/audit/organizations/{organization_name})
func (*Handler) GetV1AuditOrganizationsOrganizationNameApiproductsApiproductName ¶
func (h *Handler) GetV1AuditOrganizationsOrganizationNameApiproductsApiproductName(c *gin.Context, organizationName OrganizationName, apiproductName ApiproductName, params GetV1AuditOrganizationsOrganizationNameApiproductsApiproductNameParams)
GetV1AuditOrganizationsOrganizationNameApiproductsApiproductName retrieves audit records of apiproduct. (GET /v1/audit/organizations/{organization_name}/apiproducts/{apiproduct_name})
func (*Handler) GetV1AuditOrganizationsOrganizationNameDevelopersDeveloperId ¶
func (h *Handler) GetV1AuditOrganizationsOrganizationNameDevelopersDeveloperId(c *gin.Context, organizationName OrganizationName, developerId DeveloperId, params GetV1AuditOrganizationsOrganizationNameDevelopersDeveloperIdParams)
GetV1AuditOrganizationsOrganizationNameDevelopersDeveloperId retrieve audit records of developer. (GET /v1/audit/organizations/{organization_name}/developers/{developer_id})
func (*Handler) GetV1AuditOrganizationsOrganizationNameDevelopersDeveloperIdAppsAppId ¶
func (h *Handler) GetV1AuditOrganizationsOrganizationNameDevelopersDeveloperIdAppsAppId(c *gin.Context, organizationName OrganizationName, developerId DeveloperId, appId AppId, params GetV1AuditOrganizationsOrganizationNameDevelopersDeveloperIdAppsAppIdParams)
Retrieve audit records of application. (GET /v1/audit/organizations/{organization_name}/developers/{developer_id}/apps/{app_id})
func (*Handler) GetV1AuditUsersUserName ¶
func (h *Handler) GetV1AuditUsersUserName(c *gin.Context, userName UserName, params GetV1AuditUsersUserNameParams)
GetV1AuditUsersUserName retrieves audit records of user (GET /v1/audit/users/{user_name})
func (*Handler) GetV1Clusters ¶
returns all clusters (GET /v1/clusters)
func (*Handler) GetV1ClustersClusterName ¶
returns full details of one cluster (GET /v1/clusters/{cluster_name})
func (*Handler) GetV1ClustersClusterNameAttributes ¶
returns attributes of a cluster (GET /v1/clusters/{cluster_name}/attributes)
func (*Handler) GetV1ClustersClusterNameAttributesAttributeName ¶
func (h *Handler) GetV1ClustersClusterNameAttributesAttributeName( c *gin.Context, clusterName ClusterName, attributeName AttributeName)
returns one attribute of an cluster (GET /v1/clusters/{cluster_name}/attributes/{attribute_name})
func (*Handler) GetV1Listeners ¶
returns all listeners (GET /v1/listeners)
func (*Handler) GetV1ListenersListenerName ¶
returns full details of one listener (GET /v1/listeners/{listener_name})
func (*Handler) GetV1ListenersListenerNameAttributes ¶
returns attributes of a listener (GET /v1/listeners/{listener_name}/attributes)
func (*Handler) GetV1ListenersListenerNameAttributesAttributeName ¶
func (h *Handler) GetV1ListenersListenerNameAttributesAttributeName(c *gin.Context, listenerName ListenerName, attributeName AttributeName)
returns one attribute of an listener (GET /v1/listeners/{listener_name}/attributes/{attribute_name})
func (*Handler) GetV1Organizations ¶
returns all organizations (GET /v1/organizations)
func (*Handler) GetV1OrganizationsOrganizationName ¶
func (h *Handler) GetV1OrganizationsOrganizationName(c *gin.Context, organizationName OrganizationName)
returns a organization (GET /v1/organizations/{organization_name})
func (*Handler) GetV1OrganizationsOrganizationNameApiproducts ¶
func (h *Handler) GetV1OrganizationsOrganizationNameApiproducts(c *gin.Context, organizationName OrganizationName, params GetV1OrganizationsOrganizationNameApiproductsParams)
returns all apiproducts (GET /v1/organizations/{organization_name}/apiproducts)
func (*Handler) GetV1OrganizationsOrganizationNameApiproductsApiproductName ¶
func (h *Handler) GetV1OrganizationsOrganizationNameApiproductsApiproductName( c *gin.Context, organizationName OrganizationName, apiproductName ApiproductName)
returns full details of one apiproduct (GET /v1/organizations/{organization_name}/apiproducts/{apiproduct_name})
func (*Handler) GetV1OrganizationsOrganizationNameApiproductsApiproductNameAttributes ¶
func (h *Handler) GetV1OrganizationsOrganizationNameApiproductsApiproductNameAttributes( c *gin.Context, organizationName OrganizationName, apiproductName ApiproductName)
returns attributes of a apiproduct (GET /v1/organizations/{organization_name}/apiproducts/{apiproduct_name}/attributes)
func (*Handler) GetV1OrganizationsOrganizationNameApiproductsApiproductNameAttributesAttributeName ¶
func (h *Handler) GetV1OrganizationsOrganizationNameApiproductsApiproductNameAttributesAttributeName( c *gin.Context, organizationName OrganizationName, apiproductName ApiproductName, attributeName AttributeName)
returns one attribute of an apiproduct (GET /v1/organizations/{organization_name}/apiproducts/{apiproduct_name}/attributes/{attribute_name})
func (*Handler) GetV1OrganizationsOrganizationNameApps ¶
func (h *Handler) GetV1OrganizationsOrganizationNameApps(c *gin.Context, organizationName OrganizationName, params GetV1OrganizationsOrganizationNameAppsParams)
returns all developer apps (GET /v1/organizations/{organization_name}/apps)
func (*Handler) GetV1OrganizationsOrganizationNameAppsAppId ¶
func (h *Handler) GetV1OrganizationsOrganizationNameAppsAppId(c *gin.Context, organizationName OrganizationName, appId AppId)
returns one app identified by appId of a developer (GET /v1/organizations/{organization_name}/apps/{app_id})
func (*Handler) GetV1OrganizationsOrganizationNameCompanies ¶
func (h *Handler) GetV1OrganizationsOrganizationNameCompanies(c *gin.Context, organizationName OrganizationName, params GetV1OrganizationsOrganizationNameCompaniesParams)
Retrieve companies (GET /v1/organizations/{organization_name}/companies)
func (*Handler) GetV1OrganizationsOrganizationNameCompaniesCompanyName ¶
func (h *Handler) GetV1OrganizationsOrganizationNameCompaniesCompanyName( c *gin.Context, organizationName OrganizationName, companyName CompanyName)
returns full details of one company (GET /v1/organizations/{organization_name}/companies/{company_name})
func (*Handler) GetV1OrganizationsOrganizationNameCompaniesCompanyNameAttributes ¶
func (h *Handler) GetV1OrganizationsOrganizationNameCompaniesCompanyNameAttributes( c *gin.Context, organizationName OrganizationName, companyName CompanyName)
returns attributes of a company (GET /v1/organizations/{organization_name}/companies/{company_name}/attributes)
func (*Handler) GetV1OrganizationsOrganizationNameCompaniesCompanyNameAttributesAttributeName ¶
func (h *Handler) GetV1OrganizationsOrganizationNameCompaniesCompanyNameAttributesAttributeName( c *gin.Context, organizationName OrganizationName, companyName CompanyName, attributeName AttributeName)
returns one attribute of an company (GET /v1/organizations/{organization_name}/companies/{company_name}/attributes/{attribute_name})
func (*Handler) GetV1OrganizationsOrganizationNameDevelopers ¶
func (h *Handler) GetV1OrganizationsOrganizationNameDevelopers(c *gin.Context, organizationName OrganizationName, params GetV1OrganizationsOrganizationNameDevelopersParams)
return all developers (GET /v1/organizations/{organization_name}/developers)
func (*Handler) GetV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddress ¶
func (h *Handler) GetV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddress( c *gin.Context, organizationName OrganizationName, developerEmailaddress DeveloperEmailaddress)
returns full details of one developer (GET /v1/organizations/{organization_name}/developers/{developer_emailaddress})
func (*Handler) GetV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressApps ¶
func (h *Handler) GetV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressApps(c *gin.Context, organizationName OrganizationName, developerEmailaddress DeveloperEmailaddress, params GetV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsParams)
returns names of all application of a developer (GET /v1/organizations/{organization_name}/developers/{developer_emailaddress}/apps)
func (*Handler) GetV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppName ¶
func (h *Handler) GetV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppName( c *gin.Context, organizationName OrganizationName, developerEmailaddress DeveloperEmailaddress, appName AppName)
returns one app identified by name of a developer (GET /v1/organizations/{organization_name}/developers/{developer_emailaddress}/apps/{app_name})
func (*Handler) GetV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameAttributes ¶
func (h *Handler) GetV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameAttributes( c *gin.Context, organizationName OrganizationName, developerEmailaddress DeveloperEmailaddress, appName AppName)
returns attributes of an application (GET /v1/organizations/{organization_name}/developers/{developer_emailaddress}/apps/{app_name}/attributes)
func (*Handler) GetV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameAttributesAttributeName ¶
func (h *Handler) GetV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameAttributesAttributeName( c *gin.Context, organizationName OrganizationName, developerEmailaddress DeveloperEmailaddress, appName AppName, attributeName AttributeName)
returns one attribute of an application (GET /v1/organizations/{organization_name}/developers/{developer_emailaddress}/apps/{app_name}/attributes/{attribute_name})
func (*Handler) GetV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameKeys ¶
func (h *Handler) GetV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameKeys(c *gin.Context, organizationName OrganizationName, developerEmailaddress DeveloperEmailaddress, appName AppName)
returns all keys of developer application (GET /v1/organizations/{organization_name}/developers/{developer_emailaddress}/apps/{app_name}/keys)
func (*Handler) GetV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameKeysConsumerKey ¶
func (h *Handler) GetV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameKeysConsumerKey( c *gin.Context, organizationName OrganizationName, developerEmailaddress DeveloperEmailaddress, appName AppName, consumerKey ConsumerKey)
returns one key of one developer application (GET /v1/organizations/{organization_name}/developers/{developer_emailaddress}/apps/{app_name}/keys/{consumer_key})
func (*Handler) GetV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameKeysConsumerKeyAttributes ¶
func (h *Handler) GetV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameKeysConsumerKeyAttributes(c *gin.Context, organizationName OrganizationName, developerEmailaddress DeveloperEmailaddress, appName AppName, consumerKey ConsumerKey)
Retrieve key attributes (GET /v1/organizations/{organization_name}/developers/{developer_emailaddress}/apps/{app_name}/keys/{consumer_key}/attributes)
func (*Handler) GetV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameKeysConsumerKeyAttributesAttributeName ¶
func (h *Handler) GetV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameKeysConsumerKeyAttributesAttributeName(c *gin.Context, organizationName OrganizationName, developerEmailaddress DeveloperEmailaddress, appName AppName, consumerKey ConsumerKey, attributeName AttributeName)
Retrieve key attribute (GET /v1/organizations/{organization_name}/developers/{developer_emailaddress}/apps/{app_name}/keys/{consumer_key}/attributes/{attribute_name})
func (*Handler) GetV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAttributes ¶
func (h *Handler) GetV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAttributes( c *gin.Context, organizationName OrganizationName, developerEmailaddress DeveloperEmailaddress)
returns attributes of a developer (GET /v1/organizations/{organization_name}/developers/{developer_emailaddress}/attributes)
func (*Handler) GetV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAttributesAttributeName ¶
func (h *Handler) GetV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAttributesAttributeName( c *gin.Context, organizationName OrganizationName, developerEmailaddress DeveloperEmailaddress, attributeName AttributeName)
returns one attribute of a developer (GET /v1/organizations/{organization_name}/developers/{developer_emailaddress}/attributes/{attribute_name})
func (*Handler) GetV1Roles ¶
returns all roles (GET /v1/roles)
func (*Handler) GetV1RolesRoleName ¶
returns details of a role (GET /v1/roles/{role_name})
func (*Handler) GetV1RolesRoleNameUsers ¶
Retrieve users assigned to role (GET /v1/roles/{role_name}/users)
func (*Handler) GetV1Routes ¶
returns all routes (GET /v1/routes)
func (*Handler) GetV1RoutesRouteName ¶
returns full details of one route (GET /v1/routes/{route_name})
func (*Handler) GetV1RoutesRouteNameAttributes ¶
returns attributes of a route (GET /v1/routes/{route_name}/attributes)
func (*Handler) GetV1RoutesRouteNameAttributesAttributeName ¶
func (h *Handler) GetV1RoutesRouteNameAttributesAttributeName( c *gin.Context, routeName RouteName, attributeName AttributeName)
returns one attribute of an route (GET /v1/routes/{route_name}/attributes/{attribute_name})
func (*Handler) GetV1Users ¶
returns all users (GET /v1/users)
func (*Handler) GetV1UsersUserName ¶
returns a user (GET /v1/users/{user_name})
func (*Handler) PostV1Clusters ¶
creates a new cluster (POST /v1/clusters)
func (*Handler) PostV1ClustersClusterName ¶
(POST /v1/clusters/{cluster_name})
func (*Handler) PostV1ClustersClusterNameAttributes ¶
replaces attributes of an cluster (POST /v1/clusters/{cluster_name}/attributes)
func (*Handler) PostV1ClustersClusterNameAttributesAttributeName ¶
func (h *Handler) PostV1ClustersClusterNameAttributesAttributeName( c *gin.Context, clusterName ClusterName, attributeName AttributeName)
updates an attribute of an cluster (POST /v1/clusters/{cluster_name}/attributes/{attribute_name})
func (*Handler) PostV1Listeners ¶
creates a new listener (POST /v1/listeners)
func (*Handler) PostV1ListenersListenerName ¶
Updates existing listener (POST /v1/listeners/{listener_name})
func (*Handler) PostV1ListenersListenerNameAttributes ¶
replaces attributes of an listener (POST /v1/listeners/{listener_name}/attributes)
func (*Handler) PostV1ListenersListenerNameAttributesAttributeName ¶
func (h *Handler) PostV1ListenersListenerNameAttributesAttributeName(c *gin.Context, listenerName ListenerName, attributeName AttributeName)
updates an attribute of an listener (POST /v1/listeners/{listener_name}/attributes/{attribute_name})
func (*Handler) PostV1Organizations ¶
creates an organization (POST /v1/organizations)
func (*Handler) PostV1OrganizationsOrganizationName ¶
func (h *Handler) PostV1OrganizationsOrganizationName(c *gin.Context, organizationName OrganizationName)
updates an existing organization (POST /v1/organizations/{organization_name})
func (*Handler) PostV1OrganizationsOrganizationNameApiproducts ¶
func (h *Handler) PostV1OrganizationsOrganizationNameApiproducts(c *gin.Context, organizationName OrganizationName)
creates a new apiproduct (POST /v1/organizations/{organization_name}/apiproducts)
func (*Handler) PostV1OrganizationsOrganizationNameApiproductsApiproductName ¶
func (h *Handler) PostV1OrganizationsOrganizationNameApiproductsApiproductName( c *gin.Context, organizationName OrganizationName, apiproductName ApiproductName, params PostV1OrganizationsOrganizationNameApiproductsApiproductNameParams)
updates existing apiproduct (POST /v1/organizations/{organization_name}/apiproducts/{apiproduct_name})
func (*Handler) PostV1OrganizationsOrganizationNameApiproductsApiproductNameAttributes ¶
func (h *Handler) PostV1OrganizationsOrganizationNameApiproductsApiproductNameAttributes( c *gin.Context, organizationName OrganizationName, apiproductName ApiproductName)
replaces attributes of an apiproduct (POST /v1/organizations/{organization_name}/apiproducts/{apiproduct_name}/attributes)
func (*Handler) PostV1OrganizationsOrganizationNameApiproductsApiproductNameAttributesAttributeName ¶
func (h *Handler) PostV1OrganizationsOrganizationNameApiproductsApiproductNameAttributesAttributeName( c *gin.Context, organizationName OrganizationName, apiproductName ApiproductName, attributeName AttributeName)
updates an attribute of an apiproduct (POST /v1/organizations/{organization_name}/apiproducts/{apiproduct_name}/attributes/{attribute_name})
func (*Handler) PostV1OrganizationsOrganizationNameCompanies ¶
func (h *Handler) PostV1OrganizationsOrganizationNameCompanies(c *gin.Context, organizationName OrganizationName)
creates a new company (POST /v1/organizations/{organization_name}/companies)
func (*Handler) PostV1OrganizationsOrganizationNameCompaniesCompanyName ¶
func (h *Handler) PostV1OrganizationsOrganizationNameCompaniesCompanyName( c *gin.Context, organizationName OrganizationName, companyName CompanyName, params PostV1OrganizationsOrganizationNameCompaniesCompanyNameParams)
updates existing company (POST /v1/organizations/{organization_name}/companies/{company_name})
func (*Handler) PostV1OrganizationsOrganizationNameCompaniesCompanyNameAttributes ¶
func (h *Handler) PostV1OrganizationsOrganizationNameCompaniesCompanyNameAttributes( c *gin.Context, organizationName OrganizationName, companyName CompanyName)
replaces attributes of an company (POST /v1/organizations/{organization_name}/companies/{company_name}/attributes)
func (*Handler) PostV1OrganizationsOrganizationNameCompaniesCompanyNameAttributesAttributeName ¶
func (h *Handler) PostV1OrganizationsOrganizationNameCompaniesCompanyNameAttributesAttributeName( c *gin.Context, organizationName OrganizationName, companyName CompanyName, attributeName AttributeName)
updates an attribute of an company (POST /v1/organizations/{organization_name}/companies/{company_name}/attributes/{attribute_name})
func (*Handler) PostV1OrganizationsOrganizationNameDevelopers ¶
func (h *Handler) PostV1OrganizationsOrganizationNameDevelopers(c *gin.Context, organizationName OrganizationName)
creates a new developer (POST /v1/organizations/{organization_name}/developers)
func (*Handler) PostV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddress ¶
func (h *Handler) PostV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddress( c *gin.Context, organizationName OrganizationName, developerEmailaddress DeveloperEmailaddress, params PostV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressParams)
updates existing developer (POST /v1/organizations/{organization_name}/developers/{developer_emailaddress})
func (*Handler) PostV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressApps ¶
func (h *Handler) PostV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressApps(c *gin.Context, organizationName OrganizationName, developerEmailaddress DeveloperEmailaddress)
creates a developer application (POST /v1/organizations/{organization_name}/developers/{developer_emailaddress}/apps)
func (*Handler) PostV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppName ¶
func (h *Handler) PostV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppName( c *gin.Context, organizationName OrganizationName, developerEmailaddress DeveloperEmailaddress, appName AppName, params PostV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameParams)
Updates an application (POST /v1/organizations/{organization_name}/developers/{developer_emailaddress}/apps/{app_name})
func (*Handler) PostV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameAttributes ¶
func (h *Handler) PostV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameAttributes( c *gin.Context, organizationName OrganizationName, developerEmailaddress DeveloperEmailaddress, appName AppName)
replaces attributes of an application (POST /v1/organizations/{organization_name}/developers/{developer_emailaddress}/apps/{app_name}/attributes)
func (*Handler) PostV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameAttributesAttributeName ¶
func (h *Handler) PostV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameAttributesAttributeName( c *gin.Context, organizationName OrganizationName, developerEmailaddress DeveloperEmailaddress, appName AppName, attributeName AttributeName)
updates an attribute of an application (POST /v1/organizations/{organization_name}/developers/{developer_emailaddress}/apps/{app_name}/attributes/{attribute_name})
func (*Handler) PostV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameKeysConsumerKey ¶
func (h *Handler) PostV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameKeysConsumerKey( c *gin.Context, organizationName OrganizationName, developerEmailaddress DeveloperEmailaddress, appName AppName, consumerKey ConsumerKey, params PostV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameKeysConsumerKeyParams)
updates existing key (POST /v1/organizations/{organization_name}/developers/{developer_emailaddress}/apps/{app_name}/keys/{consumer_key})
func (*Handler) PostV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameKeysConsumerKeyApiproductsApiproductName ¶
func (h *Handler) PostV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameKeysConsumerKeyApiproductsApiproductName(c *gin.Context, organizationName OrganizationName, developerEmailaddress DeveloperEmailaddress, appName AppName, consumerKey ConsumerKey, apiproductName ApiproductName, params PostV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameKeysConsumerKeyApiproductsApiproductNameParams)
Update key apiproduct (POST /v1/organizations/{organization_name}/developers/{developer_emailaddress}/apps/{app_name}/keys/{consumer_key}/apiproducts/{apiproduct_name})
func (*Handler) PostV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameKeysConsumerKeyAttributes ¶
func (h *Handler) PostV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameKeysConsumerKeyAttributes(c *gin.Context, organizationName OrganizationName, developerEmailaddress DeveloperEmailaddress, appName AppName, consumerKey ConsumerKey)
Replace key attributes (POST /v1/organizations/{organization_name}/developers/{developer_emailaddress}/apps/{app_name}/keys/{consumer_key}/attributes)
func (*Handler) PostV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameKeysConsumerKeyAttributesAttributeName ¶
func (h *Handler) PostV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameKeysConsumerKeyAttributesAttributeName(c *gin.Context, organizationName OrganizationName, developerEmailaddress DeveloperEmailaddress, appName AppName, consumerKey ConsumerKey, attributeName AttributeName)
Update key attribute (POST /v1/organizations/{organization_name}/developers/{developer_emailaddress}/apps/{app_name}/keys/{consumer_key}/attributes/{attribute_name})
func (*Handler) PostV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameKeysCreate ¶
func (h *Handler) PostV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameKeysCreate(c *gin.Context, organizationName OrganizationName, developerEmailaddress DeveloperEmailaddress, appName AppName)
Adds provided key to application (POST /v1/organizations/{organization_name}/developers/{developer_emailaddress}/apps/{app_name}/keys/create)
func (*Handler) PostV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAttributes ¶
func (h *Handler) PostV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAttributes( c *gin.Context, organizationName OrganizationName, developerEmailaddress DeveloperEmailaddress)
replaces attributes of a developer (POST /v1/organizations/{organization_name}/developers/{developer_emailaddress}/attributes)
func (*Handler) PostV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAttributesAttributeName ¶
func (h *Handler) PostV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAttributesAttributeName( c *gin.Context, organizationName OrganizationName, developerEmailaddress DeveloperEmailaddress, attributeName AttributeName)
updates an attribute of a developer (POST /v1/organizations/{organization_name}/developers/{developer_emailaddress}/attributes/{attribute_name})
func (*Handler) PostV1RolesRoleName ¶
updates an existing role (POST /v1/roles/{role_name})
func (*Handler) PostV1Routes ¶
creates a new route (POST /v1/routes)
func (*Handler) PostV1RoutesRouteName ¶
(POST /v1/routes/{route_name})
func (*Handler) PostV1RoutesRouteNameAttributes ¶
replaces attributes of an route (POST /v1/routes/{route_name}/attributes)
func (*Handler) PostV1RoutesRouteNameAttributesAttributeName ¶
func (h *Handler) PostV1RoutesRouteNameAttributesAttributeName( c *gin.Context, routeName RouteName, attributeName AttributeName)
updates an attribute of an route (POST /v1/routes/{route_name}/attributes/{attribute_name})
func (*Handler) PostV1Users ¶
createUser creates an user (POST /v1/users)
func (*Handler) PostV1UsersUserName ¶
updates an existing user (POST /v1/users/{user_name})
func (*Handler) PutV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppName ¶
func (h *Handler) PutV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppName( c *gin.Context, organizationName OrganizationName, developerEmailaddress DeveloperEmailaddress, appName AppName, params PutV1OrganizationsOrganizationNameDevelopersDeveloperEmailaddressAppsAppNameParams)
updates an application and creates a new key if apiproducts provided (PUT /v1/organizations/{organization_name}/developers/{developer_emailaddress}/apps/{app_name})
func (*Handler) ToAPIproductResponse ¶
func (h *Handler) ToAPIproductResponse(a *types.APIProduct) APIProduct
func (*Handler) ToAuditResponse ¶
func (*Handler) ToClusterResponse ¶
func (*Handler) ToCompanyResponse ¶
func (*Handler) ToDeveloperResponse ¶
func (*Handler) ToListenerResponse ¶
func (*Handler) ToOrganizationResponse ¶
func (h *Handler) ToOrganizationResponse(o *types.Organization) Organization
func (*Handler) ToRoleResponse ¶
func (*Handler) ToRouteResponse ¶
func (*Handler) ToUserResponse ¶
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
showDevelopersPage pretty prints all developers and developer apps
|
showDevelopersPage pretty prints all developers and developer apps |