providers

package
v0.0.0-...-0719098 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2025 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RequestOpts = golangsdk.RequestOpts{
	MoreHeaders: map[string]string{"Content-Type": "application/json", "X-Language": "en-us"},
}

Functions

func Delete

func Delete(c *golangsdk.ServiceClient, regionID string) error

Types

type CreateProviderOpts

type CreateProviderOpts struct {
	SsoType     string `json:"sso_type,omitempty"`
	Description string `json:"description,omitempty"`
	Enabled     bool   `json:"enabled,omitempty"`
}

type Provider

type Provider struct {
	SsoType     string        `json:"sso_type"`
	ID          string        `json:"id"`
	Description string        `json:"description"`
	Enabled     bool          `json:"enabled"`
	RemoteIDs   []string      `json:"remote_ids"`
	Links       ProviderLinks `json:"links"`
}

func Get

func Update

func Update(c *golangsdk.ServiceClient, id string, opts UpdateOpts) (*Provider, error)
type ProviderLinks struct {
	Self      string `json:"self"`
	Protocols string `json:"protocols"`
	Next      string `json:"next"`
	Previous  string `json:"previous"`
}

type ProviderList

type ProviderList struct {
	Links             ProviderLinks `json:"links"`
	IdentityProviders []Provider    `json:"identity_providers"`
}

type UpdateOpts

type UpdateOpts struct {
	Description *string `json:"description,omitempty"`
	Enabled     *bool   `json:"enabled,omitempty"`
}

Jump to

Keyboard shortcuts

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