model

package
v0.0.0-...-860e413 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DomainPolicyToModel

func DomainPolicyToModel(policy *DomainPolicy) *iam_model.DomainPolicy

Types

type DomainPolicy

type DomainPolicy struct {
	es_models.ObjectRoot

	State                 int32 `json:"-"`
	UserLoginMustBeDomain bool  `json:"userLoginMustBeDomain"`
}

func (*DomainPolicy) Changes

func (p *DomainPolicy) Changes(changed *DomainPolicy) map[string]interface{}

func (*DomainPolicy) SetData

func (p *DomainPolicy) SetData(event *es_models.Event) error

type IAMMember

type IAMMember struct {
	es_models.ObjectRoot
	UserID string   `json:"userId,omitempty"`
	Roles  []string `json:"roles,omitempty"`
}

func (*IAMMember) SetData

func (m *IAMMember) SetData(event *es_models.Event) error

Jump to

Keyboard shortcuts

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