Help us shape the future of Go! Take the 2026 Go Developer Survey

metadata

package
v0.5.21 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetResult

type GetResult struct {
	golangsdk.Result
}

func Get

func Get(client *golangsdk.ServiceClient, provider, protocol string) (r GetResult)

func (GetResult) Extract

func (r GetResult) Extract() (*Metadata, error)

type ImportOpts

type ImportOpts struct {
	XAccountType string `json:"xaccount_type"`
	DomainID     string `json:"domain_id" required:"true"`
	Metadata     string `json:"metadata" required:"true"`
}

func (ImportOpts) ToMetadataImportMap

func (opts ImportOpts) ToMetadataImportMap() (map[string]interface{}, error)

type ImportOptsBuilder

type ImportOptsBuilder interface {
	ToMetadataImportMap() (map[string]interface{}, error)
}

type ImportResult

type ImportResult struct {
	golangsdk.ErrResult
}

func Import

func Import(client *golangsdk.ServiceClient, provider, protocol string, opts ImportOptsBuilder) (r ImportResult)

type Metadata

type Metadata struct {
	ID           string `json:"id"`
	ProviderID   string `json:"idp_id"`
	EntityID     string `json:"entity_id"`
	ProtocolID   string `json:"protocol_id"`
	DomainID     string `json:"domain_id"`
	XAccountType string `json:"xaccount_type"`
	UpdateTime   string `json:"update_time"`
	Data         string `json:"data"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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