Documentation
¶
Index ¶
- func AddProvider(ctx context.Context, client *volcengine.Client, workspaceID, branchID string, ...) (map[string]interface{}, error)
- func RemoveProvider(ctx context.Context, client *volcengine.Client, ...) error
- func RunVolcengineAdd(ctx context.Context, client *volcengine.Client, workspaceID, branchID string, ...) error
- func RunVolcengineList(ctx context.Context, client *volcengine.Client, workspaceID, branchID string) error
- func RunVolcengineRemove(ctx context.Context, client *volcengine.Client, ...) error
- func RunVolcengineSync(ctx context.Context, client *volcengine.Client, workspaceID, branchID string) error
- func SyncProviders(ctx context.Context, client *volcengine.Client, workspaceID, branchID string) error
- type AddProviderParams
- type ThirdPartyProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddProvider ¶
func AddProvider(ctx context.Context, client *volcengine.Client, workspaceID, branchID string, params AddProviderParams) (map[string]interface{}, error)
AddProvider creates a Third-Party Auth provider and returns the created provider object decoded from the Auth Admin API response. Data-layer helper shared by the CLI (RunVolcengineAdd) and the MCP server.
func RemoveProvider ¶
func RemoveProvider(ctx context.Context, client *volcengine.Client, workspaceID, branchID, providerID string) error
RemoveProvider deletes a Third-Party Auth provider by ID. Data-layer helper shared by the CLI (RunVolcengineRemove) and the MCP server.
func RunVolcengineAdd ¶
func RunVolcengineAdd(ctx context.Context, client *volcengine.Client, workspaceID, branchID string, params AddProviderParams) error
func RunVolcengineList ¶
func RunVolcengineRemove ¶
func RunVolcengineSync ¶
func SyncProviders ¶
func SyncProviders(ctx context.Context, client *volcengine.Client, workspaceID, branchID string) error
SyncProviders triggers an immediate JWKS public key sync for all Third-Party Auth providers. Data-layer helper shared by the CLI (RunVolcengineSync) and the MCP server.
Types ¶
type AddProviderParams ¶
type ThirdPartyProvider ¶
type ThirdPartyProvider struct {
ID string `json:"id"`
Type string `json:"type"`
OIDCIssuerURL string `json:"oidc_issuer_url,omitempty"`
ResolvedAt string `json:"resolved_at,omitempty"`
CreatedAt string `json:"created_at,omitempty"`
UpdatedAt string `json:"updated_at,omitempty"`
}
func ListThirdPartyProviders ¶
func ListThirdPartyProviders(ctx context.Context, client *volcengine.Client, workspaceID, branchID string) ([]ThirdPartyProvider, error)
Click to show internal directories.
Click to hide internal directories.