Documentation ¶
Index ¶
- Variables
- func AliasesForIdentity(identity elemental.Identity) []string
- func AllIdentities() []elemental.Identity
- func Manager() elemental.ModelManager
- func ModelVersion() float64
- func ValidateAuthorizationSubject(attribute string, subject [][]string) error
- func ValidateCIDR(attribute string, network string) error
- func ValidateCIDRList(attribute string, networks []string) error
- func ValidateCIDRListOptional(attribute string, networks []string) error
- func ValidateCIDROptional(attribute string, network string) error
- func ValidateDuration(attribute string, duration string) error
- func ValidateIssue(iss *Issue) error
- func ValidatePEM(attribute string, pemdata string) error
- func ValidateTagsExpression(attribute string, expression [][]string) error
- func ValidateURL(attribute string, u string) error
- type A3SSource
- func (*A3SSource) AttributeSpecifications() map[string]elemental.AttributeSpecification
- func (o *A3SSource) BleveType() string
- func (o *A3SSource) DeepCopy() *A3SSource
- func (o *A3SSource) DeepCopyInto(out *A3SSource)
- func (o *A3SSource) DefaultOrder() []string
- func (o *A3SSource) Doc() string
- func (o *A3SSource) GetCreateTime() time.Time
- func (o *A3SSource) GetID() string
- func (o *A3SSource) GetImportHash() string
- func (o *A3SSource) GetImportLabel() string
- func (o *A3SSource) GetNamespace() string
- func (o *A3SSource) GetUpdateTime() time.Time
- func (o *A3SSource) GetZHash() int
- func (o *A3SSource) GetZone() int
- func (o *A3SSource) Identifier() string
- func (o *A3SSource) Identity() elemental.Identity
- func (o *A3SSource) MarshalBSON() ([]byte, error)
- func (o *A3SSource) Patch(sparse elemental.SparseIdentifiable)
- func (o *A3SSource) SetCreateTime(createTime time.Time)
- func (o *A3SSource) SetID(ID string)
- func (o *A3SSource) SetIdentifier(id string)
- func (o *A3SSource) SetImportHash(importHash string)
- func (o *A3SSource) SetImportLabel(importLabel string)
- func (o *A3SSource) SetNamespace(namespace string)
- func (o *A3SSource) SetUpdateTime(updateTime time.Time)
- func (o *A3SSource) SetZHash(zHash int)
- func (o *A3SSource) SetZone(zone int)
- func (*A3SSource) SpecificationForAttribute(name string) elemental.AttributeSpecification
- func (o *A3SSource) String() string
- func (o *A3SSource) ToSparse(fields ...string) elemental.SparseIdentifiable
- func (o *A3SSource) UnmarshalBSON(raw []byte) error
- func (o *A3SSource) Validate() error
- func (o *A3SSource) ValueForAttribute(name string) any
- func (o *A3SSource) Version() int
- type A3SSourcesList
- func (o A3SSourcesList) Append(objects ...elemental.Identifiable) elemental.Identifiables
- func (o A3SSourcesList) Copy() elemental.Identifiables
- func (o A3SSourcesList) DefaultOrder() []string
- func (o A3SSourcesList) Identity() elemental.Identity
- func (o A3SSourcesList) List() elemental.IdentifiablesList
- func (o A3SSourcesList) ToSparse(fields ...string) elemental.Identifiables
- func (o A3SSourcesList) Version() int
- type Authorization
- func (*Authorization) AttributeSpecifications() map[string]elemental.AttributeSpecification
- func (o *Authorization) BleveType() string
- func (o *Authorization) DeepCopy() *Authorization
- func (o *Authorization) DeepCopyInto(out *Authorization)
- func (o *Authorization) DefaultOrder() []string
- func (o *Authorization) Doc() string
- func (o *Authorization) GetCreateTime() time.Time
- func (o *Authorization) GetID() string
- func (o *Authorization) GetImportHash() string
- func (o *Authorization) GetImportLabel() string
- func (o *Authorization) GetNamespace() string
- func (o *Authorization) GetPropagate() bool
- func (o *Authorization) GetUpdateTime() time.Time
- func (o *Authorization) GetZHash() int
- func (o *Authorization) GetZone() int
- func (o *Authorization) Identifier() string
- func (o *Authorization) Identity() elemental.Identity
- func (o *Authorization) MarshalBSON() ([]byte, error)
- func (o *Authorization) Patch(sparse elemental.SparseIdentifiable)
- func (o *Authorization) SetCreateTime(createTime time.Time)
- func (o *Authorization) SetID(ID string)
- func (o *Authorization) SetIdentifier(id string)
- func (o *Authorization) SetImportHash(importHash string)
- func (o *Authorization) SetImportLabel(importLabel string)
- func (o *Authorization) SetNamespace(namespace string)
- func (o *Authorization) SetPropagate(propagate bool)
- func (o *Authorization) SetUpdateTime(updateTime time.Time)
- func (o *Authorization) SetZHash(zHash int)
- func (o *Authorization) SetZone(zone int)
- func (*Authorization) SpecificationForAttribute(name string) elemental.AttributeSpecification
- func (o *Authorization) String() string
- func (o *Authorization) ToSparse(fields ...string) elemental.SparseIdentifiable
- func (o *Authorization) UnmarshalBSON(raw []byte) error
- func (o *Authorization) Validate() error
- func (o *Authorization) ValueForAttribute(name string) any
- func (o *Authorization) Version() int
- type AuthorizationsList
- func (o AuthorizationsList) Append(objects ...elemental.Identifiable) elemental.Identifiables
- func (o AuthorizationsList) Copy() elemental.Identifiables
- func (o AuthorizationsList) DefaultOrder() []string
- func (o AuthorizationsList) Identity() elemental.Identity
- func (o AuthorizationsList) List() elemental.IdentifiablesList
- func (o AuthorizationsList) ToSparse(fields ...string) elemental.Identifiables
- func (o AuthorizationsList) Version() int
- type Authz
- func (*Authz) AttributeSpecifications() map[string]elemental.AttributeSpecification
- func (o *Authz) BleveType() string
- func (o *Authz) DeepCopy() *Authz
- func (o *Authz) DeepCopyInto(out *Authz)
- func (o *Authz) DefaultOrder() []string
- func (o *Authz) Doc() string
- func (o *Authz) Identifier() string
- func (o *Authz) Identity() elemental.Identity
- func (o *Authz) MarshalBSON() ([]byte, error)
- func (o *Authz) Patch(sparse elemental.SparseIdentifiable)
- func (o *Authz) SetIdentifier(id string)
- func (*Authz) SpecificationForAttribute(name string) elemental.AttributeSpecification
- func (o *Authz) String() string
- func (o *Authz) ToSparse(fields ...string) elemental.SparseIdentifiable
- func (o *Authz) UnmarshalBSON(raw []byte) error
- func (o *Authz) Validate() error
- func (o *Authz) ValueForAttribute(name string) any
- func (o *Authz) Version() int
- type AuthzsList
- func (o AuthzsList) Append(objects ...elemental.Identifiable) elemental.Identifiables
- func (o AuthzsList) Copy() elemental.Identifiables
- func (o AuthzsList) DefaultOrder() []string
- func (o AuthzsList) Identity() elemental.Identity
- func (o AuthzsList) List() elemental.IdentifiablesList
- func (o AuthzsList) ToSparse(fields ...string) elemental.Identifiables
- func (o AuthzsList) Version() int
- type HTTPSource
- func (*HTTPSource) AttributeSpecifications() map[string]elemental.AttributeSpecification
- func (o *HTTPSource) BleveType() string
- func (o *HTTPSource) DeepCopy() *HTTPSource
- func (o *HTTPSource) DeepCopyInto(out *HTTPSource)
- func (o *HTTPSource) DefaultOrder() []string
- func (o *HTTPSource) Doc() string
- func (o *HTTPSource) GetCreateTime() time.Time
- func (o *HTTPSource) GetID() string
- func (o *HTTPSource) GetImportHash() string
- func (o *HTTPSource) GetImportLabel() string
- func (o *HTTPSource) GetNamespace() string
- func (o *HTTPSource) GetUpdateTime() time.Time
- func (o *HTTPSource) GetZHash() int
- func (o *HTTPSource) GetZone() int
- func (o *HTTPSource) Identifier() string
- func (o *HTTPSource) Identity() elemental.Identity
- func (o *HTTPSource) MarshalBSON() ([]byte, error)
- func (o *HTTPSource) Patch(sparse elemental.SparseIdentifiable)
- func (o *HTTPSource) SetCreateTime(createTime time.Time)
- func (o *HTTPSource) SetID(ID string)
- func (o *HTTPSource) SetIdentifier(id string)
- func (o *HTTPSource) SetImportHash(importHash string)
- func (o *HTTPSource) SetImportLabel(importLabel string)
- func (o *HTTPSource) SetNamespace(namespace string)
- func (o *HTTPSource) SetUpdateTime(updateTime time.Time)
- func (o *HTTPSource) SetZHash(zHash int)
- func (o *HTTPSource) SetZone(zone int)
- func (*HTTPSource) SpecificationForAttribute(name string) elemental.AttributeSpecification
- func (o *HTTPSource) String() string
- func (o *HTTPSource) ToSparse(fields ...string) elemental.SparseIdentifiable
- func (o *HTTPSource) UnmarshalBSON(raw []byte) error
- func (o *HTTPSource) Validate() error
- func (o *HTTPSource) ValueForAttribute(name string) any
- func (o *HTTPSource) Version() int
- type HTTPSourcesList
- func (o HTTPSourcesList) Append(objects ...elemental.Identifiable) elemental.Identifiables
- func (o HTTPSourcesList) Copy() elemental.Identifiables
- func (o HTTPSourcesList) DefaultOrder() []string
- func (o HTTPSourcesList) Identity() elemental.Identity
- func (o HTTPSourcesList) List() elemental.IdentifiablesList
- func (o HTTPSourcesList) ToSparse(fields ...string) elemental.Identifiables
- func (o HTTPSourcesList) Version() int
- type IdentityModifier
- func (*IdentityModifier) AttributeSpecifications() map[string]elemental.AttributeSpecification
- func (o *IdentityModifier) BleveType() string
- func (o *IdentityModifier) DeepCopy() *IdentityModifier
- func (o *IdentityModifier) DeepCopyInto(out *IdentityModifier)
- func (o *IdentityModifier) DefaultOrder() []string
- func (o *IdentityModifier) Doc() string
- func (o *IdentityModifier) Identifier() string
- func (o *IdentityModifier) Identity() elemental.Identity
- func (o *IdentityModifier) MarshalBSON() ([]byte, error)
- func (o *IdentityModifier) Patch(sparse elemental.SparseIdentifiable)
- func (o *IdentityModifier) SetIdentifier(id string)
- func (*IdentityModifier) SpecificationForAttribute(name string) elemental.AttributeSpecification
- func (o *IdentityModifier) String() string
- func (o *IdentityModifier) ToSparse(fields ...string) elemental.SparseIdentifiable
- func (o *IdentityModifier) UnmarshalBSON(raw []byte) error
- func (o *IdentityModifier) Validate() error
- func (o *IdentityModifier) ValueForAttribute(name string) any
- func (o *IdentityModifier) Version() int
- type IdentityModifierMethodValue
- type IdentityModifiersList
- func (o IdentityModifiersList) Append(objects ...elemental.Identifiable) elemental.Identifiables
- func (o IdentityModifiersList) Copy() elemental.Identifiables
- func (o IdentityModifiersList) DefaultOrder() []string
- func (o IdentityModifiersList) Identity() elemental.Identity
- func (o IdentityModifiersList) List() elemental.IdentifiablesList
- func (o IdentityModifiersList) ToSparse(fields ...string) elemental.Identifiables
- func (o IdentityModifiersList) Version() int
- type Import
- func (*Import) AttributeSpecifications() map[string]elemental.AttributeSpecification
- func (o *Import) BleveType() string
- func (o *Import) DeepCopy() *Import
- func (o *Import) DeepCopyInto(out *Import)
- func (o *Import) DefaultOrder() []string
- func (o *Import) Doc() string
- func (o *Import) Identifier() string
- func (o *Import) Identity() elemental.Identity
- func (o *Import) MarshalBSON() ([]byte, error)
- func (o *Import) Patch(sparse elemental.SparseIdentifiable)
- func (o *Import) SetIdentifier(id string)
- func (*Import) SpecificationForAttribute(name string) elemental.AttributeSpecification
- func (o *Import) String() string
- func (o *Import) ToSparse(fields ...string) elemental.SparseIdentifiable
- func (o *Import) UnmarshalBSON(raw []byte) error
- func (o *Import) Validate() error
- func (o *Import) ValueForAttribute(name string) any
- func (o *Import) Version() int
- type ImportsList
- func (o ImportsList) Append(objects ...elemental.Identifiable) elemental.Identifiables
- func (o ImportsList) Copy() elemental.Identifiables
- func (o ImportsList) DefaultOrder() []string
- func (o ImportsList) Identity() elemental.Identity
- func (o ImportsList) List() elemental.IdentifiablesList
- func (o ImportsList) ToSparse(fields ...string) elemental.Identifiables
- func (o ImportsList) Version() int
- type Issue
- func (*Issue) AttributeSpecifications() map[string]elemental.AttributeSpecification
- func (o *Issue) BleveType() string
- func (o *Issue) DeepCopy() *Issue
- func (o *Issue) DeepCopyInto(out *Issue)
- func (o *Issue) DefaultOrder() []string
- func (o *Issue) Doc() string
- func (o *Issue) Identifier() string
- func (o *Issue) Identity() elemental.Identity
- func (o *Issue) MarshalBSON() ([]byte, error)
- func (o *Issue) Patch(sparse elemental.SparseIdentifiable)
- func (o *Issue) SetIdentifier(id string)
- func (*Issue) SpecificationForAttribute(name string) elemental.AttributeSpecification
- func (o *Issue) String() string
- func (o *Issue) ToSparse(fields ...string) elemental.SparseIdentifiable
- func (o *Issue) UnmarshalBSON(raw []byte) error
- func (o *Issue) Validate() error
- func (o *Issue) ValueForAttribute(name string) any
- func (o *Issue) Version() int
- type IssueA3S
- func (*IssueA3S) AttributeSpecifications() map[string]elemental.AttributeSpecification
- func (o *IssueA3S) BleveType() string
- func (o *IssueA3S) DeepCopy() *IssueA3S
- func (o *IssueA3S) DeepCopyInto(out *IssueA3S)
- func (o *IssueA3S) MarshalBSON() ([]byte, error)
- func (*IssueA3S) SpecificationForAttribute(name string) elemental.AttributeSpecification
- func (o *IssueA3S) UnmarshalBSON(raw []byte) error
- func (o *IssueA3S) Validate() error
- func (o *IssueA3S) ValueForAttribute(name string) any
- type IssueAWS
- func (*IssueAWS) AttributeSpecifications() map[string]elemental.AttributeSpecification
- func (o *IssueAWS) BleveType() string
- func (o *IssueAWS) DeepCopy() *IssueAWS
- func (o *IssueAWS) DeepCopyInto(out *IssueAWS)
- func (o *IssueAWS) MarshalBSON() ([]byte, error)
- func (*IssueAWS) SpecificationForAttribute(name string) elemental.AttributeSpecification
- func (o *IssueAWS) UnmarshalBSON(raw []byte) error
- func (o *IssueAWS) Validate() error
- func (o *IssueAWS) ValueForAttribute(name string) any
- type IssueAzure
- func (*IssueAzure) AttributeSpecifications() map[string]elemental.AttributeSpecification
- func (o *IssueAzure) BleveType() string
- func (o *IssueAzure) DeepCopy() *IssueAzure
- func (o *IssueAzure) DeepCopyInto(out *IssueAzure)
- func (o *IssueAzure) MarshalBSON() ([]byte, error)
- func (*IssueAzure) SpecificationForAttribute(name string) elemental.AttributeSpecification
- func (o *IssueAzure) UnmarshalBSON(raw []byte) error
- func (o *IssueAzure) Validate() error
- func (o *IssueAzure) ValueForAttribute(name string) any
- type IssueGCP
- func (*IssueGCP) AttributeSpecifications() map[string]elemental.AttributeSpecification
- func (o *IssueGCP) BleveType() string
- func (o *IssueGCP) DeepCopy() *IssueGCP
- func (o *IssueGCP) DeepCopyInto(out *IssueGCP)
- func (o *IssueGCP) MarshalBSON() ([]byte, error)
- func (*IssueGCP) SpecificationForAttribute(name string) elemental.AttributeSpecification
- func (o *IssueGCP) UnmarshalBSON(raw []byte) error
- func (o *IssueGCP) Validate() error
- func (o *IssueGCP) ValueForAttribute(name string) any
- type IssueHTTP
- func (*IssueHTTP) AttributeSpecifications() map[string]elemental.AttributeSpecification
- func (o *IssueHTTP) BleveType() string
- func (o *IssueHTTP) DeepCopy() *IssueHTTP
- func (o *IssueHTTP) DeepCopyInto(out *IssueHTTP)
- func (o *IssueHTTP) MarshalBSON() ([]byte, error)
- func (*IssueHTTP) SpecificationForAttribute(name string) elemental.AttributeSpecification
- func (o *IssueHTTP) UnmarshalBSON(raw []byte) error
- func (o *IssueHTTP) Validate() error
- func (o *IssueHTTP) ValueForAttribute(name string) any
- type IssueLDAP
- func (*IssueLDAP) AttributeSpecifications() map[string]elemental.AttributeSpecification
- func (o *IssueLDAP) BleveType() string
- func (o *IssueLDAP) DeepCopy() *IssueLDAP
- func (o *IssueLDAP) DeepCopyInto(out *IssueLDAP)
- func (o *IssueLDAP) MarshalBSON() ([]byte, error)
- func (*IssueLDAP) SpecificationForAttribute(name string) elemental.AttributeSpecification
- func (o *IssueLDAP) UnmarshalBSON(raw []byte) error
- func (o *IssueLDAP) Validate() error
- func (o *IssueLDAP) ValueForAttribute(name string) any
- type IssueOIDC
- func (*IssueOIDC) AttributeSpecifications() map[string]elemental.AttributeSpecification
- func (o *IssueOIDC) BleveType() string
- func (o *IssueOIDC) DeepCopy() *IssueOIDC
- func (o *IssueOIDC) DeepCopyInto(out *IssueOIDC)
- func (o *IssueOIDC) MarshalBSON() ([]byte, error)
- func (*IssueOIDC) SpecificationForAttribute(name string) elemental.AttributeSpecification
- func (o *IssueOIDC) UnmarshalBSON(raw []byte) error
- func (o *IssueOIDC) Validate() error
- func (o *IssueOIDC) ValueForAttribute(name string) any
- type IssueRemoteA3S
- func (*IssueRemoteA3S) AttributeSpecifications() map[string]elemental.AttributeSpecification
- func (o *IssueRemoteA3S) BleveType() string
- func (o *IssueRemoteA3S) DeepCopy() *IssueRemoteA3S
- func (o *IssueRemoteA3S) DeepCopyInto(out *IssueRemoteA3S)
- func (o *IssueRemoteA3S) MarshalBSON() ([]byte, error)
- func (*IssueRemoteA3S) SpecificationForAttribute(name string) elemental.AttributeSpecification
- func (o *IssueRemoteA3S) UnmarshalBSON(raw []byte) error
- func (o *IssueRemoteA3S) Validate() error
- func (o *IssueRemoteA3S) ValueForAttribute(name string) any
- type IssueSourceTypeValue
- type IssueTokenTypeValue
- type IssuesList
- func (o IssuesList) Append(objects ...elemental.Identifiable) elemental.Identifiables
- func (o IssuesList) Copy() elemental.Identifiables
- func (o IssuesList) DefaultOrder() []string
- func (o IssuesList) Identity() elemental.Identity
- func (o IssuesList) List() elemental.IdentifiablesList
- func (o IssuesList) ToSparse(fields ...string) elemental.Identifiables
- func (o IssuesList) Version() int
- type LDAPSource
- func (*LDAPSource) AttributeSpecifications() map[string]elemental.AttributeSpecification
- func (o *LDAPSource) BleveType() string
- func (o *LDAPSource) DecryptAttributes(encrypter elemental.AttributeEncrypter) (err error)
- func (o *LDAPSource) DeepCopy() *LDAPSource
- func (o *LDAPSource) DeepCopyInto(out *LDAPSource)
- func (o *LDAPSource) DefaultOrder() []string
- func (o *LDAPSource) Doc() string
- func (o *LDAPSource) EncryptAttributes(encrypter elemental.AttributeEncrypter) (err error)
- func (o *LDAPSource) GetCreateTime() time.Time
- func (o *LDAPSource) GetID() string
- func (o *LDAPSource) GetImportHash() string
- func (o *LDAPSource) GetImportLabel() string
- func (o *LDAPSource) GetNamespace() string
- func (o *LDAPSource) GetUpdateTime() time.Time
- func (o *LDAPSource) GetZHash() int
- func (o *LDAPSource) GetZone() int
- func (o *LDAPSource) Identifier() string
- func (o *LDAPSource) Identity() elemental.Identity
- func (o *LDAPSource) MarshalBSON() ([]byte, error)
- func (o *LDAPSource) Patch(sparse elemental.SparseIdentifiable)
- func (o *LDAPSource) SetCreateTime(createTime time.Time)
- func (o *LDAPSource) SetID(ID string)
- func (o *LDAPSource) SetIdentifier(id string)
- func (o *LDAPSource) SetImportHash(importHash string)
- func (o *LDAPSource) SetImportLabel(importLabel string)
- func (o *LDAPSource) SetNamespace(namespace string)
- func (o *LDAPSource) SetUpdateTime(updateTime time.Time)
- func (o *LDAPSource) SetZHash(zHash int)
- func (o *LDAPSource) SetZone(zone int)
- func (*LDAPSource) SpecificationForAttribute(name string) elemental.AttributeSpecification
- func (o *LDAPSource) String() string
- func (o *LDAPSource) ToSparse(fields ...string) elemental.SparseIdentifiable
- func (o *LDAPSource) UnmarshalBSON(raw []byte) error
- func (o *LDAPSource) Validate() error
- func (o *LDAPSource) ValueForAttribute(name string) any
- func (o *LDAPSource) Version() int
- type LDAPSourceSecurityProtocolValue
- type LDAPSourcesList
- func (o LDAPSourcesList) Append(objects ...elemental.Identifiable) elemental.Identifiables
- func (o LDAPSourcesList) Copy() elemental.Identifiables
- func (o LDAPSourcesList) DefaultOrder() []string
- func (o LDAPSourcesList) Identity() elemental.Identity
- func (o LDAPSourcesList) List() elemental.IdentifiablesList
- func (o LDAPSourcesList) ToSparse(fields ...string) elemental.Identifiables
- func (o LDAPSourcesList) Version() int
- type MTLSSource
- func (*MTLSSource) AttributeSpecifications() map[string]elemental.AttributeSpecification
- func (o *MTLSSource) BleveType() string
- func (o *MTLSSource) DeepCopy() *MTLSSource
- func (o *MTLSSource) DeepCopyInto(out *MTLSSource)
- func (o *MTLSSource) DefaultOrder() []string
- func (o *MTLSSource) Doc() string
- func (o *MTLSSource) GetCreateTime() time.Time
- func (o *MTLSSource) GetID() string
- func (o *MTLSSource) GetImportHash() string
- func (o *MTLSSource) GetImportLabel() string
- func (o *MTLSSource) GetNamespace() string
- func (o *MTLSSource) GetUpdateTime() time.Time
- func (o *MTLSSource) GetZHash() int
- func (o *MTLSSource) GetZone() int
- func (o *MTLSSource) Identifier() string
- func (o *MTLSSource) Identity() elemental.Identity
- func (o *MTLSSource) MarshalBSON() ([]byte, error)
- func (o *MTLSSource) Patch(sparse elemental.SparseIdentifiable)
- func (o *MTLSSource) SetCreateTime(createTime time.Time)
- func (o *MTLSSource) SetID(ID string)
- func (o *MTLSSource) SetIdentifier(id string)
- func (o *MTLSSource) SetImportHash(importHash string)
- func (o *MTLSSource) SetImportLabel(importLabel string)
- func (o *MTLSSource) SetNamespace(namespace string)
- func (o *MTLSSource) SetUpdateTime(updateTime time.Time)
- func (o *MTLSSource) SetZHash(zHash int)
- func (o *MTLSSource) SetZone(zone int)
- func (*MTLSSource) SpecificationForAttribute(name string) elemental.AttributeSpecification
- func (o *MTLSSource) String() string
- func (o *MTLSSource) ToSparse(fields ...string) elemental.SparseIdentifiable
- func (o *MTLSSource) UnmarshalBSON(raw []byte) error
- func (o *MTLSSource) Validate() error
- func (o *MTLSSource) ValueForAttribute(name string) any
- func (o *MTLSSource) Version() int
- type MTLSSourcesList
- func (o MTLSSourcesList) Append(objects ...elemental.Identifiable) elemental.Identifiables
- func (o MTLSSourcesList) Copy() elemental.Identifiables
- func (o MTLSSourcesList) DefaultOrder() []string
- func (o MTLSSourcesList) Identity() elemental.Identity
- func (o MTLSSourcesList) List() elemental.IdentifiablesList
- func (o MTLSSourcesList) ToSparse(fields ...string) elemental.Identifiables
- func (o MTLSSourcesList) Version() int
- type Namespace
- func (*Namespace) AttributeSpecifications() map[string]elemental.AttributeSpecification
- func (o *Namespace) BleveType() string
- func (o *Namespace) DeepCopy() *Namespace
- func (o *Namespace) DeepCopyInto(out *Namespace)
- func (o *Namespace) DefaultOrder() []string
- func (o *Namespace) Doc() string
- func (o *Namespace) GetCreateTime() time.Time
- func (o *Namespace) GetID() string
- func (o *Namespace) GetName() string
- func (o *Namespace) GetNamespace() string
- func (o *Namespace) GetUpdateTime() time.Time
- func (o *Namespace) GetZHash() int
- func (o *Namespace) GetZone() int
- func (o *Namespace) Identifier() string
- func (o *Namespace) Identity() elemental.Identity
- func (o *Namespace) MarshalBSON() ([]byte, error)
- func (o *Namespace) Patch(sparse elemental.SparseIdentifiable)
- func (o *Namespace) SetCreateTime(createTime time.Time)
- func (o *Namespace) SetID(ID string)
- func (o *Namespace) SetIdentifier(id string)
- func (o *Namespace) SetName(name string)
- func (o *Namespace) SetNamespace(namespace string)
- func (o *Namespace) SetUpdateTime(updateTime time.Time)
- func (o *Namespace) SetZHash(zHash int)
- func (o *Namespace) SetZone(zone int)
- func (*Namespace) SpecificationForAttribute(name string) elemental.AttributeSpecification
- func (o *Namespace) String() string
- func (o *Namespace) ToSparse(fields ...string) elemental.SparseIdentifiable
- func (o *Namespace) UnmarshalBSON(raw []byte) error
- func (o *Namespace) Validate() error
- func (o *Namespace) ValueForAttribute(name string) any
- func (o *Namespace) Version() int
- type NamespaceDeletionRecord
- func (*NamespaceDeletionRecord) AttributeSpecifications() map[string]elemental.AttributeSpecification
- func (o *NamespaceDeletionRecord) BleveType() string
- func (o *NamespaceDeletionRecord) DeepCopy() *NamespaceDeletionRecord
- func (o *NamespaceDeletionRecord) DeepCopyInto(out *NamespaceDeletionRecord)
- func (o *NamespaceDeletionRecord) DefaultOrder() []string
- func (o *NamespaceDeletionRecord) Doc() string
- func (o *NamespaceDeletionRecord) GetID() string
- func (o *NamespaceDeletionRecord) GetZHash() int
- func (o *NamespaceDeletionRecord) GetZone() int
- func (o *NamespaceDeletionRecord) Identifier() string
- func (o *NamespaceDeletionRecord) Identity() elemental.Identity
- func (o *NamespaceDeletionRecord) MarshalBSON() ([]byte, error)
- func (o *NamespaceDeletionRecord) Patch(sparse elemental.SparseIdentifiable)
- func (o *NamespaceDeletionRecord) SetID(ID string)
- func (o *NamespaceDeletionRecord) SetIdentifier(id string)
- func (o *NamespaceDeletionRecord) SetZHash(zHash int)
- func (o *NamespaceDeletionRecord) SetZone(zone int)
- func (*NamespaceDeletionRecord) SpecificationForAttribute(name string) elemental.AttributeSpecification
- func (o *NamespaceDeletionRecord) String() string
- func (o *NamespaceDeletionRecord) ToSparse(fields ...string) elemental.SparseIdentifiable
- func (o *NamespaceDeletionRecord) UnmarshalBSON(raw []byte) error
- func (o *NamespaceDeletionRecord) Validate() error
- func (o *NamespaceDeletionRecord) ValueForAttribute(name string) any
- func (o *NamespaceDeletionRecord) Version() int
- type NamespaceDeletionRecordsList
- func (o NamespaceDeletionRecordsList) Append(objects ...elemental.Identifiable) elemental.Identifiables
- func (o NamespaceDeletionRecordsList) Copy() elemental.Identifiables
- func (o NamespaceDeletionRecordsList) DefaultOrder() []string
- func (o NamespaceDeletionRecordsList) Identity() elemental.Identity
- func (o NamespaceDeletionRecordsList) List() elemental.IdentifiablesList
- func (o NamespaceDeletionRecordsList) ToSparse(fields ...string) elemental.Identifiables
- func (o NamespaceDeletionRecordsList) Version() int
- type NamespacesList
- func (o NamespacesList) Append(objects ...elemental.Identifiable) elemental.Identifiables
- func (o NamespacesList) Copy() elemental.Identifiables
- func (o NamespacesList) DefaultOrder() []string
- func (o NamespacesList) Identity() elemental.Identity
- func (o NamespacesList) List() elemental.IdentifiablesList
- func (o NamespacesList) ToSparse(fields ...string) elemental.Identifiables
- func (o NamespacesList) Version() int
- type OIDCSource
- func (*OIDCSource) AttributeSpecifications() map[string]elemental.AttributeSpecification
- func (o *OIDCSource) BleveType() string
- func (o *OIDCSource) DecryptAttributes(encrypter elemental.AttributeEncrypter) (err error)
- func (o *OIDCSource) DeepCopy() *OIDCSource
- func (o *OIDCSource) DeepCopyInto(out *OIDCSource)
- func (o *OIDCSource) DefaultOrder() []string
- func (o *OIDCSource) Doc() string
- func (o *OIDCSource) EncryptAttributes(encrypter elemental.AttributeEncrypter) (err error)
- func (o *OIDCSource) GetCreateTime() time.Time
- func (o *OIDCSource) GetID() string
- func (o *OIDCSource) GetImportHash() string
- func (o *OIDCSource) GetImportLabel() string
- func (o *OIDCSource) GetNamespace() string
- func (o *OIDCSource) GetUpdateTime() time.Time
- func (o *OIDCSource) GetZHash() int
- func (o *OIDCSource) GetZone() int
- func (o *OIDCSource) Identifier() string
- func (o *OIDCSource) Identity() elemental.Identity
- func (o *OIDCSource) MarshalBSON() ([]byte, error)
- func (o *OIDCSource) Patch(sparse elemental.SparseIdentifiable)
- func (o *OIDCSource) SetCreateTime(createTime time.Time)
- func (o *OIDCSource) SetID(ID string)
- func (o *OIDCSource) SetIdentifier(id string)
- func (o *OIDCSource) SetImportHash(importHash string)
- func (o *OIDCSource) SetImportLabel(importLabel string)
- func (o *OIDCSource) SetNamespace(namespace string)
- func (o *OIDCSource) SetUpdateTime(updateTime time.Time)
- func (o *OIDCSource) SetZHash(zHash int)
- func (o *OIDCSource) SetZone(zone int)
- func (*OIDCSource) SpecificationForAttribute(name string) elemental.AttributeSpecification
- func (o *OIDCSource) String() string
- func (o *OIDCSource) ToSparse(fields ...string) elemental.SparseIdentifiable
- func (o *OIDCSource) UnmarshalBSON(raw []byte) error
- func (o *OIDCSource) Validate() error
- func (o *OIDCSource) ValueForAttribute(name string) any
- func (o *OIDCSource) Version() int
- type OIDCSourcesList
- func (o OIDCSourcesList) Append(objects ...elemental.Identifiable) elemental.Identifiables
- func (o OIDCSourcesList) Copy() elemental.Identifiables
- func (o OIDCSourcesList) DefaultOrder() []string
- func (o OIDCSourcesList) Identity() elemental.Identity
- func (o OIDCSourcesList) List() elemental.IdentifiablesList
- func (o OIDCSourcesList) ToSparse(fields ...string) elemental.Identifiables
- func (o OIDCSourcesList) Version() int
- type Permissions
- func (*Permissions) AttributeSpecifications() map[string]elemental.AttributeSpecification
- func (o *Permissions) BleveType() string
- func (o *Permissions) DeepCopy() *Permissions
- func (o *Permissions) DeepCopyInto(out *Permissions)
- func (o *Permissions) DefaultOrder() []string
- func (o *Permissions) Doc() string
- func (o *Permissions) Identifier() string
- func (o *Permissions) Identity() elemental.Identity
- func (o *Permissions) MarshalBSON() ([]byte, error)
- func (o *Permissions) Patch(sparse elemental.SparseIdentifiable)
- func (o *Permissions) SetIdentifier(id string)
- func (*Permissions) SpecificationForAttribute(name string) elemental.AttributeSpecification
- func (o *Permissions) String() string
- func (o *Permissions) ToSparse(fields ...string) elemental.SparseIdentifiable
- func (o *Permissions) UnmarshalBSON(raw []byte) error
- func (o *Permissions) Validate() error
- func (o *Permissions) ValueForAttribute(name string) any
- func (o *Permissions) Version() int
- type PermissionsList
- func (o PermissionsList) Append(objects ...elemental.Identifiable) elemental.Identifiables
- func (o PermissionsList) Copy() elemental.Identifiables
- func (o PermissionsList) DefaultOrder() []string
- func (o PermissionsList) Identity() elemental.Identity
- func (o PermissionsList) List() elemental.IdentifiablesList
- func (o PermissionsList) ToSparse(fields ...string) elemental.Identifiables
- func (o PermissionsList) Version() int
- type Root
- func (*Root) AttributeSpecifications() map[string]elemental.AttributeSpecification
- func (o *Root) BleveType() string
- func (o *Root) DeepCopy() *Root
- func (o *Root) DeepCopyInto(out *Root)
- func (o *Root) DefaultOrder() []string
- func (o *Root) Doc() string
- func (o *Root) Identifier() string
- func (o *Root) Identity() elemental.Identity
- func (o *Root) MarshalBSON() ([]byte, error)
- func (o *Root) SetIdentifier(id string)
- func (*Root) SpecificationForAttribute(name string) elemental.AttributeSpecification
- func (o *Root) String() string
- func (o *Root) UnmarshalBSON(raw []byte) error
- func (o *Root) Validate() error
- func (o *Root) ValueForAttribute(name string) any
- func (o *Root) Version() int
- type SparseA3SSource
- func (o *SparseA3SSource) DeepCopy() *SparseA3SSource
- func (o *SparseA3SSource) DeepCopyInto(out *SparseA3SSource)
- func (o *SparseA3SSource) GetCreateTime() (out time.Time)
- func (o *SparseA3SSource) GetID() (out string)
- func (o *SparseA3SSource) GetImportHash() (out string)
- func (o *SparseA3SSource) GetImportLabel() (out string)
- func (o *SparseA3SSource) GetNamespace() (out string)
- func (o *SparseA3SSource) GetUpdateTime() (out time.Time)
- func (o *SparseA3SSource) GetZHash() (out int)
- func (o *SparseA3SSource) GetZone() (out int)
- func (o *SparseA3SSource) Identifier() string
- func (o *SparseA3SSource) Identity() elemental.Identity
- func (o *SparseA3SSource) MarshalBSON() ([]byte, error)
- func (o *SparseA3SSource) SetCreateTime(createTime time.Time)
- func (o *SparseA3SSource) SetID(ID string)
- func (o *SparseA3SSource) SetIdentifier(id string)
- func (o *SparseA3SSource) SetImportHash(importHash string)
- func (o *SparseA3SSource) SetImportLabel(importLabel string)
- func (o *SparseA3SSource) SetNamespace(namespace string)
- func (o *SparseA3SSource) SetUpdateTime(updateTime time.Time)
- func (o *SparseA3SSource) SetZHash(zHash int)
- func (o *SparseA3SSource) SetZone(zone int)
- func (o *SparseA3SSource) ToPlain() elemental.PlainIdentifiable
- func (o *SparseA3SSource) UnmarshalBSON(raw []byte) error
- func (o *SparseA3SSource) Version() int
- type SparseA3SSourcesList
- func (o SparseA3SSourcesList) Append(objects ...elemental.Identifiable) elemental.Identifiables
- func (o SparseA3SSourcesList) Copy() elemental.Identifiables
- func (o SparseA3SSourcesList) DefaultOrder() []string
- func (o SparseA3SSourcesList) Identity() elemental.Identity
- func (o SparseA3SSourcesList) List() elemental.IdentifiablesList
- func (o SparseA3SSourcesList) ToPlain() elemental.IdentifiablesList
- func (o SparseA3SSourcesList) Version() int
- type SparseAuthorization
- func (o *SparseAuthorization) DeepCopy() *SparseAuthorization
- func (o *SparseAuthorization) DeepCopyInto(out *SparseAuthorization)
- func (o *SparseAuthorization) GetCreateTime() (out time.Time)
- func (o *SparseAuthorization) GetID() (out string)
- func (o *SparseAuthorization) GetImportHash() (out string)
- func (o *SparseAuthorization) GetImportLabel() (out string)
- func (o *SparseAuthorization) GetNamespace() (out string)
- func (o *SparseAuthorization) GetPropagate() (out bool)
- func (o *SparseAuthorization) GetUpdateTime() (out time.Time)
- func (o *SparseAuthorization) GetZHash() (out int)
- func (o *SparseAuthorization) GetZone() (out int)
- func (o *SparseAuthorization) Identifier() string
- func (o *SparseAuthorization) Identity() elemental.Identity
- func (o *SparseAuthorization) MarshalBSON() ([]byte, error)
- func (o *SparseAuthorization) SetCreateTime(createTime time.Time)
- func (o *SparseAuthorization) SetID(ID string)
- func (o *SparseAuthorization) SetIdentifier(id string)
- func (o *SparseAuthorization) SetImportHash(importHash string)
- func (o *SparseAuthorization) SetImportLabel(importLabel string)
- func (o *SparseAuthorization) SetNamespace(namespace string)
- func (o *SparseAuthorization) SetPropagate(propagate bool)
- func (o *SparseAuthorization) SetUpdateTime(updateTime time.Time)
- func (o *SparseAuthorization) SetZHash(zHash int)
- func (o *SparseAuthorization) SetZone(zone int)
- func (o *SparseAuthorization) ToPlain() elemental.PlainIdentifiable
- func (o *SparseAuthorization) UnmarshalBSON(raw []byte) error
- func (o *SparseAuthorization) Version() int
- type SparseAuthorizationsList
- func (o SparseAuthorizationsList) Append(objects ...elemental.Identifiable) elemental.Identifiables
- func (o SparseAuthorizationsList) Copy() elemental.Identifiables
- func (o SparseAuthorizationsList) DefaultOrder() []string
- func (o SparseAuthorizationsList) Identity() elemental.Identity
- func (o SparseAuthorizationsList) List() elemental.IdentifiablesList
- func (o SparseAuthorizationsList) ToPlain() elemental.IdentifiablesList
- func (o SparseAuthorizationsList) Version() int
- type SparseAuthz
- func (o *SparseAuthz) DeepCopy() *SparseAuthz
- func (o *SparseAuthz) DeepCopyInto(out *SparseAuthz)
- func (o *SparseAuthz) Identifier() string
- func (o *SparseAuthz) Identity() elemental.Identity
- func (o *SparseAuthz) MarshalBSON() ([]byte, error)
- func (o *SparseAuthz) SetIdentifier(id string)
- func (o *SparseAuthz) ToPlain() elemental.PlainIdentifiable
- func (o *SparseAuthz) UnmarshalBSON(raw []byte) error
- func (o *SparseAuthz) Version() int
- type SparseAuthzsList
- func (o SparseAuthzsList) Append(objects ...elemental.Identifiable) elemental.Identifiables
- func (o SparseAuthzsList) Copy() elemental.Identifiables
- func (o SparseAuthzsList) DefaultOrder() []string
- func (o SparseAuthzsList) Identity() elemental.Identity
- func (o SparseAuthzsList) List() elemental.IdentifiablesList
- func (o SparseAuthzsList) ToPlain() elemental.IdentifiablesList
- func (o SparseAuthzsList) Version() int
- type SparseHTTPSource
- func (o *SparseHTTPSource) DeepCopy() *SparseHTTPSource
- func (o *SparseHTTPSource) DeepCopyInto(out *SparseHTTPSource)
- func (o *SparseHTTPSource) GetCreateTime() (out time.Time)
- func (o *SparseHTTPSource) GetID() (out string)
- func (o *SparseHTTPSource) GetImportHash() (out string)
- func (o *SparseHTTPSource) GetImportLabel() (out string)
- func (o *SparseHTTPSource) GetNamespace() (out string)
- func (o *SparseHTTPSource) GetUpdateTime() (out time.Time)
- func (o *SparseHTTPSource) GetZHash() (out int)
- func (o *SparseHTTPSource) GetZone() (out int)
- func (o *SparseHTTPSource) Identifier() string
- func (o *SparseHTTPSource) Identity() elemental.Identity
- func (o *SparseHTTPSource) MarshalBSON() ([]byte, error)
- func (o *SparseHTTPSource) SetCreateTime(createTime time.Time)
- func (o *SparseHTTPSource) SetID(ID string)
- func (o *SparseHTTPSource) SetIdentifier(id string)
- func (o *SparseHTTPSource) SetImportHash(importHash string)
- func (o *SparseHTTPSource) SetImportLabel(importLabel string)
- func (o *SparseHTTPSource) SetNamespace(namespace string)
- func (o *SparseHTTPSource) SetUpdateTime(updateTime time.Time)
- func (o *SparseHTTPSource) SetZHash(zHash int)
- func (o *SparseHTTPSource) SetZone(zone int)
- func (o *SparseHTTPSource) ToPlain() elemental.PlainIdentifiable
- func (o *SparseHTTPSource) UnmarshalBSON(raw []byte) error
- func (o *SparseHTTPSource) Version() int
- type SparseHTTPSourcesList
- func (o SparseHTTPSourcesList) Append(objects ...elemental.Identifiable) elemental.Identifiables
- func (o SparseHTTPSourcesList) Copy() elemental.Identifiables
- func (o SparseHTTPSourcesList) DefaultOrder() []string
- func (o SparseHTTPSourcesList) Identity() elemental.Identity
- func (o SparseHTTPSourcesList) List() elemental.IdentifiablesList
- func (o SparseHTTPSourcesList) ToPlain() elemental.IdentifiablesList
- func (o SparseHTTPSourcesList) Version() int
- type SparseIdentityModifier
- func (o *SparseIdentityModifier) DeepCopy() *SparseIdentityModifier
- func (o *SparseIdentityModifier) DeepCopyInto(out *SparseIdentityModifier)
- func (o *SparseIdentityModifier) Identifier() string
- func (o *SparseIdentityModifier) Identity() elemental.Identity
- func (o *SparseIdentityModifier) MarshalBSON() ([]byte, error)
- func (o *SparseIdentityModifier) SetIdentifier(id string)
- func (o *SparseIdentityModifier) ToPlain() elemental.PlainIdentifiable
- func (o *SparseIdentityModifier) UnmarshalBSON(raw []byte) error
- func (o *SparseIdentityModifier) Version() int
- type SparseIdentityModifiersList
- func (o SparseIdentityModifiersList) Append(objects ...elemental.Identifiable) elemental.Identifiables
- func (o SparseIdentityModifiersList) Copy() elemental.Identifiables
- func (o SparseIdentityModifiersList) DefaultOrder() []string
- func (o SparseIdentityModifiersList) Identity() elemental.Identity
- func (o SparseIdentityModifiersList) List() elemental.IdentifiablesList
- func (o SparseIdentityModifiersList) ToPlain() elemental.IdentifiablesList
- func (o SparseIdentityModifiersList) Version() int
- type SparseImport
- func (o *SparseImport) DeepCopy() *SparseImport
- func (o *SparseImport) DeepCopyInto(out *SparseImport)
- func (o *SparseImport) Identifier() string
- func (o *SparseImport) Identity() elemental.Identity
- func (o *SparseImport) MarshalBSON() ([]byte, error)
- func (o *SparseImport) SetIdentifier(id string)
- func (o *SparseImport) ToPlain() elemental.PlainIdentifiable
- func (o *SparseImport) UnmarshalBSON(raw []byte) error
- func (o *SparseImport) Version() int
- type SparseImportsList
- func (o SparseImportsList) Append(objects ...elemental.Identifiable) elemental.Identifiables
- func (o SparseImportsList) Copy() elemental.Identifiables
- func (o SparseImportsList) DefaultOrder() []string
- func (o SparseImportsList) Identity() elemental.Identity
- func (o SparseImportsList) List() elemental.IdentifiablesList
- func (o SparseImportsList) ToPlain() elemental.IdentifiablesList
- func (o SparseImportsList) Version() int
- type SparseIssue
- func (o *SparseIssue) DeepCopy() *SparseIssue
- func (o *SparseIssue) DeepCopyInto(out *SparseIssue)
- func (o *SparseIssue) Identifier() string
- func (o *SparseIssue) Identity() elemental.Identity
- func (o *SparseIssue) MarshalBSON() ([]byte, error)
- func (o *SparseIssue) SetIdentifier(id string)
- func (o *SparseIssue) ToPlain() elemental.PlainIdentifiable
- func (o *SparseIssue) UnmarshalBSON(raw []byte) error
- func (o *SparseIssue) Version() int
- type SparseIssuesList
- func (o SparseIssuesList) Append(objects ...elemental.Identifiable) elemental.Identifiables
- func (o SparseIssuesList) Copy() elemental.Identifiables
- func (o SparseIssuesList) DefaultOrder() []string
- func (o SparseIssuesList) Identity() elemental.Identity
- func (o SparseIssuesList) List() elemental.IdentifiablesList
- func (o SparseIssuesList) ToPlain() elemental.IdentifiablesList
- func (o SparseIssuesList) Version() int
- type SparseLDAPSource
- func (o *SparseLDAPSource) DecryptAttributes(encrypter elemental.AttributeEncrypter) (err error)
- func (o *SparseLDAPSource) DeepCopy() *SparseLDAPSource
- func (o *SparseLDAPSource) DeepCopyInto(out *SparseLDAPSource)
- func (o *SparseLDAPSource) EncryptAttributes(encrypter elemental.AttributeEncrypter) (err error)
- func (o *SparseLDAPSource) GetCreateTime() (out time.Time)
- func (o *SparseLDAPSource) GetID() (out string)
- func (o *SparseLDAPSource) GetImportHash() (out string)
- func (o *SparseLDAPSource) GetImportLabel() (out string)
- func (o *SparseLDAPSource) GetNamespace() (out string)
- func (o *SparseLDAPSource) GetUpdateTime() (out time.Time)
- func (o *SparseLDAPSource) GetZHash() (out int)
- func (o *SparseLDAPSource) GetZone() (out int)
- func (o *SparseLDAPSource) Identifier() string
- func (o *SparseLDAPSource) Identity() elemental.Identity
- func (o *SparseLDAPSource) MarshalBSON() ([]byte, error)
- func (o *SparseLDAPSource) SetCreateTime(createTime time.Time)
- func (o *SparseLDAPSource) SetID(ID string)
- func (o *SparseLDAPSource) SetIdentifier(id string)
- func (o *SparseLDAPSource) SetImportHash(importHash string)
- func (o *SparseLDAPSource) SetImportLabel(importLabel string)
- func (o *SparseLDAPSource) SetNamespace(namespace string)
- func (o *SparseLDAPSource) SetUpdateTime(updateTime time.Time)
- func (o *SparseLDAPSource) SetZHash(zHash int)
- func (o *SparseLDAPSource) SetZone(zone int)
- func (o *SparseLDAPSource) ToPlain() elemental.PlainIdentifiable
- func (o *SparseLDAPSource) UnmarshalBSON(raw []byte) error
- func (o *SparseLDAPSource) Version() int
- type SparseLDAPSourcesList
- func (o SparseLDAPSourcesList) Append(objects ...elemental.Identifiable) elemental.Identifiables
- func (o SparseLDAPSourcesList) Copy() elemental.Identifiables
- func (o SparseLDAPSourcesList) DefaultOrder() []string
- func (o SparseLDAPSourcesList) Identity() elemental.Identity
- func (o SparseLDAPSourcesList) List() elemental.IdentifiablesList
- func (o SparseLDAPSourcesList) ToPlain() elemental.IdentifiablesList
- func (o SparseLDAPSourcesList) Version() int
- type SparseMTLSSource
- func (o *SparseMTLSSource) DeepCopy() *SparseMTLSSource
- func (o *SparseMTLSSource) DeepCopyInto(out *SparseMTLSSource)
- func (o *SparseMTLSSource) GetCreateTime() (out time.Time)
- func (o *SparseMTLSSource) GetID() (out string)
- func (o *SparseMTLSSource) GetImportHash() (out string)
- func (o *SparseMTLSSource) GetImportLabel() (out string)
- func (o *SparseMTLSSource) GetNamespace() (out string)
- func (o *SparseMTLSSource) GetUpdateTime() (out time.Time)
- func (o *SparseMTLSSource) GetZHash() (out int)
- func (o *SparseMTLSSource) GetZone() (out int)
- func (o *SparseMTLSSource) Identifier() string
- func (o *SparseMTLSSource) Identity() elemental.Identity
- func (o *SparseMTLSSource) MarshalBSON() ([]byte, error)
- func (o *SparseMTLSSource) SetCreateTime(createTime time.Time)
- func (o *SparseMTLSSource) SetID(ID string)
- func (o *SparseMTLSSource) SetIdentifier(id string)
- func (o *SparseMTLSSource) SetImportHash(importHash string)
- func (o *SparseMTLSSource) SetImportLabel(importLabel string)
- func (o *SparseMTLSSource) SetNamespace(namespace string)
- func (o *SparseMTLSSource) SetUpdateTime(updateTime time.Time)
- func (o *SparseMTLSSource) SetZHash(zHash int)
- func (o *SparseMTLSSource) SetZone(zone int)
- func (o *SparseMTLSSource) ToPlain() elemental.PlainIdentifiable
- func (o *SparseMTLSSource) UnmarshalBSON(raw []byte) error
- func (o *SparseMTLSSource) Version() int
- type SparseMTLSSourcesList
- func (o SparseMTLSSourcesList) Append(objects ...elemental.Identifiable) elemental.Identifiables
- func (o SparseMTLSSourcesList) Copy() elemental.Identifiables
- func (o SparseMTLSSourcesList) DefaultOrder() []string
- func (o SparseMTLSSourcesList) Identity() elemental.Identity
- func (o SparseMTLSSourcesList) List() elemental.IdentifiablesList
- func (o SparseMTLSSourcesList) ToPlain() elemental.IdentifiablesList
- func (o SparseMTLSSourcesList) Version() int
- type SparseNamespace
- func (o *SparseNamespace) DeepCopy() *SparseNamespace
- func (o *SparseNamespace) DeepCopyInto(out *SparseNamespace)
- func (o *SparseNamespace) GetCreateTime() (out time.Time)
- func (o *SparseNamespace) GetID() (out string)
- func (o *SparseNamespace) GetName() (out string)
- func (o *SparseNamespace) GetNamespace() (out string)
- func (o *SparseNamespace) GetUpdateTime() (out time.Time)
- func (o *SparseNamespace) GetZHash() (out int)
- func (o *SparseNamespace) GetZone() (out int)
- func (o *SparseNamespace) Identifier() string
- func (o *SparseNamespace) Identity() elemental.Identity
- func (o *SparseNamespace) MarshalBSON() ([]byte, error)
- func (o *SparseNamespace) SetCreateTime(createTime time.Time)
- func (o *SparseNamespace) SetID(ID string)
- func (o *SparseNamespace) SetIdentifier(id string)
- func (o *SparseNamespace) SetName(name string)
- func (o *SparseNamespace) SetNamespace(namespace string)
- func (o *SparseNamespace) SetUpdateTime(updateTime time.Time)
- func (o *SparseNamespace) SetZHash(zHash int)
- func (o *SparseNamespace) SetZone(zone int)
- func (o *SparseNamespace) ToPlain() elemental.PlainIdentifiable
- func (o *SparseNamespace) UnmarshalBSON(raw []byte) error
- func (o *SparseNamespace) Version() int
- type SparseNamespaceDeletionRecord
- func (o *SparseNamespaceDeletionRecord) DeepCopy() *SparseNamespaceDeletionRecord
- func (o *SparseNamespaceDeletionRecord) DeepCopyInto(out *SparseNamespaceDeletionRecord)
- func (o *SparseNamespaceDeletionRecord) GetID() (out string)
- func (o *SparseNamespaceDeletionRecord) GetZHash() (out int)
- func (o *SparseNamespaceDeletionRecord) GetZone() (out int)
- func (o *SparseNamespaceDeletionRecord) Identifier() string
- func (o *SparseNamespaceDeletionRecord) Identity() elemental.Identity
- func (o *SparseNamespaceDeletionRecord) MarshalBSON() ([]byte, error)
- func (o *SparseNamespaceDeletionRecord) SetID(ID string)
- func (o *SparseNamespaceDeletionRecord) SetIdentifier(id string)
- func (o *SparseNamespaceDeletionRecord) SetZHash(zHash int)
- func (o *SparseNamespaceDeletionRecord) SetZone(zone int)
- func (o *SparseNamespaceDeletionRecord) ToPlain() elemental.PlainIdentifiable
- func (o *SparseNamespaceDeletionRecord) UnmarshalBSON(raw []byte) error
- func (o *SparseNamespaceDeletionRecord) Version() int
- type SparseNamespaceDeletionRecordsList
- func (o SparseNamespaceDeletionRecordsList) Append(objects ...elemental.Identifiable) elemental.Identifiables
- func (o SparseNamespaceDeletionRecordsList) Copy() elemental.Identifiables
- func (o SparseNamespaceDeletionRecordsList) DefaultOrder() []string
- func (o SparseNamespaceDeletionRecordsList) Identity() elemental.Identity
- func (o SparseNamespaceDeletionRecordsList) List() elemental.IdentifiablesList
- func (o SparseNamespaceDeletionRecordsList) ToPlain() elemental.IdentifiablesList
- func (o SparseNamespaceDeletionRecordsList) Version() int
- type SparseNamespacesList
- func (o SparseNamespacesList) Append(objects ...elemental.Identifiable) elemental.Identifiables
- func (o SparseNamespacesList) Copy() elemental.Identifiables
- func (o SparseNamespacesList) DefaultOrder() []string
- func (o SparseNamespacesList) Identity() elemental.Identity
- func (o SparseNamespacesList) List() elemental.IdentifiablesList
- func (o SparseNamespacesList) ToPlain() elemental.IdentifiablesList
- func (o SparseNamespacesList) Version() int
- type SparseOIDCSource
- func (o *SparseOIDCSource) DecryptAttributes(encrypter elemental.AttributeEncrypter) (err error)
- func (o *SparseOIDCSource) DeepCopy() *SparseOIDCSource
- func (o *SparseOIDCSource) DeepCopyInto(out *SparseOIDCSource)
- func (o *SparseOIDCSource) EncryptAttributes(encrypter elemental.AttributeEncrypter) (err error)
- func (o *SparseOIDCSource) GetCreateTime() (out time.Time)
- func (o *SparseOIDCSource) GetID() (out string)
- func (o *SparseOIDCSource) GetImportHash() (out string)
- func (o *SparseOIDCSource) GetImportLabel() (out string)
- func (o *SparseOIDCSource) GetNamespace() (out string)
- func (o *SparseOIDCSource) GetUpdateTime() (out time.Time)
- func (o *SparseOIDCSource) GetZHash() (out int)
- func (o *SparseOIDCSource) GetZone() (out int)
- func (o *SparseOIDCSource) Identifier() string
- func (o *SparseOIDCSource) Identity() elemental.Identity
- func (o *SparseOIDCSource) MarshalBSON() ([]byte, error)
- func (o *SparseOIDCSource) SetCreateTime(createTime time.Time)
- func (o *SparseOIDCSource) SetID(ID string)
- func (o *SparseOIDCSource) SetIdentifier(id string)
- func (o *SparseOIDCSource) SetImportHash(importHash string)
- func (o *SparseOIDCSource) SetImportLabel(importLabel string)
- func (o *SparseOIDCSource) SetNamespace(namespace string)
- func (o *SparseOIDCSource) SetUpdateTime(updateTime time.Time)
- func (o *SparseOIDCSource) SetZHash(zHash int)
- func (o *SparseOIDCSource) SetZone(zone int)
- func (o *SparseOIDCSource) ToPlain() elemental.PlainIdentifiable
- func (o *SparseOIDCSource) UnmarshalBSON(raw []byte) error
- func (o *SparseOIDCSource) Version() int
- type SparseOIDCSourcesList
- func (o SparseOIDCSourcesList) Append(objects ...elemental.Identifiable) elemental.Identifiables
- func (o SparseOIDCSourcesList) Copy() elemental.Identifiables
- func (o SparseOIDCSourcesList) DefaultOrder() []string
- func (o SparseOIDCSourcesList) Identity() elemental.Identity
- func (o SparseOIDCSourcesList) List() elemental.IdentifiablesList
- func (o SparseOIDCSourcesList) ToPlain() elemental.IdentifiablesList
- func (o SparseOIDCSourcesList) Version() int
- type SparsePermissions
- func (o *SparsePermissions) DeepCopy() *SparsePermissions
- func (o *SparsePermissions) DeepCopyInto(out *SparsePermissions)
- func (o *SparsePermissions) Identifier() string
- func (o *SparsePermissions) Identity() elemental.Identity
- func (o *SparsePermissions) MarshalBSON() ([]byte, error)
- func (o *SparsePermissions) SetIdentifier(id string)
- func (o *SparsePermissions) ToPlain() elemental.PlainIdentifiable
- func (o *SparsePermissions) UnmarshalBSON(raw []byte) error
- func (o *SparsePermissions) Version() int
- type SparsePermissionsList
- func (o SparsePermissionsList) Append(objects ...elemental.Identifiable) elemental.Identifiables
- func (o SparsePermissionsList) Copy() elemental.Identifiables
- func (o SparsePermissionsList) DefaultOrder() []string
- func (o SparsePermissionsList) Identity() elemental.Identity
- func (o SparsePermissionsList) List() elemental.IdentifiablesList
- func (o SparsePermissionsList) ToPlain() elemental.IdentifiablesList
- func (o SparsePermissionsList) Version() int
Constants ¶
This section is empty.
Variables ¶
var A3SSourceAttributesMap = map[string]elemental.AttributeSpecification{ "CA": { AllowedChoices: []string{}, BSONFieldName: "ca", ConvertedName: "CA", Description: `The Certificate authority to use to validate the authenticity of the A3S server. If left empty, the system trust stroe will be used.`, Exposed: true, Name: "CA", Stored: true, Type: "string", }, "ID": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "_id", ConvertedName: "ID", Description: `ID is the identifier of the object.`, Exposed: true, Getter: true, Identifier: true, Name: "ID", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "Audience": { AllowedChoices: []string{}, BSONFieldName: "audience", ConvertedName: "Audience", Description: `The audience that must be present in the remote a3s token.`, Exposed: true, Name: "audience", Stored: true, Type: "string", }, "CreateTime": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "createtime", ConvertedName: "CreateTime", Description: `Creation date of the object.`, Exposed: true, Getter: true, Name: "createTime", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "time", }, "Description": { AllowedChoices: []string{}, BSONFieldName: "description", ConvertedName: "Description", Description: `The description of the object.`, Exposed: true, Name: "description", Stored: true, Type: "string", }, "Endpoint": { AllowedChoices: []string{}, BSONFieldName: "endpoint", ConvertedName: "Endpoint", Description: `Endpoint of the remote a3s server, in case it is different from the issuer. If left empty, the issuer value will be used.`, Exposed: true, Name: "endpoint", Stored: true, Type: "string", }, "ImportHash": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "importhash", ConvertedName: "ImportHash", Description: `The hash of the structure used to compare with new import version.`, Exposed: true, Getter: true, Name: "importHash", ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "ImportLabel": { AllowedChoices: []string{}, BSONFieldName: "importlabel", ConvertedName: "ImportLabel", CreationOnly: true, Description: `The user-defined import label that allows the system to group resources from the same import operation.`, Exposed: true, Getter: true, Name: "importLabel", Setter: true, Stored: true, Type: "string", }, "Issuer": { AllowedChoices: []string{}, BSONFieldName: "issuer", ConvertedName: "Issuer", Description: `The issuer that represents the remote a3s server.`, Exposed: true, Name: "issuer", Required: true, Stored: true, Type: "string", }, "Modifier": { AllowedChoices: []string{}, BSONFieldName: "modifier", ConvertedName: "Modifier", Description: `Contains optional information about a remote service that can be used to modify the claims that are about to be delivered using this authentication source.`, Exposed: true, Name: "modifier", Stored: true, SubType: "identitymodifier", Type: "ref", }, "Name": { AllowedChoices: []string{}, BSONFieldName: "name", ConvertedName: "Name", Description: `The name of the source.`, Exposed: true, Name: "name", Required: true, Stored: true, Type: "string", }, "Namespace": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "namespace", ConvertedName: "Namespace", Description: `The namespace of the object.`, Exposed: true, Getter: true, Name: "namespace", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "UpdateTime": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "updatetime", ConvertedName: "UpdateTime", Description: `Last update date of the object.`, Exposed: true, Getter: true, Name: "updateTime", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "time", }, "ZHash": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "zhash", ConvertedName: "ZHash", Description: `Hash of the object used to shard the data.`, Getter: true, Name: "zHash", ReadOnly: true, Setter: true, Stored: true, Type: "integer", }, "Zone": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "zone", ConvertedName: "Zone", Description: `Sharding zone.`, Getter: true, Name: "zone", ReadOnly: true, Setter: true, Stored: true, Transient: true, Type: "integer", }, }
A3SSourceAttributesMap represents the map of attribute for A3SSource.
var A3SSourceIdentity = elemental.Identity{ Name: "a3ssource", Category: "a3ssources", Package: "a3s", Private: false, }
A3SSourceIdentity represents the Identity of the object.
var A3SSourceLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{ "ca": { AllowedChoices: []string{}, BSONFieldName: "ca", ConvertedName: "CA", Description: `The Certificate authority to use to validate the authenticity of the A3S server. If left empty, the system trust stroe will be used.`, Exposed: true, Name: "CA", Stored: true, Type: "string", }, "id": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "_id", ConvertedName: "ID", Description: `ID is the identifier of the object.`, Exposed: true, Getter: true, Identifier: true, Name: "ID", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "audience": { AllowedChoices: []string{}, BSONFieldName: "audience", ConvertedName: "Audience", Description: `The audience that must be present in the remote a3s token.`, Exposed: true, Name: "audience", Stored: true, Type: "string", }, "createtime": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "createtime", ConvertedName: "CreateTime", Description: `Creation date of the object.`, Exposed: true, Getter: true, Name: "createTime", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "time", }, "description": { AllowedChoices: []string{}, BSONFieldName: "description", ConvertedName: "Description", Description: `The description of the object.`, Exposed: true, Name: "description", Stored: true, Type: "string", }, "endpoint": { AllowedChoices: []string{}, BSONFieldName: "endpoint", ConvertedName: "Endpoint", Description: `Endpoint of the remote a3s server, in case it is different from the issuer. If left empty, the issuer value will be used.`, Exposed: true, Name: "endpoint", Stored: true, Type: "string", }, "importhash": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "importhash", ConvertedName: "ImportHash", Description: `The hash of the structure used to compare with new import version.`, Exposed: true, Getter: true, Name: "importHash", ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "importlabel": { AllowedChoices: []string{}, BSONFieldName: "importlabel", ConvertedName: "ImportLabel", CreationOnly: true, Description: `The user-defined import label that allows the system to group resources from the same import operation.`, Exposed: true, Getter: true, Name: "importLabel", Setter: true, Stored: true, Type: "string", }, "issuer": { AllowedChoices: []string{}, BSONFieldName: "issuer", ConvertedName: "Issuer", Description: `The issuer that represents the remote a3s server.`, Exposed: true, Name: "issuer", Required: true, Stored: true, Type: "string", }, "modifier": { AllowedChoices: []string{}, BSONFieldName: "modifier", ConvertedName: "Modifier", Description: `Contains optional information about a remote service that can be used to modify the claims that are about to be delivered using this authentication source.`, Exposed: true, Name: "modifier", Stored: true, SubType: "identitymodifier", Type: "ref", }, "name": { AllowedChoices: []string{}, BSONFieldName: "name", ConvertedName: "Name", Description: `The name of the source.`, Exposed: true, Name: "name", Required: true, Stored: true, Type: "string", }, "namespace": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "namespace", ConvertedName: "Namespace", Description: `The namespace of the object.`, Exposed: true, Getter: true, Name: "namespace", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "updatetime": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "updatetime", ConvertedName: "UpdateTime", Description: `Last update date of the object.`, Exposed: true, Getter: true, Name: "updateTime", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "time", }, "zhash": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "zhash", ConvertedName: "ZHash", Description: `Hash of the object used to shard the data.`, Getter: true, Name: "zHash", ReadOnly: true, Setter: true, Stored: true, Type: "integer", }, "zone": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "zone", ConvertedName: "Zone", Description: `Sharding zone.`, Getter: true, Name: "zone", ReadOnly: true, Setter: true, Stored: true, Transient: true, Type: "integer", }, }
A3SSourceLowerCaseAttributesMap represents the map of attribute for A3SSource.
var AuthorizationAttributesMap = map[string]elemental.AttributeSpecification{ "ID": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "_id", ConvertedName: "ID", Description: `ID is the identifier of the object.`, Exposed: true, Getter: true, Identifier: true, Name: "ID", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "CreateTime": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "createtime", ConvertedName: "CreateTime", Description: `Creation date of the object.`, Exposed: true, Getter: true, Name: "createTime", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "time", }, "Description": { AllowedChoices: []string{}, BSONFieldName: "description", ConvertedName: "Description", Description: `Description of the Authorization.`, Exposed: true, Name: "description", Stored: true, Type: "string", }, "Disabled": { AllowedChoices: []string{}, BSONFieldName: "disabled", ConvertedName: "Disabled", Description: `Set the authorization to be disabled.`, Exposed: true, Name: "disabled", Stored: true, Type: "boolean", }, "FlattenedSubject": { AllowedChoices: []string{}, BSONFieldName: "flattenedsubject", ConvertedName: "FlattenedSubject", Description: `This is a set of all subject tags for matching in the DB.`, Name: "flattenedSubject", Stored: true, SubType: "string", Type: "list", }, "Hidden": { AllowedChoices: []string{}, BSONFieldName: "hidden", ConvertedName: "Hidden", Description: `Hides the policies in children namespaces.`, Exposed: true, Name: "hidden", Stored: true, Type: "boolean", }, "ImportHash": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "importhash", ConvertedName: "ImportHash", Description: `The hash of the structure used to compare with new import version.`, Exposed: true, Getter: true, Name: "importHash", ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "ImportLabel": { AllowedChoices: []string{}, BSONFieldName: "importlabel", ConvertedName: "ImportLabel", CreationOnly: true, Description: `The user-defined import label that allows the system to group resources from the same import operation.`, Exposed: true, Getter: true, Name: "importLabel", Setter: true, Stored: true, Type: "string", }, "Name": { AllowedChoices: []string{}, BSONFieldName: "name", ConvertedName: "Name", Description: `The name of the Authorization.`, Exposed: true, Name: "name", Required: true, Stored: true, Type: "string", }, "Namespace": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "namespace", ConvertedName: "Namespace", Description: `The namespace of the object.`, Exposed: true, Getter: true, Name: "namespace", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "Permissions": { AllowedChoices: []string{}, BSONFieldName: "permissions", ConvertedName: "Permissions", Description: `A list of permissions.`, Exposed: true, Name: "permissions", Required: true, Stored: true, SubType: "string", Type: "list", }, "Propagate": { AllowedChoices: []string{}, BSONFieldName: "propagate", ConvertedName: "Propagate", DefaultValue: true, Description: `Propagates the api authorization to all of its children. This is always true.`, Getter: true, Name: "propagate", Setter: true, Stored: true, Type: "boolean", }, "Subject": { AllowedChoices: []string{}, BSONFieldName: "subject", ConvertedName: "Subject", Description: `A tag expression that identifies the authorized user(s).`, Exposed: true, Name: "subject", Orderable: true, Stored: true, SubType: "[][]string", Type: "external", }, "Subnets": { AllowedChoices: []string{}, BSONFieldName: "subnets", ConvertedName: "Subnets", Description: `If set, the API authorization will only be valid if the request comes from one the declared subnets.`, Exposed: true, Name: "subnets", Stored: true, SubType: "string", Type: "list", }, "TargetNamespaces": { AllowedChoices: []string{}, BSONFieldName: "targetnamespaces", ConvertedName: "TargetNamespaces", Description: `Defines the namespace or namespaces in which the permission for subject should apply. If empty, the object's namespace will be used.`, Exposed: true, Name: "targetNamespaces", Stored: true, SubType: "string", Type: "list", }, "TrustedIssuers": { AllowedChoices: []string{}, BSONFieldName: "trustedissuers", ConvertedName: "TrustedIssuers", Description: `List of issuers to consider before using the policy for a given set of claims.`, Exposed: true, Name: "trustedIssuers", Stored: true, SubType: "string", Type: "list", }, "UpdateTime": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "updatetime", ConvertedName: "UpdateTime", Description: `Last update date of the object.`, Exposed: true, Getter: true, Name: "updateTime", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "time", }, "ZHash": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "zhash", ConvertedName: "ZHash", Description: `Hash of the object used to shard the data.`, Getter: true, Name: "zHash", ReadOnly: true, Setter: true, Stored: true, Type: "integer", }, "Zone": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "zone", ConvertedName: "Zone", Description: `Sharding zone.`, Getter: true, Name: "zone", ReadOnly: true, Setter: true, Stored: true, Transient: true, Type: "integer", }, }
AuthorizationAttributesMap represents the map of attribute for Authorization.
var AuthorizationIdentity = elemental.Identity{ Name: "authorization", Category: "authorizations", Package: "a3s", Private: false, }
AuthorizationIdentity represents the Identity of the object.
var AuthorizationLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{ "id": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "_id", ConvertedName: "ID", Description: `ID is the identifier of the object.`, Exposed: true, Getter: true, Identifier: true, Name: "ID", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "createtime": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "createtime", ConvertedName: "CreateTime", Description: `Creation date of the object.`, Exposed: true, Getter: true, Name: "createTime", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "time", }, "description": { AllowedChoices: []string{}, BSONFieldName: "description", ConvertedName: "Description", Description: `Description of the Authorization.`, Exposed: true, Name: "description", Stored: true, Type: "string", }, "disabled": { AllowedChoices: []string{}, BSONFieldName: "disabled", ConvertedName: "Disabled", Description: `Set the authorization to be disabled.`, Exposed: true, Name: "disabled", Stored: true, Type: "boolean", }, "flattenedsubject": { AllowedChoices: []string{}, BSONFieldName: "flattenedsubject", ConvertedName: "FlattenedSubject", Description: `This is a set of all subject tags for matching in the DB.`, Name: "flattenedSubject", Stored: true, SubType: "string", Type: "list", }, "hidden": { AllowedChoices: []string{}, BSONFieldName: "hidden", ConvertedName: "Hidden", Description: `Hides the policies in children namespaces.`, Exposed: true, Name: "hidden", Stored: true, Type: "boolean", }, "importhash": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "importhash", ConvertedName: "ImportHash", Description: `The hash of the structure used to compare with new import version.`, Exposed: true, Getter: true, Name: "importHash", ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "importlabel": { AllowedChoices: []string{}, BSONFieldName: "importlabel", ConvertedName: "ImportLabel", CreationOnly: true, Description: `The user-defined import label that allows the system to group resources from the same import operation.`, Exposed: true, Getter: true, Name: "importLabel", Setter: true, Stored: true, Type: "string", }, "name": { AllowedChoices: []string{}, BSONFieldName: "name", ConvertedName: "Name", Description: `The name of the Authorization.`, Exposed: true, Name: "name", Required: true, Stored: true, Type: "string", }, "namespace": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "namespace", ConvertedName: "Namespace", Description: `The namespace of the object.`, Exposed: true, Getter: true, Name: "namespace", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "permissions": { AllowedChoices: []string{}, BSONFieldName: "permissions", ConvertedName: "Permissions", Description: `A list of permissions.`, Exposed: true, Name: "permissions", Required: true, Stored: true, SubType: "string", Type: "list", }, "propagate": { AllowedChoices: []string{}, BSONFieldName: "propagate", ConvertedName: "Propagate", DefaultValue: true, Description: `Propagates the api authorization to all of its children. This is always true.`, Getter: true, Name: "propagate", Setter: true, Stored: true, Type: "boolean", }, "subject": { AllowedChoices: []string{}, BSONFieldName: "subject", ConvertedName: "Subject", Description: `A tag expression that identifies the authorized user(s).`, Exposed: true, Name: "subject", Orderable: true, Stored: true, SubType: "[][]string", Type: "external", }, "subnets": { AllowedChoices: []string{}, BSONFieldName: "subnets", ConvertedName: "Subnets", Description: `If set, the API authorization will only be valid if the request comes from one the declared subnets.`, Exposed: true, Name: "subnets", Stored: true, SubType: "string", Type: "list", }, "targetnamespaces": { AllowedChoices: []string{}, BSONFieldName: "targetnamespaces", ConvertedName: "TargetNamespaces", Description: `Defines the namespace or namespaces in which the permission for subject should apply. If empty, the object's namespace will be used.`, Exposed: true, Name: "targetNamespaces", Stored: true, SubType: "string", Type: "list", }, "trustedissuers": { AllowedChoices: []string{}, BSONFieldName: "trustedissuers", ConvertedName: "TrustedIssuers", Description: `List of issuers to consider before using the policy for a given set of claims.`, Exposed: true, Name: "trustedIssuers", Stored: true, SubType: "string", Type: "list", }, "updatetime": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "updatetime", ConvertedName: "UpdateTime", Description: `Last update date of the object.`, Exposed: true, Getter: true, Name: "updateTime", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "time", }, "zhash": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "zhash", ConvertedName: "ZHash", Description: `Hash of the object used to shard the data.`, Getter: true, Name: "zHash", ReadOnly: true, Setter: true, Stored: true, Type: "integer", }, "zone": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "zone", ConvertedName: "Zone", Description: `Sharding zone.`, Getter: true, Name: "zone", ReadOnly: true, Setter: true, Stored: true, Transient: true, Type: "integer", }, }
AuthorizationLowerCaseAttributesMap represents the map of attribute for Authorization.
var AuthzAttributesMap = map[string]elemental.AttributeSpecification{ "ID": { AllowedChoices: []string{}, ConvertedName: "ID", Description: `The optional ID of the object to check permission for.`, Exposed: true, Name: "ID", Type: "string", }, "IP": { AllowedChoices: []string{}, ConvertedName: "IP", Description: `IP of the client.`, Exposed: true, Name: "IP", Type: "string", }, "Action": { AllowedChoices: []string{}, ConvertedName: "Action", Description: `The action to check permission for.`, Exposed: true, Name: "action", Required: true, Type: "string", }, "Audience": { AllowedChoices: []string{}, ConvertedName: "Audience", Description: `Audience that should be checked for.`, Exposed: true, Name: "audience", Type: "string", }, "Namespace": { AllowedChoices: []string{}, ConvertedName: "Namespace", Description: `The namespace where to check permission from.`, Exposed: true, Name: "namespace", Required: true, Type: "string", }, "Resource": { AllowedChoices: []string{}, ConvertedName: "Resource", Description: `The resource to check permission for.`, Exposed: true, Name: "resource", Required: true, Type: "string", }, "Token": { AllowedChoices: []string{}, ConvertedName: "Token", Description: `The token to check.`, Exposed: true, Name: "token", Required: true, SubType: "string", Type: "string", }, }
AuthzAttributesMap represents the map of attribute for Authz.
var AuthzIdentity = elemental.Identity{ Name: "authz", Category: "authz", Package: "a3s", Private: false, }
AuthzIdentity represents the Identity of the object.
var AuthzLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{ "id": { AllowedChoices: []string{}, ConvertedName: "ID", Description: `The optional ID of the object to check permission for.`, Exposed: true, Name: "ID", Type: "string", }, "ip": { AllowedChoices: []string{}, ConvertedName: "IP", Description: `IP of the client.`, Exposed: true, Name: "IP", Type: "string", }, "action": { AllowedChoices: []string{}, ConvertedName: "Action", Description: `The action to check permission for.`, Exposed: true, Name: "action", Required: true, Type: "string", }, "audience": { AllowedChoices: []string{}, ConvertedName: "Audience", Description: `Audience that should be checked for.`, Exposed: true, Name: "audience", Type: "string", }, "namespace": { AllowedChoices: []string{}, ConvertedName: "Namespace", Description: `The namespace where to check permission from.`, Exposed: true, Name: "namespace", Required: true, Type: "string", }, "resource": { AllowedChoices: []string{}, ConvertedName: "Resource", Description: `The resource to check permission for.`, Exposed: true, Name: "resource", Required: true, Type: "string", }, "token": { AllowedChoices: []string{}, ConvertedName: "Token", Description: `The token to check.`, Exposed: true, Name: "token", Required: true, SubType: "string", Type: "string", }, }
AuthzLowerCaseAttributesMap represents the map of attribute for Authz.
var HTTPSourceAttributesMap = map[string]elemental.AttributeSpecification{ "CA": { AllowedChoices: []string{}, BSONFieldName: "ca", ConvertedName: "CA", Description: `The certificate authority to use to validate the remote http server.`, Exposed: true, Name: "CA", Required: true, Stored: true, Type: "string", }, "ID": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "_id", ConvertedName: "ID", Description: `ID is the identifier of the object.`, Exposed: true, Getter: true, Identifier: true, Name: "ID", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "URL": { AllowedChoices: []string{}, BSONFieldName: "url", ConvertedName: "URL", Description: `URL of the remote service. This URL will receive a POST containing the credentials information that must be validated. It must reply with 200 with a body containing a json array that will be used as claims for the token. Any other error code will be returned as a 401 error.`, Exposed: true, Name: "URL", Required: true, Stored: true, Type: "string", }, "Certificate": { AllowedChoices: []string{}, BSONFieldName: "certificate", ConvertedName: "Certificate", Description: `Client certificate required to call URL. A3S will refuse to send data if the endpoint does not support client certificate authentication.`, Exposed: true, Name: "certificate", Required: true, Stored: true, Type: "string", }, "CreateTime": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "createtime", ConvertedName: "CreateTime", Description: `Creation date of the object.`, Exposed: true, Getter: true, Name: "createTime", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "time", }, "Description": { AllowedChoices: []string{}, BSONFieldName: "description", ConvertedName: "Description", Description: `The description of the object.`, Exposed: true, Name: "description", Stored: true, Type: "string", }, "ImportHash": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "importhash", ConvertedName: "ImportHash", Description: `The hash of the structure used to compare with new import version.`, Exposed: true, Getter: true, Name: "importHash", ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "ImportLabel": { AllowedChoices: []string{}, BSONFieldName: "importlabel", ConvertedName: "ImportLabel", CreationOnly: true, Description: `The user-defined import label that allows the system to group resources from the same import operation.`, Exposed: true, Getter: true, Name: "importLabel", Setter: true, Stored: true, Type: "string", }, "Key": { AllowedChoices: []string{}, BSONFieldName: "key", ConvertedName: "Key", Description: `Key associated to the client certificate.`, Exposed: true, Name: "key", Required: true, Stored: true, Type: "string", }, "Modifier": { AllowedChoices: []string{}, BSONFieldName: "modifier", ConvertedName: "Modifier", Description: `Contains optional information about a remote service that can be used to modify the claims that are about to be delivered using this authentication source.`, Exposed: true, Name: "modifier", Stored: true, SubType: "identitymodifier", Type: "ref", }, "Name": { AllowedChoices: []string{}, BSONFieldName: "name", ConvertedName: "Name", Description: `The name of the source.`, Exposed: true, Name: "name", Required: true, Stored: true, Type: "string", }, "Namespace": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "namespace", ConvertedName: "Namespace", Description: `The namespace of the object.`, Exposed: true, Getter: true, Name: "namespace", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "UpdateTime": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "updatetime", ConvertedName: "UpdateTime", Description: `Last update date of the object.`, Exposed: true, Getter: true, Name: "updateTime", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "time", }, "ZHash": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "zhash", ConvertedName: "ZHash", Description: `Hash of the object used to shard the data.`, Getter: true, Name: "zHash", ReadOnly: true, Setter: true, Stored: true, Type: "integer", }, "Zone": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "zone", ConvertedName: "Zone", Description: `Sharding zone.`, Getter: true, Name: "zone", ReadOnly: true, Setter: true, Stored: true, Transient: true, Type: "integer", }, }
HTTPSourceAttributesMap represents the map of attribute for HTTPSource.
var HTTPSourceIdentity = elemental.Identity{ Name: "httpsource", Category: "httpsources", Package: "a3s", Private: false, }
HTTPSourceIdentity represents the Identity of the object.
var HTTPSourceLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{ "ca": { AllowedChoices: []string{}, BSONFieldName: "ca", ConvertedName: "CA", Description: `The certificate authority to use to validate the remote http server.`, Exposed: true, Name: "CA", Required: true, Stored: true, Type: "string", }, "id": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "_id", ConvertedName: "ID", Description: `ID is the identifier of the object.`, Exposed: true, Getter: true, Identifier: true, Name: "ID", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "url": { AllowedChoices: []string{}, BSONFieldName: "url", ConvertedName: "URL", Description: `URL of the remote service. This URL will receive a POST containing the credentials information that must be validated. It must reply with 200 with a body containing a json array that will be used as claims for the token. Any other error code will be returned as a 401 error.`, Exposed: true, Name: "URL", Required: true, Stored: true, Type: "string", }, "certificate": { AllowedChoices: []string{}, BSONFieldName: "certificate", ConvertedName: "Certificate", Description: `Client certificate required to call URL. A3S will refuse to send data if the endpoint does not support client certificate authentication.`, Exposed: true, Name: "certificate", Required: true, Stored: true, Type: "string", }, "createtime": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "createtime", ConvertedName: "CreateTime", Description: `Creation date of the object.`, Exposed: true, Getter: true, Name: "createTime", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "time", }, "description": { AllowedChoices: []string{}, BSONFieldName: "description", ConvertedName: "Description", Description: `The description of the object.`, Exposed: true, Name: "description", Stored: true, Type: "string", }, "importhash": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "importhash", ConvertedName: "ImportHash", Description: `The hash of the structure used to compare with new import version.`, Exposed: true, Getter: true, Name: "importHash", ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "importlabel": { AllowedChoices: []string{}, BSONFieldName: "importlabel", ConvertedName: "ImportLabel", CreationOnly: true, Description: `The user-defined import label that allows the system to group resources from the same import operation.`, Exposed: true, Getter: true, Name: "importLabel", Setter: true, Stored: true, Type: "string", }, "key": { AllowedChoices: []string{}, BSONFieldName: "key", ConvertedName: "Key", Description: `Key associated to the client certificate.`, Exposed: true, Name: "key", Required: true, Stored: true, Type: "string", }, "modifier": { AllowedChoices: []string{}, BSONFieldName: "modifier", ConvertedName: "Modifier", Description: `Contains optional information about a remote service that can be used to modify the claims that are about to be delivered using this authentication source.`, Exposed: true, Name: "modifier", Stored: true, SubType: "identitymodifier", Type: "ref", }, "name": { AllowedChoices: []string{}, BSONFieldName: "name", ConvertedName: "Name", Description: `The name of the source.`, Exposed: true, Name: "name", Required: true, Stored: true, Type: "string", }, "namespace": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "namespace", ConvertedName: "Namespace", Description: `The namespace of the object.`, Exposed: true, Getter: true, Name: "namespace", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "updatetime": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "updatetime", ConvertedName: "UpdateTime", Description: `Last update date of the object.`, Exposed: true, Getter: true, Name: "updateTime", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "time", }, "zhash": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "zhash", ConvertedName: "ZHash", Description: `Hash of the object used to shard the data.`, Getter: true, Name: "zHash", ReadOnly: true, Setter: true, Stored: true, Type: "integer", }, "zone": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "zone", ConvertedName: "Zone", Description: `Sharding zone.`, Getter: true, Name: "zone", ReadOnly: true, Setter: true, Stored: true, Transient: true, Type: "integer", }, }
HTTPSourceLowerCaseAttributesMap represents the map of attribute for HTTPSource.
var IdentityModifierAttributesMap = map[string]elemental.AttributeSpecification{ "CA": { AllowedChoices: []string{}, BSONFieldName: "ca", ConvertedName: "CA", Description: `CA to use to validate the identity modfier service.`, Exposed: true, Name: "CA", Stored: true, Type: "string", }, "URL": { AllowedChoices: []string{}, BSONFieldName: "url", ConvertedName: "URL", Description: `URL of the remote service. This URL will receive a call containing the claims that are about to be delivered. It must reply with 204 if it does not wish to modify the claims, or 200 alongside a body containing the modified claims.`, Exposed: true, Name: "URL", Required: true, Stored: true, Type: "string", }, "Certificate": { AllowedChoices: []string{}, BSONFieldName: "certificate", ConvertedName: "Certificate", Description: `Client certificate required to call URL. A3S will refuse to send data if the endpoint does not support client certificate authentication.`, Exposed: true, Name: "certificate", Required: true, Stored: true, Type: "string", }, "Key": { AllowedChoices: []string{}, BSONFieldName: "key", ConvertedName: "Key", Description: `Key associated to the client certificate.`, Exposed: true, Name: "key", Required: true, Stored: true, Type: "string", }, "Method": { AllowedChoices: []string{"GET", "POST", "PUT", "PATCH"}, BSONFieldName: "method", ConvertedName: "Method", DefaultValue: IdentityModifierMethodPOST, Description: `The HTTP method to use to call the endpoint. For POST/PUT/PATCH the remote server will receive the claims as a JSON encoded array in the body. For a GET, the claims will be passed as a query parameter named ` + "`" + `claim` + "`" + `.`, Exposed: true, Name: "method", Required: true, Stored: true, Type: "enum", }, }
IdentityModifierAttributesMap represents the map of attribute for IdentityModifier.
var IdentityModifierIdentity = elemental.Identity{ Name: "identitymodifier", Category: "identitymodifier", Package: "a3s", Private: false, }
IdentityModifierIdentity represents the Identity of the object.
var IdentityModifierLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{ "ca": { AllowedChoices: []string{}, BSONFieldName: "ca", ConvertedName: "CA", Description: `CA to use to validate the identity modfier service.`, Exposed: true, Name: "CA", Stored: true, Type: "string", }, "url": { AllowedChoices: []string{}, BSONFieldName: "url", ConvertedName: "URL", Description: `URL of the remote service. This URL will receive a call containing the claims that are about to be delivered. It must reply with 204 if it does not wish to modify the claims, or 200 alongside a body containing the modified claims.`, Exposed: true, Name: "URL", Required: true, Stored: true, Type: "string", }, "certificate": { AllowedChoices: []string{}, BSONFieldName: "certificate", ConvertedName: "Certificate", Description: `Client certificate required to call URL. A3S will refuse to send data if the endpoint does not support client certificate authentication.`, Exposed: true, Name: "certificate", Required: true, Stored: true, Type: "string", }, "key": { AllowedChoices: []string{}, BSONFieldName: "key", ConvertedName: "Key", Description: `Key associated to the client certificate.`, Exposed: true, Name: "key", Required: true, Stored: true, Type: "string", }, "method": { AllowedChoices: []string{"GET", "POST", "PUT", "PATCH"}, BSONFieldName: "method", ConvertedName: "Method", DefaultValue: IdentityModifierMethodPOST, Description: `The HTTP method to use to call the endpoint. For POST/PUT/PATCH the remote server will receive the claims as a JSON encoded array in the body. For a GET, the claims will be passed as a query parameter named ` + "`" + `claim` + "`" + `.`, Exposed: true, Name: "method", Required: true, Stored: true, Type: "enum", }, }
IdentityModifierLowerCaseAttributesMap represents the map of attribute for IdentityModifier.
var ImportAttributesMap = map[string]elemental.AttributeSpecification{ "A3SSources": { AllowedChoices: []string{}, ConvertedName: "A3SSources", Description: `A3S sources to import.`, Exposed: true, Name: "A3SSources", SubType: "a3ssource", Type: "refList", }, "HTTPSources": { AllowedChoices: []string{}, ConvertedName: "HTTPSources", Description: `HTTP sources to import.`, Exposed: true, Name: "HTTPSources", SubType: "httpsource", Type: "refList", }, "LDAPSources": { AllowedChoices: []string{}, ConvertedName: "LDAPSources", Description: `LDAP sources to import.`, Exposed: true, Name: "LDAPSources", SubType: "ldapsource", Type: "refList", }, "MTLSSources": { AllowedChoices: []string{}, ConvertedName: "MTLSSources", Description: `MTLS sources to import.`, Exposed: true, Name: "MTLSSources", SubType: "mtlssource", Type: "refList", }, "OIDCSources": { AllowedChoices: []string{}, ConvertedName: "OIDCSources", Description: `OIDC sources to import.`, Exposed: true, Name: "OIDCSources", SubType: "oidcsource", Type: "refList", }, "Authorizations": { AllowedChoices: []string{}, ConvertedName: "Authorizations", Description: `Authorizations to import.`, Exposed: true, Name: "authorizations", SubType: "authorization", Type: "refList", }, "Label": { AllowedChoices: []string{}, ConvertedName: "Label", Description: `Import label that will be used to identify all the resources imported by this resource.`, Exposed: true, Name: "label", Required: true, Type: "string", }, }
ImportAttributesMap represents the map of attribute for Import.
var ImportIdentity = elemental.Identity{ Name: "import", Category: "import", Package: "a3s", Private: false, }
ImportIdentity represents the Identity of the object.
var ImportLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{ "a3ssources": { AllowedChoices: []string{}, ConvertedName: "A3SSources", Description: `A3S sources to import.`, Exposed: true, Name: "A3SSources", SubType: "a3ssource", Type: "refList", }, "httpsources": { AllowedChoices: []string{}, ConvertedName: "HTTPSources", Description: `HTTP sources to import.`, Exposed: true, Name: "HTTPSources", SubType: "httpsource", Type: "refList", }, "ldapsources": { AllowedChoices: []string{}, ConvertedName: "LDAPSources", Description: `LDAP sources to import.`, Exposed: true, Name: "LDAPSources", SubType: "ldapsource", Type: "refList", }, "mtlssources": { AllowedChoices: []string{}, ConvertedName: "MTLSSources", Description: `MTLS sources to import.`, Exposed: true, Name: "MTLSSources", SubType: "mtlssource", Type: "refList", }, "oidcsources": { AllowedChoices: []string{}, ConvertedName: "OIDCSources", Description: `OIDC sources to import.`, Exposed: true, Name: "OIDCSources", SubType: "oidcsource", Type: "refList", }, "authorizations": { AllowedChoices: []string{}, ConvertedName: "Authorizations", Description: `Authorizations to import.`, Exposed: true, Name: "authorizations", SubType: "authorization", Type: "refList", }, "label": { AllowedChoices: []string{}, ConvertedName: "Label", Description: `Import label that will be used to identify all the resources imported by this resource.`, Exposed: true, Name: "label", Required: true, Type: "string", }, }
ImportLowerCaseAttributesMap represents the map of attribute for Import.
var IssueA3SAttributesMap = map[string]elemental.AttributeSpecification{ "Token": { AllowedChoices: []string{}, ConvertedName: "Token", Description: `The original token.`, Exposed: true, Name: "token", Required: true, Type: "string", }, }
IssueA3SAttributesMap represents the map of attribute for IssueA3S.
var IssueA3SLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{ "token": { AllowedChoices: []string{}, ConvertedName: "Token", Description: `The original token.`, Exposed: true, Name: "token", Required: true, Type: "string", }, }
IssueA3SLowerCaseAttributesMap represents the map of attribute for IssueA3S.
var IssueAWSAttributesMap = map[string]elemental.AttributeSpecification{ "ID": { AllowedChoices: []string{}, ConvertedName: "ID", Description: `The ID of the AWS STS token.`, Exposed: true, Name: "ID", Required: true, Type: "string", }, "Secret": { AllowedChoices: []string{}, ConvertedName: "Secret", Description: `The secret associated to the AWS STS token.`, Exposed: true, Name: "secret", Required: true, Type: "string", }, "Token": { AllowedChoices: []string{}, ConvertedName: "Token", Description: `The original token.`, Exposed: true, Name: "token", Required: true, Type: "string", }, }
IssueAWSAttributesMap represents the map of attribute for IssueAWS.
var IssueAWSLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{ "id": { AllowedChoices: []string{}, ConvertedName: "ID", Description: `The ID of the AWS STS token.`, Exposed: true, Name: "ID", Required: true, Type: "string", }, "secret": { AllowedChoices: []string{}, ConvertedName: "Secret", Description: `The secret associated to the AWS STS token.`, Exposed: true, Name: "secret", Required: true, Type: "string", }, "token": { AllowedChoices: []string{}, ConvertedName: "Token", Description: `The original token.`, Exposed: true, Name: "token", Required: true, Type: "string", }, }
IssueAWSLowerCaseAttributesMap represents the map of attribute for IssueAWS.
var IssueAttributesMap = map[string]elemental.AttributeSpecification{ "Audience": { AllowedChoices: []string{}, ConvertedName: "Audience", Description: `Requested audience for the delivered token.`, Exposed: true, Name: "audience", SubType: "string", Type: "list", }, "Cloak": { AllowedChoices: []string{}, ConvertedName: "Cloak", Description: `Sets a list of identity claim prefix to allow in the final token. This can be used to hide some information when asking for a token as not all systems need to know all of the claims.`, Exposed: true, Name: "cloak", SubType: "string", Type: "list", }, "Cookie": { AllowedChoices: []string{}, ConvertedName: "Cookie", Description: `If set, return the token as a secure cookie.`, Exposed: true, Name: "cookie", Type: "boolean", }, "CookieDomain": { AllowedChoices: []string{}, ConvertedName: "CookieDomain", Description: `If set, use the provided domain for the delivered cookie.`, Exposed: true, Name: "cookieDomain", Type: "string", }, "InputA3S": { AllowedChoices: []string{}, ConvertedName: "InputA3S", Description: `Contains additional information for an A3S token source.`, Exposed: true, Name: "inputA3S", SubType: "issuea3s", Type: "ref", }, "InputAWS": { AllowedChoices: []string{}, ConvertedName: "InputAWS", Description: `Contains additional information for an AWS STS token source.`, Exposed: true, Name: "inputAWS", SubType: "issueaws", Type: "ref", }, "InputAzure": { AllowedChoices: []string{}, ConvertedName: "InputAzure", Description: `Contains additional information for an Azure token source.`, Exposed: true, Name: "inputAzure", SubType: "issueazure", Type: "ref", }, "InputGCP": { AllowedChoices: []string{}, ConvertedName: "InputGCP", Description: `Contains additional information for an GCP token source.`, Exposed: true, Name: "inputGCP", SubType: "issuegcp", Type: "ref", }, "InputHTTP": { AllowedChoices: []string{}, ConvertedName: "InputHTTP", Description: `Contains additional information for an HTTP source.`, Exposed: true, Name: "inputHTTP", SubType: "issuehttp", Type: "ref", }, "InputLDAP": { AllowedChoices: []string{}, ConvertedName: "InputLDAP", Description: `Contains additional information for an LDAP source.`, Exposed: true, Name: "inputLDAP", SubType: "issueldap", Type: "ref", }, "InputOIDC": { AllowedChoices: []string{}, ConvertedName: "InputOIDC", Description: `Contains additional information for an OIDC source.`, Exposed: true, Name: "inputOIDC", SubType: "issueoidc", Type: "ref", }, "InputRemoteA3S": { AllowedChoices: []string{}, ConvertedName: "InputRemoteA3S", Description: `Contains additional information for a remote A3S token source.`, Exposed: true, Name: "inputRemoteA3S", SubType: "issueremotea3s", Type: "ref", }, "Opaque": { AllowedChoices: []string{}, ConvertedName: "Opaque", Description: `Opaque data that will be included in the issued token.`, Exposed: true, Name: "opaque", SubType: "map[string]string", Type: "external", }, "RestrictedNamespace": { AllowedChoices: []string{}, ConvertedName: "RestrictedNamespace", Description: `Restricts the namespace where the token can be used. For instance, if you have have access to ` + "`" + `/namespace` + "`" + ` and below, you can tell the policy engine that it should restrict further more to ` + "`" + `/namespace/child` + "`" + `. Restricting to a namespace you don't have initially access according to the policy engine has no effect and may end up making the token unusable.`, Exposed: true, Name: "restrictedNamespace", Type: "string", }, "RestrictedNetworks": { AllowedChoices: []string{}, ConvertedName: "RestrictedNetworks", Description: `Restricts the networks from where the token can be used. This will reduce the existing set of authorized networks that normally apply to the token according to the policy engine. For instance, If you have authorized access from ` + "`" + `0.0.0.0/0` + "`" + ` (by default) or from ` + "`" + `10.0.0.0/8` + "`" + `, you can ask for a token that will only be valid if used from ` + "`" + `10.1.0.0/16` + "`" + `. Restricting to a network that is not initially authorized by the policy engine has no effect and may end up making the token unusable.`, Exposed: true, Name: "restrictedNetworks", SubType: "string", Type: "list", }, "RestrictedPermissions": { AllowedChoices: []string{}, ConvertedName: "RestrictedPermissions", Description: `Restricts the permissions of token. This will reduce the existing permissions that normally apply to the token according to the policy engine. For instance, if you have administrative role, you can ask for a token that will tell the policy engine to reduce the permission it would have granted to what is given defined in the token. Restricting to some permissions you don't initially have according to the policy engine has no effect and may end up making the token unusable.`, Exposed: true, Name: "restrictedPermissions", SubType: "string", Type: "list", }, "SourceName": { AllowedChoices: []string{}, ConvertedName: "SourceName", Description: `The name of the source to use.`, Exposed: true, Name: "sourceName", Type: "string", }, "SourceNamespace": { AllowedChoices: []string{}, ConvertedName: "SourceNamespace", Description: `The namespace of the source to use.`, Exposed: true, Name: "sourceNamespace", Type: "string", }, "SourceType": { AllowedChoices: []string{"A3S", "AWS", "Azure", "GCP", "HTTP", "LDAP", "MTLS", "OIDC", "RemoteA3S", "SAML"}, ConvertedName: "SourceType", Description: `The authentication source. This will define how to verify credentials from internal or external source of authentication.`, Exposed: true, Name: "sourceType", Required: true, Type: "enum", }, "Token": { AllowedChoices: []string{}, Autogenerated: true, ConvertedName: "Token", Description: `Issued token.`, Exposed: true, Name: "token", ReadOnly: true, Type: "string", }, "TokenType": { AllowedChoices: []string{"Identity", "Refresh"}, ConvertedName: "TokenType", DefaultValue: IssueTokenTypeIdentity, Description: `The type of token to issue.`, Exposed: true, Name: "tokenType", Type: "enum", }, "Validity": { AllowedChoices: []string{}, ConvertedName: "Validity", Description: `Configures the maximum length of validity for a token, using [Golang duration syntax](https://golang.org/pkg/time/#example_Duration).`, Exposed: true, Name: "validity", Type: "string", }, }
IssueAttributesMap represents the map of attribute for Issue.
var IssueAzureAttributesMap = map[string]elemental.AttributeSpecification{ "Token": { AllowedChoices: []string{}, ConvertedName: "Token", Description: `The original token.`, Exposed: true, Name: "token", Required: true, Type: "string", }, }
IssueAzureAttributesMap represents the map of attribute for IssueAzure.
var IssueAzureLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{ "token": { AllowedChoices: []string{}, ConvertedName: "Token", Description: `The original token.`, Exposed: true, Name: "token", Required: true, Type: "string", }, }
IssueAzureLowerCaseAttributesMap represents the map of attribute for IssueAzure.
var IssueGCPAttributesMap = map[string]elemental.AttributeSpecification{ "Audience": { AllowedChoices: []string{}, ConvertedName: "Audience", Description: `The required audience.`, Exposed: true, Name: "audience", Type: "string", }, "Token": { AllowedChoices: []string{}, ConvertedName: "Token", Description: `The original token.`, Exposed: true, Name: "token", Required: true, Type: "string", }, }
IssueGCPAttributesMap represents the map of attribute for IssueGCP.
var IssueGCPLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{ "audience": { AllowedChoices: []string{}, ConvertedName: "Audience", Description: `The required audience.`, Exposed: true, Name: "audience", Type: "string", }, "token": { AllowedChoices: []string{}, ConvertedName: "Token", Description: `The original token.`, Exposed: true, Name: "token", Required: true, Type: "string", }, }
IssueGCPLowerCaseAttributesMap represents the map of attribute for IssueGCP.
var IssueHTTPAttributesMap = map[string]elemental.AttributeSpecification{ "TOTP": { AllowedChoices: []string{}, ConvertedName: "TOTP", Description: `Time based one time password, if needed.`, Exposed: true, Name: "TOTP", Type: "string", }, "Password": { AllowedChoices: []string{}, ConvertedName: "Password", Description: `The password for the user.`, Exposed: true, Name: "password", Required: true, Type: "string", }, "Username": { AllowedChoices: []string{}, ConvertedName: "Username", Description: `The username.`, Exposed: true, Name: "username", Required: true, Type: "string", }, }
IssueHTTPAttributesMap represents the map of attribute for IssueHTTP.
var IssueHTTPLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{ "totp": { AllowedChoices: []string{}, ConvertedName: "TOTP", Description: `Time based one time password, if needed.`, Exposed: true, Name: "TOTP", Type: "string", }, "password": { AllowedChoices: []string{}, ConvertedName: "Password", Description: `The password for the user.`, Exposed: true, Name: "password", Required: true, Type: "string", }, "username": { AllowedChoices: []string{}, ConvertedName: "Username", Description: `The username.`, Exposed: true, Name: "username", Required: true, Type: "string", }, }
IssueHTTPLowerCaseAttributesMap represents the map of attribute for IssueHTTP.
var IssueIdentity = elemental.Identity{ Name: "issue", Category: "issue", Package: "authn", Private: false, }
IssueIdentity represents the Identity of the object.
var IssueLDAPAttributesMap = map[string]elemental.AttributeSpecification{ "Password": { AllowedChoices: []string{}, ConvertedName: "Password", Description: `The password for the user.`, Exposed: true, Name: "password", Required: true, Type: "string", }, "Username": { AllowedChoices: []string{}, ConvertedName: "Username", Description: `The LDAP username.`, Exposed: true, Name: "username", Required: true, Type: "string", }, }
IssueLDAPAttributesMap represents the map of attribute for IssueLDAP.
var IssueLDAPLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{ "password": { AllowedChoices: []string{}, ConvertedName: "Password", Description: `The password for the user.`, Exposed: true, Name: "password", Required: true, Type: "string", }, "username": { AllowedChoices: []string{}, ConvertedName: "Username", Description: `The LDAP username.`, Exposed: true, Name: "username", Required: true, Type: "string", }, }
IssueLDAPLowerCaseAttributesMap represents the map of attribute for IssueLDAP.
var IssueLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{ "audience": { AllowedChoices: []string{}, ConvertedName: "Audience", Description: `Requested audience for the delivered token.`, Exposed: true, Name: "audience", SubType: "string", Type: "list", }, "cloak": { AllowedChoices: []string{}, ConvertedName: "Cloak", Description: `Sets a list of identity claim prefix to allow in the final token. This can be used to hide some information when asking for a token as not all systems need to know all of the claims.`, Exposed: true, Name: "cloak", SubType: "string", Type: "list", }, "cookie": { AllowedChoices: []string{}, ConvertedName: "Cookie", Description: `If set, return the token as a secure cookie.`, Exposed: true, Name: "cookie", Type: "boolean", }, "cookiedomain": { AllowedChoices: []string{}, ConvertedName: "CookieDomain", Description: `If set, use the provided domain for the delivered cookie.`, Exposed: true, Name: "cookieDomain", Type: "string", }, "inputa3s": { AllowedChoices: []string{}, ConvertedName: "InputA3S", Description: `Contains additional information for an A3S token source.`, Exposed: true, Name: "inputA3S", SubType: "issuea3s", Type: "ref", }, "inputaws": { AllowedChoices: []string{}, ConvertedName: "InputAWS", Description: `Contains additional information for an AWS STS token source.`, Exposed: true, Name: "inputAWS", SubType: "issueaws", Type: "ref", }, "inputazure": { AllowedChoices: []string{}, ConvertedName: "InputAzure", Description: `Contains additional information for an Azure token source.`, Exposed: true, Name: "inputAzure", SubType: "issueazure", Type: "ref", }, "inputgcp": { AllowedChoices: []string{}, ConvertedName: "InputGCP", Description: `Contains additional information for an GCP token source.`, Exposed: true, Name: "inputGCP", SubType: "issuegcp", Type: "ref", }, "inputhttp": { AllowedChoices: []string{}, ConvertedName: "InputHTTP", Description: `Contains additional information for an HTTP source.`, Exposed: true, Name: "inputHTTP", SubType: "issuehttp", Type: "ref", }, "inputldap": { AllowedChoices: []string{}, ConvertedName: "InputLDAP", Description: `Contains additional information for an LDAP source.`, Exposed: true, Name: "inputLDAP", SubType: "issueldap", Type: "ref", }, "inputoidc": { AllowedChoices: []string{}, ConvertedName: "InputOIDC", Description: `Contains additional information for an OIDC source.`, Exposed: true, Name: "inputOIDC", SubType: "issueoidc", Type: "ref", }, "inputremotea3s": { AllowedChoices: []string{}, ConvertedName: "InputRemoteA3S", Description: `Contains additional information for a remote A3S token source.`, Exposed: true, Name: "inputRemoteA3S", SubType: "issueremotea3s", Type: "ref", }, "opaque": { AllowedChoices: []string{}, ConvertedName: "Opaque", Description: `Opaque data that will be included in the issued token.`, Exposed: true, Name: "opaque", SubType: "map[string]string", Type: "external", }, "restrictednamespace": { AllowedChoices: []string{}, ConvertedName: "RestrictedNamespace", Description: `Restricts the namespace where the token can be used. For instance, if you have have access to ` + "`" + `/namespace` + "`" + ` and below, you can tell the policy engine that it should restrict further more to ` + "`" + `/namespace/child` + "`" + `. Restricting to a namespace you don't have initially access according to the policy engine has no effect and may end up making the token unusable.`, Exposed: true, Name: "restrictedNamespace", Type: "string", }, "restrictednetworks": { AllowedChoices: []string{}, ConvertedName: "RestrictedNetworks", Description: `Restricts the networks from where the token can be used. This will reduce the existing set of authorized networks that normally apply to the token according to the policy engine. For instance, If you have authorized access from ` + "`" + `0.0.0.0/0` + "`" + ` (by default) or from ` + "`" + `10.0.0.0/8` + "`" + `, you can ask for a token that will only be valid if used from ` + "`" + `10.1.0.0/16` + "`" + `. Restricting to a network that is not initially authorized by the policy engine has no effect and may end up making the token unusable.`, Exposed: true, Name: "restrictedNetworks", SubType: "string", Type: "list", }, "restrictedpermissions": { AllowedChoices: []string{}, ConvertedName: "RestrictedPermissions", Description: `Restricts the permissions of token. This will reduce the existing permissions that normally apply to the token according to the policy engine. For instance, if you have administrative role, you can ask for a token that will tell the policy engine to reduce the permission it would have granted to what is given defined in the token. Restricting to some permissions you don't initially have according to the policy engine has no effect and may end up making the token unusable.`, Exposed: true, Name: "restrictedPermissions", SubType: "string", Type: "list", }, "sourcename": { AllowedChoices: []string{}, ConvertedName: "SourceName", Description: `The name of the source to use.`, Exposed: true, Name: "sourceName", Type: "string", }, "sourcenamespace": { AllowedChoices: []string{}, ConvertedName: "SourceNamespace", Description: `The namespace of the source to use.`, Exposed: true, Name: "sourceNamespace", Type: "string", }, "sourcetype": { AllowedChoices: []string{"A3S", "AWS", "Azure", "GCP", "HTTP", "LDAP", "MTLS", "OIDC", "RemoteA3S", "SAML"}, ConvertedName: "SourceType", Description: `The authentication source. This will define how to verify credentials from internal or external source of authentication.`, Exposed: true, Name: "sourceType", Required: true, Type: "enum", }, "token": { AllowedChoices: []string{}, Autogenerated: true, ConvertedName: "Token", Description: `Issued token.`, Exposed: true, Name: "token", ReadOnly: true, Type: "string", }, "tokentype": { AllowedChoices: []string{"Identity", "Refresh"}, ConvertedName: "TokenType", DefaultValue: IssueTokenTypeIdentity, Description: `The type of token to issue.`, Exposed: true, Name: "tokenType", Type: "enum", }, "validity": { AllowedChoices: []string{}, ConvertedName: "Validity", Description: `Configures the maximum length of validity for a token, using [Golang duration syntax](https://golang.org/pkg/time/#example_Duration).`, Exposed: true, Name: "validity", Type: "string", }, }
IssueLowerCaseAttributesMap represents the map of attribute for Issue.
var IssueOIDCAttributesMap = map[string]elemental.AttributeSpecification{ "AuthURL": { AllowedChoices: []string{}, ConvertedName: "AuthURL", Description: `Contains the auth URL is noAuthRedirect is set to true.`, Exposed: true, Name: "authURL", ReadOnly: true, Type: "string", }, "Code": { AllowedChoices: []string{}, ConvertedName: "Code", Description: `OIDC ceremony code.`, Exposed: true, Name: "code", Type: "string", }, "NoAuthRedirect": { AllowedChoices: []string{}, ConvertedName: "NoAuthRedirect", Description: `If set, instruct the server to return the OIDC auth url in authURL instead of performing an HTTP redirection.`, Exposed: true, Name: "noAuthRedirect", Type: "boolean", }, "RedirectErrorURL": { AllowedChoices: []string{}, ConvertedName: "RedirectErrorURL", Description: `OIDC redirect url in case of error.`, Exposed: true, Name: "redirectErrorURL", Type: "string", }, "RedirectURL": { AllowedChoices: []string{}, ConvertedName: "RedirectURL", Description: `OIDC redirect url.`, Exposed: true, Name: "redirectURL", Type: "string", }, "State": { AllowedChoices: []string{}, ConvertedName: "State", Description: `OIDC ceremony state.`, Exposed: true, Name: "state", Type: "string", }, }
IssueOIDCAttributesMap represents the map of attribute for IssueOIDC.
var IssueOIDCLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{ "authurl": { AllowedChoices: []string{}, ConvertedName: "AuthURL", Description: `Contains the auth URL is noAuthRedirect is set to true.`, Exposed: true, Name: "authURL", ReadOnly: true, Type: "string", }, "code": { AllowedChoices: []string{}, ConvertedName: "Code", Description: `OIDC ceremony code.`, Exposed: true, Name: "code", Type: "string", }, "noauthredirect": { AllowedChoices: []string{}, ConvertedName: "NoAuthRedirect", Description: `If set, instruct the server to return the OIDC auth url in authURL instead of performing an HTTP redirection.`, Exposed: true, Name: "noAuthRedirect", Type: "boolean", }, "redirecterrorurl": { AllowedChoices: []string{}, ConvertedName: "RedirectErrorURL", Description: `OIDC redirect url in case of error.`, Exposed: true, Name: "redirectErrorURL", Type: "string", }, "redirecturl": { AllowedChoices: []string{}, ConvertedName: "RedirectURL", Description: `OIDC redirect url.`, Exposed: true, Name: "redirectURL", Type: "string", }, "state": { AllowedChoices: []string{}, ConvertedName: "State", Description: `OIDC ceremony state.`, Exposed: true, Name: "state", Type: "string", }, }
IssueOIDCLowerCaseAttributesMap represents the map of attribute for IssueOIDC.
var IssueRemoteA3SAttributesMap = map[string]elemental.AttributeSpecification{ "Token": { AllowedChoices: []string{}, ConvertedName: "Token", Description: `The remote a3s token.`, Exposed: true, Name: "token", Required: true, Type: "string", }, }
IssueRemoteA3SAttributesMap represents the map of attribute for IssueRemoteA3S.
var IssueRemoteA3SLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{ "token": { AllowedChoices: []string{}, ConvertedName: "Token", Description: `The remote a3s token.`, Exposed: true, Name: "token", Required: true, Type: "string", }, }
IssueRemoteA3SLowerCaseAttributesMap represents the map of attribute for IssueRemoteA3S.
var LDAPSourceAttributesMap = map[string]elemental.AttributeSpecification{ "CA": { AllowedChoices: []string{}, BSONFieldName: "ca", ConvertedName: "CA", Description: `Can be left empty if the LDAP server's certificate is signed by a public, trusted certificate authority. Otherwise, include the public key of the certificate authority that signed the LDAP server's certificate.`, Exposed: true, Name: "CA", Stored: true, Type: "string", }, "ID": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "_id", ConvertedName: "ID", Description: `ID is the identifier of the object.`, Exposed: true, Getter: true, Identifier: true, Name: "ID", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "Address": { AllowedChoices: []string{}, BSONFieldName: "address", ConvertedName: "Address", Description: `IP address or FQDN of the LDAP server.`, Exposed: true, Name: "address", Required: true, Stored: true, Type: "string", }, "BaseDN": { AllowedChoices: []string{}, BSONFieldName: "basedn", ConvertedName: "BaseDN", Description: `The base distinguished name (DN) to use for LDAP queries.`, Exposed: true, Name: "baseDN", Required: true, Stored: true, Type: "string", }, "BindDN": { AllowedChoices: []string{}, BSONFieldName: "binddn", ConvertedName: "BindDN", Description: `The DN to use to bind to the LDAP server.`, Exposed: true, Name: "bindDN", Required: true, Stored: true, Type: "string", }, "BindPassword": { AllowedChoices: []string{}, BSONFieldName: "bindpassword", ConvertedName: "BindPassword", Description: `Password to be used with the ` + "`" + `bindDN` + "`" + ` to authenticate to the LDAP server.`, Encrypted: true, Exposed: true, Name: "bindPassword", Required: true, Secret: true, Stored: true, Transient: true, Type: "string", }, "BindSearchFilter": { AllowedChoices: []string{}, BSONFieldName: "bindsearchfilter", ConvertedName: "BindSearchFilter", DefaultValue: "uid={USERNAME}", Description: `The filter to use to locate the relevant user accounts. For Windows-based systems, the value may be ` + "`" + `sAMAccountName={USERNAME}` + "`" + `. For Linux and other systems, the value may be ` + "`" + `uid={USERNAME}` + "`" + `.`, Exposed: true, Name: "bindSearchFilter", Orderable: true, Stored: true, Type: "string", }, "CreateTime": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "createtime", ConvertedName: "CreateTime", Description: `Creation date of the object.`, Exposed: true, Getter: true, Name: "createTime", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "time", }, "Description": { AllowedChoices: []string{}, BSONFieldName: "description", ConvertedName: "Description", Description: `The description of the object.`, Exposed: true, Name: "description", Stored: true, Type: "string", }, "IgnoredKeys": { AllowedChoices: []string{}, BSONFieldName: "ignoredkeys", ConvertedName: "IgnoredKeys", Description: `A list of keys that must not be imported into the identity token. If ` + "`" + `includedKeys` + "`" + ` is also set, and a key is in both lists, the key will be ignored.`, Exposed: true, Name: "ignoredKeys", Stored: true, SubType: "string", Type: "list", }, "ImportHash": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "importhash", ConvertedName: "ImportHash", Description: `The hash of the structure used to compare with new import version.`, Exposed: true, Getter: true, Name: "importHash", ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "ImportLabel": { AllowedChoices: []string{}, BSONFieldName: "importlabel", ConvertedName: "ImportLabel", CreationOnly: true, Description: `The user-defined import label that allows the system to group resources from the same import operation.`, Exposed: true, Getter: true, Name: "importLabel", Setter: true, Stored: true, Type: "string", }, "IncludedKeys": { AllowedChoices: []string{}, BSONFieldName: "includedkeys", ConvertedName: "IncludedKeys", Description: `A list of keys that must be imported into the identity token. If ` + "`" + `ignoredKeys` + "`" + ` is also set, and a key is in both lists, the key will be ignored.`, Exposed: true, Name: "includedKeys", Stored: true, SubType: "string", Type: "list", }, "Modifier": { AllowedChoices: []string{}, BSONFieldName: "modifier", ConvertedName: "Modifier", Description: `Contains optional information about a remote service that can be used to modify the claims that are about to be delivered using this authentication source.`, Exposed: true, Name: "modifier", Stored: true, SubType: "identitymodifier", Type: "ref", }, "Name": { AllowedChoices: []string{}, BSONFieldName: "name", ConvertedName: "Name", Description: `The name of the source.`, Exposed: true, Name: "name", Required: true, Stored: true, Type: "string", }, "Namespace": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "namespace", ConvertedName: "Namespace", Description: `The namespace of the object.`, Exposed: true, Getter: true, Name: "namespace", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "SecurityProtocol": { AllowedChoices: []string{"TLS", "InbandTLS", "None"}, BSONFieldName: "securityprotocol", ConvertedName: "SecurityProtocol", DefaultValue: LDAPSourceSecurityProtocolTLS, Description: `Specifies the connection type for the LDAP provider.`, Exposed: true, Name: "securityProtocol", Stored: true, Type: "enum", }, "UpdateTime": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "updatetime", ConvertedName: "UpdateTime", Description: `Last update date of the object.`, Exposed: true, Getter: true, Name: "updateTime", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "time", }, "ZHash": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "zhash", ConvertedName: "ZHash", Description: `Hash of the object used to shard the data.`, Getter: true, Name: "zHash", ReadOnly: true, Setter: true, Stored: true, Type: "integer", }, "Zone": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "zone", ConvertedName: "Zone", Description: `Sharding zone.`, Getter: true, Name: "zone", ReadOnly: true, Setter: true, Stored: true, Transient: true, Type: "integer", }, }
LDAPSourceAttributesMap represents the map of attribute for LDAPSource.
var LDAPSourceIdentity = elemental.Identity{ Name: "ldapsource", Category: "ldapsources", Package: "a3s", Private: false, }
LDAPSourceIdentity represents the Identity of the object.
var LDAPSourceLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{ "ca": { AllowedChoices: []string{}, BSONFieldName: "ca", ConvertedName: "CA", Description: `Can be left empty if the LDAP server's certificate is signed by a public, trusted certificate authority. Otherwise, include the public key of the certificate authority that signed the LDAP server's certificate.`, Exposed: true, Name: "CA", Stored: true, Type: "string", }, "id": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "_id", ConvertedName: "ID", Description: `ID is the identifier of the object.`, Exposed: true, Getter: true, Identifier: true, Name: "ID", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "address": { AllowedChoices: []string{}, BSONFieldName: "address", ConvertedName: "Address", Description: `IP address or FQDN of the LDAP server.`, Exposed: true, Name: "address", Required: true, Stored: true, Type: "string", }, "basedn": { AllowedChoices: []string{}, BSONFieldName: "basedn", ConvertedName: "BaseDN", Description: `The base distinguished name (DN) to use for LDAP queries.`, Exposed: true, Name: "baseDN", Required: true, Stored: true, Type: "string", }, "binddn": { AllowedChoices: []string{}, BSONFieldName: "binddn", ConvertedName: "BindDN", Description: `The DN to use to bind to the LDAP server.`, Exposed: true, Name: "bindDN", Required: true, Stored: true, Type: "string", }, "bindpassword": { AllowedChoices: []string{}, BSONFieldName: "bindpassword", ConvertedName: "BindPassword", Description: `Password to be used with the ` + "`" + `bindDN` + "`" + ` to authenticate to the LDAP server.`, Encrypted: true, Exposed: true, Name: "bindPassword", Required: true, Secret: true, Stored: true, Transient: true, Type: "string", }, "bindsearchfilter": { AllowedChoices: []string{}, BSONFieldName: "bindsearchfilter", ConvertedName: "BindSearchFilter", DefaultValue: "uid={USERNAME}", Description: `The filter to use to locate the relevant user accounts. For Windows-based systems, the value may be ` + "`" + `sAMAccountName={USERNAME}` + "`" + `. For Linux and other systems, the value may be ` + "`" + `uid={USERNAME}` + "`" + `.`, Exposed: true, Name: "bindSearchFilter", Orderable: true, Stored: true, Type: "string", }, "createtime": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "createtime", ConvertedName: "CreateTime", Description: `Creation date of the object.`, Exposed: true, Getter: true, Name: "createTime", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "time", }, "description": { AllowedChoices: []string{}, BSONFieldName: "description", ConvertedName: "Description", Description: `The description of the object.`, Exposed: true, Name: "description", Stored: true, Type: "string", }, "ignoredkeys": { AllowedChoices: []string{}, BSONFieldName: "ignoredkeys", ConvertedName: "IgnoredKeys", Description: `A list of keys that must not be imported into the identity token. If ` + "`" + `includedKeys` + "`" + ` is also set, and a key is in both lists, the key will be ignored.`, Exposed: true, Name: "ignoredKeys", Stored: true, SubType: "string", Type: "list", }, "importhash": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "importhash", ConvertedName: "ImportHash", Description: `The hash of the structure used to compare with new import version.`, Exposed: true, Getter: true, Name: "importHash", ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "importlabel": { AllowedChoices: []string{}, BSONFieldName: "importlabel", ConvertedName: "ImportLabel", CreationOnly: true, Description: `The user-defined import label that allows the system to group resources from the same import operation.`, Exposed: true, Getter: true, Name: "importLabel", Setter: true, Stored: true, Type: "string", }, "includedkeys": { AllowedChoices: []string{}, BSONFieldName: "includedkeys", ConvertedName: "IncludedKeys", Description: `A list of keys that must be imported into the identity token. If ` + "`" + `ignoredKeys` + "`" + ` is also set, and a key is in both lists, the key will be ignored.`, Exposed: true, Name: "includedKeys", Stored: true, SubType: "string", Type: "list", }, "modifier": { AllowedChoices: []string{}, BSONFieldName: "modifier", ConvertedName: "Modifier", Description: `Contains optional information about a remote service that can be used to modify the claims that are about to be delivered using this authentication source.`, Exposed: true, Name: "modifier", Stored: true, SubType: "identitymodifier", Type: "ref", }, "name": { AllowedChoices: []string{}, BSONFieldName: "name", ConvertedName: "Name", Description: `The name of the source.`, Exposed: true, Name: "name", Required: true, Stored: true, Type: "string", }, "namespace": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "namespace", ConvertedName: "Namespace", Description: `The namespace of the object.`, Exposed: true, Getter: true, Name: "namespace", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "securityprotocol": { AllowedChoices: []string{"TLS", "InbandTLS", "None"}, BSONFieldName: "securityprotocol", ConvertedName: "SecurityProtocol", DefaultValue: LDAPSourceSecurityProtocolTLS, Description: `Specifies the connection type for the LDAP provider.`, Exposed: true, Name: "securityProtocol", Stored: true, Type: "enum", }, "updatetime": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "updatetime", ConvertedName: "UpdateTime", Description: `Last update date of the object.`, Exposed: true, Getter: true, Name: "updateTime", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "time", }, "zhash": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "zhash", ConvertedName: "ZHash", Description: `Hash of the object used to shard the data.`, Getter: true, Name: "zHash", ReadOnly: true, Setter: true, Stored: true, Type: "integer", }, "zone": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "zone", ConvertedName: "Zone", Description: `Sharding zone.`, Getter: true, Name: "zone", ReadOnly: true, Setter: true, Stored: true, Transient: true, Type: "integer", }, }
LDAPSourceLowerCaseAttributesMap represents the map of attribute for LDAPSource.
var MTLSSourceAttributesMap = map[string]elemental.AttributeSpecification{ "CA": { AllowedChoices: []string{}, BSONFieldName: "ca", ConvertedName: "CA", Description: `The Certificate authority to use to validate user certificates in PEM format.`, Exposed: true, Name: "CA", Required: true, Stored: true, Type: "string", }, "ID": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "_id", ConvertedName: "ID", Description: `ID is the identifier of the object.`, Exposed: true, Getter: true, Identifier: true, Name: "ID", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "CreateTime": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "createtime", ConvertedName: "CreateTime", Description: `Creation date of the object.`, Exposed: true, Getter: true, Name: "createTime", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "time", }, "Description": { AllowedChoices: []string{}, BSONFieldName: "description", ConvertedName: "Description", Description: `The description of the object.`, Exposed: true, Name: "description", Stored: true, Type: "string", }, "Fingerprints": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "fingerprints", ConvertedName: "Fingerprints", Description: `The fingerprint of the CAs in the chain.`, Exposed: true, Name: "fingerprints", ReadOnly: true, Stored: true, SubType: "string", Type: "list", }, "ImportHash": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "importhash", ConvertedName: "ImportHash", Description: `The hash of the structure used to compare with new import version.`, Exposed: true, Getter: true, Name: "importHash", ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "ImportLabel": { AllowedChoices: []string{}, BSONFieldName: "importlabel", ConvertedName: "ImportLabel", CreationOnly: true, Description: `The user-defined import label that allows the system to group resources from the same import operation.`, Exposed: true, Getter: true, Name: "importLabel", Setter: true, Stored: true, Type: "string", }, "Modifier": { AllowedChoices: []string{}, BSONFieldName: "modifier", ConvertedName: "Modifier", Description: `Contains optional information about a remote service that can be used to modify the claims that are about to be delivered using this authentication source.`, Exposed: true, Name: "modifier", Stored: true, SubType: "identitymodifier", Type: "ref", }, "Name": { AllowedChoices: []string{}, BSONFieldName: "name", ConvertedName: "Name", Description: `The name of the source.`, Exposed: true, Name: "name", Required: true, Stored: true, Type: "string", }, "Namespace": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "namespace", ConvertedName: "Namespace", Description: `The namespace of the object.`, Exposed: true, Getter: true, Name: "namespace", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "SubjectKeyIDs": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "subjectkeyids", ConvertedName: "SubjectKeyIDs", Description: `Value of the CAs X.509 SubjectKeyIDs in the chain.`, Exposed: true, Name: "subjectKeyIDs", ReadOnly: true, Stored: true, SubType: "string", Type: "list", }, "UpdateTime": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "updatetime", ConvertedName: "UpdateTime", Description: `Last update date of the object.`, Exposed: true, Getter: true, Name: "updateTime", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "time", }, "ZHash": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "zhash", ConvertedName: "ZHash", Description: `Hash of the object used to shard the data.`, Getter: true, Name: "zHash", ReadOnly: true, Setter: true, Stored: true, Type: "integer", }, "Zone": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "zone", ConvertedName: "Zone", Description: `Sharding zone.`, Getter: true, Name: "zone", ReadOnly: true, Setter: true, Stored: true, Transient: true, Type: "integer", }, }
MTLSSourceAttributesMap represents the map of attribute for MTLSSource.
var MTLSSourceIdentity = elemental.Identity{ Name: "mtlssource", Category: "mtlssources", Package: "a3s", Private: false, }
MTLSSourceIdentity represents the Identity of the object.
var MTLSSourceLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{ "ca": { AllowedChoices: []string{}, BSONFieldName: "ca", ConvertedName: "CA", Description: `The Certificate authority to use to validate user certificates in PEM format.`, Exposed: true, Name: "CA", Required: true, Stored: true, Type: "string", }, "id": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "_id", ConvertedName: "ID", Description: `ID is the identifier of the object.`, Exposed: true, Getter: true, Identifier: true, Name: "ID", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "createtime": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "createtime", ConvertedName: "CreateTime", Description: `Creation date of the object.`, Exposed: true, Getter: true, Name: "createTime", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "time", }, "description": { AllowedChoices: []string{}, BSONFieldName: "description", ConvertedName: "Description", Description: `The description of the object.`, Exposed: true, Name: "description", Stored: true, Type: "string", }, "fingerprints": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "fingerprints", ConvertedName: "Fingerprints", Description: `The fingerprint of the CAs in the chain.`, Exposed: true, Name: "fingerprints", ReadOnly: true, Stored: true, SubType: "string", Type: "list", }, "importhash": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "importhash", ConvertedName: "ImportHash", Description: `The hash of the structure used to compare with new import version.`, Exposed: true, Getter: true, Name: "importHash", ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "importlabel": { AllowedChoices: []string{}, BSONFieldName: "importlabel", ConvertedName: "ImportLabel", CreationOnly: true, Description: `The user-defined import label that allows the system to group resources from the same import operation.`, Exposed: true, Getter: true, Name: "importLabel", Setter: true, Stored: true, Type: "string", }, "modifier": { AllowedChoices: []string{}, BSONFieldName: "modifier", ConvertedName: "Modifier", Description: `Contains optional information about a remote service that can be used to modify the claims that are about to be delivered using this authentication source.`, Exposed: true, Name: "modifier", Stored: true, SubType: "identitymodifier", Type: "ref", }, "name": { AllowedChoices: []string{}, BSONFieldName: "name", ConvertedName: "Name", Description: `The name of the source.`, Exposed: true, Name: "name", Required: true, Stored: true, Type: "string", }, "namespace": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "namespace", ConvertedName: "Namespace", Description: `The namespace of the object.`, Exposed: true, Getter: true, Name: "namespace", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "subjectkeyids": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "subjectkeyids", ConvertedName: "SubjectKeyIDs", Description: `Value of the CAs X.509 SubjectKeyIDs in the chain.`, Exposed: true, Name: "subjectKeyIDs", ReadOnly: true, Stored: true, SubType: "string", Type: "list", }, "updatetime": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "updatetime", ConvertedName: "UpdateTime", Description: `Last update date of the object.`, Exposed: true, Getter: true, Name: "updateTime", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "time", }, "zhash": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "zhash", ConvertedName: "ZHash", Description: `Hash of the object used to shard the data.`, Getter: true, Name: "zHash", ReadOnly: true, Setter: true, Stored: true, Type: "integer", }, "zone": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "zone", ConvertedName: "Zone", Description: `Sharding zone.`, Getter: true, Name: "zone", ReadOnly: true, Setter: true, Stored: true, Transient: true, Type: "integer", }, }
MTLSSourceLowerCaseAttributesMap represents the map of attribute for MTLSSource.
var NamespaceAttributesMap = map[string]elemental.AttributeSpecification{ "ID": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "_id", ConvertedName: "ID", Description: `ID is the identifier of the object.`, Exposed: true, Getter: true, Identifier: true, Name: "ID", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "CreateTime": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "createtime", ConvertedName: "CreateTime", Description: `Creation date of the object.`, Exposed: true, Getter: true, Name: "createTime", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "time", }, "Description": { AllowedChoices: []string{}, BSONFieldName: "description", ConvertedName: "Description", Description: `The description of the object.`, Exposed: true, Name: "description", Stored: true, Type: "string", }, "Name": { AllowedChars: `^[a-zA-Z0-9-_/]+$`, AllowedChoices: []string{}, BSONFieldName: "name", ConvertedName: "Name", CreationOnly: true, Description: `The name of the namespace. When you create a namespace, only put its bare name, not its full path.`, Exposed: true, Getter: true, Name: "name", Required: true, Setter: true, Stored: true, Type: "string", }, "Namespace": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "namespace", ConvertedName: "Namespace", Description: `The namespace of the object.`, Exposed: true, Getter: true, Name: "namespace", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "UpdateTime": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "updatetime", ConvertedName: "UpdateTime", Description: `Last update date of the object.`, Exposed: true, Getter: true, Name: "updateTime", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "time", }, "ZHash": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "zhash", ConvertedName: "ZHash", Description: `Hash of the object used to shard the data.`, Getter: true, Name: "zHash", ReadOnly: true, Setter: true, Stored: true, Type: "integer", }, "Zone": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "zone", ConvertedName: "Zone", Description: `Sharding zone.`, Getter: true, Name: "zone", ReadOnly: true, Setter: true, Stored: true, Transient: true, Type: "integer", }, }
NamespaceAttributesMap represents the map of attribute for Namespace.
var NamespaceDeletionRecordAttributesMap = map[string]elemental.AttributeSpecification{ "ID": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "_id", ConvertedName: "ID", Description: `ID is the identifier of the object.`, Exposed: true, Getter: true, Identifier: true, Name: "ID", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "DeleteTime": { AllowedChoices: []string{}, BSONFieldName: "deletetime", ConvertedName: "DeleteTime", Description: `Deletion date of the object.`, Exposed: true, Name: "deleteTime", Stored: true, Type: "time", }, "Namespace": { AllowedChoices: []string{}, BSONFieldName: "namespace", ConvertedName: "Namespace", Description: `Namespace that got deleted.`, Exposed: true, Name: "namespace", Stored: true, Type: "string", }, "ZHash": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "zhash", ConvertedName: "ZHash", Description: `Hash of the object used to shard the data.`, Getter: true, Name: "zHash", ReadOnly: true, Setter: true, Stored: true, Type: "integer", }, "Zone": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "zone", ConvertedName: "Zone", Description: `Sharding zone.`, Getter: true, Name: "zone", ReadOnly: true, Setter: true, Stored: true, Transient: true, Type: "integer", }, }
NamespaceDeletionRecordAttributesMap represents the map of attribute for NamespaceDeletionRecord.
var NamespaceDeletionRecordIdentity = elemental.Identity{ Name: "namespacedeletionrecord", Category: "namespacedeletionrecords", Package: "a3s", Private: false, }
NamespaceDeletionRecordIdentity represents the Identity of the object.
var NamespaceDeletionRecordLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{ "id": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "_id", ConvertedName: "ID", Description: `ID is the identifier of the object.`, Exposed: true, Getter: true, Identifier: true, Name: "ID", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "deletetime": { AllowedChoices: []string{}, BSONFieldName: "deletetime", ConvertedName: "DeleteTime", Description: `Deletion date of the object.`, Exposed: true, Name: "deleteTime", Stored: true, Type: "time", }, "namespace": { AllowedChoices: []string{}, BSONFieldName: "namespace", ConvertedName: "Namespace", Description: `Namespace that got deleted.`, Exposed: true, Name: "namespace", Stored: true, Type: "string", }, "zhash": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "zhash", ConvertedName: "ZHash", Description: `Hash of the object used to shard the data.`, Getter: true, Name: "zHash", ReadOnly: true, Setter: true, Stored: true, Type: "integer", }, "zone": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "zone", ConvertedName: "Zone", Description: `Sharding zone.`, Getter: true, Name: "zone", ReadOnly: true, Setter: true, Stored: true, Transient: true, Type: "integer", }, }
NamespaceDeletionRecordLowerCaseAttributesMap represents the map of attribute for NamespaceDeletionRecord.
var NamespaceIdentity = elemental.Identity{ Name: "namespace", Category: "namespaces", Package: "a3s", Private: false, }
NamespaceIdentity represents the Identity of the object.
var NamespaceLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{ "id": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "_id", ConvertedName: "ID", Description: `ID is the identifier of the object.`, Exposed: true, Getter: true, Identifier: true, Name: "ID", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "createtime": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "createtime", ConvertedName: "CreateTime", Description: `Creation date of the object.`, Exposed: true, Getter: true, Name: "createTime", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "time", }, "description": { AllowedChoices: []string{}, BSONFieldName: "description", ConvertedName: "Description", Description: `The description of the object.`, Exposed: true, Name: "description", Stored: true, Type: "string", }, "name": { AllowedChars: `^[a-zA-Z0-9-_/]+$`, AllowedChoices: []string{}, BSONFieldName: "name", ConvertedName: "Name", CreationOnly: true, Description: `The name of the namespace. When you create a namespace, only put its bare name, not its full path.`, Exposed: true, Getter: true, Name: "name", Required: true, Setter: true, Stored: true, Type: "string", }, "namespace": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "namespace", ConvertedName: "Namespace", Description: `The namespace of the object.`, Exposed: true, Getter: true, Name: "namespace", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "updatetime": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "updatetime", ConvertedName: "UpdateTime", Description: `Last update date of the object.`, Exposed: true, Getter: true, Name: "updateTime", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "time", }, "zhash": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "zhash", ConvertedName: "ZHash", Description: `Hash of the object used to shard the data.`, Getter: true, Name: "zHash", ReadOnly: true, Setter: true, Stored: true, Type: "integer", }, "zone": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "zone", ConvertedName: "Zone", Description: `Sharding zone.`, Getter: true, Name: "zone", ReadOnly: true, Setter: true, Stored: true, Transient: true, Type: "integer", }, }
NamespaceLowerCaseAttributesMap represents the map of attribute for Namespace.
var OIDCSourceAttributesMap = map[string]elemental.AttributeSpecification{ "CA": { AllowedChoices: []string{}, BSONFieldName: "ca", ConvertedName: "CA", Description: `The Certificate authority to use to validate the authenticity of the OIDC server. If left empty, the system trust stroe will be used. In most of the cases, you don't need to set this.`, Exposed: true, Name: "CA", Stored: true, Type: "string", }, "ID": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "_id", ConvertedName: "ID", Description: `ID is the identifier of the object.`, Exposed: true, Getter: true, Identifier: true, Name: "ID", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "ClientID": { AllowedChoices: []string{}, BSONFieldName: "clientid", ConvertedName: "ClientID", Description: `Unique client ID.`, Exposed: true, Name: "clientID", Required: true, Stored: true, Type: "string", }, "ClientSecret": { AllowedChoices: []string{}, BSONFieldName: "clientsecret", ConvertedName: "ClientSecret", Description: `Client secret associated with the client ID.`, Encrypted: true, Exposed: true, Name: "clientSecret", Required: true, Stored: true, Type: "string", }, "CreateTime": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "createtime", ConvertedName: "CreateTime", Description: `Creation date of the object.`, Exposed: true, Getter: true, Name: "createTime", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "time", }, "Description": { AllowedChoices: []string{}, BSONFieldName: "description", ConvertedName: "Description", Description: `The description of the object.`, Exposed: true, Name: "description", Stored: true, Type: "string", }, "Endpoint": { AllowedChoices: []string{}, BSONFieldName: "endpoint", ConvertedName: "Endpoint", Description: `OIDC [discovery endpoint](https://openid.net/specs/openid-connect-discovery-1_0.html#IssuerDiscovery).`, Exposed: true, Name: "endpoint", Required: true, Stored: true, Type: "string", }, "ImportHash": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "importhash", ConvertedName: "ImportHash", Description: `The hash of the structure used to compare with new import version.`, Exposed: true, Getter: true, Name: "importHash", ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "ImportLabel": { AllowedChoices: []string{}, BSONFieldName: "importlabel", ConvertedName: "ImportLabel", CreationOnly: true, Description: `The user-defined import label that allows the system to group resources from the same import operation.`, Exposed: true, Getter: true, Name: "importLabel", Setter: true, Stored: true, Type: "string", }, "Modifier": { AllowedChoices: []string{}, BSONFieldName: "modifier", ConvertedName: "Modifier", Description: `Contains optional information about a remote service that can be used to modify the claims that are about to be delivered using this authentication source.`, Exposed: true, Name: "modifier", Stored: true, SubType: "identitymodifier", Type: "ref", }, "Name": { AllowedChoices: []string{}, BSONFieldName: "name", ConvertedName: "Name", Description: `The name of the source.`, Exposed: true, Name: "name", Required: true, Stored: true, Type: "string", }, "Namespace": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "namespace", ConvertedName: "Namespace", Description: `The namespace of the object.`, Exposed: true, Getter: true, Name: "namespace", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "Scopes": { AllowedChoices: []string{}, BSONFieldName: "scopes", ConvertedName: "Scopes", Description: `List of scopes to allow.`, Exposed: true, Name: "scopes", Stored: true, SubType: "string", Type: "list", }, "UpdateTime": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "updatetime", ConvertedName: "UpdateTime", Description: `Last update date of the object.`, Exposed: true, Getter: true, Name: "updateTime", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "time", }, "ZHash": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "zhash", ConvertedName: "ZHash", Description: `Hash of the object used to shard the data.`, Getter: true, Name: "zHash", ReadOnly: true, Setter: true, Stored: true, Type: "integer", }, "Zone": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "zone", ConvertedName: "Zone", Description: `Sharding zone.`, Getter: true, Name: "zone", ReadOnly: true, Setter: true, Stored: true, Transient: true, Type: "integer", }, }
OIDCSourceAttributesMap represents the map of attribute for OIDCSource.
var OIDCSourceIdentity = elemental.Identity{ Name: "oidcsource", Category: "oidcsources", Package: "a3s", Private: false, }
OIDCSourceIdentity represents the Identity of the object.
var OIDCSourceLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{ "ca": { AllowedChoices: []string{}, BSONFieldName: "ca", ConvertedName: "CA", Description: `The Certificate authority to use to validate the authenticity of the OIDC server. If left empty, the system trust stroe will be used. In most of the cases, you don't need to set this.`, Exposed: true, Name: "CA", Stored: true, Type: "string", }, "id": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "_id", ConvertedName: "ID", Description: `ID is the identifier of the object.`, Exposed: true, Getter: true, Identifier: true, Name: "ID", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "clientid": { AllowedChoices: []string{}, BSONFieldName: "clientid", ConvertedName: "ClientID", Description: `Unique client ID.`, Exposed: true, Name: "clientID", Required: true, Stored: true, Type: "string", }, "clientsecret": { AllowedChoices: []string{}, BSONFieldName: "clientsecret", ConvertedName: "ClientSecret", Description: `Client secret associated with the client ID.`, Encrypted: true, Exposed: true, Name: "clientSecret", Required: true, Stored: true, Type: "string", }, "createtime": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "createtime", ConvertedName: "CreateTime", Description: `Creation date of the object.`, Exposed: true, Getter: true, Name: "createTime", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "time", }, "description": { AllowedChoices: []string{}, BSONFieldName: "description", ConvertedName: "Description", Description: `The description of the object.`, Exposed: true, Name: "description", Stored: true, Type: "string", }, "endpoint": { AllowedChoices: []string{}, BSONFieldName: "endpoint", ConvertedName: "Endpoint", Description: `OIDC [discovery endpoint](https://openid.net/specs/openid-connect-discovery-1_0.html#IssuerDiscovery).`, Exposed: true, Name: "endpoint", Required: true, Stored: true, Type: "string", }, "importhash": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "importhash", ConvertedName: "ImportHash", Description: `The hash of the structure used to compare with new import version.`, Exposed: true, Getter: true, Name: "importHash", ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "importlabel": { AllowedChoices: []string{}, BSONFieldName: "importlabel", ConvertedName: "ImportLabel", CreationOnly: true, Description: `The user-defined import label that allows the system to group resources from the same import operation.`, Exposed: true, Getter: true, Name: "importLabel", Setter: true, Stored: true, Type: "string", }, "modifier": { AllowedChoices: []string{}, BSONFieldName: "modifier", ConvertedName: "Modifier", Description: `Contains optional information about a remote service that can be used to modify the claims that are about to be delivered using this authentication source.`, Exposed: true, Name: "modifier", Stored: true, SubType: "identitymodifier", Type: "ref", }, "name": { AllowedChoices: []string{}, BSONFieldName: "name", ConvertedName: "Name", Description: `The name of the source.`, Exposed: true, Name: "name", Required: true, Stored: true, Type: "string", }, "namespace": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "namespace", ConvertedName: "Namespace", Description: `The namespace of the object.`, Exposed: true, Getter: true, Name: "namespace", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "string", }, "scopes": { AllowedChoices: []string{}, BSONFieldName: "scopes", ConvertedName: "Scopes", Description: `List of scopes to allow.`, Exposed: true, Name: "scopes", Stored: true, SubType: "string", Type: "list", }, "updatetime": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "updatetime", ConvertedName: "UpdateTime", Description: `Last update date of the object.`, Exposed: true, Getter: true, Name: "updateTime", Orderable: true, ReadOnly: true, Setter: true, Stored: true, Type: "time", }, "zhash": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "zhash", ConvertedName: "ZHash", Description: `Hash of the object used to shard the data.`, Getter: true, Name: "zHash", ReadOnly: true, Setter: true, Stored: true, Type: "integer", }, "zone": { AllowedChoices: []string{}, Autogenerated: true, BSONFieldName: "zone", ConvertedName: "Zone", Description: `Sharding zone.`, Getter: true, Name: "zone", ReadOnly: true, Setter: true, Stored: true, Transient: true, Type: "integer", }, }
OIDCSourceLowerCaseAttributesMap represents the map of attribute for OIDCSource.
var PermissionsAttributesMap = map[string]elemental.AttributeSpecification{ "ID": { AllowedChoices: []string{}, ConvertedName: "ID", Description: `The optional ID of the object to check permission for.`, Exposed: true, Name: "ID", Type: "string", }, "IP": { AllowedChoices: []string{}, ConvertedName: "IP", Description: `IP of the client.`, Exposed: true, Name: "IP", Type: "string", }, "Claims": { AllowedChoices: []string{}, ConvertedName: "Claims", Description: `The list of claims.`, Exposed: true, Name: "claims", Required: true, SubType: "string", Type: "list", }, "Error": { AllowedChoices: []string{}, Autogenerated: true, ConvertedName: "Error", Description: `Return an eventual error.`, Exposed: true, Name: "error", ReadOnly: true, Type: "string", }, "Namespace": { AllowedChoices: []string{}, ConvertedName: "Namespace", Description: `The namespace where to check permission from.`, Exposed: true, Name: "namespace", Required: true, Type: "string", }, "OffloadPermissionsRestrictions": { AllowedChoices: []string{}, ConvertedName: "OffloadPermissionsRestrictions", Description: `If true, skips computing restriction intersections.`, Exposed: true, Name: "offloadPermissionsRestrictions", Type: "boolean", }, "Permissions": { AllowedChoices: []string{}, Autogenerated: true, ConvertedName: "Permissions", Description: `The computed permissions.`, Exposed: true, Name: "permissions", ReadOnly: true, SubType: "map[string]map[string]bool", Type: "external", }, "RestrictedNamespace": { AllowedChoices: []string{}, ConvertedName: "RestrictedNamespace", Description: `Sets the namespace restrictions that should apply.`, Exposed: true, Name: "restrictedNamespace", Type: "string", }, "RestrictedNetworks": { AllowedChoices: []string{}, ConvertedName: "RestrictedNetworks", Description: `Sets the networks restrictions that should apply.`, Exposed: true, Name: "restrictedNetworks", SubType: "string", Type: "list", }, "RestrictedPermissions": { AllowedChoices: []string{}, ConvertedName: "RestrictedPermissions", Description: `Sets the permissions restrictions that should apply.`, Exposed: true, Name: "restrictedPermissions", SubType: "string", Type: "list", }, }
PermissionsAttributesMap represents the map of attribute for Permissions.
var PermissionsIdentity = elemental.Identity{ Name: "permissions", Category: "permissions", Package: "a3s", Private: false, }
PermissionsIdentity represents the Identity of the object.
var PermissionsLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{ "id": { AllowedChoices: []string{}, ConvertedName: "ID", Description: `The optional ID of the object to check permission for.`, Exposed: true, Name: "ID", Type: "string", }, "ip": { AllowedChoices: []string{}, ConvertedName: "IP", Description: `IP of the client.`, Exposed: true, Name: "IP", Type: "string", }, "claims": { AllowedChoices: []string{}, ConvertedName: "Claims", Description: `The list of claims.`, Exposed: true, Name: "claims", Required: true, SubType: "string", Type: "list", }, "error": { AllowedChoices: []string{}, Autogenerated: true, ConvertedName: "Error", Description: `Return an eventual error.`, Exposed: true, Name: "error", ReadOnly: true, Type: "string", }, "namespace": { AllowedChoices: []string{}, ConvertedName: "Namespace", Description: `The namespace where to check permission from.`, Exposed: true, Name: "namespace", Required: true, Type: "string", }, "offloadpermissionsrestrictions": { AllowedChoices: []string{}, ConvertedName: "OffloadPermissionsRestrictions", Description: `If true, skips computing restriction intersections.`, Exposed: true, Name: "offloadPermissionsRestrictions", Type: "boolean", }, "permissions": { AllowedChoices: []string{}, Autogenerated: true, ConvertedName: "Permissions", Description: `The computed permissions.`, Exposed: true, Name: "permissions", ReadOnly: true, SubType: "map[string]map[string]bool", Type: "external", }, "restrictednamespace": { AllowedChoices: []string{}, ConvertedName: "RestrictedNamespace", Description: `Sets the namespace restrictions that should apply.`, Exposed: true, Name: "restrictedNamespace", Type: "string", }, "restrictednetworks": { AllowedChoices: []string{}, ConvertedName: "RestrictedNetworks", Description: `Sets the networks restrictions that should apply.`, Exposed: true, Name: "restrictedNetworks", SubType: "string", Type: "list", }, "restrictedpermissions": { AllowedChoices: []string{}, ConvertedName: "RestrictedPermissions", Description: `Sets the permissions restrictions that should apply.`, Exposed: true, Name: "restrictedPermissions", SubType: "string", Type: "list", }, }
PermissionsLowerCaseAttributesMap represents the map of attribute for Permissions.
var RootAttributesMap = map[string]elemental.AttributeSpecification{}
RootAttributesMap represents the map of attribute for Root.
var RootIdentity = elemental.Identity{ Name: "root", Category: "root", Package: "root", Private: false, }
RootIdentity represents the Identity of the object.
var RootLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{}
RootLowerCaseAttributesMap represents the map of attribute for Root.
Functions ¶
func AliasesForIdentity ¶
AliasesForIdentity returns all the aliases for the given identity.
func AllIdentities ¶
AllIdentities returns all existing identities.
func Manager ¶
func Manager() elemental.ModelManager
Manager returns the model elemental.ModelManager.
func ModelVersion ¶
func ModelVersion() float64
ModelVersion returns the current version of the model.
func ValidateAuthorizationSubject ¶
ValidateAuthorizationSubject makes sure api authorization subject is at least secured a bit.
func ValidateCIDR ¶
ValidateCIDR validates a CIDR.
func ValidateCIDRList ¶
ValidateCIDRList validates a list of CIDRS. The list cannot be empty
func ValidateCIDRListOptional ¶
ValidateCIDRListOptional validates a list of CIDRs. It can be empty.
func ValidateCIDROptional ¶
ValidateCIDROptional validates an optional CIDR. It can be empty.
func ValidateDuration ¶
ValidateDuration valides the given string is a parseable Go duration.
func ValidateIssue ¶
ValidateIssue validates a whole issue object.
func ValidatePEM ¶
ValidatePEM validates a string contains a PEM.
func ValidateTagsExpression ¶
ValidateTagsExpression validates an [][]string is a valid tag expression.
func ValidateURL ¶
ValidateURL validates the given value is a correct url.
Types ¶
type A3SSource ¶
type A3SSource struct { // The Certificate authority to use to validate the authenticity of the A3S // server. If left empty, the system trust stroe will be used. CA string `json:"CA" msgpack:"CA" bson:"ca" mapstructure:"CA,omitempty"` // ID is the identifier of the object. ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"` // The audience that must be present in the remote a3s token. Audience string `json:"audience" msgpack:"audience" bson:"audience" mapstructure:"audience,omitempty"` // Creation date of the object. CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"` // The description of the object. Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"` // Endpoint of the remote a3s server, in case it is different from the issuer. If // left empty, the issuer value will be used. Endpoint string `json:"endpoint" msgpack:"endpoint" bson:"endpoint" mapstructure:"endpoint,omitempty"` // The hash of the structure used to compare with new import version. ImportHash string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"` // The user-defined import label that allows the system to group resources from the // same import operation. ImportLabel string `` /* 126-byte string literal not displayed */ // The issuer that represents the remote a3s server. Issuer string `json:"issuer" msgpack:"issuer" bson:"issuer" mapstructure:"issuer,omitempty"` // Contains optional information about a remote service that can be used to modify // the claims that are about to be delivered using this authentication source. Modifier *IdentityModifier `json:"modifier,omitempty" msgpack:"modifier,omitempty" bson:"modifier,omitempty" mapstructure:"modifier,omitempty"` // The name of the source. Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"` // The namespace of the object. Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"` // Last update date of the object. UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"` // Hash of the object used to shard the data. ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"` // Sharding zone. Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"` ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"` }
A3SSource represents the model of a a3ssource
func (*A3SSource) AttributeSpecifications ¶
func (*A3SSource) AttributeSpecifications() map[string]elemental.AttributeSpecification
AttributeSpecifications returns the full attribute specifications map.
func (*A3SSource) DeepCopyInto ¶
DeepCopyInto copies the receiver into the given *A3SSource.
func (*A3SSource) DefaultOrder ¶
DefaultOrder returns the list of default ordering fields.
func (*A3SSource) GetCreateTime ¶ added in v0.11.0
GetCreateTime returns the CreateTime of the receiver.
func (*A3SSource) GetImportHash ¶
GetImportHash returns the ImportHash of the receiver.
func (*A3SSource) GetImportLabel ¶
GetImportLabel returns the ImportLabel of the receiver.
func (*A3SSource) GetNamespace ¶
GetNamespace returns the Namespace of the receiver.
func (*A3SSource) GetUpdateTime ¶ added in v0.11.0
GetUpdateTime returns the UpdateTime of the receiver.
func (*A3SSource) Identifier ¶
Identifier returns the value of the object's unique identifier.
func (*A3SSource) MarshalBSON ¶ added in v0.11.15
MarshalBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.
func (*A3SSource) Patch ¶
func (o *A3SSource) Patch(sparse elemental.SparseIdentifiable)
Patch apply the non nil value of a *SparseA3SSource to the object.
func (*A3SSource) SetCreateTime ¶ added in v0.11.0
SetCreateTime sets the property CreateTime of the receiver using the given value.
func (*A3SSource) SetIdentifier ¶
SetIdentifier sets the value of the object's unique identifier.
func (*A3SSource) SetImportHash ¶
SetImportHash sets the property ImportHash of the receiver using the given value.
func (*A3SSource) SetImportLabel ¶
SetImportLabel sets the property ImportLabel of the receiver using the given value.
func (*A3SSource) SetNamespace ¶
SetNamespace sets the property Namespace of the receiver using the given value.
func (*A3SSource) SetUpdateTime ¶ added in v0.11.0
SetUpdateTime sets the property UpdateTime of the receiver using the given value.
func (*A3SSource) SetZHash ¶
SetZHash sets the property ZHash of the receiver using the given value.
func (*A3SSource) SpecificationForAttribute ¶
func (*A3SSource) SpecificationForAttribute(name string) elemental.AttributeSpecification
SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.
func (*A3SSource) ToSparse ¶
func (o *A3SSource) ToSparse(fields ...string) elemental.SparseIdentifiable
ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.
func (*A3SSource) UnmarshalBSON ¶ added in v0.11.15
UnmarshalBSON implements the bson unmarshaling interface. This is used to transparently convert MongoDBID to ID.
func (*A3SSource) ValueForAttribute ¶
ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.
type A3SSourcesList ¶
type A3SSourcesList []*A3SSource
A3SSourcesList represents a list of A3SSources
func (A3SSourcesList) Append ¶
func (o A3SSourcesList) Append(objects ...elemental.Identifiable) elemental.Identifiables
Append appends the objects to the a new copy of the A3SSourcesList.
func (A3SSourcesList) Copy ¶
func (o A3SSourcesList) Copy() elemental.Identifiables
Copy returns a pointer to a copy the A3SSourcesList.
func (A3SSourcesList) DefaultOrder ¶
func (o A3SSourcesList) DefaultOrder() []string
DefaultOrder returns the default ordering fields of the content.
func (A3SSourcesList) Identity ¶
func (o A3SSourcesList) Identity() elemental.Identity
Identity returns the identity of the objects in the list.
func (A3SSourcesList) List ¶
func (o A3SSourcesList) List() elemental.IdentifiablesList
List converts the object to an elemental.IdentifiablesList.
func (A3SSourcesList) ToSparse ¶
func (o A3SSourcesList) ToSparse(fields ...string) elemental.Identifiables
ToSparse returns the A3SSourcesList converted to SparseA3SSourcesList. Objects in the list will only contain the given fields. No field means entire field set.
func (A3SSourcesList) Version ¶
func (o A3SSourcesList) Version() int
Version returns the version of the content.
type Authorization ¶
type Authorization struct { // ID is the identifier of the object. ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"` // Creation date of the object. CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"` // Description of the Authorization. Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"` // Set the authorization to be disabled. Disabled bool `json:"disabled" msgpack:"disabled" bson:"disabled" mapstructure:"disabled,omitempty"` // This is a set of all subject tags for matching in the DB. FlattenedSubject []string `json:"-" msgpack:"-" bson:"flattenedsubject" mapstructure:"-,omitempty"` // Hides the policies in children namespaces. Hidden bool `json:"hidden" msgpack:"hidden" bson:"hidden" mapstructure:"hidden,omitempty"` // The hash of the structure used to compare with new import version. ImportHash string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"` // The user-defined import label that allows the system to group resources from the // same import operation. ImportLabel string `` /* 126-byte string literal not displayed */ // The name of the Authorization. Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"` // The namespace of the object. Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"` // A list of permissions. Permissions []string `json:"permissions" msgpack:"permissions" bson:"permissions" mapstructure:"permissions,omitempty"` // Propagates the api authorization to all of its children. This is always true. Propagate bool `json:"-" msgpack:"-" bson:"propagate" mapstructure:"-,omitempty"` // A tag expression that identifies the authorized user(s). Subject [][]string `json:"subject" msgpack:"subject" bson:"subject" mapstructure:"subject,omitempty"` // If set, the API authorization will only be valid if the request comes from one // the declared subnets. Subnets []string `json:"subnets" msgpack:"subnets" bson:"subnets" mapstructure:"subnets,omitempty"` // Defines the namespace or namespaces in which the permission for subject should // apply. If empty, the object's namespace will be used. TargetNamespaces []string `json:"targetNamespaces" msgpack:"targetNamespaces" bson:"targetnamespaces" mapstructure:"targetNamespaces,omitempty"` // List of issuers to consider before using the policy for a given set of claims. TrustedIssuers []string `json:"trustedIssuers" msgpack:"trustedIssuers" bson:"trustedissuers" mapstructure:"trustedIssuers,omitempty"` // Last update date of the object. UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"` // Hash of the object used to shard the data. ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"` // Sharding zone. Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"` ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"` }
Authorization represents the model of a authorization
func NewAuthorization ¶
func NewAuthorization() *Authorization
NewAuthorization returns a new *Authorization
func (*Authorization) AttributeSpecifications ¶
func (*Authorization) AttributeSpecifications() map[string]elemental.AttributeSpecification
AttributeSpecifications returns the full attribute specifications map.
func (*Authorization) BleveType ¶
func (o *Authorization) BleveType() string
BleveType implements the bleve.Classifier Interface.
func (*Authorization) DeepCopy ¶
func (o *Authorization) DeepCopy() *Authorization
DeepCopy returns a deep copy if the Authorization.
func (*Authorization) DeepCopyInto ¶
func (o *Authorization) DeepCopyInto(out *Authorization)
DeepCopyInto copies the receiver into the given *Authorization.
func (*Authorization) DefaultOrder ¶
func (o *Authorization) DefaultOrder() []string
DefaultOrder returns the list of default ordering fields.
func (*Authorization) Doc ¶
func (o *Authorization) Doc() string
Doc returns the documentation for the object
func (*Authorization) GetCreateTime ¶ added in v0.11.0
func (o *Authorization) GetCreateTime() time.Time
GetCreateTime returns the CreateTime of the receiver.
func (*Authorization) GetID ¶
func (o *Authorization) GetID() string
GetID returns the ID of the receiver.
func (*Authorization) GetImportHash ¶
func (o *Authorization) GetImportHash() string
GetImportHash returns the ImportHash of the receiver.
func (*Authorization) GetImportLabel ¶
func (o *Authorization) GetImportLabel() string
GetImportLabel returns the ImportLabel of the receiver.
func (*Authorization) GetNamespace ¶
func (o *Authorization) GetNamespace() string
GetNamespace returns the Namespace of the receiver.
func (*Authorization) GetPropagate ¶
func (o *Authorization) GetPropagate() bool
GetPropagate returns the Propagate of the receiver.
func (*Authorization) GetUpdateTime ¶ added in v0.11.0
func (o *Authorization) GetUpdateTime() time.Time
GetUpdateTime returns the UpdateTime of the receiver.
func (*Authorization) GetZHash ¶
func (o *Authorization) GetZHash() int
GetZHash returns the ZHash of the receiver.
func (*Authorization) GetZone ¶
func (o *Authorization) GetZone() int
GetZone returns the Zone of the receiver.
func (*Authorization) Identifier ¶
func (o *Authorization) Identifier() string
Identifier returns the value of the object's unique identifier.
func (*Authorization) Identity ¶
func (o *Authorization) Identity() elemental.Identity
Identity returns the Identity of the object.
func (*Authorization) MarshalBSON ¶ added in v0.11.15
func (o *Authorization) MarshalBSON() ([]byte, error)
MarshalBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.
func (*Authorization) Patch ¶
func (o *Authorization) Patch(sparse elemental.SparseIdentifiable)
Patch apply the non nil value of a *SparseAuthorization to the object.
func (*Authorization) SetCreateTime ¶ added in v0.11.0
func (o *Authorization) SetCreateTime(createTime time.Time)
SetCreateTime sets the property CreateTime of the receiver using the given value.
func (*Authorization) SetID ¶
func (o *Authorization) SetID(ID string)
SetID sets the property ID of the receiver using the given value.
func (*Authorization) SetIdentifier ¶
func (o *Authorization) SetIdentifier(id string)
SetIdentifier sets the value of the object's unique identifier.
func (*Authorization) SetImportHash ¶
func (o *Authorization) SetImportHash(importHash string)
SetImportHash sets the property ImportHash of the receiver using the given value.
func (*Authorization) SetImportLabel ¶
func (o *Authorization) SetImportLabel(importLabel string)
SetImportLabel sets the property ImportLabel of the receiver using the given value.
func (*Authorization) SetNamespace ¶
func (o *Authorization) SetNamespace(namespace string)
SetNamespace sets the property Namespace of the receiver using the given value.
func (*Authorization) SetPropagate ¶
func (o *Authorization) SetPropagate(propagate bool)
SetPropagate sets the property Propagate of the receiver using the given value.
func (*Authorization) SetUpdateTime ¶ added in v0.11.0
func (o *Authorization) SetUpdateTime(updateTime time.Time)
SetUpdateTime sets the property UpdateTime of the receiver using the given value.
func (*Authorization) SetZHash ¶
func (o *Authorization) SetZHash(zHash int)
SetZHash sets the property ZHash of the receiver using the given value.
func (*Authorization) SetZone ¶
func (o *Authorization) SetZone(zone int)
SetZone sets the property Zone of the receiver using the given value.
func (*Authorization) SpecificationForAttribute ¶
func (*Authorization) SpecificationForAttribute(name string) elemental.AttributeSpecification
SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.
func (*Authorization) String ¶
func (o *Authorization) String() string
func (*Authorization) ToSparse ¶
func (o *Authorization) ToSparse(fields ...string) elemental.SparseIdentifiable
ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.
func (*Authorization) UnmarshalBSON ¶ added in v0.11.15
func (o *Authorization) UnmarshalBSON(raw []byte) error
UnmarshalBSON implements the bson unmarshaling interface. This is used to transparently convert MongoDBID to ID.
func (*Authorization) Validate ¶
func (o *Authorization) Validate() error
Validate valides the current information stored into the structure.
func (*Authorization) ValueForAttribute ¶
func (o *Authorization) ValueForAttribute(name string) any
ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.
func (*Authorization) Version ¶
func (o *Authorization) Version() int
Version returns the hardcoded version of the model.
type AuthorizationsList ¶
type AuthorizationsList []*Authorization
AuthorizationsList represents a list of Authorizations
func (AuthorizationsList) Append ¶
func (o AuthorizationsList) Append(objects ...elemental.Identifiable) elemental.Identifiables
Append appends the objects to the a new copy of the AuthorizationsList.
func (AuthorizationsList) Copy ¶
func (o AuthorizationsList) Copy() elemental.Identifiables
Copy returns a pointer to a copy the AuthorizationsList.
func (AuthorizationsList) DefaultOrder ¶
func (o AuthorizationsList) DefaultOrder() []string
DefaultOrder returns the default ordering fields of the content.
func (AuthorizationsList) Identity ¶
func (o AuthorizationsList) Identity() elemental.Identity
Identity returns the identity of the objects in the list.
func (AuthorizationsList) List ¶
func (o AuthorizationsList) List() elemental.IdentifiablesList
List converts the object to an elemental.IdentifiablesList.
func (AuthorizationsList) ToSparse ¶
func (o AuthorizationsList) ToSparse(fields ...string) elemental.Identifiables
ToSparse returns the AuthorizationsList converted to SparseAuthorizationsList. Objects in the list will only contain the given fields. No field means entire field set.
func (AuthorizationsList) Version ¶
func (o AuthorizationsList) Version() int
Version returns the version of the content.
type Authz ¶
type Authz struct { // The optional ID of the object to check permission for. ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"` // IP of the client. IP string `json:"IP" msgpack:"IP" bson:"-" mapstructure:"IP,omitempty"` // The action to check permission for. Action string `json:"action" msgpack:"action" bson:"-" mapstructure:"action,omitempty"` // Audience that should be checked for. Audience string `json:"audience" msgpack:"audience" bson:"-" mapstructure:"audience,omitempty"` // The namespace where to check permission from. Namespace string `json:"namespace" msgpack:"namespace" bson:"-" mapstructure:"namespace,omitempty"` // The resource to check permission for. Resource string `json:"resource" msgpack:"resource" bson:"-" mapstructure:"resource,omitempty"` // The token to check. Token string `json:"token" msgpack:"token" bson:"-" mapstructure:"token,omitempty"` ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"` }
Authz represents the model of a authz
func (*Authz) AttributeSpecifications ¶
func (*Authz) AttributeSpecifications() map[string]elemental.AttributeSpecification
AttributeSpecifications returns the full attribute specifications map.
func (*Authz) DeepCopyInto ¶
DeepCopyInto copies the receiver into the given *Authz.
func (*Authz) DefaultOrder ¶
DefaultOrder returns the list of default ordering fields.
func (*Authz) Identifier ¶
Identifier returns the value of the object's unique identifier.
func (*Authz) MarshalBSON ¶ added in v0.11.15
MarshalBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.
func (*Authz) Patch ¶
func (o *Authz) Patch(sparse elemental.SparseIdentifiable)
Patch apply the non nil value of a *SparseAuthz to the object.
func (*Authz) SetIdentifier ¶
SetIdentifier sets the value of the object's unique identifier.
func (*Authz) SpecificationForAttribute ¶
func (*Authz) SpecificationForAttribute(name string) elemental.AttributeSpecification
SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.
func (*Authz) ToSparse ¶
func (o *Authz) ToSparse(fields ...string) elemental.SparseIdentifiable
ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.
func (*Authz) UnmarshalBSON ¶ added in v0.11.15
UnmarshalBSON implements the bson unmarshaling interface. This is used to transparently convert MongoDBID to ID.
func (*Authz) ValueForAttribute ¶
ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.
type AuthzsList ¶
type AuthzsList []*Authz
AuthzsList represents a list of Authzs
func (AuthzsList) Append ¶
func (o AuthzsList) Append(objects ...elemental.Identifiable) elemental.Identifiables
Append appends the objects to the a new copy of the AuthzsList.
func (AuthzsList) Copy ¶
func (o AuthzsList) Copy() elemental.Identifiables
Copy returns a pointer to a copy the AuthzsList.
func (AuthzsList) DefaultOrder ¶
func (o AuthzsList) DefaultOrder() []string
DefaultOrder returns the default ordering fields of the content.
func (AuthzsList) Identity ¶
func (o AuthzsList) Identity() elemental.Identity
Identity returns the identity of the objects in the list.
func (AuthzsList) List ¶
func (o AuthzsList) List() elemental.IdentifiablesList
List converts the object to an elemental.IdentifiablesList.
func (AuthzsList) ToSparse ¶
func (o AuthzsList) ToSparse(fields ...string) elemental.Identifiables
ToSparse returns the AuthzsList converted to SparseAuthzsList. Objects in the list will only contain the given fields. No field means entire field set.
func (AuthzsList) Version ¶
func (o AuthzsList) Version() int
Version returns the version of the content.
type HTTPSource ¶
type HTTPSource struct { // The certificate authority to use to validate the remote http server. CA string `json:"CA" msgpack:"CA" bson:"ca" mapstructure:"CA,omitempty"` // ID is the identifier of the object. ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"` // URL of the remote service. This URL will receive a POST containing the // credentials information that must be validated. It must reply with 200 with a // body containing a json array that will be used as claims for the token. Any // other error code will be returned as a 401 error. URL string `json:"URL" msgpack:"URL" bson:"url" mapstructure:"URL,omitempty"` // Client certificate required to call URL. A3S will refuse to send data if the // endpoint does not support client certificate authentication. Certificate string `json:"certificate" msgpack:"certificate" bson:"certificate" mapstructure:"certificate,omitempty"` // Creation date of the object. CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"` // The description of the object. Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"` // The hash of the structure used to compare with new import version. ImportHash string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"` // The user-defined import label that allows the system to group resources from the // same import operation. ImportLabel string `` /* 126-byte string literal not displayed */ // Key associated to the client certificate. Key string `json:"key" msgpack:"key" bson:"key" mapstructure:"key,omitempty"` // Contains optional information about a remote service that can be used to modify // the claims that are about to be delivered using this authentication source. Modifier *IdentityModifier `json:"modifier,omitempty" msgpack:"modifier,omitempty" bson:"modifier,omitempty" mapstructure:"modifier,omitempty"` // The name of the source. Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"` // The namespace of the object. Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"` // Last update date of the object. UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"` // Hash of the object used to shard the data. ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"` // Sharding zone. Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"` ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"` }
HTTPSource represents the model of a httpsource
func (*HTTPSource) AttributeSpecifications ¶
func (*HTTPSource) AttributeSpecifications() map[string]elemental.AttributeSpecification
AttributeSpecifications returns the full attribute specifications map.
func (*HTTPSource) BleveType ¶
func (o *HTTPSource) BleveType() string
BleveType implements the bleve.Classifier Interface.
func (*HTTPSource) DeepCopy ¶
func (o *HTTPSource) DeepCopy() *HTTPSource
DeepCopy returns a deep copy if the HTTPSource.
func (*HTTPSource) DeepCopyInto ¶
func (o *HTTPSource) DeepCopyInto(out *HTTPSource)
DeepCopyInto copies the receiver into the given *HTTPSource.
func (*HTTPSource) DefaultOrder ¶
func (o *HTTPSource) DefaultOrder() []string
DefaultOrder returns the list of default ordering fields.
func (*HTTPSource) Doc ¶
func (o *HTTPSource) Doc() string
Doc returns the documentation for the object
func (*HTTPSource) GetCreateTime ¶ added in v0.11.0
func (o *HTTPSource) GetCreateTime() time.Time
GetCreateTime returns the CreateTime of the receiver.
func (*HTTPSource) GetID ¶
func (o *HTTPSource) GetID() string
GetID returns the ID of the receiver.
func (*HTTPSource) GetImportHash ¶
func (o *HTTPSource) GetImportHash() string
GetImportHash returns the ImportHash of the receiver.
func (*HTTPSource) GetImportLabel ¶
func (o *HTTPSource) GetImportLabel() string
GetImportLabel returns the ImportLabel of the receiver.
func (*HTTPSource) GetNamespace ¶
func (o *HTTPSource) GetNamespace() string
GetNamespace returns the Namespace of the receiver.
func (*HTTPSource) GetUpdateTime ¶ added in v0.11.0
func (o *HTTPSource) GetUpdateTime() time.Time
GetUpdateTime returns the UpdateTime of the receiver.
func (*HTTPSource) GetZHash ¶
func (o *HTTPSource) GetZHash() int
GetZHash returns the ZHash of the receiver.
func (*HTTPSource) GetZone ¶
func (o *HTTPSource) GetZone() int
GetZone returns the Zone of the receiver.
func (*HTTPSource) Identifier ¶
func (o *HTTPSource) Identifier() string
Identifier returns the value of the object's unique identifier.
func (*HTTPSource) Identity ¶
func (o *HTTPSource) Identity() elemental.Identity
Identity returns the Identity of the object.
func (*HTTPSource) MarshalBSON ¶ added in v0.11.15
func (o *HTTPSource) MarshalBSON() ([]byte, error)
MarshalBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.
func (*HTTPSource) Patch ¶
func (o *HTTPSource) Patch(sparse elemental.SparseIdentifiable)
Patch apply the non nil value of a *SparseHTTPSource to the object.
func (*HTTPSource) SetCreateTime ¶ added in v0.11.0
func (o *HTTPSource) SetCreateTime(createTime time.Time)
SetCreateTime sets the property CreateTime of the receiver using the given value.
func (*HTTPSource) SetID ¶
func (o *HTTPSource) SetID(ID string)
SetID sets the property ID of the receiver using the given value.
func (*HTTPSource) SetIdentifier ¶
func (o *HTTPSource) SetIdentifier(id string)
SetIdentifier sets the value of the object's unique identifier.
func (*HTTPSource) SetImportHash ¶
func (o *HTTPSource) SetImportHash(importHash string)
SetImportHash sets the property ImportHash of the receiver using the given value.
func (*HTTPSource) SetImportLabel ¶
func (o *HTTPSource) SetImportLabel(importLabel string)
SetImportLabel sets the property ImportLabel of the receiver using the given value.
func (*HTTPSource) SetNamespace ¶
func (o *HTTPSource) SetNamespace(namespace string)
SetNamespace sets the property Namespace of the receiver using the given value.
func (*HTTPSource) SetUpdateTime ¶ added in v0.11.0
func (o *HTTPSource) SetUpdateTime(updateTime time.Time)
SetUpdateTime sets the property UpdateTime of the receiver using the given value.
func (*HTTPSource) SetZHash ¶
func (o *HTTPSource) SetZHash(zHash int)
SetZHash sets the property ZHash of the receiver using the given value.
func (*HTTPSource) SetZone ¶
func (o *HTTPSource) SetZone(zone int)
SetZone sets the property Zone of the receiver using the given value.
func (*HTTPSource) SpecificationForAttribute ¶
func (*HTTPSource) SpecificationForAttribute(name string) elemental.AttributeSpecification
SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.
func (*HTTPSource) String ¶
func (o *HTTPSource) String() string
func (*HTTPSource) ToSparse ¶
func (o *HTTPSource) ToSparse(fields ...string) elemental.SparseIdentifiable
ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.
func (*HTTPSource) UnmarshalBSON ¶ added in v0.11.15
func (o *HTTPSource) UnmarshalBSON(raw []byte) error
UnmarshalBSON implements the bson unmarshaling interface. This is used to transparently convert MongoDBID to ID.
func (*HTTPSource) Validate ¶
func (o *HTTPSource) Validate() error
Validate valides the current information stored into the structure.
func (*HTTPSource) ValueForAttribute ¶
func (o *HTTPSource) ValueForAttribute(name string) any
ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.
func (*HTTPSource) Version ¶
func (o *HTTPSource) Version() int
Version returns the hardcoded version of the model.
type HTTPSourcesList ¶
type HTTPSourcesList []*HTTPSource
HTTPSourcesList represents a list of HTTPSources
func (HTTPSourcesList) Append ¶
func (o HTTPSourcesList) Append(objects ...elemental.Identifiable) elemental.Identifiables
Append appends the objects to the a new copy of the HTTPSourcesList.
func (HTTPSourcesList) Copy ¶
func (o HTTPSourcesList) Copy() elemental.Identifiables
Copy returns a pointer to a copy the HTTPSourcesList.
func (HTTPSourcesList) DefaultOrder ¶
func (o HTTPSourcesList) DefaultOrder() []string
DefaultOrder returns the default ordering fields of the content.
func (HTTPSourcesList) Identity ¶
func (o HTTPSourcesList) Identity() elemental.Identity
Identity returns the identity of the objects in the list.
func (HTTPSourcesList) List ¶
func (o HTTPSourcesList) List() elemental.IdentifiablesList
List converts the object to an elemental.IdentifiablesList.
func (HTTPSourcesList) ToSparse ¶
func (o HTTPSourcesList) ToSparse(fields ...string) elemental.Identifiables
ToSparse returns the HTTPSourcesList converted to SparseHTTPSourcesList. Objects in the list will only contain the given fields. No field means entire field set.
func (HTTPSourcesList) Version ¶
func (o HTTPSourcesList) Version() int
Version returns the version of the content.
type IdentityModifier ¶
type IdentityModifier struct { // CA to use to validate the identity modfier service. CA string `json:"CA,omitempty" msgpack:"CA,omitempty" bson:"ca,omitempty" mapstructure:"CA,omitempty"` // URL of the remote service. This URL will receive a call containing the // claims that are about to be delivered. It must reply with 204 if it does not // wish to modify the claims, or 200 alongside a body containing the modified // claims. URL string `json:"URL" msgpack:"URL" bson:"url" mapstructure:"URL,omitempty"` // Client certificate required to call URL. A3S will refuse to send data if the // endpoint does not support client certificate authentication. Certificate string `json:"certificate" msgpack:"certificate" bson:"certificate" mapstructure:"certificate,omitempty"` // Key associated to the client certificate. Key string `json:"key" msgpack:"key" bson:"key" mapstructure:"key,omitempty"` // The HTTP method to use to call the endpoint. For POST/PUT/PATCH the remote // server will receive the claims as a JSON encoded array in the body. For a GET, // the claims will be passed as a query parameter named `claim`. Method IdentityModifierMethodValue `json:"method" msgpack:"method" bson:"method" mapstructure:"method,omitempty"` ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"` }
IdentityModifier represents the model of a identitymodifier
func NewIdentityModifier ¶
func NewIdentityModifier() *IdentityModifier
NewIdentityModifier returns a new *IdentityModifier
func (*IdentityModifier) AttributeSpecifications ¶
func (*IdentityModifier) AttributeSpecifications() map[string]elemental.AttributeSpecification
AttributeSpecifications returns the full attribute specifications map.
func (*IdentityModifier) BleveType ¶
func (o *IdentityModifier) BleveType() string
BleveType implements the bleve.Classifier Interface.
func (*IdentityModifier) DeepCopy ¶
func (o *IdentityModifier) DeepCopy() *IdentityModifier
DeepCopy returns a deep copy if the IdentityModifier.
func (*IdentityModifier) DeepCopyInto ¶
func (o *IdentityModifier) DeepCopyInto(out *IdentityModifier)
DeepCopyInto copies the receiver into the given *IdentityModifier.
func (*IdentityModifier) DefaultOrder ¶
func (o *IdentityModifier) DefaultOrder() []string
DefaultOrder returns the list of default ordering fields.
func (*IdentityModifier) Doc ¶
func (o *IdentityModifier) Doc() string
Doc returns the documentation for the object
func (*IdentityModifier) Identifier ¶
func (o *IdentityModifier) Identifier() string
Identifier returns the value of the object's unique identifier.
func (*IdentityModifier) Identity ¶
func (o *IdentityModifier) Identity() elemental.Identity
Identity returns the Identity of the object.
func (*IdentityModifier) MarshalBSON ¶ added in v0.11.15
func (o *IdentityModifier) MarshalBSON() ([]byte, error)
MarshalBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.
func (*IdentityModifier) Patch ¶
func (o *IdentityModifier) Patch(sparse elemental.SparseIdentifiable)
Patch apply the non nil value of a *SparseIdentityModifier to the object.
func (*IdentityModifier) SetIdentifier ¶
func (o *IdentityModifier) SetIdentifier(id string)
SetIdentifier sets the value of the object's unique identifier.
func (*IdentityModifier) SpecificationForAttribute ¶
func (*IdentityModifier) SpecificationForAttribute(name string) elemental.AttributeSpecification
SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.
func (*IdentityModifier) String ¶
func (o *IdentityModifier) String() string
func (*IdentityModifier) ToSparse ¶
func (o *IdentityModifier) ToSparse(fields ...string) elemental.SparseIdentifiable
ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.
func (*IdentityModifier) UnmarshalBSON ¶ added in v0.11.15
func (o *IdentityModifier) UnmarshalBSON(raw []byte) error
UnmarshalBSON implements the bson unmarshaling interface. This is used to transparently convert MongoDBID to ID.
func (*IdentityModifier) Validate ¶
func (o *IdentityModifier) Validate() error
Validate valides the current information stored into the structure.
func (*IdentityModifier) ValueForAttribute ¶
func (o *IdentityModifier) ValueForAttribute(name string) any
ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.
func (*IdentityModifier) Version ¶
func (o *IdentityModifier) Version() int
Version returns the hardcoded version of the model.
type IdentityModifierMethodValue ¶
type IdentityModifierMethodValue string
IdentityModifierMethodValue represents the possible values for attribute "method".
const ( // IdentityModifierMethodGET represents the value GET. IdentityModifierMethodGET IdentityModifierMethodValue = "GET" // IdentityModifierMethodPATCH represents the value PATCH. IdentityModifierMethodPATCH IdentityModifierMethodValue = "PATCH" // IdentityModifierMethodPOST represents the value POST. IdentityModifierMethodPOST IdentityModifierMethodValue = "POST" // IdentityModifierMethodPUT represents the value PUT. IdentityModifierMethodPUT IdentityModifierMethodValue = "PUT" )
type IdentityModifiersList ¶
type IdentityModifiersList []*IdentityModifier
IdentityModifiersList represents a list of IdentityModifiers
func (IdentityModifiersList) Append ¶
func (o IdentityModifiersList) Append(objects ...elemental.Identifiable) elemental.Identifiables
Append appends the objects to the a new copy of the IdentityModifiersList.
func (IdentityModifiersList) Copy ¶
func (o IdentityModifiersList) Copy() elemental.Identifiables
Copy returns a pointer to a copy the IdentityModifiersList.
func (IdentityModifiersList) DefaultOrder ¶
func (o IdentityModifiersList) DefaultOrder() []string
DefaultOrder returns the default ordering fields of the content.
func (IdentityModifiersList) Identity ¶
func (o IdentityModifiersList) Identity() elemental.Identity
Identity returns the identity of the objects in the list.
func (IdentityModifiersList) List ¶
func (o IdentityModifiersList) List() elemental.IdentifiablesList
List converts the object to an elemental.IdentifiablesList.
func (IdentityModifiersList) ToSparse ¶
func (o IdentityModifiersList) ToSparse(fields ...string) elemental.Identifiables
ToSparse returns the IdentityModifiersList converted to SparseIdentityModifiersList. Objects in the list will only contain the given fields. No field means entire field set.
func (IdentityModifiersList) Version ¶
func (o IdentityModifiersList) Version() int
Version returns the version of the content.
type Import ¶
type Import struct { // A3S sources to import. A3SSources A3SSourcesList `json:"A3SSources,omitempty" msgpack:"A3SSources,omitempty" bson:"-" mapstructure:"A3SSources,omitempty"` // HTTP sources to import. HTTPSources HTTPSourcesList `json:"HTTPSources,omitempty" msgpack:"HTTPSources,omitempty" bson:"-" mapstructure:"HTTPSources,omitempty"` // LDAP sources to import. LDAPSources LDAPSourcesList `json:"LDAPSources,omitempty" msgpack:"LDAPSources,omitempty" bson:"-" mapstructure:"LDAPSources,omitempty"` // MTLS sources to import. MTLSSources MTLSSourcesList `json:"MTLSSources,omitempty" msgpack:"MTLSSources,omitempty" bson:"-" mapstructure:"MTLSSources,omitempty"` // OIDC sources to import. OIDCSources OIDCSourcesList `json:"OIDCSources,omitempty" msgpack:"OIDCSources,omitempty" bson:"-" mapstructure:"OIDCSources,omitempty"` // Authorizations to import. Authorizations AuthorizationsList `json:"authorizations,omitempty" msgpack:"authorizations,omitempty" bson:"-" mapstructure:"authorizations,omitempty"` // Import label that will be used to identify all the resources imported by this // resource. Label string `json:"label" msgpack:"label" bson:"-" mapstructure:"label,omitempty"` ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"` }
Import represents the model of a import
func (*Import) AttributeSpecifications ¶
func (*Import) AttributeSpecifications() map[string]elemental.AttributeSpecification
AttributeSpecifications returns the full attribute specifications map.
func (*Import) DeepCopyInto ¶
DeepCopyInto copies the receiver into the given *Import.
func (*Import) DefaultOrder ¶
DefaultOrder returns the list of default ordering fields.
func (*Import) Identifier ¶
Identifier returns the value of the object's unique identifier.
func (*Import) MarshalBSON ¶ added in v0.11.15
MarshalBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.
func (*Import) Patch ¶
func (o *Import) Patch(sparse elemental.SparseIdentifiable)
Patch apply the non nil value of a *SparseImport to the object.
func (*Import) SetIdentifier ¶
SetIdentifier sets the value of the object's unique identifier.
func (*Import) SpecificationForAttribute ¶
func (*Import) SpecificationForAttribute(name string) elemental.AttributeSpecification
SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.
func (*Import) ToSparse ¶
func (o *Import) ToSparse(fields ...string) elemental.SparseIdentifiable
ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.
func (*Import) UnmarshalBSON ¶ added in v0.11.15
UnmarshalBSON implements the bson unmarshaling interface. This is used to transparently convert MongoDBID to ID.
func (*Import) ValueForAttribute ¶
ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.
type ImportsList ¶
type ImportsList []*Import
ImportsList represents a list of Imports
func (ImportsList) Append ¶
func (o ImportsList) Append(objects ...elemental.Identifiable) elemental.Identifiables
Append appends the objects to the a new copy of the ImportsList.
func (ImportsList) Copy ¶
func (o ImportsList) Copy() elemental.Identifiables
Copy returns a pointer to a copy the ImportsList.
func (ImportsList) DefaultOrder ¶
func (o ImportsList) DefaultOrder() []string
DefaultOrder returns the default ordering fields of the content.
func (ImportsList) Identity ¶
func (o ImportsList) Identity() elemental.Identity
Identity returns the identity of the objects in the list.
func (ImportsList) List ¶
func (o ImportsList) List() elemental.IdentifiablesList
List converts the object to an elemental.IdentifiablesList.
func (ImportsList) ToSparse ¶
func (o ImportsList) ToSparse(fields ...string) elemental.Identifiables
ToSparse returns the ImportsList converted to SparseImportsList. Objects in the list will only contain the given fields. No field means entire field set.
func (ImportsList) Version ¶
func (o ImportsList) Version() int
Version returns the version of the content.
type Issue ¶
type Issue struct { // Requested audience for the delivered token. Audience []string `json:"audience,omitempty" msgpack:"audience,omitempty" bson:"-" mapstructure:"audience,omitempty"` // Sets a list of identity claim prefix to allow in the final token. This can be // used to hide some information when asking for a token as not all systems need to // know all of the claims. Cloak []string `json:"cloak,omitempty" msgpack:"cloak,omitempty" bson:"-" mapstructure:"cloak,omitempty"` // If set, return the token as a secure cookie. Cookie bool `json:"cookie,omitempty" msgpack:"cookie,omitempty" bson:"-" mapstructure:"cookie,omitempty"` // If set, use the provided domain for the delivered cookie. CookieDomain string `json:"cookieDomain,omitempty" msgpack:"cookieDomain,omitempty" bson:"-" mapstructure:"cookieDomain,omitempty"` // Contains additional information for an A3S token source. InputA3S *IssueA3S `json:"inputA3S,omitempty" msgpack:"inputA3S,omitempty" bson:"-" mapstructure:"inputA3S,omitempty"` // Contains additional information for an AWS STS token source. InputAWS *IssueAWS `json:"inputAWS,omitempty" msgpack:"inputAWS,omitempty" bson:"-" mapstructure:"inputAWS,omitempty"` // Contains additional information for an Azure token source. InputAzure *IssueAzure `json:"inputAzure,omitempty" msgpack:"inputAzure,omitempty" bson:"-" mapstructure:"inputAzure,omitempty"` // Contains additional information for an GCP token source. InputGCP *IssueGCP `json:"inputGCP,omitempty" msgpack:"inputGCP,omitempty" bson:"-" mapstructure:"inputGCP,omitempty"` // Contains additional information for an HTTP source. InputHTTP *IssueHTTP `json:"inputHTTP,omitempty" msgpack:"inputHTTP,omitempty" bson:"-" mapstructure:"inputHTTP,omitempty"` // Contains additional information for an LDAP source. InputLDAP *IssueLDAP `json:"inputLDAP,omitempty" msgpack:"inputLDAP,omitempty" bson:"-" mapstructure:"inputLDAP,omitempty"` // Contains additional information for an OIDC source. InputOIDC *IssueOIDC `json:"inputOIDC,omitempty" msgpack:"inputOIDC,omitempty" bson:"-" mapstructure:"inputOIDC,omitempty"` // Contains additional information for a remote A3S token source. InputRemoteA3S *IssueRemoteA3S `json:"inputRemoteA3S,omitempty" msgpack:"inputRemoteA3S,omitempty" bson:"-" mapstructure:"inputRemoteA3S,omitempty"` // Opaque data that will be included in the issued token. Opaque map[string]string `json:"opaque,omitempty" msgpack:"opaque,omitempty" bson:"-" mapstructure:"opaque,omitempty"` // Restricts the namespace where the token can be used. // // For instance, if you have have access to `/namespace` and below, you can // tell the policy engine that it should restrict further more to // `/namespace/child`. // // Restricting to a namespace you don't have initially access according to the // policy engine has no effect and may end up making the token unusable. RestrictedNamespace string `` /* 130-byte string literal not displayed */ // Restricts the networks from where the token can be used. This will reduce the // existing set of authorized networks that normally apply to the token according // to the policy engine. // // For instance, If you have authorized access from `0.0.0.0/0` (by default) or // from // `10.0.0.0/8`, you can ask for a token that will only be valid if used from // `10.1.0.0/16`. // // Restricting to a network that is not initially authorized by the policy // engine has no effect and may end up making the token unusable. RestrictedNetworks []string `` /* 127-byte string literal not displayed */ // Restricts the permissions of token. This will reduce the existing permissions // that normally apply to the token according to the policy engine. // // For instance, if you have administrative role, you can ask for a token that will // tell the policy engine to reduce the permission it would have granted to what is // given defined in the token. // // Restricting to some permissions you don't initially have according to the policy // engine has no effect and may end up making the token unusable. RestrictedPermissions []string `` /* 136-byte string literal not displayed */ // The name of the source to use. SourceName string `json:"sourceName,omitempty" msgpack:"sourceName,omitempty" bson:"-" mapstructure:"sourceName,omitempty"` // The namespace of the source to use. SourceNamespace string `json:"sourceNamespace,omitempty" msgpack:"sourceNamespace,omitempty" bson:"-" mapstructure:"sourceNamespace,omitempty"` // The authentication source. This will define how to verify // credentials from internal or external source of authentication. SourceType IssueSourceTypeValue `json:"sourceType" msgpack:"sourceType" bson:"-" mapstructure:"sourceType,omitempty"` // Issued token. Token string `json:"token,omitempty" msgpack:"token,omitempty" bson:"-" mapstructure:"token,omitempty"` // The type of token to issue. TokenType IssueTokenTypeValue `json:"tokenType,omitempty" msgpack:"tokenType,omitempty" bson:"-" mapstructure:"tokenType,omitempty"` // Configures the maximum length of validity for a token, using // [Golang duration syntax](https://golang.org/pkg/time/#example_Duration). Validity string `json:"validity,omitempty" msgpack:"validity,omitempty" bson:"-" mapstructure:"validity,omitempty"` ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"` }
Issue represents the model of a issue
func (*Issue) AttributeSpecifications ¶
func (*Issue) AttributeSpecifications() map[string]elemental.AttributeSpecification
AttributeSpecifications returns the full attribute specifications map.
func (*Issue) DeepCopyInto ¶
DeepCopyInto copies the receiver into the given *Issue.
func (*Issue) DefaultOrder ¶
DefaultOrder returns the list of default ordering fields.
func (*Issue) Identifier ¶
Identifier returns the value of the object's unique identifier.
func (*Issue) MarshalBSON ¶ added in v0.11.15
MarshalBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.
func (*Issue) Patch ¶
func (o *Issue) Patch(sparse elemental.SparseIdentifiable)
Patch apply the non nil value of a *SparseIssue to the object.
func (*Issue) SetIdentifier ¶
SetIdentifier sets the value of the object's unique identifier.
func (*Issue) SpecificationForAttribute ¶
func (*Issue) SpecificationForAttribute(name string) elemental.AttributeSpecification
SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.
func (*Issue) ToSparse ¶
func (o *Issue) ToSparse(fields ...string) elemental.SparseIdentifiable
ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.
func (*Issue) UnmarshalBSON ¶ added in v0.11.15
UnmarshalBSON implements the bson unmarshaling interface. This is used to transparently convert MongoDBID to ID.
func (*Issue) ValueForAttribute ¶
ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.
type IssueA3S ¶
type IssueA3S struct { // The original token. Token string `json:"token" msgpack:"token" bson:"-" mapstructure:"token,omitempty"` ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"` }
IssueA3S represents the model of a issuea3s
func (*IssueA3S) AttributeSpecifications ¶
func (*IssueA3S) AttributeSpecifications() map[string]elemental.AttributeSpecification
AttributeSpecifications returns the full attribute specifications map.
func (*IssueA3S) DeepCopyInto ¶
DeepCopyInto copies the receiver into the given *IssueA3S.
func (*IssueA3S) MarshalBSON ¶ added in v0.11.15
MarshalBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.
func (*IssueA3S) SpecificationForAttribute ¶
func (*IssueA3S) SpecificationForAttribute(name string) elemental.AttributeSpecification
SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.
func (*IssueA3S) UnmarshalBSON ¶ added in v0.11.15
UnmarshalBSON implements the bson unmarshaling interface. This is used to transparently convert MongoDBID to ID.
func (*IssueA3S) ValueForAttribute ¶
ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.
type IssueAWS ¶
type IssueAWS struct { // The ID of the AWS STS token. ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"` // The secret associated to the AWS STS token. Secret string `json:"secret" msgpack:"secret" bson:"-" mapstructure:"secret,omitempty"` // The original token. Token string `json:"token" msgpack:"token" bson:"-" mapstructure:"token,omitempty"` ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"` }
IssueAWS represents the model of a issueaws
func (*IssueAWS) AttributeSpecifications ¶
func (*IssueAWS) AttributeSpecifications() map[string]elemental.AttributeSpecification
AttributeSpecifications returns the full attribute specifications map.
func (*IssueAWS) DeepCopyInto ¶
DeepCopyInto copies the receiver into the given *IssueAWS.
func (*IssueAWS) MarshalBSON ¶ added in v0.11.15
MarshalBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.
func (*IssueAWS) SpecificationForAttribute ¶
func (*IssueAWS) SpecificationForAttribute(name string) elemental.AttributeSpecification
SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.
func (*IssueAWS) UnmarshalBSON ¶ added in v0.11.15
UnmarshalBSON implements the bson unmarshaling interface. This is used to transparently convert MongoDBID to ID.
func (*IssueAWS) ValueForAttribute ¶
ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.
type IssueAzure ¶
type IssueAzure struct { // The original token. Token string `json:"token" msgpack:"token" bson:"-" mapstructure:"token,omitempty"` ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"` }
IssueAzure represents the model of a issueazure
func (*IssueAzure) AttributeSpecifications ¶
func (*IssueAzure) AttributeSpecifications() map[string]elemental.AttributeSpecification
AttributeSpecifications returns the full attribute specifications map.
func (*IssueAzure) BleveType ¶
func (o *IssueAzure) BleveType() string
BleveType implements the bleve.Classifier Interface.
func (*IssueAzure) DeepCopy ¶
func (o *IssueAzure) DeepCopy() *IssueAzure
DeepCopy returns a deep copy if the IssueAzure.
func (*IssueAzure) DeepCopyInto ¶
func (o *IssueAzure) DeepCopyInto(out *IssueAzure)
DeepCopyInto copies the receiver into the given *IssueAzure.
func (*IssueAzure) MarshalBSON ¶ added in v0.11.15
func (o *IssueAzure) MarshalBSON() ([]byte, error)
MarshalBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.
func (*IssueAzure) SpecificationForAttribute ¶
func (*IssueAzure) SpecificationForAttribute(name string) elemental.AttributeSpecification
SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.
func (*IssueAzure) UnmarshalBSON ¶ added in v0.11.15
func (o *IssueAzure) UnmarshalBSON(raw []byte) error
UnmarshalBSON implements the bson unmarshaling interface. This is used to transparently convert MongoDBID to ID.
func (*IssueAzure) Validate ¶
func (o *IssueAzure) Validate() error
Validate valides the current information stored into the structure.
func (*IssueAzure) ValueForAttribute ¶
func (o *IssueAzure) ValueForAttribute(name string) any
ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.
type IssueGCP ¶
type IssueGCP struct { // The required audience. Audience string `json:"audience" msgpack:"audience" bson:"-" mapstructure:"audience,omitempty"` // The original token. Token string `json:"token" msgpack:"token" bson:"-" mapstructure:"token,omitempty"` ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"` }
IssueGCP represents the model of a issuegcp
func (*IssueGCP) AttributeSpecifications ¶
func (*IssueGCP) AttributeSpecifications() map[string]elemental.AttributeSpecification
AttributeSpecifications returns the full attribute specifications map.
func (*IssueGCP) DeepCopyInto ¶
DeepCopyInto copies the receiver into the given *IssueGCP.
func (*IssueGCP) MarshalBSON ¶ added in v0.11.15
MarshalBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.
func (*IssueGCP) SpecificationForAttribute ¶
func (*IssueGCP) SpecificationForAttribute(name string) elemental.AttributeSpecification
SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.
func (*IssueGCP) UnmarshalBSON ¶ added in v0.11.15
UnmarshalBSON implements the bson unmarshaling interface. This is used to transparently convert MongoDBID to ID.
func (*IssueGCP) ValueForAttribute ¶
ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.
type IssueHTTP ¶
type IssueHTTP struct { // Time based one time password, if needed. TOTP string `json:"TOTP,omitempty" msgpack:"TOTP,omitempty" bson:"-" mapstructure:"TOTP,omitempty"` // The password for the user. Password string `json:"password" msgpack:"password" bson:"-" mapstructure:"password,omitempty"` // The username. Username string `json:"username" msgpack:"username" bson:"-" mapstructure:"username,omitempty"` ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"` }
IssueHTTP represents the model of a issuehttp
func (*IssueHTTP) AttributeSpecifications ¶
func (*IssueHTTP) AttributeSpecifications() map[string]elemental.AttributeSpecification
AttributeSpecifications returns the full attribute specifications map.
func (*IssueHTTP) DeepCopyInto ¶
DeepCopyInto copies the receiver into the given *IssueHTTP.
func (*IssueHTTP) MarshalBSON ¶ added in v0.11.15
MarshalBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.
func (*IssueHTTP) SpecificationForAttribute ¶
func (*IssueHTTP) SpecificationForAttribute(name string) elemental.AttributeSpecification
SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.
func (*IssueHTTP) UnmarshalBSON ¶ added in v0.11.15
UnmarshalBSON implements the bson unmarshaling interface. This is used to transparently convert MongoDBID to ID.
func (*IssueHTTP) ValueForAttribute ¶
ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.
type IssueLDAP ¶
type IssueLDAP struct { // The password for the user. Password string `json:"password" msgpack:"password" bson:"-" mapstructure:"password,omitempty"` // The LDAP username. Username string `json:"username" msgpack:"username" bson:"-" mapstructure:"username,omitempty"` ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"` }
IssueLDAP represents the model of a issueldap
func (*IssueLDAP) AttributeSpecifications ¶
func (*IssueLDAP) AttributeSpecifications() map[string]elemental.AttributeSpecification
AttributeSpecifications returns the full attribute specifications map.
func (*IssueLDAP) DeepCopyInto ¶
DeepCopyInto copies the receiver into the given *IssueLDAP.
func (*IssueLDAP) MarshalBSON ¶ added in v0.11.15
MarshalBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.
func (*IssueLDAP) SpecificationForAttribute ¶
func (*IssueLDAP) SpecificationForAttribute(name string) elemental.AttributeSpecification
SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.
func (*IssueLDAP) UnmarshalBSON ¶ added in v0.11.15
UnmarshalBSON implements the bson unmarshaling interface. This is used to transparently convert MongoDBID to ID.
func (*IssueLDAP) ValueForAttribute ¶
ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.
type IssueOIDC ¶
type IssueOIDC struct { // Contains the auth URL is noAuthRedirect is set to true. AuthURL string `json:"authURL,omitempty" msgpack:"authURL,omitempty" bson:"-" mapstructure:"authURL,omitempty"` // OIDC ceremony code. Code string `json:"code" msgpack:"code" bson:"-" mapstructure:"code,omitempty"` // If set, instruct the server to return the OIDC auth url in authURL instead of // performing an HTTP redirection. NoAuthRedirect bool `json:"noAuthRedirect" msgpack:"noAuthRedirect" bson:"-" mapstructure:"noAuthRedirect,omitempty"` // OIDC redirect url in case of error. RedirectErrorURL string `json:"redirectErrorURL" msgpack:"redirectErrorURL" bson:"-" mapstructure:"redirectErrorURL,omitempty"` // OIDC redirect url. RedirectURL string `json:"redirectURL" msgpack:"redirectURL" bson:"-" mapstructure:"redirectURL,omitempty"` // OIDC ceremony state. State string `json:"state" msgpack:"state" bson:"-" mapstructure:"state,omitempty"` ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"` }
IssueOIDC represents the model of a issueoidc
func (*IssueOIDC) AttributeSpecifications ¶
func (*IssueOIDC) AttributeSpecifications() map[string]elemental.AttributeSpecification
AttributeSpecifications returns the full attribute specifications map.
func (*IssueOIDC) DeepCopyInto ¶
DeepCopyInto copies the receiver into the given *IssueOIDC.
func (*IssueOIDC) MarshalBSON ¶ added in v0.11.15
MarshalBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.
func (*IssueOIDC) SpecificationForAttribute ¶
func (*IssueOIDC) SpecificationForAttribute(name string) elemental.AttributeSpecification
SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.
func (*IssueOIDC) UnmarshalBSON ¶ added in v0.11.15
UnmarshalBSON implements the bson unmarshaling interface. This is used to transparently convert MongoDBID to ID.
func (*IssueOIDC) ValueForAttribute ¶
ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.
type IssueRemoteA3S ¶
type IssueRemoteA3S struct { // The remote a3s token. Token string `json:"token" msgpack:"token" bson:"-" mapstructure:"token,omitempty"` ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"` }
IssueRemoteA3S represents the model of a issueremotea3s
func NewIssueRemoteA3S ¶
func NewIssueRemoteA3S() *IssueRemoteA3S
NewIssueRemoteA3S returns a new *IssueRemoteA3S
func (*IssueRemoteA3S) AttributeSpecifications ¶
func (*IssueRemoteA3S) AttributeSpecifications() map[string]elemental.AttributeSpecification
AttributeSpecifications returns the full attribute specifications map.
func (*IssueRemoteA3S) BleveType ¶
func (o *IssueRemoteA3S) BleveType() string
BleveType implements the bleve.Classifier Interface.
func (*IssueRemoteA3S) DeepCopy ¶
func (o *IssueRemoteA3S) DeepCopy() *IssueRemoteA3S
DeepCopy returns a deep copy if the IssueRemoteA3S.
func (*IssueRemoteA3S) DeepCopyInto ¶
func (o *IssueRemoteA3S) DeepCopyInto(out *IssueRemoteA3S)
DeepCopyInto copies the receiver into the given *IssueRemoteA3S.
func (*IssueRemoteA3S) MarshalBSON ¶ added in v0.11.15
func (o *IssueRemoteA3S) MarshalBSON() ([]byte, error)
MarshalBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.
func (*IssueRemoteA3S) SpecificationForAttribute ¶
func (*IssueRemoteA3S) SpecificationForAttribute(name string) elemental.AttributeSpecification
SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.
func (*IssueRemoteA3S) UnmarshalBSON ¶ added in v0.11.15
func (o *IssueRemoteA3S) UnmarshalBSON(raw []byte) error
UnmarshalBSON implements the bson unmarshaling interface. This is used to transparently convert MongoDBID to ID.
func (*IssueRemoteA3S) Validate ¶
func (o *IssueRemoteA3S) Validate() error
Validate valides the current information stored into the structure.
func (*IssueRemoteA3S) ValueForAttribute ¶
func (o *IssueRemoteA3S) ValueForAttribute(name string) any
ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.
type IssueSourceTypeValue ¶
type IssueSourceTypeValue string
IssueSourceTypeValue represents the possible values for attribute "sourceType".
const ( // IssueSourceTypeA3S represents the value A3S. IssueSourceTypeA3S IssueSourceTypeValue = "A3S" // IssueSourceTypeAWS represents the value AWS. IssueSourceTypeAWS IssueSourceTypeValue = "AWS" // IssueSourceTypeAzure represents the value Azure. IssueSourceTypeAzure IssueSourceTypeValue = "Azure" // IssueSourceTypeGCP represents the value GCP. IssueSourceTypeGCP IssueSourceTypeValue = "GCP" // IssueSourceTypeHTTP represents the value HTTP. IssueSourceTypeHTTP IssueSourceTypeValue = "HTTP" // IssueSourceTypeLDAP represents the value LDAP. IssueSourceTypeLDAP IssueSourceTypeValue = "LDAP" // IssueSourceTypeMTLS represents the value MTLS. IssueSourceTypeMTLS IssueSourceTypeValue = "MTLS" // IssueSourceTypeOIDC represents the value OIDC. IssueSourceTypeOIDC IssueSourceTypeValue = "OIDC" // IssueSourceTypeRemoteA3S represents the value RemoteA3S. IssueSourceTypeRemoteA3S IssueSourceTypeValue = "RemoteA3S" // IssueSourceTypeSAML represents the value SAML. IssueSourceTypeSAML IssueSourceTypeValue = "SAML" )
type IssueTokenTypeValue ¶
type IssueTokenTypeValue string
IssueTokenTypeValue represents the possible values for attribute "tokenType".
const ( // IssueTokenTypeIdentity represents the value Identity. IssueTokenTypeIdentity IssueTokenTypeValue = "Identity" // IssueTokenTypeRefresh represents the value Refresh. IssueTokenTypeRefresh IssueTokenTypeValue = "Refresh" )
type IssuesList ¶
type IssuesList []*Issue
IssuesList represents a list of Issues
func (IssuesList) Append ¶
func (o IssuesList) Append(objects ...elemental.Identifiable) elemental.Identifiables
Append appends the objects to the a new copy of the IssuesList.
func (IssuesList) Copy ¶
func (o IssuesList) Copy() elemental.Identifiables
Copy returns a pointer to a copy the IssuesList.
func (IssuesList) DefaultOrder ¶
func (o IssuesList) DefaultOrder() []string
DefaultOrder returns the default ordering fields of the content.
func (IssuesList) Identity ¶
func (o IssuesList) Identity() elemental.Identity
Identity returns the identity of the objects in the list.
func (IssuesList) List ¶
func (o IssuesList) List() elemental.IdentifiablesList
List converts the object to an elemental.IdentifiablesList.
func (IssuesList) ToSparse ¶
func (o IssuesList) ToSparse(fields ...string) elemental.Identifiables
ToSparse returns the IssuesList converted to SparseIssuesList. Objects in the list will only contain the given fields. No field means entire field set.
func (IssuesList) Version ¶
func (o IssuesList) Version() int
Version returns the version of the content.
type LDAPSource ¶
type LDAPSource struct { // Can be left empty if the LDAP server's certificate is signed by a public, // trusted certificate authority. Otherwise, include the public key of the // certificate authority that signed the LDAP server's certificate. CA string `json:"CA,omitempty" msgpack:"CA,omitempty" bson:"ca,omitempty" mapstructure:"CA,omitempty"` // ID is the identifier of the object. ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"` // IP address or FQDN of the LDAP server. Address string `json:"address" msgpack:"address" bson:"address" mapstructure:"address,omitempty"` // The base distinguished name (DN) to use for LDAP queries. BaseDN string `json:"baseDN" msgpack:"baseDN" bson:"basedn" mapstructure:"baseDN,omitempty"` // The DN to use to bind to the LDAP server. BindDN string `json:"bindDN" msgpack:"bindDN" bson:"binddn" mapstructure:"bindDN,omitempty"` // Password to be used with the `bindDN` to authenticate to the LDAP server. BindPassword string `json:"bindPassword" msgpack:"bindPassword" bson:"bindpassword" mapstructure:"bindPassword,omitempty"` // The filter to use to locate the relevant user accounts. For Windows-based // systems, the value may be `sAMAccountName={USERNAME}`. For Linux and other // systems, the value may be `uid={USERNAME}`. BindSearchFilter string `json:"bindSearchFilter" msgpack:"bindSearchFilter" bson:"bindsearchfilter" mapstructure:"bindSearchFilter,omitempty"` // Creation date of the object. CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"` // The description of the object. Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"` // A list of keys that must not be imported into the identity token. If // `includedKeys` is also set, and a key is in both lists, the key will be ignored. IgnoredKeys []string `` /* 126-byte string literal not displayed */ // The hash of the structure used to compare with new import version. ImportHash string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"` // The user-defined import label that allows the system to group resources from the // same import operation. ImportLabel string `` /* 126-byte string literal not displayed */ // A list of keys that must be imported into the identity token. If `ignoredKeys` // is also set, and a key is in both lists, the key will be ignored. IncludedKeys []string `` /* 130-byte string literal not displayed */ // Contains optional information about a remote service that can be used to modify // the claims that are about to be delivered using this authentication source. Modifier *IdentityModifier `json:"modifier,omitempty" msgpack:"modifier,omitempty" bson:"modifier,omitempty" mapstructure:"modifier,omitempty"` // The name of the source. Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"` // The namespace of the object. Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"` // Specifies the connection type for the LDAP provider. SecurityProtocol LDAPSourceSecurityProtocolValue `json:"securityProtocol" msgpack:"securityProtocol" bson:"securityprotocol" mapstructure:"securityProtocol,omitempty"` // Last update date of the object. UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"` // Hash of the object used to shard the data. ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"` // Sharding zone. Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"` ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"` }
LDAPSource represents the model of a ldapsource
func (*LDAPSource) AttributeSpecifications ¶
func (*LDAPSource) AttributeSpecifications() map[string]elemental.AttributeSpecification
AttributeSpecifications returns the full attribute specifications map.
func (*LDAPSource) BleveType ¶
func (o *LDAPSource) BleveType() string
BleveType implements the bleve.Classifier Interface.
func (*LDAPSource) DecryptAttributes ¶
func (o *LDAPSource) DecryptAttributes(encrypter elemental.AttributeEncrypter) (err error)
DecryptAttributes decrypts the attributes marked as `encrypted` using the given decrypter.
func (*LDAPSource) DeepCopy ¶
func (o *LDAPSource) DeepCopy() *LDAPSource
DeepCopy returns a deep copy if the LDAPSource.
func (*LDAPSource) DeepCopyInto ¶
func (o *LDAPSource) DeepCopyInto(out *LDAPSource)
DeepCopyInto copies the receiver into the given *LDAPSource.
func (*LDAPSource) DefaultOrder ¶
func (o *LDAPSource) DefaultOrder() []string
DefaultOrder returns the list of default ordering fields.
func (*LDAPSource) Doc ¶
func (o *LDAPSource) Doc() string
Doc returns the documentation for the object
func (*LDAPSource) EncryptAttributes ¶
func (o *LDAPSource) EncryptAttributes(encrypter elemental.AttributeEncrypter) (err error)
EncryptAttributes encrypts the attributes marked as `encrypted` using the given encrypter.
func (*LDAPSource) GetCreateTime ¶ added in v0.11.0
func (o *LDAPSource) GetCreateTime() time.Time
GetCreateTime returns the CreateTime of the receiver.
func (*LDAPSource) GetID ¶
func (o *LDAPSource) GetID() string
GetID returns the ID of the receiver.
func (*LDAPSource) GetImportHash ¶
func (o *LDAPSource) GetImportHash() string
GetImportHash returns the ImportHash of the receiver.
func (*LDAPSource) GetImportLabel ¶
func (o *LDAPSource) GetImportLabel() string
GetImportLabel returns the ImportLabel of the receiver.
func (*LDAPSource) GetNamespace ¶
func (o *LDAPSource) GetNamespace() string
GetNamespace returns the Namespace of the receiver.
func (*LDAPSource) GetUpdateTime ¶ added in v0.11.0
func (o *LDAPSource) GetUpdateTime() time.Time
GetUpdateTime returns the UpdateTime of the receiver.
func (*LDAPSource) GetZHash ¶
func (o *LDAPSource) GetZHash() int
GetZHash returns the ZHash of the receiver.
func (*LDAPSource) GetZone ¶
func (o *LDAPSource) GetZone() int
GetZone returns the Zone of the receiver.
func (*LDAPSource) Identifier ¶
func (o *LDAPSource) Identifier() string
Identifier returns the value of the object's unique identifier.
func (*LDAPSource) Identity ¶
func (o *LDAPSource) Identity() elemental.Identity
Identity returns the Identity of the object.
func (*LDAPSource) MarshalBSON ¶ added in v0.11.15
func (o *LDAPSource) MarshalBSON() ([]byte, error)
MarshalBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.
func (*LDAPSource) Patch ¶
func (o *LDAPSource) Patch(sparse elemental.SparseIdentifiable)
Patch apply the non nil value of a *SparseLDAPSource to the object.
func (*LDAPSource) SetCreateTime ¶ added in v0.11.0
func (o *LDAPSource) SetCreateTime(createTime time.Time)
SetCreateTime sets the property CreateTime of the receiver using the given value.
func (*LDAPSource) SetID ¶
func (o *LDAPSource) SetID(ID string)
SetID sets the property ID of the receiver using the given value.
func (*LDAPSource) SetIdentifier ¶
func (o *LDAPSource) SetIdentifier(id string)
SetIdentifier sets the value of the object's unique identifier.
func (*LDAPSource) SetImportHash ¶
func (o *LDAPSource) SetImportHash(importHash string)
SetImportHash sets the property ImportHash of the receiver using the given value.
func (*LDAPSource) SetImportLabel ¶
func (o *LDAPSource) SetImportLabel(importLabel string)
SetImportLabel sets the property ImportLabel of the receiver using the given value.
func (*LDAPSource) SetNamespace ¶
func (o *LDAPSource) SetNamespace(namespace string)
SetNamespace sets the property Namespace of the receiver using the given value.
func (*LDAPSource) SetUpdateTime ¶ added in v0.11.0
func (o *LDAPSource) SetUpdateTime(updateTime time.Time)
SetUpdateTime sets the property UpdateTime of the receiver using the given value.
func (*LDAPSource) SetZHash ¶
func (o *LDAPSource) SetZHash(zHash int)
SetZHash sets the property ZHash of the receiver using the given value.
func (*LDAPSource) SetZone ¶
func (o *LDAPSource) SetZone(zone int)
SetZone sets the property Zone of the receiver using the given value.
func (*LDAPSource) SpecificationForAttribute ¶
func (*LDAPSource) SpecificationForAttribute(name string) elemental.AttributeSpecification
SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.
func (*LDAPSource) String ¶
func (o *LDAPSource) String() string
func (*LDAPSource) ToSparse ¶
func (o *LDAPSource) ToSparse(fields ...string) elemental.SparseIdentifiable
ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.
func (*LDAPSource) UnmarshalBSON ¶ added in v0.11.15
func (o *LDAPSource) UnmarshalBSON(raw []byte) error
UnmarshalBSON implements the bson unmarshaling interface. This is used to transparently convert MongoDBID to ID.
func (*LDAPSource) Validate ¶
func (o *LDAPSource) Validate() error
Validate valides the current information stored into the structure.
func (*LDAPSource) ValueForAttribute ¶
func (o *LDAPSource) ValueForAttribute(name string) any
ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.
func (*LDAPSource) Version ¶
func (o *LDAPSource) Version() int
Version returns the hardcoded version of the model.
type LDAPSourceSecurityProtocolValue ¶
type LDAPSourceSecurityProtocolValue string
LDAPSourceSecurityProtocolValue represents the possible values for attribute "securityProtocol".
const ( // LDAPSourceSecurityProtocolInbandTLS represents the value InbandTLS. LDAPSourceSecurityProtocolInbandTLS LDAPSourceSecurityProtocolValue = "InbandTLS" // LDAPSourceSecurityProtocolNone represents the value None. LDAPSourceSecurityProtocolNone LDAPSourceSecurityProtocolValue = "None" // LDAPSourceSecurityProtocolTLS represents the value TLS. LDAPSourceSecurityProtocolTLS LDAPSourceSecurityProtocolValue = "TLS" )
type LDAPSourcesList ¶
type LDAPSourcesList []*LDAPSource
LDAPSourcesList represents a list of LDAPSources
func (LDAPSourcesList) Append ¶
func (o LDAPSourcesList) Append(objects ...elemental.Identifiable) elemental.Identifiables
Append appends the objects to the a new copy of the LDAPSourcesList.
func (LDAPSourcesList) Copy ¶
func (o LDAPSourcesList) Copy() elemental.Identifiables
Copy returns a pointer to a copy the LDAPSourcesList.
func (LDAPSourcesList) DefaultOrder ¶
func (o LDAPSourcesList) DefaultOrder() []string
DefaultOrder returns the default ordering fields of the content.
func (LDAPSourcesList) Identity ¶
func (o LDAPSourcesList) Identity() elemental.Identity
Identity returns the identity of the objects in the list.
func (LDAPSourcesList) List ¶
func (o LDAPSourcesList) List() elemental.IdentifiablesList
List converts the object to an elemental.IdentifiablesList.
func (LDAPSourcesList) ToSparse ¶
func (o LDAPSourcesList) ToSparse(fields ...string) elemental.Identifiables
ToSparse returns the LDAPSourcesList converted to SparseLDAPSourcesList. Objects in the list will only contain the given fields. No field means entire field set.
func (LDAPSourcesList) Version ¶
func (o LDAPSourcesList) Version() int
Version returns the version of the content.
type MTLSSource ¶
type MTLSSource struct { // The Certificate authority to use to validate user certificates in PEM format. CA string `json:"CA" msgpack:"CA" bson:"ca" mapstructure:"CA,omitempty"` // ID is the identifier of the object. ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"` // Creation date of the object. CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"` // The description of the object. Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"` // The fingerprint of the CAs in the chain. Fingerprints []string `json:"fingerprints" msgpack:"fingerprints" bson:"fingerprints" mapstructure:"fingerprints,omitempty"` // The hash of the structure used to compare with new import version. ImportHash string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"` // The user-defined import label that allows the system to group resources from the // same import operation. ImportLabel string `` /* 126-byte string literal not displayed */ // Contains optional information about a remote service that can be used to modify // the claims that are about to be delivered using this authentication source. Modifier *IdentityModifier `json:"modifier,omitempty" msgpack:"modifier,omitempty" bson:"modifier,omitempty" mapstructure:"modifier,omitempty"` // The name of the source. Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"` // The namespace of the object. Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"` // Value of the CAs X.509 SubjectKeyIDs in the chain. SubjectKeyIDs []string `json:"subjectKeyIDs" msgpack:"subjectKeyIDs" bson:"subjectkeyids" mapstructure:"subjectKeyIDs,omitempty"` // Last update date of the object. UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"` // Hash of the object used to shard the data. ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"` // Sharding zone. Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"` ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"` }
MTLSSource represents the model of a mtlssource
func (*MTLSSource) AttributeSpecifications ¶
func (*MTLSSource) AttributeSpecifications() map[string]elemental.AttributeSpecification
AttributeSpecifications returns the full attribute specifications map.
func (*MTLSSource) BleveType ¶
func (o *MTLSSource) BleveType() string
BleveType implements the bleve.Classifier Interface.
func (*MTLSSource) DeepCopy ¶
func (o *MTLSSource) DeepCopy() *MTLSSource
DeepCopy returns a deep copy if the MTLSSource.
func (*MTLSSource) DeepCopyInto ¶
func (o *MTLSSource) DeepCopyInto(out *MTLSSource)
DeepCopyInto copies the receiver into the given *MTLSSource.
func (*MTLSSource) DefaultOrder ¶
func (o *MTLSSource) DefaultOrder() []string
DefaultOrder returns the list of default ordering fields.
func (*MTLSSource) Doc ¶
func (o *MTLSSource) Doc() string
Doc returns the documentation for the object
func (*MTLSSource) GetCreateTime ¶ added in v0.11.0
func (o *MTLSSource) GetCreateTime() time.Time
GetCreateTime returns the CreateTime of the receiver.
func (*MTLSSource) GetID ¶
func (o *MTLSSource) GetID() string
GetID returns the ID of the receiver.
func (*MTLSSource) GetImportHash ¶
func (o *MTLSSource) GetImportHash() string
GetImportHash returns the ImportHash of the receiver.
func (*MTLSSource) GetImportLabel ¶
func (o *MTLSSource) GetImportLabel() string
GetImportLabel returns the ImportLabel of the receiver.
func (*MTLSSource) GetNamespace ¶
func (o *MTLSSource) GetNamespace() string
GetNamespace returns the Namespace of the receiver.
func (*MTLSSource) GetUpdateTime ¶ added in v0.11.0
func (o *MTLSSource) GetUpdateTime() time.Time
GetUpdateTime returns the UpdateTime of the receiver.
func (*MTLSSource) GetZHash ¶
func (o *MTLSSource) GetZHash() int
GetZHash returns the ZHash of the receiver.
func (*MTLSSource) GetZone ¶
func (o *MTLSSource) GetZone() int
GetZone returns the Zone of the receiver.
func (*MTLSSource) Identifier ¶
func (o *MTLSSource) Identifier() string
Identifier returns the value of the object's unique identifier.
func (*MTLSSource) Identity ¶
func (o *MTLSSource) Identity() elemental.Identity
Identity returns the Identity of the object.
func (*MTLSSource) MarshalBSON ¶ added in v0.11.15
func (o *MTLSSource) MarshalBSON() ([]byte, error)
MarshalBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.
func (*MTLSSource) Patch ¶
func (o *MTLSSource) Patch(sparse elemental.SparseIdentifiable)
Patch apply the non nil value of a *SparseMTLSSource to the object.
func (*MTLSSource) SetCreateTime ¶ added in v0.11.0
func (o *MTLSSource) SetCreateTime(createTime time.Time)
SetCreateTime sets the property CreateTime of the receiver using the given value.
func (*MTLSSource) SetID ¶
func (o *MTLSSource) SetID(ID string)
SetID sets the property ID of the receiver using the given value.
func (*MTLSSource) SetIdentifier ¶
func (o *MTLSSource) SetIdentifier(id string)
SetIdentifier sets the value of the object's unique identifier.
func (*MTLSSource) SetImportHash ¶
func (o *MTLSSource) SetImportHash(importHash string)
SetImportHash sets the property ImportHash of the receiver using the given value.
func (*MTLSSource) SetImportLabel ¶
func (o *MTLSSource) SetImportLabel(importLabel string)
SetImportLabel sets the property ImportLabel of the receiver using the given value.
func (*MTLSSource) SetNamespace ¶
func (o *MTLSSource) SetNamespace(namespace string)
SetNamespace sets the property Namespace of the receiver using the given value.
func (*MTLSSource) SetUpdateTime ¶ added in v0.11.0
func (o *MTLSSource) SetUpdateTime(updateTime time.Time)
SetUpdateTime sets the property UpdateTime of the receiver using the given value.
func (*MTLSSource) SetZHash ¶
func (o *MTLSSource) SetZHash(zHash int)
SetZHash sets the property ZHash of the receiver using the given value.
func (*MTLSSource) SetZone ¶
func (o *MTLSSource) SetZone(zone int)
SetZone sets the property Zone of the receiver using the given value.
func (*MTLSSource) SpecificationForAttribute ¶
func (*MTLSSource) SpecificationForAttribute(name string) elemental.AttributeSpecification
SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.
func (*MTLSSource) String ¶
func (o *MTLSSource) String() string
func (*MTLSSource) ToSparse ¶
func (o *MTLSSource) ToSparse(fields ...string) elemental.SparseIdentifiable
ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.
func (*MTLSSource) UnmarshalBSON ¶ added in v0.11.15
func (o *MTLSSource) UnmarshalBSON(raw []byte) error
UnmarshalBSON implements the bson unmarshaling interface. This is used to transparently convert MongoDBID to ID.
func (*MTLSSource) Validate ¶
func (o *MTLSSource) Validate() error
Validate valides the current information stored into the structure.
func (*MTLSSource) ValueForAttribute ¶
func (o *MTLSSource) ValueForAttribute(name string) any
ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.
func (*MTLSSource) Version ¶
func (o *MTLSSource) Version() int
Version returns the hardcoded version of the model.
type MTLSSourcesList ¶
type MTLSSourcesList []*MTLSSource
MTLSSourcesList represents a list of MTLSSources
func (MTLSSourcesList) Append ¶
func (o MTLSSourcesList) Append(objects ...elemental.Identifiable) elemental.Identifiables
Append appends the objects to the a new copy of the MTLSSourcesList.
func (MTLSSourcesList) Copy ¶
func (o MTLSSourcesList) Copy() elemental.Identifiables
Copy returns a pointer to a copy the MTLSSourcesList.
func (MTLSSourcesList) DefaultOrder ¶
func (o MTLSSourcesList) DefaultOrder() []string
DefaultOrder returns the default ordering fields of the content.
func (MTLSSourcesList) Identity ¶
func (o MTLSSourcesList) Identity() elemental.Identity
Identity returns the identity of the objects in the list.
func (MTLSSourcesList) List ¶
func (o MTLSSourcesList) List() elemental.IdentifiablesList
List converts the object to an elemental.IdentifiablesList.
func (MTLSSourcesList) ToSparse ¶
func (o MTLSSourcesList) ToSparse(fields ...string) elemental.Identifiables
ToSparse returns the MTLSSourcesList converted to SparseMTLSSourcesList. Objects in the list will only contain the given fields. No field means entire field set.
func (MTLSSourcesList) Version ¶
func (o MTLSSourcesList) Version() int
Version returns the version of the content.
type Namespace ¶
type Namespace struct { // ID is the identifier of the object. ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"` // Creation date of the object. CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"` // The description of the object. Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"` // The name of the namespace. When you create a namespace, only put its bare name, // not its full path. Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"` // The namespace of the object. Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"` // Last update date of the object. UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"` // Hash of the object used to shard the data. ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"` // Sharding zone. Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"` ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"` }
Namespace represents the model of a namespace
func (*Namespace) AttributeSpecifications ¶
func (*Namespace) AttributeSpecifications() map[string]elemental.AttributeSpecification
AttributeSpecifications returns the full attribute specifications map.
func (*Namespace) DeepCopyInto ¶
DeepCopyInto copies the receiver into the given *Namespace.
func (*Namespace) DefaultOrder ¶
DefaultOrder returns the list of default ordering fields.
func (*Namespace) GetCreateTime ¶ added in v0.11.0
GetCreateTime returns the CreateTime of the receiver.
func (*Namespace) GetNamespace ¶
GetNamespace returns the Namespace of the receiver.
func (*Namespace) GetUpdateTime ¶ added in v0.11.0
GetUpdateTime returns the UpdateTime of the receiver.
func (*Namespace) Identifier ¶
Identifier returns the value of the object's unique identifier.
func (*Namespace) MarshalBSON ¶ added in v0.11.15
MarshalBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.
func (*Namespace) Patch ¶
func (o *Namespace) Patch(sparse elemental.SparseIdentifiable)
Patch apply the non nil value of a *SparseNamespace to the object.
func (*Namespace) SetCreateTime ¶ added in v0.11.0
SetCreateTime sets the property CreateTime of the receiver using the given value.
func (*Namespace) SetIdentifier ¶
SetIdentifier sets the value of the object's unique identifier.
func (*Namespace) SetNamespace ¶
SetNamespace sets the property Namespace of the receiver using the given value.
func (*Namespace) SetUpdateTime ¶ added in v0.11.0
SetUpdateTime sets the property UpdateTime of the receiver using the given value.
func (*Namespace) SetZHash ¶
SetZHash sets the property ZHash of the receiver using the given value.
func (*Namespace) SpecificationForAttribute ¶
func (*Namespace) SpecificationForAttribute(name string) elemental.AttributeSpecification
SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.
func (*Namespace) ToSparse ¶
func (o *Namespace) ToSparse(fields ...string) elemental.SparseIdentifiable
ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.
func (*Namespace) UnmarshalBSON ¶ added in v0.11.15
UnmarshalBSON implements the bson unmarshaling interface. This is used to transparently convert MongoDBID to ID.
func (*Namespace) ValueForAttribute ¶
ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.
type NamespaceDeletionRecord ¶ added in v0.10.0
type NamespaceDeletionRecord struct { // ID is the identifier of the object. ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"` // Deletion date of the object. DeleteTime time.Time `json:"deleteTime" msgpack:"deleteTime" bson:"deletetime" mapstructure:"deleteTime,omitempty"` // Namespace that got deleted. Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"` // Hash of the object used to shard the data. ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"` // Sharding zone. Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"` ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"` }
NamespaceDeletionRecord represents the model of a namespacedeletionrecord
func NewNamespaceDeletionRecord ¶ added in v0.10.0
func NewNamespaceDeletionRecord() *NamespaceDeletionRecord
NewNamespaceDeletionRecord returns a new *NamespaceDeletionRecord
func (*NamespaceDeletionRecord) AttributeSpecifications ¶ added in v0.10.0
func (*NamespaceDeletionRecord) AttributeSpecifications() map[string]elemental.AttributeSpecification
AttributeSpecifications returns the full attribute specifications map.
func (*NamespaceDeletionRecord) BleveType ¶ added in v0.10.0
func (o *NamespaceDeletionRecord) BleveType() string
BleveType implements the bleve.Classifier Interface.
func (*NamespaceDeletionRecord) DeepCopy ¶ added in v0.10.0
func (o *NamespaceDeletionRecord) DeepCopy() *NamespaceDeletionRecord
DeepCopy returns a deep copy if the NamespaceDeletionRecord.
func (*NamespaceDeletionRecord) DeepCopyInto ¶ added in v0.10.0
func (o *NamespaceDeletionRecord) DeepCopyInto(out *NamespaceDeletionRecord)
DeepCopyInto copies the receiver into the given *NamespaceDeletionRecord.
func (*NamespaceDeletionRecord) DefaultOrder ¶ added in v0.10.0
func (o *NamespaceDeletionRecord) DefaultOrder() []string
DefaultOrder returns the list of default ordering fields.
func (*NamespaceDeletionRecord) Doc ¶ added in v0.10.0
func (o *NamespaceDeletionRecord) Doc() string
Doc returns the documentation for the object
func (*NamespaceDeletionRecord) GetID ¶ added in v0.10.0
func (o *NamespaceDeletionRecord) GetID() string
GetID returns the ID of the receiver.
func (*NamespaceDeletionRecord) GetZHash ¶ added in v0.10.0
func (o *NamespaceDeletionRecord) GetZHash() int
GetZHash returns the ZHash of the receiver.
func (*NamespaceDeletionRecord) GetZone ¶ added in v0.10.0
func (o *NamespaceDeletionRecord) GetZone() int
GetZone returns the Zone of the receiver.
func (*NamespaceDeletionRecord) Identifier ¶ added in v0.10.0
func (o *NamespaceDeletionRecord) Identifier() string
Identifier returns the value of the object's unique identifier.
func (*NamespaceDeletionRecord) Identity ¶ added in v0.10.0
func (o *NamespaceDeletionRecord) Identity() elemental.Identity
Identity returns the Identity of the object.
func (*NamespaceDeletionRecord) MarshalBSON ¶ added in v0.11.15
func (o *NamespaceDeletionRecord) MarshalBSON() ([]byte, error)
MarshalBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.
func (*NamespaceDeletionRecord) Patch ¶ added in v0.10.0
func (o *NamespaceDeletionRecord) Patch(sparse elemental.SparseIdentifiable)
Patch apply the non nil value of a *SparseNamespaceDeletionRecord to the object.
func (*NamespaceDeletionRecord) SetID ¶ added in v0.10.0
func (o *NamespaceDeletionRecord) SetID(ID string)
SetID sets the property ID of the receiver using the given value.
func (*NamespaceDeletionRecord) SetIdentifier ¶ added in v0.10.0
func (o *NamespaceDeletionRecord) SetIdentifier(id string)
SetIdentifier sets the value of the object's unique identifier.
func (*NamespaceDeletionRecord) SetZHash ¶ added in v0.10.0
func (o *NamespaceDeletionRecord) SetZHash(zHash int)
SetZHash sets the property ZHash of the receiver using the given value.
func (*NamespaceDeletionRecord) SetZone ¶ added in v0.10.0
func (o *NamespaceDeletionRecord) SetZone(zone int)
SetZone sets the property Zone of the receiver using the given value.
func (*NamespaceDeletionRecord) SpecificationForAttribute ¶ added in v0.10.0
func (*NamespaceDeletionRecord) SpecificationForAttribute(name string) elemental.AttributeSpecification
SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.
func (*NamespaceDeletionRecord) String ¶ added in v0.10.0
func (o *NamespaceDeletionRecord) String() string
func (*NamespaceDeletionRecord) ToSparse ¶ added in v0.10.0
func (o *NamespaceDeletionRecord) ToSparse(fields ...string) elemental.SparseIdentifiable
ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.
func (*NamespaceDeletionRecord) UnmarshalBSON ¶ added in v0.11.15
func (o *NamespaceDeletionRecord) UnmarshalBSON(raw []byte) error
UnmarshalBSON implements the bson unmarshaling interface. This is used to transparently convert MongoDBID to ID.
func (*NamespaceDeletionRecord) Validate ¶ added in v0.10.0
func (o *NamespaceDeletionRecord) Validate() error
Validate valides the current information stored into the structure.
func (*NamespaceDeletionRecord) ValueForAttribute ¶ added in v0.10.0
func (o *NamespaceDeletionRecord) ValueForAttribute(name string) any
ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.
func (*NamespaceDeletionRecord) Version ¶ added in v0.10.0
func (o *NamespaceDeletionRecord) Version() int
Version returns the hardcoded version of the model.
type NamespaceDeletionRecordsList ¶ added in v0.10.0
type NamespaceDeletionRecordsList []*NamespaceDeletionRecord
NamespaceDeletionRecordsList represents a list of NamespaceDeletionRecords
func (NamespaceDeletionRecordsList) Append ¶ added in v0.10.0
func (o NamespaceDeletionRecordsList) Append(objects ...elemental.Identifiable) elemental.Identifiables
Append appends the objects to the a new copy of the NamespaceDeletionRecordsList.
func (NamespaceDeletionRecordsList) Copy ¶ added in v0.10.0
func (o NamespaceDeletionRecordsList) Copy() elemental.Identifiables
Copy returns a pointer to a copy the NamespaceDeletionRecordsList.
func (NamespaceDeletionRecordsList) DefaultOrder ¶ added in v0.10.0
func (o NamespaceDeletionRecordsList) DefaultOrder() []string
DefaultOrder returns the default ordering fields of the content.
func (NamespaceDeletionRecordsList) Identity ¶ added in v0.10.0
func (o NamespaceDeletionRecordsList) Identity() elemental.Identity
Identity returns the identity of the objects in the list.
func (NamespaceDeletionRecordsList) List ¶ added in v0.10.0
func (o NamespaceDeletionRecordsList) List() elemental.IdentifiablesList
List converts the object to an elemental.IdentifiablesList.
func (NamespaceDeletionRecordsList) ToSparse ¶ added in v0.10.0
func (o NamespaceDeletionRecordsList) ToSparse(fields ...string) elemental.Identifiables
ToSparse returns the NamespaceDeletionRecordsList converted to SparseNamespaceDeletionRecordsList. Objects in the list will only contain the given fields. No field means entire field set.
func (NamespaceDeletionRecordsList) Version ¶ added in v0.10.0
func (o NamespaceDeletionRecordsList) Version() int
Version returns the version of the content.
type NamespacesList ¶
type NamespacesList []*Namespace
NamespacesList represents a list of Namespaces
func (NamespacesList) Append ¶
func (o NamespacesList) Append(objects ...elemental.Identifiable) elemental.Identifiables
Append appends the objects to the a new copy of the NamespacesList.
func (NamespacesList) Copy ¶
func (o NamespacesList) Copy() elemental.Identifiables
Copy returns a pointer to a copy the NamespacesList.
func (NamespacesList) DefaultOrder ¶
func (o NamespacesList) DefaultOrder() []string
DefaultOrder returns the default ordering fields of the content.
func (NamespacesList) Identity ¶
func (o NamespacesList) Identity() elemental.Identity
Identity returns the identity of the objects in the list.
func (NamespacesList) List ¶
func (o NamespacesList) List() elemental.IdentifiablesList
List converts the object to an elemental.IdentifiablesList.
func (NamespacesList) ToSparse ¶
func (o NamespacesList) ToSparse(fields ...string) elemental.Identifiables
ToSparse returns the NamespacesList converted to SparseNamespacesList. Objects in the list will only contain the given fields. No field means entire field set.
func (NamespacesList) Version ¶
func (o NamespacesList) Version() int
Version returns the version of the content.
type OIDCSource ¶
type OIDCSource struct { // The Certificate authority to use to validate the authenticity of the OIDC // server. If left empty, the system trust stroe will be used. In most of the // cases, you don't need to set this. CA string `json:"CA" msgpack:"CA" bson:"ca" mapstructure:"CA,omitempty"` // ID is the identifier of the object. ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"` // Unique client ID. ClientID string `json:"clientID" msgpack:"clientID" bson:"clientid" mapstructure:"clientID,omitempty"` // Client secret associated with the client ID. ClientSecret string `json:"clientSecret" msgpack:"clientSecret" bson:"clientsecret" mapstructure:"clientSecret,omitempty"` // Creation date of the object. CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"` // The description of the object. Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"` // OIDC [discovery // endpoint](https://openid.net/specs/openid-connect-discovery-1_0.html#IssuerDiscovery). Endpoint string `json:"endpoint" msgpack:"endpoint" bson:"endpoint" mapstructure:"endpoint,omitempty"` // The hash of the structure used to compare with new import version. ImportHash string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"` // The user-defined import label that allows the system to group resources from the // same import operation. ImportLabel string `` /* 126-byte string literal not displayed */ // Contains optional information about a remote service that can be used to modify // the claims that are about to be delivered using this authentication source. Modifier *IdentityModifier `json:"modifier,omitempty" msgpack:"modifier,omitempty" bson:"modifier,omitempty" mapstructure:"modifier,omitempty"` // The name of the source. Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"` // The namespace of the object. Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"` // List of scopes to allow. Scopes []string `json:"scopes" msgpack:"scopes" bson:"scopes" mapstructure:"scopes,omitempty"` // Last update date of the object. UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"` // Hash of the object used to shard the data. ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"` // Sharding zone. Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"` ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"` }
OIDCSource represents the model of a oidcsource
func (*OIDCSource) AttributeSpecifications ¶
func (*OIDCSource) AttributeSpecifications() map[string]elemental.AttributeSpecification
AttributeSpecifications returns the full attribute specifications map.
func (*OIDCSource) BleveType ¶
func (o *OIDCSource) BleveType() string
BleveType implements the bleve.Classifier Interface.
func (*OIDCSource) DecryptAttributes ¶
func (o *OIDCSource) DecryptAttributes(encrypter elemental.AttributeEncrypter) (err error)
DecryptAttributes decrypts the attributes marked as `encrypted` using the given decrypter.
func (*OIDCSource) DeepCopy ¶
func (o *OIDCSource) DeepCopy() *OIDCSource
DeepCopy returns a deep copy if the OIDCSource.
func (*OIDCSource) DeepCopyInto ¶
func (o *OIDCSource) DeepCopyInto(out *OIDCSource)
DeepCopyInto copies the receiver into the given *OIDCSource.
func (*OIDCSource) DefaultOrder ¶
func (o *OIDCSource) DefaultOrder() []string
DefaultOrder returns the list of default ordering fields.
func (*OIDCSource) Doc ¶
func (o *OIDCSource) Doc() string
Doc returns the documentation for the object
func (*OIDCSource) EncryptAttributes ¶
func (o *OIDCSource) EncryptAttributes(encrypter elemental.AttributeEncrypter) (err error)
EncryptAttributes encrypts the attributes marked as `encrypted` using the given encrypter.
func (*OIDCSource) GetCreateTime ¶ added in v0.11.0
func (o *OIDCSource) GetCreateTime() time.Time
GetCreateTime returns the CreateTime of the receiver.
func (*OIDCSource) GetID ¶
func (o *OIDCSource) GetID() string
GetID returns the ID of the receiver.
func (*OIDCSource) GetImportHash ¶
func (o *OIDCSource) GetImportHash() string
GetImportHash returns the ImportHash of the receiver.
func (*OIDCSource) GetImportLabel ¶
func (o *OIDCSource) GetImportLabel() string
GetImportLabel returns the ImportLabel of the receiver.
func (*OIDCSource) GetNamespace ¶
func (o *OIDCSource) GetNamespace() string
GetNamespace returns the Namespace of the receiver.
func (*OIDCSource) GetUpdateTime ¶ added in v0.11.0
func (o *OIDCSource) GetUpdateTime() time.Time
GetUpdateTime returns the UpdateTime of the receiver.
func (*OIDCSource) GetZHash ¶
func (o *OIDCSource) GetZHash() int
GetZHash returns the ZHash of the receiver.
func (*OIDCSource) GetZone ¶
func (o *OIDCSource) GetZone() int
GetZone returns the Zone of the receiver.
func (*OIDCSource) Identifier ¶
func (o *OIDCSource) Identifier() string
Identifier returns the value of the object's unique identifier.
func (*OIDCSource) Identity ¶
func (o *OIDCSource) Identity() elemental.Identity
Identity returns the Identity of the object.
func (*OIDCSource) MarshalBSON ¶ added in v0.11.15
func (o *OIDCSource) MarshalBSON() ([]byte, error)
MarshalBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.
func (*OIDCSource) Patch ¶
func (o *OIDCSource) Patch(sparse elemental.SparseIdentifiable)
Patch apply the non nil value of a *SparseOIDCSource to the object.
func (*OIDCSource) SetCreateTime ¶ added in v0.11.0
func (o *OIDCSource) SetCreateTime(createTime time.Time)
SetCreateTime sets the property CreateTime of the receiver using the given value.
func (*OIDCSource) SetID ¶
func (o *OIDCSource) SetID(ID string)
SetID sets the property ID of the receiver using the given value.
func (*OIDCSource) SetIdentifier ¶
func (o *OIDCSource) SetIdentifier(id string)
SetIdentifier sets the value of the object's unique identifier.
func (*OIDCSource) SetImportHash ¶
func (o *OIDCSource) SetImportHash(importHash string)
SetImportHash sets the property ImportHash of the receiver using the given value.
func (*OIDCSource) SetImportLabel ¶
func (o *OIDCSource) SetImportLabel(importLabel string)
SetImportLabel sets the property ImportLabel of the receiver using the given value.
func (*OIDCSource) SetNamespace ¶
func (o *OIDCSource) SetNamespace(namespace string)
SetNamespace sets the property Namespace of the receiver using the given value.
func (*OIDCSource) SetUpdateTime ¶ added in v0.11.0
func (o *OIDCSource) SetUpdateTime(updateTime time.Time)
SetUpdateTime sets the property UpdateTime of the receiver using the given value.
func (*OIDCSource) SetZHash ¶
func (o *OIDCSource) SetZHash(zHash int)
SetZHash sets the property ZHash of the receiver using the given value.
func (*OIDCSource) SetZone ¶
func (o *OIDCSource) SetZone(zone int)
SetZone sets the property Zone of the receiver using the given value.
func (*OIDCSource) SpecificationForAttribute ¶
func (*OIDCSource) SpecificationForAttribute(name string) elemental.AttributeSpecification
SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.
func (*OIDCSource) String ¶
func (o *OIDCSource) String() string
func (*OIDCSource) ToSparse ¶
func (o *OIDCSource) ToSparse(fields ...string) elemental.SparseIdentifiable
ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.
func (*OIDCSource) UnmarshalBSON ¶ added in v0.11.15
func (o *OIDCSource) UnmarshalBSON(raw []byte) error
UnmarshalBSON implements the bson unmarshaling interface. This is used to transparently convert MongoDBID to ID.
func (*OIDCSource) Validate ¶
func (o *OIDCSource) Validate() error
Validate valides the current information stored into the structure.
func (*OIDCSource) ValueForAttribute ¶
func (o *OIDCSource) ValueForAttribute(name string) any
ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.
func (*OIDCSource) Version ¶
func (o *OIDCSource) Version() int
Version returns the hardcoded version of the model.
type OIDCSourcesList ¶
type OIDCSourcesList []*OIDCSource
OIDCSourcesList represents a list of OIDCSources
func (OIDCSourcesList) Append ¶
func (o OIDCSourcesList) Append(objects ...elemental.Identifiable) elemental.Identifiables
Append appends the objects to the a new copy of the OIDCSourcesList.
func (OIDCSourcesList) Copy ¶
func (o OIDCSourcesList) Copy() elemental.Identifiables
Copy returns a pointer to a copy the OIDCSourcesList.
func (OIDCSourcesList) DefaultOrder ¶
func (o OIDCSourcesList) DefaultOrder() []string
DefaultOrder returns the default ordering fields of the content.
func (OIDCSourcesList) Identity ¶
func (o OIDCSourcesList) Identity() elemental.Identity
Identity returns the identity of the objects in the list.
func (OIDCSourcesList) List ¶
func (o OIDCSourcesList) List() elemental.IdentifiablesList
List converts the object to an elemental.IdentifiablesList.
func (OIDCSourcesList) ToSparse ¶
func (o OIDCSourcesList) ToSparse(fields ...string) elemental.Identifiables
ToSparse returns the OIDCSourcesList converted to SparseOIDCSourcesList. Objects in the list will only contain the given fields. No field means entire field set.
func (OIDCSourcesList) Version ¶
func (o OIDCSourcesList) Version() int
Version returns the version of the content.
type Permissions ¶
type Permissions struct { // The optional ID of the object to check permission for. ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"` // IP of the client. IP string `json:"IP" msgpack:"IP" bson:"-" mapstructure:"IP,omitempty"` // The list of claims. Claims []string `json:"claims" msgpack:"claims" bson:"-" mapstructure:"claims,omitempty"` // Return an eventual error. Error string `json:"error,omitempty" msgpack:"error,omitempty" bson:"-" mapstructure:"error,omitempty"` // The namespace where to check permission from. Namespace string `json:"namespace" msgpack:"namespace" bson:"-" mapstructure:"namespace,omitempty"` // If true, skips computing restriction intersections. OffloadPermissionsRestrictions bool `` /* 143-byte string literal not displayed */ // The computed permissions. Permissions map[string]map[string]bool `json:"permissions,omitempty" msgpack:"permissions,omitempty" bson:"-" mapstructure:"permissions,omitempty"` // Sets the namespace restrictions that should apply. RestrictedNamespace string `json:"restrictedNamespace" msgpack:"restrictedNamespace" bson:"-" mapstructure:"restrictedNamespace,omitempty"` // Sets the networks restrictions that should apply. RestrictedNetworks []string `json:"restrictedNetworks" msgpack:"restrictedNetworks" bson:"-" mapstructure:"restrictedNetworks,omitempty"` // Sets the permissions restrictions that should apply. RestrictedPermissions []string `json:"restrictedPermissions" msgpack:"restrictedPermissions" bson:"-" mapstructure:"restrictedPermissions,omitempty"` ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"` }
Permissions represents the model of a permissions
func (*Permissions) AttributeSpecifications ¶
func (*Permissions) AttributeSpecifications() map[string]elemental.AttributeSpecification
AttributeSpecifications returns the full attribute specifications map.
func (*Permissions) BleveType ¶
func (o *Permissions) BleveType() string
BleveType implements the bleve.Classifier Interface.
func (*Permissions) DeepCopy ¶
func (o *Permissions) DeepCopy() *Permissions
DeepCopy returns a deep copy if the Permissions.
func (*Permissions) DeepCopyInto ¶
func (o *Permissions) DeepCopyInto(out *Permissions)
DeepCopyInto copies the receiver into the given *Permissions.
func (*Permissions) DefaultOrder ¶
func (o *Permissions) DefaultOrder() []string
DefaultOrder returns the list of default ordering fields.
func (*Permissions) Doc ¶
func (o *Permissions) Doc() string
Doc returns the documentation for the object
func (*Permissions) Identifier ¶
func (o *Permissions) Identifier() string
Identifier returns the value of the object's unique identifier.
func (*Permissions) Identity ¶
func (o *Permissions) Identity() elemental.Identity
Identity returns the Identity of the object.
func (*Permissions) MarshalBSON ¶ added in v0.11.15
func (o *Permissions) MarshalBSON() ([]byte, error)
MarshalBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.
func (*Permissions) Patch ¶
func (o *Permissions) Patch(sparse elemental.SparseIdentifiable)
Patch apply the non nil value of a *SparsePermissions to the object.
func (*Permissions) SetIdentifier ¶
func (o *Permissions) SetIdentifier(id string)
SetIdentifier sets the value of the object's unique identifier.
func (*Permissions) SpecificationForAttribute ¶
func (*Permissions) SpecificationForAttribute(name string) elemental.AttributeSpecification
SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.
func (*Permissions) String ¶
func (o *Permissions) String() string
func (*Permissions) ToSparse ¶
func (o *Permissions) ToSparse(fields ...string) elemental.SparseIdentifiable
ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.
func (*Permissions) UnmarshalBSON ¶ added in v0.11.15
func (o *Permissions) UnmarshalBSON(raw []byte) error
UnmarshalBSON implements the bson unmarshaling interface. This is used to transparently convert MongoDBID to ID.
func (*Permissions) Validate ¶
func (o *Permissions) Validate() error
Validate valides the current information stored into the structure.
func (*Permissions) ValueForAttribute ¶
func (o *Permissions) ValueForAttribute(name string) any
ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.
func (*Permissions) Version ¶
func (o *Permissions) Version() int
Version returns the hardcoded version of the model.
type PermissionsList ¶
type PermissionsList []*Permissions
PermissionsList represents a list of Permissions
func (PermissionsList) Append ¶
func (o PermissionsList) Append(objects ...elemental.Identifiable) elemental.Identifiables
Append appends the objects to the a new copy of the PermissionsList.
func (PermissionsList) Copy ¶
func (o PermissionsList) Copy() elemental.Identifiables
Copy returns a pointer to a copy the PermissionsList.
func (PermissionsList) DefaultOrder ¶
func (o PermissionsList) DefaultOrder() []string
DefaultOrder returns the default ordering fields of the content.
func (PermissionsList) Identity ¶
func (o PermissionsList) Identity() elemental.Identity
Identity returns the identity of the objects in the list.
func (PermissionsList) List ¶
func (o PermissionsList) List() elemental.IdentifiablesList
List converts the object to an elemental.IdentifiablesList.
func (PermissionsList) ToSparse ¶
func (o PermissionsList) ToSparse(fields ...string) elemental.Identifiables
ToSparse returns the PermissionsList converted to SparsePermissionsList. Objects in the list will only contain the given fields. No field means entire field set.
func (PermissionsList) Version ¶
func (o PermissionsList) Version() int
Version returns the version of the content.
type Root ¶
type Root struct {
ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}
Root represents the model of a root
func (*Root) AttributeSpecifications ¶
func (*Root) AttributeSpecifications() map[string]elemental.AttributeSpecification
AttributeSpecifications returns the full attribute specifications map.
func (*Root) DeepCopyInto ¶
DeepCopyInto copies the receiver into the given *Root.
func (*Root) DefaultOrder ¶
DefaultOrder returns the list of default ordering fields.
func (*Root) Identifier ¶
Identifier returns the value of the object's unique identifier.
func (*Root) MarshalBSON ¶ added in v0.11.15
MarshalBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.
func (*Root) SetIdentifier ¶
SetIdentifier sets the value of the object's unique identifier.
func (*Root) SpecificationForAttribute ¶
func (*Root) SpecificationForAttribute(name string) elemental.AttributeSpecification
SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.
func (*Root) UnmarshalBSON ¶ added in v0.11.15
UnmarshalBSON implements the bson unmarshaling interface. This is used to transparently convert MongoDBID to ID.
func (*Root) ValueForAttribute ¶
ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.
type SparseA3SSource ¶
type SparseA3SSource struct { // The Certificate authority to use to validate the authenticity of the A3S // server. If left empty, the system trust stroe will be used. CA *string `json:"CA,omitempty" msgpack:"CA,omitempty" bson:"ca,omitempty" mapstructure:"CA,omitempty"` // ID is the identifier of the object. ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"` // The audience that must be present in the remote a3s token. Audience *string `json:"audience,omitempty" msgpack:"audience,omitempty" bson:"audience,omitempty" mapstructure:"audience,omitempty"` // Creation date of the object. CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"` // The description of the object. Description *string `` /* 126-byte string literal not displayed */ // Endpoint of the remote a3s server, in case it is different from the issuer. If // left empty, the issuer value will be used. Endpoint *string `json:"endpoint,omitempty" msgpack:"endpoint,omitempty" bson:"endpoint,omitempty" mapstructure:"endpoint,omitempty"` // The hash of the structure used to compare with new import version. ImportHash *string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"` // The user-defined import label that allows the system to group resources from the // same import operation. ImportLabel *string `` /* 126-byte string literal not displayed */ // The issuer that represents the remote a3s server. Issuer *string `json:"issuer,omitempty" msgpack:"issuer,omitempty" bson:"issuer,omitempty" mapstructure:"issuer,omitempty"` // Contains optional information about a remote service that can be used to modify // the claims that are about to be delivered using this authentication source. Modifier *IdentityModifier `json:"modifier,omitempty" msgpack:"modifier,omitempty" bson:"modifier,omitempty" mapstructure:"modifier,omitempty"` // The name of the source. Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"` // The namespace of the object. Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"` // Last update date of the object. UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"` // Hash of the object used to shard the data. ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"` // Sharding zone. Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"` ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"` }
SparseA3SSource represents the sparse version of a a3ssource.
func NewSparseA3SSource ¶
func NewSparseA3SSource() *SparseA3SSource
NewSparseA3SSource returns a new SparseA3SSource.
func (*SparseA3SSource) DeepCopy ¶
func (o *SparseA3SSource) DeepCopy() *SparseA3SSource
DeepCopy returns a deep copy if the SparseA3SSource.
func (*SparseA3SSource) DeepCopyInto ¶
func (o *SparseA3SSource) DeepCopyInto(out *SparseA3SSource)
DeepCopyInto copies the receiver into the given *SparseA3SSource.
func (*SparseA3SSource) GetCreateTime ¶ added in v0.11.0
func (o *SparseA3SSource) GetCreateTime() (out time.Time)
GetCreateTime returns the CreateTime of the receiver.
func (*SparseA3SSource) GetID ¶
func (o *SparseA3SSource) GetID() (out string)
GetID returns the ID of the receiver.
func (*SparseA3SSource) GetImportHash ¶
func (o *SparseA3SSource) GetImportHash() (out string)
GetImportHash returns the ImportHash of the receiver.
func (*SparseA3SSource) GetImportLabel ¶
func (o *SparseA3SSource) GetImportLabel() (out string)
GetImportLabel returns the ImportLabel of the receiver.
func (*SparseA3SSource) GetNamespace ¶
func (o *SparseA3SSource) GetNamespace() (out string)
GetNamespace returns the Namespace of the receiver.
func (*SparseA3SSource) GetUpdateTime ¶ added in v0.11.0
func (o *SparseA3SSource) GetUpdateTime() (out time.Time)
GetUpdateTime returns the UpdateTime of the receiver.
func (*SparseA3SSource) GetZHash ¶
func (o *SparseA3SSource) GetZHash() (out int)
GetZHash returns the ZHash of the receiver.
func (*SparseA3SSource) GetZone ¶
func (o *SparseA3SSource) GetZone() (out int)
GetZone returns the Zone of the receiver.
func (*SparseA3SSource) Identifier ¶
func (o *SparseA3SSource) Identifier() string
Identifier returns the value of the sparse object's unique identifier.
func (*SparseA3SSource) Identity ¶
func (o *SparseA3SSource) Identity() elemental.Identity
Identity returns the Identity of the sparse object.
func (*SparseA3SSource) MarshalBSON ¶ added in v0.11.15
func (o *SparseA3SSource) MarshalBSON() ([]byte, error)
MarshalBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.
func (*SparseA3SSource) SetCreateTime ¶ added in v0.11.0
func (o *SparseA3SSource) SetCreateTime(createTime time.Time)
SetCreateTime sets the property CreateTime of the receiver using the address of the given value.
func (*SparseA3SSource) SetID ¶
func (o *SparseA3SSource) SetID(ID string)
SetID sets the property ID of the receiver using the address of the given value.
func (*SparseA3SSource) SetIdentifier ¶
func (o *SparseA3SSource) SetIdentifier(id string)
SetIdentifier sets the value of the sparse object's unique identifier.
func (*SparseA3SSource) SetImportHash ¶
func (o *SparseA3SSource) SetImportHash(importHash string)
SetImportHash sets the property ImportHash of the receiver using the address of the given value.
func (*SparseA3SSource) SetImportLabel ¶
func (o *SparseA3SSource) SetImportLabel(importLabel string)
SetImportLabel sets the property ImportLabel of the receiver using the address of the given value.
func (*SparseA3SSource) SetNamespace ¶
func (o *SparseA3SSource) SetNamespace(namespace string)
SetNamespace sets the property Namespace of the receiver using the address of the given value.
func (*SparseA3SSource) SetUpdateTime ¶ added in v0.11.0
func (o *SparseA3SSource) SetUpdateTime(updateTime time.Time)
SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.
func (*SparseA3SSource) SetZHash ¶
func (o *SparseA3SSource) SetZHash(zHash int)
SetZHash sets the property ZHash of the receiver using the address of the given value.
func (*SparseA3SSource) SetZone ¶
func (o *SparseA3SSource) SetZone(zone int)
SetZone sets the property Zone of the receiver using the address of the given value.
func (*SparseA3SSource) ToPlain ¶
func (o *SparseA3SSource) ToPlain() elemental.PlainIdentifiable
ToPlain returns the plain version of the sparse model.
func (*SparseA3SSource) UnmarshalBSON ¶ added in v0.11.15
func (o *SparseA3SSource) UnmarshalBSON(raw []byte) error
UnmarshalBSON implements the bson unmarshaling interface. This is used to transparently convert MongoDBID to ID.
func (*SparseA3SSource) Version ¶
func (o *SparseA3SSource) Version() int
Version returns the hardcoded version of the model.
type SparseA3SSourcesList ¶
type SparseA3SSourcesList []*SparseA3SSource
SparseA3SSourcesList represents a list of SparseA3SSources
func (SparseA3SSourcesList) Append ¶
func (o SparseA3SSourcesList) Append(objects ...elemental.Identifiable) elemental.Identifiables
Append appends the objects to the a new copy of the SparseA3SSourcesList.
func (SparseA3SSourcesList) Copy ¶
func (o SparseA3SSourcesList) Copy() elemental.Identifiables
Copy returns a pointer to a copy the SparseA3SSourcesList.
func (SparseA3SSourcesList) DefaultOrder ¶
func (o SparseA3SSourcesList) DefaultOrder() []string
DefaultOrder returns the default ordering fields of the content.
func (SparseA3SSourcesList) Identity ¶
func (o SparseA3SSourcesList) Identity() elemental.Identity
Identity returns the identity of the objects in the list.
func (SparseA3SSourcesList) List ¶
func (o SparseA3SSourcesList) List() elemental.IdentifiablesList
List converts the object to an elemental.IdentifiablesList.
func (SparseA3SSourcesList) ToPlain ¶
func (o SparseA3SSourcesList) ToPlain() elemental.IdentifiablesList
ToPlain returns the SparseA3SSourcesList converted to A3SSourcesList.
func (SparseA3SSourcesList) Version ¶
func (o SparseA3SSourcesList) Version() int
Version returns the version of the content.
type SparseAuthorization ¶
type SparseAuthorization struct { // ID is the identifier of the object. ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"` // Creation date of the object. CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"` // Description of the Authorization. Description *string `` /* 126-byte string literal not displayed */ // Set the authorization to be disabled. Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"` // This is a set of all subject tags for matching in the DB. FlattenedSubject *[]string `json:"-" msgpack:"-" bson:"flattenedsubject,omitempty" mapstructure:"-,omitempty"` // Hides the policies in children namespaces. Hidden *bool `json:"hidden,omitempty" msgpack:"hidden,omitempty" bson:"hidden,omitempty" mapstructure:"hidden,omitempty"` // The hash of the structure used to compare with new import version. ImportHash *string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"` // The user-defined import label that allows the system to group resources from the // same import operation. ImportLabel *string `` /* 126-byte string literal not displayed */ // The name of the Authorization. Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"` // The namespace of the object. Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"` // A list of permissions. Permissions *[]string `` /* 126-byte string literal not displayed */ // Propagates the api authorization to all of its children. This is always true. Propagate *bool `json:"-" msgpack:"-" bson:"propagate,omitempty" mapstructure:"-,omitempty"` // A tag expression that identifies the authorized user(s). Subject *[][]string `json:"subject,omitempty" msgpack:"subject,omitempty" bson:"subject,omitempty" mapstructure:"subject,omitempty"` // If set, the API authorization will only be valid if the request comes from one // the declared subnets. Subnets *[]string `json:"subnets,omitempty" msgpack:"subnets,omitempty" bson:"subnets,omitempty" mapstructure:"subnets,omitempty"` // Defines the namespace or namespaces in which the permission for subject should // apply. If empty, the object's namespace will be used. TargetNamespaces *[]string `` /* 146-byte string literal not displayed */ // List of issuers to consider before using the policy for a given set of claims. TrustedIssuers *[]string `` /* 138-byte string literal not displayed */ // Last update date of the object. UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"` // Hash of the object used to shard the data. ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"` // Sharding zone. Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"` ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"` }
SparseAuthorization represents the sparse version of a authorization.
func NewSparseAuthorization ¶
func NewSparseAuthorization() *SparseAuthorization
NewSparseAuthorization returns a new SparseAuthorization.
func (*SparseAuthorization) DeepCopy ¶
func (o *SparseAuthorization) DeepCopy() *SparseAuthorization
DeepCopy returns a deep copy if the SparseAuthorization.
func (*SparseAuthorization) DeepCopyInto ¶
func (o *SparseAuthorization) DeepCopyInto(out *SparseAuthorization)
DeepCopyInto copies the receiver into the given *SparseAuthorization.
func (*SparseAuthorization) GetCreateTime ¶ added in v0.11.0
func (o *SparseAuthorization) GetCreateTime() (out time.Time)
GetCreateTime returns the CreateTime of the receiver.
func (*SparseAuthorization) GetID ¶
func (o *SparseAuthorization) GetID() (out string)
GetID returns the ID of the receiver.
func (*SparseAuthorization) GetImportHash ¶
func (o *SparseAuthorization) GetImportHash() (out string)
GetImportHash returns the ImportHash of the receiver.
func (*SparseAuthorization) GetImportLabel ¶
func (o *SparseAuthorization) GetImportLabel() (out string)
GetImportLabel returns the ImportLabel of the receiver.
func (*SparseAuthorization) GetNamespace ¶
func (o *SparseAuthorization) GetNamespace() (out string)
GetNamespace returns the Namespace of the receiver.
func (*SparseAuthorization) GetPropagate ¶
func (o *SparseAuthorization) GetPropagate() (out bool)
GetPropagate returns the Propagate of the receiver.
func (*SparseAuthorization) GetUpdateTime ¶ added in v0.11.0
func (o *SparseAuthorization) GetUpdateTime() (out time.Time)
GetUpdateTime returns the UpdateTime of the receiver.
func (*SparseAuthorization) GetZHash ¶
func (o *SparseAuthorization) GetZHash() (out int)
GetZHash returns the ZHash of the receiver.
func (*SparseAuthorization) GetZone ¶
func (o *SparseAuthorization) GetZone() (out int)
GetZone returns the Zone of the receiver.
func (*SparseAuthorization) Identifier ¶
func (o *SparseAuthorization) Identifier() string
Identifier returns the value of the sparse object's unique identifier.
func (*SparseAuthorization) Identity ¶
func (o *SparseAuthorization) Identity() elemental.Identity
Identity returns the Identity of the sparse object.
func (*SparseAuthorization) MarshalBSON ¶ added in v0.11.15
func (o *SparseAuthorization) MarshalBSON() ([]byte, error)
MarshalBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.
func (*SparseAuthorization) SetCreateTime ¶ added in v0.11.0
func (o *SparseAuthorization) SetCreateTime(createTime time.Time)
SetCreateTime sets the property CreateTime of the receiver using the address of the given value.
func (*SparseAuthorization) SetID ¶
func (o *SparseAuthorization) SetID(ID string)
SetID sets the property ID of the receiver using the address of the given value.
func (*SparseAuthorization) SetIdentifier ¶
func (o *SparseAuthorization) SetIdentifier(id string)
SetIdentifier sets the value of the sparse object's unique identifier.
func (*SparseAuthorization) SetImportHash ¶
func (o *SparseAuthorization) SetImportHash(importHash string)
SetImportHash sets the property ImportHash of the receiver using the address of the given value.
func (*SparseAuthorization) SetImportLabel ¶
func (o *SparseAuthorization) SetImportLabel(importLabel string)
SetImportLabel sets the property ImportLabel of the receiver using the address of the given value.
func (*SparseAuthorization) SetNamespace ¶
func (o *SparseAuthorization) SetNamespace(namespace string)
SetNamespace sets the property Namespace of the receiver using the address of the given value.
func (*SparseAuthorization) SetPropagate ¶
func (o *SparseAuthorization) SetPropagate(propagate bool)
SetPropagate sets the property Propagate of the receiver using the address of the given value.
func (*SparseAuthorization) SetUpdateTime ¶ added in v0.11.0
func (o *SparseAuthorization) SetUpdateTime(updateTime time.Time)
SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.
func (*SparseAuthorization) SetZHash ¶
func (o *SparseAuthorization) SetZHash(zHash int)
SetZHash sets the property ZHash of the receiver using the address of the given value.
func (*SparseAuthorization) SetZone ¶
func (o *SparseAuthorization) SetZone(zone int)
SetZone sets the property Zone of the receiver using the address of the given value.
func (*SparseAuthorization) ToPlain ¶
func (o *SparseAuthorization) ToPlain() elemental.PlainIdentifiable
ToPlain returns the plain version of the sparse model.
func (*SparseAuthorization) UnmarshalBSON ¶ added in v0.11.15
func (o *SparseAuthorization) UnmarshalBSON(raw []byte) error
UnmarshalBSON implements the bson unmarshaling interface. This is used to transparently convert MongoDBID to ID.
func (*SparseAuthorization) Version ¶
func (o *SparseAuthorization) Version() int
Version returns the hardcoded version of the model.
type SparseAuthorizationsList ¶
type SparseAuthorizationsList []*SparseAuthorization
SparseAuthorizationsList represents a list of SparseAuthorizations
func (SparseAuthorizationsList) Append ¶
func (o SparseAuthorizationsList) Append(objects ...elemental.Identifiable) elemental.Identifiables
Append appends the objects to the a new copy of the SparseAuthorizationsList.
func (SparseAuthorizationsList) Copy ¶
func (o SparseAuthorizationsList) Copy() elemental.Identifiables
Copy returns a pointer to a copy the SparseAuthorizationsList.
func (SparseAuthorizationsList) DefaultOrder ¶
func (o SparseAuthorizationsList) DefaultOrder() []string
DefaultOrder returns the default ordering fields of the content.
func (SparseAuthorizationsList) Identity ¶
func (o SparseAuthorizationsList) Identity() elemental.Identity
Identity returns the identity of the objects in the list.
func (SparseAuthorizationsList) List ¶
func (o SparseAuthorizationsList) List() elemental.IdentifiablesList
List converts the object to an elemental.IdentifiablesList.
func (SparseAuthorizationsList) ToPlain ¶
func (o SparseAuthorizationsList) ToPlain() elemental.IdentifiablesList
ToPlain returns the SparseAuthorizationsList converted to AuthorizationsList.
func (SparseAuthorizationsList) Version ¶
func (o SparseAuthorizationsList) Version() int
Version returns the version of the content.
type SparseAuthz ¶
type SparseAuthz struct { // The optional ID of the object to check permission for. ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"` // IP of the client. IP *string `json:"IP,omitempty" msgpack:"IP,omitempty" bson:"-" mapstructure:"IP,omitempty"` // The action to check permission for. Action *string `json:"action,omitempty" msgpack:"action,omitempty" bson:"-" mapstructure:"action,omitempty"` // Audience that should be checked for. Audience *string `json:"audience,omitempty" msgpack:"audience,omitempty" bson:"-" mapstructure:"audience,omitempty"` // The namespace where to check permission from. Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"-" mapstructure:"namespace,omitempty"` // The resource to check permission for. Resource *string `json:"resource,omitempty" msgpack:"resource,omitempty" bson:"-" mapstructure:"resource,omitempty"` // The token to check. Token *string `json:"token,omitempty" msgpack:"token,omitempty" bson:"-" mapstructure:"token,omitempty"` ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"` }
SparseAuthz represents the sparse version of a authz.
func (*SparseAuthz) DeepCopy ¶
func (o *SparseAuthz) DeepCopy() *SparseAuthz
DeepCopy returns a deep copy if the SparseAuthz.
func (*SparseAuthz) DeepCopyInto ¶
func (o *SparseAuthz) DeepCopyInto(out *SparseAuthz)
DeepCopyInto copies the receiver into the given *SparseAuthz.
func (*SparseAuthz) Identifier ¶
func (o *SparseAuthz) Identifier() string
Identifier returns the value of the sparse object's unique identifier.
func (*SparseAuthz) Identity ¶
func (o *SparseAuthz) Identity() elemental.Identity
Identity returns the Identity of the sparse object.
func (*SparseAuthz) MarshalBSON ¶ added in v0.11.15
func (o *SparseAuthz) MarshalBSON() ([]byte, error)
MarshalBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.
func (*SparseAuthz) SetIdentifier ¶
func (o *SparseAuthz) SetIdentifier(id string)
SetIdentifier sets the value of the sparse object's unique identifier.
func (*SparseAuthz) ToPlain ¶
func (o *SparseAuthz) ToPlain() elemental.PlainIdentifiable
ToPlain returns the plain version of the sparse model.
func (*SparseAuthz) UnmarshalBSON ¶ added in v0.11.15
func (o *SparseAuthz) UnmarshalBSON(raw []byte) error
UnmarshalBSON implements the bson unmarshaling interface. This is used to transparently convert MongoDBID to ID.
func (*SparseAuthz) Version ¶
func (o *SparseAuthz) Version() int
Version returns the hardcoded version of the model.
type SparseAuthzsList ¶
type SparseAuthzsList []*SparseAuthz
SparseAuthzsList represents a list of SparseAuthzs
func (SparseAuthzsList) Append ¶
func (o SparseAuthzsList) Append(objects ...elemental.Identifiable) elemental.Identifiables
Append appends the objects to the a new copy of the SparseAuthzsList.
func (SparseAuthzsList) Copy ¶
func (o SparseAuthzsList) Copy() elemental.Identifiables
Copy returns a pointer to a copy the SparseAuthzsList.
func (SparseAuthzsList) DefaultOrder ¶
func (o SparseAuthzsList) DefaultOrder() []string
DefaultOrder returns the default ordering fields of the content.
func (SparseAuthzsList) Identity ¶
func (o SparseAuthzsList) Identity() elemental.Identity
Identity returns the identity of the objects in the list.
func (SparseAuthzsList) List ¶
func (o SparseAuthzsList) List() elemental.IdentifiablesList
List converts the object to an elemental.IdentifiablesList.
func (SparseAuthzsList) ToPlain ¶
func (o SparseAuthzsList) ToPlain() elemental.IdentifiablesList
ToPlain returns the SparseAuthzsList converted to AuthzsList.
func (SparseAuthzsList) Version ¶
func (o SparseAuthzsList) Version() int
Version returns the version of the content.
type SparseHTTPSource ¶
type SparseHTTPSource struct { // The certificate authority to use to validate the remote http server. CA *string `json:"CA,omitempty" msgpack:"CA,omitempty" bson:"ca,omitempty" mapstructure:"CA,omitempty"` // ID is the identifier of the object. ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"` // URL of the remote service. This URL will receive a POST containing the // credentials information that must be validated. It must reply with 200 with a // body containing a json array that will be used as claims for the token. Any // other error code will be returned as a 401 error. URL *string `json:"URL,omitempty" msgpack:"URL,omitempty" bson:"url,omitempty" mapstructure:"URL,omitempty"` // Client certificate required to call URL. A3S will refuse to send data if the // endpoint does not support client certificate authentication. Certificate *string `` /* 126-byte string literal not displayed */ // Creation date of the object. CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"` // The description of the object. Description *string `` /* 126-byte string literal not displayed */ // The hash of the structure used to compare with new import version. ImportHash *string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"` // The user-defined import label that allows the system to group resources from the // same import operation. ImportLabel *string `` /* 126-byte string literal not displayed */ // Key associated to the client certificate. Key *string `json:"key,omitempty" msgpack:"key,omitempty" bson:"key,omitempty" mapstructure:"key,omitempty"` // Contains optional information about a remote service that can be used to modify // the claims that are about to be delivered using this authentication source. Modifier *IdentityModifier `json:"modifier,omitempty" msgpack:"modifier,omitempty" bson:"modifier,omitempty" mapstructure:"modifier,omitempty"` // The name of the source. Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"` // The namespace of the object. Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"` // Last update date of the object. UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"` // Hash of the object used to shard the data. ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"` // Sharding zone. Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"` ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"` }
SparseHTTPSource represents the sparse version of a httpsource.
func NewSparseHTTPSource ¶
func NewSparseHTTPSource() *SparseHTTPSource
NewSparseHTTPSource returns a new SparseHTTPSource.
func (*SparseHTTPSource) DeepCopy ¶
func (o *SparseHTTPSource) DeepCopy() *SparseHTTPSource
DeepCopy returns a deep copy if the SparseHTTPSource.
func (*SparseHTTPSource) DeepCopyInto ¶
func (o *SparseHTTPSource) DeepCopyInto(out *SparseHTTPSource)
DeepCopyInto copies the receiver into the given *SparseHTTPSource.
func (*SparseHTTPSource) GetCreateTime ¶ added in v0.11.0
func (o *SparseHTTPSource) GetCreateTime() (out time.Time)
GetCreateTime returns the CreateTime of the receiver.
func (*SparseHTTPSource) GetID ¶
func (o *SparseHTTPSource) GetID() (out string)
GetID returns the ID of the receiver.
func (*SparseHTTPSource) GetImportHash ¶
func (o *SparseHTTPSource) GetImportHash() (out string)
GetImportHash returns the ImportHash of the receiver.
func (*SparseHTTPSource) GetImportLabel ¶
func (o *SparseHTTPSource) GetImportLabel() (out string)
GetImportLabel returns the ImportLabel of the receiver.
func (*SparseHTTPSource) GetNamespace ¶
func (o *SparseHTTPSource) GetNamespace() (out string)
GetNamespace returns the Namespace of the receiver.
func (*SparseHTTPSource) GetUpdateTime ¶ added in v0.11.0
func (o *SparseHTTPSource) GetUpdateTime() (out time.Time)
GetUpdateTime returns the UpdateTime of the receiver.
func (*SparseHTTPSource) GetZHash ¶
func (o *SparseHTTPSource) GetZHash() (out int)
GetZHash returns the ZHash of the receiver.
func (*SparseHTTPSource) GetZone ¶
func (o *SparseHTTPSource) GetZone() (out int)
GetZone returns the Zone of the receiver.
func (*SparseHTTPSource) Identifier ¶
func (o *SparseHTTPSource) Identifier() string
Identifier returns the value of the sparse object's unique identifier.
func (*SparseHTTPSource) Identity ¶
func (o *SparseHTTPSource) Identity() elemental.Identity
Identity returns the Identity of the sparse object.
func (*SparseHTTPSource) MarshalBSON ¶ added in v0.11.15
func (o *SparseHTTPSource) MarshalBSON() ([]byte, error)
MarshalBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.
func (*SparseHTTPSource) SetCreateTime ¶ added in v0.11.0
func (o *SparseHTTPSource) SetCreateTime(createTime time.Time)
SetCreateTime sets the property CreateTime of the receiver using the address of the given value.
func (*SparseHTTPSource) SetID ¶
func (o *SparseHTTPSource) SetID(ID string)
SetID sets the property ID of the receiver using the address of the given value.
func (*SparseHTTPSource) SetIdentifier ¶
func (o *SparseHTTPSource) SetIdentifier(id string)
SetIdentifier sets the value of the sparse object's unique identifier.
func (*SparseHTTPSource) SetImportHash ¶
func (o *SparseHTTPSource) SetImportHash(importHash string)
SetImportHash sets the property ImportHash of the receiver using the address of the given value.
func (*SparseHTTPSource) SetImportLabel ¶
func (o *SparseHTTPSource) SetImportLabel(importLabel string)
SetImportLabel sets the property ImportLabel of the receiver using the address of the given value.
func (*SparseHTTPSource) SetNamespace ¶
func (o *SparseHTTPSource) SetNamespace(namespace string)
SetNamespace sets the property Namespace of the receiver using the address of the given value.
func (*SparseHTTPSource) SetUpdateTime ¶ added in v0.11.0
func (o *SparseHTTPSource) SetUpdateTime(updateTime time.Time)
SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.
func (*SparseHTTPSource) SetZHash ¶
func (o *SparseHTTPSource) SetZHash(zHash int)
SetZHash sets the property ZHash of the receiver using the address of the given value.
func (*SparseHTTPSource) SetZone ¶
func (o *SparseHTTPSource) SetZone(zone int)
SetZone sets the property Zone of the receiver using the address of the given value.
func (*SparseHTTPSource) ToPlain ¶
func (o *SparseHTTPSource) ToPlain() elemental.PlainIdentifiable
ToPlain returns the plain version of the sparse model.
func (*SparseHTTPSource) UnmarshalBSON ¶ added in v0.11.15
func (o *SparseHTTPSource) UnmarshalBSON(raw []byte) error
UnmarshalBSON implements the bson unmarshaling interface. This is used to transparently convert MongoDBID to ID.
func (*SparseHTTPSource) Version ¶
func (o *SparseHTTPSource) Version() int
Version returns the hardcoded version of the model.
type SparseHTTPSourcesList ¶
type SparseHTTPSourcesList []*SparseHTTPSource
SparseHTTPSourcesList represents a list of SparseHTTPSources
func (SparseHTTPSourcesList) Append ¶
func (o SparseHTTPSourcesList) Append(objects ...elemental.Identifiable) elemental.Identifiables
Append appends the objects to the a new copy of the SparseHTTPSourcesList.
func (SparseHTTPSourcesList) Copy ¶
func (o SparseHTTPSourcesList) Copy() elemental.Identifiables
Copy returns a pointer to a copy the SparseHTTPSourcesList.
func (SparseHTTPSourcesList) DefaultOrder ¶
func (o SparseHTTPSourcesList) DefaultOrder() []string
DefaultOrder returns the default ordering fields of the content.
func (SparseHTTPSourcesList) Identity ¶
func (o SparseHTTPSourcesList) Identity() elemental.Identity
Identity returns the identity of the objects in the list.
func (SparseHTTPSourcesList) List ¶
func (o SparseHTTPSourcesList) List() elemental.IdentifiablesList
List converts the object to an elemental.IdentifiablesList.
func (SparseHTTPSourcesList) ToPlain ¶
func (o SparseHTTPSourcesList) ToPlain() elemental.IdentifiablesList
ToPlain returns the SparseHTTPSourcesList converted to HTTPSourcesList.
func (SparseHTTPSourcesList) Version ¶
func (o SparseHTTPSourcesList) Version() int
Version returns the version of the content.
type SparseIdentityModifier ¶
type SparseIdentityModifier struct { // CA to use to validate the identity modfier service. CA *string `json:"CA,omitempty" msgpack:"CA,omitempty" bson:"ca,omitempty" mapstructure:"CA,omitempty"` // URL of the remote service. This URL will receive a call containing the // claims that are about to be delivered. It must reply with 204 if it does not // wish to modify the claims, or 200 alongside a body containing the modified // claims. URL *string `json:"URL,omitempty" msgpack:"URL,omitempty" bson:"url,omitempty" mapstructure:"URL,omitempty"` // Client certificate required to call URL. A3S will refuse to send data if the // endpoint does not support client certificate authentication. Certificate *string `` /* 126-byte string literal not displayed */ // Key associated to the client certificate. Key *string `json:"key,omitempty" msgpack:"key,omitempty" bson:"key,omitempty" mapstructure:"key,omitempty"` // The HTTP method to use to call the endpoint. For POST/PUT/PATCH the remote // server will receive the claims as a JSON encoded array in the body. For a GET, // the claims will be passed as a query parameter named `claim`. Method *IdentityModifierMethodValue `json:"method,omitempty" msgpack:"method,omitempty" bson:"method,omitempty" mapstructure:"method,omitempty"` ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"` }
SparseIdentityModifier represents the sparse version of a identitymodifier.
func NewSparseIdentityModifier ¶
func NewSparseIdentityModifier() *SparseIdentityModifier
NewSparseIdentityModifier returns a new SparseIdentityModifier.
func (*SparseIdentityModifier) DeepCopy ¶
func (o *SparseIdentityModifier) DeepCopy() *SparseIdentityModifier
DeepCopy returns a deep copy if the SparseIdentityModifier.
func (*SparseIdentityModifier) DeepCopyInto ¶
func (o *SparseIdentityModifier) DeepCopyInto(out *SparseIdentityModifier)
DeepCopyInto copies the receiver into the given *SparseIdentityModifier.
func (*SparseIdentityModifier) Identifier ¶
func (o *SparseIdentityModifier) Identifier() string
Identifier returns the value of the sparse object's unique identifier.
func (*SparseIdentityModifier) Identity ¶
func (o *SparseIdentityModifier) Identity() elemental.Identity
Identity returns the Identity of the sparse object.
func (*SparseIdentityModifier) MarshalBSON ¶ added in v0.11.15
func (o *SparseIdentityModifier) MarshalBSON() ([]byte, error)
MarshalBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.
func (*SparseIdentityModifier) SetIdentifier ¶
func (o *SparseIdentityModifier) SetIdentifier(id string)
SetIdentifier sets the value of the sparse object's unique identifier.
func (*SparseIdentityModifier) ToPlain ¶
func (o *SparseIdentityModifier) ToPlain() elemental.PlainIdentifiable
ToPlain returns the plain version of the sparse model.
func (*SparseIdentityModifier) UnmarshalBSON ¶ added in v0.11.15
func (o *SparseIdentityModifier) UnmarshalBSON(raw []byte) error
UnmarshalBSON implements the bson unmarshaling interface. This is used to transparently convert MongoDBID to ID.
func (*SparseIdentityModifier) Version ¶
func (o *SparseIdentityModifier) Version() int
Version returns the hardcoded version of the model.
type SparseIdentityModifiersList ¶
type SparseIdentityModifiersList []*SparseIdentityModifier
SparseIdentityModifiersList represents a list of SparseIdentityModifiers
func (SparseIdentityModifiersList) Append ¶
func (o SparseIdentityModifiersList) Append(objects ...elemental.Identifiable) elemental.Identifiables
Append appends the objects to the a new copy of the SparseIdentityModifiersList.
func (SparseIdentityModifiersList) Copy ¶
func (o SparseIdentityModifiersList) Copy() elemental.Identifiables
Copy returns a pointer to a copy the SparseIdentityModifiersList.
func (SparseIdentityModifiersList) DefaultOrder ¶
func (o SparseIdentityModifiersList) DefaultOrder() []string
DefaultOrder returns the default ordering fields of the content.
func (SparseIdentityModifiersList) Identity ¶
func (o SparseIdentityModifiersList) Identity() elemental.Identity
Identity returns the identity of the objects in the list.
func (SparseIdentityModifiersList) List ¶
func (o SparseIdentityModifiersList) List() elemental.IdentifiablesList
List converts the object to an elemental.IdentifiablesList.
func (SparseIdentityModifiersList) ToPlain ¶
func (o SparseIdentityModifiersList) ToPlain() elemental.IdentifiablesList
ToPlain returns the SparseIdentityModifiersList converted to IdentityModifiersList.
func (SparseIdentityModifiersList) Version ¶
func (o SparseIdentityModifiersList) Version() int
Version returns the version of the content.
type SparseImport ¶
type SparseImport struct { // A3S sources to import. A3SSources *A3SSourcesList `json:"A3SSources,omitempty" msgpack:"A3SSources,omitempty" bson:"-" mapstructure:"A3SSources,omitempty"` // HTTP sources to import. HTTPSources *HTTPSourcesList `json:"HTTPSources,omitempty" msgpack:"HTTPSources,omitempty" bson:"-" mapstructure:"HTTPSources,omitempty"` // LDAP sources to import. LDAPSources *LDAPSourcesList `json:"LDAPSources,omitempty" msgpack:"LDAPSources,omitempty" bson:"-" mapstructure:"LDAPSources,omitempty"` // MTLS sources to import. MTLSSources *MTLSSourcesList `json:"MTLSSources,omitempty" msgpack:"MTLSSources,omitempty" bson:"-" mapstructure:"MTLSSources,omitempty"` // OIDC sources to import. OIDCSources *OIDCSourcesList `json:"OIDCSources,omitempty" msgpack:"OIDCSources,omitempty" bson:"-" mapstructure:"OIDCSources,omitempty"` // Authorizations to import. Authorizations *AuthorizationsList `json:"authorizations,omitempty" msgpack:"authorizations,omitempty" bson:"-" mapstructure:"authorizations,omitempty"` // Import label that will be used to identify all the resources imported by this // resource. Label *string `json:"label,omitempty" msgpack:"label,omitempty" bson:"-" mapstructure:"label,omitempty"` ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"` }
SparseImport represents the sparse version of a import.
func NewSparseImport ¶
func NewSparseImport() *SparseImport
NewSparseImport returns a new SparseImport.
func (*SparseImport) DeepCopy ¶
func (o *SparseImport) DeepCopy() *SparseImport
DeepCopy returns a deep copy if the SparseImport.
func (*SparseImport) DeepCopyInto ¶
func (o *SparseImport) DeepCopyInto(out *SparseImport)
DeepCopyInto copies the receiver into the given *SparseImport.
func (*SparseImport) Identifier ¶
func (o *SparseImport) Identifier() string
Identifier returns the value of the sparse object's unique identifier.
func (*SparseImport) Identity ¶
func (o *SparseImport) Identity() elemental.Identity
Identity returns the Identity of the sparse object.
func (*SparseImport) MarshalBSON ¶ added in v0.11.15
func (o *SparseImport) MarshalBSON() ([]byte, error)
MarshalBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.
func (*SparseImport) SetIdentifier ¶
func (o *SparseImport) SetIdentifier(id string)
SetIdentifier sets the value of the sparse object's unique identifier.
func (*SparseImport) ToPlain ¶
func (o *SparseImport) ToPlain() elemental.PlainIdentifiable
ToPlain returns the plain version of the sparse model.
func (*SparseImport) UnmarshalBSON ¶ added in v0.11.15
func (o *SparseImport) UnmarshalBSON(raw []byte) error
UnmarshalBSON implements the bson unmarshaling interface. This is used to transparently convert MongoDBID to ID.
func (*SparseImport) Version ¶
func (o *SparseImport) Version() int
Version returns the hardcoded version of the model.
type SparseImportsList ¶
type SparseImportsList []*SparseImport
SparseImportsList represents a list of SparseImports
func (SparseImportsList) Append ¶
func (o SparseImportsList) Append(objects ...elemental.Identifiable) elemental.Identifiables
Append appends the objects to the a new copy of the SparseImportsList.
func (SparseImportsList) Copy ¶
func (o SparseImportsList) Copy() elemental.Identifiables
Copy returns a pointer to a copy the SparseImportsList.
func (SparseImportsList) DefaultOrder ¶
func (o SparseImportsList) DefaultOrder() []string
DefaultOrder returns the default ordering fields of the content.
func (SparseImportsList) Identity ¶
func (o SparseImportsList) Identity() elemental.Identity
Identity returns the identity of the objects in the list.
func (SparseImportsList) List ¶
func (o SparseImportsList) List() elemental.IdentifiablesList
List converts the object to an elemental.IdentifiablesList.
func (SparseImportsList) ToPlain ¶
func (o SparseImportsList) ToPlain() elemental.IdentifiablesList
ToPlain returns the SparseImportsList converted to ImportsList.
func (SparseImportsList) Version ¶
func (o SparseImportsList) Version() int
Version returns the version of the content.
type SparseIssue ¶
type SparseIssue struct { // Requested audience for the delivered token. Audience *[]string `json:"audience,omitempty" msgpack:"audience,omitempty" bson:"-" mapstructure:"audience,omitempty"` // Sets a list of identity claim prefix to allow in the final token. This can be // used to hide some information when asking for a token as not all systems need to // know all of the claims. Cloak *[]string `json:"cloak,omitempty" msgpack:"cloak,omitempty" bson:"-" mapstructure:"cloak,omitempty"` // If set, return the token as a secure cookie. Cookie *bool `json:"cookie,omitempty" msgpack:"cookie,omitempty" bson:"-" mapstructure:"cookie,omitempty"` // If set, use the provided domain for the delivered cookie. CookieDomain *string `json:"cookieDomain,omitempty" msgpack:"cookieDomain,omitempty" bson:"-" mapstructure:"cookieDomain,omitempty"` // Contains additional information for an A3S token source. InputA3S *IssueA3S `json:"inputA3S,omitempty" msgpack:"inputA3S,omitempty" bson:"-" mapstructure:"inputA3S,omitempty"` // Contains additional information for an AWS STS token source. InputAWS *IssueAWS `json:"inputAWS,omitempty" msgpack:"inputAWS,omitempty" bson:"-" mapstructure:"inputAWS,omitempty"` // Contains additional information for an Azure token source. InputAzure *IssueAzure `json:"inputAzure,omitempty" msgpack:"inputAzure,omitempty" bson:"-" mapstructure:"inputAzure,omitempty"` // Contains additional information for an GCP token source. InputGCP *IssueGCP `json:"inputGCP,omitempty" msgpack:"inputGCP,omitempty" bson:"-" mapstructure:"inputGCP,omitempty"` // Contains additional information for an HTTP source. InputHTTP *IssueHTTP `json:"inputHTTP,omitempty" msgpack:"inputHTTP,omitempty" bson:"-" mapstructure:"inputHTTP,omitempty"` // Contains additional information for an LDAP source. InputLDAP *IssueLDAP `json:"inputLDAP,omitempty" msgpack:"inputLDAP,omitempty" bson:"-" mapstructure:"inputLDAP,omitempty"` // Contains additional information for an OIDC source. InputOIDC *IssueOIDC `json:"inputOIDC,omitempty" msgpack:"inputOIDC,omitempty" bson:"-" mapstructure:"inputOIDC,omitempty"` // Contains additional information for a remote A3S token source. InputRemoteA3S *IssueRemoteA3S `json:"inputRemoteA3S,omitempty" msgpack:"inputRemoteA3S,omitempty" bson:"-" mapstructure:"inputRemoteA3S,omitempty"` // Opaque data that will be included in the issued token. Opaque *map[string]string `json:"opaque,omitempty" msgpack:"opaque,omitempty" bson:"-" mapstructure:"opaque,omitempty"` // Restricts the namespace where the token can be used. // // For instance, if you have have access to `/namespace` and below, you can // tell the policy engine that it should restrict further more to // `/namespace/child`. // // Restricting to a namespace you don't have initially access according to the // policy engine has no effect and may end up making the token unusable. RestrictedNamespace *string `` /* 130-byte string literal not displayed */ // Restricts the networks from where the token can be used. This will reduce the // existing set of authorized networks that normally apply to the token according // to the policy engine. // // For instance, If you have authorized access from `0.0.0.0/0` (by default) or // from // `10.0.0.0/8`, you can ask for a token that will only be valid if used from // `10.1.0.0/16`. // // Restricting to a network that is not initially authorized by the policy // engine has no effect and may end up making the token unusable. RestrictedNetworks *[]string `` /* 127-byte string literal not displayed */ // Restricts the permissions of token. This will reduce the existing permissions // that normally apply to the token according to the policy engine. // // For instance, if you have administrative role, you can ask for a token that will // tell the policy engine to reduce the permission it would have granted to what is // given defined in the token. // // Restricting to some permissions you don't initially have according to the policy // engine has no effect and may end up making the token unusable. RestrictedPermissions *[]string `` /* 136-byte string literal not displayed */ // The name of the source to use. SourceName *string `json:"sourceName,omitempty" msgpack:"sourceName,omitempty" bson:"-" mapstructure:"sourceName,omitempty"` // The namespace of the source to use. SourceNamespace *string `json:"sourceNamespace,omitempty" msgpack:"sourceNamespace,omitempty" bson:"-" mapstructure:"sourceNamespace,omitempty"` // The authentication source. This will define how to verify // credentials from internal or external source of authentication. SourceType *IssueSourceTypeValue `json:"sourceType,omitempty" msgpack:"sourceType,omitempty" bson:"-" mapstructure:"sourceType,omitempty"` // Issued token. Token *string `json:"token,omitempty" msgpack:"token,omitempty" bson:"-" mapstructure:"token,omitempty"` // The type of token to issue. TokenType *IssueTokenTypeValue `json:"tokenType,omitempty" msgpack:"tokenType,omitempty" bson:"-" mapstructure:"tokenType,omitempty"` // Configures the maximum length of validity for a token, using // [Golang duration syntax](https://golang.org/pkg/time/#example_Duration). Validity *string `json:"validity,omitempty" msgpack:"validity,omitempty" bson:"-" mapstructure:"validity,omitempty"` ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"` }
SparseIssue represents the sparse version of a issue.
func (*SparseIssue) DeepCopy ¶
func (o *SparseIssue) DeepCopy() *SparseIssue
DeepCopy returns a deep copy if the SparseIssue.
func (*SparseIssue) DeepCopyInto ¶
func (o *SparseIssue) DeepCopyInto(out *SparseIssue)
DeepCopyInto copies the receiver into the given *SparseIssue.
func (*SparseIssue) Identifier ¶
func (o *SparseIssue) Identifier() string
Identifier returns the value of the sparse object's unique identifier.
func (*SparseIssue) Identity ¶
func (o *SparseIssue) Identity() elemental.Identity
Identity returns the Identity of the sparse object.
func (*SparseIssue) MarshalBSON ¶ added in v0.11.15
func (o *SparseIssue) MarshalBSON() ([]byte, error)
MarshalBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.
func (*SparseIssue) SetIdentifier ¶
func (o *SparseIssue) SetIdentifier(id string)
SetIdentifier sets the value of the sparse object's unique identifier.
func (*SparseIssue) ToPlain ¶
func (o *SparseIssue) ToPlain() elemental.PlainIdentifiable
ToPlain returns the plain version of the sparse model.
func (*SparseIssue) UnmarshalBSON ¶ added in v0.11.15
func (o *SparseIssue) UnmarshalBSON(raw []byte) error
UnmarshalBSON implements the bson unmarshaling interface. This is used to transparently convert MongoDBID to ID.
func (*SparseIssue) Version ¶
func (o *SparseIssue) Version() int
Version returns the hardcoded version of the model.
type SparseIssuesList ¶
type SparseIssuesList []*SparseIssue
SparseIssuesList represents a list of SparseIssues
func (SparseIssuesList) Append ¶
func (o SparseIssuesList) Append(objects ...elemental.Identifiable) elemental.Identifiables
Append appends the objects to the a new copy of the SparseIssuesList.
func (SparseIssuesList) Copy ¶
func (o SparseIssuesList) Copy() elemental.Identifiables
Copy returns a pointer to a copy the SparseIssuesList.
func (SparseIssuesList) DefaultOrder ¶
func (o SparseIssuesList) DefaultOrder() []string
DefaultOrder returns the default ordering fields of the content.
func (SparseIssuesList) Identity ¶
func (o SparseIssuesList) Identity() elemental.Identity
Identity returns the identity of the objects in the list.
func (SparseIssuesList) List ¶
func (o SparseIssuesList) List() elemental.IdentifiablesList
List converts the object to an elemental.IdentifiablesList.
func (SparseIssuesList) ToPlain ¶
func (o SparseIssuesList) ToPlain() elemental.IdentifiablesList
ToPlain returns the SparseIssuesList converted to IssuesList.
func (SparseIssuesList) Version ¶
func (o SparseIssuesList) Version() int
Version returns the version of the content.
type SparseLDAPSource ¶
type SparseLDAPSource struct { // Can be left empty if the LDAP server's certificate is signed by a public, // trusted certificate authority. Otherwise, include the public key of the // certificate authority that signed the LDAP server's certificate. CA *string `json:"CA,omitempty" msgpack:"CA,omitempty" bson:"ca,omitempty" mapstructure:"CA,omitempty"` // ID is the identifier of the object. ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"` // IP address or FQDN of the LDAP server. Address *string `json:"address,omitempty" msgpack:"address,omitempty" bson:"address,omitempty" mapstructure:"address,omitempty"` // The base distinguished name (DN) to use for LDAP queries. BaseDN *string `json:"baseDN,omitempty" msgpack:"baseDN,omitempty" bson:"basedn,omitempty" mapstructure:"baseDN,omitempty"` // The DN to use to bind to the LDAP server. BindDN *string `json:"bindDN,omitempty" msgpack:"bindDN,omitempty" bson:"binddn,omitempty" mapstructure:"bindDN,omitempty"` // Password to be used with the `bindDN` to authenticate to the LDAP server. BindPassword *string `` /* 130-byte string literal not displayed */ // The filter to use to locate the relevant user accounts. For Windows-based // systems, the value may be `sAMAccountName={USERNAME}`. For Linux and other // systems, the value may be `uid={USERNAME}`. BindSearchFilter *string `` /* 146-byte string literal not displayed */ // Creation date of the object. CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"` // The description of the object. Description *string `` /* 126-byte string literal not displayed */ // A list of keys that must not be imported into the identity token. If // `includedKeys` is also set, and a key is in both lists, the key will be ignored. IgnoredKeys *[]string `` /* 126-byte string literal not displayed */ // The hash of the structure used to compare with new import version. ImportHash *string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"` // The user-defined import label that allows the system to group resources from the // same import operation. ImportLabel *string `` /* 126-byte string literal not displayed */ // A list of keys that must be imported into the identity token. If `ignoredKeys` // is also set, and a key is in both lists, the key will be ignored. IncludedKeys *[]string `` /* 130-byte string literal not displayed */ // Contains optional information about a remote service that can be used to modify // the claims that are about to be delivered using this authentication source. Modifier *IdentityModifier `json:"modifier,omitempty" msgpack:"modifier,omitempty" bson:"modifier,omitempty" mapstructure:"modifier,omitempty"` // The name of the source. Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"` // The namespace of the object. Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"` // Specifies the connection type for the LDAP provider. SecurityProtocol *LDAPSourceSecurityProtocolValue `` /* 146-byte string literal not displayed */ // Last update date of the object. UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"` // Hash of the object used to shard the data. ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"` // Sharding zone. Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"` ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"` }
SparseLDAPSource represents the sparse version of a ldapsource.
func NewSparseLDAPSource ¶
func NewSparseLDAPSource() *SparseLDAPSource
NewSparseLDAPSource returns a new SparseLDAPSource.
func (*SparseLDAPSource) DecryptAttributes ¶
func (o *SparseLDAPSource) DecryptAttributes(encrypter elemental.AttributeEncrypter) (err error)
DecryptAttributes decrypts the attributes marked as `encrypted` using the given decrypter.
func (*SparseLDAPSource) DeepCopy ¶
func (o *SparseLDAPSource) DeepCopy() *SparseLDAPSource
DeepCopy returns a deep copy if the SparseLDAPSource.
func (*SparseLDAPSource) DeepCopyInto ¶
func (o *SparseLDAPSource) DeepCopyInto(out *SparseLDAPSource)
DeepCopyInto copies the receiver into the given *SparseLDAPSource.
func (*SparseLDAPSource) EncryptAttributes ¶
func (o *SparseLDAPSource) EncryptAttributes(encrypter elemental.AttributeEncrypter) (err error)
EncryptAttributes encrypts the attributes marked as `encrypted` using the given encrypter.
func (*SparseLDAPSource) GetCreateTime ¶ added in v0.11.0
func (o *SparseLDAPSource) GetCreateTime() (out time.Time)
GetCreateTime returns the CreateTime of the receiver.
func (*SparseLDAPSource) GetID ¶
func (o *SparseLDAPSource) GetID() (out string)
GetID returns the ID of the receiver.
func (*SparseLDAPSource) GetImportHash ¶
func (o *SparseLDAPSource) GetImportHash() (out string)
GetImportHash returns the ImportHash of the receiver.
func (*SparseLDAPSource) GetImportLabel ¶
func (o *SparseLDAPSource) GetImportLabel() (out string)
GetImportLabel returns the ImportLabel of the receiver.
func (*SparseLDAPSource) GetNamespace ¶
func (o *SparseLDAPSource) GetNamespace() (out string)
GetNamespace returns the Namespace of the receiver.
func (*SparseLDAPSource) GetUpdateTime ¶ added in v0.11.0
func (o *SparseLDAPSource) GetUpdateTime() (out time.Time)
GetUpdateTime returns the UpdateTime of the receiver.
func (*SparseLDAPSource) GetZHash ¶
func (o *SparseLDAPSource) GetZHash() (out int)
GetZHash returns the ZHash of the receiver.
func (*SparseLDAPSource) GetZone ¶
func (o *SparseLDAPSource) GetZone() (out int)
GetZone returns the Zone of the receiver.
func (*SparseLDAPSource) Identifier ¶
func (o *SparseLDAPSource) Identifier() string
Identifier returns the value of the sparse object's unique identifier.
func (*SparseLDAPSource) Identity ¶
func (o *SparseLDAPSource) Identity() elemental.Identity
Identity returns the Identity of the sparse object.
func (*SparseLDAPSource) MarshalBSON ¶ added in v0.11.15
func (o *SparseLDAPSource) MarshalBSON() ([]byte, error)
MarshalBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.
func (*SparseLDAPSource) SetCreateTime ¶ added in v0.11.0
func (o *SparseLDAPSource) SetCreateTime(createTime time.Time)
SetCreateTime sets the property CreateTime of the receiver using the address of the given value.
func (*SparseLDAPSource) SetID ¶
func (o *SparseLDAPSource) SetID(ID string)
SetID sets the property ID of the receiver using the address of the given value.
func (*SparseLDAPSource) SetIdentifier ¶
func (o *SparseLDAPSource) SetIdentifier(id string)
SetIdentifier sets the value of the sparse object's unique identifier.
func (*SparseLDAPSource) SetImportHash ¶
func (o *SparseLDAPSource) SetImportHash(importHash string)
SetImportHash sets the property ImportHash of the receiver using the address of the given value.
func (*SparseLDAPSource) SetImportLabel ¶
func (o *SparseLDAPSource) SetImportLabel(importLabel string)
SetImportLabel sets the property ImportLabel of the receiver using the address of the given value.
func (*SparseLDAPSource) SetNamespace ¶
func (o *SparseLDAPSource) SetNamespace(namespace string)
SetNamespace sets the property Namespace of the receiver using the address of the given value.
func (*SparseLDAPSource) SetUpdateTime ¶ added in v0.11.0
func (o *SparseLDAPSource) SetUpdateTime(updateTime time.Time)
SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.
func (*SparseLDAPSource) SetZHash ¶
func (o *SparseLDAPSource) SetZHash(zHash int)
SetZHash sets the property ZHash of the receiver using the address of the given value.
func (*SparseLDAPSource) SetZone ¶
func (o *SparseLDAPSource) SetZone(zone int)
SetZone sets the property Zone of the receiver using the address of the given value.
func (*SparseLDAPSource) ToPlain ¶
func (o *SparseLDAPSource) ToPlain() elemental.PlainIdentifiable
ToPlain returns the plain version of the sparse model.
func (*SparseLDAPSource) UnmarshalBSON ¶ added in v0.11.15
func (o *SparseLDAPSource) UnmarshalBSON(raw []byte) error
UnmarshalBSON implements the bson unmarshaling interface. This is used to transparently convert MongoDBID to ID.
func (*SparseLDAPSource) Version ¶
func (o *SparseLDAPSource) Version() int
Version returns the hardcoded version of the model.
type SparseLDAPSourcesList ¶
type SparseLDAPSourcesList []*SparseLDAPSource
SparseLDAPSourcesList represents a list of SparseLDAPSources
func (SparseLDAPSourcesList) Append ¶
func (o SparseLDAPSourcesList) Append(objects ...elemental.Identifiable) elemental.Identifiables
Append appends the objects to the a new copy of the SparseLDAPSourcesList.
func (SparseLDAPSourcesList) Copy ¶
func (o SparseLDAPSourcesList) Copy() elemental.Identifiables
Copy returns a pointer to a copy the SparseLDAPSourcesList.
func (SparseLDAPSourcesList) DefaultOrder ¶
func (o SparseLDAPSourcesList) DefaultOrder() []string
DefaultOrder returns the default ordering fields of the content.
func (SparseLDAPSourcesList) Identity ¶
func (o SparseLDAPSourcesList) Identity() elemental.Identity
Identity returns the identity of the objects in the list.
func (SparseLDAPSourcesList) List ¶
func (o SparseLDAPSourcesList) List() elemental.IdentifiablesList
List converts the object to an elemental.IdentifiablesList.
func (SparseLDAPSourcesList) ToPlain ¶
func (o SparseLDAPSourcesList) ToPlain() elemental.IdentifiablesList
ToPlain returns the SparseLDAPSourcesList converted to LDAPSourcesList.
func (SparseLDAPSourcesList) Version ¶
func (o SparseLDAPSourcesList) Version() int
Version returns the version of the content.
type SparseMTLSSource ¶
type SparseMTLSSource struct { // The Certificate authority to use to validate user certificates in PEM format. CA *string `json:"CA,omitempty" msgpack:"CA,omitempty" bson:"ca,omitempty" mapstructure:"CA,omitempty"` // ID is the identifier of the object. ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"` // Creation date of the object. CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"` // The description of the object. Description *string `` /* 126-byte string literal not displayed */ // The fingerprint of the CAs in the chain. Fingerprints *[]string `` /* 130-byte string literal not displayed */ // The hash of the structure used to compare with new import version. ImportHash *string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"` // The user-defined import label that allows the system to group resources from the // same import operation. ImportLabel *string `` /* 126-byte string literal not displayed */ // Contains optional information about a remote service that can be used to modify // the claims that are about to be delivered using this authentication source. Modifier *IdentityModifier `json:"modifier,omitempty" msgpack:"modifier,omitempty" bson:"modifier,omitempty" mapstructure:"modifier,omitempty"` // The name of the source. Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"` // The namespace of the object. Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"` // Value of the CAs X.509 SubjectKeyIDs in the chain. SubjectKeyIDs *[]string `` /* 134-byte string literal not displayed */ // Last update date of the object. UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"` // Hash of the object used to shard the data. ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"` // Sharding zone. Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"` ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"` }
SparseMTLSSource represents the sparse version of a mtlssource.
func NewSparseMTLSSource ¶
func NewSparseMTLSSource() *SparseMTLSSource
NewSparseMTLSSource returns a new SparseMTLSSource.
func (*SparseMTLSSource) DeepCopy ¶
func (o *SparseMTLSSource) DeepCopy() *SparseMTLSSource
DeepCopy returns a deep copy if the SparseMTLSSource.
func (*SparseMTLSSource) DeepCopyInto ¶
func (o *SparseMTLSSource) DeepCopyInto(out *SparseMTLSSource)
DeepCopyInto copies the receiver into the given *SparseMTLSSource.
func (*SparseMTLSSource) GetCreateTime ¶ added in v0.11.0
func (o *SparseMTLSSource) GetCreateTime() (out time.Time)
GetCreateTime returns the CreateTime of the receiver.
func (*SparseMTLSSource) GetID ¶
func (o *SparseMTLSSource) GetID() (out string)
GetID returns the ID of the receiver.
func (*SparseMTLSSource) GetImportHash ¶
func (o *SparseMTLSSource) GetImportHash() (out string)
GetImportHash returns the ImportHash of the receiver.
func (*SparseMTLSSource) GetImportLabel ¶
func (o *SparseMTLSSource) GetImportLabel() (out string)
GetImportLabel returns the ImportLabel of the receiver.
func (*SparseMTLSSource) GetNamespace ¶
func (o *SparseMTLSSource) GetNamespace() (out string)
GetNamespace returns the Namespace of the receiver.
func (*SparseMTLSSource) GetUpdateTime ¶ added in v0.11.0
func (o *SparseMTLSSource) GetUpdateTime() (out time.Time)
GetUpdateTime returns the UpdateTime of the receiver.
func (*SparseMTLSSource) GetZHash ¶
func (o *SparseMTLSSource) GetZHash() (out int)
GetZHash returns the ZHash of the receiver.
func (*SparseMTLSSource) GetZone ¶
func (o *SparseMTLSSource) GetZone() (out int)
GetZone returns the Zone of the receiver.
func (*SparseMTLSSource) Identifier ¶
func (o *SparseMTLSSource) Identifier() string
Identifier returns the value of the sparse object's unique identifier.
func (*SparseMTLSSource) Identity ¶
func (o *SparseMTLSSource) Identity() elemental.Identity
Identity returns the Identity of the sparse object.
func (*SparseMTLSSource) MarshalBSON ¶ added in v0.11.15
func (o *SparseMTLSSource) MarshalBSON() ([]byte, error)
MarshalBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.
func (*SparseMTLSSource) SetCreateTime ¶ added in v0.11.0
func (o *SparseMTLSSource) SetCreateTime(createTime time.Time)
SetCreateTime sets the property CreateTime of the receiver using the address of the given value.
func (*SparseMTLSSource) SetID ¶
func (o *SparseMTLSSource) SetID(ID string)
SetID sets the property ID of the receiver using the address of the given value.
func (*SparseMTLSSource) SetIdentifier ¶
func (o *SparseMTLSSource) SetIdentifier(id string)
SetIdentifier sets the value of the sparse object's unique identifier.
func (*SparseMTLSSource) SetImportHash ¶
func (o *SparseMTLSSource) SetImportHash(importHash string)
SetImportHash sets the property ImportHash of the receiver using the address of the given value.
func (*SparseMTLSSource) SetImportLabel ¶
func (o *SparseMTLSSource) SetImportLabel(importLabel string)
SetImportLabel sets the property ImportLabel of the receiver using the address of the given value.
func (*SparseMTLSSource) SetNamespace ¶
func (o *SparseMTLSSource) SetNamespace(namespace string)
SetNamespace sets the property Namespace of the receiver using the address of the given value.
func (*SparseMTLSSource) SetUpdateTime ¶ added in v0.11.0
func (o *SparseMTLSSource) SetUpdateTime(updateTime time.Time)
SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.
func (*SparseMTLSSource) SetZHash ¶
func (o *SparseMTLSSource) SetZHash(zHash int)
SetZHash sets the property ZHash of the receiver using the address of the given value.
func (*SparseMTLSSource) SetZone ¶
func (o *SparseMTLSSource) SetZone(zone int)
SetZone sets the property Zone of the receiver using the address of the given value.
func (*SparseMTLSSource) ToPlain ¶
func (o *SparseMTLSSource) ToPlain() elemental.PlainIdentifiable
ToPlain returns the plain version of the sparse model.
func (*SparseMTLSSource) UnmarshalBSON ¶ added in v0.11.15
func (o *SparseMTLSSource) UnmarshalBSON(raw []byte) error
UnmarshalBSON implements the bson unmarshaling interface. This is used to transparently convert MongoDBID to ID.
func (*SparseMTLSSource) Version ¶
func (o *SparseMTLSSource) Version() int
Version returns the hardcoded version of the model.
type SparseMTLSSourcesList ¶
type SparseMTLSSourcesList []*SparseMTLSSource
SparseMTLSSourcesList represents a list of SparseMTLSSources
func (SparseMTLSSourcesList) Append ¶
func (o SparseMTLSSourcesList) Append(objects ...elemental.Identifiable) elemental.Identifiables
Append appends the objects to the a new copy of the SparseMTLSSourcesList.
func (SparseMTLSSourcesList) Copy ¶
func (o SparseMTLSSourcesList) Copy() elemental.Identifiables
Copy returns a pointer to a copy the SparseMTLSSourcesList.
func (SparseMTLSSourcesList) DefaultOrder ¶
func (o SparseMTLSSourcesList) DefaultOrder() []string
DefaultOrder returns the default ordering fields of the content.
func (SparseMTLSSourcesList) Identity ¶
func (o SparseMTLSSourcesList) Identity() elemental.Identity
Identity returns the identity of the objects in the list.
func (SparseMTLSSourcesList) List ¶
func (o SparseMTLSSourcesList) List() elemental.IdentifiablesList
List converts the object to an elemental.IdentifiablesList.
func (SparseMTLSSourcesList) ToPlain ¶
func (o SparseMTLSSourcesList) ToPlain() elemental.IdentifiablesList
ToPlain returns the SparseMTLSSourcesList converted to MTLSSourcesList.
func (SparseMTLSSourcesList) Version ¶
func (o SparseMTLSSourcesList) Version() int
Version returns the version of the content.
type SparseNamespace ¶
type SparseNamespace struct { // ID is the identifier of the object. ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"` // Creation date of the object. CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"` // The description of the object. Description *string `` /* 126-byte string literal not displayed */ // The name of the namespace. When you create a namespace, only put its bare name, // not its full path. Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"` // The namespace of the object. Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"` // Last update date of the object. UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"` // Hash of the object used to shard the data. ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"` // Sharding zone. Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"` ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"` }
SparseNamespace represents the sparse version of a namespace.
func NewSparseNamespace ¶
func NewSparseNamespace() *SparseNamespace
NewSparseNamespace returns a new SparseNamespace.
func (*SparseNamespace) DeepCopy ¶
func (o *SparseNamespace) DeepCopy() *SparseNamespace
DeepCopy returns a deep copy if the SparseNamespace.
func (*SparseNamespace) DeepCopyInto ¶
func (o *SparseNamespace) DeepCopyInto(out *SparseNamespace)
DeepCopyInto copies the receiver into the given *SparseNamespace.
func (*SparseNamespace) GetCreateTime ¶ added in v0.11.0
func (o *SparseNamespace) GetCreateTime() (out time.Time)
GetCreateTime returns the CreateTime of the receiver.
func (*SparseNamespace) GetID ¶
func (o *SparseNamespace) GetID() (out string)
GetID returns the ID of the receiver.
func (*SparseNamespace) GetName ¶
func (o *SparseNamespace) GetName() (out string)
GetName returns the Name of the receiver.
func (*SparseNamespace) GetNamespace ¶
func (o *SparseNamespace) GetNamespace() (out string)
GetNamespace returns the Namespace of the receiver.
func (*SparseNamespace) GetUpdateTime ¶ added in v0.11.0
func (o *SparseNamespace) GetUpdateTime() (out time.Time)
GetUpdateTime returns the UpdateTime of the receiver.
func (*SparseNamespace) GetZHash ¶
func (o *SparseNamespace) GetZHash() (out int)
GetZHash returns the ZHash of the receiver.
func (*SparseNamespace) GetZone ¶
func (o *SparseNamespace) GetZone() (out int)
GetZone returns the Zone of the receiver.
func (*SparseNamespace) Identifier ¶
func (o *SparseNamespace) Identifier() string
Identifier returns the value of the sparse object's unique identifier.
func (*SparseNamespace) Identity ¶
func (o *SparseNamespace) Identity() elemental.Identity
Identity returns the Identity of the sparse object.
func (*SparseNamespace) MarshalBSON ¶ added in v0.11.15
func (o *SparseNamespace) MarshalBSON() ([]byte, error)
MarshalBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.
func (*SparseNamespace) SetCreateTime ¶ added in v0.11.0
func (o *SparseNamespace) SetCreateTime(createTime time.Time)
SetCreateTime sets the property CreateTime of the receiver using the address of the given value.
func (*SparseNamespace) SetID ¶
func (o *SparseNamespace) SetID(ID string)
SetID sets the property ID of the receiver using the address of the given value.
func (*SparseNamespace) SetIdentifier ¶
func (o *SparseNamespace) SetIdentifier(id string)
SetIdentifier sets the value of the sparse object's unique identifier.
func (*SparseNamespace) SetName ¶
func (o *SparseNamespace) SetName(name string)
SetName sets the property Name of the receiver using the address of the given value.
func (*SparseNamespace) SetNamespace ¶
func (o *SparseNamespace) SetNamespace(namespace string)
SetNamespace sets the property Namespace of the receiver using the address of the given value.
func (*SparseNamespace) SetUpdateTime ¶ added in v0.11.0
func (o *SparseNamespace) SetUpdateTime(updateTime time.Time)
SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.
func (*SparseNamespace) SetZHash ¶
func (o *SparseNamespace) SetZHash(zHash int)
SetZHash sets the property ZHash of the receiver using the address of the given value.
func (*SparseNamespace) SetZone ¶
func (o *SparseNamespace) SetZone(zone int)
SetZone sets the property Zone of the receiver using the address of the given value.
func (*SparseNamespace) ToPlain ¶
func (o *SparseNamespace) ToPlain() elemental.PlainIdentifiable
ToPlain returns the plain version of the sparse model.
func (*SparseNamespace) UnmarshalBSON ¶ added in v0.11.15
func (o *SparseNamespace) UnmarshalBSON(raw []byte) error
UnmarshalBSON implements the bson unmarshaling interface. This is used to transparently convert MongoDBID to ID.
func (*SparseNamespace) Version ¶
func (o *SparseNamespace) Version() int
Version returns the hardcoded version of the model.
type SparseNamespaceDeletionRecord ¶ added in v0.10.0
type SparseNamespaceDeletionRecord struct { // ID is the identifier of the object. ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"` // Deletion date of the object. DeleteTime *time.Time `json:"deleteTime,omitempty" msgpack:"deleteTime,omitempty" bson:"deletetime,omitempty" mapstructure:"deleteTime,omitempty"` // Namespace that got deleted. Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"` // Hash of the object used to shard the data. ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"` // Sharding zone. Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"` ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"` }
SparseNamespaceDeletionRecord represents the sparse version of a namespacedeletionrecord.
func NewSparseNamespaceDeletionRecord ¶ added in v0.10.0
func NewSparseNamespaceDeletionRecord() *SparseNamespaceDeletionRecord
NewSparseNamespaceDeletionRecord returns a new SparseNamespaceDeletionRecord.
func (*SparseNamespaceDeletionRecord) DeepCopy ¶ added in v0.10.0
func (o *SparseNamespaceDeletionRecord) DeepCopy() *SparseNamespaceDeletionRecord
DeepCopy returns a deep copy if the SparseNamespaceDeletionRecord.
func (*SparseNamespaceDeletionRecord) DeepCopyInto ¶ added in v0.10.0
func (o *SparseNamespaceDeletionRecord) DeepCopyInto(out *SparseNamespaceDeletionRecord)
DeepCopyInto copies the receiver into the given *SparseNamespaceDeletionRecord.
func (*SparseNamespaceDeletionRecord) GetID ¶ added in v0.10.0
func (o *SparseNamespaceDeletionRecord) GetID() (out string)
GetID returns the ID of the receiver.
func (*SparseNamespaceDeletionRecord) GetZHash ¶ added in v0.10.0
func (o *SparseNamespaceDeletionRecord) GetZHash() (out int)
GetZHash returns the ZHash of the receiver.
func (*SparseNamespaceDeletionRecord) GetZone ¶ added in v0.10.0
func (o *SparseNamespaceDeletionRecord) GetZone() (out int)
GetZone returns the Zone of the receiver.
func (*SparseNamespaceDeletionRecord) Identifier ¶ added in v0.10.0
func (o *SparseNamespaceDeletionRecord) Identifier() string
Identifier returns the value of the sparse object's unique identifier.
func (*SparseNamespaceDeletionRecord) Identity ¶ added in v0.10.0
func (o *SparseNamespaceDeletionRecord) Identity() elemental.Identity
Identity returns the Identity of the sparse object.
func (*SparseNamespaceDeletionRecord) MarshalBSON ¶ added in v0.11.15
func (o *SparseNamespaceDeletionRecord) MarshalBSON() ([]byte, error)
MarshalBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.
func (*SparseNamespaceDeletionRecord) SetID ¶ added in v0.10.0
func (o *SparseNamespaceDeletionRecord) SetID(ID string)
SetID sets the property ID of the receiver using the address of the given value.
func (*SparseNamespaceDeletionRecord) SetIdentifier ¶ added in v0.10.0
func (o *SparseNamespaceDeletionRecord) SetIdentifier(id string)
SetIdentifier sets the value of the sparse object's unique identifier.
func (*SparseNamespaceDeletionRecord) SetZHash ¶ added in v0.10.0
func (o *SparseNamespaceDeletionRecord) SetZHash(zHash int)
SetZHash sets the property ZHash of the receiver using the address of the given value.
func (*SparseNamespaceDeletionRecord) SetZone ¶ added in v0.10.0
func (o *SparseNamespaceDeletionRecord) SetZone(zone int)
SetZone sets the property Zone of the receiver using the address of the given value.
func (*SparseNamespaceDeletionRecord) ToPlain ¶ added in v0.10.0
func (o *SparseNamespaceDeletionRecord) ToPlain() elemental.PlainIdentifiable
ToPlain returns the plain version of the sparse model.
func (*SparseNamespaceDeletionRecord) UnmarshalBSON ¶ added in v0.11.15
func (o *SparseNamespaceDeletionRecord) UnmarshalBSON(raw []byte) error
UnmarshalBSON implements the bson unmarshaling interface. This is used to transparently convert MongoDBID to ID.
func (*SparseNamespaceDeletionRecord) Version ¶ added in v0.10.0
func (o *SparseNamespaceDeletionRecord) Version() int
Version returns the hardcoded version of the model.
type SparseNamespaceDeletionRecordsList ¶ added in v0.10.0
type SparseNamespaceDeletionRecordsList []*SparseNamespaceDeletionRecord
SparseNamespaceDeletionRecordsList represents a list of SparseNamespaceDeletionRecords
func (SparseNamespaceDeletionRecordsList) Append ¶ added in v0.10.0
func (o SparseNamespaceDeletionRecordsList) Append(objects ...elemental.Identifiable) elemental.Identifiables
Append appends the objects to the a new copy of the SparseNamespaceDeletionRecordsList.
func (SparseNamespaceDeletionRecordsList) Copy ¶ added in v0.10.0
func (o SparseNamespaceDeletionRecordsList) Copy() elemental.Identifiables
Copy returns a pointer to a copy the SparseNamespaceDeletionRecordsList.
func (SparseNamespaceDeletionRecordsList) DefaultOrder ¶ added in v0.10.0
func (o SparseNamespaceDeletionRecordsList) DefaultOrder() []string
DefaultOrder returns the default ordering fields of the content.
func (SparseNamespaceDeletionRecordsList) Identity ¶ added in v0.10.0
func (o SparseNamespaceDeletionRecordsList) Identity() elemental.Identity
Identity returns the identity of the objects in the list.
func (SparseNamespaceDeletionRecordsList) List ¶ added in v0.10.0
func (o SparseNamespaceDeletionRecordsList) List() elemental.IdentifiablesList
List converts the object to an elemental.IdentifiablesList.
func (SparseNamespaceDeletionRecordsList) ToPlain ¶ added in v0.10.0
func (o SparseNamespaceDeletionRecordsList) ToPlain() elemental.IdentifiablesList
ToPlain returns the SparseNamespaceDeletionRecordsList converted to NamespaceDeletionRecordsList.
func (SparseNamespaceDeletionRecordsList) Version ¶ added in v0.10.0
func (o SparseNamespaceDeletionRecordsList) Version() int
Version returns the version of the content.
type SparseNamespacesList ¶
type SparseNamespacesList []*SparseNamespace
SparseNamespacesList represents a list of SparseNamespaces
func (SparseNamespacesList) Append ¶
func (o SparseNamespacesList) Append(objects ...elemental.Identifiable) elemental.Identifiables
Append appends the objects to the a new copy of the SparseNamespacesList.
func (SparseNamespacesList) Copy ¶
func (o SparseNamespacesList) Copy() elemental.Identifiables
Copy returns a pointer to a copy the SparseNamespacesList.
func (SparseNamespacesList) DefaultOrder ¶
func (o SparseNamespacesList) DefaultOrder() []string
DefaultOrder returns the default ordering fields of the content.
func (SparseNamespacesList) Identity ¶
func (o SparseNamespacesList) Identity() elemental.Identity
Identity returns the identity of the objects in the list.
func (SparseNamespacesList) List ¶
func (o SparseNamespacesList) List() elemental.IdentifiablesList
List converts the object to an elemental.IdentifiablesList.
func (SparseNamespacesList) ToPlain ¶
func (o SparseNamespacesList) ToPlain() elemental.IdentifiablesList
ToPlain returns the SparseNamespacesList converted to NamespacesList.
func (SparseNamespacesList) Version ¶
func (o SparseNamespacesList) Version() int
Version returns the version of the content.
type SparseOIDCSource ¶
type SparseOIDCSource struct { // The Certificate authority to use to validate the authenticity of the OIDC // server. If left empty, the system trust stroe will be used. In most of the // cases, you don't need to set this. CA *string `json:"CA,omitempty" msgpack:"CA,omitempty" bson:"ca,omitempty" mapstructure:"CA,omitempty"` // ID is the identifier of the object. ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"` // Unique client ID. ClientID *string `json:"clientID,omitempty" msgpack:"clientID,omitempty" bson:"clientid,omitempty" mapstructure:"clientID,omitempty"` // Client secret associated with the client ID. ClientSecret *string `` /* 130-byte string literal not displayed */ // Creation date of the object. CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"` // The description of the object. Description *string `` /* 126-byte string literal not displayed */ // OIDC [discovery // endpoint](https://openid.net/specs/openid-connect-discovery-1_0.html#IssuerDiscovery). Endpoint *string `json:"endpoint,omitempty" msgpack:"endpoint,omitempty" bson:"endpoint,omitempty" mapstructure:"endpoint,omitempty"` // The hash of the structure used to compare with new import version. ImportHash *string `json:"importHash,omitempty" msgpack:"importHash,omitempty" bson:"importhash,omitempty" mapstructure:"importHash,omitempty"` // The user-defined import label that allows the system to group resources from the // same import operation. ImportLabel *string `` /* 126-byte string literal not displayed */ // Contains optional information about a remote service that can be used to modify // the claims that are about to be delivered using this authentication source. Modifier *IdentityModifier `json:"modifier,omitempty" msgpack:"modifier,omitempty" bson:"modifier,omitempty" mapstructure:"modifier,omitempty"` // The name of the source. Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"` // The namespace of the object. Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"` // List of scopes to allow. Scopes *[]string `json:"scopes,omitempty" msgpack:"scopes,omitempty" bson:"scopes,omitempty" mapstructure:"scopes,omitempty"` // Last update date of the object. UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"` // Hash of the object used to shard the data. ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"` // Sharding zone. Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"` ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"` }
SparseOIDCSource represents the sparse version of a oidcsource.
func NewSparseOIDCSource ¶
func NewSparseOIDCSource() *SparseOIDCSource
NewSparseOIDCSource returns a new SparseOIDCSource.
func (*SparseOIDCSource) DecryptAttributes ¶
func (o *SparseOIDCSource) DecryptAttributes(encrypter elemental.AttributeEncrypter) (err error)
DecryptAttributes decrypts the attributes marked as `encrypted` using the given decrypter.
func (*SparseOIDCSource) DeepCopy ¶
func (o *SparseOIDCSource) DeepCopy() *SparseOIDCSource
DeepCopy returns a deep copy if the SparseOIDCSource.
func (*SparseOIDCSource) DeepCopyInto ¶
func (o *SparseOIDCSource) DeepCopyInto(out *SparseOIDCSource)
DeepCopyInto copies the receiver into the given *SparseOIDCSource.
func (*SparseOIDCSource) EncryptAttributes ¶
func (o *SparseOIDCSource) EncryptAttributes(encrypter elemental.AttributeEncrypter) (err error)
EncryptAttributes encrypts the attributes marked as `encrypted` using the given encrypter.
func (*SparseOIDCSource) GetCreateTime ¶ added in v0.11.0
func (o *SparseOIDCSource) GetCreateTime() (out time.Time)
GetCreateTime returns the CreateTime of the receiver.
func (*SparseOIDCSource) GetID ¶
func (o *SparseOIDCSource) GetID() (out string)
GetID returns the ID of the receiver.
func (*SparseOIDCSource) GetImportHash ¶
func (o *SparseOIDCSource) GetImportHash() (out string)
GetImportHash returns the ImportHash of the receiver.
func (*SparseOIDCSource) GetImportLabel ¶
func (o *SparseOIDCSource) GetImportLabel() (out string)
GetImportLabel returns the ImportLabel of the receiver.
func (*SparseOIDCSource) GetNamespace ¶
func (o *SparseOIDCSource) GetNamespace() (out string)
GetNamespace returns the Namespace of the receiver.
func (*SparseOIDCSource) GetUpdateTime ¶ added in v0.11.0
func (o *SparseOIDCSource) GetUpdateTime() (out time.Time)
GetUpdateTime returns the UpdateTime of the receiver.
func (*SparseOIDCSource) GetZHash ¶
func (o *SparseOIDCSource) GetZHash() (out int)
GetZHash returns the ZHash of the receiver.
func (*SparseOIDCSource) GetZone ¶
func (o *SparseOIDCSource) GetZone() (out int)
GetZone returns the Zone of the receiver.
func (*SparseOIDCSource) Identifier ¶
func (o *SparseOIDCSource) Identifier() string
Identifier returns the value of the sparse object's unique identifier.
func (*SparseOIDCSource) Identity ¶
func (o *SparseOIDCSource) Identity() elemental.Identity
Identity returns the Identity of the sparse object.
func (*SparseOIDCSource) MarshalBSON ¶ added in v0.11.15
func (o *SparseOIDCSource) MarshalBSON() ([]byte, error)
MarshalBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.
func (*SparseOIDCSource) SetCreateTime ¶ added in v0.11.0
func (o *SparseOIDCSource) SetCreateTime(createTime time.Time)
SetCreateTime sets the property CreateTime of the receiver using the address of the given value.
func (*SparseOIDCSource) SetID ¶
func (o *SparseOIDCSource) SetID(ID string)
SetID sets the property ID of the receiver using the address of the given value.
func (*SparseOIDCSource) SetIdentifier ¶
func (o *SparseOIDCSource) SetIdentifier(id string)
SetIdentifier sets the value of the sparse object's unique identifier.
func (*SparseOIDCSource) SetImportHash ¶
func (o *SparseOIDCSource) SetImportHash(importHash string)
SetImportHash sets the property ImportHash of the receiver using the address of the given value.
func (*SparseOIDCSource) SetImportLabel ¶
func (o *SparseOIDCSource) SetImportLabel(importLabel string)
SetImportLabel sets the property ImportLabel of the receiver using the address of the given value.
func (*SparseOIDCSource) SetNamespace ¶
func (o *SparseOIDCSource) SetNamespace(namespace string)
SetNamespace sets the property Namespace of the receiver using the address of the given value.
func (*SparseOIDCSource) SetUpdateTime ¶ added in v0.11.0
func (o *SparseOIDCSource) SetUpdateTime(updateTime time.Time)
SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.
func (*SparseOIDCSource) SetZHash ¶
func (o *SparseOIDCSource) SetZHash(zHash int)
SetZHash sets the property ZHash of the receiver using the address of the given value.
func (*SparseOIDCSource) SetZone ¶
func (o *SparseOIDCSource) SetZone(zone int)
SetZone sets the property Zone of the receiver using the address of the given value.
func (*SparseOIDCSource) ToPlain ¶
func (o *SparseOIDCSource) ToPlain() elemental.PlainIdentifiable
ToPlain returns the plain version of the sparse model.
func (*SparseOIDCSource) UnmarshalBSON ¶ added in v0.11.15
func (o *SparseOIDCSource) UnmarshalBSON(raw []byte) error
UnmarshalBSON implements the bson unmarshaling interface. This is used to transparently convert MongoDBID to ID.
func (*SparseOIDCSource) Version ¶
func (o *SparseOIDCSource) Version() int
Version returns the hardcoded version of the model.
type SparseOIDCSourcesList ¶
type SparseOIDCSourcesList []*SparseOIDCSource
SparseOIDCSourcesList represents a list of SparseOIDCSources
func (SparseOIDCSourcesList) Append ¶
func (o SparseOIDCSourcesList) Append(objects ...elemental.Identifiable) elemental.Identifiables
Append appends the objects to the a new copy of the SparseOIDCSourcesList.
func (SparseOIDCSourcesList) Copy ¶
func (o SparseOIDCSourcesList) Copy() elemental.Identifiables
Copy returns a pointer to a copy the SparseOIDCSourcesList.
func (SparseOIDCSourcesList) DefaultOrder ¶
func (o SparseOIDCSourcesList) DefaultOrder() []string
DefaultOrder returns the default ordering fields of the content.
func (SparseOIDCSourcesList) Identity ¶
func (o SparseOIDCSourcesList) Identity() elemental.Identity
Identity returns the identity of the objects in the list.
func (SparseOIDCSourcesList) List ¶
func (o SparseOIDCSourcesList) List() elemental.IdentifiablesList
List converts the object to an elemental.IdentifiablesList.
func (SparseOIDCSourcesList) ToPlain ¶
func (o SparseOIDCSourcesList) ToPlain() elemental.IdentifiablesList
ToPlain returns the SparseOIDCSourcesList converted to OIDCSourcesList.
func (SparseOIDCSourcesList) Version ¶
func (o SparseOIDCSourcesList) Version() int
Version returns the version of the content.
type SparsePermissions ¶
type SparsePermissions struct { // The optional ID of the object to check permission for. ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"` // IP of the client. IP *string `json:"IP,omitempty" msgpack:"IP,omitempty" bson:"-" mapstructure:"IP,omitempty"` // The list of claims. Claims *[]string `json:"claims,omitempty" msgpack:"claims,omitempty" bson:"-" mapstructure:"claims,omitempty"` // Return an eventual error. Error *string `json:"error,omitempty" msgpack:"error,omitempty" bson:"-" mapstructure:"error,omitempty"` // The namespace where to check permission from. Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"-" mapstructure:"namespace,omitempty"` // If true, skips computing restriction intersections. OffloadPermissionsRestrictions *bool `` /* 163-byte string literal not displayed */ // The computed permissions. Permissions *map[string]map[string]bool `json:"permissions,omitempty" msgpack:"permissions,omitempty" bson:"-" mapstructure:"permissions,omitempty"` // Sets the namespace restrictions that should apply. RestrictedNamespace *string `` /* 130-byte string literal not displayed */ // Sets the networks restrictions that should apply. RestrictedNetworks *[]string `` /* 127-byte string literal not displayed */ // Sets the permissions restrictions that should apply. RestrictedPermissions *[]string `` /* 136-byte string literal not displayed */ ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"` }
SparsePermissions represents the sparse version of a permissions.
func NewSparsePermissions ¶
func NewSparsePermissions() *SparsePermissions
NewSparsePermissions returns a new SparsePermissions.
func (*SparsePermissions) DeepCopy ¶
func (o *SparsePermissions) DeepCopy() *SparsePermissions
DeepCopy returns a deep copy if the SparsePermissions.
func (*SparsePermissions) DeepCopyInto ¶
func (o *SparsePermissions) DeepCopyInto(out *SparsePermissions)
DeepCopyInto copies the receiver into the given *SparsePermissions.
func (*SparsePermissions) Identifier ¶
func (o *SparsePermissions) Identifier() string
Identifier returns the value of the sparse object's unique identifier.
func (*SparsePermissions) Identity ¶
func (o *SparsePermissions) Identity() elemental.Identity
Identity returns the Identity of the sparse object.
func (*SparsePermissions) MarshalBSON ¶ added in v0.11.15
func (o *SparsePermissions) MarshalBSON() ([]byte, error)
MarshalBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.
func (*SparsePermissions) SetIdentifier ¶
func (o *SparsePermissions) SetIdentifier(id string)
SetIdentifier sets the value of the sparse object's unique identifier.
func (*SparsePermissions) ToPlain ¶
func (o *SparsePermissions) ToPlain() elemental.PlainIdentifiable
ToPlain returns the plain version of the sparse model.
func (*SparsePermissions) UnmarshalBSON ¶ added in v0.11.15
func (o *SparsePermissions) UnmarshalBSON(raw []byte) error
UnmarshalBSON implements the bson unmarshaling interface. This is used to transparently convert MongoDBID to ID.
func (*SparsePermissions) Version ¶
func (o *SparsePermissions) Version() int
Version returns the hardcoded version of the model.
type SparsePermissionsList ¶
type SparsePermissionsList []*SparsePermissions
SparsePermissionsList represents a list of SparsePermissions
func (SparsePermissionsList) Append ¶
func (o SparsePermissionsList) Append(objects ...elemental.Identifiable) elemental.Identifiables
Append appends the objects to the a new copy of the SparsePermissionsList.
func (SparsePermissionsList) Copy ¶
func (o SparsePermissionsList) Copy() elemental.Identifiables
Copy returns a pointer to a copy the SparsePermissionsList.
func (SparsePermissionsList) DefaultOrder ¶
func (o SparsePermissionsList) DefaultOrder() []string
DefaultOrder returns the default ordering fields of the content.
func (SparsePermissionsList) Identity ¶
func (o SparsePermissionsList) Identity() elemental.Identity
Identity returns the identity of the objects in the list.
func (SparsePermissionsList) List ¶
func (o SparsePermissionsList) List() elemental.IdentifiablesList
List converts the object to an elemental.IdentifiablesList.
func (SparsePermissionsList) ToPlain ¶
func (o SparsePermissionsList) ToPlain() elemental.IdentifiablesList
ToPlain returns the SparsePermissionsList converted to PermissionsList.
func (SparsePermissionsList) Version ¶
func (o SparsePermissionsList) Version() int
Version returns the version of the content.
Source Files ¶
- a3ssource.go
- authorization.go
- authz.go
- custom_validations.go
- httpsource.go
- identities_registry.go
- identitymodifier.go
- import.go
- issue.go
- issuea3s.go
- issueaws.go
- issueazure.go
- issuegcp.go
- issuehttp.go
- issueldap.go
- issueoidc.go
- issueremotea3s.go
- ldapsource.go
- mtlssource.go
- namespace.go
- namespacedeletionrecord.go
- oidcsource.go
- permissions.go
- relationships_registry.go
- root.go