iam_service

package
v0.0.0-...-14027d0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RequestActivateOrganization

func RequestActivateOrganization(ctx context.Context, iamServiceUrlPath *url.URL, q *url.Values) (IAMResponse, IAMResponseError)

func RequestActivateUser

func RequestActivateUser(ctx context.Context, iamServiceUrlPath *url.URL, q *url.Values) (IAMResponse, IAMResponseError)

func RequestDeleteOrganization

func RequestDeleteOrganization(ctx context.Context, iamServiceUrlPath *url.URL, q *url.Values) (IAMResponse, IAMResponseError)

func RequestDeleteUser

func RequestDeleteUser(ctx context.Context, iamServiceUrlPath *url.URL, q *url.Values) (IAMResponse, IAMResponseError)

func RequestInitData

func RequestInitData(ctx context.Context, iamServiceUrlPath *url.URL, q *url.Values) (IAMResponseInit, IAMResponseError)

func RequestOrganizationCreate

func RequestOrganizationCreate(ctx context.Context, iamServiceUrlPath *url.URL, q *url.Values, requestBodyJson []byte) (IAMResponseOrganizationCreate, IAMResponseError)

func RequestOrganizationInfo

func RequestOrganizationInfo(ctx context.Context, iamServiceUrlPath *url.URL, q *url.Values) (IAMResponseOrganizationInfo, IAMResponseError)

func RequestOrganizationList

func RequestOrganizationList(ctx context.Context, iamServiceUrlPath *url.URL, q *url.Values) (IAMResponseOrganizationList, IAMResponseError)

func RequestOrganizationUpdate

func RequestOrganizationUpdate(ctx context.Context, iamServiceUrlPath *url.URL, q *url.Values, requestBodyJson []byte) (IAMResponse, IAMResponseError)

func RequestUserCreate

func RequestUserCreate(ctx context.Context, iamServiceUrlPath *url.URL, q *url.Values, requestBodyJson []byte) (IAMResponseUserCreate, IAMResponseError)

func RequestUserInfo

func RequestUserInfo(ctx context.Context, iamServiceUrlPath *url.URL, q *url.Values) (IAMResponseUserInfo, IAMResponseError)

func RequestUserList

func RequestUserList(ctx context.Context, iamServiceUrlPath *url.URL, q *url.Values) (IAMResponseUserList, IAMResponseError)

func RequestUserUpdate

func RequestUserUpdate(ctx context.Context, iamServiceUrlPath *url.URL, q *url.Values, requestBodyJson []byte) (IAMResponse, IAMResponseError)

Types

type IAMResponse

type IAMResponse struct {
	Action    string `json:"action"`
	Timestamp string `json:"timestamp"`
	TraceId   string `json:"traceId"`
}

type IAMResponseActivate

type IAMResponseActivate struct {
	State     models.State `json:"state" validate:"required"`
	Action    string       `json:"action"`
	Timestamp string       `json:"timestamp"`
	TraceId   string       `json:"traceId"`
}

type IAMResponseError

type IAMResponseError struct {
	Status int   `json:"status"`
	Error  error `json:"error"`
}

type IAMResponseInit

type IAMResponseInit struct {
	Action    string   `json:"action"`
	Data      initData `json:"Data"`
	Timestamp string   `json:"timestamp"`
	TraceId   string   `json:"traceId"`
}

type IAMResponseOrganizationCreate

type IAMResponseOrganizationCreate struct {
	Action    string                 `json:"action"`
	Data      organizationCreateData `json:"Data"`
	Timestamp string                 `json:"timestamp"`
	TraceId   string                 `json:"traceId"`
}

type IAMResponseOrganizationInfo

type IAMResponseOrganizationInfo struct {
	Action    string           `json:"action"`
	Data      organizationData `json:"Data"`
	Timestamp string           `json:"timestamp"`
	TraceId   string           `json:"traceId"`
}

type IAMResponseOrganizationList

type IAMResponseOrganizationList struct {
	Action    string            `json:"action"`
	Data      organizationsData `json:"Data"`
	Timestamp string            `json:"timestamp"`
	TraceId   string            `json:"traceId"`
}

type IAMResponseUserCreate

type IAMResponseUserCreate struct {
	Action    string         `json:"action"`
	Data      userCreateData `json:"Data"`
	Timestamp string         `json:"timestamp"`
	TraceId   string         `json:"traceId"`
}

type IAMResponseUserInfo

type IAMResponseUserInfo struct {
	Action    string   `json:"action"`
	Data      userData `json:"Data"`
	Timestamp string   `json:"timestamp"`
	TraceId   string   `json:"traceId"`
}

type IAMResponseUserList

type IAMResponseUserList struct {
	Action    string    `json:"action"`
	Data      usersData `json:"Data"`
	Timestamp string    `json:"timestamp"`
	TraceId   string    `json:"traceId"`
}

Jump to

Keyboard shortcuts

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