serviceaccountapi

package
v0.0.0-...-5ba556e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(c *gin.Context)

CreateServiceAccount

@Summary		Create Service Account
@Description	Create a service account that is associated with a identity provider client
@Tags			User Management
@Accept			json
@Produce		json
@Param			request			body		openapi.ServiceAccount	true	"The request body resource"
@Success		201				{object}	openapi.ServiceAccount
@Failure		400,409,422,500	{object}	openapi.HTTPError
@Router			/serviceaccounts [post]

func List

func List(c *gin.Context)

ListServiceAccounts

@Summary		List Service Accounts
@Description	List all service accounts
@Tags			User Management
@Produce		json
@Success		200	{array}		openapi.ServiceAccount
@Failure		500	{object}	openapi.HTTPError
@Router			/serviceaccounts [get]

func Update

func Update(c *gin.Context)

UpdateServiceAccount

@Summary		Update Service Account
@Description	Update a service account that is associated with a identity provider client
@Tags			User Management
@Accept			json
@Produce		json
@Param			subject			path		string					true	"The subject identifier of the service account"
@Param			request			body		openapi.ServiceAccount	true	"The request body resource"
@Success		200				{object}	openapi.ServiceAccount
@Failure		400,404,422,500	{object}	openapi.HTTPError
@Router			/serviceaccounts/{subject} [put]

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL